/* =========================================================================
   ROOST — Vacation-rental / BnB single-listing template
   Bootstrap 5 supplies the grid + reset only; everything visual is bespoke.
   Palette:  Birch canvas · Pine structure · Lantern-amber accent
   Type:     Bricolage Grotesque (display) + Nunito Sans (body)
   ========================================================================= */

:root {
  /* --- woodland-cottage palette (hued neutrals, not grey/cream) --- */
  --birch:      #F2EEE3;   /* page canvas — warm birch with a green-gold undertone */
  --birch-2:    #E8E1D0;   /* alternate band / soft fills */
  --paper:      #FCFAF4;   /* cards, surfaces */
  --ink:        #2B322B;   /* body text — pine charcoal */
  --ink-soft:   #5E675C;   /* muted meta text */
  --pine:       #22453A;   /* deep evergreen — dark sections, footer, primary buttons */
  --pine-2:     #163127;   /* deepest pine */
  --fern:       #4E7A5E;   /* mid green — verified marks, secondary */
  --lantern:    #DE8A3C;   /* warm amber accent — price, active, highlights */
  --lantern-deep:#C4712A;  /* amber hover / text-safe */
  --honey:      #E7B34C;   /* stars, small highlights */
  --line:       #DED6C3;   /* hairline on birch */
  --line-2:     #EBE5D6;   /* hairline on paper */
  --booked:     #E4DDCD;   /* booked calendar cell */

  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --pill: 999px;

  --shadow-s: 0 2px 8px rgba(34,45,34,.05);
  --shadow-m: 0 16px 38px -20px rgba(22,49,39,.28);
  --shadow-l: 0 34px 70px -30px rgba(22,49,39,.42);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --hh: 70px;                 /* header height */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--birch);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--pine);
  margin: 0 0 .5rem;
  font-optical-sizing: auto;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--pine); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--lantern-deep); }
img { max-width: 100%; display: block; }
ul { margin: 0; }
strong { font-weight: 700; }

/* ---------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: 1320px; }
.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.section--pad-lg { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band { background: var(--birch-2); }
.band--pine { background: var(--pine); color: #E8EDE7; }
.divider { height: 1px; background: var(--line); border: 0; margin: clamp(1.75rem, 4vw, 2.75rem) 0; }

/* ---------------------------------------------------------------- a11y */
.skip-link {
  position: fixed; top: -120px; left: 14px; z-index: 3000;
  background: var(--pine); color: #fff; padding: .75rem 1.15rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--lantern);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

/* ---------------------------------------------------------------- shared bits */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fern);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--lantern); display: inline-block;
}
.band--pine .eyebrow { color: var(--honey); }
.band--pine .eyebrow::before { background: var(--honey); }

.section-head { max-width: 620px; margin-bottom: clamp(1.5rem, 3.5vw, 2.4rem); }
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
.section-head p { color: var(--ink-soft); margin-top: .4rem; }
.band--pine .section-head h2 { color: #fff; }
.band--pine .section-head p { color: #C4D2C7; }

/* star rating */
.stars { display: inline-flex; gap: 2px; color: var(--lantern); vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.stars--sm svg { width: 13px; height: 13px; }

.badge-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .02em;
  padding: .32rem .7rem; border-radius: var(--pill);
  background: rgba(222,138,60,.14); color: var(--lantern-deep);
  border: 1px solid rgba(222,138,60,.28);
}
.badge-pill svg { width: 14px; height: 14px; }
.badge-pill--pine { background: rgba(78,122,94,.16); color: var(--fern); border-color: rgba(78,122,94,.3); }

/* buttons */
.btn-r {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  line-height: 1; text-align: center; cursor: pointer;
  padding: .9rem 1.5rem; border-radius: var(--pill);
  border: 1.5px solid transparent; transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-r svg { width: 18px; height: 18px; }
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn-lantern { background: var(--lantern); color: #241a0d; }
.btn-lantern:hover { background: var(--lantern-deep); color: #241a0d; transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--line); }
.btn-outline:hover { color: var(--pine); border-color: var(--pine); background: rgba(34,69,58,.05); }
.btn-ghost { background: transparent; color: var(--pine); border-color: transparent; padding-inline: .4rem; }
.btn-ghost:hover { color: var(--lantern-deep); text-decoration: underline; }
.btn-block { width: 100%; }
.btn-sm { padding: .62rem 1.05rem; font-size: .92rem; }
.btn-lg { padding: 1.02rem 1.7rem; font-size: 1.08rem; }
.btn-r:disabled { opacity: .5; cursor: not-allowed; }

/* icon buttons (save / share / nav toggle) */
.icon-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; border: 1.5px solid transparent;
  color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  padding: .5rem .7rem; border-radius: var(--pill); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgba(34,69,58,.07); }
.icon-btn u { text-decoration: underline; text-underline-offset: 3px; }
.icon-btn.is-saved { color: var(--lantern-deep); }
.icon-btn.is-saved svg { fill: var(--lantern); stroke: var(--lantern-deep); }

/* ================================================================ HEADER */
.header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(242,238,227,.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 26px -22px rgba(22,49,39,.7); border-bottom-color: var(--line); }
.header__bar {
  height: var(--hh); display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display);
  font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--pine); }
.brand:hover { color: var(--pine); }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 11px; background: var(--pine); color: var(--honey);
}
.brand__mark svg { width: 20px; height: 20px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--ink); font-weight: 700; font-size: .95rem; padding: .5rem .7rem; border-radius: var(--r-sm); }
.nav a:hover { color: var(--pine); background: rgba(34,69,58,.06); }

