/* ============================================================
   Seven Acres Retreat — styles
   Warm, editorial, photo-first. Inspired by onefinestay.
   ============================================================ */

:root {
  --bg: #faf8f4;
  --bg-2: #f1ece3;
  --card: #ffffff;
  --ink: #1b1a18;
  --ink-2: #3d3a35;
  --muted: #6f6a62;
  --line: #e5dfd4;
  --accent: #1f4f5b;
  --accent-hover: #17404a;
  --accent-soft: #e3eef0;
  --gold: #c39b52;
  --success: #2f7d4f;
  --danger: #b4423a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(27, 26, 24, .10);
  --shadow-sm: 0 2px 10px rgba(27, 26, 24, .08);
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
em, .em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .kicker { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--ink-2); margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(31, 79, 91, .28); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(0, 0, 0, .05); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-2); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.link:hover { border-bottom-color: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: #fff; transition: background .25s, color .25s, box-shadow .25s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid, .header.is-open { background: rgba(250, 248, 244, .92); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; }
.header .btn--primary { padding: 11px 20px; font-size: .88rem; }
.header:not(.is-solid) .btn--primary { background: #fff; color: var(--ink); }
.header:not(.is-solid) .btn--primary:hover { background: var(--bg-2); box-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 12, 14, .78) 0%, rgba(10, 12, 14, .30) 45%, rgba(10, 12, 14, .25) 100%); }
.hero__inner { padding-block: calc(var(--header-h) + 40px) 40px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero__eyebrow .star { color: var(--gold); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 52ch; margin-top: 20px; opacity: .95; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; margin-top: 22px; opacity: .92; }
.hero__facts li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero__facts ul, .hero__facts { padding: 0; margin-left: 0; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .7; }

/* Booking bar */
.bookbar {
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 0; margin-top: 36px; overflow: hidden;
}
.bookbar__field { padding: 14px 20px; border-right: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.bookbar__field input, .bookbar__field select { min-width: 0; }
.bookbar__field label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted); }
.bookbar__field input, .bookbar__field select { border: 0; padding: 0; font: inherit; font-size: 1rem; font-weight: 500; background: transparent; color: var(--ink); width: 100%; outline: none; min-height: 28px; }
.bookbar__field input:focus-visible, .bookbar__field select:focus-visible { box-shadow: 0 2px 0 var(--accent); }
.bookbar__submit { padding: 10px; display: flex; }
.bookbar__submit .btn { border-radius: var(--radius-sm); height: 100%; padding-inline: 28px; }
.bookbar__note { grid-column: 1 / -1; padding: 8px 20px 12px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; }
.bookbar__note span::before { content: "✓"; color: var(--success); margin-right: 6px; font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.trust li svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.trust li strong { color: var(--ink); }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__text p { font-size: 1.08rem; color: var(--ink-2); }
.intro__text .lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--ink); }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.intro__media .badge { position: absolute; left: -18px; bottom: 32px; background: #fff; border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.intro__media .badge b { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.intro__media .badge span { font-size: .78rem; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 72px); }
.pillar { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pillar svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.pillar h3 { font-size: 1.35rem; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 10px; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery > button[data-open] { border: 0; padding: 0; background: none; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery > button[data-open]:hover img { transform: scale(1.04); }
.gallery > button[data-open]:first-child { grid-row: span 2; }
.gallery .gallery__all { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow-sm); }

/* ---------- Spaces ---------- */
.space { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(28px, 4vw, 48px); }
.space:not(:last-child) { border-bottom: 1px solid var(--line); }
.space:nth-child(even) .space__media { order: 2; }
.space > *, .intro > *, .location > *, .book > *, .reviews > *, .host > * { min-width: 0; }
.space__media button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.space__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.space__kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; display: block; }
.space h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.space p { color: var(--ink-2); font-size: 1.02rem; max-width: 48ch; }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.amenities h3 { font-size: 1.25rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.amenities ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.amenities li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.amenities li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
.amenities__more { margin-top: 36px; text-align: center; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); }
.rating-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.rating-summary .big { font-family: var(--font-display); font-size: 4.5rem; line-height: 1; }
.rating-summary .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: .1em; }
.rating-summary .count { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.rating-rows { display: grid; gap: 10px; }
.rating-row { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 12px; font-size: .85rem; }
.rating-row .bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rating-row .bar i { display: block; height: 100%; background: var(--ink); }
.rating-row b { text-align: right; font-weight: 600; }
.review-list { display: grid; gap: 20px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-family: var(--font-display); font-size: 1.3rem; }
.review__name { font-weight: 600; }
.review__meta { font-size: .82rem; color: var(--muted); }
.review__stars { margin-left: auto; color: var(--gold); letter-spacing: .08em; font-size: .85rem; }
.review p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.review p.clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { background: none; border: 0; padding: 0; margin-top: 8px; color: var(--accent); font-weight: 600; font-size: .88rem; text-decoration: underline; }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; }
.nearby { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nearby b { font-weight: 600; display: block; }
.nearby small { color: var(--muted); }
.nearby span { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---------- Host ---------- */
.host { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.host img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.host h3 { font-size: 1.8rem; margin-bottom: 6px; }
.host .meta { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.host p { color: var(--ink-2); }
.host q { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Booking section ---------- */
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.book__why { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.book__why li { display: flex; gap: 12px; align-items: flex-start; }
.book__why svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }
.book__why b { display: block; }
.book__why span { color: var(--ink-2); font-size: .95rem; }
.book__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 24px); }
.book__card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.book__card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
#hospitable-widget:empty { display: none; }
.widget-fallback { display: grid; gap: 14px; }
.widget-fallback[hidden] { display: none; }
#hospitable-widget iframe { border-radius: var(--radius-sm); }
.widget-fallback .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.widget-fallback .field { display: grid; gap: 4px; }
.widget-fallback label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted); }
.widget-fallback input, .widget-fallback select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.widget-fallback .hint { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }
.widget-fallback .alt { text-align: center; font-size: .85rem; color: var(--muted); }
.widget-fallback .alt a { color: var(--accent); }
.secure { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); margin-top: 14px; }
.secure svg { width: 14px; height: 14px; }

/* ---------- Live availability calendar ---------- */
.cal { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__head h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; margin: 0; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.cal__nav button:disabled { opacity: .35; cursor: default; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal__month h5 { margin: 0 0 8px; font-size: .9rem; font-weight: 600; text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { font-size: .65rem; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0; }
.cal__day { aspect-ratio: 1; border: 0; background: none; border-radius: 6px; display: grid; place-content: center; gap: 1px; font-size: .82rem; line-height: 1; padding: 0; }
.cal__day small { font-size: .58rem; color: var(--muted); }
.cal__day.is-avail:hover { background: var(--accent-soft); }
.cal__day.is-blocked { color: #b9b3a9; text-decoration: line-through; cursor: default; }
.cal__day.is-past { color: #cfc9bf; cursor: default; }
.cal__day.is-selected { background: var(--accent); color: #fff; }
.cal__day.is-selected small { color: rgba(255, 255, 255, .8); }
.cal__day.in-range { background: var(--accent-soft); border-radius: 0; }
.cal__legend { display: flex; gap: 16px; font-size: .75rem; color: var(--muted); margin-top: 10px; }
.cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal__quote { margin-top: 14px; padding: 14px 16px; background: var(--bg-2); border-radius: var(--radius-sm); font-size: .9rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal__quote b { font-size: 1.1rem; }
.cal__status { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- CTA band ---------- */
.band { position: relative; color: #fff; text-align: center; isolation: isolate; padding-block: clamp(80px, 12vw, 160px); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 24, .55); z-index: -1; }
.band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.band p { max-width: 50ch; margin: 16px auto 28px; font-size: 1.05rem; opacity: .95; }

/* ---------- Footer ---------- */
.footer { background: #15181a; color: #d8d3cb; padding: 64px 0 28px; font-size: .9rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer h4 { font-family: var(--font-body); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #8f8a82; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
.sticky-cta .l { display: grid; line-height: 1.2; }
.sticky-cta .l b { font-size: .95rem; }
.sticky-cta .l span { font-size: .75rem; color: var(--muted); }

/* ---------- Dialogs (lightbox, photo tour, amenities) ---------- */
dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .85); }
.dlg-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); display: grid; place-items: center; z-index: 5; box-shadow: var(--shadow-sm); }
.lightbox { display: grid; grid-template-rows: 1fr auto; height: 100%; color: #fff; }
.lightbox__stage { display: grid; place-items: center; position: relative; min-height: 0; padding: 60px 70px 10px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.lightbox__nav.prev { left: 14px; } .lightbox__nav.next { right: 14px; }
.lightbox__foot { padding: 14px 24px 22px; text-align: center; font-size: .9rem; }
.lightbox__foot .cap { opacity: .9; max-width: 70ch; margin: 0 auto 4px; }
.lightbox__foot .cnt { opacity: .6; font-size: .8rem; }
.tour { background: var(--bg); height: 100%; overflow-y: auto; padding: 72px var(--gutter) 40px; }
.tour__inner { width: min(1040px, 100%); margin-inline: auto; }
.tour h2 { margin-bottom: 8px; }
.tour__chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 28px; position: sticky; top: 0; background: var(--bg); padding: 8px 0; z-index: 2; }
.tour__chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 500; }
.tour__chips button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour__group { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.tour__group h3 { font-size: 1.4rem; position: sticky; top: 64px; }
.tour__group .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tour__group .grid button { border: 0; padding: 0; background: none; border-radius: var(--radius-sm); overflow: hidden; }
.tour__group .grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.tour__group .grid button:hover img { transform: scale(1.03); }
.tour__group .grid button.tall img { aspect-ratio: 3 / 4; }
.sheet { background: var(--bg); width: min(760px, 100%); height: 100%; margin-left: auto; overflow-y: auto; padding: 72px clamp(24px, 4vw, 48px) 48px; }
.sheet .amenities { grid-template-columns: 1fr; gap: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .amenities { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 240px 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 20px var(--gutter) 28px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; color: var(--ink); }
  .header.is-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 1.1rem; }
  .header .btn--primary.desktop { display: none; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
  .bookbar { grid-template-columns: 1fr 1fr; }
  .bookbar__field:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; }
  .bookbar__field:nth-child(2) { border-right: 0; }
  .bookbar__submit { grid-column: 1 / -1; }
  .bookbar__submit .btn { width: 100%; padding-block: 16px; }
  .intro, .space, .location, .book, .reviews { grid-template-columns: 1fr; }
  .space:nth-child(even) .space__media { order: 0; }
  .intro__media .badge { left: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .gallery > button[data-open]:first-child { grid-column: 1 / -1; grid-row: 1; }
  .hero__facts { display: none; }
  .hero__inner { padding-top: calc(var(--header-h) + 24px); }
  .rating-summary { position: static; }
  .host { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .book__card { position: static; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__month:nth-child(2) { display: none; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .tour__group { grid-template-columns: 1fr; }
  .tour__group h3 { position: static; }
  .lightbox__stage { padding: 60px 12px 10px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav.prev { left: 6px; } .lightbox__nav.next { right: 6px; }
}
@media (max-width: 520px) {
  .amenities { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .trust ul { justify-content: flex-start; }
  .widget-fallback .grid { grid-template-columns: 1fr; }
}
