/* ═══════════════════════════════════════════════════════
   FEMIX PLUMBING — style.css
   Premium Fintech-Grade UI · Bybit/Bitget Inspired
   Fonts: Syne (display) · Outfit (body) · Space Mono (mono)
   ═══════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────────── */
:root {
  /* Base backgrounds — deep navy/charcoal */
  --bg-base:   #070A14;
  --bg-raised: #0C1020;
  --bg-card:   #0E1830;
  --bg-input:  #141928;
  --bg-hover:  #1A2035;
  --bg-border: #1F263A;

  /* Glass surfaces */
  --glass-bg:      rgba(255,255,255,0.038);
  --glass-bg2:     rgba(255,255,255,0.065);
  --glass-border:  rgba(255,255,255,0.085);
  --glass-border2: rgba(255,255,255,0.13);

  /* Text hierarchy */
  --text-primary:   #EDF0FF;
  --text-secondary: #8892B0;
  --text-muted:     #4A5270;
  --text-inverse:   #0E111E;
  --text-value:     #D8D2BE; /* soft warm off-white for filled field values — not stark bright white */

  /* Gold — primary accent */
  --gold:      #C9A84C;
  --gold-lt:   #E8C86E;
  --gold-dark: #9A7030;
  --gold-glow: rgba(201,168,76,0.16);
  --gold-ring: rgba(201,168,76,0.3);
  --grad-gold: linear-gradient(135deg, #B8922C 0%, #F0D580 48%, #C9A84C 100%);

  /* Blue — secondary accent */
  --blue:      #4B7BFF;
  --blue-lt:   #7A9FFF;
  --blue-glow: rgba(75,123,255,0.18);
  --grad-blue: linear-gradient(135deg, #2A4FCC 0%, #7A9FFF 100%);

  /* Status */
  --green:  #1FC874;
  --red:    #F04040;
  --orange: #FF8C3A;

  /* Gradient overlays */
  --grad-text: linear-gradient(120deg, #E8C86E 0%, #EDF0FF 40%, #7A9FFF 100%);
  --grad-mesh: radial-gradient(ellipse 60% 40% at 20% 20%, rgba(75,123,255,0.07), transparent),
               radial-gradient(ellipse 40% 60% at 80% 80%, rgba(201,168,76,0.06), transparent);

  /* Shadows */
  --sh-sm:   0 2px 8px  rgba(0,0,0,0.4);
  --sh-md:   0 8px 28px rgba(0,0,0,0.55);
  --sh-lg:   0 20px 56px rgba(0,0,0,0.7);
  --sh-xl:   0 32px 80px rgba(0,0,0,0.85);
  --sh-gold: 0 4px 24px rgba(201,168,76,0.22), 0 0 0 1px rgba(201,168,76,0.22);

  /* Animation */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t1: 0.15s var(--ease);
  --t2: 0.28s var(--ease);
  --t3: 0.45s var(--ease);

  /* Layout */
  --header-h:  70px;
  --ticker-h:  30px;
  /* +1px accounts for #header's own border-bottom, which wasn't
     previously counted here — without it, content starting right at
     the old nav-total offset could show a hairline overlap with the
     ticker bar at the seam. */
  --nav-total: calc(var(--header-h) + var(--ticker-h) + 1px);
--tabbar-h: 60px;
--tabbar-total: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  --container: 1160px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 100px;

  /* Booking widget tokens */
  --emerald:      #00B88A;
  --emerald-hi:   #00D4A0;
  --emerald-glow: rgba(0,184,138,0.18);
  --bk-surface:   #0D0D0D;
  --bk-surface-2: #131313;
  --bk-surface-3: #181818;
  --bk-border:    rgba(255,255,255,0.07);
  --bk-border-hi: rgba(201,168,76,0.3);
  --bk-input-bg:  #0F0F0F;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
}

/* Light theme overrides */
[data-theme="light"] {
  --bg-base:   #E6E2D8;
  --bg-raised: #DDD9CF;
  --bg-card:   #D4D0C5;
  --bg-input:  #CAC5B9;
  --bg-hover:  #C0BBAF;
  --bg-border: #B5B0A3;

  --glass-bg:      rgba(255,255,255,0.55);
  --glass-bg2:     rgba(255,255,255,0.75);
  --glass-border:  rgba(0,0,0,0.08);
  --glass-border2: rgba(0,0,0,0.14);

  --text-primary:   #12100A;
  --text-secondary: #454036;
  --text-muted:     #8A8275;
  --text-value:     #3A3324;

  --gold:      #8A5C10;
  --gold-lt:   #A87820;
  --gold-dark: #6A4408;
  --gold-glow: rgba(138,92,16,0.14);
  --gold-ring: rgba(138,92,16,0.25);
  --grad-gold: linear-gradient(135deg, #7A4E08 0%, #C89030 48%, #8A5C10 100%);

  --blue:      #1840C8;
  --blue-lt:   #3B6AFF;
  --blue-glow: rgba(24,64,200,0.12);
  --grad-blue: linear-gradient(135deg, #102C98 0%, #3B6AFF 100%);

  --grad-text: linear-gradient(120deg, #8A5C10 0%, #12100A 40%, #1840C8 100%);
  --grad-mesh: radial-gradient(ellipse 60% 40% at 20% 20%, rgba(24,64,200,0.05), transparent),
               radial-gradient(ellipse 40% 60% at 80% 80%, rgba(138,92,16,0.04), transparent);

  --sh-sm:   0 2px 8px  rgba(0,0,0,0.08);
  --sh-md:   0 8px 28px rgba(0,0,0,0.12);
  --sh-lg:   0 20px 56px rgba(0,0,0,0.16);
  --sh-xl:   0 32px 80px rgba(0,0,0,0.20);
  --sh-gold: 0 4px 24px rgba(138,92,16,0.18), 0 0 0 1px rgba(138,92,16,0.20);
}

/* ──────────────────────────────────────────
   RESET
────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Reserves the scrollbar's width permanently (desktop browsers with
     classic, non-overlay scrollbars) so switching views — which toggles
     body overflow:hidden and removes/restores the scrollbar — never
     changes the effective viewport width. Without this, that toggle
     causes a visible horizontal jump on every page-to-page navigation. */
  scrollbar-gutter: stable;
}
html, body {
  /* Kills the default mobile blue/grey flash on tap for every link and
     button — Safari/Chrome apply this automatically unless told not to. */
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  padding-top: var(--nav-total);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button {
  font-family: inherit; cursor: pointer; border: none; background: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
/* Every tappable surface gets a quiet, native-app-style press feedback
   (a touch of opacity, no color flash) instead of the browser default. */
a, button, [role="button"], [role="tab"], .svc-item-btn, .spa-qcard, .pay-method, .bstep {
  -webkit-tap-highlight-color: transparent;
}
a:active, button:active, [role="button"]:active {
  opacity: 0.82;
}
/* Keyboard users still get a visible, on-brand focus ring — just never a
   stray blue outline, and never on a plain mouse/touch click. */
a:focus, button:focus, [role="button"]:focus, [role="tab"]:focus {
  outline: none;
}
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, [role="tab"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
ul { list-style: none; }
address { font-style: normal; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-raised); }
::-webkit-scrollbar-thumb { background: var(--bg-border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.038'/%3E%3C/svg%3E");
  opacity: 0.28;
}

/* Mesh gradient bg */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grad-mesh);
}

#bgCanvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.12;
}


/* ── Disable Long Press Menu ── */
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input, textarea, [contenteditable] {
  -webkit-user-select: text;
  user-select: text;
}

/* ──────────────────────────────────────────
   UTILITIES
────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.75rem; }
.section { position: relative; padding: 5rem 0; z-index: 2; }

.g-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
}

.hero-stats, .svc-tabs, .menu-item, .toast, .quote-card { contain: layout paint style; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ──────────────────────────────────────────
   TYPOGRAPHY
────────────────────────────────────────── */
.sec-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.65rem;
}
.sec-eyebrow::before {
  content: ''; width: 22px; height: 1.5px;
  background: var(--grad-gold); flex-shrink: 0;
}
.sec-head-center .sec-eyebrow { justify-content: center; }
.sec-head-center .sec-eyebrow::before { display: none; }

.sec-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text-primary); margin-bottom: 0.8rem;
}
.sec-h2 strong { font-weight: 900; }

.sec-lead {
  font-size: 0.95rem; color: var(--text-secondary);
  max-width: 500px; line-height: 1.8; margin-bottom: 2.5rem;
}
.sec-head { margin-bottom: 0.5rem; }
.sec-head-center { text-align: center; }
.sec-head-center .sec-lead { margin-left: auto; margin-right: auto; }

/* ──────────────────────────────────────────
   ANIMATIONS
────────────────────────────────────────── */
.reveal-fade {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-fade.visible,
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1; transform: none;
}
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.13s; }
.d3 { transition-delay: 0.20s; }
.d4 { transition-delay: 0.28s; }

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-gold); color: var(--text-inverse);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.82rem 1.75rem; border-radius: var(--radius-pill);
  position: relative; overflow: hidden;
  transition: transform var(--t2), box-shadow var(--t2);
  box-shadow: var(--sh-gold); cursor: pointer;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.2), transparent);
  transform: translateX(-110%); transition: transform 0.5s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.38), 0 0 0 1px rgba(201,168,76,0.4);
}
.btn-primary:hover::after { transform: translateX(110%); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary.btn-block { width: 100%; justify-content: center; margin-top: 0.9rem; }
.btn-primary:disabled { cursor: default; opacity: 0.88; transform: none; }
.btn-primary:disabled:hover { transform: none; box-shadow: var(--sh-gold); }

.btn-icon { flex-shrink: 0; transition: transform var(--t1); }
.btn-primary:hover .btn-icon { transform: translateX(3px); }

/* Inline button spinner — used while the booking is sending. Plain,
   fast-feeling, no "server" language attached to it. */
.btn-spinner {
  width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid rgba(14,17,30,0.3);
  border-top-color: var(--text-inverse);
  animation: btnSpin 0.7s linear infinite;
  display: inline-block;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid var(--glass-border2);
  color: var(--text-secondary); font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.82rem 1.75rem; border-radius: var(--radius-pill);
  backdrop-filter: blur(12px); transition: all var(--t2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

/* ──────────────────────────────────────────
   SCROLL PROGRESS
────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 9999; background: transparent;
}
.scroll-progress-fill {
  height: 100%; width: 0%;
  background: var(--grad-gold);
  transition: width 0.1s linear; will-change: width;
}

/* ──────────────────────────────────────────
   LOADER
────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 0.9rem;
}

.loader-emblem {
  position: relative; width: 65px; height: 50px;
  display: flex; align-items: center; justify-content: center;
}
.loader-drop {
  position: absolute; font-size: 1.3rem;
  animation: dropPulse 1.1s ease-in-out infinite;
}
@keyframes dropPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

.loader-wordmark {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.2rem; letter-spacing: 0.04em; color: var(--text-secondary);
}
.loader-wordmark span { color: var(--gold-lt); }
.loader-tagline {
  font-family: 'Space Mono', monospace; font-size: 0.80rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.loader-bar-wrap {
  width: 160px; height: 2px;
  background: var(--glass-border); border-radius: 2px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0;
  background: var(--grad-gold);
  animation: barLoad 0.5s var(--ease) 0.05s forwards;
}
@keyframes barLoad { to { width: 100%; } }

/* ──────────────────────────────────────────
   TOAST NOTIFICATIONS
────────────────────────────────────────── */
.toast-container {
  position: fixed; top: calc(var(--nav-total) + 12px); right: 16px;
  z-index: 8000; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--glass-border2);
  border-radius: var(--radius-lg); padding: 12px 14px;
  min-width: 270px; max-width: 340px;
  box-shadow: var(--sh-lg); backdrop-filter: blur(16px);
  pointer-events: auto;
  animation: toastSlide 0.38s var(--spring) both;
  font-size: 0.84rem; color: var(--text-secondary);
}
.toast.toast-out { animation: toastFade 0.3s var(--ease) both; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }
.toast-icon  { font-size: 1rem; flex-shrink: 0; line-height: 1.4; }
.toast-body  { flex: 1; }
.toast-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.82rem;
  color: var(--text-primary); margin-bottom: 2px;
}
.toast-msg  { font-size: 0.78rem; line-height: 1.5; }
.toast-close {
  color: var(--text-muted); font-size: 0.75rem; padding: 2px;
  transition: color var(--t1); flex-shrink: 0; line-height: 1;
}
.toast-close:hover { color: var(--text-primary); }
@keyframes toastSlide { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:none} }
@keyframes toastFade  { from{opacity:1;transform:none} to{opacity:0;transform:translateX(20px)} }

/* ──────────────────────────────────────────
   GALLERY STRIP
────────────────────────────────────────── */
.gallery-strip {
  position: relative; width: 100%;
  padding: 3.5rem 0; overflow: hidden; z-index: 5; 
  margin-top: 100px;   
  background: var(--bg-raised); 
  border-bottom: 1px solid var(--glass-border);
  isolation: isolate;
}
.gallery-strip::before,
.gallery-strip::after {
  content: ''; position: absolute; top: 10; bottom: 0;
  width: 36px; z-index: 3; pointer-events: none;
}
.gallery-strip::before {
  left: 0; background: linear-gradient(to right, var(--bg-raised), transparent);
}
.gallery-strip::after {
  right: 0; background: linear-gradient(to left, var(--bg-raised), transparent);
}

/* Galaxy-inspired animated background — enriched with a third brand
   accent (emerald) plus a denser star field for more depth, while
   staying strictly transform/opacity-driven so the compositor can
   run it at 60fps without repainting the blurred layer itself.
   Respects prefers-reduced-motion and pauses when the tab isn't
   visible (see the shared rules further down the file). */
.gallery-strip-galaxy-bg {
  position: absolute; inset: +50%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 25%, var(--gold-glow) 0%, transparent 42%),
    radial-gradient(circle at 82% 20%, var(--blue-glow) 0%, transparent 44%),
    radial-gradient(circle at 30% 80%, var(--emerald-glow) 0%, transparent 46%),
    radial-gradient(circle at 78% 78%, var(--blue-glow) 0%, transparent 46%),
    radial-gradient(circle at 55% 45%, var(--gold-glow) 0%, transparent 38%),
    conic-gradient(from 0deg at 50% 50%, var(--bg-raised) 0%, var(--bg-base) 30%, var(--bg-raised) 55%, var(--bg-base) 80%, var(--bg-raised) 100%);
  filter: blur(70px) saturate(1.35);
  animation: galaxySpin 55s linear infinite;
  transform-origin: center;
}
.gallery-strip-galaxy-stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 32% 62%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1.6px 1.6px at 52% 30%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.2px 1.2px at 68% 78%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.6px 1.6px at 82% 15%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.2px 1.2px at 90% 55%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1.6px 1.6px at 8% 85%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 45% 92%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1.4px 1.4px at 60% 8%, rgba(232,200,110,0.7), transparent),
    radial-gradient(1.3px 1.3px at 25% 45%, rgba(122,159,255,0.6), transparent);
  background-size: 100% 100%;
  animation: starTwinkle 3.4s ease-in-out infinite alternate;
  opacity: 0.75;
}
.gallery-strip-galaxy-stars--far {
  background-size: 140% 140%; background-position: 20% 30%;
  opacity: 0.4;
  animation: starTwinkle 4.8s ease-in-out infinite alternate-reverse, starDrift 75s linear infinite;
  filter: blur(0.3px);
}
/* A single slow-drifting streak of light for extra richness — pure
   transform animation (translate + opacity), negligible cost. */
