/* ============================================================
   BRIGHTWORK ELECTRIC — "We make light behave." (v7)
   Camden/Marylebone lighting-design-led electricians.
   Premium boutique-agency build. Pure CSS/SVG, offline-ready.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* brand palette */
  --ink: #16131c;
  --ivory: #f5f2ec;
  --amber: #f4b740;       /* signature glow */
  --amber-deep: #e0a01f;
  --plum: #5b2a86;
  --plum-soft: #7d4caa;
  --sage: #b9bcae;

  /* semantic — DAY (light) theme default */
  --bg: var(--ivory);
  --bg-alt: #efeadf;
  --surface: #ffffff;
  --surface-2: #faf7f0;
  --fg: var(--ink);
  --fg-soft: #4c4756;
  --fg-faint: #837d8e;
  --line: #e2dccd;
  --line-strong: #cfc6b1;
  --accent: var(--amber);
  --accent-strong: var(--amber-deep);
  --accent-ink: #2a1d05;
  --accent-tint: rgba(244, 183, 64, 0.14);
  --plum-tint: rgba(91, 42, 134, 0.08);
  --hero-bg: #16131c;          /* dark hero even in day mode */
  --hero-fg: #f5f2ec;
  --hero-faint: #b8b1c2;
  --shadow-sm: 0 1px 2px rgba(22, 19, 28, 0.06), 0 2px 8px rgba(22, 19, 28, 0.05);
  --shadow-md: 0 8px 30px rgba(22, 19, 28, 0.10), 0 2px 8px rgba(22, 19, 28, 0.06);
  --shadow-lg: 0 24px 64px rgba(22, 19, 28, 0.18);
  --glow: 0 0 0 1px rgba(244, 183, 64, 0.35), 0 10px 40px rgba(244, 183, 64, 0.22);
  --header-bg: rgba(245, 242, 236, 0.74);
  --grid-line: rgba(22, 19, 28, 0.05);

  /* type */
  --display: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Manrope Fallback", system-ui, -apple-system, sans-serif;

  /* rhythm — 8px */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  --container: 1180px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-xl: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* EVENING (dark) theme */
html.evening {
  --bg: #16131c;
  --bg-alt: #1d1925;
  --surface: #201b2a;
  --surface-2: #251f31;
  --fg: var(--ivory);
  --fg-soft: #c8c2d2;
  --fg-faint: #8d8799;
  --line: #2f2940;
  --line-strong: #3c3550;
  --accent: var(--amber);
  --accent-strong: #ffc955;
  --accent-ink: #2a1d05;
  --accent-tint: rgba(244, 183, 64, 0.16);
  --plum-tint: rgba(125, 76, 170, 0.18);
  --hero-bg: #110e16;
  --hero-fg: #f5f2ec;
  --hero-faint: #b8b1c2;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.62);
  --header-bg: rgba(22, 19, 28, 0.72);
  --grid-line: rgba(245, 242, 236, 0.045);
}

