/* Harmony & Hue — site styles */
:root {
  --ivory: #F6F1E7;
  --ivory-2: #EFE7D9;
  --white: #FFFFFF;
  --ink: #1E2723;
  --ink-muted: #5F655F;
  --line: #E0D6C5;
  --gold: #B08D57;       /* decorative only on light grounds */
  --gold-light: #C9A66B; /* text-safe on --ink */
  --bronze: #7A4128;     /* buttons; ivory text on it */
  --bronze-dark: #5E3120;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--bronze); }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(44px, 6vw, 76px); }
h2 { font-size: clamp(34px, 4vw, 50px); }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; display: block; }
.amp { font-style: italic; color: var(--bronze); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 500 15px/1 var(--font-sans); letter-spacing: .06em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--bronze); color: var(--ivory); }
.btn-primary:hover { background: var(--bronze-dark); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-outline-light:hover { background: var(--ivory); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 43px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 21px; letter-spacing: .24em; white-space: nowrap; }
.brand-name { display: inline-block; line-height: 1.1; text-align: center; }
.brand-name::after { content: "STAYS"; display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .6em; padding-left: .6em; color: var(--bronze); margin-top: 6px; }
.site-footer .brand-name::after { color: var(--gold-light); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: .04em; }
.nav a:not(.btn):hover { color: var(--bronze); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: var(--ivory); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,39,35,.15) 0%, rgba(30,39,35,.75) 100%); }
.hero-content { position: relative; z-index: 2; padding: 140px 0 150px; }
.hero .eyebrow { color: var(--ivory); opacity: .9; }
.hero h1 { max-width: 13ch; }
.hero-lede { font-size: 20px; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Availability bar */
.search-wrap { position: relative; z-index: 5; margin-top: -64px; }
.search-card { background: var(--white); border-radius: 16px; box-shadow: 0 18px 50px rgba(30,39,35,.14); padding: 22px; }
.search-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr auto; gap: 14px; align-items: end; }
.search-form > * { min-width: 0; }
.field label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 16px var(--font-sans); color: var(--ink); background: var(--ivory); }
.search-result { margin-top: 14px; font-size: 15px; }
.search-result:empty { display: none; }
.search-result .ok { color: #2F5E3B; }
.search-result .no { color: var(--bronze); }
.badge-direct { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); margin-top: 12px; }
.badge-direct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Stats */
.facts { padding: 72px 0 24px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.fact-num { font-family: var(--font-display); font-size: 54px; line-height: 1; }
.fact-num.small { font-size: 40px; padding-top: 7px; }
.fact-label { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px; }

/* Sections */
section { scroll-margin-top: 90px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--ivory-2); }
.section-dark { background: var(--ink); color: var(--ivory); }
.section-dark .eyebrow { color: var(--gold-light); }
.center { text-align: center; }
.intro { width: min(720px, 100% - 48px); margin: 0 auto; text-align: center; }
.intro p { font-size: 19px; color: var(--ink-muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 18px auto 24px; border: 0; }

/* Property cards */
.stay-list { display: grid; gap: 40px; }
.stay-card { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.stay-media { position: relative; min-height: 420px; background: var(--ivory-2); }
.stay-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stay-thumbs { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.stay-thumbs button { width: 64px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--ivory); }
.stay-thumbs button[aria-pressed="true"] { border-color: var(--ivory); }
.stay-thumbs img { width: 100%; height: 100%; object-fit: cover; position: static; }
.stay-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.stay-badge { display: flex; align-items: center; gap: 12px; }
.stay-badge svg { width: 34px; height: 48px; flex: none; }
.stay-loc { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }
.stay-body h3 { font-size: 38px; margin: 0; }
.stay-rating { font-size: 14px; color: var(--ink-muted); min-height: 1em; }
.stay-rating:empty { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs strong { font-weight: 500; }
.stay-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 10px; }

/* Amenities */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenity { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.amenity svg { width: 30px; height: 30px; color: var(--bronze); margin-bottom: 14px; }
.amenity h3 { font-size: 23px; margin-bottom: 6px; }
.amenity p { font-size: 15px; color: var(--ink-muted); margin: 0; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.values h3 { font-size: 24px; color: var(--ivory); }
.values p { font-size: 15px; opacity: .85; margin: 0; }

.view-band { height: 420px; position: relative; overflow: hidden; background: var(--ink); }
.view-band img { width: 100%; height: 100%; object-fit: cover; }

/* Host */
.host { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.host-mark { display: flex; justify-content: center; }
.host-mark svg { width: 220px; height: auto; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }
.review blockquote { margin: 0 0 14px; font-family: var(--font-display); font-size: 22px; line-height: 1.35; }
.review figcaption { font-size: 14px; color: var(--ink-muted); }

/* CTA */
.cta { position: relative; padding: 140px 0; color: var(--ivory); background: var(--ink); overflow: hidden; text-align: center; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta .container { position: relative; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: var(--ivory); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer a { color: var(--ivory); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--gold-light); }
.site-footer h2 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(246,241,231,.15); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; opacity: .75; font-size: 13px; }
.site-footer .brand { color: var(--ivory); margin-bottom: 16px; }

/* Property page */
.prop-hero { padding: 48px 0 28px; }
.breadcrumb { font-size: 14px; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; border-radius: 18px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: 1 / 3; }
.prop-layout { display: grid; grid-template-columns: 1fr 400px; gap: 56px; padding: 48px 0 96px; align-items: start; }
.prop-layout h2 { font-size: 36px; margin-top: 48px; }
.prop-layout h2:first-child { margin-top: 0; }
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.rooms li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: 15px; }
.rooms strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.amenity-list { columns: 2; column-gap: 32px; padding-left: 18px; font-size: 15px; }
.amenity-list li { margin-bottom: 6px; break-inside: avoid; }
.book-panel { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.book-panel h2 { font-size: 30px; margin-top: 0; }
.booking-widget { min-height: 120px; }
.booking-widget iframe { width: 100%; min-width: 320px; min-height: 900px; border: 0; }
.widget-fallback p { font-size: 15px; color: var(--ink-muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--bronze); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-muted); font-size: 16px; }
.note { font-size: 14px; color: var(--ink-muted); }

/* Responsive */
@media (max-width: 1020px) {
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .field:first-child, .search-form button { grid-column: 1 / -1; }
  .amenity-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .stay-card { grid-template-columns: 1fr; }
  .stay-media { min-height: 320px; }
  .prop-layout { grid-template-columns: 1fr; }
  .book-panel { position: static; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ivory); padding: 16px 24px 24px; border-bottom: 1px solid var(--line); gap: 6px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 10px 0; }
  .nav-toggle { display: block; }
  .brand-name { font-size: 16px; letter-spacing: .18em; }
  .brand-name::after { font-size: 10px; letter-spacing: .5em; padding-left: .5em; margin-top: 4px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 110px 0 120px; }
  .facts-grid { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .hero .eyebrow { letter-spacing: .2em; }
  .amenity-grid, .values, .host, .footer-grid, .rooms { grid-template-columns: 1fr; }
  .stay-body { padding: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .amenity-list { columns: 1; }
  .section { padding: 72px 0; }
}