.gallery-strip-galaxy-comet {
  position: absolute; z-index: 1; top: 15%; left: -10%;
  width: 140px; height: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232,200,110,0.9), transparent);
  animation: cometDrift 9s ease-in infinite;
  animation-delay: 3s;
  opacity: 0;
}
@keyframes cometDrift {
  0%   { transform: translate(0, 0) rotate(18deg); opacity: 0; }
  4%   { opacity: 0.8; }
  16%  { opacity: 0; }
  100% { transform: translate(130vw, 60px) rotate(18deg); opacity: 0; }
}

.slider-track {
  position: relative; z-index: 2;
  display: flex; gap: 22px; width: max-content;
  will-change: transform;
}

.slide {
  aspect-ratio: 6 / 3;         /* ← locks in the wider "Opay card" shape */
  height: 280px; width: auto; flex: 0 0 auto; border-radius: 26px;
  overflow: hidden; border: 1px solid var(--glass-border2);
  box-shadow: var(--sh-lg);
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), box-shadow 0.55s cubic-bezier(0.22,1,0.36,1), border-color 0.55s var(--ease);
  cursor: pointer;
  position: relative;
  background: var(--bg-card);
}
/* Variable-width: no width is set, so the box sizes itself to the
   image's own natural aspect ratio at a fixed height — every photo
   shows completely, nothing gets cropped to force a uniform box. */
.slide img {
  display: block; height: 100%; width: 100%; max-width: none; 
  object-fit: cover;           /* ← crops to fill the fixed shape instead of stretching */
  object-position: center;
  filter: saturate(0.75) brightness(0.82);
  transform: scale(1.04); transition: filter 0.55s var(--ease), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.slide::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  pointer-events: none;
}
.slide:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--sh-xl), 0 0 32px var(--gold-glow), 0 0 0 1.5px var(--gold);
  border-color: var(--gold);
  z-index: 5;
}
.slide:hover img { filter: saturate(1.08) brightness(1.02); transform: none; }
.slide:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .slide { height: 220px; }
}
@media (max-width: 640px) {
  .slide { height: 170px; border-radius: 24px; }
  .slider-track { gap: 8px; }
  .gallery-strip { padding:0.4rem 0; }
  .gallery-strip::before, .gallery-strip::after { width: 20px; }
}

/* ──────────────────────────────────────────
   GALLERY LIGHTBOX — full-screen viewer with
   zoom (buttons + drag-to-pan when zoomed) and
   prev/next navigation through the unique photo
   set (not the doubled marquee list).
────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(4,6,11,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-stage {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lightbox-img-wrap {
  max-width: 90vw; max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  touch-action: none;
}
.lightbox-img-wrap.is-zoomed { cursor: grab; }
.lightbox-img-wrap.is-zoomed.is-dragging { cursor: grabbing; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--sh-xl);
  transition: transform 0.25s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close, .lightbox-prev, .lightbox-next, .lightbox-zoom-btn {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff; cursor: pointer; transition: all var(--t2);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover, .lightbox-zoom-btn:hover {
  background: var(--gold-glow); border-color: var(--gold); color: var(--gold-lt);
}
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; z-index: 2; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; z-index: 2;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-zoom-controls {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.lightbox-zoom-btn { width: 42px; height: 42px; font-size: 1.15rem; font-weight: 700; }
.lightbox-counter {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2;
  font-family: 'Space Mono', monospace; font-size: 0.72rem; color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 12px; border-radius: var(--radius-pill);
}

@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-close { width: 36px; height: 36px; top: 0.85rem; right: 0.85rem; }
  .lightbox-counter { top: 0.85rem; left: 0.85rem; font-size: 0.62rem; padding: 4px 10px; }
  .lightbox-zoom-controls { bottom: 0.85rem; }
  .lightbox-zoom-btn { width: 34px; height: 34px; font-size: 1rem; }
}

/* ──────────────────────────────────────────
   SITE SEARCH — a flex sibling of the hamburger
   inside .nav-right, so it inherits the header's
   own fixed/sticky stability with zero manual
   offsets (no magic top/right pixel values).
────────────────────────────────────────── */
.site-search-bar {
  position: relative;
  z-index: 850;
}

[data-theme="light"] .site-search-bar { background: transparent; }
.site-search-inner {
  width: 44px;
  height: 44px;
  max-width: 44px;
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20,25,40,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border2);
  border-radius: var(--radius-pill);
  padding: 0.5rem;
  box-shadow: var(--sh-sm);
  transition: max-width 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.site-search-bar:focus-within .site-search-inner,
.site-search-bar.is-expanded .site-search-inner {
  width: 300px;
  max-width: 296px;
  border-color: var(--gold);
  box-shadow: var(--sh-sm), 0 0 0 3px var(--gold-glow);
}
.site-search-icon {
  color: var(--text-muted); flex-shrink: 0;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
}
.site-search-icon svg { width: 100%; height: 100%; display: block; }

.site-search-input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease 0.15s;
}

.site-search-bar:focus-within .site-search-input,
.site-search-bar.is-expanded .site-search-input { width: 100%; opacity: 1; }
.site-search-input::placeholder { color: var(--text-muted); }
.site-search-clear {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--glass-bg2); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; border: none; cursor: pointer; transition: all var(--t1);
}
.site-search-clear:hover { background: var(--gold-glow); color: var(--gold-lt); }

.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  max-width: calc(100vw - 32px);
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border2);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-lg);
  padding: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.site-search-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 0.65rem 0.8rem; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  transition: background var(--t1);
}
.site-search-item:hover, .site-search-item.is-active { background: var(--gold-glow); }
.site-search-item-icon { font-size: 0.95rem; flex-shrink: 0; }
.site-search-item-text { flex: 1; min-width: 0; }
.site-search-item-label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.92rem; color: var(--text-primary); }
.site-search-item-cat {
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.site-search-empty { padding: 0.9rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 640px) {
  .site-search-input { font-size: 16px; }
}

/* ──────────────────────────────────────────
   HEADER  ← all fixes applied here
────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(7,10,20,0.88);
  backdrop-filter: blur(8px) saturate(8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t2), box-shadow var(--t2);
  display: flex; flex-direction: column;
}
[data-theme="light"] #header { background: rgba(230,226,216,0.88); }
#header.scrolled { box-shadow: var(--sh-lg); }

.nav-bar {
  height: var(--header-h);
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  container-type: inline-size;
}
.logo-wrap {
  min-width: 0;
  display: flex; 
  align-items: center; gap: 6px;
  flex: 1 1 auto;
  margin-right: auto;
  height: 100%;
  overflow: hidden;
}

.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.logo-mark-glow {
  position: absolute; inset: -4px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent);
  opacity: 0; transition: opacity var(--t2); pointer-events: none;
}
.logo-wrap:hover .logo-img { transform: scale(1.08) rotate(4deg); transition: transform var(--t2); }
.logo-wrap:hover .logo-mark-glow { opacity: 1; }

.logo-name {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(0.78rem, 3.6cqw, 0.7rem);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em; line-height: 1; display: block;
  color: var(--text-primary);
}

.logo-name em {
  font-style: normal;
  color: var(--gold-lt);
}

.logo-sub {
  font-family: 'Space Mono', monospace; 
  font-size: clamp(0.28rem, 1cqw, 0.32rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2em; text-transform: lowercase;
  color: var(--text-muted); display: block; margin-top: 2px;
}

.desk-nav { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.nav-link {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary);
  padding: 6px 10px; border-radius: 6px; position: relative;
  transition: color var(--t1), background var(--t1);
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); background: var(--glass-bg2); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 1.5px; background: var(--grad-gold); border-radius: 2px;
}

.nav-dd { position: relative; }
.nav-dd-trigger {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary);
  padding: 6px 10px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
  transition: all var(--t1); background: none; border: none; cursor: pointer;
}
.nav-dd-trigger:hover { color: var(--text-primary); background: var(--glass-bg2); }

.chevron {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--t2); display: inline-block;
}
.nav-dd:hover .chevron { transform: rotate(180deg); }
.nav-dd:hover .nav-dd-trigger { color: var(--text-primary); background: var(--glass-bg2); }

.nav-dd-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 260px; background: var(--bg-card);
  border: 1px solid var(--glass-border2); border-radius: var(--radius-lg);
  padding: 6px; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t2), visibility var(--t2), transform var(--t2);
  z-index: 900;
}
.nav-dd-menu::before {
  content: ''; position: absolute; top: -5px; right: 16px;
  width: 9px; height: 9px; background: var(--bg-card);
  border-left: 1px solid var(--glass-border2);
  border-top: 1px solid var(--glass-border2);
  transform: rotate(45deg);
}
.nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }

.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 7px;
  transition: background var(--t1); cursor: pointer; width: 100%; text-align: left;
}
.dd-item:hover { background: var(--glass-bg2); }
.dd-item.dd-emergency {
  border-top: 1px solid var(--glass-border); margin-top: 4px; padding-top: 12px;
}
.dd-item-icon {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: var(--bg-hover); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.dd-item-text strong { display: block; font-size: 0.76rem; font-weight: 700; color: var(--text-primary); }
.dd-item-text span   { font-family: 'Space Mono', monospace; font-size: 0.56rem; color: var(--text-muted); }
.dd-divider { height: 1px; background: var(--glass-border); margin: 4px 0; }

.nav-cta {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-inverse);
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--grad-gold);
  display: inline-flex; align-items: center; gap: 5px;
  transition: transform var(--t1), box-shadow var(--t1);
  box-shadow: 0 2px 14px var(--gold-glow); cursor: pointer;
  flex-shrink: 0; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px var(--gold-ring); }
.nav-cta-arrow { transition: transform var(--t1); }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; } 
.status-pill {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Space Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  background: rgba(31,200,116,0.08); border: 1px solid rgba(31,200,116,0.2);
  padding: 4px 10px; border-radius: var(--radius-pill); flex-shrink: 0;
}
.status-dot {
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
  animation: liveRing 2.2s ease-in-out infinite;
}
@keyframes liveRing {
  0%,100%{ box-shadow: 0 0 0 0 rgba(31,200,116,0.5); }
  50%{     box-shadow: 0 0 0 6px rgba(31,200,116,0); }
}

.ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 2.5px solid var(--glass-border);
  border-radius: var(--radius);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: background var(--t1), border-color var(--t1);
  order: 99;
  margin-left: auto;
}
.ham:hover {
  background: var(--glass-bg);
  border-color: var(--gold);
}
.ham span {
  display: block;
  width: 20px; height: 2.0px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--t2);
  flex-shrink: 0;
}
.ham.open { background: var(--glass-bg); border-color: var(--gold); }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); background: var(--gold); }
.ham.open span:nth-child(2) { opacity: 0; width: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); background: var(--gold); }

.ticker-bar {
  height: var(--ticker-h); overflow: hidden;
  background: var(--grad-gold); display: flex; align-items: center;
}
.ticker-inner {
  display: flex; align-items: center; white-space: nowrap; gap: 0;
  animation: tickerMove 32s linear infinite;
  will-change: transform;
}
.ticker-inner span {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(10,8,0,0.8); padding: 0 1.5rem;
}
.ticker-inner .tsep { color: rgba(10,8,0,0.35); padding: 0; }
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.mob-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(310px, 88vw);
  background: rgba(7, 10, 20, 0.45);
  width: min(285px, 75vw);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-left: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  z-index: 900; transform: translateX(100%); transition: transform 0.42s var(--spring);
  display: flex; flex-direction: column;
   /* Lock these regardless of [data-theme="light"] on the page */
  --text-primary: #F5F3EE;
  --text-secondary: #B8BCC8;
  --text-muted: #7A8194;
  --glass-border: rgba(255,255,255,0.1);
}

.mob-drawer.open { transform: none; }
.mob-drawer-inner {
  padding: 1.5rem; display: flex; flex-direction: column; height: 100%; gap: 0;
}

.mob-drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--glass-border); margin-bottom: 1.25rem;
  container-type: inline-size;
  gap: 0.5rem;
}

.mob-drawer-brand {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(0.7rem, 11cqw, 1.05rem);
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1.15;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.mob-drawer-brand em { font-style: normal; color: var(--gold-lt); }

.mob-drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  transition: all var(--t1); font-size: 0.85rem;
  flex-shrink: 0;
}

.mob-drawer-close:hover { background: var(--glass-bg2); color: var(--text-primary); }

.mob-drawer-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--glass-border);
}
.mob-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.7rem; border-radius: var(--radius-pill);
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--text-primary);
  background: var(--glass-bg); border: 1px solid var(--glass-border2);
  transition: all var(--t1); letter-spacing: 0.03em;
}
.mob-action-btn:hover { border-color: var(--gold); background: var(--gold-glow); }

.mob-action-wa { background: rgba(31,200,116,0.08); border-color: rgba(31,200,116,0.2); color: #25D366; }

.mob-action-wa:hover { background: rgba(31,200,116,0.14); }
.mob-overlay { position: fixed; inset: 0; z-index: 899;
  background: rgba(7,10,20,0.72); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: all var(--t3);
}
.mob-overlay.show { opacity: 1; visibility: visible; }

.mob-drawer-flyer {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border2);
  box-shadow: var(--sh-md);
  flex-shrink: 0;
}

.mob-drawer-flyer img {
  width: 100%;
  height: auto;
  display: block;
}

.mob-drawer .call-now-btn {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
}

.menu-sub {
  font-size: 0.85rem;
  display: block;
  margin-top: 4px;
  font-family: 'Space Mono', monospace; font-size: 0.68rem;
  color: var(--text-muted); line-height: 1.5;
}

.menu-item {
  display: block; width: 100%; text-align: left; font-family: inherit;
  background: rgba(20, 25, 40, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 14px; padding: 16px;
  margin: 10px 0; cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}

.menu-item:hover::before { opacity: 1; }
.menu-item:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(212,175,55,0.1);
  transform: translateX(4px);
}

.menu-num {
  font-size: 15px;
  color: var(--gold-lt);
  font-family: 'Space Mono', monospace;
  opacity: 0.6;
}

border-bottom: none;
background: linear-gradient(90deg, rgba(212,175,55,0.4), transparent);
height: 1px;

animation: menuItemIn 0.4s cubic-bezier(0.22,1,0.36,1) backwards;

@keyframes menuItemIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.item-header { display: flex; justify-content: space-between; align-items: center; }
.menu-num   { font-size: 15px; color: var(--text-muted); }
.menu-label { font-size: 19px; font-weight: 600; color: var(--text-primary); letter-spacing: 1px; }

.hero-section {
  min-height: 86vh; display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 2rem 2.5rem; overflow: hidden; position: relative;
}