.header__tools { display: flex; align-items: center; gap: .35rem; }
.header__tools .btn-r { padding: .68rem 1.15rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--line);
  background: var(--paper); border-radius: 12px; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--pine); border-radius: 2px; margin: 3px auto; transition: .25s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.backdrop {
  position: fixed; inset: 0; background: rgba(22,49,39,.5); z-index: 1250;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.backdrop.is-on { opacity: 1; visibility: visible; }

/* ================================================================ HERO */
.hero { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.hero__titlebar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1.25rem; margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); margin-bottom: .5rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.hero__meta .dot,
.rev-heading .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-soft); opacity: .6; flex: none; align-self: center;
}
.hero__meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.hero__meta .rate { color: var(--pine); font-weight: 800; display: inline-flex; align-items: center; gap: .3rem; }
.hero__actions { display: flex; align-items: center; gap: .2rem; }

/* gallery mosaic */
.gallery {
  position: relative;
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 8px; height: clamp(300px, 50vw, 540px);
  border-radius: var(--r-lg); overflow: hidden;
}
.gallery__cell {
  position: relative; background: var(--birch-2); overflow: hidden; cursor: pointer;
  border: 0; padding: 0; margin: 0;
}
.gallery__cell:first-child { grid-row: 1 / span 2; }
.gallery__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s var(--ease); }
.gallery__cell:hover img { transform: scale(1.05); filter: brightness(.96); }
.gallery__all {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  background: var(--paper); color: var(--pine); border: 1.5px solid var(--pine);
  border-radius: var(--pill); padding: .6rem 1.1rem; font-weight: 800; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
}
.gallery__all svg { width: 16px; height: 16px; }
.gallery__all:hover { background: var(--pine); color: #fff; }

/* ================================================================ OVERVIEW two-col */
.overview__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(2rem, 5vw, 3.75rem); align-items: start; }
@media (min-width: 992px) { .overview__grid { grid-template-columns: minmax(0,1fr) 372px; } }

.detail h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.detail h3 { font-size: 1.18rem; margin-bottom: .35rem; }

/* host line + facts */
.hostline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hostline__txt h2 { margin-bottom: .3rem; }
.facts { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--ink-soft); font-weight: 700; font-size: .98rem; }
.facts .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); opacity: .55; align-self: center; }
.hostline__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--birch-2); object-fit: cover; border: 2px solid var(--paper); box-shadow: var(--shadow-s); flex: none; }

/* highlights */
.highlights { display: grid; gap: 1.35rem; }
.highlight { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; }
.highlight__ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--pine); }
.highlight__ic svg { width: 28px; height: 28px; }
.highlight h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.02rem; color: var(--ink); margin-bottom: .1rem; }
.highlight p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* description read-more */
.desc { position: relative; }
.desc__body { position: relative; overflow: hidden; max-height: 12.5em; transition: max-height .4s var(--ease); }
.desc__body::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4.5em; background: linear-gradient(transparent, var(--birch)); pointer-events: none; transition: opacity .3s; }
.band .desc__body::after, .band--pine .desc__body::after { background: linear-gradient(transparent, var(--birch-2)); }
.desc.is-open .desc__body { max-height: 200em; }
.desc.is-open .desc__body::after { opacity: 0; }
.desc__toggle { margin-top: .85rem; font-weight: 800; color: var(--pine); background: none; border: 0; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: .4rem; text-decoration: underline; text-underline-offset: 3px; }
.desc__toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.desc.is-open .desc__toggle svg { transform: rotate(180deg); }

