/* ==========================================================================
   The Chronicles Hotel, Udaipur — site stylesheet
   Palette drawn from the building itself: lime-plaster ivory walls, the
   Mewar-blue stencils on the ceilings, the sandstone-ochre facade.
   ========================================================================== */

:root {
  --ivory: #f5efe4;
  --paper: #fbf8f2;
  --sand: #ebe1cf;
  --line: #ddd1bd;
  --ink: #1f1c18;
  --ink-2: #57504a;
  --ink-3: #7a7168;
  --indigo: #1c2f4a;
  --indigo-2: #2c4a72;
  --indigo-ink: #e9e3d6;
  --accent: #c8923a;
  --accent-deep: #9a6a1f;

  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --t-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --t-3xl: clamp(2.375rem, 1.5rem + 3.4vw, 4.25rem);
  --t-hero: clamp(2.625rem, 1.4rem + 4.6vw, 5.5rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(64px, 5vw + 40px, 128px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;

  --r-1: 3px; --r-2: 8px; --r-3: 14px;
  --shadow-1: 0 1px 2px rgb(31 28 24 / .06), 0 2px 8px rgb(31 28 24 / .05);
  --shadow-2: 0 2px 6px rgb(31 28 24 / .07), 0 16px 40px -12px rgb(31 28 24 / .18);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms; --dur-2: 280ms; --dur-3: 700ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 var(--t-base)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--r-1); }

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: calc(var(--section) * .6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 var(--s-4);
  font: 600 var(--t-xs)/1.2 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent); }

.h-display { font-size: var(--t-3xl); }
.h-2 { font-size: var(--t-2xl); }
.h-3 { font-size: var(--t-xl); }
.lead { font-size: var(--t-lg); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: var(--t-2xl); margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: var(--t-xl); margin: 1.4em 0 .4em; color: var(--ink); }
.prose ul { padding-left: 1.1em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent-deep); }
.prose a { color: var(--indigo-2); }
em.serif { font-family: var(--f-display); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: var(--r-1);
  font: 600 var(--t-sm)/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:hover { --bg: #000; }
.btn:active { transform: translateY(1px); }
.btn--accent { --bg: var(--accent); --fg: var(--ink); }
.btn--accent:hover { --bg: #d9a24a; }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgb(255 255 255 / .55); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--accent); padding-bottom: 3px;
}
.link-arrow::after { content: "→"; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--indigo); color: var(--indigo-ink); font-size: var(--t-xs); }
.topbar__in { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: 8px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: var(--s-5); }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(245 239 228 / .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(31 28 24 / .4); }
.site-header__in { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.brand { flex: 0 0 auto; display: block; width: clamp(190px, 18vw, 250px); }
.brand img { width: 100%; height: auto; }
.brand__light { display: none; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav__list a {
  position: relative; display: block; padding: 8px 0;
  font-size: var(--t-sm); font-weight: 500; text-decoration: none; color: var(--ink);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--accent-deep); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }
.site-header__cta { min-height: 42px; padding: 10px 18px; }
.burger { display: none; }

/* Crumbs */
.crumbs { padding-top: var(--s-5); font-size: var(--t-xs); color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; min-height: min(88svh, 860px); display: grid; align-items: end; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: hero-zoom 14s var(--ease-out) both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(12 20 33 / .62) 0%, rgb(12 20 33 / .28) 45%, rgb(12 20 33 / 0) 75%),
    linear-gradient(180deg, rgb(12 20 33 / .1) 0%, rgb(12 20 33 / 0) 35%, rgb(12 20 33 / .7) 100%);
}
.hero__in { padding-block: var(--s-9) var(--s-8); }
.hero__kicker { font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #f2d7a8; margin-bottom: var(--s-5); }
.hero h1 { font-size: var(--t-hero); max-width: 15ch; line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: #f2d7a8; }
.hero__sub { max-width: 52ch; margin: var(--s-5) 0 var(--s-6); font-size: var(--t-lg); color: rgb(255 255 255 / .88); }
.hero__facts {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--s-6);
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / .25);
  list-style: none; font-size: var(--t-sm); color: rgb(255 255 255 / .8);
}
.hero__facts strong { display: block; font: 400 var(--t-xl)/1.1 var(--f-display); color: #fff; }

@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.rise { animation: rise var(--dur-3) var(--ease-out) both; }
.rise-2 { animation-delay: 120ms; } .rise-3 { animation-delay: 240ms; } .rise-4 { animation-delay: 360ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Inner page intro ---------- */
.intro { padding-block: var(--s-7) var(--section); }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.intro h1 { font-size: var(--t-3xl); margin-bottom: var(--s-5); }
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-2); }
.intro__meta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); list-style: none; font-size: var(--t-sm); color: var(--ink-2); }
.intro__meta strong { display: block; font: 400 var(--t-xl)/1.1 var(--f-display); color: var(--ink); }

