/* CLASSIC: bright lime-wash walls, garden greens, pool aqua, pineapple gold */
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --wall: #FBFAF6;
  --sand: #EFE8D8;
  --ink: #1E2A23;
  --muted: #5A665F;
  --leaf: #2F5D45;
  --leaf-dark: #23473A;
  --pool: #1F7F8C;
  --pool-soft: #DDEFF0;
  --gold: #E2A93B;
  --line: #DDD6C6;
  --serif: 'Young Serif', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-big: 28px;
  --r-small: 10px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--wall); color: var(--ink); font: 17px/1.6 var(--sans); padding-bottom: 72px; }
img { max-width: 100%; display: block; }
a { color: var(--leaf); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; max-width: 64ch; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
  background: var(--leaf); color: #fff; text-decoration: none; font-weight: 600; border-radius: 999px; text-align: center; line-height: 1.25; transition: background .2s; }
.btn:hover { background: var(--leaf-dark); }
.btn-alt { background: var(--pool); }
.btn-alt:hover { background: #18666F; }
.btn-ghost { background: transparent; color: var(--leaf); border: 2px solid var(--leaf); }
.btn-ghost:hover { background: var(--leaf); color: #fff; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn .rating { font-weight: 400; font-size: .82rem; opacity: .9; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,250,246,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.concept { margin: 0; max-width: none; text-align: center; font-size: .78rem; background: var(--ink); color: #fff; padding: 4px 8px; }
.bar { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.wordmark { font-family: var(--serif); font-size: 1.5rem; color: var(--leaf); text-decoration: none; margin-right: auto; }
.bar nav { display: none; gap: 22px; }
.bar nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 0; }
.bar nav a:hover { color: var(--leaf); text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 900px) { .bar nav { display: flex; } }

/* Hero: split, photo in an arched "doorway" frame */
.hero { max-width: 1200px; margin: 0 auto; padding: 32px 20px 56px; display: grid; gap: 32px; }
.hero-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 240px 240px var(--r-big) var(--r-big); }
.hero-text { align-self: center; }
.lede { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.proof { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); }
.proof strong { color: var(--ink); }
.proof li::before { content: "★ "; color: var(--gold); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.05fr; gap: 64px; padding-top: 56px; }
  .hero-img { order: 2; aspect-ratio: 4/5; max-height: 680px; }
}

/* Villas */
.villas { background: var(--sand); padding: 64px 20px; }
.section-head { max-width: 1200px; margin: 0 auto 36px; text-align: center; }
.section-head p { margin-inline: auto; color: var(--muted); }
.chooser { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.chooser button { font: 600 1rem var(--sans); min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--leaf); background: #fff; color: var(--leaf); cursor: pointer; }
.chooser button[aria-pressed="true"] { background: var(--leaf); color: #fff; }
.chooser .chooser-all { border-color: transparent; background: transparent; text-decoration: underline; }
.chooser .chooser-all[aria-pressed="true"] { display: none; }
body[data-pick="couple"] .villa[data-for="family"],
body[data-pick="family"] .villa[data-for="couple"] { display: none; }

.villa-list { max-width: 1200px; margin: 0 auto; display: grid; gap: 28px; }
@media (min-width: 980px) { .villa-list { grid-template-columns: 1fr 1fr; } }
body[data-pick="couple"] .villa-list, body[data-pick="family"] .villa-list { grid-template-columns: minmax(0, 720px); justify-content: center; }
.villa { background: #fff; border-radius: var(--r-big); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.villa-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 3/2; }
.villa-photos img { width: 100%; height: 100%; object-fit: cover; }
.villa-photos img:first-child { grid-row: span 2; }
.villa-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.villa-tag { display: inline-block; align-self: flex-start; background: var(--pool-soft); color: #145860; font-weight: 600; font-size: .9rem; padding: 4px 12px; border-radius: 999px; }
.facts { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: .95rem; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--pool); }
.mini-quote { margin: 0 0 20px; padding: 14px 16px; background: var(--wall); border-radius: var(--r-small); font-family: var(--serif); }
.mini-quote cite { display: block; font: .85rem var(--sans); color: var(--muted); margin-top: 4px; font-style: normal; }
.book-row { margin-top: auto; display: grid; gap: 10px; }
@media (min-width: 560px) { .book-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.note { text-align: center; margin: 28px auto 0; color: var(--muted); font-size: .95rem; }

/* Your stay */
.stay { max-width: 1200px; margin: 0 auto; padding: 72px 20px; display: grid; gap: 32px; }
.stay-cols { display: grid; gap: 24px; }
.stay-cols > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-small); padding: 24px; }
.stay-cols > div:last-child { background: var(--pool-soft); border-color: transparent; }
.stay-cols h3 { font-size: 1.35rem; }
.stay ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
@media (min-width: 900px) { .stay { grid-template-columns: 1fr 1.6fr; } .stay-cols { grid-template-columns: 1fr 1fr; } }

/* Gallery */
.gallery { max-width: 1200px; margin: 0 auto; padding: 0 20px 72px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.grid a { display: block; border-radius: var(--r-small); overflow: hidden; aspect-ratio: 1; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.grid a:hover img { transform: scale(1.04); }
.grid .g-wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.credit { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* Reviews */
.reviews { background: var(--leaf); color: #fff; padding: 72px 20px; }
.reviews > * { max-width: 1200px; margin-inline: auto; }
.reviews-sub { color: #D5E3DA; }
.quotes { display: grid; gap: 16px; margin-top: 28px; }
.quotes figure { margin: 0; background: rgba(255,255,255,.08); border-radius: var(--r-small); padding: 22px; }
.quotes blockquote { margin: 0 0 10px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }
.quotes figcaption { font-size: .88rem; color: #D5E3DA; }
.quote-big blockquote { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(4, 1fr); } .quote-big { grid-column: span 4; } }

/* Location */
.location { max-width: 1200px; margin: 0 auto; padding: 72px 20px; display: grid; gap: 28px; align-items: center; }
.map { border-radius: var(--r-big); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1.2fr; gap: 56px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; padding: 0 20px 72px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; min-height: 44px; list-style-position: outside; }
.faq details p { color: var(--muted); }

/* Final CTA */
.final { background: var(--sand); text-align: center; padding: 64px 20px; }
.final p { margin-inline: auto; color: var(--muted); }
.final .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D2CC; padding: 40px 20px; text-align: center; }
.site-footer p { margin: 0 auto 8px; }
.site-footer .wordmark { color: #fff; display: block; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.foot-links a { color: #fff; padding: 10px 0; }
.small { font-size: .8rem; }

/* Sticky mobile booking bar */
.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(30,42,35,.08); font-weight: 600; font-size: .95rem; }
@media (min-width: 900px) { .sticky-book { display: none; } body { padding-bottom: 0; } }

/* Lightbox */
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog#lightbox::backdrop { background: rgba(20,28,24,.88); }
dialog#lightbox img { max-height: 88vh; border-radius: var(--r-small); }
.lb-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }

/* Layout safety: let grid children shrink below image intrinsic widths */
.hero > *, .villa-list > *, .villa > *, .stay > *, .stay-cols > *, .location > *, .quotes > *, .grid > * { min-width: 0; }
.villa-list { grid-template-columns: minmax(0, 1fr); }
img { height: auto; }
html, body { overflow-x: clip; }
@media (min-width: 980px) { .villa-list { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
body[data-pick="couple"] .villa-list, body[data-pick="family"] .villa-list { grid-template-columns: minmax(0, 720px); }