/* ---------- Font fallback metrics (reduce layout shift) ---------- */
@font-face {
  font-family: "Instrument Serif Fallback";
  src: local("Georgia");
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 112%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  ascent-override: 100%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 102%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--amber); color: var(--accent-ink); }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.display {
  font-size: clamp(3.2rem, 9.5vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.92;
}
h2.section-title { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
p { color: var(--fg-soft); }
.lead { font-size: clamp(1.08rem, 1.55vw, 1.32rem); color: var(--fg-soft); line-height: 1.6; }
em, .ital { font-style: italic; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container-wide { max-width: 1340px; }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 11vw, 128px); }
.section-pad-sm { padding-block: clamp(48px, 7vw, 80px); }
.center { text-align: center; }
.muted { color: var(--fg-faint); }

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.kicker.on-dark { color: var(--hero-faint); }

/* ---------- String-of-bulbs connector ---------- */
.bulb-string {
  width: 100%;
  height: 26px;
  overflow: visible;
}
.bulb-string .wire { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.bulb-string .bulb { fill: var(--amber); }
.bulb-string .bulb.dim { fill: var(--sage); opacity: 0.6; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  --btn-bg: var(--amber);
  --btn-fg: var(--accent-ink);
  box-shadow: 0 6px 22px rgba(244, 183, 64, 0.32);
}
.btn-primary:hover { box-shadow: var(--glow); background: var(--accent-strong); }
.btn-dark {
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);
}
.btn-dark:hover { box-shadow: var(--shadow-md); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--fg); background: var(--surface-2); }
.btn-ghost.on-dark {
  --btn-fg: var(--hero-fg);
  border-color: rgba(245, 242, 236, 0.3);
}
.btn-ghost.on-dark:hover { border-color: var(--amber); background: rgba(244, 183, 64, 0.1); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--fg);
  border-bottom: 1.5px solid var(--amber);
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.btn-link:hover { gap: 12px; color: var(--accent-strong); }
.btn-link svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.45s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(22, 19, 28, 0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: var(--space-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  flex-shrink: 0;
}
.brand .mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand .amp { color: var(--accent-strong); }
.brand b { font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg-soft);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
  margin: 3px auto -2px;
}
.nav-right { display: flex; align-items: center; gap: var(--space-2); }

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
  color: var(--fg);
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(12deg); }
.theme-toggle svg { width: 19px; height: 19px; position: absolute; transition: opacity 0.3s, transform 0.3s; }
.theme-toggle .sun { opacity: 0; transform: scale(0.5) rotate(-45deg); }
.theme-toggle .moon { opacity: 1; transform: scale(1); }
html.evening .theme-toggle .sun { opacity: 1; transform: scale(1) rotate(0); color: var(--amber); }
html.evening .theme-toggle .moon { opacity: 0; transform: scale(0.5) rotate(45deg); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 11px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--fg); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 74px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) clamp(20px, 5vw, 40px) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  padding: 14px 8px;
  font-family: var(--display);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.mobile-menu a.btn { font-family: var(--body); font-size: 1rem; border: none; margin-top: var(--space-2); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-fg);
  overflow: hidden;
  padding-block: clamp(72px, 13vw, 150px) clamp(56px, 9vw, 110px);
  isolation: isolate;
}
/* sweeping light-beam */
.hero .beam {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(60% 80% at 25% 20%, rgba(244, 183, 64, 0.22), transparent 60%),
    radial-gradient(50% 70% at 80% 30%, rgba(125, 76, 170, 0.26), transparent 62%);
  z-index: -3;
  pointer-events: none;
}
.hero .sweep-beam {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(105deg, transparent, rgba(244, 183, 64, 0.16) 42%, rgba(244, 183, 64, 0.28) 50%, rgba(244, 183, 64, 0.16) 58%, transparent);
  filter: blur(6px);
  transform: rotate(8deg);
  z-index: -2;
  animation: sweep 9s var(--ease-soft) infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%   { transform: translateX(-30%) rotate(8deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(230%) rotate(8deg); opacity: 0; }
}
.hero .grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
.hero .hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(245,242,236,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,236,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
}
.hero .container { position: relative; }
.hero-inner { max-width: 940px; }
.hero .kicker { color: var(--hero-faint); margin-bottom: var(--space-3); }
.hero h1 {
  color: var(--hero-fg);
  font-size: clamp(3.2rem, 9.4vw, 7.2rem);
  line-height: 0.94;
  margin-bottom: var(--space-3);
}
.hero h1 .glow-word {
  position: relative;
  color: var(--amber);
  font-style: italic;
}
.hero h1 .glow-word::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 130%; height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 183, 64, 0.4), transparent 65%);
  z-index: -1;
  filter: blur(14px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.hero .lead { color: var(--hero-faint); max-width: 580px; margin-bottom: var(--space-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(245, 242, 236, 0.12);
  align-items: center;
}
.hero-strip .item {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.86rem; font-weight: 600;
  color: var(--hero-faint);
}
.hero-strip .item svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

/* floating lens-glow halos in hero */
.hero .halo {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,183,64,0.5), transparent 70%);
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
  animation: float-halo 7s ease-in-out infinite;
}
.hero .halo.h1 { width: 10px; height: 10px; top: 30%; right: 18%; animation-delay: 0s; }
.hero .halo.h2 { width: 7px; height: 7px; top: 62%; right: 30%; animation-delay: 1.4s; }
.hero .halo.h3 { width: 13px; height: 13px; top: 48%; right: 8%; animation-delay: 2.6s; }
@keyframes float-halo {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-16px); opacity: 1; }
}