.hero-grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 100%);
  opacity: 0.5;
}

.orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; contain: layout paint; will-change: transform; }

/* ──────────────────────────────────────────
   HERO BANNER — 5-photo crossfade slideshow
   with a sliding gold marquee and a one-time
   curtain reveal on load.
────────────────────────────────────────── */
.hero-banner {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
}

/* Subtle galaxy-style depth layer — twinkling stars + soft ambient
   glow, sitting above the darkened hero photo but well below the
   readable heading/CTA content, so it adds depth without ever
   competing with text. Transform/opacity only, so it's cheap. */
.hero-galaxy-stars {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 20%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 85% 15%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1.5px 1.5px at 25% 65%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.2px 1.2px at 70% 75%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.4px 1.4px at 92% 55%, rgba(232,200,110,0.6), transparent),
    radial-gradient(1.2px 1.2px at 8% 85%, rgba(122,159,255,0.55), transparent),
    radial-gradient(1.4px 1.4px at 55% 30%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1.2px 1.2px at 40% 90%, rgba(255,255,255,0.5), transparent);
  background-size: 100% 100%;
  animation: starTwinkle 4s ease-in-out infinite alternate;
  opacity: 0.55;
}
.hero-galaxy-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, var(--gold-glow) 0%, transparent 38%),
    radial-gradient(circle at 82% 65%, var(--blue-glow) 0%, transparent 42%);
  filter: blur(50px);
  opacity: 0.5;
  animation: heroGlowDrift 18s ease-in-out infinite;
}
@keyframes heroGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(2%, -3%) scale(1.08); }
}

.hero-banner-slides { position: absolute; inset: 0; }
.hero-banner-slide {
  position: absolute; inset: 0; opacity: 0;
  animation: heroSlideCycle 20s ease-in-out infinite backwards;
}
.hero-banner-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) brightness(0.8);
  transform: scale(1.08);
}
.hero-banner-slide:nth-child(1) { animation-delay: 0s; }
.hero-banner-slide:nth-child(2) { animation-delay: 4s; }
.hero-banner-slide:nth-child(3) { animation-delay: 8s; }
.hero-banner-slide:nth-child(4) { animation-delay: 12s; }
.hero-banner-slide:nth-child(5) { animation-delay: 16s; }
@keyframes heroSlideCycle {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  17%  { opacity: 1; }
  22%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-banner-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,10,20,0.35) 0%, rgba(7,10,20,0.55) 55%, var(--bg-base) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(7,10,20,0.05), rgba(7,10,20,0.5) 80%);
}

/* One-time curtain reveal on page load */
.hero-banner-curtain {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: var(--bg-base); z-index: 3;
}
.hero-banner-curtain--left  { left: 0;  animation: curtainOutLeft  1.1s var(--ease) 0.5s both; }
.hero-banner-curtain--right { right: 0; animation: curtainOutRight 1.1s var(--ease) 0.5s both; }
@keyframes curtainOutLeft  { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes curtainOutRight { from { transform: translateX(0); } to { transform: translateX(100%); } }

.orb-a {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(75,123,255,0.08), transparent);
  top: -100px; left: -100px; animation: orbFloat 10s ease-in-out infinite;
}
.orb-b {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07), transparent);
  bottom: -80px; right: -80px; animation: orbFloat2 13s ease-in-out infinite;
}
.orb-c {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,200,220,0.05), transparent);
  top: 40%; left: 50%; transform: translate(-50%,-50%);
  animation: orbFloat 8s ease-in-out infinite reverse;
}
@keyframes orbFloat  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
@keyframes orbFloat2 { 0%,100%{transform:scale(1)} 50%{transform:scale(1.09) translate(-12px,-12px)} }

.hero-metrics {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 4;
  animation: metricsFloat 7s ease-in-out infinite;
}
@keyframes metricsFloat {
  0%,100%{ transform: translateY(-50%); }
  50%{     transform: translateY(calc(-50% - 10px)); }
}

.metric-card {
  padding: 12px 16px; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 90px; text-align: center; box-shadow: var(--sh-md);
  transition: transform var(--t2), box-shadow var(--t2);
}
.metric-card:hover {
  transform: translateX(-4px) scale(1.04);
  box-shadow: var(--sh-lg), 0 0 0 1px var(--gold);
}
.mc-icon { font-size: 1.1rem; }
.mc-val  {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.3rem; color: var(--gold-lt); line-height: 1;
}
.mc-lbl  {
  font-family: 'Space Mono', monospace; font-size: 0.48rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}

.hero-body { position: relative; z-index: 5; max-width: 720px; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid var(--glass-border2);
  padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 1rem;
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.14em; color: var(--gold-lt); text-transform: uppercase;
}
.badge-pulse {
  width: 7px; height: 7px; background: var(--gold); border-radius: 50%;
  flex-shrink: 0; animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(201,168,76,0.55); }
  50%{     box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

.hero-h1 {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.03; letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  display: flex; flex-direction: column; gap: 0.05em;
}
.h1-word   { display: block; color: var(--text-primary); }
.h1-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.h1-muted  { color: var(--text-secondary); font-weight: 700; }
.h1-muted em { font-style: italic; color: var(--text-primary); }

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem); color: var(--text-secondary);
  max-width: 460px; margin: 0 auto 1.25rem; line-height: 1.65; font-weight: 400;
}
.hero-desc strong { color: var(--text-primary); font-weight: 600; }

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}

.hero-stats {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  background: var(--glass-bg); border: 1px solid var(--glass-border2);
  border-radius: var(--radius); backdrop-filter: blur(16px);
}
.hstat { padding: 1rem 1.5rem; text-align: center; }
.hstat-val {
  display: block; font-family: 'Syne', sans-serif;
  font-size: 1.75rem; font-weight: 800; line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hstat-lbl {
  display: block; font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px;
}
.hstat-sep { width: 1px; height: 30px; background: var(--glass-border2); flex-shrink: 0; }

.scroll-cue {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100%{ opacity:1; transform:scaleY(1); }
  50%{     opacity:0.3; transform:scaleY(0.4); }
}

.services-section { background: var(--bg-raised); }

.svc-tabs {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 3px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 4px; margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}
.svc-tab {
  font-family: 'Syne', sans-serif; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.03em; color: var(--text-secondary);
  padding: 7px 14px; border-radius: var(--radius-pill); white-space: nowrap;
  transition: color var(--t1), background var(--t1); cursor: pointer;
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 5px; background: none; border: none;
}
.svc-tab:hover { color: var(--text-primary); background: var(--glass-bg2); }
.svc-tab.active { color: var(--gold); }
.tab-emergency.active { color: var(--red); }
.tab-indicator {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  border-radius: var(--radius-pill); background: var(--bg-card); box-shadow: var(--sh-sm);
  border: 1px solid var(--glass-border2);
  transition: left 0.32s var(--ease), width 0.32s var(--ease);
  z-index: 0; pointer-events: none;
}
.tab-icon { font-size: 0.9rem; }

.svc-panels { position: relative; }
.svc-panel { animation: panelIn 0.38s var(--ease); }
.svc-panel[hidden] { display: none; }
@keyframes panelIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

.panel-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem; align-items: start; }
.panel-card {
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden;
}
.panel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--grad-gold);
}
.panel-icon { font-size: 1.9rem; }
.panel-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.1rem; color: var(--text-primary); line-height: 1.3;
}
.panel-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.75; }
.panel-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-gold); color: var(--text-inverse);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.65rem 1.2rem; border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--t2); margin-top: auto;
  box-shadow: 0 3px 14px var(--gold-glow); border: none;
}
.panel-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--gold-ring); }

.emg-panel {
  border-radius: var(--radius-xl); padding: 2rem; position: relative; overflow: hidden;
  border: 1px solid rgba(240,64,64,0.18);
}
.emg-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
}
.emg-top { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1.5rem; }
.emg-icon {
  font-size: 2.5rem; flex-shrink: 0;
  animation: emgShake 3.5s ease-in-out infinite;
}
@keyframes emgShake {
  0%,85%,100%{ transform:rotate(0); }
  88%{ transform:rotate(-10deg); }
  94%{ transform:rotate(10deg); }
  97%{ transform:rotate(-5deg); }
}
.emg-top h3 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.25rem; color: var(--text-primary); margin-bottom: 5px;
}
.emg-top p { font-size: 0.84rem; color: var(--text-secondary); }
.emg-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  list-style: none; margin-bottom: 1.75rem;
}
.emg-grid li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-secondary); padding: 0.65rem 0.9rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius);
}
.emg-grid li::before { content: '→'; color: var(--red); font-size: 0.7rem; flex-shrink: 0; }
.emg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-emg {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.82rem 1.4rem; border-radius: var(--radius-pill);
  transition: all var(--t2); box-shadow: 0 4px 18px rgba(240,64,64,0.28);
  border: none; cursor: pointer;
}
.btn-emg:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,64,64,0.4); }
.btn-emg-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #075E54; color: #fff; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.82rem 1.4rem; border-radius: var(--radius-pill);
  transition: all var(--t2); border: 1px solid rgba(37,211,102,0.2); cursor: pointer;
}
.btn-emg-wa:hover { background: #128C7E; transform: translateY(-2px); }

.about-section { background: var(--bg-base); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }

.about-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 0.85rem; }
.about-body p strong { color: var(--text-primary); font-weight: 600; }
.about-body em { color: var(--gold-lt); font-style: italic; }

.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 1.5rem; }
.cert-card {
  display: flex; align-items: center; gap: 9px;
  padding: 0.6rem 0.85rem; border-radius: var(--radius);
  font-size: 0.77rem; font-weight: 600; color: var(--text-secondary);
  transition: all var(--t2); border: 1px solid var(--glass-border);
}
.cert-card:hover { border-color: var(--gold); color: var(--text-primary); background: var(--gold-glow); }
.cert-card span:first-child { font-size: 1rem; flex-shrink: 0; }

.pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar {
  border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--grad-gold);
}
.pillar:hover { box-shadow: var(--sh-md), 0 0 0 1px rgba(201,168,76,0.15); }
.pillar-num {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: 3.2rem; color: var(--glass-border); line-height: 1;
  position: absolute; top: 0.5rem; right: 1.25rem; letter-spacing: -0.02em;
}
.pillar h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.pillar h3 strong { font-weight: 900; }
.pillar p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; }

.reviews-section { background: var(--bg-raised); }
.reviews-viewport { overflow: hidden; border-radius: var(--radius-xl); }
.reviews-track {
  display: flex; gap: 1.25rem;
  transition: transform 0.52s var(--ease); will-change: transform;
}

.review-card {
  flex: 0 0 calc(33.333% - 0.84rem); border-radius: var(--radius-xl);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden; transition: all var(--t3);
  border: 1px solid var(--glass-border);
}
.review-card::before {
  content: '\201C'; font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: 6rem; color: var(--gold); opacity: 0.06;
  position: absolute; top: -0.5rem; right: 0.75rem; line-height: 1;
}
.review-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: var(--sh-md), 0 0 0 1px var(--gold);
}

.review-top { display: flex; align-items: center; justify-content: space-between; }
.stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 2px; }
.verified-badge {
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
  background: rgba(31,200,116,0.08); border: 1px solid rgba(31,200,116,0.2);
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.review-q { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.75; font-style: italic; flex: 1; }
.review-q strong { color: var(--text-primary); font-style: normal; font-weight: 600; }
.review-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 0.75rem; border-top: 1px solid var(--glass-border);
}
.av {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.7rem; color: #fff;
}
.av-a { background: linear-gradient(135deg,#6d28d9,#a78bfa); }
.av-b { background: linear-gradient(135deg,#0e7490,#22d3ee); }
.av-c { background: linear-gradient(135deg,#c2410c,#fb923c); }
.av-d { background: linear-gradient(135deg,#065f46,#34d399); }
.av-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.84rem; color: var(--text-primary); line-height: 1.2; }
.av-loc  { font-family: 'Space Mono', monospace; font-size: 0.56rem; color: var(--text-muted); }

.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.rev-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--glass-border2);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  transition: all var(--t2); cursor: pointer;
}
.rev-arrow:hover { background: var(--gold-glow); border-color: var(--gold); color: var(--gold); }
.rev-pips { display: flex; gap: 6px; }
.pip { width: 6px; height: 6px; border-radius: 50%; background: var(--glass-border2); transition: all var(--t2); cursor: pointer; }
.pip.on { background: var(--gold); width: 18px; border-radius: 3px; }

.contact-section { background: var(--bg-base); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

.info-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 0.5rem; }
.info-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1rem; border-radius: var(--radius-lg);
  transition: all var(--t2); border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold); opacity: 0; transition: opacity var(--t2);
}
.info-card:hover {
  border-color: var(--gold); background: var(--gold-glow);
  transform: translateY(-2px); box-shadow: var(--sh-md);
}
.info-card:hover::before { opacity: 0.7; }
.info-icon {
  width: 38px; height: 38px; flex-shrink: 0; position: relative;
  background: linear-gradient(155deg, var(--bg-hover) 0%, var(--bg-input) 100%);
  border-radius: var(--radius); border: 1px solid var(--glass-border2);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.12),
    inset 0 -3px 5px rgba(0,0,0,0.3),
    0 3px 8px rgba(0,0,0,0.35);
  transition: box-shadow var(--t2), transform var(--t2);
}
.info-card:hover .info-icon {
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -3px 5px rgba(0,0,0,0.3),
    0 4px 12px var(--gold-glow), 0 0 0 1px var(--gold-ring);
  transform: translateY(-1px);
}
.info-text { flex: 1; min-width: 0; }
.info-lbl {
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
  display: block; margin-bottom: 1px;
}
.info-val {
  font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color var(--t1);
}
.info-card:hover .info-val { color: var(--text-primary); }
.info-arrow {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); background: var(--glass-bg2);
  border: 1px solid var(--glass-border2);
  transition: all var(--t2);
}
.info-card:hover .info-arrow {
  color: var(--text-inverse); background: var(--grad-gold);
  border-color: transparent; transform: translateX(3px);
  box-shadow: 0 2px 10px var(--gold-glow);
}

/* ──────────────────────────────────────────
   BOOKING & PAYMENT CARD
   Lives INSIDE the booking form itself (not a
   static sidebar panel) — each method is a real
   button that sets the hidden `payment_method`
   field, so the choice travels with the rest of
   the dispatch request. No card numbers are ever
   collected here — settlement still happens in
   person/by transfer; this only records intent.
────────────────────────────────────────── */
.payment-card {
  margin-top: 0.4rem;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-input);
  border: 1px solid var(--glass-border2);
}
.payment-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold);
}
.payment-card::after {
  content: '';
  position: absolute; top: -40%; right: -18%;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.payment-card-head {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.1rem; position: relative; z-index: 1;
}
.payment-card-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--radius);
  background: var(--gold-glow); border: 1px solid var(--gold-ring);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.payment-card-headtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.payment-card-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.94rem;
  color: var(--text-primary); line-height: 1.3;
}
.payment-card-sub {
  font-family: 'Space Mono', monospace; font-size: 0.56rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px;
}
.payment-card-badge {
  font-family: 'Space Mono', monospace; font-size: 0.5rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green); white-space: nowrap;
  background: rgba(31,200,116,0.1); border: 1px solid rgba(31,200,116,0.25);
  padding: 4px 9px; border-radius: var(--radius-pill); flex-shrink: 0; align-self: flex-start;
}
.payment-methods {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.pay-method {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0.75rem 0.5rem; border-radius: var(--radius-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: all var(--t2); text-align: center;
  cursor: pointer; position: relative; width: 100%;
}
.pay-method:hover { border-color: var(--gold); background: var(--gold-glow); transform: translateY(-2px); }
.pay-method:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-method.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
  box-shadow: 0 0 0 1px var(--gold-ring), var(--sh-sm);
}
.pay-method.selected .pay-label { color: var(--text-primary); }
.pay-method.selected::after {
  content: '✓';
  position: absolute; top: 7px; right: 9px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--grad-gold); color: var(--text-inverse);
  font-size: 0.55rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.pay-icon { font-size: 1.2rem; }
.pay-label {
  font-size: 0.62rem; font-weight: 600; color: var(--text-secondary);
  line-height: 1.3; transition: color var(--t1);
}
.pay-method:hover .pay-label { color: var(--text-primary); }
.payment-note {
  font-size: 0.72rem; color: var(--text-muted); line-height: 1.6;
  position: relative; z-index: 1;
}

.form-shell {
  border-radius: var(--radius-xl); padding: 2rem;
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.form-shell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--grad-gold);
}
.form-shell-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.form-shell-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-primary); }
.form-shell-badge {
  font-family: 'Space Mono', monospace; font-size: 0.5rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-glow); border: 1px solid var(--gold-ring);
  padding: 3px 9px; border-radius: var(--radius-pill);
}

