/* Bos Villas Bali - design system v3 "Jungle Editorial"
   Typography: Prata (display serif) at editorial scale, Montserrat (body).
   Both self-hosted (CSP font-src 'self').
   Palette: deep jungle greens against warm paper sand, refined gold.
   Motion: scroll reveals and micro-interactions, all honoring
   prefers-reduced-motion. Zero third-party assets. */

@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/prata-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-var.woff2') format('woff2');
}

:root {
  --ink: #12140f;
  --jungle: #1d3a29;
  --jungle-deep: #10241a;
  --jungle-black: #0b1a12;
  --sand: #f6f1e7;
  --sand-warm: #ece2cf;
  --paper: #fffdf8;
  --gold: #c1a05e;
  --gold-soft: #d8c294;
  --muted: #5a5d52;
  --max-w: 1180px;
  --serif: 'Prata', Georgia, serif;
  --sans: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --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(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--jungle); }

h1, h2, h3.display { font-family: var(--serif); font-weight: 400; }

::selection { background: var(--gold); color: var(--jungle-black); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------------------- reveals */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }

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

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, 0.94);
  border-bottom: 1px solid rgba(29, 58, 41, 0.08);
  backdrop-filter: blur(10px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; color: var(--ink);
}
.brand img { height: 48px; width: auto; transition: transform 0.4s var(--ease); }
.brand:hover img { transform: scale(1.06); }
.brand .brand-text {
  font-family: var(--serif); font-size: 1.08rem; letter-spacing: 0.07em;
}
.nav { display: flex; align-items: center; }
.nav a {
  margin-left: 26px; text-decoration: none; color: var(--ink);
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.03em;
  position: relative; padding: 4px 0;
}
.nav a:not(.btn-book)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn-book):hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.btn-book {
  background: var(--jungle); color: var(--sand);
  padding: 11px 24px; border-radius: 2px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.76rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav a.btn-book:hover { background: var(--jungle-deep); transform: translateY(-1px); }
.nav-toggle { display: none; }

/* Transparent header over the homepage hero; solidifies on scroll */
.site-header.glass {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none;
}
.site-header.glass .brand .brand-text,
.site-header.glass .nav a:not(.btn-book) { color: var(--sand); }
.site-header.glass .nav a.btn-book { background: rgba(246,241,231,0.16); }
.site-header.glass.scrolled {
  background: rgba(16, 36, 26, 0.88);
  border-bottom-color: rgba(246, 241, 231, 0.08);
  backdrop-filter: blur(10px);
}
body.has-glass-header { padding-top: 0; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: var(--sand); overflow: hidden; }
.hero video, .hero > img {
  width: 100%; height: 100svh; min-height: 560px; object-fit: cover; display: block;
}
.hero .overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,18,0.42) 0%, rgba(11,26,18,0.10) 38%, rgba(11,26,18,0.62) 100%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 0 0 11vh 0;
}
.hero .overlay > div { max-width: var(--max-w); margin: 0 auto; width: 100%; padding: 0 28px; }
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.74rem;
  font-weight: 600; color: var(--gold-soft); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.hero .eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.9rem);
  line-height: 1.08; letter-spacing: 0.01em; max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  text-wrap: balance;
}
.hero p.sub {
  margin-top: 20px; font-size: clamp(1rem, 1.7vw, 1.2rem); font-weight: 300;
  max-width: 52ch; color: rgba(246,241,231,0.92);
}
.hero .cta {
  display: inline-block; margin-top: 34px; background: var(--sand);
  color: var(--jungle-black); text-decoration: none; font-weight: 600;
  padding: 16px 40px; border-radius: 2px; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.8rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero .cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.hero .scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 48px; overflow: hidden; opacity: 0.7;
}
.hero .scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -48px; width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, var(--sand));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 60% { transform: translateY(96px); } 100% { transform: translateY(96px); } }

/* ---------------------------------------------------------------- sections */
section { padding: 96px 0; }
section.alt { background: var(--sand-warm); }
section.tight { padding: 64px 0; }

.kicker {
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 0.74rem; font-weight: 600; margin-bottom: 14px;
  font-family: var(--sans);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.oasis .kicker, .center .kicker { justify-content: center; }

h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 16px; line-height: 1.18; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: 20px; line-height: 1.2; text-wrap: balance; }
h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 8px; }
.lede { max-width: 60ch; margin-bottom: 15px; }
.two-col > div > p { margin-bottom: 15px; max-width: 62ch; }

