/* ==========================================================================
   Hotel Sugar Stars Inn - Design System
   --------------------------------------------------------------------------
   Palette is EXTRACTED from the property, not invented:
     - Deep green  -> the 2026 "Green Mama" cafe build (neon, checkerboard, rattan)
     - Warm paper  -> room cove-lighting and wall tone
     - Marigold    -> Ganga aarti flame + Punjab Di Truck livery
   Accent lock: marigold is the ONLY accent on the site.
   Radius rule (documented, applied everywhere):
     - media + containers = 6px
     - interactive controls (button, input, chip) = pill (999px)
   Theme: light, locked. Dark tokens provided for prefers-color-scheme.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* surfaces */
  --paper:        #faf9f6;
  --paper-2:      #f1efe9;
  --paper-3:      #e7e4dc;
  --ink:          #12241e;   /* deep river green-black */
  --ink-2:        #1c3a30;
  --ink-3:        #2b5245;

  /* text */
  --text:         #12241e;
  --text-muted:   #4e6259;
  --text-faint:   #6f8479;
  --text-on-dark: #f2f1ea;
  --text-on-dark-muted: #b7c6bd;

  /* brand */
  --green:        #1e4034;
  --green-hover:  #16302742;
  --accent:       #b85a0d;   /* marigold, AA on white */
  --accent-bright:#e08a2b;   /* same ramp, for dark surfaces only */
  --accent-wash:  #fbf1e4;

  --line:         #dedbd2;
  --line-strong:  #c6c2b6;
  --line-on-dark: rgba(242, 241, 234, .18);

  /* type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Figtree", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* radius */
  --r-media: 6px;
  --r-ctrl:  999px;

  /* layout */
  --shell: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  /* elevation - tinted to the background hue, never pure black */
  --shadow-sm: 0 1px 2px rgba(18, 36, 30, .06);
  --shadow-md: 0 12px 32px -12px rgba(18, 36, 30, .18);
  --shadow-lg: 0 32px 64px -24px rgba(18, 36, 30, .26);

  /* motion - MOTION_INTENSITY 5 */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .5s;

  /* z-scale, documented - no arbitrary spam */
  --z-base: 1;
  --z-sticky: 100;
  --z-nav: 200;
  --z-overlay: 300;
  --z-modal: 400;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #101c18;
    --paper-2:    #16261f;
    --paper-3:    #1d3128;
    --text:       #ecebe3;
    --text-muted: #a9bdb2;
    --text-faint: #8ba396;
    --green:      #d8e6dc;
    --accent:     #e08a2b;
    --accent-wash:#231a10;
    --line:       rgba(236, 235, 227, .14);
    --line-strong:rgba(236, 235, 227, .26);
    --shadow-md:  0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg:  0 32px 64px -24px rgba(0, 0, 0, .7);
  }
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

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

.skip-link {
  position: absolute; top: -100px; left: var(--gutter);
  background: var(--green); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--r-ctrl);
  z-index: var(--z-modal); transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.d1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.d2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
.d3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); letter-spacing: -.02em; }
.d4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -.015em; }

/* Emphasis inside display type: weight + colour of the SAME family.
   Bricolage Grotesque has no true italic (axes are opsz/wdth/wght), so italic
   here would render as a synthesised oblique. Weight 800 is a real master. */
.em {
  font-weight: 800;
  color: var(--accent);
  line-height: 1.12;
  padding-bottom: .06em;
  display: inline-block;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 58ch;
}
.body-copy { color: var(--text-muted); max-width: 65ch; }
.body-copy + .body-copy { margin-top: 1.1em; }

/* Eyebrow - budget is ceil(sections / 3) per page. Do not add more. */
.eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- 4. Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-wide { max-width: 1600px; }