/* ---------- Trust strip (under hero) ---------- */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-3);
}
.trust-strip .t-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg-faint);
}
.trust-strip .t-item svg { width: 20px; height: 20px; color: var(--accent-strong); }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 660px; margin-bottom: var(--space-6); }
.sec-head.center { margin-inline: auto; }
.sec-head .kicker { margin-bottom: var(--space-2); }
.sec-head p { margin-top: var(--space-2); }
.sec-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6);
}
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---------- Service preview cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}
.svc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--plum));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  color: var(--accent-strong);
  margin-bottom: var(--space-3);
}
.svc-icon svg { width: 27px; height: 27px; }
.svc-card h3 { margin-bottom: var(--space-1); }
.svc-card p { font-size: 0.95rem; margin-bottom: var(--space-3); }
.svc-card .meta-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.svc-card .price {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--fg);
}
.svc-card .price small { font-size: 0.8rem; color: var(--fg-faint); font-family: var(--body); }
.svc-card .dur {
  font-size: 0.8rem; font-weight: 600; color: var(--fg-faint);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-card .dur svg { width: 15px; height: 15px; }

/* ---------- Feature / why-us split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }

/* Stat numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
}
.stat {
  padding: var(--space-3);
  border-left: 2px solid var(--amber);
  background: var(--surface-2);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1;
  color: var(--fg);
}
.stat .lbl { font-size: 0.86rem; color: var(--fg-soft); margin-top: 6px; font-weight: 600; }

/* glow panel illustration */
.glow-panel {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #1d1925, #2a2238);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.glow-panel .scene {
  position: absolute; inset: 0;
}
.glow-panel .room-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

/* ---------- Testimonials ---------- */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-3);
}
.tst {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tst:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tst .stars { display: flex; gap: 3px; color: var(--amber); }
.tst .stars svg { width: 17px; height: 17px; }
.tst p { color: var(--fg); font-size: 1.02rem; line-height: 1.55; flex-grow: 1; }
.tst .who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.2rem;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  flex-shrink: 0;
}
.tst .who .nm { font-weight: 700; font-size: 0.95rem; color: var(--fg); }
.tst .who .area { font-size: 0.82rem; color: var(--fg-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-fg);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 80px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band .beam {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 20% 30%, rgba(244,183,64,0.22), transparent 60%),
    radial-gradient(50% 80% at 85% 70%, rgba(125,76,170,0.26), transparent 62%);
}
.cta-band h2 { color: var(--hero-fg); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--space-2); }
.cta-band p { color: var(--hero-faint); max-width: 520px; margin: 0 auto var(--space-4); }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 88px) var(--space-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-5) var(--space-4);
  margin-bottom: var(--space-6);
}
.footer-grid h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: var(--space-2);
}
.footer-brand .brand { margin-bottom: var(--space-2); }
.footer-brand p { font-size: 0.95rem; max-width: 280px; }
.footer-col a, .footer-col p, .footer-col address {
  display: block;
  font-size: 0.95rem;
  color: var(--fg-soft);
  font-style: normal;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-strong); }
.footer-hours { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 4px 0; color: var(--fg-soft); }
.footer-hours span:last-child { color: var(--fg-faint); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--fg-faint);
}
.footer-bottom .links { display: flex; gap: var(--space-3); }
.footer-bottom .links a:hover { color: var(--accent-strong); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.page-hero .glow-accent {
  position: absolute;
  top: -30%; right: -5%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-tint), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin-block: var(--space-2);
  max-width: 16ch;
}
.page-hero .lead { max-width: 620px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--fg-faint);
  margin-bottom: var(--space-2);
}
.breadcrumb a { color: var(--fg-faint); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Services page list ---------- */
.svc-list { display: flex; flex-direction: column; gap: var(--space-3); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-3) var(--space-4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.svc-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-row.popular { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), var(--shadow-md); }
.svc-row .badge-pop {
  position: absolute;
  top: -11px; left: 80px;
  background: var(--amber);
  color: var(--accent-ink);
  font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.svc-row .ico {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-strong);
}
.svc-row .ico svg { width: 28px; height: 28px; }
.svc-row .info h3 { font-size: 1.35rem; margin-bottom: 4px; }
.svc-row .info p { font-size: 0.92rem; margin-bottom: 6px; }
.svc-row .info .dur {
  font-size: 0.78rem; font-weight: 700; color: var(--fg-faint);
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.svc-row .info .dur svg { width: 14px; height: 14px; }
.svc-row .act { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.svc-row .act .price { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--fg); }
.svc-row .act .price small { font-family: var(--body); font-size: 0.72rem; color: var(--fg-faint); display: block; font-weight: 600; }
.svc-row .act .price .free { color: var(--plum); }

/* ---------- About page ---------- */
.about-lead-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.about-figure {
  position: relative;
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #221c2e, #16131c);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}
.value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value .v-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--plum-tint); color: var(--plum); display: grid; place-items: center; margin-bottom: var(--space-2); }
html.evening .value .v-ico { color: var(--plum-soft); }
.value .v-ico svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.3rem; margin-bottom: 6px; }
.value p { font-size: 0.94rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}
.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member .m-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  margin: 0 auto var(--space-3);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 2rem;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  box-shadow: var(--glow);
}
.member.plum .m-avatar { background: linear-gradient(135deg, var(--plum-soft), var(--plum)); color: #fff; box-shadow: 0 10px 30px rgba(91,42,134,0.3); }
.member h3 { font-size: 1.3rem; margin-bottom: 2px; }
.member .role { font-size: 0.85rem; font-weight: 700; color: var(--accent-strong); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-2); }
.member p { font-size: 0.9rem; }

