/* Nestique — tokens */
:root {
  --mist: #edf0ea;      /* page */
  --river: #173a35;     /* ink + bold blocks */
  --jade: #3e7a6b;      /* secondary */
  --moss: #c9d5cc;      /* lines, placeholders */
  --stone: #5f6f68;     /* muted text */
  --marigold: #e3a21a;  /* the one accent: booking actions */
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--river);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 96, "wdth" 80; }
p { margin: 0; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--river); color: var(--mist); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.top {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mark { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; text-decoration: none; font-variation-settings: "opsz" 96, "wdth" 75; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 16px; }
.top nav a { text-decoration: none; }
.top nav a:not(.btn-sm):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn, .btn-sm {
  display: inline-block; text-decoration: none; font-weight: 650;
  background: var(--marigold); color: var(--river); border-radius: 999px;
  transition: background-color .15s ease;
}
.btn { padding: 15px 28px; font-size: 17px; }
.btn-sm { padding: 9px 18px; }
.btn:hover, .btn-sm:hover { background: #f0b638; }
.btn-big { padding: 20px 36px; font-size: 20px; }
.btn-full { display: block; text-align: center; }
.link { font-weight: 600; text-underline-offset: 4px; }

/* Photo placeholder */
.ph {
  background: var(--jade); color: rgba(237, 240, 234, .16);
  display: grid; place-items: center; overflow: hidden; width: 100%; height: 100%;
}
.ph span { font-weight: 800; font-size: clamp(120px, 22vw, 360px); line-height: .8; font-variation-settings: "opsz" 96, "wdth" 75; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 80px) var(--pad) 0;
}
.hero h1 { font-size: clamp(48px, 9.2vw, 148px); line-height: .92; max-width: 13ch; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-foot p { font-size: 20px; color: var(--stone); max-width: 46ch; }
.hero-img { margin: clamp(36px, 5vw, 64px) 0 0; aspect-ratio: 21 / 9; border-radius: 4px; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Stays index — the signature element */
.stays { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--pad) 0; }
.stays > h2, .booking > h2, .more > h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: clamp(28px, 4vw, 48px); }
.city { margin-bottom: clamp(48px, 6vw, 88px); }
.city-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--river); }
.city-head h3 { font-size: 22px; letter-spacing: -0.01em; font-variation-settings: "opsz" 24, "wdth" 100; }
.city-head p { color: var(--stone); font-size: 16px; }

.index { list-style: none; margin: 0; padding: 0; }
.index li { border-bottom: 1px solid var(--moss); }
.row {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: clamp(14px, 2vw, 22px) 0; text-decoration: none;
}
.row-name {
  font-weight: 780; font-size: clamp(40px, 7.4vw, 112px); line-height: .95; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96, "wdth" 75; transition: color .2s ease;
}
.row-meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 15px; color: var(--stone); }
.row-thumb {
  position: absolute; right: 22%; top: 50%; width: clamp(180px, 20vw, 280px); aspect-ratio: 4 / 5;
  transform: translateY(-50%) scale(.96); opacity: 0; pointer-events: none; z-index: 2;
  border-radius: 4px; overflow: hidden; transition: opacity .2s ease, transform .25s ease;
}
.row-thumb img, .row-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.row-thumb .ph span { font-size: 140px; }
.row:hover .row-name, .row:focus-visible .row-name { color: var(--jade); }
.row:hover .row-thumb, .row:focus-visible .row-thumb { opacity: 1; transform: translateY(-50%) scale(1); }

/* Booking */
.booking {
  background: var(--river); color: var(--mist);
  margin-top: clamp(40px, 6vw, 80px); padding: clamp(64px, 9vw, 128px) var(--pad);
}
.booking > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.booking > h2 { color: var(--mist); }
.steps {
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px);
  counter-reset: step; margin-top: 0; margin-bottom: clamp(40px, 5vw, 64px);
}
.steps li { counter-increment: step; border-top: 2px solid rgba(237, 240, 234, .35); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 56px; line-height: 1; color: var(--marigold); margin-bottom: 18px; font-variation-settings: "opsz" 96, "wdth" 75; }
.steps h3 { font-size: 26px; line-height: 1.1; margin-bottom: 10px; font-variation-settings: "opsz" 32, "wdth" 90; }
.steps p { color: rgba(237, 240, 234, .78); }
.book-cta { margin-top: 0; }