section { position: relative; }
.sec      { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.sec-tight{ padding-block: clamp(3rem, 5vw, 4.5rem); }

.sec-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .lede { margin-top: 1.1rem; }

.stack-sm > * + * { margin-top: .75rem; }
.stack    > * + * { margin-top: 1.5rem; }
.stack-lg > * + * { margin-top: 2.5rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--r-ctrl);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.005em;
  white-space: nowrap;          /* CTA labels never wrap */
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .12s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* solid green on paper: contrast ~11:1 with white text */
.btn-primary { background: var(--green); color: #fdfdfb; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }
@media (prefers-color-scheme: dark) {
  .btn-primary { background: #d8e6dc; color: #12241e; }
  .btn-primary:hover { background: #fff; }
}

.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); background: var(--paper-2); }

/* ghost over photography - carries its own scrim + stroke so text stays legible */
.btn-ghost-media {
  background: rgba(12, 24, 20, .28);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.btn-ghost-media:hover { background: rgba(12, 24, 20, .5); border-color: #fff; }
@media (prefers-reduced-transparency: reduce) {
  .btn-ghost-media { background: rgba(12, 24, 20, .82); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* text link with animated rule */
.link-rule {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--text);
  padding-bottom: 2px; position: relative;
}
.link-rule::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 100%; background: var(--accent);
  transform-origin: right; transform: scaleX(1);
  transition: transform .4s var(--ease);
}
.link-rule:hover::after { transform-origin: left; transform: scaleX(0); }
.link-rule svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-rule:hover svg { transform: translateX(3px); }

/* ---------- 6. Navigation (single line, <= 76px desktop) ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }

/* transparent over hero until scrolled */
.nav.is-over-hero {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav.is-over-hero .nav-link,
.nav.is-over-hero .nav-brand-name,
.nav.is-over-hero .nav-toggle { color: #fff; }
.nav.is-over-hero .nav-brand-mark { filter: brightness(0) invert(1); }

.nav-inner {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
@media (max-width: 900px) { .nav-inner { height: 64px; } }

.nav-brand { display: flex; align-items: center; gap: .65rem; flex: none; }
.nav-brand-mark { height: 38px; width: auto; }
.nav-brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -.02em; line-height: 1.1;
}
.nav-brand-name span { display: block; font-family: var(--font-body); font-size: .62rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); margin-top: 1px; }
.nav.is-over-hero .nav-brand-name span { color: rgba(255,255,255,.75); }

.nav-menu { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.75rem); }
.nav-link {
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
  position: relative; padding-block: .4rem; white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav.is-over-hero .nav-link:hover { color: #fff; }

/* dropdown: opens on hover AND focus-within, so it works from the keyboard
   with no JS. Escape-to-close is handled in app.js. */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: .28rem; }
.nav-item > .nav-link .ph { font-size: .8em; transition: transform .25s var(--ease); }
.nav-item:hover > .nav-link .ph,
.nav-item:focus-within > .nav-link .ph { transform: rotate(180deg); }

.nav-sub {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 6px);
  min-width: 15rem; padding: .45rem;
  display: grid; gap: 2px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
/* bridges the 10px gap so the panel does not close while the pointer travels */
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-item.is-closed > .nav-sub { opacity: 0; visibility: hidden; pointer-events: none; }

.nav-sub a {
  display: block; padding: .6rem .75rem;
  border-radius: calc(var(--r-media) - 1px);
  font-size: .9rem; font-weight: 600; color: var(--text);
  transition: background-color .2s var(--ease);
}
.nav-sub a span { display: block; font-weight: 400; font-size: .78rem; color: var(--text-faint); margin-top: .1rem; }
.nav-sub a:hover { background: var(--paper-2); }
/* the panel is always a light surface, so keep its text dark over the hero */
.nav.is-over-hero .nav-sub a { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .nav-sub { transition: visibility .01s; }
}

/* drawer: same items, nested and always visible (no accordion to miss) */
.nav-drawer-sub { display: grid; padding: .35rem 0 .6rem 1rem; border-bottom: 1px solid var(--line); }
.nav-drawer-sub a {
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  color: var(--text-muted); padding-block: .45rem; border-bottom: 0;
}
.nav-drawer-sub a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: .65rem; flex: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--text); }

@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-nav-book { display: none; }
}

/* mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--paper);
  padding: 1.5rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateY(0); visibility: visible; }
.nav-drawer-head { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.nav-drawer-menu { margin-top: 2rem; display: flex; flex-direction: column; }
.nav-drawer-menu a {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600;
  letter-spacing: -.03em; padding-block: .55rem;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
@media (prefers-reduced-motion: reduce) {
  .nav-drawer { transition: visibility .01s; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  margin-top: -76px;      /* nav overlays hero */
  padding-top: 76px;
  isolation: isolate;
  overflow: hidden;
}
@media (max-width: 900px) { .hero { margin-top: -64px; padding-top: 64px; } }

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* top scrim: keeps the transparent nav legible over bright ceilings */
    linear-gradient(to bottom, rgba(9, 20, 16, .62) 0%, rgba(9, 20, 16, .28) 12%, transparent 26%),
    /* bottom scrim: carries the headline, subtext and CTAs */
    linear-gradient(to top, rgba(9, 20, 16, .9) 0%, rgba(9, 20, 16, .62) 30%, rgba(9, 20, 16, .16) 58%, transparent 78%);
}

