/* ============================================================
   OBSIDIAN PEAK HOLDINGS — MAIN STYLESHEET v3
   Palette: #000000 bg / #ffffff type / #1E90FF electric blue
   Typography: Clash Display (headings) / Satoshi (body)
   ============================================================ */

/* ============================================================
   TABLE OF CONTENTS
   1. Design Tokens
   2. Base / Reset
   3. Typography Utilities
   4. Layout
   5. Navigation
   5b. Navigation — corrected selectors (matches nav.html markup)
   6. Hero Section
   7. Section Utilities
   8. Services Section
   9. Problem / Solution
   10. Process Steps
   11. FAQ
   12. CTA Band
   13. Service Cards (shared)
   14. Service Page Layout
   15. Contact
   16. Footer
   17. Animations
   18. Responsive
   19. Homepage (home-* system)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Fonts */
  --font-display: 'Clash Display', 'General Sans', system-ui, sans-serif;
  --font-body:    'Satoshi', 'Inter', system-ui, sans-serif;

  /* Type scale (fluid) */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
  --content-full:    100%;
}

/* Light mode tokens */
:root, [data-theme="light"] {
  --color-bg:               #f7f6f2;
  --color-surface:          #f9f8f5;
  --color-surface-2:        #fbfbf9;
  --color-surface-offset:   #f3f0ec;
  --color-surface-offset-2: #edeae5;
  --color-surface-dynamic:  #e6e4df;
  --color-divider:          #dcd9d5;
  --color-border:           #d4d1ca;
  --color-text:             #28251d;
  --color-text-muted:       #7a7974;
  --color-text-faint:       #bab9b4;
  --color-text-inverse:     #f9f8f4;
  --color-primary:          #01696f;
  --color-primary-hover:    #0c4e54;
  --color-primary-active:   #0f3638;
  --color-primary-highlight:#cedcd8;
  --color-warning:          #964219;
  --color-warning-hover:    #713417;
  --color-warning-active:   #4b2614;
  --color-warning-highlight:#ddcfc6;
  --color-error:            #a12c7b;
  --color-error-hover:      #7d1e5e;
  --color-error-active:     #561740;
  --color-error-highlight:  #e0ced7;
  --color-notification:     #a13544;
  --color-notification-hover:#782b33;
  --color-notification-active:#521f24;
  --color-notification-highlight:#dececb;
  --color-success:          #437a22;
  --color-success-hover:    #2e5c10;
  --color-success-active:   #1e3f0a;
  --color-success-highlight:#d4dfcc;
  --color-blue:             #006494;
  --color-blue-hover:       #0b5177;
  --color-blue-active:      #0b3751;
  --color-blue-highlight:   #c6d8e4;

  /* Shadows */
  --shadow-sm:   0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-md:   0 4px 12px oklch(0.2 0.01 80 / 0.08);
  --shadow-lg:   0 12px 32px oklch(0.2 0.01 80 / 0.12);
  --shadow-glow: 0 0 0 3px rgba(1,105,111,0.18), 0 4px 16px rgba(1,105,111,0.12);
}

