:root {
  --sand: #f6f0e7;
  --sand-2: #ece3d5;
  --ink: #142a2d;
  --ink-soft: #4a5e60;
  --ocean: #0d3a40;
  --ocean-2: #12505a;
  --lagoon: #34b3ad;
  --coral: #d94a72;
  --coral-dark: #bb3760;
  --white: #fffdf9;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(13, 58, 64, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--lagoon); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); margin-bottom: 14px;
}
.eyebrow.dark { color: var(--ocean-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(217, 74, 114, .7); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-outline { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn-outline:hover { background: rgba(13, 58, 64, .06); }
.btn-light { background: var(--white); color: var(--ocean); }
.btn-small { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.text-link { font-weight: 700; color: var(--ocean-2); text-decoration: none; border-bottom: 2px solid var(--lagoon); padding-bottom: 2px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gutter); color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-solid { background: rgba(13, 58, 64, .94); backdrop-filter: blur(10px); padding-block: 10px; box-shadow: 0 6px 24px -12px rgba(0,0,0,.4); }
.brand { font-family: var(--serif); font-size: 22px; text-decoration: none; margin: 0; white-space: nowrap; }
.brand span { font-style: italic; color: var(--lagoon); }
.site-header .btn { gap: .28em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; }
.show-sm { display: none; }
@media (max-width: 860px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}
@media (max-width: 380px) { .brand { font-size: 19px; } .site-header .btn { padding: 9px 13px; font-size: 13px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 900px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  padding: 120px var(--gutter) 64px; color: #fff; isolation: isolate;
}
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero picture img { object-fit: cover; object-position: 50% 24%; }
/* Desktop: pin the photo so the sea horizon (28.7% down the image; image height = 133.9% of its
   width) sits on the baseline of the headline's 2nd line, ~360px above the hero bottom. */
@media (min-width: 901px) {
  .hero picture { overflow: hidden; }
  .hero picture img { height: auto; bottom: auto; top: min(0px, calc(100% - min(360px, 27.4vw) - 38.4vw)); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 35, 40, .55) 0%, rgba(8, 35, 40, .05) 30%, rgba(8, 35, 40, .25) 55%, rgba(8, 35, 40, .82) 100%);
}
.hero-inner { max-width: 640px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 300; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { color: #9fe3dd; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 540px; opacity: .95; }
.hero-proof { font-size: 15px; margin: 0; opacity: .95; }
.hero-proof .stars { color: #ffd37a; }
.hero-proof .dot { margin: 0 6px; }

.trip-card {
  width: 380px; background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.trip-title { font-family: var(--serif); font-size: 24px; margin-bottom: 14px; }
.trip-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.trip-fields label:last-child { grid-column: 1 / -1; }
.trip-fields label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.trip-fields input, .trip-fields select {
  font: 500 16px var(--sans); color: var(--ink); width: 100%; min-width: 0;
  padding: 11px 12px; border: 1.5px solid var(--sand-2); border-radius: 12px; background: #fff;
}
.trip-fields input:focus, .trip-fields select:focus { outline: none; border-color: var(--lagoon); }
.trip-actions { display: grid; gap: 10px; }
.trip-actions.center { display: flex; flex-wrap: wrap; justify-content: center; }
.trip-note { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; line-height: 1.5; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 110px; padding-bottom: 0; }
  .hero picture { height: 78vh; bottom: auto; }
  .hero picture img { height: 100%; }
  .hero::after { height: 78vh; bottom: auto; }
  .hero-inner { min-height: calc(78vh - 150px); display: flex; flex-direction: column; justify-content: flex-end; }
  .trip-card { width: 100%; margin-bottom: -40px; position: relative; }
}

/* ---------- facts ---------- */
.facts { background: var(--ocean); color: #fff; padding: 34px var(--gutter); }
.facts ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; }
.facts li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.facts svg { width: 24px; height: 24px; fill: var(--lagoon); flex: none; }
.facts b { font-weight: 600; }
@media (max-width: 900px) {
  .facts { padding-top: 76px; }
  .facts ul { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section-head { max-width: 1200px; margin: 0 auto 40px; }
.section-head h2 { max-width: 720px; }

.stay { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.stay-text p { color: var(--ink-soft); font-size: 18px; }
.stay-media { position: relative; padding-bottom: 60px; }
.stay-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stay-media .m1 { width: 88%; }
.stay-media .m2 { position: absolute; right: 0; bottom: 0; width: 38%; border: 6px solid var(--sand); }
@media (max-width: 900px) { .stay { grid-template-columns: 1fr; } }

.gallery-section { background: var(--white); }
.gallery {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px;
}
.g { overflow: hidden; border-radius: 14px; cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g:hover img { transform: scale(1.04); }
/* Fixed layout so the grid never leaves holes (order matches index.html) */
.gallery { grid-template-areas: "a b b c" "a d e f" "g g e f" "h i i j"; }
.gallery > :nth-child(1) { grid-area: a; }
.gallery > :nth-child(2) { grid-area: b; }
.gallery > :nth-child(3) { grid-area: c; }
.gallery > :nth-child(4) { grid-area: f; }
.gallery > :nth-child(5) { grid-area: e; }
.gallery > :nth-child(6) { grid-area: d; }
.gallery > :nth-child(7) { grid-area: g; }
.gallery > :nth-child(8) { grid-area: h; }
.gallery > :nth-child(9) { grid-area: i; }
.gallery > :nth-child(10) { grid-area: j; }
.g-more { display: none; } /* extra photos: only shown in the photo viewer */
.gallery-all { text-align: center; margin: 32px 0 0; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px;
    grid-template-areas: "a b" "a c" "d e" "f e" "g g" "h j" "i i"; }
}

.sleep-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -20px rgba(13,58,64,.35); }
.room img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room h3, .room p { padding: 0 24px; }
.room h3 { margin-top: 22px; }
.room p { color: var(--ink-soft); }
.room-text { background: var(--ocean); color: #fff; padding: 36px 6px 30px; display: flex; flex-direction: column; justify-content: center; }
.room-text p { color: rgba(255,255,255,.82); }
.room-text .btn { margin: 8px 24px 0; align-self: flex-start; }
@media (max-width: 900px) { .sleep-grid { grid-template-columns: 1fr; } }

.amenities { background: var(--ocean); color: #fff; }
.amenity-list { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.amenity-list li { padding: 16px 0 16px 34px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.amenity-list li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 8px;
  border-left: 2px solid var(--lagoon); border-bottom: 2px solid var(--lagoon); transform: rotate(-45deg);
}
@media (max-width: 900px) { .amenity-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenity-list { grid-template-columns: 1fr; } }

.location { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.loc-media img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.loc-text > p { color: var(--ink-soft); font-size: 18px; }
.resort-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 28px; }
.resort-strip figure { margin: 0; }
.resort-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 12px; }
.resort-strip figcaption { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 6px; }
.loc-list { margin: 28px 0; display: grid; gap: 18px; }
.loc-list div { border-left: 3px solid var(--lagoon); padding-left: 18px; }
.loc-list dt { font-weight: 700; }
.loc-list dd { margin: 2px 0 0; color: var(--ink-soft); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .loc-media { max-width: 460px; } }

.reviews { background: var(--sand-2); }
.reviews .eyebrow { color: var(--ocean-2); }
.reviews h2 .big { font-size: 1.5em; color: var(--ocean); }
.scores { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 48px; }
.scores li { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-weight: 600; }
.scores i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ocean) calc(var(--v) * 100%), rgba(13,58,64,.15) 0); }
.reviews-note { max-width: 1200px; margin: 36px auto 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .scores { grid-template-columns: 1fr 1fr; gap: 18px 24px; } }

.faq .section-head { max-width: 820px; }
.faq details { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--sand-2); }
.faq details:last-of-type { border-bottom: 1px solid var(--sand-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 30px var(--sans); color: var(--lagoon); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; }

.final-cta { position: relative; color: #fff; text-align: center; isolation: isolate; padding-block: clamp(100px, 14vw, 180px); }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: rgba(8, 35, 40, .62); z-index: -1; }
.final-inner { max-width: 720px; margin: 0 auto; }
.final-inner p { font-size: 19px; opacity: .92; margin-bottom: 28px; }

.site-footer { background: var(--ocean); color: rgba(255,255,255,.82); padding: 48px var(--gutter) 110px; text-align: center; font-size: 15px; }
@media (min-width: 901px) { .site-footer { padding-bottom: 48px; } }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer .fine { font-size: 13px; opacity: .75; max-width: 640px; margin-inline: auto; }

/* ---------- mobile booking bar ---------- */
.mobile-book {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .3s ease;
}
.mobile-book.is-visible { transform: none; }
@media (max-width: 900px) { .mobile-book { display: flex; } }

/* ---------- consent ---------- */
.consent {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; max-width: 420px;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow);
  font-size: 14px;
}
.consent p { margin-bottom: 12px; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 560px) { .consent { right: 16px; max-width: none; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 22, 25, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; pointer-events: none; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; border-radius: 10px; pointer-events: auto; }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 12px; font-size: 14px; }
.lb-btn { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

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