.hero-body {
  width: 100%;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3.5rem; }
}

.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,.9); max-width: 44ch; margin-top: 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* rating block sits in hero as a value signal, not a text element */
.hero-score {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--r-media);
  background: rgba(12, 24, 20, .34);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  max-width: 22rem;
}
@media (prefers-reduced-transparency: reduce) {
  .hero-score { background: rgba(12, 24, 20, .86); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.hero-score-num {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 600;
  line-height: 1; letter-spacing: -.03em; color: #fff;
}
.hero-score-txt { font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.82); }
.hero-score-txt strong { display: block; color: #fff; font-size: .92rem; }

/* ---------- 8. Booking bar ---------- */
.book-bar-wrap { position: relative; z-index: var(--z-sticky); margin-top: -2.75rem; }
.book-bar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: .9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .book-bar { grid-template-columns: repeat(2, 1fr) auto; align-items: end; } }
@media (min-width: 1060px) { .book-bar { grid-template-columns: repeat(4, minmax(0,1fr)) auto; padding: 1.25rem 1.5rem; } }

.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-faint);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .7rem .95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctrl);
  background: var(--paper);
  color: var(--text);
  font-size: .92rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { border-radius: 14px; resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); opacity: 1; }
.field input:hover, .field select:hover { border-color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}
.field-help { font-size: .78rem; color: var(--text-muted); }
.field-error { font-size: .78rem; color: #a3331b; font-weight: 500; }
@media (prefers-color-scheme: dark) { .field-error { color: #f0947e; } }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f8479' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1rem;
  padding-right: 2.4rem; }
.book-bar .btn { width: 100%; }
@media (min-width: 760px) { .book-bar .btn { width: auto; } }

/* ---------- 9. OTA rating strip (logo wall - logos only, plus real scores) ---------- */
.ota {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 860px) { .ota { grid-template-columns: repeat(4, 1fr); } }
.ota-item {
  background: var(--paper);
  padding: 1.75rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-align: center;
  transition: background-color .3s var(--ease);
}
.ota-item:hover { background: var(--paper-2); }
.ota-logo { height: 26px; width: auto; object-fit: contain; }
.ota-score {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: -.03em; line-height: 1;
}
.ota-score sub { font-size: .58em; font-weight: 500; color: var(--text-faint); vertical-align: baseline; }

/* ---------- 10. Cards / media ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--paper-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-zoom img { transition: transform .8s var(--ease); }
a:hover .media-zoom img, .card:hover .media-zoom img { transform: scale(1.045); }

.ar-square  { aspect-ratio: 1 / 1; }
.ar-photo   { aspect-ratio: 4 / 3; }
.ar-wide    { aspect-ratio: 16 / 10; }
.ar-cinema  { aspect-ratio: 21 / 9; }
.ar-portrait{ aspect-ratio: 3 / 4; }
.ar-tall    { aspect-ratio: 2 / 3; }

.card { display: block; }
.card-body { padding-top: 1.15rem; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.card-meta { font-size: .85rem; color: var(--text-faint); margin-top: .3rem; }
.card-text { font-size: .93rem; color: var(--text-muted); margin-top: .6rem; }

/* ---------- 11. Rooms (asymmetric: 1 feature + 2 stacked, exactly 3 cells) ---------- */
.rooms-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 900px) {
  .rooms-grid { grid-template-columns: 1.32fr 1fr; grid-template-rows: auto auto; }
  .rooms-grid > :first-child { grid-row: span 2; }
}
.room-card {
  position: relative; overflow: hidden; border-radius: var(--r-media);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 20rem; isolation: isolate; color: #fff;
  padding: clamp(1.35rem, 2.5vw, 2rem);
}
.rooms-grid > :first-child.room-card { min-height: 30rem; }
.room-card-media { position: absolute; inset: 0; z-index: -2; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.room-card:hover .room-card-media img { transform: scale(1.05); }
.room-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9,20,16,.9) 0%, rgba(9,20,16,.5) 40%, rgba(9,20,16,.05) 78%);
}
.room-card h3 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.room-specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .02em;
  padding: .34rem .75rem; border-radius: var(--r-ctrl);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chip svg { width: .95em; height: .95em; }
