/**
 * Index landing hero — "The Mountain Spirit" night / mountain layout
 * Scoped under .spirit-hero so other pages keep existing home-trek styles.
 */

.spirit-hero.home-trek-hero {
  justify-content: flex-start;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Full-bleed hero: no cream fade into next section from hero itself */
.spirit-hero.home-trek-hero::after {
  display: none;
}

.spirit-hero .home-trek-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 12, 28, 0.55) 0%, rgba(12, 18, 40, 0.35) 45%, rgba(5, 8, 20, 0.65) 100%),
    rgba(0, 0, 0, 0.28);
  z-index: 1;
}

/* ----- Fixed header ----- */
.spirit-hero__header.site-header--home-trek {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: max(12px, env(safe-area-inset-top)) 16px 0;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 768px) {
  .spirit-hero__header.site-header--home-trek {
    padding: 20px 28px 0;
  }
}

.spirit-hero__header.site-header--home-trek.is-solid {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding-bottom: 12px;
}

.spirit-hero__header .spirit-hero__pill {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.spirit-hero__header.is-solid .spirit-hero__pill {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* ----- Logo (circular badge + mountain) ----- */
.spirit-hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.spirit-hero__brand:hover {
  opacity: 0.92;
}

.spirit-hero__logo-svg {
  display: block;
  width: 44px;
  height: 44px;
}

@media (min-width: 768px) {
  .spirit-hero__logo-svg {
    width: 50px;
    height: 50px;
  }
}

/* ----- Desktop nav inside pill ----- */
.spirit-hero__nav {
  display: none;
  align-items: center;
  gap: clamp(8px, 1.5vw, 22px);
  margin-left: auto;
  margin-right: 8px;
  font-family: 'Montserrat', var(--font-sans), system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spirit-hero__nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.spirit-hero__nav a:hover {
  color: #e8c56a;
}

.spirit-hero__nav a.is-active {
  color: #e8c56a;
}

.spirit-hero__header.is-solid .spirit-hero__nav a {
  color: #1a1f2e;
}

.spirit-hero__header.is-solid .spirit-hero__nav a:hover,
.spirit-hero__header.is-solid .spirit-hero__nav a.is-active {
  color: #b8860f;
}

@media (min-width: 768px) {
  .spirit-hero__nav {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .spirit-hero__nav {
    font-size: 0.62rem;
    gap: 10px;
    letter-spacing: 0.06em;
  }
}

/* ----- Hamburger (rounded square, white border) — mobile / small tablet ----- */
.spirit-hero__header .nav-toggle.spirit-hero__menu {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  gap: 5px;
}

.spirit-hero__header .nav-toggle.spirit-hero__menu span {
  width: 18px;
  height: 2px;
  background-color: #fff;
}

.spirit-hero__header.is-solid .nav-toggle.spirit-hero__menu {
  border-color: rgba(26, 31, 46, 0.35);
  background: rgba(0, 0, 0, 0.04);
}

.spirit-hero__header.is-solid .nav-toggle.spirit-hero__menu span {
  background-color: #1a1f2e;
}

@media (max-width: 767px) {
  .spirit-hero__header .nav-toggle.spirit-hero__menu {
    display: flex;
  }
}

@media (min-width: 768px) {
  .spirit-hero__header .nav-toggle.spirit-hero__menu {
    display: none !important;
  }
}

/* ----- Hero copy ----- */
.spirit-hero .spirit-hero__content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 22px 72px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .spirit-hero .spirit-hero__content {
    padding: 130px 32px 100px;
    max-width: 820px;
  }
}

@media (min-width: 1200px) {
  .spirit-hero .spirit-hero__content {
    max-width: 900px;
    padding-top: 140px;
    padding-bottom: 120px;
  }
}

.spirit-hero__eyebrow {
  margin: 0 0 18px;
  font-family: 'Montserrat', var(--font-sans), system-ui, sans-serif;
  font-size: clamp(0.65rem, 2.8vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .spirit-hero__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    margin-bottom: 22px;
  }
}

.spirit-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.spirit-hero__divider-line {
  width: 36px;
  height: 1px;
  background: #e4b04a;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .spirit-hero__divider-line {
    width: 48px;
  }
}

.spirit-hero__divider-icon {
  display: flex;
  color: #e4b04a;
  line-height: 0;
}

.spirit-hero__divider-icon svg {
  display: block;
}

.spirit-hero__title {
  margin: 0 0 20px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.65rem, 12vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .spirit-hero__title {
    font-size: clamp(3.5rem, 7vw, 4.75rem);
    margin-bottom: 24px;
  }
}

@media (min-width: 1200px) {
  .spirit-hero__title {
    font-size: 5rem;
  }
}

.spirit-hero__title-line {
  display: block;
}

.spirit-hero__title--single {
  display: block;
  font-size: clamp(1.75rem, 7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.spirit-hero__title--single .spirit-hero__title-line {
  display: inline;
}

.spirit-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .spirit-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
}

.spirit-hero__cta--whatsapp {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
}

.spirit-hero__cta--whatsapp:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}

.spirit-hero__tagline {
  margin: 0 0 32px;
  max-width: 340px;
  font-family: 'Montserrat', var(--font-sans), system-ui, sans-serif;
  font-size: clamp(0.92rem, 3.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .spirit-hero__tagline {
    max-width: 480px;
    font-size: 1.12rem;
    margin-bottom: 40px;
  }
}

@media (min-width: 1200px) {
  .spirit-hero__tagline {
    font-size: 1.2rem;
    max-width: 520px;
  }
}

.spirit-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  background: #e4b04a;
  color: #0f0f0f;
  font-family: 'Montserrat', var(--font-sans), system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.spirit-hero__cta:hover {
  background: #f0c05d;
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  color: #0a0a0a;
}

.spirit-hero__cta:active {
  transform: translateY(0);
}

.spirit-hero__cta-icon {
  display: flex;
  line-height: 0;
}

.spirit-hero__cta-icon svg {
  display: block;
}

@media (min-width: 768px) {
  .spirit-hero__cta {
    padding: 18px 44px;
    font-size: 0.88rem;
  }
}

/* Mobile menu offset under fixed pill header */
@media (max-width: 767px) {
  .spirit-hero + .mobile-nav {
    top: 88px;
  }
}