/* Dark mode tokens */
[data-theme="dark"] {
  --color-bg:               #171614;
  --color-surface:          #1c1b19;
  --color-surface-2:        #201f1d;
  --color-surface-offset:   #1d1c1a;
  --color-surface-offset-2: #22211f;
  --color-surface-dynamic:  #2d2c2a;
  --color-divider:          #262523;
  --color-border:           #393836;
  --color-text:             #cdccca;
  --color-text-muted:       #797876;
  --color-text-faint:       #5a5957;
  --color-text-inverse:     #2b2a28;
  --color-primary:          #4f98a3;
  --color-primary-hover:    #227f8b;
  --color-primary-active:   #1a626b;
  --color-primary-highlight:#313b3b;
  --color-warning:          #bb653b;
  --color-warning-hover:    #b95525;
  --color-warning-active:   #993d10;
  --color-warning-highlight:#564942;
  --color-error:            #d163a7;
  --color-error-hover:      #b9478f;
  --color-error-active:     #9b2f76;
  --color-error-highlight:  #4c3d46;
  --color-notification:     #dd6974;
  --color-notification-hover:#c24a59;
  --color-notification-active:#a53142;
  --color-notification-highlight:#574848;
  --color-success:          #6daa45;
  --color-success-hover:    #4d8f25;
  --color-success-active:   #387015;
  --color-success-highlight:#3a4435;
  --color-blue:             #5591c7;
  --color-blue-hover:       #3b78ab;
  --color-blue-active:      #275f8e;
  --color-blue-highlight:   #3a4550;

  --shadow-sm:   0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md:   0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg:   0 12px 32px oklch(0 0 0 / 0.4);
  --shadow-glow: 0 0 0 3px rgba(79,152,163,0.22), 0 4px 16px rgba(79,152,163,0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:               #171614;
    --color-surface:          #1c1b19;
    --color-surface-2:        #201f1d;
    --color-surface-offset:   #1d1c1a;
    --color-surface-offset-2: #22211f;
    --color-surface-dynamic:  #2d2c2a;
    --color-divider:          #262523;
    --color-border:           #393836;
    --color-text:             #cdccca;
    --color-text-muted:       #797876;
    --color-text-faint:       #5a5957;
    --color-text-inverse:     #2b2a28;
    --color-primary:          #4f98a3;
    --color-primary-hover:    #227f8b;
    --color-primary-active:   #1a626b;
    --color-primary-highlight:#313b3b;
    --shadow-sm:   0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md:   0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg:   0 12px 32px oklch(0 0 0 / 0.4);
    --shadow-glow: 0 0 0 3px rgba(79,152,163,0.22), 0 4px 16px rgba(79,152,163,0.14);
  }
}


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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }
a { color: inherit; }

::selection {
  background: oklch(from var(--color-primary) l c h / 0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@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;
  }
}

a, button, [role="button"], input, textarea, select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}


/* ============================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-muted   { color: var(--color-text-muted); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-label-centered { display: flex; justify-content: center; }

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.section-subtext {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: var(--space-8);
}
.section-subtext-centered { margin-inline: auto; text-align: center; }


/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: var(--content-narrow); }

.container-narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section-sm {
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-alt {
  background: var(--color-surface);
}
.section-cta-center {
  text-align: center;
  margin-top: var(--space-10);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-faint);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-hero-cta {
  background: #1e90ff;
  color: #fff;
  border-color: #1e90ff;
  box-shadow: 0 0 0 0 rgba(30,144,255,0);
}
.btn-hero-cta:hover {
  background: #1677d2;
  border-color: #1677d2;
  box-shadow: 0 0 14px 3px rgba(30,144,255,0.3), var(--shadow-md);
}


/* ============================================================
   5. NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  gap: var(--space-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1;
}
.nav-logo-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  flex: 1;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--color-text); background: var(--color-surface-offset); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav-dropdown-btn:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav-dropdown-btn svg { transition: transform 200ms ease; }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 220px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: 200;
  list-style: none;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav-dropdown-menu li a:hover { color: var(--color-text); background: var(--color-surface-offset); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
}

/* Mobile drawer */
.nav-mobile-drawer {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--color-divider);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--color-text); background: var(--color-surface-offset); }
.nav-mobile-section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  padding: var(--space-2) var(--space-2) var(--space-1);
  margin-top: var(--space-2);
}
.nav-mobile-drawer .btn { margin-top: var(--space-4); }


/* ============================================================
   5b. NAVIGATION — corrected selectors (matches nav.html markup)
   ============================================================ */

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s ease;
}
.skip-link:focus { top: var(--space-2); }

/* Theme toggle button (actual class in markup) */
.btn-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.btn-theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }

/* CTA button in desktop nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}
.nav-cta:active { transform: translateY(0); }

/* Desktop dropdown button alias (.nav-links-dropdown-btn used in markup) */
.nav-links-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav-links-dropdown-btn:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav-links-dropdown-btn .nav-chevron { transition: transform 200ms ease; }
.nav-dropdown.open .nav-links-dropdown-btn .nav-chevron { transform: rotate(180deg); }

/* Hamburger button */
.nav-hamburger {
  display: none; /* hidden on desktop, shown via media query below */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}
.nav-hamburger:hover { background: var(--color-surface-offset); border-color: var(--color-text-faint); }
.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Mobile menu — hidden by default, revealed with .open */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu > a {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav-mobile-menu > a:hover,
.nav-mobile-menu > a.active { color: var(--color-text); background: var(--color-surface-offset); }
.nav-mobile-menu > a:last-of-type { border-bottom: none; }

/* Mobile nav CTA */
.nav-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--color-primary);
  color: var(--color-text-inverse) !important;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border-bottom: none !important;
  transition: background var(--transition-interactive);
}
.nav-mobile-cta:hover { background: var(--color-primary-hover) !important; }

/* Mobile dropdown */
.mobile-dropdown {
  border-bottom: 1px solid var(--color-divider);
}
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-3) var(--space-2);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-interactive);
}
.mobile-dropdown-toggle:hover { color: var(--color-text); }
.mobile-dropdown-toggle svg { transition: transform 200ms ease; flex-shrink: 0; }
.mobile-dropdown.open .mobile-dropdown-toggle svg { transform: rotate(180deg); }

.mobile-dropdown-items {
  display: none;
  flex-direction: column;
  padding: 0 var(--space-2) var(--space-3);
  gap: 0;
}
.mobile-dropdown.open .mobile-dropdown-items { display: flex; }
.mobile-dropdown-items a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.mobile-dropdown-items a:hover { color: var(--color-text); background: var(--color-surface-offset); }

/* Scrolled state */
.site-header--scrolled {
  background: oklch(from var(--color-bg) l c h / 0.92);
}


/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  border-bottom: 1px solid var(--color-divider);
  overflow: hidden;
}
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.hero-eyebrow { display: flex; align-items: center; gap: var(--space-3); }
.hero-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
}
.hero-subtext {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-stats {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Hero image */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}


/* ============================================================
   7. SECTION UTILITIES
   ============================================================ */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
  margin-top: var(--space-6);
}
.problem-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.problem-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.problem-item-icon--negative {
  background: oklch(from var(--color-notification) l c h / 0.1);
  color: var(--color-notification);
}
.problem-item-icon--positive {
  background: oklch(from var(--color-success) l c h / 0.1);
  color: var(--color-success);
}
.problem-item-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   8. SERVICES SECTION
   ============================================================ */
.services-section {
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
[data-theme="dark"] .services-section {
  background: var(--color-surface);
}

/* ---- Animated rising arrows background ---- */
.services-arrows-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* Each arrow group rises up and fades — staggered wave */
@keyframes arrow-rise {
  0%   { opacity: 0;    transform: translateY(20px); }
  15%  { opacity: 0.9; }
  80%  { opacity: 0.6; }
  100% { opacity: 0;    transform: translateY(-30px); }
}

.arrow-group {
  animation: arrow-rise 3.5s ease-in-out infinite;
  opacity: 0;
}

/* Light mode: electric sky blue */
.services-section .arrow-group polyline,
.services-section .arrow-group line {
  stroke: #38bdf8;
}

/* Stagger each arrow's delay for a cascading wave effect */
.arrow-g1  { animation-delay: 0.0s; }
.arrow-g2  { animation-delay: 0.3s; }
.arrow-g3  { animation-delay: 0.6s; }
.arrow-g4  { animation-delay: 0.9s; }
.arrow-g5  { animation-delay: 1.2s; }
.arrow-g6  { animation-delay: 1.5s; }
.arrow-g7  { animation-delay: 1.8s; }
.arrow-g8  { animation-delay: 2.1s; }
.arrow-g9  { animation-delay: 2.4s; }
.arrow-g10 { animation-delay: 2.7s; }
.arrow-g11 { animation-delay: 3.0s; }
.arrow-g12 { animation-delay: 3.3s; }
.arrow-g13 { animation-delay: 0.15s; }
.arrow-g14 { animation-delay: 0.45s; }
.arrow-g15 { animation-delay: 0.75s; }
.arrow-g16 { animation-delay: 1.05s; }
.arrow-g17 { animation-delay: 1.35s; }
.arrow-g18 { animation-delay: 1.65s; }
.arrow-g19 { animation-delay: 1.95s; }
.arrow-g20 { animation-delay: 2.25s; }
.arrow-g21 { animation-delay: 2.55s; }
.arrow-g22 { animation-delay: 2.85s; }
.arrow-g23 { animation-delay: 3.15s; }
.arrow-g24 { animation-delay: 3.45s; }
.arrow-g25 { animation-delay: 0.05s; }
.arrow-g26 { animation-delay: 0.35s; }
.arrow-g27 { animation-delay: 0.65s; }
.arrow-g28 { animation-delay: 0.95s; }
.arrow-g29 { animation-delay: 1.25s; }
.arrow-g30 { animation-delay: 1.55s; }
.arrow-g31 { animation-delay: 1.85s; }
.arrow-g32 { animation-delay: 2.15s; }
.arrow-g33 { animation-delay: 2.45s; }
.arrow-g34 { animation-delay: 2.75s; }
.arrow-g35 { animation-delay: 3.05s; }
.arrow-g36 { animation-delay: 3.35s; }
.arrow-g37 { animation-delay: 0.2s; }
.arrow-g38 { animation-delay: 0.5s; }
.arrow-g39 { animation-delay: 0.8s; }
.arrow-g40 { animation-delay: 1.1s; }
.arrow-g41 { animation-delay: 1.4s; }
.arrow-g42 { animation-delay: 1.7s; }
.arrow-g43 { animation-delay: 2.0s; }
.arrow-g44 { animation-delay: 2.3s; }
.arrow-g45 { animation-delay: 2.6s; }
.arrow-g46 { animation-delay: 2.9s; }
.arrow-g47 { animation-delay: 3.2s; }
.arrow-g48 { animation-delay: 3.5s; }
.arrow-g49 { animation-delay: 0.1s; }
.arrow-g50 { animation-delay: 0.4s; }
.arrow-g51 { animation-delay: 0.7s; }
.arrow-g52 { animation-delay: 1.0s; }
.arrow-g53 { animation-delay: 1.3s; }
.arrow-g54 { animation-delay: 1.6s; }
.arrow-g55 { animation-delay: 1.9s; }
.arrow-g56 { animation-delay: 2.2s; }
.arrow-g57 { animation-delay: 2.5s; }
.arrow-g58 { animation-delay: 2.8s; }
.arrow-g59 { animation-delay: 3.1s; }
.arrow-g60 { animation-delay: 3.4s; }
.arrow-g61 { animation-delay: 0.25s; }
.arrow-g62 { animation-delay: 0.55s; }
.arrow-g63 { animation-delay: 0.85s; }
.arrow-g64 { animation-delay: 1.15s; }
.arrow-g65 { animation-delay: 1.45s; }
.arrow-g66 { animation-delay: 1.75s; }
.arrow-g67 { animation-delay: 2.05s; }
.arrow-g68 { animation-delay: 2.35s; }
.arrow-g69 { animation-delay: 2.65s; }
.arrow-g70 { animation-delay: 2.95s; }
.arrow-g71 { animation-delay: 3.25s; }
.arrow-g72 { animation-delay: 3.55s; }
.arrow-g73 { animation-delay: 0.08s; }
.arrow-g74 { animation-delay: 0.38s; }
.arrow-g75 { animation-delay: 0.68s; }
.arrow-g76 { animation-delay: 0.98s; }
.arrow-g77 { animation-delay: 1.28s; }
.arrow-g78 { animation-delay: 1.58s; }
.arrow-g79 { animation-delay: 1.88s; }
.arrow-g80 { animation-delay: 2.18s; }

/* Dark mode arrows brighter */
[data-theme="dark"] .arrow-group polyline,
[data-theme="dark"] .arrow-group line {
  stroke: #7dd3fc;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .arrow-group { animation: none; opacity: 0.12; }
}

/* Ensure content sits above arrows */
.services-section > .container {
  position: relative;
  z-index: 1;
}

/* Single-column section header */
.services-section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-10);
}
.services-header-left .section-heading {
  margin-bottom: 0;
}

/* ---- Electric blue card glow on hover/active/focus ---- */
@keyframes card-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(56,189,248,0),
      0 0 12px 2px rgba(56,189,248,0.18),
      0 1px 3px oklch(0.2 0.01 80 / 0.06),
      0 4px 16px oklch(0.2 0.01 80 / 0.05);
  }
  40% {
    box-shadow:
      0 0 0 2px rgba(56,189,248,0.6),
      0 0 28px 8px rgba(56,189,248,0.45),
      0 0 60px 16px rgba(56,189,248,0.15),
      0 1px 3px oklch(0.2 0.01 80 / 0.06),
      0 8px 28px oklch(0.2 0.01 80 / 0.12);
  }
  70% {
    box-shadow:
      0 0 0 1px rgba(56,189,248,0.4),
      0 0 18px 5px rgba(56,189,248,0.3),
      0 0 40px 10px rgba(56,189,248,0.1),
      0 1px 3px oklch(0.2 0.01 80 / 0.06),
      0 8px 28px oklch(0.2 0.01 80 / 0.10);
  }
}
@keyframes card-sizzle {
  0%   { box-shadow: 0 0 0 2px #38bdf8, 0 0 20px 4px rgba(56,189,248,0.5), 0 0 50px 12px rgba(56,189,248,0.2); }
  15%  { box-shadow: 0 0 0 3px #7dd3fc, 0 0 32px 8px rgba(125,211,252,0.6), 0 0 70px 20px rgba(56,189,248,0.25); }
  35%  { box-shadow: 0 0 0 2px #38bdf8, 0 0 24px 6px rgba(56,189,248,0.45), 0 0 55px 14px rgba(56,189,248,0.18); }
  55%  { box-shadow: 0 0 0 3px #bae6fd, 0 0 36px 10px rgba(186,230,253,0.55), 0 0 75px 22px rgba(56,189,248,0.22); }
  75%  { box-shadow: 0 0 0 2px #38bdf8, 0 0 22px 5px rgba(56,189,248,0.4), 0 0 52px 13px rgba(56,189,248,0.16); }
  100% { box-shadow: 0 0 0 2px #38bdf8, 0 0 20px 4px rgba(56,189,248,0.5), 0 0 50px 12px rgba(56,189,248,0.2); }
}

.services-section .service-card {
  background: #ffffff;
  box-shadow:
    0 1px 3px oklch(0.2 0.01 80 / 0.06),
    0 4px 16px oklch(0.2 0.01 80 / 0.05);
  border: 1px solid rgba(0,0,0,0.06);
  transition:
    box-shadow 0.25s cubic-bezier(0.16,1,0.3,1),
    border-color 0.25s cubic-bezier(0.16,1,0.3,1),
    transform 0.25s cubic-bezier(0.16,1,0.3,1);
}

/* Hover: lift + pulsing electric blue border */
.services-section .service-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px #38bdf8,
    0 0 20px 4px rgba(56,189,248,0.28),
    0 8px 28px oklch(0.2 0.01 80 / 0.10);
  animation: card-glow-pulse 1.8s ease-in-out infinite;
}

/* Active/clicked: full electric sizzle */
.services-section .service-card:active,
.services-section .service-card:focus-visible {
  border-color: #7dd3fc;
  transform: translateY(-2px) scale(1.012);
  animation: card-sizzle 0.9s ease-in-out infinite;
  outline: none;
}

/* Stop animating when card is idle */
.services-section .service-card:not(:hover):not(:active):not(:focus-visible) {
  animation: none;
}

[data-theme="dark"] .services-section .service-card {
  background: var(--color-surface-2);
  border-color: var(--color-border);
  box-shadow:
    0 1px 3px oklch(0 0 0 / 0.2),
    0 4px 16px oklch(0 0 0 / 0.18);
}
[data-theme="dark"] .services-section .service-card:hover {
  border-color: #38bdf8;
  box-shadow:
    0 0 0 1px #38bdf8,
    0 0 24px 6px rgba(56,189,248,0.22),
    0 8px 28px oklch(0 0 0 / 0.3);
}
[data-theme="dark"] .services-section .service-card:active,
[data-theme="dark"] .services-section .service-card:focus-visible {
  border-color: #7dd3fc;
  animation: card-sizzle 0.9s ease-in-out infinite;
  box-shadow:
    0 0 0 2px #38bdf8,
    0 0 32px 10px rgba(56,189,248,0.35),
    0 0 70px 20px rgba(56,189,248,0.18),
    0 8px 28px oklch(0 0 0 / 0.3);
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  gap: var(--space-6);
}
.services-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
.services-grid-3col { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-text-faint);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  flex-shrink: 0;
}
.service-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.2;
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
}
.service-link svg { transition: transform var(--transition-interactive); }
.service-card:hover .service-link svg { transform: translateX(3px); }


/* ============================================================
   9. PROBLEM / SOLUTION
   ============================================================ */
/* (problem-layout defined in section 7) */


/* ============================================================
   10. PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
}
.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  flex-shrink: 0;
}
.step-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   11. FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-6) 0;
}
.faq-question {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  cursor: pointer;
  margin-bottom: var(--space-3);
}
.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* Accordion FAQ */
.faq-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-8);
}
.faq-accordion-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
}
.faq-accordion-trigger:hover { color: var(--color-primary); }
.faq-accordion-question {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.4;
}
.faq-accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 200ms ease;
}
.faq-accordion-item[data-open="true"] .faq-accordion-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}
.faq-accordion-answer {
  display: none;
  padding-bottom: var(--space-5);
}
.faq-accordion-item[data-open="true"] .faq-accordion-answer { display: block; }
.faq-accordion-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}


/* ============================================================
   12. CTA BAND
   ============================================================ */
.cta-band {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.cta-band--dark {
  background: var(--color-text);
  color: var(--color-text-inverse);
}
[data-theme="dark"] .cta-band--dark {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.cta-band-inner {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-band-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.cta-band--dark .cta-band-heading { color: var(--color-text-inverse); }
[data-theme="dark"] .cta-band--dark .cta-band-heading { color: var(--color-text); }
.cta-band-sub {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
  max-width: 52ch;
}
[data-theme="dark"] .cta-band--dark .cta-band-sub { color: var(--color-text-muted); }
.cta-band-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}


/* ============================================================
   13. SERVICE CARDS (shared — services listing page)
   ============================================================ */
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.service-features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.6;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.75em;
  top: 3px;
}
.service-price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.service-price span {
  font-weight: 600;
  color: var(--color-text);
}


/* ============================================================
   14. SERVICE PAGE LAYOUT
   ============================================================ */
.service-page-hero {
  border-bottom: 1px solid var(--color-divider);
}
.service-page-hero-inner {
  max-width: 680px;
}
.service-page-eyebrow {
  margin-bottom: var(--space-4);
}
.service-page-h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.aeo-summary-block {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}
.aeo-summary-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
}
.service-page-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Service page prose sections */
.service-page-prose p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.service-page-prose p:last-child { margin-bottom: 0; }

/* Service standards grid */
.service-standards-grid