.chip-light {
  background: var(--paper-2); border-color: var(--line); color: var(--text-muted);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.room-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.room-price { font-size: .82rem; color: rgba(255,255,255,.82); }
.room-price b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }

/* ---------- 11b. Room detail blocks (rooms page) ---------- */
.rooms-detail { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.room-detail { scroll-margin-top: 6rem; }

/* image strip: one lead image plus two supporting, never a plain 3-up */
.room-detail-media { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .room-detail-media { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr); }
  .room-detail-media > :first-child { grid-row: span 2; }
}

.room-detail-body { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 1.75rem; }
@media (min-width: 900px) { .room-detail-body { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); } }

.room-detail-side {
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  padding: 1.35rem;
  background: var(--paper);
  align-self: start;
  box-shadow: var(--shadow-sm);
}
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-block: .6rem;
  font-size: .92rem; color: var(--text-muted);
}
/* one hairline between rows, never top and bottom on every row */
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row b { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); letter-spacing: -.015em; }

/* ---------- 12. Editorial split (about) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-40-60 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split-60-40 { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .split-reverse > :first-child { order: 2; }
}

/* overlapping image pair */
.img-pair { position: relative; padding-bottom: 3.5rem; padding-right: 3.5rem; }
.img-pair .media:first-child { border-radius: var(--r-media); }
.img-pair .media:last-child {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border: 6px solid var(--paper); border-radius: calc(var(--r-media) + 4px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) { .img-pair { padding-bottom: 2.5rem; padding-right: 2rem; } }

/* ---------- 13. Stats (no card boxes, hairline separated) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
@media (min-width: 880px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: 1.5rem 1.25rem; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--green);
}
@media (prefers-color-scheme: dark) { .stat-num { color: var(--text); } }
.stat-lab { font-size: .82rem; color: var(--text-muted); margin-top: .5rem; line-height: 1.4; }

/* ---------- 14. Full-bleed media band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  padding-block: clamp(5rem, 11vw, 9rem);
}
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(9,20,16,.94) 0%, rgba(9,20,16,.8) 42%, rgba(9,20,16,.45) 100%);
}
.band h2 { color: #fff; }
.band .lede { color: rgba(255,255,255,.86); }
.band-inner { max-width: 34rem; }

/* Solid variant: used where no source photo is large enough to sit behind
   full-bleed type without visible upscaling. Carries its own image row. */
.band-solid { background: var(--ink); }
.band-solid::after { display: none; }
.band-row { display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 820px) { .band-row { grid-template-columns: repeat(3, 1fr); } }
.band-cap { margin-top: .85rem; font-size: .9rem; color: rgba(255,255,255,.72); }
.band-cap b { display: block; color: #fff; font-weight: 600; font-size: .98rem; margin-bottom: .15rem; }

/* ---------- 15. Amenity clusters (grouped, not a 16-row list) ---------- */
.cluster-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .cluster-grid { grid-template-columns: repeat(3, 1fr); } }
.cluster { border-top: 2px solid var(--text); padding-top: 1.35rem; }
.cluster-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.cluster-list { margin-top: 1.15rem; display: grid; gap: 1.1rem; }
.amenity { display: flex; gap: .85rem; align-items: flex-start; }
.amenity-icon {
  flex: none; width: 2.1rem; height: 2.1rem; border-radius: var(--r-ctrl);
  display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent);
}
.amenity-icon svg { width: 1.15rem; height: 1.15rem; }
.amenity-name { font-weight: 600; font-size: .95rem; }
.amenity-desc { font-size: .87rem; color: var(--text-muted); margin-top: .18rem; line-height: 1.5; }

