/* ============================================================
   Lumière Hotels — "Midnight Boutique" dark design system
   A restyle of the HotelNowDeal platform. Same markup contract,
   fully re-skinned: charcoal canvas · jade + brass accents ·
   Space Grotesk display · frosted glass · glowing CTAs.
   ============================================================ */
:root {
  /* ---- new semantic dark tokens ---- */
  --bg: #0e0f12;            /* page canvas */
  --bg-2: #14161b;          /* elevated section / panel */
  --surface: #171a20;       /* cards */
  --surface-2: #1e222a;     /* inputs / hover */
  --surface-3: #262b34;     /* raised chip */
  --jade: #37a06f;
  --jade-bright: #46c489;
  --jade-glow: rgba(63,178,122,.35);
  --brass: #c9a86a;
  --brass-bright: #e6cd97;
  --text: #f2efe9;          /* primary off-white */

  /* ---- legacy variable names (kept so inline styles in the JS/HTML
          keep working) remapped onto the dark palette ---- */
  --ink: #f2efe9;           /* used as strong text colour on dark */
  --ink-2: #d8d3ca;         /* body / secondary strong text */
  --charcoal: #20242c;
  --cream: #f2efe9;         /* light foreground on dark */
  --paper: #171a20;         /* card / panel surface */
  --sand: #1e222a;          /* subtle raised surface */
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --muted: #8b847a;
  --muted-2: #a9a196;
  --gold: #c9a86a;          /* brass accent (stars, price, focus) */
  --gold-deep: #d8b877;     /* brighter brass so it reads on dark */
  --gold-soft: #e6cd97;
  --green: #3fb27a;         /* success / jade */
  --rose: #e06a6a;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.35);
  --shadow-md: 0 10px 30px rgba(0,0,0,.5), 0 3px 10px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.6), 0 10px 26px rgba(0,0,0,.45);

  --serif: "Space Grotesk", "Inter", system-ui, sans-serif;   /* display */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --maxw: 1200px;
  --nav-h: 76px;

  /* motion — strong custom curves (the built-in CSS easings are too weak) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(63,178,122,.10), transparent 60%),
    radial-gradient(900px 480px at 8% 4%, rgba(201,168,106,.07), transparent 55%);
  background-repeat: no-repeat;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
.serif { font-family: var(--serif); letter-spacing: -0.015em; }
::selection { background: rgba(63,178,122,.32); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--jade-bright); font-weight: 600; margin: 0 0 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: linear-gradient(90deg, var(--jade), var(--brass)); vertical-align: middle; margin-right: 10px; }
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted-2); font-size: 17px; margin: 14px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  transition: transform .16s var(--ease-out), box-shadow .25s var(--ease-out), background .22s ease, color .2s ease, border-color .22s var(--ease-out);
  white-space: nowrap;
}
/* primary CTA — jade glow */
.btn-gold { background: linear-gradient(135deg, var(--jade-bright) 0%, var(--jade) 100%); color: #06130c; box-shadow: 0 8px 26px var(--jade-glow); }
.btn-gold:hover { box-shadow: 0 14px 38px rgba(63,178,122,.5); transform: translateY(-1px); }
/* secondary — brass fill (e.g. "Selected ✓", "Print/save") */
.btn-ink { background: var(--brass); color: #1a1305; box-shadow: 0 6px 18px rgba(201,168,106,.25); }
.btn-ink:hover { background: var(--brass-bright); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.02); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--jade); color: var(--jade-bright); background: rgba(63,178,122,.08); }
.btn-light { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-light:hover { background: var(--surface-3); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 15.5px; }
/* press feedback — instant + tactile; declared last so it wins over the :hover lifts */
.btn:active { transform: scale(0.97); }
@media (hover: none) { .btn-gold:hover, .btn-ink:hover, .btn-light:hover { transform: none; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(14,15,18,.72); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.brand .mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand b { color: var(--brass-bright); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--muted-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: .25s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); filter: saturate(.85) brightness(.7); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.72) 0%, rgba(8,9,11,.55) 40%, rgba(8,9,11,.92) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; width: 100%; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 15ch; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.hero .lead { font-size: clamp(17px, 2vw, 21px); max-width: 52ch; margin: 22px 0 0; color: rgba(255,255,255,.9); font-weight: 300; }
.hero .hero-badge { display:inline-flex; align-items:center; gap:8px; background: rgba(63,178,122,.14); border:1px solid rgba(63,178,122,.34); color: var(--brass-bright); padding:7px 15px; border-radius:999px; font-size:13px; letter-spacing:.05em; backdrop-filter: blur(6px); margin-bottom: 22px; }

/* ---------- search widget ---------- */
.search {
  margin-top: 38px; background: rgba(23,26,32,.86); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 12px; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .9fr auto; gap: 6px; color: var(--text);
  border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.search .field { padding: 12px 16px; border-radius: var(--r-md); position: relative; transition: background .2s; }
.search .field + .field { border-left: 1px solid var(--line); border-radius: 0; }
.search .field:hover { background: rgba(255,255,255,.04); }
.search label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.search input, .search select {
  border: 0; background: transparent; font-family: inherit; font-size: 15.5px; color: var(--text);
  width: 100%; padding: 0; font-weight: 500; outline: none; -webkit-appearance: none; appearance: none;
}
.search select option { background: var(--surface); color: var(--text); }
.search input::-webkit-calendar-picker-indicator { filter: invert(.8); }
.search .field.go { display: flex; align-items: center; justify-content: center; padding: 6px; }
.search .field.go:hover { background: transparent; }
.search .btn { height: 100%; min-height: 56px; }

/* ---------- split hero (home) ---------- */
.hero.hero-split { min-height: auto; display: block; overflow: visible; color: var(--text); }
.hero.hero-split::after { content: none; }
.hero-split .container { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 66px; }
.hero-split .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-split .hero-copy h1 { font-size: clamp(38px, 5vw, 66px); max-width: 16ch; text-shadow: none; color: var(--text); }
.hero-split .hero-copy .lead { color: var(--muted-2); max-width: 46ch; }
.hero-split .hero-figure { position: relative; }
.hero-split .hero-figure::before { content: ""; position: absolute; inset: -6% -4% -10% 6%; background: radial-gradient(60% 60% at 62% 42%, rgba(63,178,122,.28), transparent 70%); filter: blur(34px); z-index: 0; }
.hero-split .hero-photo { position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: var(--r-lg); background-size: cover; background-position: center; background-color: #12151b; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.hero-split .hero-fig-chip { position: absolute; z-index: 2; left: -18px; bottom: 30px; display: flex; align-items: center; gap: 12px; background: rgba(18,20,25,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 13px 18px; box-shadow: var(--shadow-md); }
.hero-split .hfc-score { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--jade-bright); line-height: 1; }
.hero-split .hfc-label { font-size: 11.5px; letter-spacing: .04em; color: var(--muted-2); line-height: 1.25; }
.hero-split .search { margin-top: 46px; }
@media (max-width: 980px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-split .hero-photo { aspect-ratio: 16/10; }
  .hero-split .hero-fig-chip { left: auto; right: 16px; bottom: 16px; }
}

/* ---------- generic grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- hotel card ---------- */
.card {
  background: var(--surface); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(63,178,122,.4); }
.card:active { transform: translateY(-5px) scale(0.992); }
@media (hover: none) { .card:hover { transform: none; } }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg,#1b2029,#0f1319); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .pill {
  position: absolute; top: 12px; left: 12px; background: rgba(8,9,11,.7); color: #fff;
  font-size: 12px; padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.12);
}
.card-media .fav { position:absolute; top:10px; right:10px; width:34px; height:34px; border-radius:50%; background:rgba(23,26,32,.8); border:0; display:flex; align-items:center; justify-content:center; color:var(--muted-2); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-city { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.card h3 { font-size: 22px; margin: 6px 0 8px; }
.card .stars { color: var(--brass); font-size: 13px; letter-spacing: 2px; }
.card .desc { color: var(--muted-2); font-size: 14px; line-height: 1.55; margin: 10px 0 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.price .num { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--text); }
.price .per { font-size: 12.5px; color: var(--muted); }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; }
.rating-badge .score { background: var(--jade); color: #06130c; font-weight: 700; font-size: 13.5px; padding: 4px 9px; border-radius: 7px 7px 7px 0; }
.rating-badge .meta { font-size: 12px; color: var(--muted); line-height: 1.1; }
.rating-badge .meta b { display: block; color: var(--text); font-size: 12.5px; }

/* ---------- city card ---------- */
.city-card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out); }
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.city-card:active { transform: translateY(-5px) scale(0.992); }
@media (hover: none) { .city-card:hover { transform: none; } }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.city-card:hover img { transform: scale(1.07); }
.city-card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.05) 25%, rgba(8,9,11,.9) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.city-card h3 { font-size: 26px; }
.city-card .ov small { letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; color: var(--brass-bright); opacity: .95; }
.city-card .ov .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.85); }

/* ---------- featured / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--r-md); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .ico { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--brass); display: flex; align-items: center; justify-content: center; }
.feature-list h4 { font-size: 19px; margin-bottom: 3px; }
.feature-list p { margin: 0; color: var(--muted-2); font-size: 14.5px; }

/* ---------- stats band ---------- */
.band { background: var(--bg-2); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; padding: 56px 24px; text-align: center; }
.band .stat .n { font-family: var(--serif); font-size: 46px; color: var(--brass-bright); }
.band .stat .l { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

/* ---------- footer ---------- */
.footer { background: #0a0b0d; color: var(--muted-2); padding: 70px 0 34px; border-top: 1px solid var(--line); }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { color: var(--text); font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.footer a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted-2); transition: color .2s; }
.footer a:hover { color: var(--brass-bright); }
.footer .brand { color: var(--text); margin-bottom: 14px; }
.footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- breadcrumb ---------- */
.crumb { font-size: 13.5px; color: var(--muted); padding: 22px 0; display: flex; gap: 8px; align-items: center; }
.crumb a { color: var(--muted-2); }
.crumb a:hover { color: var(--brass-bright); }

/* ---------- listing layout ---------- */
.listing { display: grid; grid-template-columns: 268px 1fr; gap: 38px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 18px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm); }
.filters h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.filters h4:first-child { margin-top: 0; }
.filters .opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.filters .opt input { accent-color: var(--jade); width: 16px; height: 16px; }
.filters .opt .ct { margin-left: auto; font-size: 12px; color: var(--muted); }
.filters input[type=range] { width: 100%; accent-color: var(--jade); }
.listing-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.listing-top .count { color: var(--muted-2); font-size: 14.5px; }
.listing-top .count b { color: var(--text); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; border: 1px solid var(--line-strong); background: var(--surface-2); padding: 10px 38px 10px 16px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--text); }
.select-wrap select option { background: var(--surface); color: var(--text); }
.select-wrap::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--muted-2); transition: .2s; }
.chip:hover { border-color: var(--jade); color: var(--jade-bright); }
.chip.active { background: var(--jade); color: #06130c; border-color: var(--jade); font-weight: 600; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted-2); }

/* ---------- detail page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: var(--r-md); overflow: hidden; height: 460px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter .3s; background: #12151b; }
.gallery img:hover { filter: brightness(1.08); }
.gallery .main { grid-row: 1 / 3; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 46px; align-items: start; padding: 44px 0 90px; }
.detail h1 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 10px; }
.detail .sub { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted-2); font-size: 14.5px; }
.amenity-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 8px 0; }
.amenity-grid .am { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); padding: 9px 0; }
.amenity-grid .am .ico { color: var(--brass); flex: 0 0 22px; }
.prose { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.divider { height: 1px; background: var(--line); margin: 36px 0; }
.room-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.room-row:hover { border-color: rgba(63,178,122,.4); box-shadow: var(--shadow-sm); }
.room-row h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--text); }
.room-row .rd { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ---------- detailed room cards ---------- */
.room-list-detailed { display: flex; flex-direction: column; gap: 16px; }
.room-card {
  display: grid; grid-template-columns: 250px 1fr 190px; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.room-card:hover { box-shadow: var(--shadow-md); }
.room-card.selected { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(63,178,122,.35), var(--shadow-md); }
.room-card-media { background: #12151b; display: flex; flex-direction: column; }
.room-card-media .rc-main { width: 100%; height: 178px; object-fit: cover; }
.rc-thumbs { display: flex; gap: 5px; padding: 6px; background: var(--surface-2); overflow-x: auto; }
.rc-thumbs img { width: 46px; height: 38px; object-fit: cover; border-radius: 5px; cursor: pointer; opacity: .6; border: 2px solid transparent; transition: opacity .15s, border-color .15s; flex: 0 0 auto; }
.rc-thumbs img:hover { opacity: 1; }
.rc-thumbs img.active { opacity: 1; border-color: var(--jade); }
.room-card-main { padding: 18px 20px; min-width: 0; }
.room-card-main h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; margin-bottom: 10px; color: var(--text); }
.room-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rchip { font-size: 11.5px; color: var(--muted-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; white-space: nowrap; }
.room-bed { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; margin-bottom: 8px; }
.room-bed svg { color: var(--brass); flex: 0 0 auto; }
.room-desc { font-size: 14px; color: var(--muted-2); line-height: 1.55; margin: 0 0 12px; }
.room-toggle { background: none; border: 0; color: var(--jade-bright); font-family: inherit; font-size: 13.5px; font-weight: 600; padding: 0; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.room-toggle:hover { text-decoration: underline; }
.room-toggle .chev { transition: transform .2s; display: inline-block; }
.room-toggle.open .chev { transform: rotate(180deg); }
.room-amenities { margin-top: 16px; border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.amen-block { margin-bottom: 16px; }
.amen-block h5 { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 9px; }
.amen-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.amen-item { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; color: var(--ink-2); padding: 2px 0; }
.amen-item svg { color: var(--jade-bright); flex: 0 0 16px; margin-top: 2px; }
.amen-smoking { font-size: 13.5px; color: var(--ink-2); padding-top: 6px; border-top: 1px solid var(--line); }
.amen-info { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; display: flex; flex-direction: column; gap: 10px; }
.amen-inforow { display: grid; grid-template-columns: 132px 1fr; gap: 12px; font-size: 13.5px; }
.amen-inforow .lbl { color: var(--muted); font-weight: 600; }
.amen-inforow .val { color: var(--ink-2); }
@media (max-width: 760px) { .amen-inforow { grid-template-columns: 1fr; gap: 2px; } }
.room-card-cta { border-left: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; text-align: right; background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.room-card-cta .rc-size { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }
.room-card-cta .price .num { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.room-card-cta .room-select { width: 100%; margin-top: 4px; }

@media (max-width: 760px) {
  .room-card { grid-template-columns: 1fr; }
  .room-card-media .rc-main { height: 200px; }
  .room-card-cta { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .room-card-cta .room-select { width: auto; margin-top: 0; }
  .amen-cols { grid-template-columns: 1fr; }
}

/* booking widget (sticky) */
.booking-box { position: sticky; top: calc(var(--nav-h) + 18px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 24px; }
.booking-box .price-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.booking-box .price-head .num { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--text); }
.booking-box .price-head .per { color: var(--muted); font-size: 14px; }
.field-group { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 16px 0; }
.field-group .fr { display: grid; grid-template-columns: 1fr 1fr; }
.field-group .fc { padding: 12px 14px; }
.field-group .fc + .fc { border-left: 1px solid var(--line); }
.field-group .fr + .fr { border-top: 1px solid var(--line); }
.field-group label { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.field-group input, .field-group select { border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 14.5px; font-weight: 500; width: 100%; color: var(--text); -webkit-appearance: none; appearance: none; }
.field-group select option { background: var(--surface); color: var(--text); }
.field-group input::-webkit-calendar-picker-indicator { filter: invert(.8); }
.summary-line { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted-2); padding: 7px 0; }
.summary-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--text); font-weight: 600; font-size: 17px; }
.summary-line.total .v { font-family: var(--serif); font-size: 24px; color: var(--brass-bright); }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.inclusions { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.inclusions span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jade-bright); font-weight: 600; }
.inclusions svg { flex: 0 0 15px; color: var(--jade-bright); }
.inclusions span.cond { color: var(--muted-2); font-weight: 500; }
.inclusions span.cond svg { color: var(--muted); }
.booking-box .inclusions { border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 46px; align-items: start; padding: 30px 0 90px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 22px; margin-bottom: 4px; color: var(--text); }
.panel .step-n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--jade); color: #06130c; font-family: var(--sans); font-size: 13px; font-weight: 700; align-items: center; justify-content: center; margin-right: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12.5px; font-weight: 600; color: var(--muted-2); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 13px 15px; font-family: inherit;
  font-size: 15px; color: var(--text); background: var(--surface-2); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-field select option { background: var(--surface); color: var(--text); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--jade); box-shadow: 0 0 0 3px rgba(63,178,122,.2); background: var(--surface-3); }
.form-field input.err { border-color: var(--rose); }
.pay-card { background: linear-gradient(135deg, var(--surface-2) 0%, var(--charcoal) 100%); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; color: var(--text); margin-bottom: 18px; }
.pay-card .lab { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.stage-note { display: flex; gap: 12px; align-items: flex-start; background: rgba(201,168,106,.08); border: 1px solid rgba(201,168,106,.3); border-radius: var(--r-sm); padding: 14px 16px; font-size: 13.5px; color: var(--brass-bright); margin-bottom: 20px; }
.pay-secure { display: flex; gap: 14px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.pay-secure-ico { flex: 0 0 40px; height: 40px; border-radius: 50%; background: rgba(63,178,122,.14); border: 1px solid rgba(63,178,122,.3); color: var(--jade-bright); display: flex; align-items: center; justify-content: center; }
.pay-secure b { font-size: 15px; color: var(--text); }
.pay-secure p { margin: 5px 0 0; font-size: 13.5px; color: var(--muted-2); line-height: 1.55; }
.card-brands { margin-top: 11px; font-size: 12px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.pay-error { display: none; margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(224,106,106,.12); border: 1px solid rgba(224,106,106,.4); color: #f0a0a0; font-size: 13.5px; }
.summary-card { position: sticky; top: calc(var(--nav-h) + 18px); }
.summary-hotel { display: flex; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.summary-hotel img { width: 84px; height: 84px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 84px; background: #12151b; }

/* ---------- confirmation ---------- */
.confirm-wrap { max-width: 640px; margin: 0 auto; text-align: center; padding: 70px 20px 100px; }
.confirm-check { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--jade-bright), var(--jade)); color: #06130c; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; box-shadow: 0 12px 34px rgba(63,178,122,.4); }
.confirm-ref { display: inline-block; background: var(--surface-2); border: 1px dashed var(--brass); border-radius: var(--r-sm); padding: 12px 24px; font-family: var(--serif); font-size: 24px; letter-spacing: .08em; color: var(--brass-bright); margin: 8px 0 30px; }
.receipt { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); }

/* ---------- toast / misc ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brass); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em; }
.skeleton { background: linear-gradient(90deg,#171a20 25%,#22262f 37%,#171a20 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r-md); }
@keyframes sk { 0%{background-position:100% 0} 100%{background-position:0 0} }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- keyboard focus visibility (a11y) ---------- */
.search .field:focus-within { background: rgba(63,178,122,.1); }
.search input:focus, .search select:focus,
.field-group input:focus, .field-group select:focus { box-shadow: 0 0 0 2px var(--jade); border-radius: var(--r-sm); }
:focus-visible { outline: 2px solid var(--jade-bright); outline-offset: 2px; }

/* ---------- scroll reveal (transform + opacity only → GPU, off main thread) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- nav link underline (unseen detail that compounds) ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav-links a { position: relative; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px;
    background: var(--jade); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease-out);
  }
  .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
}

/* ---------- hero entrance (occasional view → a brief, staggered rise) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-split .hero-copy > *,
  .js .hero-split .hero-figure { opacity: 0; }
  .js .hero-split .hero-copy .hero-badge { animation: heroRise .6s var(--ease-out) .04s forwards; }
  .js .hero-split .hero-copy h1        { animation: heroRise .64s var(--ease-out) .11s forwards; }
  .js .hero-split .hero-copy .lead     { animation: heroRise .64s var(--ease-out) .19s forwards; }
  .js .hero-split .hero-figure         { animation: heroFig  .7s var(--ease-out) .14s forwards; }
  .js .hero-split .search              { opacity: 0; animation: heroRise .64s var(--ease-out) .3s forwards; }
}
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroFig  { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- reduced motion: keep meaning, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card:hover, .city-card:hover { transform: none; }
}

/* ---------- content / legal / FAQ / contact pages ---------- */
.page-head { padding: 30px 0 8px; }
.page-head .lead { color: var(--muted-2); font-size: 18px; max-width: 62ch; margin: 14px 0 0; }
.content-wrap { display: grid; grid-template-columns: 232px 1fr; gap: 54px; align-items: start; padding: 26px 0 90px; }
.content-wrap.narrow { display: block; max-width: 800px; padding: 26px 0 90px; }

/* sticky table of contents (terms / privacy) */
.toc { position: sticky; top: calc(var(--nav-h) + 20px); font-size: 13.5px; }
.toc .toc-head { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted-2); border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--brass-bright); border-color: var(--brass); }

/* screen-reader-only utility */
.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; }

/* legal / article prose (renamed from .legal to avoid clashing with the footer's .legal bar) */
.legal-doc { max-width: 760px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.legal-doc h2 { font-family: var(--serif); font-size: 26px; color: var(--text); margin: 42px 0 12px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-doc h2:first-of-type { margin-top: 4px; }
.legal-doc h3 { font-family: var(--sans); font-size: 16.5px; color: var(--text); margin: 26px 0 8px; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a { color: var(--jade-bright); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--brass-bright); }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc .updated { color: var(--muted); font-size: 13.5px; margin: -4px 0 30px; }
.legal-doc .note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--r-sm); padding: 14px 18px; margin: 0 0 22px; color: var(--muted-2); font-size: 14px; }

/* FAQ accordion — native details/summary (accessible, no JS) */
.faq { max-width: 800px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: border-color .2s var(--ease-out); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: 600; font-size: 15.5px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--jade-bright); transition: transform .25s var(--ease-out); line-height: 1; flex: 0 0 auto; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brass-bright); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted-2); font-size: 14.5px; line-height: 1.7; }
.faq-item .faq-a p { margin: 0 0 10px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a a { color: var(--jade-bright); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 46px; align-items: start; padding: 26px 0 90px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
.info-card + .info-card { margin-top: 18px; }
.info-card h4 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.info-card p { color: var(--muted-2); font-size: 14.5px; line-height: 1.6; margin: 0; }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.info-row:first-of-type { border-top: 0; padding-top: 2px; }
.info-row .ico { color: var(--brass); flex: 0 0 20px; margin-top: 1px; }
.info-row b { color: var(--text); font-weight: 600; display: block; font-size: 14px; }
.info-row a, .info-row span { color: var(--muted-2); font-size: 14px; }
.info-row a { color: var(--jade-bright); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; background: rgba(63,178,122,.1); border: 1px solid rgba(63,178,122,.35); border-radius: var(--r-md); padding: 18px 20px; color: var(--jade-bright); font-size: 14.5px; margin-bottom: 18px; }

@media (max-width: 860px) {
  .content-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: rgba(14,15,18,.97); backdrop-filter: blur(16px); padding: 18px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .search { grid-template-columns: 1fr 1fr; }
  .search .field + .field { border-left: 0; }
  .search .field.go { grid-column: 1 / -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .split-media { order: -1; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: relative; top: 0; }
  .detail-grid, .checkout-grid { grid-template-columns: 1fr; gap: 30px; }
  .booking-box, .summary-card { position: relative; top: 0; }
  .band .container { grid-template-columns: repeat(2,1fr); gap: 36px 20px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; height: 320px; }
  .gallery .main { grid-column: 1 / 3; grid-row: 1; }
  .form-row { grid-template-columns: 1fr; }
  .band .container { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}