/* Footer */
.foot { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad) 40px; }
.foot-big { font-size: clamp(22px, 2.6vw, 34px); font-weight: 650; line-height: 1.2; max-width: none; }
.foot-big a { text-underline-offset: 6px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.foot-small { margin-top: 28px; font-size: 14px; color: var(--stone); }

/* Stay page */
.stay-page { max-width: var(--max); margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--pad) 0; }
.back { font-size: 16px; font-weight: 600; text-underline-offset: 4px; }
.back::before { content: "← "; }
.stay-head h1 { font-size: clamp(56px, 11vw, 176px); line-height: .9; letter-spacing: -0.04em; margin-top: 18px; font-variation-settings: "opsz" 96, "wdth" 75; }
.stay-where { margin-top: 14px; font-size: 20px; color: var(--stone); }

.gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(140px, 17vw, 260px));
  gap: 10px; margin-top: clamp(28px, 4vw, 48px);
}
.gallery > * { width: 100%; height: 100%; }
.g-main { grid-row: span 2; }
.gallery .g-small .ph span { font-size: 96px; }

.stay-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.lede { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 550; max-width: 32ch; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 8px; border-top: 2px solid var(--river); }
.facts div { padding: 14px 12px 14px 0; }
.facts dt { font-size: 14px; color: var(--stone); }
.facts dd { margin: 2px 0 0; font-size: 20px; font-weight: 650; }
.stay-main h2 { font-size: 28px; margin: 48px 0 14px; font-variation-settings: "opsz" 32, "wdth" 90; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.amen li { padding: 12px 0; border-bottom: 1px solid var(--moss); }
.stay-main p + p { margin-top: 14px; }

.book-box { position: sticky; top: 24px; background: var(--river); color: var(--mist); padding: 32px; border-radius: 4px; }
.book-box .price { font-size: 16px; color: rgba(237, 240, 234, .75); margin-bottom: 14px; }
.book-box .price span { display: block; font-size: 34px; font-weight: 750; color: var(--mist); line-height: 1.1; font-variation-settings: "opsz" 48, "wdth" 85; }
.book-box > p:not(.price):not(.small) { font-size: 16px; margin-bottom: 24px; color: rgba(237, 240, 234, .85); }
.book-box .small { margin-top: 16px; font-size: 14px; color: rgba(237, 240, 234, .7); overflow-wrap: anywhere; }

.more { margin-top: clamp(80px, 10vw, 140px); }
.more .row-name { font-size: clamp(36px, 5.4vw, 80px); }

/* Responsive */
@media (max-width: 900px) {
  .stay-body { grid-template-columns: 1fr; }
  .book-box { position: static; }
  .steps { grid-template-columns: 1fr; }
  .row-thumb { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero-img { aspect-ratio: 4 / 3; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row-meta { flex-direction: row; gap: 12px; align-items: flex-start; text-align: left; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 64vw 32vw 32vw; }
  .g-main { grid-column: span 2; grid-row: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .amen { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Functional additions ---------- */
.menu-btn { display: none; font: inherit; font-weight: 650; background: none; border: 2px solid var(--river); color: var(--river); border-radius: 999px; padding: 7px 16px; cursor: pointer; }

/* Filter */
.stays-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.stays-head h2 { font-size: clamp(32px, 4vw, 52px); }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.filter button {
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 2px solid var(--river); background: transparent; color: var(--river);
}
.filter button[aria-pressed="true"] { background: var(--river); color: var(--mist); }
.filter button:hover:not([aria-pressed="true"]) { background: var(--moss); }
.city[hidden] { display: none; }
.city-head .count { margin-left: auto; font-size: 15px; color: var(--stone); }

/* FAQ */
.faq { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
.faq h2 { font-size: clamp(32px, 4vw, 52px); }
.faq-list { border-top: 2px solid var(--river); }
.faq details { border-bottom: 1px solid var(--moss); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 21px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 30px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--stone); }

/* Forms */
.book-form { display: grid; gap: 14px; }
.book-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.book-form .opt { font-weight: 400; opacity: .7; }
.book-form input, .book-form textarea, .book-form select {
  font: inherit; font-size: 16px; font-weight: 400; width: 100%;
  padding: 12px 14px; border-radius: 4px; border: 2px solid transparent;
  background: var(--mist); color: var(--river);
}
.book-form textarea { resize: vertical; }
.book-form input:focus, .book-form textarea:focus, .book-form select:focus { outline: none; border-color: var(--marigold); }
.book-form [aria-invalid="true"] { border-color: #e0634f; }
.book-form .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-form .nights:empty, .form-error:empty { display: none; }
.book-form .nights { font-size: 15px; font-weight: 650; }
.form-error { color: #ffd0c4; font-size: 15px; font-weight: 600; }
.book-form button[type=submit] { border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }
.book-form button[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-box .price span { margin-bottom: 6px; }
.book-box .alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(237, 240, 234, .2); }
.book-box .small a, .book-box .alt a { color: var(--mist); }

/* Contact page */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 80px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact h1 { font-size: clamp(48px, 7vw, 112px); line-height: .92; font-variation-settings: "opsz" 96, "wdth" 75; }
.contact-intro p { margin-top: 24px; font-size: 20px; color: var(--stone); }
.contact-form { background: var(--river); color: var(--mist); padding: clamp(24px, 3vw, 40px); border-radius: 4px; }

/* Stay header extras */
.stay-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.stay-sub .stay-where { margin-top: 0; }
.share { font: inherit; font-size: 16px; font-weight: 600; background: none; border: 0; color: var(--river); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 4px 0; }

/* Gallery buttons */
.g-item { padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; border-radius: 4px; overflow: hidden; }
.g-item[disabled] { cursor: default; }
.g-item img, .g-item .ph { width: 100%; height: 100%; object-fit: cover; }
.g-more { position: absolute; right: 12px; bottom: 12px; background: var(--mist); color: var(--river); font-weight: 650; font-size: 14px; padding: 6px 12px; border-radius: 999px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox::backdrop { background: rgba(10, 26, 23, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: var(--mist); font-size: 15px; }
.lightbox button { position: fixed; font: inherit; font-weight: 650; font-size: 15px; background: var(--mist); color: var(--river); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }

/* Sticky mobile booking bar */
.mobile-book { display: none; }

/* Footer row */
.foot-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--moss); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.foot-row nav a { text-decoration: none; }
.foot-row nav a:hover { text-decoration: underline; }
.foot-row .foot-small { margin-top: 0; }

.thanks h1 { max-width: 16ch; }
.thanks .hero-foot a:not(.btn) { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .faq, .contact { grid-template-columns: 1fr; }
  .mobile-book {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 5;
    text-align: center; text-decoration: none; font-weight: 700; padding: 16px; border-radius: 999px;
    background: var(--marigold); color: var(--river); box-shadow: 0 6px 24px rgba(23, 58, 53, .25);
  }
  .p-stay .foot { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  .menu-btn { display: inline-block; }
  .top { position: relative; flex-wrap: wrap; }
  .top nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; }
  .top nav.open { display: flex; }
  .top nav a:not(.btn-sm) { display: block; padding: 14px 0; border-bottom: 1px solid var(--moss); font-size: 18px; }
  .top nav .btn-sm { margin-top: 16px; text-align: center; padding: 14px; }
  .stays-head { align-items: start; }
  .city-head .count { margin-left: 0; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; }
}

.book-form, .book-form label, .book-form input, .book-form textarea, .book-form select { min-width: 0; }
.book-form .dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.book-form .lt { display: block; }

/* ===== v2: centered hero + property cards (matches reference designs) ===== */
:root { --mist: #f5f6f3; --card: #ffffff; --line: #e4e7e2; }
body { background: var(--mist); }
h1, h2, h3 { font-variation-settings: "opsz" 96, "wdth" 100; letter-spacing: -0.025em; }

/* Header: logo left, links centre, CTA right */
.top { display: grid; grid-template-columns: 1fr auto 1fr; }
.top nav { display: contents; }
.top .nav-links { display: flex; gap: 32px; justify-self: center; font-size: 16px; }
.top .nav-links a { text-decoration: none; }
.top .nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mark { font-variation-settings: "opsz" 96, "wdth" 100; font-weight: 700; letter-spacing: -0.03em; }
.btn-sm { justify-self: end; background: var(--river); color: #fff; padding: 11px 20px; }
.btn-sm:hover { background: var(--jade); }
.menu-btn { justify-self: end; }

/* Buttons: primary is deep green now; marigold reserved for small accents */
.btn { background: var(--river); color: #fff; }
.btn:hover { background: var(--jade); }
.booking .btn, .book-box .btn, .contact-form .btn { background: var(--marigold); color: var(--river); }
.booking .btn:hover, .book-box .btn:hover, .contact-form .btn:hover { background: #f0b638; }

/* Hero */
.hero-center { text-align: center; padding-top: clamp(40px, 7vw, 96px); padding-bottom: 0; }
.hero-center h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.06; font-weight: 650; max-width: 24ch; margin: 18px auto 0; letter-spacing: -0.035em; }
.hero-center h1 span { color: var(--jade); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 600; max-width: none; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); }
.hero-sub { margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--stone); max-width: 52ch; }
.search { position: relative; max-width: 560px; margin: 36px auto 0; }
.search input {
  width: 100%; font: inherit; font-size: 17px; color: var(--river);
  padding: 18px 76px 18px 28px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); box-shadow: 0 10px 30px -12px rgba(23, 58, 53, .25);
}
.search input:focus { outline: none; border-color: var(--jade); }
.search input::placeholder { color: #8a958f; }
.search-icon { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--river); display: grid; place-items: center; pointer-events: none; }
.search-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-center .filter { justify-content: center; margin-top: 20px; }
.filter button { border: 1px solid var(--line); background: var(--card); font-size: 15px; padding: 8px 18px; }
.filter button[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: #fff; }
.filter button:hover:not([aria-pressed="true"]) { background: #eef1ec; }

/* Cards */
.stays { padding-top: clamp(48px, 6vw, 80px); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.card[hidden] { display: none; }
.card > a {
  display: block; height: 100%; text-decoration: none; background: var(--card); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(23, 58, 53, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card > a:hover, .card > a:focus-visible { box-shadow: 0 18px 40px -18px rgba(23, 58, 53, .35); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 12px; overflow: hidden; }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph span { font-size: clamp(90px, 10vw, 150px); }
.card-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--river); font-size: 13px; font-weight: 650; padding: 5px 12px; border-radius: 999px; }
.card-body { padding: 18px 20px 20px; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-top h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.card-price { font-size: 19px; font-weight: 700; white-space: nowrap; }
.card-price span { font-size: 13px; font-weight: 500; color: var(--stone); }
.card-loc { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 15px; color: var(--stone); }
.card svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-facts { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--stone); }
.card-facts li { display: flex; align-items: center; gap: 6px; }
.empty { text-align: center; padding: 40px 0; color: var(--stone); max-width: none; }
.link-btn { font: inherit; background: none; border: 0; color: var(--river); font-weight: 650; text-decoration: underline; cursor: pointer; }

/* Placeholder: soft, photo-shaped */
.ph { background: linear-gradient(150deg, #5d907f, #2f6356); }

/* Booking block as a rounded panel inside the page width */
.booking { max-width: calc(var(--max) - 2 * var(--pad)); margin: clamp(72px, 9vw, 120px) auto 0; border-radius: 24px; padding: clamp(40px, 6vw, 80px); }
.booking > * { max-width: none; }
@media (max-width: 1400px) { .booking { margin-left: var(--pad); margin-right: var(--pad); } }

/* Stay page tweaks to match */
.stay-head h1 { font-variation-settings: "opsz" 96, "wdth" 100; font-weight: 650; font-size: clamp(44px, 7vw, 104px); letter-spacing: -0.035em; }
.gallery { border-radius: 18px; overflow: hidden; }
.book-box { border-radius: 18px; }
.contact-form { border-radius: 18px; }
.more .cards { margin-top: 0; }
.contact h1 { font-variation-settings: "opsz" 96, "wdth" 100; font-weight: 650; letter-spacing: -0.035em; }

@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .top { display: flex; }
  .top nav { display: none; }
  .top nav.open { display: flex; }
  .top .nav-links { flex-direction: column; gap: 0; }
  .top .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--moss); font-size: 18px; }
  .booking { border-radius: 18px; }
}

/* ===== v3: booking search bar ===== */
.finder {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr auto; align-items: center;
  max-width: 880px; margin: 36px auto 0; padding: 8px 8px 8px 0; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 14px 36px -16px rgba(23, 58, 53, .3);
}
.f-field { display: grid; gap: 2px; padding: 6px 22px; border-right: 1px solid var(--line); min-width: 0; cursor: pointer; }
.f-field:nth-child(4) { border-right: 0; }
.f-field span { font-size: 13px; font-weight: 700; }
.f-field input, .f-field select {
  font: inherit; font-size: 15px; color: var(--stone); border: 0; background: transparent; padding: 2px 0; width: 100%; min-width: 0;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.f-field input:focus, .f-field select:focus { outline: none; color: var(--river); }
.f-field:focus-within { background: #f1f4ef; border-radius: 999px; }
.f-where select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6f68' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; padding-right: 20px; }
.f-go {
  display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--river); color: #fff; font: inherit; font-weight: 650; font-size: 16px; cursor: pointer;
}
.f-go:hover { background: var(--jade); }
.f-go svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.finder-error { margin: 12px auto 0; color: #b4412f; font-weight: 600; font-size: 15px; max-width: none; }
.finder-error:empty { display: none; }

.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.results-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 650; }
.results-meta { color: var(--stone); font-size: 16px; max-width: none; }

@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr 1fr; border-radius: 20px; padding: 8px; gap: 4px; }
  .f-field { border-right: 0; border-radius: 12px; padding: 10px 14px; background: #f5f6f3; }
  .f-where, .f-guests { grid-column: 1 / -1; }
  .f-go { grid-column: 1 / -1; justify-content: center; height: 52px; }
}

/* ===== v4: rich listing details ===== */
.tagline { margin-top: 10px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; color: var(--jade); }
.rate-link { margin-left: 14px; font-weight: 650; color: var(--river); text-decoration: none; white-space: nowrap; }
.rate-link span:last-child { font-weight: 400; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }
.star { color: var(--marigold); }
.host { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); max-width: none; }
.host-av { width: 48px; height: 48px; border-radius: 50%; background: var(--river); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.host span { color: var(--stone); font-size: 15px; }
.host strong { color: var(--river); font-size: 17px; }
.highlights { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.highlights li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--marigold); }
.highlights strong { font-size: 17px; }
.highlights span { color: var(--stone); font-size: 15px; }
.all-amen { margin-top: 16px; }
.all-amen summary { display: inline-block; cursor: pointer; font-weight: 650; padding: 12px 20px; border: 1px solid var(--river); border-radius: 999px; list-style: none; }
.all-amen summary::-webkit-details-marker { display: none; }
.all-amen[open] summary { margin-bottom: 8px; }
.all-amen h3 { font-size: 18px; margin: 28px 0 6px; font-weight: 650; }
.amen.not li { color: var(--stone); }
.know { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.know h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.know p, .know li { font-size: 15px; color: var(--stone); }
.know p + p { margin-top: 10px; }
.know ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.know li span { display: block; font-size: 14px; }
.notice { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: #fff7e6; border: 1px solid #f2dfb3; }
.notice h3 { font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.notice p { font-size: 15px; color: #5b4a22; }
.reviews { margin-top: clamp(64px, 8vw, 110px); padding: clamp(28px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.rev-big { font-size: clamp(64px, 8vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.rev-score p:last-child { color: var(--stone); margin-top: 8px; }
.rev-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.rev-cats li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 15px; }
.rev-cats i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.rev-cats i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--river); }
.card-rate { position: absolute; right: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--river); font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
@media (max-width: 900px) { .know { grid-template-columns: 1fr; } .reviews { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rev-cats { grid-template-columns: 1fr; } .rate-link { display: inline-block; margin: 6px 0 0; } }

/* ===== v5: photo tour ===== */
.gallery { position: relative; }
.g-tour { cursor: pointer; }
.g-more-overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; background: rgba(23, 58, 53, .55); color: #fff; font-size: 15px; font-weight: 600; transition: background .2s; }
.g-more-overlay strong { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1; }
.g-tour:hover .g-more-overlay { background: rgba(23, 58, 53, .7); }
.g-all { position: absolute; right: 16px; bottom: 16px; font: inherit; font-size: 14px; font-weight: 650; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--river); background: #fff; color: var(--river); cursor: pointer; }
.g-all:hover { background: var(--mist); }

.tour { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: #fff; overflow-y: auto; }
.tour::backdrop { background: rgba(10, 26, 23, .6); }
.tour-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 20px; padding: 14px var(--pad); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.tour-bar h2 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.tour-close { font: inherit; font-weight: 650; font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--river); cursor: pointer; }
.tour-close:hover { background: var(--mist); }
.tour-cats { display: flex; gap: 14px; overflow-x: auto; max-width: 1100px; margin: 28px auto 0; padding: 0 var(--pad) 8px; }
.tour-cat { flex: none; width: 140px; text-decoration: none; color: var(--river); font-size: 14px; font-weight: 600; }
.tour-cat img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.tour-cat:hover span { text-decoration: underline; }
.tour-sec { max-width: 1100px; margin: 0 auto; padding: 40px var(--pad) 0; scroll-margin-top: 70px; }
.tour-sec:last-child { padding-bottom: 64px; }
.tour-sec h3 { display: flex; align-items: baseline; gap: 12px; font-size: 24px; font-weight: 650; margin-bottom: 16px; }
.tour-sec h3 span { font-size: 15px; font-weight: 400; color: var(--stone); }
.tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tour-grid .tour-item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.tour-grid .tour-item:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 10; }
.tour-item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.tour-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .2s; }
.tour-item:hover img { opacity: .9; }
.lightbox { z-index: 10; }
@media (max-width: 640px) { .tour-grid { grid-template-columns: 1fr; } .tour-item img { aspect-ratio: 4 / 3; } .g-all { right: 10px; bottom: 10px; } }
.gallery > .g-all { position: absolute; width: auto; height: auto; }

/* ===== v6: amenities pop-up, compact sticky booking ===== */
.all-amen-btn { margin-top: 18px; font: inherit; font-weight: 650; font-size: 16px; padding: 12px 22px; border: 1px solid var(--river); border-radius: 999px; background: transparent; color: var(--river); cursor: pointer; }
.all-amen-btn:hover { background: var(--card); }
.amen-dialog { border: 0; padding: 0; width: min(680px, 94vw); max-height: 86vh; border-radius: 20px; background: #fff; color: var(--river); overflow: hidden; display: none; }
.amen-dialog[open] { display: flex; flex-direction: column; }
.amen-dialog::backdrop { background: rgba(10, 26, 23, .55); }
.amen-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.amen-head h2 { font-size: 24px; font-weight: 650; }
.amen-close { font: inherit; font-weight: 650; font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--river); cursor: pointer; }
.amen-body { overflow-y: auto; padding: 4px 28px 28px; }
.amen-body h3 { font-size: 18px; font-weight: 650; margin: 26px 0 4px; }
.amen-list { list-style: none; margin: 0; padding: 0; }
.amen-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.amen-list.not li { color: var(--stone); }

.book-box { position: sticky; top: 20px; padding: 26px; }
.book-box .price { margin-bottom: 10px; }
.book-box .price span { font-size: 28px; }
.book-form.stepped { gap: 12px; }
.book-form.stepped .step2 { display: none; }
.book-form.stepped.on-step2 .step2 { display: grid; gap: 12px; }
.book-form.stepped.on-step2 .dates, .book-form.stepped.on-step2 > label, .book-form.stepped.on-step2 .step-next, .book-form.stepped.on-step2 .nights { display: none; }
.book-form:not(.stepped) .step-next, .book-form:not(.stepped) .step-back { display: none; }
.step2 { display: grid; gap: 12px; }
.step-summary { font-size: 15px; font-weight: 650; padding: 10px 12px; border-radius: 8px; background: rgba(237, 240, 234, .12); max-width: none; }
.step-back { color: var(--mist); font-size: 14px; justify-self: center; }
.book-form textarea { min-height: 0; }
.book-box .small { margin-top: 12px; }
.book-box .alt { margin-top: 12px; padding-top: 12px; }
.book-box .step-next { border: 0; cursor: pointer; font-family: inherit; }
.stay-main .amen-head h2 { margin: 0; }
.book-box:has(.on-step2) .price { display: none; }
.book-box .book-form input, .book-box .book-form textarea { padding: 10px 12px; }
.book-form .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.book-box .book-form label { font-size: 14px; gap: 4px; }
.book-box .alt { font-size: 13px; }

/* ===== v7: city tabs ===== */
.hero-center { padding-bottom: 0; }
.results-head { justify-content: flex-start; margin-bottom: 28px; }
.city-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.city-tabs button {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--river);
}
.city-tabs button span { font-size: 13px; font-weight: 700; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--mist); color: var(--stone); text-align: center; }
.city-tabs button:hover:not([aria-selected="true"]) { background: #eef1ec; }
.city-tabs button[aria-selected="true"] { background: var(--river); border-color: var(--river); color: #fff; }
.city-tabs button[aria-selected="true"] span { background: rgba(255, 255, 255, .18); color: #fff; }

/* v8: description list + sleeping arrangements */
.desc-h { font-size: 17px; font-weight: 650; margin: 22px 0 8px; }
.desc-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--river); }
.sleep { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.sleep li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.sleep strong { font-size: 17px; }
.sleep span { color: var(--stone); font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.nearby { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.nearby li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.nearby span { color: var(--stone); font-size: 15px; }
@media (max-width: 640px) { .nearby { grid-template-columns: 1fr; } }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: auto; }
.gallery.single .g-main { grid-row: auto; aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .gallery.single { grid-template-rows: auto; } .gallery.single .g-main { aspect-ratio: 4 / 3; grid-column: auto; } }
.gallery.single .g-main { aspect-ratio: auto; height: min(52vw, 520px); }
.gallery.single .g-main img { object-position: 60% 70%; }

/* USP */
.usp { max-width: var(--max); margin: clamp(64px, 8vw, 110px) auto 0; padding: 0 var(--pad); }
.usp h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 650; margin-bottom: 28px; }
.usp-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.usp-list li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.usp-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff3d6; display: grid; place-items: center; margin-bottom: 18px; }
.usp-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--river); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usp-list h3 { font-size: 21px; font-weight: 650; margin-bottom: 8px; letter-spacing: -0.01em; }
.usp-list p { color: var(--stone); font-size: 16px; }
@media (max-width: 860px) { .usp-list { grid-template-columns: 1fr; } }

/* v9: availability calendar */
.avail { margin-top: 8px; }
.avail-note { color: var(--stone); margin: 0 0 12px; }
.avail-nav { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: -36px; position: relative; }
.avail-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--river); font-size: 20px; line-height: 1; cursor: pointer; }
.avail-nav button:disabled { opacity: .35; cursor: default; }
.avail-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.avail-month h3 { font-size: 17px; margin: 6px 0 12px; }
.avail-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.avail-grid .dow { font-size: 12px; color: var(--stone); text-align: center; padding-bottom: 4px; }
.avail-grid button { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font: inherit; font-size: 14px; color: var(--river); cursor: pointer; }
.avail-grid button:hover:not(:disabled) { background: var(--moss); }
.avail-grid button:focus-visible { outline: 2px solid var(--jade); outline-offset: 1px; }
.avail-grid button:disabled { color: #b3bbb6; cursor: default; }
.avail-grid button.taken { text-decoration: line-through; color: #b3bbb6; }
.avail-grid button.in { background: #dfe8e2; border-radius: 0; }
.avail-grid button.sel { background: var(--river); color: #fff; text-decoration: none; }
.avail-upd { color: var(--stone); margin-top: 12px; }
@media (max-width: 640px) { .avail-months { grid-template-columns: 1fr; } .avail-nav { margin-bottom: 0; } }

/* v10: city tabs stay on one line on phones */
@media (max-width: 640px) {
  .results-head { display: block; }
  .city-tabs { flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .city-tabs::-webkit-scrollbar { display: none; }
  .city-tabs button { flex: 1 1 auto; justify-content: center; white-space: nowrap; font-size: 13px; padding: 9px 8px; }
  .city-tabs button span { display: none; }
}

/* v11: logo lockup — STAY set under Nestique, spread to its full width */
.mark { display: inline-flex; flex-direction: column; align-items: stretch; line-height: 1; flex: 0 0 auto; width: max-content; align-self: center; }
.mark-main { display: block; }
.mark-sub { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; letter-spacing: 0; margin-top: 4px; padding: 0 1px; color: var(--jade); }
