:root {
  --green: #2e4d3d;
  --green-d: #243f31;
  --green-l: #365b48;
  --gold: #c9a14a;
  --gold-d: #b58a37;
  --cream: #f3ece0;
  --cream-2: #e9dfce;
  --teal: #86d6c6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mulish", sans-serif;
  color: var(--cream);
  background: #214944;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.serif {
  font-family: "Cormorant Garamond", serif;
}

/* ════════ BUTTONS ════════ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(180deg, var(--gold), var(--gold-d));
  color: #2a2410;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .3px;
  padding: 13px 26px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: .25s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .26);
}

.btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn-gold:hover::after {
  left: 140%;
}

.btn-gold .chev {
  font-size: 15px;
}

/* ════════ HEADER ════════ */
.hdr {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 46px;
  transition: .3s;
}

.hdr.scrolled {
  position: fixed;
  background: rgba(36, 63, 49, .96);
  padding: 10px 46px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
  animation: dropIn .4s ease;
}

@keyframes dropIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo .logo-fallback {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1.1;
  padding: 6px;
}

.hdr.scrolled .logo {
  width: 60px;
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  transition: .2s;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

/* ════════ SUBMENU / DROPDOWNS ════════ */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-item-dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(36, 63, 49, 0.98);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 12px;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-submenu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--gold) transparent;
}

.nav-submenu a {
  font-size: 18px !important;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: block;
  text-align: left;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: rgba(201, 161, 74, 0.15);
  color: var(--gold) !important;
  padding-left: 16px;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle .arr {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-toggle .arr {
  transform: rotate(180deg);
}

/* Mobile submenus */
.mnav-submenu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.mnav-submenu.open {
  display: flex !important;
}

.mnav a.submenu-active .mnav-toggle-indicator {
  transform: rotate(180deg) !important;
}

.mnav-submenu a.mnav-sub-link {
  font-size: 20px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mnav-submenu a.mnav-sub-link:last-child {
  border-bottom: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  display: block;
  transition: .3s;
}

/* mobile menu */
.mnav-back {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.mnav-back.open {
  opacity: 1;
  visibility: visible;
}

.mnav {
  position: fixed;
  inset: 0 0 0 auto;
  width: 78%;
  max-width: 320px;
  background: var(--green-d);
  z-index: 60;
  transform: translateX(100%);
  transition: transform .35s ease;
  padding: 90px 32px 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mnav.open {
  transform: translateX(0);
}

.mnav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex-shrink: 0;
}

.mnav .btn-gold {
  margin-top: 18px;
  justify-content: center;
  flex-shrink: 0;
}

.mnav-close {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 34px;
  line-height: 1;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
}

/* ════════ HERO ════════ */
.hero {
  position: relative;
  min-height: 850px;
  background: linear-gradient(120deg, #3a5a45, #22382b);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(20, 35, 27, 0.6) 0%, rgba(20, 35, 27, 0.45) 45%, rgba(20, 35, 27, 0.15) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Inner page hero typography adjustments */
.hero-inner:not(:has(.hero-content)) {
  z-index: 5 !important;
}

.hero-inner:not(:has(.hero-content)) h1.serif {
  max-width: 850px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(34px, 5.5vw, 82px) !important;
  font-weight: 700 !important;
  color: var(--cream) !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
  letter-spacing: -1px !important;
  line-height: 1.05 !important;
  margin-bottom: 24px !important;
}

.hero-inner:not(:has(.hero-content)) p.loc {
  font-family: "Mulish", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 35px !important;
  max-width: 580px !important;
  letter-spacing: 0.2px !important;
  margin-top: 0 !important;
}

/* Align all inner page hero content to the right on desktop, matching homepage style */
@media (min-width: 901px) {
  .hero-inner:not(:has(.hero-content)) {
    text-align: right !important;
  }
  .hero-inner:not(:has(.hero-content)) > h1,
  .hero-inner:not(:has(.hero-content)) > p,
  .hero-inner:not(:has(.hero-content)) > div {
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .hero-inner:not(:has(.hero-content)) > .hero-btns {
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
  }
}

/* Default Page Hero & Divider Responsiveness */
.default-page-hero {
  min-height: 850px !important;
  height: auto !important;
  position: relative !important;
}

.default-page-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to left, rgba(20, 35, 27, 0.6) 0%, rgba(20, 35, 27, 0.45) 45%, rgba(20, 35, 27, 0.15) 100%) !important;
  z-index: 1 !important;
}

.default-page-hero-inner {
  padding-top: 120px;
  z-index: 5 !important;
  position: relative !important;
}

.default-page-hero-inner h1.serif {
  max-width: 850px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(34px, 5.5vw, 82px) !important;
  font-weight: 700 !important;
  color: var(--cream) !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
  letter-spacing: -1px !important;
  line-height: 1.05 !important;
  margin-bottom: 24px !important;
}

.default-page-hero-inner p.loc {
  font-family: "Mulish", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 35px !important;
  max-width: 580px !important;
  letter-spacing: 0.2px !important;
  margin-top: 0 !important;
}

.default-page-range {
  margin-top: -382px !important;
}
.inner-page-range {
  margin-top: -382px !important;
}

/* Align hero content to the right on desktop, matching stay/room pages */
@media (min-width: 901px) {
  .default-page-hero-inner {
    text-align: right !important;
    right: 0 !important;
    left: auto !important;
  }
  .default-page-hero-inner h1.serif {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .default-page-hero-inner p.loc {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 900px) {
  .hero-inner:not(:has(.hero-content)) {
    text-align: center !important;
    padding-top: 80px !important;
    padding-bottom: 120px !important;
  }
  .hero-inner:not(:has(.hero-content)) h1.serif {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-inner:not(:has(.hero-content)) p.loc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 15px !important;
  }
  .hero-inner:not(:has(.hero-content)) .hero-btns {
    justify-content: center !important;
  }
  .hero,
  .default-page-hero {
    min-height: 680px !important;
    height: auto !important;
  }
  .default-page-hero-inner {
    padding-top: 80px !important;
    padding-bottom: 120px !important;
    text-align: center !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
  }
  .default-page-hero-inner h1.serif {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .default-page-hero-inner p.loc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 15px !important;
  }
  .default-page-range,
  .inner-page-range {
    margin-top: -90px !important;
  }
}

.hero-content {
  max-width: 560px;
  margin-left: auto;
  text-align: left;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(38px, 6.5vw, 96px);
  line-height: .96;
  color: var(--cream);
  text-shadow: 0 4px 22px rgba(0, 0, 0, .4);
}

.hero h1 .gold {
  color: var(--gold);
  display: block;
}

.hero .loc {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  margin: 18px 0 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
}

.watch .pico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch .pico::before {
  content: "";
  border-left: 12px solid var(--cream);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

/* ════════ MOUNTAIN DIVIDER ════════ */
.range {
  position: relative;
  margin-top: -333px;
  z-index: 10;
  line-height: 0;
  pointer-events: none;
}

.range svg,
.range img {
  width: 100%;
  height: auto;
  display: block;
}

/* ════════ FOOTER ════════ */
.ftr {
  position: relative;
  background: #214944;
  overflow: hidden;
}

.ftr-mts {
  position: relative;
  z-index: 1;
  background: var(--cream);
  line-height: 0;
}

.ftr-mts img {
  position: relative;
  top: 5px;
  width: 100%;
}

.ftr-mts svg {
  width: 100%;
  height: 600px;
  display: block;
}

.ftr-body {
  position: relative;
  z-index: 2;
  padding: 6px 0 36px;
}

.ftr-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}

.ftr-nav2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ftr-nav2 a {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  color: var(--cream);
  transition: .2s;
}

.ftr-nav2 a:hover,
.ftr-nav2 a.active {
  color: #9fc3b8;
}

.ftr-content {
  max-width: 540px;
}

.ftr-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--cream);
  margin-bottom: 18px;
}

.ftr-phone {
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 6px;
}

.ftr-mail {
  font-size: 17px;
  color: #cfe0d5;
  margin-bottom: 26px;
}

.ftr-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.ftr-socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.ftr-socials a:hover {
  transform: translateY(-3px);
}

.ftr-socials svg {
  width: 24px;
  height: 24px;
  fill: var(--green);
}

.navigation_inks {
  margin-bottom: 12px;
}

.navigation_inks a {
  margin-right: 6px;
  color: #d1dcd4;
}

.navigation_inks a:hover {
  color: var(--gold);
}

.ftr-copy {
  font-size: 14px;
  color: #9fb0a2;
}

.ftr-cutout {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 40%;
  z-index: 3;
  pointer-events: none;
}

.ftr-cutout img {
  width: 100%;
  display: block;
  filter: drop-shadow(5px 0 0 var(--teal)) drop-shadow(-5px 0 0 var(--teal)) drop-shadow(0 -5px 0 var(--teal));
}

/* ════════ FLOATING CONTACKS ════════ */
.floater-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  left: auto;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floater {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .26);
  transition: transform .3s, box-shadow .3s;
}

.floater:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .36);
}

.floater.whatsapp {
  background: #25d366;
}

.floater.call {
  background: var(--gold);
}

.floater svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ════════ ANIMATIONS LAYER ════════ */
html.anim-ready [data-anim] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--d, 0ms);
}

[data-anim="up"] {
  transform: translateY(38px);
}

[data-anim="left"] {
  transform: translateX(46px);
}

[data-anim="right"] {
  transform: translateX(-46px);
}

[data-anim="zoom"] {
  transform: scale(.94);
}

[data-anim="fade"] {
  transform: none;
}

html.anim-ready [data-anim].in {
  opacity: 1;
  transform: none;
}

html.anim-ready .hero-inner > * {
  opacity: 0;
  transform: translateY(30px);
}

html.anim-ready .hero.animate .hero-inner > * {
  animation: domRise 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

html.anim-ready .hero.animate .hero-inner > *:nth-child(1) {
  animation-delay: .15s;
}

html.anim-ready .hero.animate .hero-inner > *:nth-child(2) {
  animation-delay: .35s;
}

html.anim-ready .hero.animate .hero-inner > *:nth-child(3) {
  animation-delay: .55s;
}

@keyframes domRise {
  to {
    opacity: 1;
    transform: none;
  }
}

.scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #c9a14a, #f0d99a);
  box-shadow: 0 0 8px rgba(201, 161, 74, .6);
  transition: width .08s linear;
  pointer-events: none;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
  .hdr,
  .hdr.scrolled {
    padding: 12px 22px;
  }
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .logo {
    width: 70px;
    height: 70px;
  }
  .hero {
    min-height: 680px;
  }
  .hero::before {
    background: linear-gradient(to bottom, rgba(20, 35, 27, 0.2) 0%, rgba(20, 35, 27, 0.7) 100%), rgba(20, 35, 27, 0.35) !important;
  }
  .hero-content {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }
  .hero-btns {
    justify-content: center !important;
  }
  /* Font sizes handled fluently by clamp() */
  .range {
    margin-top: -90px;
  }
  .range svg {
    height: 120px;
  }
  .ftr-mts svg {
    height: 150px;
  }
  .ftr-in {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .ftr-nav2 {
    align-items: center;
  }
  .ftr-content {
    max-width: none;
  }
  .ftr-socials {
    justify-content: center;
  }
  .ftr-cutout {
    position: relative;
    width: 240px;
    max-width: 64%;
    margin: 24px auto 0;
    right: auto;
    height: auto;
    max-height: none;
    display: block;
  }
  .ftr-cutout img {
    width: 100%;
    max-height: none;
  }
}
@media (max-width: 480px) {
  .logo {
    width: 60px;
    height: 60px;
  }
  .hero,
  .default-page-hero {
    min-height: 580px !important;
  }
  .hero-inner:not(:has(.hero-content)),
  .default-page-hero-inner {
    padding-bottom: 100px !important;
    padding-top: 60px !important;
  }
  /* Font sizes handled fluently by clamp() */
}

/* ════════ TIMELINE (zigzag) ════════ */
.tl {
  background: var(--cream);
  padding: 56px 0 90px;
}

.tl-track {
  position: relative;
  width: 100%;
}

.tl-stations {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 30px;
}

.tl-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 150px;
  z-index: 1;
  pointer-events: none;
}

.tl-st {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--cy, 0);
}

.tl-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
  flex: 0 0 auto;
}

.tl-dot svg {
  width: 30px;
  height: 30px;
}

.tl-card {
  margin-top: 20px;
  width: 100%;
  max-width: 230px;
}

.tl-h {
  background: var(--green);
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.12;
  text-align: center;
  padding: 14px;
  border-radius: 5px;
}

.tl-b {
  background: #fdfaf3;
  color: #54604f;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  padding: 16px 16px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

/* ── ZIP-LINE TIMELINE (desktop, line visible ≥901px) ── */
@media (min-width: 901px) {
  .tl-line polyline {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  .tl.tl-draw .tl-line polyline {
    transition: stroke-dashoffset 1.9s cubic-bezier(.45, 0, .15, 1);
    stroke-dashoffset: 0;
  }
  .tl-st .tl-dot {
    opacity: 0;
    transform: scale(.35);
  }
  .tl-st .tl-card {
    opacity: 0;
    transform: translateY(24px);
  }
  .tl.tl-draw .tl-st .tl-dot {
    animation: tlDot .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
  }
  .tl.tl-draw .tl-st .tl-card {
    animation: tlCard .6s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .tl.tl-draw .tl-st:nth-child(1) .tl-dot {
    animation-delay: .25s;
  }
  .tl.tl-draw .tl-st:nth-child(1) .tl-card {
    animation-delay: .40s;
  }
  .tl.tl-draw .tl-st:nth-child(2) .tl-dot {
    animation-delay: .55s;
  }
  .tl.tl-draw .tl-st:nth-child(2) .tl-card {
    animation-delay: .70s;
  }
  .tl.tl-draw .tl-st:nth-child(3) .tl-dot {
    animation-delay: .85s;
  }
  .tl.tl-draw .tl-st:nth-child(3) .tl-card {
    animation-delay: 1.00s;
  }
  .tl.tl-draw .tl-st:nth-child(4) .tl-dot {
    animation-delay: 1.15s;
  }
  .tl.tl-draw .tl-st:nth-child(4) .tl-card {
    animation-delay: 1.30s;
  }
  .tl.tl-draw .tl-st:nth-child(5) .tl-dot {
    animation-delay: 1.45s;
  }
  .tl.tl-draw .tl-st:nth-child(5) .tl-card {
    animation-delay: 1.60s;
  }
  .tl-spark {
    opacity: 0;
  }
  .tl.tl-draw .tl-spark {
    opacity: 1;
  }
}

@keyframes tlDot {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes tlCard {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .tl-line {
    display: none;
  }
  .tl-stations {
    flex-direction: column;
    gap: 34px;
  }
  .tl-st {
    padding-top: 0 !important;
  }
  .tl-card {
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-st .tl-dot,
  .tl-st .tl-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .tl-line polyline {
    stroke-dashoffset: 0 !important;
  }
}

.hero-inner:not(:has(.hero-content)) h1.serif {
  max-width: 700px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 54px !important;
  font-weight: 700 !important;
  color: var(--cream) !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
  letter-spacing: -1px !important;
  line-height: 1.05 !important;
  margin-bottom: 24px !important;
}

/* ════════ BOOKING POPUP MODAL ════════ */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-modal-content {
  background: #1c382c; /* Matches resort theme green */
  border: 1px solid rgba(201, 161, 74, 0.35); /* Subtle gold border */
  border-radius: 16px;
  width: 100%;
  max-width: 800px; /* Increased width */
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 45px 35px 35px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  animation: scaleInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar for Modal Content */
.booking-modal-content::-webkit-scrollbar {
  width: 6px;
}
.booking-modal-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}
.booking-modal-content::-webkit-scrollbar-thumb {
  background: rgba(201, 161, 74, 0.3);
  border-radius: 10px;
}
.booking-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 161, 74, 0.5);
}

.booking-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 38px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.booking-modal-close:hover {
  opacity: 1;
  color: var(--gold);
  transform: rotate(90deg);
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleInModal {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ════════ POPUP MODAL FORM CUSTOM STYLING ════════ */
/* Transparent card background overrides */
.booking-modal-content .booking-form-card,
.booking-modal-content .wphb-room-tmpl-dates-available {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.booking-modal-content #hotel_booking_room_hidden {
  background: transparent !important;
  color: var(--cream) !important;
}

/* Redundancies & Borders hiding */
.booking-modal-content .hb-booking-room-form-header {
  display: none !important;
}

.booking-modal-content .hb-search-results-form-container {
  background: transparent !important;
  border: none !important;
  padding: 10px 15px !important; /* Spacing and padding around the form fields */
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 24px 20px !important; /* Increased row gap */
}

/* Grid columns layout and organization */
.booking-modal-content .hb-booking-room-form-group {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.booking-modal-content .hb-booking-room-form-group:nth-child(1) {
  grid-column: span 3 !important;
}
.booking-modal-content .hb-booking-room-form-group:nth-child(2) {
  grid-column: span 3 !important;
}
.booking-modal-content .hb-booking-room-form-group:nth-child(3) {
  grid-column: span 2 !important;
}
.booking-modal-content .hb-booking-room-form-group:nth-child(4) {
  grid-column: span 2 !important;
}
.booking-modal-content .hb-booking-room-form-group:nth-child(5) {
  grid-column: span 2 !important;
}

/* Extra packages row formatting */
.booking-modal-content .hb-booking-room-form-field {
  grid-column: span 6 !important;
  width: 100% !important;
  float: none !important;
  margin: 15px 0 !important;
}

.booking-modal-content .hb_addition_packages {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px !important;
  border-radius: 10px !important;
}

/* Label Visibility overrides - Ensures label text is 100% visible and high-contrast */
.booking-modal-content label,
.booking-modal-content .hb-booking-room-form-group label,
.booking-modal-content .wphb-max-qty {
  display: block !important;
  color: var(--cream) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 4px !important;
  opacity: 0.95 !important;
}

.booking-modal-content .wphb-max-qty {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  margin-top: 2px !important;
  margin-bottom: 0 !important;
}

/* Custom premium input elements */
.booking-modal-content input[type="text"],
.booking-modal-content input[type="number"],
.booking-modal-content select {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  color: var(--cream) !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}

.booking-modal-content input[type="text"]:focus,
.booking-modal-content input[type="number"]:focus,
.booking-modal-content select:focus {
  border-color: var(--gold) !important;
  background: rgba(0, 0, 0, 0.35) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(201, 161, 74, 0.25) !important;
}

/* Calendar widget z-index safety */
.flatpickr-calendar {
  z-index: 100000 !important;
}

/* Price Details bar formatting */
.booking-modal-content .hb-room-price {
  grid-column: span 6 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 24px 15px 10px !important; /* Padding for separation */
  margin-top: 10px !important;
  float: none !important;
  width: 100% !important;
}

.booking-modal-content .hb-total-price {
  font-size: 24px !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
}

.booking-modal-content .hb-total-price-text {
  color: var(--cream) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
}

.booking-modal-content .hb_view_price a {
  color: var(--gold) !important;
  text-decoration: underline !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.booking-modal-content .hb_view_price a:hover {
  color: var(--cream) !important;
}

/* Submit Book Button styling */
.booking-modal-content .hb_button,
.booking-modal-content .hb-booking-room-form-group .hb_button {
  grid-column: span 6 !important;
  background: var(--gold) !important;
  color: #1c382c !important;
  border: 1px solid var(--gold) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 14px 30px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  margin: 15px 0 0 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.booking-modal-content .hb_button:hover,
.booking-modal-content .hb-booking-room-form-group .hb_button:hover {
  background: var(--cream) !important;
  border-color: var(--cream) !important;
  color: #1c382c !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Responsive styles for booking modal */
@media (max-width: 600px) {
  .booking-modal-content {
    padding: 35px 20px 25px !important;
    max-height: 95vh;
  }
  
  .booking-modal-content .hb-search-results-form-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 10px 0 !important;
  }
  
  .booking-modal-content .hb-booking-room-form-group:nth-child(1),
  .booking-modal-content .hb-booking-room-form-group:nth-child(2),
  .booking-modal-content .hb-booking-room-form-group:nth-child(3),
  .booking-modal-content .hb-booking-room-form-group:nth-child(4),
  .booking-modal-content .hb-booking-room-form-group:nth-child(5) {
    grid-column: span 1 !important;
  }
  
  .booking-modal-content .hb-booking-room-form-field {
    grid-column: span 1 !important;
  }
  
  .booking-modal-content .hb-room-price {
    grid-column: span 1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px 0 10px !important;
  }
  
  .booking-modal-content .hb_button,
  .booking-modal-content .hb-booking-room-form-group .hb_button {
    grid-column: span 1 !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
}