/* ---------- 16. Horizontal scroll rail (attractions) ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 20rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  /* bleed to the viewport edge so the rail reads as scrollable */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { height: 5px; }
.rail::-webkit-scrollbar-track { background: var(--line); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn {
  width: 2.75rem; height: 2.75rem; border-radius: var(--r-ctrl);
  border: 1px solid var(--line-strong); background: var(--paper);
  display: grid; place-items: center; cursor: pointer; color: var(--text);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.rail-btn:hover:not(:disabled) { background: var(--text); color: var(--paper); border-color: var(--text); }
.rail-btn:disabled { opacity: .35; cursor: not-allowed; }
.rail-btn svg { width: 1.15rem; height: 1.15rem; }

.place-dist {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; color: var(--accent);
}
.place-dist svg { width: .95em; height: .95em; }

/* ---------- 17. Masonry gallery ---------- */
.masonry { columns: 2; column-gap: clamp(.75rem, 1.6vw, 1.15rem); }
@media (min-width: 760px)  { .masonry { columns: 3; } }
@media (min-width: 1180px) { .masonry { columns: 4; } }
.masonry > * { break-inside: avoid; margin-bottom: clamp(.75rem, 1.6vw, 1.15rem); }

/* ---------- 17b. Guest book (offset portrait grid) ----------
   Uniform portrait crops on a staggered baseline. Deliberately unlike the
   masonry above it, which mixes aspect ratios inside a contained column flow. */
.guest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.75rem, 1.8vw, 1.5rem);
}
@media (min-width: 760px) { .guest-grid { grid-template-columns: repeat(3, 1fr); } }

/* the middle column drops, so the wall reads as hand-pinned rather than ruled */
@media (min-width: 760px) {
  .guest-grid > :nth-child(3n + 2) { transform: translateY(clamp(1.5rem, 3.5vw, 3rem)); }
}
/* square: the source photos are a mix of landscape and portrait, and 1:1 is the
   only ratio that crops both by roughly the same amount without losing faces */
.guest-grid .media { aspect-ratio: 1 / 1; }
.guest-grid img { object-position: center 42%; }
.guest-grid img { transition: transform .8s var(--ease), filter .5s var(--ease); }
.guest-grid .media:hover img { transform: scale(1.05); }