/* ──────────────────────────────────────────
   BOOKING WIZARD — 4-step SPA-style flow
   (Details → Service → Payment → Confirm)
   inside the booking card. Steps never reflow
   the surrounding page; only the card's own
   inner content swaps, so the card itself
   stays put on screen while you move through it.
────────────────────────────────────────── */
.booking-stepper {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 1.5rem;
}
.bstep {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; min-width: 0;
  padding: 2px; transition: opacity var(--t2);
}
.bstep-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.72rem;
  color: var(--text-muted); background: var(--glass-bg);
  border: 1.5px solid var(--glass-border2);
  transition: all var(--t2);
}
.bstep-label {
  font-family: 'Space Mono', monospace; font-size: 0.46rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
  transition: color var(--t2); white-space: nowrap;
  max-width: 58px; overflow: hidden; text-overflow: ellipsis;
}
.bstep.active .bstep-num {
  background: var(--grad-gold); border-color: transparent; color: var(--text-inverse);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.bstep.active .bstep-label { color: var(--gold-lt); }
.bstep.completed .bstep-num {
  background: var(--gold-glow); border-color: var(--gold); color: var(--gold);
}
.bstep-line {
  flex: 1 1 auto; height: 1.5px; background: var(--glass-border2);
  margin-bottom: 15px; min-width: 8px; transition: background var(--t2);
}
.bstep-line.filled { background: var(--gold); }

.booking-steps-wrap { position: relative; min-height: 260px; }
.form-step { display: none; }
.form-step--active { display: block; animation: stepFadeIn 0.32s ease both; }
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 1.1rem;
}
.step-actions-spacer { flex: 1 1 auto; }
.btn-step {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.62rem 1.15rem; border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--t2); border: 1px solid var(--glass-border2);
  background: var(--glass-bg); color: var(--text-secondary);
}
.btn-step-next {
  margin-left: auto;
  background: var(--grad-gold); color: var(--text-inverse); border: none;
  box-shadow: 0 3px 14px var(--gold-glow);
}
.btn-step-next:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--gold-ring); }
.btn-step-back:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
/* Collapses smoothly while the service dropdown panel is open, so the
   date/time fields don't clutter the view while picking a service —
   reappears the moment a service is chosen (or the panel is dismissed). */
#dateTimeRow, #step2Actions {
  transition: opacity 0.25s var(--ease), max-height 0.3s var(--ease), margin 0.3s var(--ease);
  max-height: 200px;
  overflow: hidden;
}
#dateTimeRow.dt-hidden, #step2Actions.dt-hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  pointer-events: none;
}
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; min-width: 0;}
.field:last-of-type { margin-bottom: 0; }
.field label {
  font-family: 'Space Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-input); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 0.68rem 0.9rem;
  color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 16px; /* min 16px prevents iOS auto-zoom on focus */
  width: 100%; outline: none; transition: border-color var(--t1), box-shadow var(--t1);
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.field select option { background: var(--bg-card); color: var(--text-primary); }
.field textarea { height: 82px; resize: none; }

/* Real <select> kept only as the form's actual data source + native
   required/validity check — visually hidden (not display:none, so it
   still counts as "rendered" for constraint validation) and removed
   from the tab order / a11y tree since the custom listbox below is
   the control people actually see and use. */
.cs-native {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ──────────────────────────────────────────
   CUSTOM SERVICE DROPDOWN
   Replaces the native <select> so the field
   can have a properly muted placeholder, a
   readable (non-glaring) selected-value color,
   gold accents instead of the OS's blue radio
   dots, and a compact, grouped, scrollable
   panel instead of a full-screen native picker.
────────────────────────────────────────── */
.custom-select { position: relative; }
.cs-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  background: var(--bg-input); border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill); padding: 0.68rem 1.1rem;
  font-family: 'Outfit', sans-serif; font-size: 16px; /* min 16px prevents iOS auto-zoom on focus */
  cursor: pointer; transition: border-color var(--t1), box-shadow var(--t1);
}
.cs-trigger:hover { border-color: var(--gold); }
.cs-trigger[aria-expanded="true"],
.cs-trigger:focus-visible {
  border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); outline: none;
}
.cs-value {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--text-value); /* readable, not stark bright white */
  min-width: 0;
  flex: 1;
}
.cs-value.cs-placeholder { color: var(--text-muted); }
.cs-caret { flex-shrink: 0; color: var(--text-muted); transition: transform var(--t2); }
.cs-trigger[aria-expanded="true"] .cs-caret { transform: rotate(180deg); color: var(--gold); }

.cs-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  z-index: 40;
  background: var(--bg-card); border: 1px solid var(--glass-border2);
  border-radius: var(--radius-lg); box-shadow: var(--sh-lg);
  padding: 6px;
  max-height: 320px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  animation: csPanelIn 0.16s var(--ease) both;
}
.cs-panel::-webkit-scrollbar { width: 5px; }
.cs-panel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

@keyframes csPanelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cs-group + .cs-group { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--glass-border); }
.cs-group-label {
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
  padding: 6px 10px 4px;
}
.cs-option {
  display: block; width: 100%; text-align: left;
  background: none; border: none; border-radius: 8px;
  padding: 0.62rem 0.7rem; margin: 1px 0;
  font-family: 'Outfit', sans-serif; font-size: 0.83rem; line-height: 1.35;
  color: var(--text-secondary); cursor: pointer;
  transition: background var(--t1), color var(--t1);
}
.cs-option:hover { background: var(--gold-glow); color: var(--gold-lt); }
.cs-option:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.cs-option[aria-selected="true"] {
  background: var(--gold-glow); color: var(--gold-lt);
  font-weight: 600;
}
.cs-option--urgent { color: var(--red); }
.cs-option--urgent:hover { background: rgba(240,64,64,0.1); color: var(--red); }
.cs-option--urgent[aria-selected="true"] { background: rgba(240,64,64,0.14); color: var(--red); }


/* ── Validated field wrapper (checkmark indicator) ──
   Wraps Name / Email / Phone / Address inputs on the booking
   form so a green tick can fade in once the value is valid,
   without touching the shared .field input styling above. */
.field-input-wrap { position: relative; }
.field-input-wrap input {
  padding-right: 2.1rem; /* room for the checkmark so text never runs under it */
}
.field-check {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  transform: translateY(-50%) scale(0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(31,200,116,0.14);
  color: var(--green);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--spring);
}
.field-check.show { opacity: 1; transform: translateY(-50%) scale(1); }
.field-input-wrap input.field-valid { border-color: var(--green); }
.field-input-wrap input.field-valid:focus { box-shadow: 0 0 0 3px rgba(31,200,116,0.14); }

.or-divider {
  display: flex; align-items: center; gap: 0.85rem; margin: 0.9rem 0 0.7rem;
}
.or-divider::before,
.or-divider::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.or-divider span {
  font-family: 'Space Mono', monospace; font-size: 0.56rem;
  color: var(--text-muted); letter-spacing: 0.08em; white-space: nowrap;
}

.wa-btn {
  width: 100%; background: #075E54; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.75rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.84rem;
  transition: all var(--t2); border: 1px solid rgba(37,211,102,0.22); cursor: pointer;
}
.wa-btn:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.2); }
.form-privacy {
  font-family: 'Space Mono', monospace; font-size: 0.52rem;
  color: var(--text-muted); text-align: center; margin-top: 0.65rem; letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────
   MULTIMEDIA ATTACHMENTS — voice note, video,
   photos. All optional; everything is base64-
   encoded client-side and travels inside the
   same booking payload the form already sends.
────────────────────────────────────────── */
.field-optional {
  font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--text-muted); font-family: 'Outfit', sans-serif; font-size: 0.68rem;
}
.attach-field { gap: 10px; }

/* ── Collapsed-by-default attachments card — one toggle instead of
   three always-visible blocks, shortening the form. On open, the
   three attach-blocks inside reveal one after another via
   .attach-stagger + the --stagger custom property each carries. ── */
.attach-collapse {
  border: 1px solid var(--glass-border2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-hover);
  max-width: 340px;
  margin: 0 auto;
}
.attach-collapse-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
}
.attach-collapse-icon { font-size: 1.05rem; flex-shrink: 0; }
.attach-collapse-title {
  flex: 1;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
}
.attach-collapse-chevron {
  flex-shrink: 0; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-glow);
  transition: transform var(--t2), color var(--t2);
}
.attach-collapse-toggle[aria-expanded="true"] .attach-collapse-chevron {
  transform: rotate(180deg); color: var(--gold);
}
.attach-collapse-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s var(--ease), opacity 0.24s var(--ease);
  padding: 0 1rem;
}
.attach-collapse-panel.attach-panel--open {
  opacity: 1;
  padding: 0 1rem 1rem;
}
/* Staggered reveal — each block fades/slides in slightly after the
   previous one, driven by the --stagger index set inline on each. */
.attach-stagger {
  opacity: 0;
  transform: translateY(8px);
}
.attach-panel--open .attach-stagger {
  animation: attachStaggerIn 0.36s var(--ease) both;
  animation-delay: calc(var(--stagger, 0) * 0.09s);
}
@keyframes attachStaggerIn {
  to { opacity: 1; transform: translateY(0); }
}

.attach-block {
  background: var(--bg-input); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 0.75rem 0.85rem;
  margin-bottom: 8px;
  position: relative; overflow: hidden;
  transition: border-color var(--t2);
}
.attach-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold); opacity: 0.5;
}
.attach-block:focus-within { border-color: var(--glass-border2); }
.attach-block-toggle {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  padding: 0.7rem 0.85rem;
  background: none; border: none; cursor: pointer;
}
.attach-icon { font-size: 1rem; flex-shrink: 0; }
.attach-block-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.8rem;
  color: var(--text-primary); flex: 1;
}
.attach-block-hint {
  font-family: 'Space Mono', monospace; font-size: 0.48rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.attach-block-chevron {
  flex-shrink: 0; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-glow);
  transition: transform var(--t2), color var(--t2);
}
.attach-block-toggle[aria-expanded="true"] .attach-block-chevron {
  transform: rotate(180deg); color: var(--gold);
}
.attach-block-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s var(--ease), opacity 0.2s var(--ease);
  padding: 0 0.85rem;
}
.attach-block-body.attach-body--open {
  opacity: 1;
  padding: 0.15rem 0.85rem 0.9rem;
  border-top: 1px solid var(--glass-border);
}
.attach-hint {
  font-size: 0.68rem; color: var(--text-muted); line-height: 1.6; margin-top: 2px;
}

/* Voice recorder */
.voice-recorder { display: flex; align-items: center; gap: 12px; }
.voice-rec-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass-bg); border: 1.5px solid var(--glass-border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t2);
}
.voice-rec-dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--red); transition: all var(--t2);
}
.voice-rec-btn:hover { border-color: var(--red); }
.voice-rec-btn.recording {
  border-color: var(--red); background: rgba(240,64,64,0.1);
  animation: voiceRecPulse 1.4s ease-in-out infinite;
}
.voice-rec-btn.recording .voice-rec-dot { border-radius: 4px; width: 12px; height: 12px; }
@keyframes voiceRecPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(240,64,64,0.4); }
  50%     { box-shadow: 0 0 0 8px rgba(240,64,64,0); }
}
.voice-rec-time {
  font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--text-secondary);
}
.voice-preview { display: flex; align-items: center; gap: 10px; }
.voice-preview audio { flex: 1; height: 34px; }
.voice-preview audio::-webkit-media-controls-panel { background: var(--bg-input); }

/* Fallback path for when the browser/host app has no microphone
   permission — lets someone attach a voice memo recorded in their
   phone's own voice-recorder app instead. */
.voice-upload-row {
  display: flex; align-items: center; gap: 8px; margin-top: 0.6rem;
}
.or-inline {
  font-family: 'Space Mono', monospace; font-size: 0.58rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em;
}

/* Shared remove button (voice / video) */
.attach-remove {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(240,64,64,0.12); border: 1px solid rgba(240,64,64,0.3);
  color: var(--red); font-size: 0.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t1);
}
.attach-remove:hover { background: rgba(240,64,64,0.22); }

/* Pick buttons (Record / Upload / Camera / Choose Photos) */
.attach-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.attach-pick-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.72rem;
  color: var(--text-secondary);
  background: var(--glass-bg); border: 1px solid var(--glass-border2);
  padding: 0.42rem 0.8rem; border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--t2);
}
.attach-pick-btn:hover { border-color: var(--gold); color: var(--gold-lt); background: var(--gold-glow); }

/* Video preview */
.video-preview { margin-top: 0.7rem; position: relative; }
.video-preview video {
  width: 100%; max-height: 150px; border-radius: var(--radius); background: #000;
  display: block;
}
.video-preview .attach-remove, .voice-preview .attach-remove { position: static; }
.video-preview .attach-remove {
  position: absolute; top: 8px; right: 8px;
  background: rgba(7,10,20,0.72); backdrop-filter: blur(6px);
}
.attach-meta {
  font-family: 'Space Mono', monospace; font-size: 0.58rem;
  color: var(--text-muted); margin-top: 4px;
}

/* Image thumbnail grid */
.image-preview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 6px; margin-top: 0.7rem;
}
.image-preview-grid:empty { display: none; }
.img-thumb {
  position: relative; aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--glass-border);
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-thumb .attach-remove {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; font-size: 0.6rem;
  background: rgba(7,10,20,0.72); backdrop-filter: blur(6px);
}