/* sleep cards */
.sleep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.sleep-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); }
.sleep-card__img { position: relative; aspect-ratio: 4 / 3; background: var(--birch-2); }
.sleep-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sleep-card__b { padding: .85rem 1rem 1rem; }
.sleep-card__b h3 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: .1rem; color: var(--ink); }
.sleep-card__b p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ================================================================ BOOKING CARD */
.book-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-l); padding: 1.4rem;
}
@media (min-width: 992px) { .book-card { position: sticky; top: calc(var(--hh) + 18px); } }
.book-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.book-price { font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; color: var(--ink); }
.book-price span { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--ink-soft); }
.book-card__rate { font-size: .88rem; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .3rem; }
.book-card__rate a { color: var(--ink-soft); text-decoration: underline; }

.book-fields { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.book-fields__row { display: grid; grid-template-columns: 1fr 1fr; }
.book-field { padding: .6rem .85rem; text-align: left; background: var(--paper); border: 0; cursor: pointer; font-family: var(--font-body); width: 100%; }
.book-field + .book-field { border-left: 1.5px solid var(--line); }
.book-fields__row + .book-fields__row .book-field { border-top: 1.5px solid var(--line); }
.book-field__lbl { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.book-field__val { display: block; font-size: .95rem; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.book-field.is-set .book-field__val { color: var(--ink); font-weight: 700; }
.book-field:hover { background: var(--birch); }
.book-field select {
  width: 100%; border: 0; background: transparent; font-family: var(--font-body);
  font-weight: 700; font-size: .95rem; color: var(--ink); padding: 0; margin-top: 2px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.book-field select:focus { outline: none; }

.book-card .btn-r { margin-top: 1rem; }
.book-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin: .8rem 0 0; }

.book-lines { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-2); display: grid; gap: .6rem; }
.book-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .95rem; }
.book-line span:first-child { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.book-line--save span { color: var(--fern); font-weight: 800; text-decoration: none; }
.book-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-2); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.book-empty { color: var(--ink-soft); font-size: .9rem; text-align: center; margin: .9rem 0 0; }

/* ================================================================ AMENITIES */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem 1.6rem; }
.amen { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: center; padding: .55rem 0; font-weight: 600; color: var(--ink); }
.amen svg { width: 24px; height: 24px; color: var(--pine); }
.amen.is-off { color: var(--ink-soft); }
.amen.is-off svg { color: var(--ink-soft); opacity: .8; }
.amen.is-off span { text-decoration: line-through; text-decoration-color: rgba(94,103,92,.6); }
.amen-hidden { display: none; }
.amen-hidden.is-shown { display: grid; }

/* ================================================================ CALENDAR */
.cal-wrap { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .cal-wrap { grid-template-columns: 1fr 300px; } }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.cal-head h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin: 0; }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--pine); cursor: pointer; display: grid; place-items: center; transition: .2s var(--ease); }
.cal-nav button:hover:not(:disabled) { border-color: var(--pine); background: rgba(34,69,58,.06); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }

.cal-months { display: grid; grid-template-columns: minmax(0,1fr); gap: 2rem; }
@media (min-width: 620px) { .cal-months { grid-template-columns: 1fr 1fr; } }

.cal-month__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--pine); text-align: center; margin-bottom: .8rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { text-align: center; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; padding-bottom: .5rem; }
.cal-cell {
  position: relative; aspect-ratio: 1 / 1; border: 0; background: transparent;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem; color: var(--ink);
  cursor: pointer; border-radius: 50%; transition: background .15s var(--ease), color .15s var(--ease);
  display: grid; place-items: center;
}
.cal-cell:empty { pointer-events: none; }
.cal-cell.is-available:hover { background: rgba(34,69,58,.1); }
.cal-cell.is-past, .cal-cell.is-booked { color: var(--ink-soft); cursor: not-allowed; }
.cal-cell.is-past { opacity: .4; text-decoration: line-through; }
.cal-cell.is-booked { text-decoration: line-through; opacity: .55; }
.cal-cell.is-in { background: var(--birch-2); border-radius: 0; color: var(--ink); }
.cal-cell.is-start, .cal-cell.is-end { background: var(--pine); color: #fff; border-radius: 50%; z-index: 2; }
.cal-cell.is-start { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cal-cell.is-end { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cal-cell.is-start.is-end { border-radius: 50%; }

.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.cal-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.cal-legend i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.cal-legend .k-open { background: var(--paper); border: 1.5px solid var(--line); }
.cal-legend .k-sel { background: var(--pine); }
.cal-legend .k-booked { background: var(--booked); }

.cal-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow-s); }
.cal-side h3 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; color: var(--ink); margin-bottom: .9rem; }
.cal-side__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.cal-side__row:last-of-type { border-bottom: 0; }
.cal-side__row b { color: var(--ink); font-weight: 800; }
.cal-side__row span { color: var(--ink-soft); }
.cal-side .btn-r { margin-top: 1rem; }
.cal-side__note { font-size: .82rem; color: var(--ink-soft); margin: .9rem 0 0; display: flex; gap: .5rem; align-items: flex-start; }
.cal-side__note svg { width: 16px; height: 16px; color: var(--fern); flex: none; margin-top: 2px; }

