.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 17, 31, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 28px;
  line-height: 1;
  color: var(--color-orange-500);
  background: linear-gradient(135deg, rgba(0,169,173,.28), rgba(255,122,26,.22));
  border: 1px solid rgba(255,255,255,.18);
}

.brand-name {
  font-size: 1.7rem;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--color-teal-400);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 640px;
  padding: 118px 0 82px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 42%, rgba(0, 214, 214, .28), transparent 24%),
    radial-gradient(circle at 86% 70%, rgba(255, 122, 26, .18), transparent 28%),
    linear-gradient(90deg, rgba(3,17,31,.98) 0%, rgba(3,17,31,.9) 32%, rgba(3,17,31,.62) 64%, rgba(3,17,31,.88) 100%),
    url("data:image/svg+xml,%3Csvg width='1600' height='900' viewBox='0 0 1600 900' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop stop-color='%2305162a'/%3E%3Cstop offset='1' stop-color='%230b3048'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23g)'/%3E%3Ccircle cx='1140' cy='210' r='260' fill='%2300a9ad' opacity='.11'/%3E%3Ccircle cx='1220' cy='700' r='360' fill='%23ff7a1a' opacity='.07'/%3E%3Cpath d='M880 160c180 40 290 120 390 250M760 510c210-120 360-130 550-20M970 680c120-110 240-160 390-170' stroke='%2300d1d1' stroke-width='2' opacity='.18' fill='none'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 58px;
}

.hero-text {
  max-width: 600px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 22px;
}

.powered {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,.7);
}

.powered strong {
  color: #fff;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.22);
}

.hero-visual {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.latam-orbit {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1.05;
  border-radius: 50%;
  border: 1px dashed rgba(25,209,209,.4);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.32));
}

.latam-orbit::before,
.latam-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px dashed rgba(25,209,209,.22);
}

.latam-orbit::before {
  inset: 9%;
}

.latam-orbit::after {
  inset: 20%;
}

.map-glow {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  background:
    radial-gradient(circle, rgba(25,209,209,.34), rgba(25,209,209,.08) 56%, transparent 72%);
  border: 1px solid rgba(255,255,255,.22);
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: grid;
  place-items: end center;
  padding: 0 14px 18px;
  text-align: center;
  font-weight: 800;
  color: white;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.46)),
    linear-gradient(135deg, #0c455f, #12334e);
  border: 3px solid rgba(25,209,209,.65);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.orbit-card-1 { top: 12%; left: 6%; }
.orbit-card-2 { top: 18%; right: 4%; }
.orbit-card-3 { bottom: 12%; left: 18%; }
.orbit-card-4 { bottom: 15%; right: 8%; }

.search-panel-wrap {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 44px;
  padding: 56px 0 30px;
}

.site-footer h3 {
  font-size: .96rem;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,.74);
  margin: 8px 0;
  font-size: .94rem;
}

.site-footer a:hover {
  color: var(--color-teal-400);
}

.footer-brand {
  margin-bottom: 18px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0 26px;
  font-size: .88rem;
}



/* v8 - Hero desktop fold optimization */
@media (min-width: 1101px) {
  .hero {
    min-height: 610px;
    padding: 108px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1.02fr .98fr;
    gap: 48px;
  }

  .hero-copy {
    transform: translateY(-6px);
  }

  .hero-text {
    max-width: 610px;
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .hero-actions {
    margin: 22px 0 18px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .latam-orbit {
    width: min(100%, 485px);
  }

  .map-glow {
    width: 176px;
    height: 176px;
  }

  .orbit-card {
    width: 122px;
    height: 122px;
  }

  .powered {
    font-size: .95rem;
  }
}

@media (min-width: 1400px) {
  .hero {
    min-height: 620px;
  }

  .hero-copy {
    transform: translateY(-10px);
  }
}


/* v9 - Home final images */
.hero-bg {
  background:
    linear-gradient(90deg, rgba(3,17,31,.98) 0%, rgba(3,17,31,.92) 30%, rgba(3,17,31,.36) 58%, rgba(3,17,31,.68) 100%),
    url("../images/home/hero-alojalos-latam.webp");
  background-size: cover;
  background-position: center right;
}

@media (max-width: 760px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(3,17,31,.98) 0%, rgba(3,17,31,.88) 48%, rgba(3,17,31,.96) 100%),
      url("../images/home/hero-alojalos-latam.webp");
    background-size: cover;
    background-position: 62% center;
  }
}


/* v10 - Final hero image composition
   The final hero background already includes LATAM map + category circles.
   Therefore the temporary HTML orbit visual must be hidden to avoid duplicated graphics. */
@media (min-width: 1101px) {
  .hero {
    min-height: 690px;
    padding: 112px 0 86px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(3,17,31,.98) 0%, rgba(3,17,31,.92) 28%, rgba(3,17,31,.46) 54%, rgba(3,17,31,.52) 100%),
      url("../images/home/hero-alojalos-latam.webp");
    background-size: cover;
    background-position: center right;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    max-width: 620px;
    transform: none;
    padding-top: 24px;
  }

  .hero-visual {
    display: none;
  }

  .hero-text {
    max-width: 575px;
  }

  .search-panel-wrap {
    margin-top: -78px;
  }
}

@media (max-width: 1100px) {
  .hero-visual {
    display: none;
  }
}


/* v11 - Powered by Fish badge */
.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}

.powered-badge span {
  color: rgba(255,255,255,.74);
}

.powered-badge strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.18);
  letter-spacing: -.02em;
}

.fish-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  color: var(--color-teal-400) !important;
  background: rgba(25,209,209,.12);
  border: 1px solid rgba(25,209,209,.32);
  font-size: .8rem;
}

@media (max-width: 760px) {
  .powered-badge {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .powered-badge strong {
    padding-left: 0;
    border-left: 0;
  }
}
