/* ==========================================================================
   Aashirwad Hospital — design system
   Palette is colorblind-safe: one warm accent (amber/coral), meaning is
   never carried by hue alone. Dark "documentary" chapters alternate with
   cream "daylight" chapters.
   ========================================================================== */

:root {
  /* ---- DARK (default) ---- */
  --ink: #14120e;
  --ink-2: #1c1915;
  --slate: #0d1f2d;
  --slate-2: #122837;
  --cream: #f2ecde;
  --cream-dim: #cfc7b2;
  --paper: #f6f1e6;
  --paper-2: #ece4d2;
  --ink-on-paper: #23211b;
  --muted-on-paper: #6e6759;
  --accent: #e8a33d;
  --pulse: #ffb27a;
  --line-dark: rgba(242, 236, 222, 0.14);
  --line-light: rgba(35, 33, 27, 0.14);
  /* nav surfaces (theme-aware) */
  --nav-bg: rgba(20, 18, 14, 0.86);
  --nav-menu-bg: rgba(20, 18, 14, 0.97);
  /* where the hero photo fades at the bottom — blends into the next section */
  --hero-fade: #14120e;
  /* hero text stays light in BOTH modes (it sits over darkened photography) */
  --hero-text: #f2ecde;
  --hero-dim: #cfc7b2;
  --hero-pulse: #ffb27a;
  --font-serif: "Fraunces", "Kohinoor Devanagari", "Devanagari MT", Georgia, serif;
  --font-sans: "Inter", -apple-system, "Kohinoor Devanagari", "Segoe UI", sans-serif;
}

/* ---- LIGHT ---- warm daytime counterpart; hero stays cinematic. */
:root[data-theme="light"] {
  --ink: #f4eee1;
  --ink-2: #ece4d2;
  --slate: #e6ece9;
  --slate-2: #dde6e4;
  --cream: #23211b;
  --cream-dim: #5f5949;
  --paper: #ffffff;
  --paper-2: #f4eee1;
  --ink-on-paper: #23211b;
  --muted-on-paper: #6e6759;
  --accent: #b56f12;
  --pulse: #c25e2a;
  --line-dark: rgba(35, 33, 27, 0.16);
  --line-light: rgba(35, 33, 27, 0.12);
  --nav-bg: rgba(246, 241, 230, 0.88);
  --nav-menu-bg: rgba(246, 241, 230, 0.98);
  --hero-fade: #f4eee1;
}
:root[data-theme="light"] .btn-solid,
:root[data-theme="light"] .nav-cta { color: #241703; }

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.18;
}

.h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
}

.lead { font-size: 1.06rem; color: var(--cream-dim); max-width: 560px; }

