/* Shared stylesheet for single-property direct-booking sites.
   Each property page sets its own accent tokens on :root if it wants a different look. */
/* Self-hosted brand fonts (latin subset). Served from our own domain so text renders without a trip to Google Fonts. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/lato-700.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/playfair-600.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/playfair-400-italic.woff2) format('woff2'); }

/* Metric-matched fallbacks: while the brand fonts load, the stand-in fonts take up the same space, so text doesn't jump when they swap in. */
@font-face { font-family: 'Lato Fallback'; font-weight: 400; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica'); size-adjust: 96.35%; ascent-override: 102.44%; descent-override: 22.11%; line-gap-override: 0%; }
@font-face { font-family: 'Lato Fallback'; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold'); size-adjust: 92.14%; ascent-override: 107.12%; descent-override: 23.12%; line-gap-override: 0%; }
@font-face { font-family: 'Playfair Fallback'; font-weight: 600; src: local('Times New Roman Bold'), local('TimesNewRomanPS-BoldMT'), local('Liberation Serif Bold'), local('Times Bold'); size-adjust: 105.87%; ascent-override: 102.20%; descent-override: 23.71%; line-gap-override: 0%; }

:root {
  --ink: #1f2733;
  --ink-soft: #4a5464;
  --navy: #22344a;
  --gold: #c9a96e;
  --gold-deep: #9c7a42;
  --bg: #faf7f2;
  --surface: #f4ede0;
  --card: #ffffff;
  --line: #e0d5c5;
  --ok: #2f6b4f;
  --err: #a33a2b;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(20, 28, 40, .35);
  --serif: 'Playfair Display', 'Playfair Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Lato', 'Lato Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 700 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
section { padding: 88px 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header.solid { background: rgba(250, 247, 242, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.brand { font: 600 22px/1 var(--serif); color: #fff; text-decoration: none; white-space: nowrap; }
.brand small { display: block; font: 700 10px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.site-header.solid .brand { color: var(--ink); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .04em; opacity: .9; }
.site-header.solid .nav a { color: var(--ink); }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 700 15px/1 var(--sans); letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, opacity .15s; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #1b1408; }
.btn-gold:hover { background: #d6b984; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #2c4360; }
.partner-offer { margin-top: 16px; padding: 18px; border: 1px solid var(--gold); border-radius: 12px; background: #fbf6ec; }
.partner-offer[hidden] { display: none; }
.partner-offer strong { display: block; font: 600 18px/1.25 var(--serif); color: var(--navy); }
.partner-offer p { margin: 6px 0 14px; font-size: 15px; color: var(--ink-soft); }
.partner-offer .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.partner-offer small { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 900px) { .nav { display: none; } .site-header .btn { margin-left: auto; padding: 10px 16px; font-size: 14px; } }
@media (max-width: 420px) { .brand small { display: none; } .brand { font-size: 18px; } .site-header .btn { padding: 9px 13px; font-size: 13px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; padding: 0; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 28, .45) 0%, rgba(12, 18, 28, .05) 35%, rgba(12, 18, 28, .72) 100%); }
/* Per-page focal point: set --pos (desktop) and --pos-mobile on the hero img. */
.hero img.bg { object-position: var(--pos, 50% 50%); }
@media (max-width: 760px) { .hero img.bg { object-position: var(--pos-mobile, var(--pos, 50% 50%)); } }
/* Bright interior heroes: darken only behind the text (left side), keep the room bright on the right. */
.hero--bright::after { background: linear-gradient(90deg, rgba(12, 18, 28, .80) 0%, rgba(12, 18, 28, .58) 40%, rgba(12, 18, 28, .12) 72%, rgba(12, 18, 28, 0) 100%), linear-gradient(180deg, rgba(12, 18, 28, .45) 0%, rgba(12, 18, 28, 0) 28%, rgba(12, 18, 28, .45) 100%); }
@media (max-width: 760px) { .hero--bright::after { background: linear-gradient(180deg, rgba(12, 18, 28, .55) 0%, rgba(12, 18, 28, .45) 35%, rgba(12, 18, 28, .88) 100%); } }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 64px; width: 100%; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); max-width: 900px; margin-bottom: 16px; }
.hero p { font-size: clamp(17px, 2vw, 21px); max-width: 620px; opacity: .95; }
.hero h1 .h1-kicker { display: block; font: 700 13px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.facts li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }

/* ---------- intro + highlights ---------- */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.intro img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.quote-line { font: italic 400 22px/1.5 var(--serif); color: var(--navy); border-left: 3px solid var(--gold); padding-left: 18px; margin: 28px 0 0; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 36px; } .intro img { aspect-ratio: 4/3; } }

.spaces { background: var(--surface); }
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.space { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; }
.space img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.space div { padding: 22px 22px 26px; }
.space p { color: var(--ink-soft); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .space-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .space-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; margin-top: 36px; }
.gallery-grid button { padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; background: var(--line); }
.gallery-grid button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid button:hover img { transform: scale(1.04); }
.gallery-more { margin-top: 22px; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 14, 20, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: min(1400px, 100%); object-fit: contain; border-radius: 6px; }
.lightbox .cap { color: #e9e3d8; margin-top: 14px; font-size: 15px; text-align: center; max-width: 820px; min-height: 1.5em; }
.lightbox .count { color: #9aa3b0; font-size: 13px; margin-top: 4px; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }

/* ---------- sleeping + amenities ---------- */
.rooms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.room { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.room b { display: block; font: 600 18px/1.2 var(--serif); margin-bottom: 6px; }
.room span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .rooms { grid-template-columns: 1fr 1fr; } }
.amen { columns: 3; column-gap: 40px; margin: 36px 0 0; padding: 0; list-style: none; }
.amen li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.amen li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; margin-right: 10px; }
@media (max-width: 900px) { .amen { columns: 2; } }
@media (max-width: 560px) { .amen { columns: 1; } }

/* ---------- reviews ---------- */
.reviews { background: var(--navy); color: #fff; }
.reviews .eyebrow { color: var(--gold); }
.score { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.score b { font: 600 64px/1 var(--serif); }
.stars { color: var(--gold); letter-spacing: 3px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.review { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; margin: 0; }
.review p { font-size: 16px; color: #e6e9ee; }
.review footer { font-size: 13px; color: #a9b4c3; letter-spacing: .04em; }
@media (max-width: 800px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- location ---------- */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.loc ul { list-style: none; padding: 0; margin: 0; }
.loc li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc li span:last-child { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- direct perks ---------- */
.perks { background: var(--surface); }
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.perk { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.perk p { color: var(--ink-soft); margin: 0; font-size: 16px; }
@media (max-width: 800px) { .perk-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 19px/1.4 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--gold-deep); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 820px; }

/* ---------- booking panel ---------- */
.book { background: linear-gradient(180deg, var(--bg), var(--surface)); }
.book-shell { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; margin-top: 36px; align-items: start; }
@media (max-width: 960px) { .book-shell { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head button { background: none; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--ink); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .day .dp { font-size: 9.5px; } .cal-months { grid-template-columns: 1fr; } .cal-months .month:nth-child(2) { display: none; } }
.month h4 { margin: 0 0 10px; text-align: center; font: 600 17px/1 var(--serif); }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.dow span { font-size: 12px; color: var(--ink-soft); font-weight: 700; padding: 6px 0; }
.day { aspect-ratio: 1; border: 0; background: none; font: 400 15px/1 var(--sans); color: var(--ink); cursor: pointer; border-radius: 12px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; }
.day .dp { font-size: 10.5px; color: var(--ink-soft); letter-spacing: -.01em; }
.day.start .dp, .day.end .dp { color: #dfe6ef; }
.day:hover:not(:disabled) { outline: 1px solid var(--ink); }
.day:disabled { color: #b9b2a6; text-decoration: line-through; cursor: not-allowed; }
.day.past:disabled { text-decoration: none; }
.day.in-range { background: var(--surface); border-radius: 0; }
.day.start, .day.end { background: var(--navy); color: #fff; border-radius: 12px; }
.day.checkout-only { color: var(--ink); text-decoration: none; cursor: pointer; }
.day.today::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-deep); }
.cal-note { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; min-height: 1.4em; }
.cal-legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.field { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field output, .field input { font: 400 16px/1.5 var(--sans); color: var(--ink); border: 0; padding: 0; background: none; width: 100%; }
.field input:focus { outline: none; }
.field:focus-within { border-color: var(--ink); }
.guests { border: 1px solid var(--line); border-radius: 12px; padding: 6px 14px; margin-bottom: 14px; }
.g-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.g-row + .g-row { border-top: 1px solid var(--line); }
.g-row small { display: block; color: var(--ink-soft); font-size: 13px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 18px; text-align: center; font-weight: 700; }
.promo-toggle { font-family: var(--sans); background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 0; margin: 0 0 12px; }
.quote { margin-top: 18px; }
.q-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.q-total span { font-weight: 700; font-size: 15px; }
.q-total b { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.q-total small { flex-basis: 100%; color: var(--ink-soft); font-size: 13px; }
.quote table { width: 100%; border-collapse: collapse; font-size: 15px; }
.quote td { padding: 7px 0; }
.quote td:last-child { text-align: right; }
.quote tr.total td { border-top: 1px solid var(--line); font-weight: 700; font-size: 17px; padding-top: 12px; }
.quote tr.disc td { color: var(--ok); }
.msg { font-size: 15px; border-radius: 10px; padding: 12px 14px; margin-top: 14px; }
.msg.err { background: #fbecea; color: var(--err); }
.msg.info { background: var(--surface); color: var(--ink-soft); }
.fine { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.w-full { width: 100%; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- mobile sticky bar + footer ---------- */
.sticky-book { position: fixed; inset: auto 0 0 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px; display: none; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-book span { font-size: 14px; color: var(--ink-soft); }
.sticky-book b { color: var(--ink); display: block; font-size: 16px; }
@media (max-width: 900px) { .sticky-book.show { display: flex; } body { padding-bottom: 72px; } }
.site-footer { background: #151d28; color: #b6bfcc; padding: 56px 0 40px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer b { color: #fff; font: 600 22px/1.2 var(--serif); display: block; margin-bottom: 6px; }
.site-footer a { color: #e3d2b0; }
.site-footer .legal { width: 100%; border-top: 1px solid #2a3442; padding-top: 18px; font-size: 13px; color: #7f8a99; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.from-price { display: inline-block; margin-left: 14px; font-weight: 700; color: #fff; opacity: .95; }
.book .offer-note { margin: -6px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 720px; }
.book .offer-note b { color: var(--navy); }
.book .from-price { color: var(--gold-deep); margin: 0 0 0 0; display: block; font-size: 15px; letter-spacing: .02em; }