/* ---------- Split editorial block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: 1.2fr 1fr; }
.split__media img { width: 100%; border-radius: var(--r-2); object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__stack { position: relative; }
.split__stack .split__inset {
  position: absolute; width: 46%; right: -6%; bottom: -10%;
  border: 6px solid var(--ivory); border-radius: var(--r-2); box-shadow: var(--shadow-2);
}
.split__stack .split__inset img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.section--paper .split__stack .split__inset { border-color: var(--paper); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.facts dt, .facts strong { display: block; font: 400 var(--t-xl)/1.1 var(--f-display); color: var(--ink); }
.facts dd { margin: 0; }
.facts span { font-size: var(--t-sm); color: var(--ink-3); }

/* ---------- Section heads ---------- */
.head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); margin-bottom: var(--s-7); }
.head__text { max-width: 640px; }
.head__text p { margin: var(--s-4) 0 0; color: var(--ink-2); }

/* ---------- Room cards ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.room-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-2); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.room-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.room-card__media { overflow: hidden; }
.room-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 900ms var(--ease-out); }
.room-card:hover .room-card__media img { transform: scale(1.04); }
.room-card__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-6); flex: 1; }
.room-card h3 { font-size: var(--t-xl); }
.room-card h3 a { text-decoration: none; }
.room-card h3 a::after { content: ""; position: absolute; inset: 0; }
.room-card { position: relative; }
.room-card p { color: var(--ink-2); font-size: var(--t-sm); margin: 0; }
.room-card__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; font-size: var(--t-xs); color: var(--ink-3); letter-spacing: .02em; }
.room-card__foot { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.price { font-size: var(--t-xs); color: var(--ink-3); }
.price strong { font: 400 var(--t-xl)/1 var(--f-display); color: var(--ink); margin: 0 2px; }
.room-card__go { font-size: var(--t-sm); font-weight: 600; color: var(--accent-deep); }

/* Rooms list (rooms page) */
.room-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: var(--s-8); border-top: 1px solid var(--line); }
.room-row:first-child { border-top: 0; padding-top: 0; }
.room-row:nth-child(even) .room-row__media { order: 2; }
.room-row__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-2); }
.room-row h2 { font-size: var(--t-2xl); margin-bottom: var(--s-4); }
.room-row__specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--s-5); margin: var(--s-5) 0; list-style: none; font-size: var(--t-sm); color: var(--ink-3); }
.room-row__specs strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Dark (indigo) feature ---------- */
.dark { background: var(--indigo); color: var(--indigo-ink); }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: rgb(233 227 214 / .82); }
.dark .eyebrow { color: var(--accent); }
.dark .link-arrow { color: #fff; }
.dark .facts { border-top-color: rgb(255 255 255 / .16); }
.dark .facts dt, .dark .facts strong { color: #fff; }
.dark .facts span { color: rgb(233 227 214 / .65); }

.rooftop { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.rooftop__media { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-3); }
.rooftop__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-2); }
.rooftop__media > :first-child { grid-row: span 2; aspect-ratio: 4 / 4.6; }
.rooftop__media > :not(:first-child) { aspect-ratio: 1; }

/* ---------- Ornament (from the ceiling stencils) ---------- */
.ornament { display: block; width: 44px; height: 44px; color: var(--indigo-2); margin-bottom: var(--s-5); }
.dark .ornament { color: var(--accent); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.reviews__score { position: sticky; top: 120px; }
.reviews__score .big { font: 400 clamp(4rem, 3rem + 4vw, 6.5rem)/0.9 var(--f-display); color: var(--ink); }
.reviews__list { display: grid; gap: var(--s-6); }
.quote { margin: 0; padding: var(--s-6) 0 0; border-top: 1px solid var(--line); }
.quote:first-child { border-top: 0; padding-top: 0; }
.quote blockquote { margin: 0 0 var(--s-4); font: 400 var(--t-xl)/1.4 var(--f-display); color: var(--ink); }
.quote figcaption { font-size: var(--t-sm); color: var(--ink-3); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }

/* ---------- Location ---------- */
.distances { list-style: none; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.distances li span:last-child { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-2); background: var(--sand); }

/* ---------- Amenities ---------- */
.amenities { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenities li { padding: var(--s-5); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color var(--dur-2) var(--ease-out); }
.amenities li:hover { background: var(--paper); }
.amenities .icon { display: block; width: 32px; height: 32px; margin-bottom: var(--s-4); color: var(--indigo-2); }
.amenities li:hover .icon { color: var(--accent-deep); }
.amenities--3 { grid-template-columns: repeat(3, 1fr); }
.amenities--3 li { padding: var(--s-6); }
.amenities--3 strong { font: 400 var(--t-lg)/1.3 var(--f-display); margin-bottom: var(--s-2); }
.amenities--3 span { font-size: var(--t-sm); }
.amenities strong { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: 4px; }
.amenities span { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; display: block; }
.tick-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px var(--s-6); }
.tick-list li { position: relative; padding-left: 22px; font-size: var(--t-sm); color: var(--ink-2); }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border: 1.5px solid var(--accent-deep); transform: rotate(45deg); }

/* ---------- Gallery ---------- */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
.strip a, .gallery a { display: block; overflow: hidden; border-radius: var(--r-1); }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 900ms var(--ease-out); }
.strip a:hover img, .gallery a:hover img { transform: scale(1.05); }
.gallery { columns: 3 280px; column-gap: var(--s-3); }
.gallery a { margin-bottom: var(--s-3); break-inside: avoid; }
.gallery img { width: 100%; transition: transform 900ms var(--ease-out); }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.gallery-tabs button {
  min-height: 40px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; font: 500 var(--t-sm)/1 var(--f-body); color: var(--ink-2); cursor: pointer;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.gallery-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.gallery-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery a[hidden] { display: none; }

/* Room page gallery */
.room-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; gap: var(--s-3); }
.room-gallery a { overflow: hidden; border-radius: var(--r-1); display: block; }
.room-gallery a:first-child { grid-row: span 2; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 900ms var(--ease-out); }
.room-gallery a:first-child img { aspect-ratio: auto; }
.room-gallery a:hover img { transform: scale(1.04); }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-3); font-weight: 500; width: 42%; }