/* Upload progress bar (shown during submission) */
.upload-progress {
  height: 4px; border-radius: 2px; background: var(--glass-border);
  overflow: hidden; margin-top: 0.6rem;
}
.upload-progress-fill {
  height: 100%; width: 0%; background: var(--grad-gold);
  transition: width 0.2s linear;
}

.site-footer {
  background: var(--bg-raised); border-top: 1px solid var(--glass-border);
  position: relative; z-index: 2; padding: 2.75rem 0 1.5rem;
  /* content-visibility removed — this section's real height varies too
     much across screen widths for a fixed contain-intrinsic-size guess
     to stay accurate, and the mismatch was causing a visible layout
     snap/jump right as it scrolled into view. Not worth the speed win. */
}
.footer-wordmark {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.5rem; letter-spacing: 0.01em; line-height: 1; color: var(--text-primary);
}
.footer-wordmark em { font-style: normal; color: var(--gold-lt); }
/* Sliding marquee so the tracked-out caption never gets clipped
   on narrow screens — same technique as the header .ticker-bar. */
.footer-tagline-wrap {
  overflow: hidden;
  max-width: 100%;
  margin: 5px 0 0.75rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.footer-tagline-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.5rem;
  animation: footerTaglineSlide 13s linear infinite;
  will-change: transform;
}
.footer-tagline-track span {
  font-family: 'Space Mono', monospace; font-size: 0.48rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap; flex-shrink: 0;
}
@keyframes footerTaglineSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.fbadge {
  font-family: 'Space Mono', monospace; font-size: 0.48rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,168,76,0.28); padding: 3px 8px; border-radius: 2px;
}
/* ──────────────────────────────────────────
   FOOTER SHOWCASE — 3 rows of plumbing-work
   photos sliding in alternating directions,
   with the wordmark overlaid in the center.
   Colors are hardcoded (not theme vars) since
   this sits on photography regardless of theme.
────────────────────────────────────────── */
.footer-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 260px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #05070D;
  box-shadow: var(--sh-lg);
}
.footer-showcase-row {
  display: flex;
  gap: 8px;
  width: max-content;
  flex: 1;
  animation: fsgSlideLeft 34s linear infinite;
  will-change: transform;
}
.footer-showcase-row--rev { animation-name: fsgSlideRight; animation-duration: 40s; }
@keyframes fsgSlideLeft  { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fsgSlideRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.fsg-tile {
  flex-shrink: 0;
  width: 220px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.fsg-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) brightness(0.62);
  transition: filter 0.4s var(--ease);
}

.footer-showcase-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0.72) 45%, rgba(5,7,13,0.55) 100%);
  pointer-events: none;
}

.footer-showcase-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 1.5rem;
  pointer-events: none;
}
.footer-showcase-caption .footer-wordmark {
  color: #F4F5FA;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.footer-showcase-caption .footer-wordmark em { color: var(--gold-lt); }
.footer-showcase-caption .footer-tagline-wrap { margin: 0; max-width: 340px; }
.footer-showcase-caption .footer-tagline-track span { color: rgba(237,240,255,0.65); }
.footer-showcase-caption .footer-badges { justify-content: center; }
.footer-showcase-caption .fbadge { color: var(--gold-lt); border-color: rgba(232,200,110,0.4); background: rgba(5,7,13,0.35); }

/* ══════════════════════════════════════════════════════
   FOOTER COMPANY-INFO ACCORDION — 11 nested glassmorphism
   cards in a clean 2-column layout (uses the existing .glass
   utility for the blur/translucency), each independently
   collapsible with a smooth scrollHeight-driven max-height
   transition (same pattern used elsewhere on the site).
   Founder's Profile lives in its own standalone spotlight
   card below the grid, not as a numbered accordion item.
═══════════════════════════════════════════════════════ */
/* Founder spotlight — compact premium card (same footprint as the original,
   slightly larger). Right-aligned on desktop, full width on phones. */
.ftr-founder-spotlight {
  display: flex; gap: 15px; align-items: center;
  max-width: 400px;
  margin: 0 0 1rem auto;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg); border-color: var(--gold-ring);
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 100% 0%, var(--gold-glow), transparent 60%), var(--glass-bg);
  transition: border-color var(--t2), box-shadow var(--t2);
}
.ftr-founder-spotlight::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold);
}
.ftr-founder-spotlight:hover { border-color: var(--gold); box-shadow: var(--sh-sm), 0 0 0 1px var(--gold-ring); }
.ftr-founder-frame {
  flex-shrink: 0; padding: 2px; border-radius: 13px; background: var(--grad-gold);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.ftr-founder-spotlight-photo {
  display: block; width: 64px; height: 96px; object-fit: cover; object-position: center top;
  border-radius: 11px; background: var(--bg-raised);
}
.ftr-founder-spotlight-text { min-width: 0; }
.ftr-founder-spotlight-name {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; line-height: 1.15;
  color: var(--text-primary);
}
.ftr-founder-spotlight-role {
  font-family: 'Space Mono', monospace; font-size: 0.56rem; margin-top: 4px;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em;
}
.ftr-founder-note {
  margin-top: 0.55rem; padding-top: 0.5rem; border-top: 1px solid var(--gold-ring);
  font-size: 0.74rem; line-height: 1.5; color: var(--text-secondary);
}
.ftr-founder-note strong { color: var(--text-primary); font-weight: 700; }

/* Newsletter — standalone centered bar */
.ftr-newsletter-bar { display: flex; justify-content: center; margin-bottom: 1.1rem; }
.ftr-newsletter { max-width: 360px; width: 100%; text-align: center; }
.ftr-newsletter-label {
  display: block; font-family: 'Space Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem;
}
.ftr-newsletter-row { display: flex; gap: 6px; }
.ftr-newsletter-input {
  flex: 1; min-width: 0; background: var(--bg-input); border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill); padding: 0.6rem 0.9rem;
  color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 16px; outline: none;
  transition: border-color var(--t1), box-shadow var(--t1);
}
.ftr-newsletter-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.ftr-newsletter-input::placeholder { color: var(--text-muted); }
.ftr-newsletter-btn {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-gold); color: var(--text-inverse); border: none; cursor: pointer;
  transition: transform var(--t2), box-shadow var(--t2); box-shadow: 0 3px 12px var(--gold-glow);
}
.ftr-newsletter-btn:hover { transform: translateX(2px) scale(1.05); box-shadow: 0 6px 18px var(--gold-ring); }
.ftr-newsletter-note {
  font-size: 0.72rem; color: var(--gold-lt); margin-top: 0.6rem; line-height: 1.5;
}

/* ── Original numbered nav row (restored) ── */
.footer-nav-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 1.25rem;
}
.footer-nav-card {
  display: flex; align-items: center; gap: 10px;
  padding: 1rem 1.1rem; border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: transform var(--t2), border-color var(--t2), box-shadow var(--t2);
  position: relative; overflow: hidden;
  box-shadow: var(--sh-sm);
}
.footer-nav-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold); opacity: 0.4; transition: opacity var(--t2);
}
.footer-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--sh-md), 0 0 0 1px var(--gold);
}
.footer-nav-card:hover::before { opacity: 1; }
.footer-nav-card:active {
  transform: translateY(-1px) scale(0.98);
  border-color: var(--gold);
}
.fnc-num {
  font-family: 'Space Mono', monospace; font-size: 0.66rem;
  color: var(--gold); letter-spacing: 0.05em; flex-shrink: 0;
}
.fnc-label {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
  color: var(--text-primary); flex: 1;
}
.fnc-arrow {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-inverse);
  background: var(--grad-gold);
  box-shadow: 0 2px 8px var(--gold-glow);
  transition: transform var(--t2), box-shadow var(--t2);
}
.footer-nav-card:hover .fnc-arrow { transform: translateX(2px) scale(1.08); box-shadow: 0 4px 14px var(--gold-ring); }
.footer-nav-card:active .fnc-arrow { transform: scale(0.94); }

@media (max-width: 640px) {
  .footer-nav-row { grid-template-columns: 1fr 1fr; }
  .fnc-label { font-size: 0.78rem; }
  .ftr-founder-spotlight { margin: 0 auto 1.5rem; max-width: 100%; }
}

.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 1.25rem; }
.footer-copy {
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.1em; color: var(--text-muted);
}

.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(7,10,20,0.85); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity var(--t3), visibility var(--t3);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--bg-card); border: 1px solid var(--glass-border2);
  border-radius: var(--radius-xl); padding: 2.25rem;
  max-width: 500px; width: 100%; position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.42s var(--spring); overflow: hidden;
}
.modal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--grad-gold);
}
.modal-overlay.open .modal-card { transform: none; }
.modal-card-sm { max-width: 380px; text-align: center; }

.modal-x {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  transition: all var(--t1); cursor: pointer;
}
.modal-x:hover { background: var(--glass-bg2); color: var(--text-primary); }

.success-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--grad-gold); color: var(--text-inverse);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin: 0 auto 1.25rem; box-shadow: 0 0 40px var(--gold-ring);
  animation: popIn 0.5s var(--spring) 0.1s both; font-weight: 700;
}
@keyframes popIn { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
.modal-card-sm h3 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem;
  color: var(--text-primary); margin-bottom: 0.4rem;
}
.modal-card-sm p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }

.fab-cluster { position: fixed; bottom: calc(var(--tabbar-total) + 1rem); right: 1.5rem; z-index: 900; display: flex; flex-direction: column; gap: 10px; align-items: center; transition: opacity var(--t2), transform var(--t2); }
/* Prevents the fixed FAB cluster from ever intercepting taps meant for the
   booking wizard's Continue/Back buttons underneath it. */
body.is-booking-view .fab-cluster { opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; }
/* The bottom-left theme toggle can sit at the same height as the booking
   form's submit button on short screens, partly covering it — fade it
   out of the way while the booking view is open, same as the FAB cluster. */
body.is-booking-view .theme-switch { opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; }
/* The footer's own "Contact" nav card sits near the same bottom-right
   corner as the fixed WhatsApp/Call bubbles — without this, the FAB's
   hit area can silently swallow taps meant for that card. */
body.is-footer-in-view .fab-cluster { opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; }
.fab {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); transition: all var(--t2); position: relative;
  text-decoration: none; cursor: pointer;
}
.fab::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0;
  animation: fabRing 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fabRing {
  0%,100%{ opacity:0; transform:scale(1); }
  50%{     opacity:0.22; transform:scale(1.28); }
}
.fab-wa   { background: #25D366; color: #fff; }
.fab-wa:hover   { transform: scale(1.12) translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
.fab-call { background: var(--grad-gold); color: var(--text-inverse); }
.fab-call:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 10px 30px var(--gold-ring); }

.theme-switch {
  position: fixed;
  bottom: calc(var(--tabbar-total) + 1rem);  /* was: 1.5rem */
  left: 1.5rem;
  z-index: 900;
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 0.5px solid var(--glass-border2);
  border-radius: var(--radius-pill); padding: 1px; box-shadow: var(--sh-sm);
  backdrop-filter: blur(8px);
  transition: opacity var(--t2), transform var(--t2);
}

.tab-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 950;
  height: var(--tabbar-h);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(7,10,20,0.94);
  border-top: 1px solid var(--glass-border2);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.tab-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif; font-size: 0.62rem; font-weight: 600;
  padding: 4px 6px; border-radius: 10px;
  transition: color var(--t1);
  flex: 1; min-width: 0;
}
.tab-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab-btn svg { transition: transform var(--t1); }
.tab-btn.active { color: var(--gold); }
.tab-btn.active svg { transform: translateY(-2px); }


.ts-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all var(--t1); color: var(--text-muted); cursor: pointer;
}
.ts-btn.active { background: var(--grad-gold); color: var(--text-inverse); box-shadow: 0 0 12px var(--gold-glow); }
.ts-btn:hover:not(.active) { background: var(--glass-bg2); color: var(--text-primary); }

:root {
  --bk-base:      #040D18;
  --bk-surface:   #071527;
  --bk-surface-2: #0C1F36;
  --bk-surface-3: #122845;
  --bk-input-bg:  #071527;
  --bk-border:    rgba(0,210,255,0.10);
  --bk-border-hi: rgba(0,210,255,0.28);
}

.card {
  margin: 22px 16px 40px;
  background: linear-gradient(160deg, #071527 0%, #040D18 100%);
  border: 1px solid var(--bk-border); border-radius: var(--r-xl);
  padding: 28px 22px; position: relative; z-index: 1; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,210,255,0.06), 0 24px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
}

.hidden { display: none !important; }

body {
  padding-top: 0;
}

.spa-view {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.spa-view--active {
  pointer-events: auto;
  visibility: visible;
}

.spa-view--home {
  position: relative;
  overflow: visible;
  z-index: 10;
  padding-top: var(--nav-total);
  padding-bottom: var(--tabbar-total);
}

.spa-view--page {
  background: var(--bg-base);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-top: var(--nav-total);
  padding-bottom: var(--tabbar-total);
}

.spa-view-inner {
  min-height: 100%;
  position: relative;
  z-index: 2;
}

@keyframes spaEnterRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spaEnterLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spaExitLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-48px); }
}
@keyframes spaExitRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(48px); }
}

.spa-view--enter-right { animation: spaEnterRight 0.17s cubic-bezier(0.22,1,0.36,1) both; }
.spa-view--enter-left  { animation: spaEnterLeft  0.17s cubic-bezier(0.22,1,0.36,1) both; }
.spa-view--exit-left   { animation: spaExitLeft   0.12s cubic-bezier(0.4,0,1,1)    both; }
.spa-view--exit-right  { animation: spaExitRight  0.12s cubic-bezier(0.4,0,1,1)    both; }

.spa-view-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.75rem 0.5rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.spa-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  transition: all var(--t2);
  flex-shrink: 0;
}
.spa-back-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-glow);
}
.spa-back-btn svg {
  transition: transform var(--t1);
}
.spa-back-btn:hover svg {
  transform: translateX(-3px);
}

.spa-view-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex: 1;
}

.spa-quicknav-section {
  padding-top: 0;
  padding-bottom: 2rem;
}
/* ──────────────────────────────────────────
   INSTANT QUOTE ESTIMATOR
────────────────────────────────────────── */

.estimator-section { padding-top: 0.5rem; padding-bottom: 1.5rem; }
.estimator-card {
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  position: relative;
  border: 1px solid var(--glass-border2);
}
.estimator-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.estimator-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
/* Compact dropdown sizing for the estimator specifically — smaller
   than the booking form's version per request (reduced height/width),
   reusing the same .cs-trigger/.cs-panel component so it opens as an
   anchored dropdown instead of the browser's native full-screen picker. */
.est-select .cs-trigger { padding: 0.55rem 0.8rem; font-size: 0.85rem; }
.est-select .cs-panel { max-height: 320px; }
.est-select .cs-option { padding: 0.5rem 0.6rem; font-size: 0.8rem; }