/* ================================================================ REVIEWS */
.rev-summary { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(1.5rem, 4vw, 2.75rem); align-items: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 820px) { .rev-summary { grid-template-columns: 250px 1fr; } }
.rev-score { text-align: center; }
.rev-score__big { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 4.2rem); font-weight: 800; color: var(--pine); line-height: 1; }
.rev-score .stars { margin: .5rem 0 .4rem; }
.rev-score__n { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.rev-bars { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
@media (max-width: 520px) { .rev-bars { grid-template-columns: 1fr; } }
.rev-bar { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: .7rem; font-size: .9rem; font-weight: 700; color: var(--ink); }
.rev-bar__track { height: 5px; border-radius: 3px; background: var(--birch-2); overflow: hidden; }
.rev-bar__fill { height: 100%; background: var(--pine); border-radius: 3px; width: 0; transition: width 1s var(--ease); }
.rev-bar__val { color: var(--ink-soft); font-weight: 800; font-variant-numeric: tabular-nums; }

.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.rev-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow-s); }
.rev-card__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.rev-card__av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--birch-2); flex: none; }
.rev-card__av.rev-card__letter {
  display: flex; align-items: center; justify-content: center;
  background: #F6E4D4; color: var(--lantern-deep);
  font-weight: 800; font-size: 1.15rem; line-height: 1;
}
.section-head h2.rev-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; }
.rev-heading__score { display: inline-flex; align-items: center; gap: .35rem; }
.rev-heading .stars svg { width: 30px; height: 30px; }
.rev-heading .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: .6;
}
.rev-card__who b { display: block; font-weight: 800; color: var(--ink); font-size: .98rem; }
.rev-card__who small { color: var(--ink-soft); font-size: .82rem; }
.rev-card__stars { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.rev-card__stars time { color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.rev-card p { margin: 0; color: var(--ink); font-size: .96rem; }
.rev-hidden { display: none; }
.rev-hidden.is-shown { display: block; }
.rev-more-wrap { margin-top: 1.6rem; }

/* ================================================================ HOST */
.host-card { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(1.5rem, 4vw, 2.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-m); }
@media (min-width: 780px) { .host-card { grid-template-columns: 260px 1fr; } }
.host-id { text-align: center; }
.host-id__av { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; background: var(--birch-2); margin: 0 auto .8rem; border: 4px solid var(--paper); box-shadow: var(--shadow-m); }
.host-id h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.host-id__sub { color: var(--ink-soft); font-weight: 700; font-size: .9rem; }
.host-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.3rem 0; padding: 1.1rem 0; border-block: 1px solid var(--line-2); }
.host-stat { text-align: center; }
.host-stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--pine); }
.host-stat small { color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.host-body h3 { font-size: 1.3rem; }
.host-body p { color: var(--ink); }
.host-meta { display: grid; gap: .55rem; margin: 1rem 0 1.3rem; }
.host-meta li { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 600; font-size: .95rem; list-style: none; }
.host-meta svg { width: 20px; height: 20px; color: var(--fern); flex: none; }
.host-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ================================================================ LOCATION */
.loc-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(1.5rem, 4vw, 2.75rem); align-items: start; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1.4fr 1fr; } }
.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--birch-2); box-shadow: var(--shadow-m); border: 1px solid var(--line); }
.map-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.98); }
.map-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, transparent 0 90px, rgba(22,49,39,.18) 200px); }
.map-pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); z-index: 3; }
.map-pin__ring { width: 130px; height: 130px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.85); background: rgba(222,138,60,.16); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.map-pin__dot { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(22,49,39,.5); border: 3px solid #fff; }
.map-pin__dot svg { width: 22px; height: 22px; }
.map-caption { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: var(--paper); border-radius: var(--pill); padding: .5rem 1rem; font-weight: 800; font-size: .84rem; color: var(--pine); box-shadow: var(--shadow-s); display: inline-flex; align-items: center; gap: .45rem; }
.map-caption svg { width: 15px; height: 15px; color: var(--lantern-deep); }

.loc-info h3 { font-size: 1.25rem; }
.nearby { display: grid; gap: .2rem; margin: .5rem 0 1.5rem; }
.nearby li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); list-style: none; font-weight: 600; color: var(--ink); }
.nearby li:last-child { border-bottom: 0; }
.nearby__l { display: flex; align-items: center; gap: .7rem; }
.nearby__l svg { width: 20px; height: 20px; color: var(--pine); flex: none; }
.nearby__d { color: var(--ink-soft); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.getting { display: grid; gap: .7rem; }
.getting li { display: flex; gap: .65rem; align-items: flex-start; list-style: none; color: var(--ink); font-size: .95rem; }
.getting svg { width: 19px; height: 19px; color: var(--fern); flex: none; margin-top: 3px; }

/* ================================================================ FOOTER */
.footer { background: var(--pine); color: #C7D3C9; padding-block: clamp(2.75rem, 6vw, 4rem) 1.5rem; }
.footer a { color: #D7E0D8; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 2rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer .brand { color: #fff; margin-bottom: .7rem; }
.footer .brand__mark { background: var(--honey); color: var(--pine-2); }
.footer__intro p { color: #AFC0B3; font-size: .95rem; max-width: 32ch; }
.footer__social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #D7E0D8; }
.footer__social a:hover { background: var(--honey); color: var(--pine-2); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col li { list-style: none; }
.footer__col a { font-size: .95rem; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; font-size: .87rem; color: #9FB2A4; }
.footer__bottom a { color: #C7D3C9; text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================ MOBILE BOOK BAR */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -22px rgba(22,49,39,.6);
  padding: .75rem var(--gutter); padding-bottom: max(.75rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(120%); transition: transform .3s var(--ease);
}
.bookbar.is-on { transform: translateY(0); }
.bookbar__price b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.bookbar__price span { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.bookbar__price small { display: block; color: var(--ink-soft); font-size: .78rem; font-weight: 700; margin-top: 1px; }
.bookbar .btn-r { flex: none; }
@media (min-width: 992px) { .bookbar { display: none !important; } }

/* ================================================================ LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(19,28,22,.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(94vw, 1200px); max-height: 82vh; border-radius: var(--r); box-shadow: var(--shadow-l); background: var(--pine-2); object-fit: contain; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: clamp(10px, 3vw, 32px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(10px, 3vw, 32px); top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 24px; color: #fff; font-weight: 800; font-size: .95rem; background: rgba(255,255,255,.12); padding: .4rem .9rem; border-radius: var(--pill); }
@media (max-width: 560px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-btn { width: 44px; height: 44px; } }

/* ================================================================ TOAST */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); z-index: 2500;
  background: var(--pine); color: #fff; font-weight: 700; font-size: .92rem;
  padding: .8rem 1.3rem; border-radius: var(--pill); box-shadow: var(--shadow-l);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  display: inline-flex; align-items: center; gap: .55rem; max-width: 90vw;
}
.toast svg { width: 18px; height: 18px; color: var(--honey); flex: none; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (min-width: 992px) { .toast { bottom: 32px; } }

/* ================================================================ REVEAL */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .07s; }
[data-reveal].d2 { transition-delay: .14s; }
[data-reveal].d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gallery__cell img, .cal-cell, .rev-bar__fill { transition: none !important; }
}

/* ================================================================ RESPONSIVE */
@media (max-width: 991px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); z-index: 1300;
    background: var(--paper); flex-direction: column; align-items: stretch; gap: .1rem;
    padding: calc(var(--hh) + 1rem) 1.4rem 2rem; transform: translateX(105%);
    transition: transform .32s var(--ease); box-shadow: var(--shadow-l); overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.08rem; padding: .85rem .6rem; border-bottom: 1px solid var(--line-2); }
  .nav-toggle { display: grid; }
  .header__tools .btn-hide-sm { display: none; }
  body { padding-bottom: 74px; }
}
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: clamp(240px, 62vw, 360px); }
  .gallery__cell:not(:first-child) { display: none; }
  .gallery__cell:first-child { grid-row: auto; }
  .hero__titlebar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .header__tools .save-txt { display: none; }
  .host-stats { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
}

/* one photo fills the mosaic; room cards are links */
.gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--single .gallery__cell:first-child { grid-row: auto; }
a.sleep-card { color: inherit; text-decoration: none; display: block; }
a.sleep-card:hover { border-color: var(--pine); }