/* ---------------------------------------------------------------- oasis */
.oasis { text-align: center; }
.oasis img.mark { width: 104px; margin: 0 auto 22px; }
.oasis h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.oasis p { max-width: 58ch; margin: 0 auto 28px; }
.btn-primary {
  display: inline-block; background: var(--jungle); color: var(--sand);
  text-decoration: none; font-weight: 600; padding: 15px 38px;
  border-radius: 2px; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.78rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-primary:hover { background: var(--jungle-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,36,26,0.25); }

/* ------------------------------------------------- editorial villa rows */
.feature-row {
  display: grid; grid-template-columns: 7fr 5fr; gap: 0;
  margin-top: 64px; align-items: stretch;
  background: var(--paper); border-radius: 3px; overflow: hidden;
  box-shadow: 0 2px 24px rgba(18,20,15,0.06);
}
.feature-row.reverse { grid-template-columns: 5fr 7fr; }
.feature-row .media { position: relative; overflow: hidden; min-height: 420px; }
.feature-row .media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.feature-row:hover .media img { transform: scale(1.045); }
.feature-row .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,26,18,0.0) 60%, rgba(11,26,18,0.12));
}
.feature-row .content {
  padding: 56px 52px; display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.feature-row .content .kicker { margin-bottom: 10px; }
.feature-row h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 6px;
}
.feature-row h3 a { text-decoration: none; color: var(--ink); }
.feature-row h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-row p.spec { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.feature-row .desc { font-size: 0.96rem; margin-bottom: 22px; max-width: 44ch; }
.feature-row .btn {
  align-self: flex-start; text-decoration: none;
  color: var(--jungle); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); padding-bottom: 6px;
  position: relative; z-index: 1;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-row .btn:hover { color: var(--gold); }

/* ---------------------------------------------------------------- ratings */
.rating { color: var(--gold); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }
.rating .muted { color: var(--muted); font-weight: 400; }

/* Dark score band */
.band-dark {
  background:
    radial-gradient(1100px 500px at 15% 0%, rgba(193,160,94,0.10), transparent 60%),
    var(--jungle-black);
  color: var(--sand); padding: 96px 0;
}
.band-dark .kicker { color: var(--gold-soft); }
.score-band { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.score-band .big {
  font-family: var(--serif); font-size: clamp(4.4rem, 10vw, 7.5rem);
  line-height: 1; color: var(--gold-soft);
}
.score-band .big small { font-size: 0.32em; color: rgba(246,241,231,0.55); font-family: var(--sans); letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-top: 10px; }
.score-band h2 { color: var(--sand); }
.score-row { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 26px; }
.score-row .cell { border-left: 1px solid rgba(193,160,94,0.35); padding-left: 18px; }
.score-row .cell .v { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-soft); }
.score-row .cell .l { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,241,231,0.65); }