.estimator-result {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  animation: stepFadeIn 0.32s ease both;
}
.estimator-result-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.estimator-result-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.5rem;
}
.estimator-result-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 1rem;
}
.cs-trigger.est-shake { animation: estShake 0.4s var(--ease); border-color: var(--red) !important; }
@keyframes estShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.spa-quicknav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

/* ──────────────────────────────────────────
   GALLERY BANNER — enlarged, full-bleed photo
   band with a dark scrim and the title/CTA
   overlaid on top (same visual idea as the
   footer showcase band, but with a static grid
   of photos instead of a sliding animation —
   zero ongoing CPU/GPU cost). The whole banner
   is a <button data-view="gallery">, so tapping
   anywhere on it opens the Gallery view.
────────────────────────────────────────── */
.gallery-banner {
  display: block;
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 260px;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-top: 1rem;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  padding: 0;
  
  /* content-visibility removed — height drops to 210px on mobile via
     media query below, which no longer matched the fixed 260px
     contain-intrinsic-size guess and caused a scroll-jump right as
     this banner came into view. Not worth the speed win. */
}
.gallery-banner:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }

.gallery-banner-photos {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-banner-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.62);
  transition: filter 0.4s var(--ease), transform 0.5s var(--ease);
}
.gallery-banner:hover .gallery-banner-photos img { filter: saturate(0.85) brightness(0.7); transform: scale(1.04); }

.gallery-banner-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0.72) 45%, rgba(5,7,13,0.55) 100%);
}

.gallery-banner-caption {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.5rem;
}
.gallery-banner-icon { font-size: 1.9rem; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); }
.gallery-banner-title {
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: #F4F5FA;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.gallery-banner-sub {
  font-size: 0.85rem;
  color: rgba(237,240,255,0.72);
  max-width: 380px;
  line-height: 1.6;
}
.gallery-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--grad-gold);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 14px rgba(0,0,0,0.4);
  transition: transform var(--t2), box-shadow var(--t2);
}
.gallery-banner-arrow { transition: transform var(--t2); }
.gallery-banner:hover .gallery-banner-cta { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
.gallery-banner:hover .gallery-banner-arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .gallery-banner { height: 210px; }
  .gallery-banner-sub { font-size: 0.76rem; }
  .gallery-banner-cta { font-size: 0.7rem; padding: 0.5rem 1rem; }
}
.spa-qcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem 1.3rem;
  border-radius: 24px;
  cursor: pointer;
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2), background var(--t2);
  border: 1.5px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.spa-qcard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold);
  opacity: 0.5;
  transition: opacity var(--t2);
}
.spa-qcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 0 28px var(--gold-glow), 0 0 0 1px var(--gold);
  border-color: var(--gold);
  background: var(--glass-bg2);
}
.spa-qcard:hover::before { opacity: 1; }
.spa-qcard:active {
  transform: translateY(-2px) scale(0.98);
  border-color: var(--gold);
  box-shadow: var(--sh-md), 0 0 0 1px var(--gold);
}

.spa-qcard-icon {
  font-size: 1.45rem;
  display: block;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 2px 6px var(--gold-glow));
}
.spa-qcard-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--text-primary);
  display: block;
  letter-spacing: 0.01em;
}
.spa-qcard-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  padding-right: 1.8rem; /* keep clear of the arrow badge */
}
/* Always-visible circular arrow badge — the primary "this is a button"
   signal, since hover-only affordances are invisible on touch devices. */
.spa-qcard-arrow {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--text-inverse);
  background: var(--grad-gold);
  box-shadow: 0 2px 10px var(--gold-glow);
  opacity: 1;
  transform: translateX(0);
  transition: transform var(--t2), box-shadow var(--t2);
}
.spa-qcard:hover .spa-qcard-arrow {
  transform: translateX(2px) scale(1.1);
  box-shadow: 0 4px 16px var(--gold-ring);
}
.spa-qcard:active .spa-qcard-arrow { transform: scale(0.94); }

.spa-view--home .side-dots { display: flex; }

.spa-view--page .section:first-of-type {
  padding-top: 1rem;
}

.spa-view--page .services-section {
  background: transparent;
}
/* ──────────────────────────────────────────
   SERVICE-ITEM GALAXY GRID (4 across, always)
   Moved in from an inline <style> block so it
   lives with the rest of the stylesheet. The
   grid stays 4-columns "side by side" at every
   width per the client's request — instead of
   collapsing to 2 or 1 columns, cards shrink.
────────────────────────────────────────── */
.svc-galaxy-wrap{
  position:relative;
  margin-top:28px;
  padding:32px 26px 30px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--glass-border);
  background:var(--bg-base);
  isolation:isolate;
}
.svc-galaxy-bg{
  position:absolute;
  inset:-60%;
  z-index:0;
  pointer-events:none;
  /* Recolored to the site's own gold / navy-blue palette (was purple/teal/pink) */
  background:
    radial-gradient(circle at 18% 25%, var(--gold-glow) 0%, transparent 42%),
    radial-gradient(circle at 82% 20%, var(--blue-glow) 0%, transparent 44%),
    radial-gradient(circle at 30% 80%, var(--gold-glow) 0%, transparent 46%),
    radial-gradient(circle at 78% 78%, var(--blue-glow) 0%, transparent 46%),
    conic-gradient(from 0deg at 50% 50%, var(--bg-base) 0%, var(--bg-raised) 30%, var(--bg-base) 55%, var(--bg-raised) 80%, var(--bg-base) 100%);
  filter:blur(70px) saturate(1.3);
  animation:galaxySpin 50s linear infinite;
  transform-origin:center;
}
.svc-galaxy-stars{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.2px 1.2px at 32% 62%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.6px 1.6px at 52% 30%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 68% 78%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1.6px 1.6px at 82% 15%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 90% 55%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.6px 1.6px at 8%  85%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.2px 1.2px at 45% 92%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.4px 1.4px at 60% 5%,  rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 22% 40%, rgba(255,255,255,0.7), transparent);
  background-size:100% 100%;
  animation:starTwinkle 3.2s ease-in-out infinite alternate;
  opacity:0.9;
}
.svc-galaxy-stars--far{
  background-size:140% 140%;
  background-position:20% 30%;
  opacity:0.45;
  animation:starTwinkle 4.6s ease-in-out infinite alternate-reverse, starDrift 70s linear infinite;
  filter:blur(0.3px);
}
@keyframes galaxySpin{
  from{ transform:rotate(0deg) scale(1); }
  50%{ transform:rotate(180deg) scale(1.08); }
  to{ transform:rotate(360deg) scale(1); }
}
@keyframes starTwinkle{
  from{ opacity:0.35; }
  to{ opacity:1; }
}
@keyframes starDrift{
  from{ background-position:0% 0%; }
  to{ background-position:100% 100%; }
}