.light .lead, .light p { color: var(--muted-on-paper); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-solid { background: var(--accent); color: #241703; }
.btn-solid:hover { background: var(--pulse); }

.btn-ghost { border: 1px solid var(--line-dark); color: var(--cream); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.light .btn-ghost { border-color: var(--line-light); color: var(--ink-on-paper); }
.light .btn-ghost:hover { border-color: var(--accent); color: #8a5a10; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}

/* While transparent over the hero photo, nav text stays light in both themes */
.nav:not(.scrolled) .brand,
.nav:not(.scrolled) .nav-links a { color: #f2ecde; }
.nav:not(.scrolled) .lang-select,
.nav:not(.scrolled) .theme-toggle,
.nav:not(.scrolled) .nav-burger { color: #f2ecde; border-color: rgba(242, 236, 222, 0.22); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--cream);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #241703 !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--pulse); }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--cream);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--nav-menu-bg);
    backdrop-filter: blur(14px);
    padding: 10px 0 20px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav:not(.scrolled) .nav-links.open a { color: var(--cream-dim); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; text-align: center; }
  .nav-cta { width: auto !important; margin: 10px auto 0; }
  .nav-burger { display: block; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.09) translateY(-2%); }
}
.hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,14,0.55) 0%, rgba(20,18,14,0.18) 40%, rgba(20,18,14,0.88) 82%, var(--hero-fade) 100%),
    linear-gradient(90deg, rgba(20,18,14,0.45) 0%, rgba(20,18,14,0) 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 120px;
  color: var(--hero-text);
}
.hero .display { max-width: 15ch; }
.hero-dim { color: var(--hero-dim); }
.hero-rotator {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  color: var(--hero-pulse);
  min-height: 2.4em;
}
.hero-rotator .rot-word { display: inline-block; }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-ecg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 2;
  width: 100%;
  height: 60px;
  opacity: 0.9;
  pointer-events: none;
}
.hero-ecg path {
  stroke: var(--hero-pulse);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: ecg-draw 7s linear infinite;
}
@keyframes ecg-draw {
  0% { stroke-dashoffset: 2400; opacity: 1; }
  72% { stroke-dashoffset: 0; opacity: 1; }
  92% { opacity: 0.15; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.scroll-cue {
  position: absolute;
  bottom: 110px;
  right: 40px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hero-dim);
  writing-mode: vertical-rl;
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (max-width: 860px) { .scroll-cue { display: none; } }

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 16px 0;
  background: var(--ink-2);
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker .tick-pulse { color: var(--accent); font-family: var(--font-sans); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section { position: relative; }
.section-pad { padding: 110px 0; }
@media (max-width: 860px) { .section-pad { padding: 72px 0; } }

.light { background: var(--paper); color: var(--ink-on-paper); }
.slate-bg { background: var(--slate); }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }

/* reveal-on-scroll base state is visible; JS opts elements in */
.rv { will-change: transform, opacity; }

/* ---------- services grid (homepage) ---------- */

.sg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .sg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sg-grid { grid-template-columns: 1fr; } }
.sg-card { text-decoration: none; color: var(--cream); display: block; }
.sg-ph { border-radius: 16px; overflow: hidden; }
.sg-ph img {
  width: 100%;
  aspect-ratio: 7 / 6;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sg-card:hover .sg-ph img { transform: scale(1.04); }
.sg-card .h3 { margin-top: 16px; transition: color 0.2s; }
.sg-card:hover .h3 { color: var(--pulse); }
.sg-card p { margin-top: 6px; font-size: 0.92rem; color: var(--cream-dim); line-height: 1.55; }

/* ---------- then / now ---------- */

.thennow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 860px) { .thennow-grid { grid-template-columns: 1fr; } }
.tn-card { position: relative; border-radius: 16px; overflow: hidden; }
.tn-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tn-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(20, 18, 14, 0.78);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.tn-caption { padding: 14px 4px 0; font-size: 0.9rem; color: var(--cream-dim); }

.signpainter {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .signpainter { grid-template-columns: 1fr; gap: 28px; } }
.signpainter img { border-radius: 16px; width: 100%; aspect-ratio: 5 / 8; object-fit: cover; }

/* ---------- lifeline ---------- */

.lifeline { overflow: hidden; }
.lifeline-track { position: relative; }
.lifeline-svg-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
}
.lifeline-rail {
  position: absolute;
  inset: 0;
  width: 2px;
  left: 1px;
  background: var(--line-dark);
}
.lifeline-progress {
  position: absolute;
  top: 0;
  width: 2px;
  left: 1px;
  height: 0%;
  background: var(--pulse);
}
@media (max-width: 960px) {
  .lifeline-svg-wrap { left: 22px; transform: none; }
}

.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: 64px 0;
}
.stage:nth-child(even) .stage-media { order: 2; }
@media (max-width: 960px) {
  .stage { grid-template-columns: 1fr; padding: 44px 0 44px 56px; gap: 22px; }
  .stage:nth-child(even) .stage-media { order: 0; }
}
.stage-media { position: relative; }
.stage-media img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.stage-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.stage-num::after { content: ""; height: 1px; width: 46px; background: var(--accent); opacity: 0.5; }
.stage-body .h2 { margin-bottom: 14px; }
.stage-services { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-services a {
  font-size: 0.83rem;
  text-decoration: none;
  color: var(--cream);
  border: 1px solid var(--line-dark);
  padding: 7px 14px;
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}
.stage-services a:hover { border-color: var(--pulse); color: var(--pulse); }

.stage-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--pulse);
  z-index: 2;
}
@media (max-width: 960px) { .stage-dot { left: 22px; } }

/* ---------- doctors ---------- */

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .doc-grid { grid-template-columns: 1fr; max-width: 460px; } }
.doc-card {
  background: #fffdf7;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-on-paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(35, 33, 27, 0.12); }
.doc-card img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; width: 100%; }
.doc-card-body { padding: 20px 22px 24px; }
.doc-card-body .h3 { margin-bottom: 4px; }
.doc-quals { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted-on-paper); }
.doc-line { margin-top: 10px; font-size: 0.92rem; color: var(--muted-on-paper); }
.doc-more { margin-top: 14px; font-size: 0.88rem; font-weight: 500; color: #8a5a10; }

/* ---------- rooms gallery ---------- */

.rooms-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 24px 26px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.room-card {
  flex: 0 0 min(420px, 78vw);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.room-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(20, 18, 14, 0.78);
  backdrop-filter: blur(6px);
  color: var(--cream);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.room-tag strong { font-weight: 500; color: var(--pulse); }

/* ---------- numbers ---------- */

.numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px 24px;
}
.num-item .num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--pulse);
  line-height: 1;
}
.num-item .num-label { margin-top: 8px; font-size: 0.9rem; color: var(--cream-dim); }