.cert-row {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: center;
}
.cert-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700; font-size: 0.88rem;
  color: var(--fg-soft);
}
.cert-chip svg { width: 19px; height: 19px; color: var(--accent-strong); }

/* ---------- Projects page (case studies) ---------- */
.case-list { display: flex; flex-direction: column; gap: var(--space-5); }
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease);
}
.case:hover { box-shadow: var(--shadow-lg); }
.case:nth-child(even) .case-visual { order: 2; }
.case-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
}
.case-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: var(--space-2);
}
.case-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.case h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: var(--space-3); }
.case-block { margin-bottom: var(--space-3); }
.case-block .lbl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 5px; }
.case-block p { font-size: 0.96rem; }
.case-result {
  display: flex; gap: var(--space-4); flex-wrap: wrap;
  padding-top: var(--space-3); border-top: 1px solid var(--line);
}
.case-result .r .n { font-family: var(--display); font-size: 1.9rem; color: var(--accent-strong); line-height: 1; }
.case-result .r .t { font-size: 0.78rem; color: var(--fg-faint); font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-2);
}
.tile {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  min-height: 200px;
  border: 1px solid var(--line);
  cursor: pointer;
  isolation: isolate;
}
.tile .scene { position: absolute; inset: 0; transition: transform 0.6s var(--ease); }
.tile:hover .scene { transform: scale(1.06); }
.tile .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, rgba(22,19,28,0.85));
  color: #fff;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  z-index: 2;
}
.tile:hover .cap, .tile:focus-within .cap { transform: translateY(0); opacity: 1; }
.tile .cap .t { font-family: var(--display); font-size: 1.3rem; line-height: 1.05; }
.tile .cap .s { font-size: 0.82rem; color: rgba(245,242,236,0.8); margin-top: 3px; }
.tile .cap-static {
  position: absolute; top: var(--space-2); left: var(--space-2);
  z-index: 2;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(22,19,28,0.4); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px;
}
.tile.w6 { grid-column: span 6; }
.tile.w4 { grid-column: span 4; }
.tile.w8 { grid-column: span 8; }
.tile.w12 { grid-column: span 12; }
.tile.tall { min-height: 320px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-methods { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.c-method {
  display: flex; align-items: center; gap: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-3);
  transition: border-color 0.25s, transform 0.25s;
}
.c-method:hover { border-color: var(--line-strong); transform: translateX(3px); }
.c-method .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.c-method .ico svg { width: 22px; height: 22px; }
.c-method .lbl { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); }
.c-method .val { font-size: 1.05rem; font-weight: 700; color: var(--fg); }

.hours-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.hours-table th, .hours-table td { text-align: left; padding: 13px var(--space-3); font-size: 0.94rem; }
.hours-table th { background: var(--surface-2); font-family: var(--body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); }
.hours-table tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--fg-soft); font-weight: 600; }
.hours-table tr.today td { background: var(--accent-tint); }
.hours-table tr.today td:first-child { font-weight: 800; }

