/* =====================================================================
   QASR KEYS — STYLESHEET
   Brand system drawn from the logo: deep pine-teal + antique gold.
   Display face: Fraunces (echoes the soft flared serif of the wordmark)
   Body face:    Karla
   ===================================================================== */

:root {
  /* Palette */
  --teal-950: #142428;
  --teal-900: #1B3138;
  --teal-800: #25434D;          /* logo background tone */
  --teal-700: #31555F;
  --teal-600: #3F6A74;
  --gold:      #DEA146;          /* logo gold */
  --gold-deep: #C0832E;
  --gold-soft: #EEC27D;
  --mist:      #F4F2EC;          /* light surface */
  --mist-deep: #E8E4D9;
  --ink:       #1C2E33;
  --muted:     #5E7278;
  --line:      rgba(28, 46, 51, 0.14);
  --line-gold: rgba(222, 161, 70, 0.4);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;

  /* Rhythm */
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --container: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(20, 36, 40, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--gold); color: var(--teal-950); }

/* ------------------------------------------------ Typography */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

.italic-accent {
  font-style: italic;
  font-weight: 420;
  color: var(--gold-deep);
}

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: var(--mist); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.on-dark .eyebrow { color: var(--gold-soft); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: rgba(244, 242, 236, 0.78); }

/* ------------------------------------------------ Layout */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--dark { background: var(--teal-900); }
.section--deep { background: var(--teal-950); }
.section--tint { background: var(--mist-deep); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.center { text-align: center; }
.center .eyebrow::before { display: none; }
.center .eyebrow { gap: 0.6rem; }
.center .eyebrow::after, .center .eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block;
}

/* ------------------------------------------------ Key divider (signature) */
.key-divider {
  display: flex;
  justify-content: center;
  padding-block: 0.5rem;
}
.key-divider svg { width: min(360px, 70vw); height: 26px; color: var(--gold); opacity: 0.9; }
.section--dark .key-divider svg, .section--deep .key-divider svg { color: var(--gold-soft); }

/* ------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn-gold {
  background: var(--gold);
  color: var(--teal-950);
  box-shadow: 0 10px 26px -10px rgba(222, 161, 70, 0.65);
}
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--mist); }
.on-dark .btn-outline { border-color: rgba(244,242,236,0.65); color: var(--mist); }
.on-dark .btn-outline:hover { background: var(--mist); color: var(--teal-950); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ------------------------------------------------ Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(20, 36, 40, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222, 161, 70, 0.18);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(20, 36, 40, 0.92); }
.nav-inner {
  width: min(1280px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
}
.nav-logo img {
  height: 52px;
  width: auto;
  mix-blend-mode: screen;   /* lifts the gold artwork off its black background */
}
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); list-style: none; }
.nav-links a {
  color: rgba(244, 242, 236, 0.85);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-soft); }
.nav-cta { padding: 0.6rem 1.5rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 69px; left: 0; right: 0;
    flex-direction: column;
    background: var(--teal-950);
    padding: 1.5rem 0 2rem;
    gap: 1.1rem;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    border-bottom: 1px solid var(--line-gold);
  }
  .nav-links.open { transform: translateY(0); }
}

/* ------------------------------------------------ Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--teal-950);
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  z-index: -3;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 36, 40, 0.55) 0%,
    rgba(20, 36, 40, 0.25) 45%,
    rgba(20, 36, 40, 0.82) 100%);
  z-index: -2;
}
.hero-ridge {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  z-index: -1;
  width: 100%;
  height: clamp(90px, 16vw, 200px);
}
.hero-content { padding: 8rem 1.5rem 6rem; max-width: 880px; }
.hero-content .eyebrow { color: var(--gold-soft); justify-content: center; }
.hero-content h1 { color: var(--mist); }
.hero-content .lead { margin: 1.4rem auto 2.4rem; color: rgba(244, 242, 236, 0.85); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s infinite var(--ease);
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page (sub) hero */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: end center;
  text-align: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,36,40,0.5), rgba(20,36,40,0.75));
  z-index: -1;
}
.page-hero-content { padding: 9rem 1.5rem 4rem; }
.page-hero h1 { color: var(--mist); }
.page-hero .lead { color: rgba(244,242,236,0.85); margin: 1rem auto 0; }
.page-hero .eyebrow { color: var(--gold-soft); justify-content: center; }
.page-hero .eyebrow::before { background: var(--gold-soft); }