.svc-item-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}
.svc-item-btn{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  width:100%;
  min-height:200px;
  text-align:left;
  padding:24px 20px 20px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(14,16,28,0.62);
  backdrop-filter:blur(10px);
  cursor:pointer;
  overflow:hidden;
  font-family:inherit;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.svc-item-btn::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:0;
  background:linear-gradient(160deg, var(--sib-accent, #C8A44A) 0%, transparent 60%);
  transition:opacity .22s ease;
  pointer-events:none;
}
.svc-item-btn:hover, .svc-item-btn:focus-visible{
  transform:translateY(-4px);
  border-color:var(--sib-accent, #C8A44A);
  box-shadow:0 10px 28px -12px var(--sib-accent, #C8A44A);
}
.svc-item-btn:hover::before, .svc-item-btn:focus-visible::before{ opacity:0.12; }
.svc-item-btn:active{ transform:translateY(-1px) scale(0.99); }

.svc-item-icon{
  flex:0 0 auto;
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:11px;
  font-size:1.1rem;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.06) 0%, transparent 45%),
    var(--sib-icon-bg, rgba(200,164,74,0.15));
  box-shadow:
    0 0 0 1px var(--sib-accent, #C8A44A) inset,
    inset 0 1px 1px rgba(255,255,255,0.14),
    inset 0 -3px 5px rgba(0,0,0,0.28),
    0 3px 8px rgba(0,0,0,0.3);
  transition: transform .22s ease, box-shadow .22s ease;
}
.svc-item-btn:hover .svc-item-icon{ transform: translateY(-1px) scale(1.03); }
.svc-item-text{
  flex:1 1 auto;
  font-size:1rem;
  line-height:1.4;
  color:#E8E9F0;
  font-weight: 500;
}
.svc-item-arrow{
  position:absolute;
  top:18px; right:18px;
  width:28px; height:28px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background:linear-gradient(155deg, rgba(255,255,255,0.3), transparent 60%), var(--sib-accent, #C8A44A);
  color:#0a0d16;
  font-size:0.75rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), inset 0 1px 1px rgba(255,255,255,0.35);
  transform:translateX(0);
  transition:transform .22s ease, box-shadow .22s ease;
}
.svc-item-btn:hover .svc-item-arrow{ transform:translateX(3px); box-shadow: 0 4px 12px var(--sib-accent, #C8A44A), inset 0 1px 1px rgba(255,255,255,0.35); }

/* Eight rotating accent themes for visual variety */
.svc-item-btn--01{ --sib-accent:#C8A44A; --sib-icon-bg:rgba(200,164,74,0.16); }
.svc-item-btn--02{ --sib-accent:#4AC8C0; --sib-icon-bg:rgba(74,200,192,0.16); }
.svc-item-btn--03{ --sib-accent:#8A7CF0; --sib-icon-bg:rgba(138,124,240,0.16); }
.svc-item-btn--04{ --sib-accent:#F0708A; --sib-icon-bg:rgba(240,112,138,0.16); }
.svc-item-btn--05{ --sib-accent:#6FCF97; --sib-icon-bg:rgba(111,207,151,0.16); }
.svc-item-btn--06{ --sib-accent:#F0A860; --sib-icon-bg:rgba(240,168,96,0.16); }
.svc-item-btn--07{ --sib-accent:#5CA8F0; --sib-icon-bg:rgba(92,168,240,0.16); }
.svc-item-btn--08{ --sib-accent:#E0C860; --sib-icon-bg:rgba(224,200,96,0.16); }

/* ──────────────────────────────────────────
   GALLERY VIEW — portfolio grid
   Each card is a photo + a "Request a Quote for
   This" button that pre-fills the booking form's
   message field with a reference to that project.
────────────────────────────────────────── */

.gallery-view-section { padding-top: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  box-shadow: var(--sh-sm);
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2);
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--sh-md), 0 0 0 1px var(--gold);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gallery-item-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.gallery-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--grad-gold);
  border: none;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--t2), box-shadow var(--t2);
  box-shadow: 0 3px 12px var(--gold-glow);
  width: 100%;
}
.gallery-quote-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--gold-ring); }
.gallery-quote-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item-title { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce){
  .svc-galaxy-bg, .svc-galaxy-stars, .svc-galaxy-stars--far,
  .gallery-strip-galaxy-bg, .gallery-strip-galaxy-stars, .gallery-strip-galaxy-stars--far,
  .gallery-strip-galaxy-comet, .hero-galaxy-stars, .hero-galaxy-glow{ animation:none; }
  .orb, .badge-pulse, .status-dot, .ticker-inner, .hero-banner-slide,
  .footer-showcase-row, .footer-tagline-track,
  .scroll-line, .emg-icon { animation: none !important; }
}

/* Decorative, always-on animations add up on a phone's battery/CPU for
   zero benefit while the tab isn't even visible — pause them the same
   way the particle canvas already pauses itself. */

body.is-tab-hidden .orb,
body.is-tab-hidden .badge-pulse,
body.is-tab-hidden .status-dot,
body.is-tab-hidden .ticker-inner,
body.is-tab-hidden .hero-banner-slide,
body.is-tab-hidden .footer-showcase-row,
body.is-tab-hidden .footer-tagline-track,
body.is-tab-hidden .svc-galaxy-bg,
body.is-tab-hidden .svc-galaxy-stars,
body.is-tab-hidden .svc-galaxy-stars--far,
body.is-tab-hidden .gallery-strip-galaxy-bg,
body.is-tab-hidden .gallery-strip-galaxy-stars,
body.is-tab-hidden .gallery-strip-galaxy-stars--far,
body.is-tab-hidden .gallery-strip-galaxy-comet,
body.is-tab-hidden .hero-galaxy-stars,
body.is-tab-hidden .hero-galaxy-glow {
  animation-play-state: paused;
}

@media (max-width: 1024px) {
  .panel-grid { grid-template-columns: 1fr; }
  .emg-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 calc(50% - 0.63rem); }
}

@media (max-width: 900px) {
  .desk-nav { display: none; }
  .nav-right .status-pill { display: none; }
  .ham { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .side-dots { display: none; }
  .hero-metrics { display: none; }
  .review-card { flex: 0 0 100%; }
  .spa-quicknav-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cards stay full-size and "side by side" — the row scrolls horizontally
     instead of shrinking the cards down to fit 4 columns in less width. */
 
  .svc-item-grid {
    grid-template-columns: unset;
    grid-auto-flow: column;
    grid-auto-columns: 230px;
overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    scrollbar-width: none;
  }
  .svc-item-grid::-webkit-scrollbar { display: none; }
  .svc-item-btn { scroll-snap-align: start; min-height: 190px; }
  .svc-galaxy-wrap { padding: 24px 16px 20px; }
  .payment-methods { gap: 6px; }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-section {
  min-height: auto;
  padding: 1.1rem 1.0rem 2rem;
}
  .attach-block { padding: 0.7rem 0.75rem; }
  .attach-pick-btn { font-size: 0.68rem; padding: 0.45rem 0.8rem; }
  .image-preview-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .video-preview video { max-height: 180px; }
  .hero-stats { flex-wrap: nowrap; width: 100%; justify-content: space-between; }
  .hstat { padding: 0.7rem 0.5rem; flex: 1 1 0; }
  .hstat-val { font-size: 1.25rem; }
  .hstat-lbl { font-size: 0.38rem; letter-spacing: 0.08em; }
  .hstat-sep { width: 1px; height: 22px; }
  .footer-showcase { height: 190px; }
  .fsg-tile { width: 150px; }

  .form-shell { padding: 1.25rem; max-width: 100%; }
  .booking-stepper { gap: 2px; margin-bottom: 1.1rem; }
  .bstep-num { width: 22px; height: 22px; font-size: 0.62rem; }
  .bstep-label { font-size: 0.4rem; }
  .bstep-line { margin-bottom: 12px; }
  .booking-steps-wrap { min-height: 230px; }
  .btn-step { padding: 0.56rem 0.9rem; font-size: 0.7rem; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
  .field { gap: 4px; margin-bottom: 8px; }
  .field label { font-size: 0.46rem; }
  .field input,
  .field select,
  .field textarea { padding: 0.55rem 0.7rem; font-size: 16px; } /* min 16px prevents iOS auto-zoom on focus */
  .field-input-wrap input { padding-right: 1.8rem; }
  .field-check { width: 15px; height: 15px; right: 0.55rem; }
  .field textarea { height: 56px; }
  .form-shell-head { margin-bottom: 1rem; }
  .or-divider { margin: 0.65rem 0 0.5rem; }
  .btn-primary.btn-block { padding: 0.68rem 1.5rem; margin-top: 0.6rem; }
  .wa-btn { padding: 0.6rem; }
  .form-privacy { margin-top: 0.45rem; }
  .fab-cluster { bottom: calc(var(--tabbar-total) + 0.75rem); right: 1.25rem; }
  .theme-switch { bottom: calc(var(--tabbar-total) + 0.75rem); left: 1.25rem; }
  .cert-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas > * { justify-content: center; }
  .svc-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .emg-actions { flex-direction: column; }
  .btn-emg, .btn-emg-wa { justify-content: center; }
  .svc-item-grid { grid-auto-columns: 200px; gap: 12px; }
  .svc-item-btn { min-height: 176px; padding: 18px 16px 14px; gap: 10px; border-radius: 16px; }
  .svc-item-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 10px; }
  .svc-item-text { font-size: 0.86rem; line-height: 1.32; }
  .svc-item-arrow { width: 24px; height: 24px; font-size: 0.68rem; top: 14px; right: 14px; }
  .svc-galaxy-wrap { padding: 18px 12px 16px; border-radius: 20px; }
  .payment-methods { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .pay-method { padding: 0.6rem 0.3rem; }
  .pay-icon { font-size: 1.1rem; }
  .pay-label { font-size: 0.58rem; }
  .payment-card { padding: 1.1rem 1rem 1.2rem; }
}

@media (max-width: 400px) {
  .nav-bar { padding: 0 1rem; }
  .logo-name { font-size: clamp(0.8rem, 5vw, 1.05rem); }
  .logo-mark { width: 44px; height: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .bstep-label { display: none; }
}

@media (max-width: 540px) {
  .spa-quicknav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .spa-qcard {
    padding: 0.95rem 0.9rem;
  }
  .spa-qcard-icon { font-size: 1.3rem; }
  .spa-view-header {
    padding: 0.75rem 1rem 0.25rem;
  }
}

@media (max-width: 360px) {
  .spa-quicknav-grid { grid-template-columns: 1fr; }
  .svc-item-grid { grid-auto-columns: 178px; gap: 10px; }
  .svc-item-btn { min-height: 160px; padding: 15px 13px 12px; border-radius: 14px; }
  .svc-item-text { font-size: 0.78rem; }
}

/* ══════════════════════════════════════════════════════════════════
   FEMIX WEB DEV — endless promo slider  (.wd-ads)
   Occupies exactly the band the home view reserves under the fixed
   header (padding-top: --nav-total): negative margin pulls it into
   that padding, height = --nav-total, so nothing below it moves.
   Cards keep their own dark/gold look in BOTH themes (like exchange
   promo banners). Motion is transform-only; pauses on hover/touch and
   when the tab is hidden; static + swipe-scrollable for reduced motion.
   To remove: delete this block, the <aside id="wdAds"> and its <script>.
══════════════════════════════════════════════════════════════════ */
.wd-ads {
  position: relative; z-index: 6;
  height: var(--nav-total); margin-top: calc(-1 * var(--nav-total));
  display: flex; align-items: center;
}
.wd-ads-viewport {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.wd-ads-track {
  display: flex; width: max-content; will-change: transform;
  animation: wdSlide 48s linear infinite;
}
@keyframes wdSlide { to { transform: translateX(-50%); } }
.wd-ads:hover .wd-ads-track,
.wd-ads:focus-within .wd-ads-track,
.wd-ads:active .wd-ads-track,
body.is-tab-hidden .wd-ads-track { animation-play-state: paused; }

.wd-card {
  --wd-glow: rgba(75,123,255,0.55);
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: 430px; height: calc(var(--nav-total) - 20px); margin-right: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 12px 0 18px; border-radius: 16px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: var(--wd-bg, linear-gradient(120deg, #0B1A3F, #1B3A8C));
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform var(--t2), box-shadow var(--t2);
}
.wd-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.45); }
.wd-card:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.wd-card::before {            /* glow orb, top-right */
  content: ''; position: absolute; right: -36px; top: -50px; width: 190px; height: 190px;
  background: radial-gradient(circle, var(--wd-glow), transparent 66%); pointer-events: none;
}
.wd-card::after {             /* "</>" watermark */
  content: '</>'; position: absolute; right: 112px; bottom: -14px;
  font: 700 3.9rem/1 'Space Mono', monospace; letter-spacing: -0.08em;
  color: #fff; opacity: 0.08; pointer-events: none;
}
.wd-card--1 { --wd-bg: linear-gradient(120deg, #0B1A3F 0%, #1B3A8C 100%); --wd-glow: rgba(122,159,255,0.6); }
.wd-card--2 { --wd-bg: linear-gradient(120deg, #17110A 0%, #4A3510 100%); --wd-glow: rgba(232,200,110,0.55); }
.wd-card--3 { --wd-bg: linear-gradient(120deg, #06231D 0%, #0B5A45 100%); --wd-glow: rgba(31,200,116,0.5); }

.wd-card-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wd-card-brand {
  display: flex; align-items: center; gap: 7px;
  font: 400 0.52rem/1 'Space Mono', monospace; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-lt);
}
.wd-card-brand::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lt); box-shadow: 0 0 8px var(--gold-lt); }
.wd-card-head { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.98rem; line-height: 1.16; color: #fff; }
.wd-card-head em { font-style: normal; color: #F5D990; }

.wd-card-btn {
  position: relative; z-index: 1; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 0.55rem 0.85rem; border-radius: var(--radius-pill);
  background: var(--grad-gold); color: #0E111E; white-space: nowrap;
  font: 700 0.6rem/1 'Syne', sans-serif; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}

@media (max-width: 640px) {
  .wd-card { width: 82vw; max-width: 340px; padding: 0 10px 0 14px; gap: 10px; }
  .wd-card-head { font-size: 0.86rem; }
  .wd-card::after { right: 96px; font-size: 3.2rem; }
}
@media (max-width: 380px) {
  .wd-card { width: 86vw; }
  .wd-card-btn { padding: 0.5rem 0.65rem; font-size: 0.55rem; }
  .wd-card-btn svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-ads-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .wd-ads-viewport::-webkit-scrollbar { display: none; }
  .wd-ads-track { animation: none !important; transform: none !important; }
}


/* ==========================================================
   FEMIX — Services view, premium redesign (override layer)
   Load AFTER style-dev.css. Scoped to #view-services only.
   Direction: one gold accent, quiet surfaces, real hierarchy.
   ========================================================== */

#view-services {
  --sv-line: rgba(232, 200, 110, 0.14);
  --sv-line-strong: rgba(232, 200, 110, 0.42);
  --sv-surface: rgba(255, 255, 255, 0.028);
  --sv-surface-hover: rgba(232, 200, 110, 0.07);
}

/* ── Header: quiet back link, page title de-emphasised ── */
#view-services .spa-back-btn {
  background: transparent;
  border-color: var(--sv-line);
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
  font-size: 0.82rem;
}
#view-services .spa-view-title { display: none; }

/* ── Intro ── */
#view-services .sec-eyebrow { display: none; }
#view-services .sec-h2 {
  font-size: clamp(1.9rem, 6.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 16ch;
}
#view-services .sec-h2 .g-gold { display: block; margin-top: 0.15em; font-weight: 700; }
#view-services .sec-h2 strong { font-weight: inherit; }
#view-services .sec-lead {
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
#view-services .sec-lead strong { font-weight: 600; color: var(--text-primary); }

/* ── Tabs: underline rail, no pill box ── */
#view-services .svc-tabs {
  gap: 1.75rem;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--sv-line);
  border-radius: 0;
  backdrop-filter: none;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
#view-services .svc-tabs::-webkit-scrollbar { display: none; }
#view-services .svc-tab {
  padding: 0.9rem 0;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
  background: none;
}
#view-services .svc-tab:hover { background: none; color: var(--text-primary); }
#view-services .svc-tab.active { color: var(--gold-lt); }
#view-services .tab-icon { display: none; }
#view-services .tab-emergency.active { color: var(--red); }
#view-services .tab-indicator {
  top: auto; bottom: -1px; height: 2px;
  background: var(--grad-gold);
  border: 0; border-radius: 2px; box-shadow: none;
}

/* ── Category card: flat, editorial, no boxed glass ── */
#view-services .panel-grid { display: block; }
#view-services .panel-card {
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  gap: 1rem;
  overflow: visible;
  flex-direction: column;
  align-items: flex-start;
}
#view-services .panel-card::before { display: none; }
#view-services .panel-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--sv-line-strong);
  background: linear-gradient(160deg, rgba(232,200,110,0.16), rgba(232,200,110,0.02));
}
#view-services .panel-card h3 {
  font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  letter-spacing: -0.015em;
  font-weight: 700;
}
#view-services .panel-card > p {
  font-size: 0.98rem;
  max-width: 52ch;
  line-height: 1.7;
}
#view-services .panel-cta {
  margin-top: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 700;
  box-shadow: 0 8px 24px -10px var(--gold-ring);
}

/* ── Service list: drop the "galaxy", show a calm grid ── */
#view-services .svc-galaxy-bg,
#view-services .svc-galaxy-stars { display: none; }
#view-services .svc-galaxy-wrap {
  width: 100%;
  margin-top: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
#view-services .svc-item-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sv-line);              /* hairlines between cells */
  border: 1px solid var(--sv-line);
  border-radius: 20px;
  overflow: hidden;
}
#view-services .svc-item-btn {
  --sib-accent: var(--gold-lt);
  --sib-icon-bg: transparent;
  min-height: 176px;
  padding: 22px 20px;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: var(--bg-raised);
  backdrop-filter: none;
  transition: background .25s ease;
}
#view-services .svc-item-btn::before { display: none; }
#view-services .svc-item-btn:hover,
#view-services .svc-item-btn:focus-visible {
  transform: none;
  box-shadow: none;
  background: var(--sv-surface-hover);
}
#view-services .svc-item-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
#view-services .svc-item-icon {
  width: 44px; height: 44px;
  font-size: 1.15rem;
  border-radius: 12px;
  background: var(--sv-surface);
  box-shadow: inset 0 0 0 1px var(--sv-line);
}
#view-services .svc-item-btn:hover .svc-item-icon {
  transform: none;
  box-shadow: inset 0 0 0 1px var(--sv-line-strong);
}
#view-services .svc-item-text {
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 20ch;
}
#view-services .svc-item-arrow {
  top: 20px; right: 18px;
  width: 30px; height: 30px;
  background: none;
  color: var(--gold-lt);
  box-shadow: inset 0 0 0 1px var(--sv-line);
  font-size: 0.8rem;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
#view-services .svc-item-btn:hover .svc-item-arrow {
  transform: none;
  background: var(--gold-lt);
  color: #0a0d16;
  box-shadow: none;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  #view-services .svc-item-grid {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    padding: 0;
    scroll-snap-type: none;
  }
}

/* ── Phone: full-width rows, everything visible, no hidden swiping ── */
@media (max-width: 640px) {
  #view-services .svc-item-grid { grid-template-columns: 1fr; border-radius: 18px; }
  #view-services .svc-item-btn {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    padding: 16px 16px;
    gap: 14px;
  }
  #view-services .svc-item-text { flex: 1; max-width: none; font-size: 0.95rem; }
  #view-services .svc-item-arrow { position: static; flex: 0 0 auto; }
  #view-services .panel-cta { width: 100%; justify-content: center; }
  #view-services .svc-tabs { gap: 1.4rem; }
}

/* ── Light theme ── */
[data-theme="light"] #view-services {
  --sv-line: rgba(106, 68, 8, 0.16);
  --sv-line-strong: rgba(106, 68, 8, 0.4);
  --sv-surface: rgba(106, 68, 8, 0.04);
  --sv-surface-hover: rgba(138, 92, 16, 0.08);
}
[data-theme="light"] #view-services .svc-tab.active { color: var(--gold); }
[data-theme="light"] #view-services .svc-item-arrow { color: var(--gold); }
[data-theme="light"] #view-services .svc-item-btn:hover .svc-item-arrow { background: var(--gold); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  #view-services * { transition: none !important; }
}

/* ── Payment step: Naira badge + method details ── */
.pay-icon--naira { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--gold-lt); }
.pay-amount { margin: 1rem 0 0; }
.pay-lbl { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.4rem; }
.pay-amount-input, .pay-select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px; font: inherit; font-size: 1rem;
  color: var(--text-primary); background: var(--glass-bg); border: 1px solid var(--glass-border2);
}
.pay-amount-input:focus, .pay-select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.pay-details { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--glass-bg); }
.pay-details:empty { display: none; }
.pay-msg { font-size: 0.86rem; line-height: 1.6; color: var(--text-secondary); margin: 0.6rem 0 0; }
.pay-details > .pay-msg:first-child { margin-top: 0; }
.pay-bank { margin: 0; display: grid; gap: 0.6rem; }
.pay-bank div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pay-bank dt { font-size: 0.78rem; color: var(--text-muted); }
.pay-bank dd { margin: 0; font-weight: 600; color: var(--text-primary); text-align: right; }
.pay-copy, .pay-dial {
  margin-left: 0.5rem; padding: 0.3rem 0.8rem; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-size: 0.75rem; font-weight: 700; color: var(--text-inverse); background: var(--grad-gold); border: 0;
}
.pay-code { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.8rem; }
.pay-code code { font-size: 1.05rem; font-weight: 700; color: var(--gold-lt); word-break: break-all; }

/* ── Mobile stability: stop the booking form from overflowing ──
   The two-column rows (1fr 1fr) let inputs push the layout wider than the
   screen, and the browser then zooms the page to compensate. minmax(0,1fr)
   + min-width:0 keep every column inside the screen. Pinch-zoom stays
   available — nothing here disables it. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
.form-shell, .booking-steps-wrap, .form-step, .form-row, .field-input-wrap { min-width: 0; max-width: 100%; }
.form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; font-size: 16px; }
@media (max-width: 359px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Step labels were clipped ("PAYMEN") */
.bstep { flex: 0 0 auto; }
.bstep-label { max-width: none; overflow: visible; text-overflow: clip; letter-spacing: 0.05em; }

/* ── Keyboard open: leave room so the focused field can scroll into view ── */
.spa-view--page {
  padding-bottom: calc(var(--tabbar-total) + var(--kb, 0px));
  scroll-padding-bottom: calc(var(--kb, 0px) + 96px);
}
body.kb-open .tab-bar,
body.kb-open .fab-cluster { display: none; }

/* ══════════════════════════════════════════════════════
   SERVICES — motion + "indexed spotlight" list
   ══════════════════════════════════════════════════════ */

/* Intro heading: words slide up out of a mask; gold line shimmers */
#view-services .sec-h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin-bottom: -.14em; }
#view-services .sec-h2 .wi { display: inline-block; }
#view-services .sec-h2 .g-gold { background: none; -webkit-text-fill-color: initial; }
#view-services .sec-h2 .g-gold .wi {
  background: var(--grad-gold); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
