/* ============================================================
   NightWatch — Glass 2.0 / Dark-Base / Pest Control
   Direction: Glass 2.0 | Signature: @property aurora spinning hero
   ============================================================ */

/* --- View transitions --- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .25s ease both; }
  ::view-transition-new(root) { animation: vt-in  .35s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(8px); } }

/* --- Animatable hue property (aurora signature moment) --- */
@property --hue {
  syntax: '<angle>';
  inherits: false;
  initial-value: 180deg;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Palette */
  --primary:    #1c1f28;
  --secondary:  #2a2d3e;
  --accent:     #9333ea;
  --background: #f7f7fa;
  --surface:    #ffffff;
  --text:       #0d0f16;
  --muted:      #6b7280;
  --border:     rgba(147, 51, 234, 0.18);

  /* Immutable dark band — NOT overridden by runtime presets */
  --theme-dark-band: #0d0f16;

  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Shape */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-sm: 6px;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem,   0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw,  1.5rem);
  --step-2:  clamp(1.44rem,1.28rem + 0.8vw, 2rem);
  --step-3:  clamp(1.73rem,1.5rem + 1.2vw,  2.66rem);
  --step-4:  clamp(2.07rem,1.7rem + 1.9vw,  3.55rem);
  --step-5:  clamp(2.49rem,1.95rem + 2.7vw, 4.74rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .04), 0 1px 1px rgb(0 0 0 / .03);
  --shadow-md: 0 4px 12px rgb(0 0 0 / .06), 0 2px 4px rgb(0 0 0 / .04);
  --shadow-lg: 0 18px 40px rgb(0 0 0 / .10), 0 6px 12px rgb(0 0 0 / .06);

  /* Glass glow */
  --glow-accent: 0 0 30px color-mix(in oklab, var(--accent) 30%, transparent);
  --glow-strong: 0 0 60px color-mix(in oklab, var(--accent) 40%, transparent);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }

p, li { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

/* Hide broken / empty images */
img[src=""], img:not([src]) { display: none !important; }
img[src$="placeholder.jpg"]  { display: none !important; }

/* data-list grid fix */
[data-list] { display: contents; }

/* Mono utility */
.mono { font-family: var(--font-mono); font-size: 0.8em; letter-spacing: 0.04em; }

/* ============================================================
   LIVEWIRE LOADING STATES
   ============================================================ */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 60%, #fff));
  z-index: 9999; transition: width 0.1s;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 9999;
  padding: 0.5rem 1rem; background: var(--accent); color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   FOCUS
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   SECTION BACKGROUNDS (rhythm: dark → light → dark → surface → dark → light)
   ============================================================ */
.section--dark    { background: var(--theme-dark-band); color: #f0f0f5; }
.section--light   { background: var(--background); color: var(--text); }
.section--surface { background: color-mix(in oklab, var(--primary) 18%, var(--background)); color: var(--text); }

section { padding: 5rem 0; }

/* ============================================================
   GRAIN TEXTURE
   ============================================================ */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; opacity: .035; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   GLASS CARD UTILITY
   ============================================================ */
.glass-card {
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ============================================================
   SCROLL-DRIVEN REVEAL (CSS baseline — no JS required)
   ============================================================ */
/* `to` intentionally omits `transform` — the underlying (rule-level) value
   resolves it to `none` once the animation is filling forward, so a card's
   :hover transform (.service-card, .cert-card, .testi-card all lift on
   hover) is never permanently overridden. Never write
   `to { transform: none; }` here. */
@keyframes wb-reveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; }
}

.reveal { opacity: 1; } /* ALWAYS visible as base — animation is progressive enhancement */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: wb-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    .reveal-stagger > * {
      animation: wb-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
      animation-delay: calc(var(--i, 0) * 60ms);
    }
  }
}

/* ============================================================
   HERO STAT TILES — time-based entrance (above the fold: never
   view(), the visitor is already looking at it on load).
   ============================================================ */