/* ---------- voices ---------- */

.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .voices-grid { grid-template-columns: 1fr; } }
.voice {
  background: #fffdf7;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 30px 32px;
}
.voice-stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; }
.voice p {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.6;
  margin: 14px 0 18px;
  color: var(--ink-on-paper);
}
.voice-by { font-size: 0.86rem; color: var(--muted-on-paper); }

/* ---------- trust ---------- */

.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--ink-on-paper);
  background: #fffdf7;
}
.badge svg { width: 15px; height: 15px; color: #8a5a10; flex: none; }
.trust-logos { display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.trust-logos img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.trust-logos img:hover { filter: none; opacity: 1; }
.trust-note { font-size: 0.85rem; color: var(--muted-on-paper); margin-bottom: 18px; }

/* ---------- contact / footer ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 4px; }
.contact-list a { color: var(--cream); text-decoration: none; }
.contact-list a:hover { color: var(--pulse); }
.contact-sub { font-size: 0.85rem; color: var(--cream-dim); }
.map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: 18px;
  filter: grayscale(0.4) contrast(1.02);
  background: var(--slate-2);
}

footer {
  border-top: 1px solid var(--line-dark);
  padding: 34px 0;
  font-size: 0.85rem;
  color: var(--cream-dim);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-inner a { color: var(--cream-dim); text-decoration: none; }
.footer-inner a:hover { color: var(--cream); }

/* ---------- whatsapp fab ---------- */

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c05c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; color: #ffffff; }

/* ---------- inner-page hero ---------- */

.page-hero { padding: 170px 0 70px; }
.page-hero .display { max-width: 18ch; }
.page-hero .lead { margin-top: 18px; }

/* ---------- services page ---------- */

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: #fffdf7;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 30px 32px;
}
.svc-card .h3 { margin-bottom: 4px; }
.svc-hindi { font-size: 0.9rem; color: #8a5a10; margin-bottom: 12px; font-weight: 500; }
.svc-card p { font-size: 0.95rem; color: var(--muted-on-paper); }
.svc-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a5a10;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

/* ---------- doctors page ---------- */

.doc-full {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line-light);
}
.doc-full:last-of-type { border-bottom: 0; }
@media (max-width: 860px) { .doc-full { grid-template-columns: 1fr; gap: 24px; } }
.doc-full img { border-radius: 18px; aspect-ratio: 1/1; object-fit: cover; object-position: center 18%; }
.doc-full .h2 { margin-bottom: 4px; }
.doc-full .doc-quals { font-size: 0.9rem; }
.doc-full p { margin-top: 16px; color: var(--muted-on-paper); }
.doc-langs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-langs span {
  font-size: 0.8rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 5px 13px;
  color: var(--muted-on-paper);
}

/* ---------- for-doctors page ---------- */

.fd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .fd-grid { grid-template-columns: 1fr; } }
.fd-card {
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 30px 32px;
  background: var(--slate-2);
}
.fd-card .h3 { color: var(--pulse); margin-bottom: 12px; }
.fd-card ul { list-style: none; display: grid; gap: 9px; }
.fd-card li { padding-left: 22px; position: relative; font-size: 0.95rem; color: var(--cream-dim); }
.fd-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- crossfade series ---------- */

.hero-faders { position: absolute; inset: 0; }
.hero-bg { opacity: 0; transition: opacity 1.8s ease; }
.hero-bg.on { opacity: 1; }

.fader {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
}
.fader img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.fader img.on { opacity: 1; }

/* ---------- language switcher ---------- */

.lang-select {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-family: var(--font-sans);
  cursor: pointer;
}
.lang-select option { color: #14120e; background: #ffffff; }

/* ---------- theme toggle ---------- */

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 860px) {
  .lang-select { margin-left: auto; }
  .nav-burger { margin-left: 0; }
}

/* ---------- rooms gallery arrows ---------- */

.rooms-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.rooms-controls { display: flex; gap: 10px; flex: none; padding-bottom: 8px; }
.rooms-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.rooms-controls button:hover { border-color: var(--pulse); color: var(--pulse); }
.rooms-controls button:active { transform: scale(0.94); }
.rooms-controls svg { width: 20px; height: 20px; }

/* ---------- footer logo ---------- */

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }

/* ---------- motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .ticker-track, .scroll-cue, .hero-ecg path { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