/* Map placeholder */
.map-box {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  margin-top: var(--space-3);
}
.map-box .roads { position: absolute; inset: 0; }
.map-pin {
  position: absolute;
  top: 44%; left: 50%;
  transform: translate(-50%, -100%);
  z-index: 3;
}
.map-pin svg { width: 44px; height: 44px; filter: drop-shadow(0 8px 12px rgba(22,19,28,0.3)); }
.map-pin .ping {
  position: absolute;
  bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber); opacity: 0.4;
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: translateX(-50%) scale(0.4); opacity: 0.6; } 100% { transform: translateX(-50%) scale(2.4); opacity: 0; } }
.map-label {
  position: absolute; left: var(--space-3); bottom: var(--space-3); z-index: 3;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 10px 14px;
  font-size: 0.84rem; font-weight: 700; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px;
}
.map-label svg { width: 16px; height: 16px; color: var(--accent-strong); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: var(--space-3); position: relative; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 8px; color: var(--fg); }
.field .req { color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 0.98rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px var(--accent-tint);
}
.field .err { display: none; color: #d4453f; font-size: 0.8rem; margin-top: 6px; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d4453f; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form-success {
  display: none;
  background: var(--accent-tint);
  border: 1px solid var(--amber);
  border-radius: var(--radius-l);
  padding: var(--space-5);
  text-align: center;
}
.form-success.show { display: block; animation: pop 0.5s var(--ease); }
.form-success .check {
  width: 60px; height: 60px; margin: 0 auto var(--space-3);
  border-radius: 50%; background: var(--amber);
  display: grid; place-items: center;
}
.form-success .check svg { width: 30px; height: 30px; color: var(--accent-ink); }
.form-success h3 { margin-bottom: var(--space-1); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-4);
  align-items: start;
}
.checkout-main { display: flex; flex-direction: column; gap: var(--space-3); }
.co-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 32px);
}
.co-head { display: flex; align-items: center; gap: 13px; margin-bottom: var(--space-3); }
.co-head h2 { font-size: 1.5rem; }
.step-n {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--fg); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--body); font-weight: 800; font-size: 0.9rem;
}

/* slot grid */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot {
  padding: 12px 8px; text-align: center;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
  background: var(--bg);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.15s;
}
.slot:hover:not(.sold) { border-color: var(--accent); transform: translateY(-2px); }
.slot.selected { background: var(--amber); color: var(--accent-ink); border-color: var(--amber); }
.slot.sold { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* availability legend */
.avail-legend { display: flex; gap: var(--space-3); margin-bottom: var(--space-2); font-size: 0.78rem; color: var(--fg-faint); font-weight: 600; }
.avail-legend span { display: inline-flex; align-items: center; gap: 6px; }
.avail-legend .swatch { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line-strong); }
.avail-legend .swatch.open { background: var(--amber); border-color: var(--amber); }

/* payment tabs */
.pay-tabs { display: flex; gap: 8px; margin-bottom: var(--space-3); flex-wrap: wrap; }
.pay-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  font-weight: 700; font-size: 0.88rem; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.pay-tab svg { width: 18px; height: 18px; }
.pay-tab:hover { border-color: var(--accent); }
.pay-tab.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pay-panel { display: none; animation: fade-up 0.4s var(--ease); }
.pay-panel.active { display: block; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.redirect-note {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--surface-2); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m); padding: var(--space-3);
}
.redirect-note .ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.redirect-note .ico svg { width: 22px; height: 22px; }
.redirect-note p { font-size: 0.92rem; }

/* card visual */
.card-visual {
  position: relative;
  aspect-ratio: 16 / 9.5;
  max-width: 340px;
  border-radius: var(--radius-m);
  padding: var(--space-3);
  background: linear-gradient(135deg, #2a2238, #16131c);
  color: #fff;
  margin-bottom: var(--space-3);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.card-visual .brand-glow {
  position: absolute; top: -40%; right: -20%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,183,64,0.45), transparent 70%);
}
.card-visual .chip { width: 42px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f4d98a, #cfa23a); position: relative; z-index: 1; }
.card-visual .cv-num { font-size: 1.18rem; letter-spacing: 0.12em; font-family: var(--body); font-weight: 600; position: relative; z-index: 1; }
.card-visual .cv-row { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.card-visual .lbl { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.card-visual .cv-row > div > div:last-child { font-weight: 700; font-size: 0.9rem; }

/* order summary */
.order-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  position: sticky;
  top: 94px;
}
.order-summary h2 { font-size: 1.4rem; margin-bottom: var(--space-3); }
.os-item { display: flex; gap: var(--space-2); align-items: center; padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); margin-bottom: var(--space-3); }
.os-item .ico { width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.os-item .ico svg { width: 26px; height: 26px; }
.os-item .nm { font-weight: 700; font-size: 1.02rem; color: var(--fg); line-height: 1.2; }
.os-item .meta { font-size: 0.82rem; color: var(--fg-faint); margin-top: 3px; }
.os-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.94rem; color: var(--fg-soft); }
.os-line.discount { color: var(--plum); font-weight: 700; }
html.evening .os-line.discount { color: var(--plum-soft); }
.os-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-3); margin-top: var(--space-2); border-top: 2px solid var(--line); }
.os-total .lbl { font-weight: 700; }
.os-total .amt { font-family: var(--display); font-size: 2rem; color: var(--fg); }