/* ---------- 17c. Booking.com score panel ---------- */
.score-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--r-media);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.score-hero-top {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
@media (min-width: 820px) { .score-hero-top { grid-template-columns: auto 1px 1fr; } }

/* the four platforms sit inside the panel, so the whole trust story is one unit */
.score-hero-platforms {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 760px) { .score-hero-platforms { grid-template-columns: repeat(4, 1fr); } }
.score-plat { display: flex; align-items: center; gap: .7rem; }
.score-plat img {
  height: 30px; width: auto; flex: none;
  background: #fff; border-radius: 4px; padding: 3px 5px;
}
.score-plat b {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: -.02em; color: #fff; line-height: 1;
}
.score-plat span { display: block; font-size: .72rem; color: var(--text-on-dark-muted); margin-top: .18rem; }

.score-hero-num {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .9;
  color: #fff;
}
.score-hero-num sub {
  font-size: .26em; font-weight: 500; vertical-align: baseline;
  color: var(--text-on-dark-muted); letter-spacing: 0; margin-left: .12em;
}
.score-hero-src {
  display: flex; align-items: center; gap: .55rem;
  margin-top: .9rem; font-size: .85rem; color: var(--text-on-dark-muted);
}
.score-hero-src img {
  height: 22px; width: auto; border-radius: 3px; background: #fff; padding: 2px 4px;
}
.score-hero-rule { background: var(--line-on-dark); }
@media (max-width: 819px) { .score-hero-rule { height: 1px; width: 100%; } }

.score-hero h2 { color: #fff; }
.score-hero p { color: var(--text-on-dark-muted); margin-top: .85rem; max-width: 46ch; }
.score-hero-count {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.15rem; padding: .4rem .85rem;
  border: 1px solid var(--line-on-dark); border-radius: var(--r-ctrl);
  font-size: .82rem; font-weight: 600; color: #fff;
}
.score-hero-count .ph { color: var(--accent-bright); }

/* ---------- 17d. FAQ (definition-list layout) ----------
   Plain HTML, no accordion: the answers must be crawlable and quotable by
   search engines and AI assistants without a click. No FAQPage schema is
   emitted (Google restricted FAQ rich results to gov/health in Aug 2023). */
.faq-grid { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
@media (min-width: 860px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }

.faq-item { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.faq-q {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.faq-a { margin-top: .7rem; color: var(--text-muted); font-size: .95rem; line-height: 1.65; }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq-a + .faq-a { margin-top: .6rem; }

/* ---------- 18. Quote ---------- */
.quote-grid { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
  display: flex; flex-direction: column; height: 100%;
}
.quote-stars { display: flex; gap: .12rem; color: var(--accent); margin-bottom: .9rem; }
.quote-stars svg { width: .95rem; height: .95rem; }
.quote-body { font-size: 1.02rem; line-height: 1.55; color: var(--text); }
.quote-attr { margin-top: auto; padding-top: 1.15rem; font-size: .85rem; color: var(--text-faint); }
.quote-attr b { display: block; color: var(--text); font-size: .92rem; font-weight: 600; }
/* where the quote came from, so every claim is traceable */
.quote-src {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .6rem; font-size: .76rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
}
.quote-src .ph { font-size: .95em; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--ink); color: var(--text-on-dark); padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.footer a { color: var(--text-on-dark-muted); transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 780px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer h4 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-muted);
  margin-bottom: 1.15rem;
}
.footer-links { display: grid; gap: .6rem; font-size: .93rem; }
.footer-brand-mark { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-on-dark);
  padding-block: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: .84rem; color: var(--text-on-dark-muted);
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 2.35rem; height: 2.35rem; border-radius: var(--r-ctrl);
  border: 1px solid var(--line-on-dark);
  display: grid; place-items: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.social svg { width: 1.1rem; height: 1.1rem; }

/* ---------- 20. Page header (subpages) ---------- */
.page-head {
  position: relative; isolation: isolate; color: #fff;
  margin-top: -76px; padding-top: calc(76px + clamp(5rem, 10vw, 8rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
@media (max-width: 900px) { .page-head { margin-top: -64px; padding-top: calc(64px + 5rem); } }
.page-head-media { position: absolute; inset: 0; z-index: -2; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9,20,16,.88), rgba(9,20,16,.55) 55%, rgba(9,20,16,.5));
}
.page-head h1 { color: #fff; }
.page-head .lede { color: rgba(255,255,255,.88); margin-top: 1rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .84rem; color: rgba(255,255,255,.72); margin-bottom: 1.1rem; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: .85rem; height: .85rem; opacity: .6; }

/* ---------- 21. Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: var(--z-sticky);
  width: 3.35rem; height: 3.35rem; border-radius: var(--r-ctrl);
  background: #1f8a4c; color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.wa-fab:active { transform: translateY(0) scale(.96); }
.wa-fab svg { width: 1.6rem; height: 1.6rem; }

/* ---------- 22. Notice / empty / error states ---------- */
.notice {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-media);
  padding: 1.5rem;
  background: var(--paper-2);
  color: var(--text-muted);
  font-size: .92rem;
}
.notice b { color: var(--text); display: block; margin-bottom: .35rem; font-size: .95rem; }
.form-status { font-size: .92rem; padding: .9rem 1.1rem; border-radius: var(--r-media); display: none; }
.form-status.is-visible { display: block; }
.form-status[data-state="ok"]   { background: #e8f1ea; color: #1c4a30; }
.form-status[data-state="err"]  { background: #fbeae6; color: #8f2d16; }
@media (prefers-color-scheme: dark) {
  .form-status[data-state="ok"]  { background: #163024; color: #b7ddc4; }
  .form-status[data-state="err"] { background: #3a1d15; color: #f3ac96; }
}

.skeleton {
  background: linear-gradient(100deg, var(--paper-2) 30%, var(--paper-3) 50%, var(--paper-2) 70%);
  background-size: 220% 100%;
  border-radius: var(--r-media);
}
@media (prefers-reduced-motion: no-preference) {
  .skeleton { animation: shimmer 1.6s linear infinite; }
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- 23. Scroll reveal (IntersectionObserver driven) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}
/* no-JS and reduced-motion both fall through to fully visible */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- 24. Utilities ---------- */
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-sm { margin-top: 1rem; } .mt-md { margin-top: 2rem; } .mt-lg { margin-top: 3rem; }
.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: revert; } }
.divider { height: 1px; background: var(--line); border: 0; }