.aside-card { position: sticky; top: 110px; background: var(--paper); border-radius: var(--r-2); padding: var(--s-6); box-shadow: var(--shadow-1); }
.aside-card .price strong { font-size: var(--t-2xl); }
.aside-card .btn { width: 100%; margin-top: var(--s-3); }
.aside-card small { display: block; margin-top: var(--s-4); color: var(--ink-3); font-size: var(--t-xs); line-height: 1.5; }
.layout-aside { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgb(12 16 24 / .94); opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease-out), visibility var(--dur-2); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; border-radius: 3px; }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgb(255 255 255 / .75); font-size: var(--t-sm); padding-inline: 70px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; font-size: 22px; cursor: pointer; transition: background-color var(--dur-1) var(--ease-out); }
.lightbox button:hover { background: rgb(255 255 255 / .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: var(--s-5); align-items: center;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 400 var(--t-lg)/1.35 var(--f-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font: 300 28px/1 var(--f-body); color: var(--accent-deep); transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--indigo-2); }
.faq .faq__a { padding: 0 0 var(--s-5); max-width: 72ch; color: var(--ink-2); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Guide (things to do) ---------- */
.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-8); counter-reset: place; }
.place { padding: var(--s-6) 0; border-top: 1px solid var(--line); counter-increment: place; }
.place h3 { font-size: var(--t-xl); display: flex; gap: var(--s-4); align-items: baseline; margin-bottom: var(--s-3); }
.place h3::before { content: counter(place, decimal-leading-zero); font: 500 var(--t-xs)/1 var(--f-body); letter-spacing: .1em; color: var(--accent-deep); }
.place p { color: var(--ink-2); font-size: var(--t-sm); margin-bottom: var(--s-3); }
.place__meta { font-size: var(--t-xs); color: var(--ink-3); letter-spacing: .02em; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: var(--s-5); }
.contact-list h3 { font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form { background: var(--paper); border-radius: var(--r-2); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-1); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-1); background: #fff;
  font: 400 var(--t-base)/1.4 var(--f-body); color: var(--ink);
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #c7b89f; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo-2); box-shadow: 0 0 0 3px rgb(44 74 114 / .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3402a; }
.field__err { font-size: var(--t-xs); color: #b3402a; }
.hp { position: absolute; left: -9999px; }
.notice { padding: var(--s-4) var(--s-5); border-radius: var(--r-1); margin-bottom: var(--s-5); font-size: var(--t-sm); }
.notice--ok { background: #e6efe3; color: #24472a; }
.notice--err { background: #f6e3de; color: #7c2a19; }
.form .btn[data-loading] { opacity: .7; pointer-events: none; }

/* ---------- Book band + footer ---------- */
.book-band { background: var(--indigo); color: #fff; padding-block: var(--s-8); position: relative; overflow: hidden; }
.book-band__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.book-band__title { font-size: var(--t-2xl); max-width: 22ch; }
.book-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.site-footer { background: #141f31; color: rgb(233 227 214 / .72); font-size: var(--t-sm); padding-top: var(--s-8); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-7); padding-bottom: var(--s-7); }
.site-footer__brand img { width: 230px; margin-bottom: var(--s-5); }
.site-footer__brand p { max-width: 36ch; }
.site-footer__h { font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-4); }
.site-footer__links { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__addr { margin-bottom: var(--s-4); line-height: 1.6; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__base { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-5) var(--s-6); border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--t-xs); }
.site-footer__base p { margin: 0; }

/* Quick-contact dock + back to top */
.dock { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.dock__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: var(--shadow-2); transition: transform var(--dur-2) var(--ease-out); }
.dock__btn:hover { transform: scale(1.06); }
.dock__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dock__btn--wa { background: #1f9d55; }
.dock__btn--call { background: var(--indigo); }
.dock__btn--book { display: none; }
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-1); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--paper); }

/* Scroll reveal (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list { gap: 16px; }
  .nav__list a { font-size: .875rem; }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .amenities--3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .topbar__addr { display: none; }
  .topbar__in { justify-content: center; }
  .site-header__in { min-height: 64px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ivory); }
  .site-header__cta { margin-left: auto; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; margin-right: -8px; }
  .burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1); }
  .burger__bars { position: relative; }
  .burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
  .burger__bars::before { top: -7px; } .burger__bars::after { top: 7px; }
  .burger[aria-expanded="true"] .burger__bars { background: transparent; }
  .burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--nav-top, 64px) 0 0; margin: 0; z-index: 49;
    background: var(--ivory); padding: var(--s-5) var(--gutter) var(--s-8); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { font: 400 1.625rem/1.2 var(--f-display); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--accent-deep); }
  .nav__mobile-extra { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
  .nav__call { text-align: center; font-weight: 600; text-decoration: none; padding: 10px; }
  body.nav-open { overflow: hidden; }

  .intro__grid, .split, .split--wide-media, .rooftop, .reviews, .contact-grid, .layout-aside, .room-row { grid-template-columns: 1fr; }
  .room-row:nth-child(even) .room-row__media { order: 0; }
  .split__stack .split__inset { right: 4%; bottom: -8%; width: 40%; }
  .split__stack { margin-bottom: var(--s-6); }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .reviews__score, .aside-card { position: static; }
  .places { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip a:nth-child(n+4) { display: none; }
  .head { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand { width: 170px; }
  .site-header__cta { display: none; }
  .burger { margin-left: auto; }
  .topbar__links a[href^="mailto"] { display: none; }
  .hero { min-height: 82svh; }
  .hero__media img { object-position: 72% 50%; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .rooms-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .amenities--3 { grid-template-columns: 1fr; }
  .tick-list { grid-template-columns: 1fr; }
  .room-row__specs { grid-template-columns: 1fr 1fr; }
  .room-gallery { grid-template-columns: 1fr 1fr; }
  .room-gallery a:first-child { grid-column: span 2; grid-row: auto; }
  .room-gallery a:first-child img { aspect-ratio: 4 / 3; }
  .form__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .site-footer { padding-bottom: 76px; }
  .book-band__actions .btn { flex: 1 1 auto; }
  .rooftop__media { grid-template-columns: 1fr 1fr; }
  .rooftop__media > :first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }

  /* Bottom action bar replaces the floating buttons on phones */
  .dock { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgb(31 28 24 / .35); }
  .dock__btn { width: auto; min-width: 0; height: 46px; border-radius: var(--r-1); box-shadow: none; flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; font-size: .875rem; font-weight: 600; margin: 0 4px; }
  .dock__btn span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  .dock__btn:hover { transform: none; }
  .dock__btn--book { display: flex; background: var(--accent); color: var(--ink); flex: 1.3; }
  .to-top { bottom: 84px; left: auto; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