#view-services.txt-anim .sec-h2 .wi { transform: translateY(115%); }
#view-services.txt-anim.intro-play .sec-h2 .wi {
  animation: svWordUp .9s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(var(--d) * 80ms);
}
#view-services.txt-anim.intro-play .sec-h2 .g-gold .wi {
  animation: svWordUp .9s cubic-bezier(.16,1,.3,1) both, svShimmer 6s ease-in-out infinite;
  animation-delay: calc(var(--d) * 80ms), 1.6s;
}
@keyframes svWordUp { from { transform: translateY(115%); } to { transform: none; } }
@keyframes svShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Lead paragraph: words fade in, blur to sharp */
#view-services .sec-lead .lw { display: inline-block; }
#view-services.txt-anim .sec-lead .lw { opacity: 0; filter: blur(6px); transform: translateY(10px); }
#view-services.txt-anim.intro-play .sec-lead .lw {
  animation: svFade .7s ease both;
  animation-delay: calc(.55s + var(--d) * 30ms);
}
@keyframes svFade { from { opacity: 0; filter: blur(6px); transform: translateY(10px); } to { opacity: 1; filter: none; transform: none; } }
#view-services.txt-anim.intro-play .spa-back-btn { animation: svSlideIn .6s cubic-bezier(.16,1,.3,1) both; }
@keyframes svSlideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* Service rows: numbered index, spotlight that follows the finger, staggered reveal */
#view-services .svc-item-grid { counter-reset: svc; }
#view-services .svc-item-btn { counter-increment: svc; position: relative; overflow: hidden; }
#view-services .svc-item-btn::before {
  all: unset; display: block; pointer-events: none;
  content: counter(svc, decimal-leading-zero);
  font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .14em;
  color: var(--gold-lt); opacity: .85; min-width: 1.9rem;
}
#view-services .svc-item-btn:hover,
#view-services .svc-item-btn.is-lit {
  background-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(232,200,110,.14), transparent 70%);
  box-shadow: inset 3px 0 0 var(--gold);
}
#view-services .svc-item-btn:hover .svc-item-arrow,
#view-services .svc-item-btn.is-lit .svc-item-arrow { transform: translateX(3px); background: var(--gold-lt); color: #0a0d16; box-shadow: none; }
#view-services .svc-item-btn:active { transform: scale(.985); }
#view-services.svc-anim .svc-item-btn {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1), background .25s ease, box-shadow .25s ease;
}
#view-services.svc-anim .svc-item-btn.in { opacity: 1; transform: none; }
#view-services.svc-anim .svc-item-btn.in:active { transform: scale(.985); }
@media (max-width: 640px) {
  #view-services .svc-item-icon { width: 36px; height: 36px; background: none; box-shadow: none; font-size: 1.25rem; }
}

/* ══════════════ PAYMENT STEP — "Payment details" layout ══════════════ */
.pay-step { display: flex; flex-direction: column; gap: 0; }
.pay-eyebrow { font-family: 'Space Mono', monospace; font-size: .66rem; font-weight: 700; letter-spacing: .18em; color: var(--gold); }
.pay-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.3rem); letter-spacing: -.02em; line-height: 1.05; color: var(--text-primary); margin: .45rem 0 .7rem; }
.pay-desc { font-size: .92rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 1.2rem; max-width: 46ch; }
.pay-step .payment-methods { margin-bottom: 1rem; }
.pay-card { margin-top: .2rem; padding: 1.1rem 1.1rem 1.2rem; border-radius: 18px; background: var(--bg-input); border: 1px solid var(--glass-border2); }
.pay-card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .9rem; }
.pay-card-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 1.2rem; font-weight: 700; color: var(--gold-lt); background: var(--gold-glow); border: 1px solid var(--gold-ring); }
.pay-card-head strong { display: block; font-size: .98rem; font-weight: 700; color: var(--text-primary); }
.pay-card-head small { display: block; font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.pay-rows { margin: 0; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--glass-border); }
.pay-row dt { font-size: .85rem; color: var(--text-muted); }
.pay-row dd { margin: 0; font-weight: 700; font-size: .95rem; color: var(--text-primary); text-align: right; word-break: break-word; }
.pay-card .pay-lbl { margin-top: .9rem; }
.pay-card .pay-select { margin-bottom: .2rem; }
.pay-next { margin: 1.2rem -1.35rem -1.35rem; padding: 1.3rem 1.35rem 1.4rem; background: var(--glass-bg); border-top: 1px solid var(--glass-border); }
.pay-next-eyebrow { font-family: 'Space Mono', monospace; font-size: .62rem; font-weight: 700; letter-spacing: .18em; color: var(--text-muted); }
.pay-next-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.015em; color: var(--text-primary); margin: .5rem 0 .45rem; }
.pay-next-text { font-size: .86rem; line-height: 1.65; color: var(--text-secondary); margin: 0 0 1.1rem; }
.pay-next-primary { width: 100%; justify-content: center; padding: .95rem 1rem; font-size: .95rem; }
.pay-next-secondary { display: block; margin-top: .65rem; padding: .85rem 1rem; text-align: center; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; color: var(--text-primary); text-decoration: none; background: var(--bg-input); border: 1px solid var(--glass-border2); }
.pay-next-secondary:hover { border-color: var(--gold); color: var(--gold-lt); }
.pay-next-back { width: 100%; justify-content: center; margin-top: .65rem; }
@media (max-width: 420px) { .pay-step .payment-methods { grid-template-columns: repeat(2, 1fr); } }
.pay-next { margin: 1.2rem 0 0; border-radius: 18px; border: 1px solid var(--glass-border); }

/* Proof-of-payment upload */
.pay-receipt { margin-top: 1rem; }
.pay-receipt-drop { display: flex; align-items: center; gap: .75rem; padding: .95rem 1rem; border-radius: 14px; cursor: pointer; border: 1.5px dashed var(--gold-ring); background: var(--gold-glow); color: var(--text-secondary); font-size: .9rem; }
.pay-receipt-drop:hover { border-color: var(--gold); color: var(--text-primary); }
.pay-receipt-ic { font-size: 1.2rem; }
.pay-receipt-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-receipt-preview { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; }
.pay-receipt-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--glass-border2); }
.pay-receipt-clear { padding: .4rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 600; cursor: pointer; color: var(--text-secondary); background: var(--bg-input); border: 1px solid var(--glass-border2); }
.pay-receipt-clear:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ══════════ PAYMENT STEP — compact, nested, premium ══════════ */
.pay-step--compact .pay-title { font-size: clamp(1.45rem, 6vw, 1.9rem); margin: .3rem 0 .75rem; }
.pay-policy {
  display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; border-radius: 14px;
  font-size: .8rem; line-height: 1.5; color: var(--text-secondary);
  background: linear-gradient(135deg, rgba(232,200,110,.16), rgba(232,200,110,.04));
  border: 1px solid var(--gold-ring);
}
.pay-policy svg { flex: none; color: var(--gold-lt); }
.pay-policy strong { color: var(--text-primary); font-weight: 600; }

.pay-step--compact .payment-methods { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: .9rem 0; }
.pay-step--compact .pay-method { padding: .65rem .2rem; gap: 4px; border-radius: 14px; }
.pay-step--compact .pay-icon { font-size: 1.1rem; }
.pay-step--compact .pay-label { font-size: .64rem; }
.pay-step--compact .pay-method.selected::after { top: 5px; right: 6px; width: 13px; height: 13px; font-size: .5rem; }
@media (max-width: 420px) { .pay-step--compact .payment-methods { grid-template-columns: repeat(4, 1fr); } }

.pay-stack { position: relative; border-radius: 20px; overflow: hidden; background: var(--bg-input); border: 1px solid var(--glass-border2); box-shadow: 0 18px 40px -26px rgba(0,0,0,.7); }
.pay-stack::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-gold); z-index: 1; }
.pay-stack > * + * { border-top: 1px solid var(--glass-border); }
.pay-stack .pay-card { margin: 0; padding: 1.05rem 1.1rem 1.1rem; border: 0; border-radius: 0; background: none; }
.pay-stack .pay-card-head { margin-bottom: .8rem; }
.pay-stack .pay-card-icon { width: 40px; height: 40px; border-radius: 12px; }

.pay-quick { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; margin-top: .6rem; border-radius: 12px; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.pay-quick-k { font-family: 'Space Mono', monospace; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.pay-quick-v { flex: 1; min-width: 0; text-align: right; font-weight: 700; font-size: .95rem; color: var(--text-primary); }
.pay-quick-v code { font-family: 'Space Mono', monospace; font-size: 1rem; font-weight: 700; color: var(--gold-lt); letter-spacing: .04em; }
.pay-quick:has(.pay-copy) .pay-quick-v { font-family: 'Space Mono', monospace; font-size: 1.05rem; letter-spacing: .06em; color: var(--gold-lt); }
.pay-quick .pay-copy, .pay-quick .pay-dial { margin-left: 0; flex: none; }
.pay-stack .pay-select { margin: 0; }
.pay-stack .pay-msg { margin: .6rem 0 0; }

.pay-stack .pay-amount { margin: 0; display: flex; align-items: center; gap: .8rem; padding: .7rem 1.1rem; }
.pay-stack .pay-amount[hidden] { display: none; }
.pay-stack .pay-amount .pay-lbl { margin: 0; white-space: nowrap; font-size: .78rem; }
.pay-stack .pay-amount-input { flex: 1; min-width: 0; padding: .65rem .85rem; }

.pay-acc[hidden] { display: none; }
.pay-acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding: .9rem 1.1rem; font-weight: 600; font-size: .86rem; color: var(--text-primary);
}
.pay-acc summary::-webkit-details-marker { display: none; }
.pay-acc summary::after {
  content: ''; flex: none; width: 8px; height: 8px; margin-right: 2px;
  border-right: 2px solid var(--gold-lt); border-bottom: 2px solid var(--gold-lt);
  transform: rotate(45deg) translateY(-2px); transition: transform .25s ease;
}
.pay-acc[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.pay-acc summary em { font-style: normal; font-weight: 500; font-size: .72rem; color: var(--text-muted); margin-left: .35rem; }
.pay-acc summary:hover { background: var(--gold-glow); }
.pay-acc-body { padding: 0 1.1rem 1.05rem; animation: payAccIn .3s ease; }
@keyframes payAccIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pay-acc-body .pay-msg { margin-top: 0; }
.pay-acc-body .pay-receipt-drop + input + .pay-receipt-preview { margin-top: .6rem; }
.pay-acc-body .pay-receipt-drop { margin-bottom: .1rem; }
.pay-acc-body .pay-receipt-preview ~ .pay-msg, .pay-acc-body .pay-receipt-drop ~ .pay-msg { margin-top: .6rem; }

.pay-step--compact .step-actions { margin-top: 1rem; }
.pay-help { display: block; margin-top: .85rem; text-align: center; font-size: .78rem; color: var(--text-muted); text-decoration: none; }
.pay-help strong { color: var(--gold-lt); font-weight: 600; }
.pay-help:hover strong { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .pay-acc-body { animation: none; } .pay-acc summary::after { transition: none; } }

/* ══════════ SERVICES — gold timeline (design C) ══════════ */
#view-services .svc-item-grid {
  display: flex; flex-direction: column; gap: 0; position: relative;
  max-width: 760px; padding: 4px 0 4px 56px;
  background: none; border: 0; border-radius: 0; overflow: visible;
  grid-auto-flow: row; scroll-snap-type: none;
}
#view-services .svc-item-grid::before {
  content: ''; display: block; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 2px;
  border-radius: 2px; background: linear-gradient(var(--gold), rgba(232,200,110,.22));
  transform-origin: top;
}
#view-services .svc-panel.active .svc-item-grid::before { animation: svLine 1.3s cubic-bezier(.16,1,.3,1) both; }
@keyframes svLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }

#view-services .svc-item-btn {
  flex-direction: row; align-items: center; gap: 12px; min-height: 0; width: 100%;
  padding: 16px 4px 16px 0; overflow: visible; text-align: left;
  background: none; border: 0; border-bottom: .5px solid var(--sv-line); border-radius: 0; box-shadow: none;
}
#view-services .svc-item-btn:last-child { border-bottom: 0; }
#view-services .svc-item-btn::before {
  position: absolute; left: -48px; top: 50%; transform: translateY(-50%); z-index: 1;
  box-sizing: border-box; width: 28px; height: 28px; min-width: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-base, #070a14); border: 1.5px solid var(--gold); color: var(--gold-lt); opacity: 1;
  font-size: .68rem; letter-spacing: 0; transition: background .25s ease, color .25s ease;
}
#view-services .svc-item-btn:first-child::before { background: var(--gold); color: #2a1f03; }
#view-services .svc-item-text { order: 1; flex: 1; max-width: none; font-size: .98rem; font-weight: 500; transition: color .25s ease; }
#view-services .svc-item-icon { order: 2; width: auto; height: auto; background: none; box-shadow: none; font-size: 1.2rem; }
#view-services .svc-item-arrow { order: 3; position: static; width: 28px; height: 28px; flex: none; }

#view-services .svc-item-btn:hover,
#view-services .svc-item-btn.is-lit {
  box-shadow: none;
  background-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(232,200,110,.10), transparent 70%);
}
#view-services .svc-item-btn:hover::before,
#view-services .svc-item-btn.is-lit::before { background: var(--gold); color: #2a1f03; }
#view-services .svc-item-btn:hover .svc-item-text,
#view-services .svc-item-btn.is-lit .svc-item-text { color: var(--gold-lt); }

#view-services.svc-anim .svc-item-btn { transform: translateX(-14px); }
#view-services.svc-anim .svc-item-btn.in { transform: none; }
@media (max-width: 380px) {
  #view-services .svc-item-grid { padding-left: 48px; }
  #view-services .svc-item-grid::before { left: 17px; }
  #view-services .svc-item-btn::before { left: -42px; }
}
@media (prefers-reduced-motion: reduce) { #view-services .svc-panel.active .svc-item-grid::before { animation: none; } }

/* ══════════ Receipt popup (PDF) ══════════ */
.receipt-card[hidden], .receipt-dl[hidden], .receipt-share[hidden] { display: none !important; }
.receipt-card { display: flex; align-items: center; gap: .85rem; margin: 1rem 0 .8rem; padding: .8rem 1rem; border-radius: 14px; text-align: left; background: var(--bg-input); border: 1px solid var(--glass-border2); }
.receipt-ic { flex: none; width: 42px; height: 50px; display: grid; place-items: center; border-radius: 8px; font-family: 'Space Mono', monospace; font-size: .72rem; font-weight: 700; color: #2a1f03; background: var(--gold); }
.receipt-meta { min-width: 0; }
.receipt-meta strong { display: block; font-size: .86rem; color: var(--text-primary); word-break: break-all; }
.receipt-meta small { display: block; margin-top: 2px; font-size: .74rem; color: var(--text-muted); }
.receipt-dl { width: 100%; margin-bottom: .55rem; }
.receipt-share { width: 100%; margin-bottom: .55rem; padding: .85rem 1rem; border-radius: var(--radius-pill, 999px); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text-primary); background: var(--bg-input); border: 1px solid var(--glass-border2); }
.receipt-share:hover { border-color: var(--gold); color: var(--gold-lt); }