/* --------------------------------------------------- villa cards (legacy) */
.villa-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; margin-top: 44px;
}
.villa-card {
  position: relative; background: var(--paper); border-radius: 3px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(18,20,15,0.08);
  display: flex; flex-direction: column;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.villa-card:hover { box-shadow: 0 18px 44px rgba(18,20,15,0.16); transform: translateY(-4px); }
.villa-card .thumb { overflow: hidden; position: relative; }
.villa-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(11,26,18,0); transition: background 0.35s var(--ease);
}
.villa-card:hover .thumb::after { background: rgba(11,26,18,0.16); }
.villa-card .thumb img {
  height: 250px; width: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.villa-card:hover .thumb img { transform: scale(1.06); }
.villa-card .body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.villa-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.villa-card h3 a { text-decoration: none; color: var(--ink); }
.villa-card h3 a::after { content: ""; position: absolute; inset: 0; }
.villa-card p.spec { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.villa-card .btn {
  margin-top: auto; align-self: flex-start; text-decoration: none;
  background: var(--jungle); color: var(--sand); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 26px; border-radius: 2px;
  position: relative; z-index: 1;
  transition: background 0.3s var(--ease);
}
.villa-card .btn:hover { background: var(--jungle-deep); }

/* ---------------------------------------------------------------- services */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px 44px; margin-top: 44px;
}
.svc {
  background: var(--paper); padding: 30px 30px 32px; border-radius: 3px;
  border-top: 2px solid transparent;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc:hover { border-top-color: var(--gold); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18,20,15,0.1); }
.svc h3 { color: var(--jungle); display: flex; align-items: center; gap: 12px; }
.svc h3 .icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: rgba(193,160,94,0.14);
  display: flex; align-items: center; justify-content: center;
}
.svc h3 .icon svg { height: 1.1em; width: auto; fill: var(--gold); display: block; }
.svc p { font-size: 0.95rem; }
section.alt .svc { background: var(--paper); }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; color: var(--sand); overflow: hidden; }
.page-hero img { width: 100%; height: min(62vh, 560px); object-fit: cover; }
.page-hero .ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,26,18,0.18) 30%, rgba(11,26,18,0.66) 100%);
  display: flex; align-items: flex-end;
}
.page-hero .ph-overlay .wrap { width: 100%; padding-bottom: 44px; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero h1 {
  color: var(--sand); margin-bottom: 8px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  text-shadow: 0 2px 26px rgba(0,0,0,0.35);
}
.page-hero p.spec { color: rgba(246,241,231,0.85); font-size: 1.02rem; }
.page-hero .rating { color: var(--gold-soft); }

/* legacy simple hero image (kept for pages not yet converted) */
.detail-hero img { width: 100%; height: min(60vh, 520px); object-fit: cover; }
.detail-head { padding: 52px 0 8px; }
.detail-head p.spec { color: var(--muted); font-size: 1.05rem; margin-top: 4px; }
.detail-head .btn-primary { margin-top: 18px; display: none; }

/* Floating check-availability pill on villa pages */
.float-book {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: var(--jungle); color: var(--sand); text-decoration: none;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(11,26,18,0.35);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}
.float-book.show { opacity: 1; transform: none; pointer-events: auto; }
.float-book:hover { background: var(--jungle-deep); }

/* ---------------------------------------------------------------- villa detail */
.two-col {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start;
}
.facts { background: var(--paper); padding: 30px; border-radius: 3px; }
.facts h3 { margin-top: 24px; font-family: var(--serif); font-weight: 400; color: var(--jungle); }
.facts h3:first-child { margin-top: 0; }
.facts ul { list-style: none; }
.facts li {
  padding: 5px 0; font-size: 0.94rem;
  display: flex; align-items: center; gap: 11px;
}
.facts li .icon svg { height: 1em; width: 1.25em; fill: var(--gold); flex: none; display: block; }

.booking-box {
  background: var(--paper); border: 1px solid var(--sand-warm);
  border-top: 2px solid var(--gold);
  border-radius: 3px; padding: 30px; margin-bottom: 30px;
}
.booking-box h2 { margin-bottom: 6px; font-size: 1.5rem; }
.booking-box p.note { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }

.search-widget { margin-top: 38px; }

/* ---------------------------------------------------------------- photo grids */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 30px;
}
.photo-grid.two-col { grid-template-columns: repeat(2, 1fr); }
/* editorial mosaic: first photo of each group runs full width */
.photo-grid.two-col a.lb:first-child { grid-column: 1 / -1; }
.photo-grid.two-col a.lb:first-child img { aspect-ratio: 21 / 9; }
.photo-grid a.lb {
  display: block; overflow: hidden; border-radius: 3px; position: relative;
}
.photo-grid a.lb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(11,26,18,0); transition: background 0.35s var(--ease);
}
.photo-grid a.lb:hover::after { background: rgba(11,26,18,0.18); }
.photo-grid img {
  height: 230px; width: 100%; object-fit: cover; border-radius: 3px;
  transition: transform 0.7s var(--ease);
}
.photo-grid.two-col img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-grid a.lb:hover img { transform: scale(1.05); }

/* Gallery mosaic: fixed row height so wide tiles and regular tiles always
   fill their cells edge to edge, and the hover veil never exceeds the photo */
.photo-grid.mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }
.photo-grid.mosaic a.lb:nth-child(4n+1) { grid-column: span 2; }
.photo-grid.mosaic img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: cover; }

/* ---------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(11, 26, 18, 0.94);
  align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; animation: lbfade 0.3s var(--ease); }
@keyframes lbfade { from { opacity: 0; } }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 3px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--sand);
  font-size: 2.2rem; cursor: pointer; padding: 12px 18px; line-height: 1;
  font-family: var(--sans); opacity: 0.8; transition: opacity 0.2s;
}
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 12px; right: 16px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { color: rgba(246,241,231,0.7); margin-top: 10px; font-size: 0.85rem; letter-spacing: 0.1em; }

/* ---------------------------------------------------------------- media cards */
.media-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; margin-top: 44px;
}
.media-card {
  background: var(--paper); border-radius: 3px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(18,20,15,0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.media-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(18,20,15,0.14); }
.media-card img { height: 230px; width: 100%; object-fit: cover; }
.media-card .body { padding: 22px 24px 26px; }
.media-card h3 { color: var(--jungle); }
.media-card p { font-size: 0.95rem; }

/* ---------------------------------------------------------------- FAQ */
.faq-item {
  background: var(--paper); border: 1px solid var(--sand-warm);
  border-radius: 3px; margin-top: 10px; padding: 0 22px;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 17px 0;
  list-style-position: outside; color: var(--jungle);
}
.faq-item p { padding: 0 0 18px; max-width: 70ch; }

/* ---------------------------------------------------------------- embeds */
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 30px; }
.video-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  border-radius: 3px;
}
.map-embed { aspect-ratio: 16 / 9; margin-top: 30px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; border-radius: 3px; }