/* toggle pills (member / deposit) */
.opt-toggle { display: flex; gap: 8px; background: var(--surface-2); padding: 5px; border-radius: 999px; border: 1px solid var(--line); margin-bottom: var(--space-2); }
.opt-toggle button {
  flex: 1; padding: 9px 12px; border-radius: 999px; border: none; background: transparent;
  font-weight: 700; font-size: 0.84rem; cursor: pointer; color: var(--fg-soft);
  transition: background-color 0.2s, color 0.2s;
}
.opt-toggle button.active { background: var(--fg); color: var(--bg); }

.promo-row { display: flex; gap: 8px; margin: var(--space-2) 0 6px; }
.promo-row input { flex: 1; padding: 11px 13px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg); color: var(--fg); font-size: 0.92rem; }
.promo-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.promo-row button { padding: 11px 18px; border-radius: var(--radius-s); border: none; background: var(--fg); color: var(--bg); font-weight: 700; cursor: pointer; font-size: 0.88rem; }
.promo-msg { font-size: 0.8rem; color: var(--fg-faint); font-weight: 600; }
.promo-msg.ok { color: #1c8a4e; }
.promo-msg.no { color: #d4453f; }

.secure-row { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 700; color: var(--fg-soft); margin-top: var(--space-3); }
.secure-row svg { width: 18px; height: 18px; color: #1c8a4e; }
.gateways { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-2); }
.gw-chip { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-faint); }
.demo-note { font-size: 0.76rem; color: var(--fg-faint); margin-top: var(--space-2); text-align: center; font-style: italic; }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn-primary .spinner { border-color: rgba(42,29,5,0.3); border-top-color: var(--accent-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* sticky mobile book bar */
.mobile-book-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  align-items: center; justify-content: space-between;
  gap: var(--space-2);
  padding: 12px clamp(16px, 5vw, 24px);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(22,19,28,0.1);
}
.mobile-book-bar .mb-txt { font-size: 0.8rem; font-weight: 700; color: var(--fg); line-height: 1.2; }
.mobile-book-bar .mb-txt small { display: block; font-weight: 600; color: var(--fg-faint); font-size: 0.72rem; }
.mobile-book-bar .btn { padding: 11px 20px; }

/* ---------- Success page ---------- */
.success-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.success-check {
  width: 96px; height: 96px; margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--accent-tint);
  display: grid; place-items: center;
  position: relative;
}
.success-check::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--amber); opacity: 0;
  animation: ring-out 1.6s var(--ease) infinite;
}
@keyframes ring-out { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.success-check svg { width: 48px; height: 48px; }
.success-check .draw { stroke: var(--accent-strong); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw 0.7s var(--ease) 0.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: var(--space-4);
  text-align: left; margin: var(--space-4) 0;
}
.success-card .row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 0.96rem; }
.success-card .row:not(:last-child) { border-bottom: 1px solid var(--line); }
.success-card .row .k { color: var(--fg-faint); font-weight: 600; }
.success-card .row .v { font-weight: 700; color: var(--fg); }
.success-card .row .v.ref { font-family: var(--display); font-size: 1.2rem; color: var(--accent-strong); }
.steps-list { display: flex; flex-direction: column; gap: var(--space-2); text-align: left; margin: var(--space-4) 0; }
.step-item { display: flex; gap: var(--space-2); align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--space-3); }
.step-item .n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; }
.step-item .tx strong { display: block; color: var(--fg); font-size: 0.98rem; }
.step-item .tx span { font-size: 0.88rem; color: var(--fg-soft); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .split, .about-lead-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .case, .case:nth-child(even) .case-visual { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tile.w8, .tile.w6 { grid-column: span 6; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-book-desktop { display: none; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .tile.w6, .tile.w4, .tile.w8, .tile.w12 { grid-column: span 1; }
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-row .act { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: var(--space-2); border-top: 1px solid var(--line); }
  .svc-row .badge-pop { left: 64px; }
  .hero-strip { gap: var(--space-2) var(--space-3); }
  .cta-band { padding: var(--space-5) var(--space-3); }
}