.stat-tile { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes stat-tile-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; } }
  .stat-tile {
    animation: stat-tile-in 0.7s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 0.15s;
  }
  .stat-tile:nth-child(2) { animation-delay: 0.27s; }
  .stat-tile:nth-child(3) { animation-delay: 0.39s; }
  .stat-tile:nth-child(4) { animation-delay: 0.51s; }
}

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: color-mix(in oklab, var(--accent) 80%, #fff); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section--dark .section-header h2,
.section--dark h2 { color: #f0f0f5; }
.section--light .section-header h2 { color: var(--text); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px color-mix(in oklab, var(--accent) 35%, transparent);
}
.btn--accent:hover {
  background: var(--primary-dark, color-mix(in oklab, var(--accent) 85%, #000));
  box-shadow: var(--glow-strong);
}

.btn--ghost {
  background: transparent;
  color: #f0f0f5;
  border: 1px solid rgba(240, 240, 245, 0.3);
}
.btn--ghost:hover { background: rgba(240, 240, 245, 0.08); border-color: rgba(240, 240, 245, 0.6); }

.btn--ghost-accent {
  background: transparent;
  color: color-mix(in oklab, var(--accent) 90%, #fff);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
}
.btn--ghost-accent:hover {
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-color: var(--accent);
}

.btn--sm  { padding: 0.5rem 1.25rem; font-size: var(--step--1); }
.btn--full { width: 100%; }

/* ============================================================
   HEADER / NAV — Glass sticky
   ============================================================ */
[data-section="header"] {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--primary) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
}

[data-section="header"] nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.logo img { height: 36px; width: auto; border-radius: 4px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: #f0f0f5;
  letter-spacing: -0.01em;
}

/* Desktop nav links */
[data-section="header"] .nav__links {
  display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: center;
}

.site-nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: rgba(240, 240, 245, 0.75);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.site-nav-link:hover,
.site-nav-link.active {
  color: #fff;
  background: color-mix(in oklab, var(--accent) 15%, transparent);
}

.nav__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.nav__phone {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: color-mix(in oklab, var(--accent) 90%, #fff) !important;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  background: color-mix(in oklab, var(--accent) 8%, transparent) !important;
}
.nav__phone:hover {
  background: color-mix(in oklab, var(--accent) 18%, transparent) !important;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 4px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: #f0f0f5; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav panel */
[data-section="header"] .nav__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid color-mix(in oklab, var(--accent) 15%, transparent);
  gap: 0.25rem;
}
[data-section="header"] .nav__mobile.open { display: flex; }
[data-section="header"] .nav__mobile .site-nav-link {
  padding: 0.6rem 0.85rem;
  font-size: var(--step-0);
}
.nav__mobile-phone {
  margin-top: 0.5rem;
  font-family: var(--font-mono) !important;
}

/* ============================================================
   HERO — Aurora signature moment
   ============================================================ */
.hero {
  min-height: 100svh;
  background: var(--theme-dark-band);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}

/* Aurora conic-gradient spinning with @property */
.hero__aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: conic-gradient(
    from var(--hue) at 60% 50%,
    var(--primary),
    var(--accent),
    #1c1f28,
    var(--accent),
    var(--primary)
  );
  opacity: 0.22;
  animation: aurora-spin 18s linear infinite;
}

@keyframes aurora-spin { to { --hue: 540deg; } }

/* Radial mesh overlay */
.hero__mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, color-mix(in oklab, var(--accent) 12%, transparent), transparent),
    radial-gradient(ellipse 50% 80% at 20% 80%, color-mix(in oklab, var(--primary) 80%, transparent), transparent);
}

.hero .container { position: relative; z-index: 2; width: 100%; padding-top: 6rem; padding-bottom: 6rem; }

/* Hero layout: content left, stats grid right */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

.hero__prefix {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 240, 245, 0.6);
  margin-bottom: 0.5rem;
}

.hero__title {
  color: #f0f0f5;
  margin-bottom: 1rem;
  font-size: var(--step-5);
}

.hero__subtitle {
  display: block;
  font-size: var(--step-2);
  font-family: var(--font-display);
  font-weight: 400;
  color: color-mix(in oklab, var(--accent) 80%, #fff);
  margin-bottom: 1rem;
}

.hero__body {
  color: rgba(240, 240, 245, 0.75);
  font-size: var(--step-1);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero__cta-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

/* Stats tiles */
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-tile {
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.stat-tile:hover {
  box-shadow: var(--glow-accent);
  transform: translateY(-3px);
}
.stat-tile__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-tile__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 245, 0.55);
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-cue span {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.page-hero__aurora {
  position: absolute; inset: 0; pointer-events: none;
  background: conic-gradient(from var(--hue) at 60% 40%, var(--primary), var(--accent), #1c1f28, var(--primary));
  opacity: 0.15;
  animation: aurora-spin 20s linear infinite;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title {
  font-size: var(--step-4);
  color: #f0f0f5;
  margin-top: 0.5rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
  background: color-mix(in oklab, var(--accent) 7%, var(--secondary));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  min-height: 340px;
}
.about__image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 25% 35%, color-mix(in oklab, var(--accent) 18%, transparent) 35%, transparent 65%),
    radial-gradient(ellipse at 75% 75%, color-mix(in oklab, var(--primary) 50%, transparent) 55%, transparent 80%);
  pointer-events: none;
}
.about__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__image-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  padding: 0.9rem 1.4rem;
  background: var(--accent) !important;
  border-color: transparent !important;
  color: #fff;
  font-weight: 700;
}
.about__content { padding-left: 1rem; }
.about__body { margin-top: 1.25rem; color: rgba(240, 240, 245, 0.65); line-height: 1.8; }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  box-shadow: var(--glow-accent);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  color: #f0f0f5;
}
.service-card__sub {
  font-size: var(--step--1);
  color: rgba(240, 240, 245, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}
.service-card__body {
  color: rgba(240, 240, 245, 0.7);
  font-size: var(--step-0);
  flex: 1;
}
.service-card__price {
  color: var(--accent);
  font-size: var(--step-1);
  font-weight: 600;
}
.service-card__img { display: none; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: auto;
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 0.8rem; }
.service-card__link::after { content: '→'; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.area-chip {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.6rem 1.25rem;
  background: color-mix(in oklab, var(--primary) 8%, var(--background));
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.area-chip:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, var(--background));
  transform: translateY(-2px);
}
.area-chip__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--text);
}
.area-chip__note {
  font-size: 0.68rem;
  color: var(--muted);
}

/* ============================================================
   EMERGENCY BAND
   ============================================================ */
.emergency-band {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  border-top: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
}
.emergency-band__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, color-mix(in oklab, var(--accent) 8%, transparent), transparent);
}
.emergency-band__layout {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
/* Grid layout: pulse dot in col 1, h3+p stacked in col 2 */
.emergency-band__copy {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
  flex: 1; min-width: 280px;
}
.emergency-band__pulse {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0.55rem;
}
.emergency-band__copy h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--step-3);
  color: #f0f0f5;
}
.emergency-band__copy p {
  grid-column: 2;
  grid-row: 2;
  color: rgba(240, 240, 245, 0.65);
  margin: 0;
}