/* ------------------------------------------------ Stay cards (booking trio) */
.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}
.stay-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stay-card:hover { transform: translateY(-8px); }
.stay-card-img { height: 230px; background-size: cover; background-position: center; position: relative; }
.stay-card-img .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(20, 36, 40, 0.85);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.stay-card-body { padding: 1.7rem 1.7rem 2rem; display: flex; flex-direction: column; flex: 1; }
.stay-card-body h3 { margin-bottom: 0.3rem; }
.stay-sub { color: var(--gold-deep); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.8rem; }
.stay-desc { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.2rem; }
.stay-feats { list-style: none; margin-bottom: 1.5rem; display: grid; gap: 0.45rem; }
.stay-feats li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--ink); }
.stay-feats li::before { content: "◆"; color: var(--gold); font-size: 0.6rem; line-height: 1.9; }
.stay-price { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.stay-price strong { font-family: var(--font-display); font-size: 1.5rem; }
.stay-price span { color: var(--muted); font-size: 0.88rem; }
.stay-card .btn { width: 100%; }

/* ------------------------------------------------ Feature mosaic (home) */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.mosaic-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}
.mosaic-item:nth-child(1) { grid-column: span 7; min-height: 420px; }
.mosaic-item:nth-child(2) { grid-column: span 5; min-height: 420px; }
.mosaic-item:nth-child(3) { grid-column: span 5; }
.mosaic-item:nth-child(4) { grid-column: span 7; }
.mosaic-item .cap {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  color: var(--mist);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  background: rgba(20, 36, 40, 0.7);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
@media (max-width: 760px) {
  .mosaic-item { grid-column: span 12 !important; min-height: 260px !important; }
}

/* ------------------------------------------------ Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stats .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold-soft);
}
.stats .lbl {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 242, 236, 0.7);
  margin-top: 0.3rem;
}

/* ------------------------------------------------ Cards (experiences / amenities) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}
.exp-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px -16px rgba(20, 36, 40, 0.28);
  transition: transform 0.35s var(--ease);
}
.exp-card:hover { transform: translateY(-6px); }
.exp-card img { height: 220px; width: 100%; object-fit: cover; }
.exp-card-body { padding: 1.5rem 1.6rem 1.8rem; }
.exp-card-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.exp-card-body p { color: var(--muted); font-size: 0.97rem; }
.exp-meta {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.amenity-group { margin-top: 3.2rem; }
.amenity-group h3 { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; }
.amenity-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.amenity-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem 2rem;
  list-style: none;
}
.amenity-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 1rem;
  padding: 0.35rem 0;
}
.amenity-list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ------------------------------------------------ Gallery */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin: 2.4rem 0 2.8rem;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.active { background: var(--teal-900); border-color: var(--teal-900); color: var(--gold-soft); }

.gallery-grid {
  columns: 3;
  column-gap: 1.2rem;
}
@media (max-width: 980px) { .gallery-grid { columns: 2; } }
@media (max-width: 600px) { .gallery-grid { columns: 1; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border: none;
  padding: 0;
  width: 100%;
  background: var(--mist-deep);
}
.gallery-item img {
  width: 100%;
  transition: transform 0.5s var(--ease);
  min-height: 180px;
  object-fit: cover;
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item .gcap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(20,36,40,0.78));
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.3s;
  text-align: left;
}
.gallery-item:hover .gcap { opacity: 1; }
.gallery-item.hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 36, 40, 0.94);
  display: none;
  place-items: center;
  padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox-cap { color: var(--gold-soft); text-align: center; margin-top: 1rem; letter-spacing: 0.06em; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(244,242,236,0.1);
  border: 1px solid rgba(244,242,236,0.3);
  color: var(--mist);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--teal-950); }
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------ FAQ */
.faq-wrap { max-width: 820px; margin: 3rem auto 0; }
.faq-cat {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 2.6rem 0 0.8rem;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  text-align: left;
  color: var(--ink);
  padding: 1.2rem 3.4rem 1.2rem 1.4rem;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--gold-deep);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding: 0 1.4rem 1.4rem; color: var(--muted); }

/* ------------------------------------------------ Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: 3rem;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.contact-block { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-gold);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}
.contact-block h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.contact-block p, .contact-block a { color: var(--muted); font-size: 0.98rem; }
.contact-block a:hover { color: var(--gold-deep); }

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(222, 161, 70, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }

/* ------------------------------------------------ Booking page */
.booking-tabs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem 0;
}
.booking-tab {
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.25s;
}
.booking-tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.booking-tab.active { background: var(--teal-900); border-color: var(--teal-900); color: var(--gold-soft); }

.booking-panel { display: none; }
.booking-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
}
@media (max-width: 920px) { .booking-layout { grid-template-columns: 1fr; } }

.booking-summary {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.booking-summary .img { height: 280px; background-size: cover; background-position: center; }
.booking-summary .body { padding: 1.8rem; }
.booking-summary h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }

.booking-widget {
  background: var(--teal-900);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--mist);
  position: sticky;
  top: 96px;
}
.booking-widget h3 { color: var(--mist); margin-bottom: 1.2rem; }
.booking-widget .field label { color: rgba(244,242,236,0.7); }
.booking-widget .field input, .booking-widget .field select {
  background: rgba(244,242,236,0.08);
  border-color: rgba(244,242,236,0.25);
  color: var(--mist);
  color-scheme: dark;
}
.booking-widget .price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 1rem;
  border-top: 1px solid rgba(244,242,236,0.18);
  margin-top: 0.4rem;
}
.booking-widget .price-line strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-soft); }
.booking-widget .price-line span { font-size: 0.85rem; color: rgba(244,242,236,0.65); }
.booking-widget .btn { width: 100%; margin-top: 0.6rem; }
.booking-widget .fine { font-size: 0.8rem; color: rgba(244,242,236,0.55); margin-top: 0.8rem; text-align: center; }

.lodgify-slot {
  border: 2px dashed rgba(244,242,236,0.3);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(244,242,236,0.6);
  margin-top: 1.2rem;
}

/* ------------------------------------------------ CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 880px) { .cta-band { background-attachment: scroll; } }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 36, 40, 0.74);
  z-index: -1;
}
.cta-band h2 { color: var(--mist); }
.cta-band .lead { margin: 1rem auto 2rem; color: rgba(244,242,236,0.82); }

/* ------------------------------------------------ Footer */
.footer {
  background: var(--teal-950);
  color: rgba(244, 242, 236, 0.75);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 84px; mix-blend-mode: screen; margin-bottom: 1rem; }
.footer p { font-size: 0.95rem; }
.footer h4 {
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer a { font-size: 0.95rem; transition: color 0.2s; }
.footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(244,242,236,0.12);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(244,242,236,0.5);
}

/* ------------------------------------------------ Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: none !important; }
}

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split .split-img { order: -1; }
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.split-img::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(244, 242, 236, 0.55);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }

/* =====================================================================
   v2 ADDITIONS — effects, WhatsApp bubble, OTA badges
   ===================================================================== */

/* ---------- Scroll progress bar (gold key-line) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  z-index: 200;
  box-shadow: 0 0 12px rgba(222, 161, 70, 0.55);
  pointer-events: none;
}

/* ---------- WhatsApp bubble ---------- */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 150;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 18px 38px -8px rgba(37, 211, 102, 0.8);
}
.whatsapp-fab svg { width: 32px; height: 32px; }
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.4s infinite var(--ease);
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-fab .wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--teal-950);
  color: var(--mist);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.whatsapp-fab:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Button sheen sweep ---------- */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-gold:hover::after { left: 130%; }

/* ---------- Stay card: image zoom + lift ---------- */
.stay-card-img { transition: transform 0.6s var(--ease); }
.stay-card:hover .stay-card-img { transform: scale(1.06); }
.stay-card:hover { box-shadow: 0 26px 60px -18px rgba(20, 36, 40, 0.45); }
.stay-card .tag { transition: background 0.3s; }
.stay-card:hover .tag { background: var(--gold); color: var(--teal-950); }

/* ---------- Mosaic hover ---------- */
.mosaic-item { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.mosaic-item:hover { transform: scale(1.022); box-shadow: var(--shadow); z-index: 1; }
.mosaic-item .cap { transition: transform 0.4s var(--ease), background 0.3s; }
.mosaic-item:hover .cap { transform: translateY(-4px); background: var(--gold); color: var(--teal-950); }

/* ---------- Experience cards: image zoom + meta slide ---------- */
.exp-card { overflow: hidden; }
.exp-card img { transition: transform 0.65s var(--ease); }
.exp-card:hover img { transform: scale(1.07); }
.exp-card .exp-meta { position: relative; }
.exp-card .exp-meta::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.exp-card:hover .exp-meta::after { width: 100%; }

/* ---------- Amenity list hover ---------- */
.amenity-list li { transition: transform 0.3s var(--ease), color 0.3s; border-radius: 8px; }
.amenity-list li:hover { transform: translateX(6px); color: var(--gold-deep); }
.amenity-list li::before { transition: transform 0.3s var(--ease); }
.amenity-list li:hover::before { transform: scale(1.25) rotate(8deg); }

/* ---------- Contact icons ---------- */
.contact-icon { transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.contact-block:hover .contact-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-950);
  transform: rotate(-8deg) scale(1.08);
}

/* ---------- Key divider draws itself on scroll ---------- */
.key-divider svg * {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.key-divider.drawn svg * { stroke-dashoffset: 0; }

/* ---------- FAQ hover ---------- */
.faq-item { transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.faq-item:hover { border-color: var(--line-gold); transform: translateX(4px); box-shadow: 0 8px 24px -14px rgba(20,36,40,0.3); }

/* ---------- Footer link slide ---------- */
.footer ul a { display: inline-block; transition: transform 0.25s var(--ease), color 0.2s; }
.footer ul a:hover { transform: translateX(5px); }

/* ---------- Nav logo hover glow ---------- */
.nav-logo img { transition: transform 0.4s var(--ease), filter 0.4s; }
.nav-logo:hover img { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(222,161,70,0.6)); }

/* ---------- OTA badges (Airbnb / Booking.com) ---------- */
.ota-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.ota-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(244, 242, 236, 0.35);
  color: rgba(244, 242, 236, 0.85);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.ota-pill:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.ota-pills--light .ota-pill { border-color: var(--line); color: var(--muted); }
.ota-pills--light .ota-pill:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Stay card subtle 3D tilt (JS-driven) ---------- */
.stay-card { transform-style: preserve-3d; will-change: transform; }

/* ---------- Page hero gentle zoom on load ---------- */
@keyframes heroZoom { from { background-size: 112% auto; } }
.page-hero { background-size: cover; }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before { animation: none; }
  .key-divider svg * { stroke-dashoffset: 0; transition: none; }
}
/* Fix Lodgify guest/input text visibility */
.booking-widget #lodgify-book-now-box,
.booking-widget #lodgify-book-now-box *,
.booking-widget .lodgify-paste,
.booking-widget .lodgify-paste * {
  color: #111111 !important;
}

/* Keep Book Now button text dark too */
.booking-widget #lodgify-book-now-box button,
.booking-widget #lodgify-book-now-box [role="button"] {
  color: #111111 !important;
}