/* ---------------------------------------------------------------- person */
.person-card {
  background: var(--paper); border-radius: 3px; overflow: hidden;
  max-width: 380px; box-shadow: 0 1px 3px rgba(18,20,15,0.08);
}
.person-card img { height: 300px; width: 100%; object-fit: cover; object-position: top; }
.person-card .body { padding: 22px 24px 26px; }
.person-card p.role { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 600; margin-bottom: 10px; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; color: var(--sand); overflow: hidden; padding: 0; }
.cta-band img { width: 100%; height: 480px; object-fit: cover; }
.cta-band .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,26,18,0.55), rgba(11,26,18,0.7));
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px;
}
.cta-band h2 { color: var(--sand); font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-band p { max-width: 54ch; margin: 0 auto 28px; color: rgba(246,241,231,0.9); }
.cta-band .btn-primary { background: var(--sand); color: var(--jungle-black); }
.cta-band .btn-primary:hover { background: var(--paper); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--jungle-black); color: var(--sand);
  padding: 80px 0 36px; border-top: 2px solid var(--gold);
}
.site-footer a { color: var(--sand); text-decoration-color: rgba(193,160,94,0.5); }
.site-footer a:hover { color: var(--gold-soft); }
.foot-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px;
}
.site-footer h3 { color: var(--gold-soft); font-size: 0.86rem; margin-bottom: 14px; font-family: var(--sans); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; font-size: 0.93rem; }
.site-footer p { font-size: 0.93rem; color: rgba(246,241,231,0.85); }
.site-footer .foot-logo { height: 76px; width: auto; margin-bottom: 18px; }
.copyright {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(246,241,231,0.12);
  font-size: 0.84rem; color: rgba(246,241,231,0.6); letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- legal */
.legal-table { border-collapse: collapse; margin: 20px 0; min-width: 420px; }
.legal-table th, .legal-table td { border: 1px solid var(--sand-warm); padding: 10px 16px; text-align: left; background: var(--paper); }
.legal-table th { background: var(--jungle); color: var(--sand); }
.legal h1 { margin-bottom: 4px; }
.legal .updated { color: var(--muted); margin-bottom: 8px; }
.legal p, .legal li { max-width: 75ch; }
.legal h3 { margin-top: 32px; }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row .media { min-height: 300px; }
  .feature-row .content { padding: 34px 28px 40px; }
  .score-band { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .detail-head .btn-primary { display: inline-block; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--sand);
    padding: 16px 28px 20px; gap: 12px; border-bottom: 1px solid var(--sand-warm); }
  .nav.open a { margin-left: 0; color: var(--ink) !important; }
  .nav-toggle { display: block; background: none; border: 1px solid currentColor;
    border-radius: 2px; padding: 6px 13px; font-size: 0.85rem; cursor: pointer;
    font-family: var(--sans); color: inherit; }
  .site-header.glass .nav-toggle { color: var(--sand); }
  .site-header.glass.scrolled .nav-toggle, .site-header .nav-toggle { }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .photo-grid.two-col { grid-template-columns: 1fr; }
  .photo-grid.two-col a.lb:first-child img { aspect-ratio: 3 / 2; }
  .photo-grid.mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .photo-grid.mosaic a.lb:nth-child(4n+1) { grid-column: auto; }
  .photo-grid.mosaic img { height: auto; aspect-ratio: 3 / 2; }
  .brand img { height: 40px; }
  .hero video, .hero > img { height: 88svh; }
  .float-book { right: 14px; bottom: 14px; padding: 13px 22px; }
  .score-row { gap: 26px; }
}

/* Floating WhatsApp button (bottom-left; booking pill owns bottom-right).
   Pure link, no third-party script, CSP untouched. */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(11,26,18,0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.float-wa:hover { transform: scale(1.08); box-shadow: 0 14px 38px rgba(11,26,18,0.4); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
/* Villa pages: the Check-availability pill owns the corner, WhatsApp stacks above it */
body:has(.float-book) .float-wa { bottom: 92px; }
@media (max-width: 760px) {
  .float-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  body:has(.float-book) .float-wa { bottom: 84px; }
}

/* Secured by Aegix badge in the footer bottom strip */
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.secured-badge { color: rgba(246,241,231,0.6); text-decoration: none; transition: color 0.2s; }
.secured-badge:hover { color: var(--gold-soft); }