/* Pulse dot */
.emergency-band__pulse {
  display: block; flex-shrink: 0; margin-top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  70%  { box-shadow: 0 0 0 12px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

.emergency-band__actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center;
}
.emergency-band__phone {
  font-family: var(--font-mono);
  font-size: var(--step-1) !important;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certifications__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.cert-card {
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.cert-card:hover {
  box-shadow: var(--glow-accent);
  transform: translateY(-3px);
}
.cert-card__logo {
  width: 64px; height: 64px; object-fit: contain;
  border-radius: 8px; margin: 0 auto;
}
.cert-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: #f0f0f5;
  font-size: var(--step-1);
}
.cert-card__issuer {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cert-card__note { color: rgba(240, 240, 245, 0.55); font-size: var(--step--1); }

/* ============================================================
   QUOTE REQUEST
   ============================================================ */
.quote {
  background: var(--theme-dark-band);
}
.quote__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.quote__info h2 { color: #f0f0f5; margin-bottom: 1rem; }
.quote__info p  { color: rgba(240, 240, 245, 0.65); margin-bottom: 1.5rem; }

.quote__perks {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.quote__perks li {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(240, 240, 245, 0.75);
  font-size: var(--step-0);
}
.perk-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.7rem;
}

.quote__form-wrap {
  padding: 2.5rem;
}
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ============================================================
   FORM ELEMENTS (shared)
   ============================================================ */
.form-group {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.form-group--full { grid-column: 1 / -1; }

label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 245, 0.55);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: color-mix(in oklab, var(--primary) 40%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 15%, transparent);
  border-radius: var(--radius-sm);
  color: #f0f0f5;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 15%, transparent);
}
input::placeholder, textarea::placeholder { color: rgba(240, 240, 245, 0.3); }
select option { background: var(--primary); color: #f0f0f5; }
textarea { resize: vertical; min-height: 100px; }

/* Contact form on light sections */
.contact__form label { color: rgba(240, 240, 245, 0.55); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testi-card:hover {
  box-shadow: var(--glow-accent);
  transform: translateY(-3px);
}
.testi-card__stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.testi-card__body {
  color: rgba(240, 240, 245, 0.8);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.65;
  flex: 1;
}
.testi-card__author { display: flex; align-items: center; gap: 0.85rem; }
.testi-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-card__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: #f0f0f5;
  font-size: var(--step-0);
}
.testi-card__role { color: rgba(240, 240, 245, 0.45); font-size: 0.72rem; letter-spacing: 0.06em; }

/* ============================================================
   OPENING HOURS
   ============================================================ */
.hours__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.hours__header h2 { color: var(--text); }
.hours__note {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}
.hours__table {
  padding: 1.5rem;
  background: color-mix(in oklab, var(--primary) 8%, var(--surface)) !important;
  border: 1px solid color-mix(in oklab, var(--accent) 15%, transparent) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.hours__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--primary) 12%, transparent);
  transition: background 0.2s;
}
.hours__row:last-child { border-bottom: none; }
.hours__row.today {
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border-radius: var(--radius-sm);
  padding-inline: 0.75rem;
  margin-inline: -0.75rem;
}
.hours__day { font-family: var(--font-display); font-weight: 500; color: var(--text); }
.hours__time { color: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact__info h2 { color: #f0f0f5; margin-bottom: 1.5rem; }
.contact__details { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact__details li { display: flex; align-items: flex-start; gap: 0.85rem; }
.contact__icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__link {
  color: rgba(240, 240, 245, 0.8);
  transition: color 0.2s;
}
.contact__link:hover { color: var(--accent); }
.contact__details span[data-field] { color: rgba(240, 240, 245, 0.65); }

.contact__form { padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ============================================================
   FAQS
   ============================================================ */
.faqs__list {
  display: flex; flex-direction: column; gap: 0.75rem;
  max-width: 800px; margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  background: color-mix(in oklab, var(--primary) 5%, var(--surface)) !important;
  border: 1px solid color-mix(in oklab, var(--accent) 15%, transparent) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.faq-item__trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.25rem 1.5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--text);
  text-align: left;
  gap: 1rem;
}
.faq-item__icon {
  flex-shrink: 0; font-size: 1.4rem; line-height: 1;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item__trigger[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body { overflow: hidden; transition: max-height 0.3s ease; }
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--theme-dark-band);
  border-top: 1px solid color-mix(in oklab, var(--accent) 15%, transparent);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand .logo__text { color: #f0f0f5; font-size: var(--step-2); }
.footer__tagline { color: rgba(240, 240, 245, 0.45); font-size: var(--step--1); margin-top: 0.75rem; max-width: 28ch; }
.footer__heading {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: block;
}
.footer__link {
  display: block; color: rgba(240, 240, 245, 0.55); font-size: var(--step--1);
  margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer__link:hover { color: #f0f0f5; }
.footer__social-link {
  display: inline-block; color: rgba(240, 240, 245, 0.55); font-size: var(--step--1);
  margin-bottom: 0.5rem; margin-right: 0.75rem; transition: color 0.2s;
}
.footer__social-link:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(240, 240, 245, 0.07);
  padding-top: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  font-size: var(--step--1); color: rgba(240, 240, 245, 0.35);
}
.footer__sep { opacity: 0.3; }
.footer__policy-link { color: rgba(240, 240, 245, 0.35); transition: color 0.2s; }
.footer__policy-link:hover { color: rgba(240, 240, 245, 0.7); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 5.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-size: 1.1rem;
  border: none; cursor: pointer;
  opacity: 0; transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
  box-shadow: var(--glow-accent);
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 190;
  padding: 0.75rem 1rem;
  background: color-mix(in oklab, var(--primary) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  gap: 0.75rem;
}
.mobile-cta.visible { display: flex; }
.mobile-cta__call,
.mobile-cta__quote { flex: 1; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .quote__layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  [data-section="header"] .nav__links { display: none; }
  [data-section="header"] .nav__phone { display: none; }
  .nav__toggle { display: flex; }

  .hero__stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero__cta-row { flex-direction: column; }
  .about__layout { grid-template-columns: 1fr; }
  .about__image-badge { bottom: 0.5rem; right: 0.5rem; }
  .contact__layout { grid-template-columns: 1fr; }
  .hours__layout { grid-template-columns: 1fr; }
  .quote__form { grid-template-columns: 1fr; }
  .emergency-band__layout { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .quote__form-wrap { padding: 1.5rem; }
  .contact__form { padding: 1.5rem; grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .certifications__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__aurora { animation: none; }
  .page-hero__aurora { animation: none; }
  .hero__scroll-cue span { animation: none; }
  .emergency-band__pulse { animation: none; }
}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }
