/* =========================================================
   GRAYSON INSTALLATIONS — Stylesheet
   Premium dark system per brand guidelines:
   Carbon black #0A0B0E / slate #171B22 / borders #2B3340
   Electric blue #195198 (hover #2673D5) / bronze #98622E
   Type: Sora (display) + Manrope (body)
   ========================================================= */

:root {
  /* Brand blues */
  --primary: #195198;
  --primary-600: #2673d5;   /* hover / bright interaction blue */
  --primary-100: #12233c;   /* icon container tint on dark */
  --sky: #2673d5;
  --deep: #0f2c59;

  /* Bronze gold — decorative only, used sparingly */
  --gold: #98622e;
  --gold-2: #654929;
  --gold-text: #b8813f;

  /* Carbon backgrounds */
  --dark: #0a0b0e;
  --dark-2: #171b22;
  --dark-3: #1d2430;
  --border: #2b3340;

  /* Remapped neutral scale for the dark theme
     (kept as gray-* so existing markup/inline styles work:
     900 = primary text, 700 = body copy, 500 = secondary,
     200 = borders, 100 = card bg, 50 = subtle alt bg) */
  --gray-50: #0e1116;
  --gray-100: #171b22;
  --gray-200: #2b3340;
  --gray-300: #3c4657;
  --gray-500: #9e9b99;
  --gray-700: #d9d7d5;
  --gray-900: #f2f4f7;
  --white: #ffffff;
  --accent: #98622e;
  --success: #16a34a;
  --error: #e5484d;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.35);

  --radius-sm: 4px;
  --radius-md: 8px;    /* buttons, inputs */
  --radius-lg: 12px;   /* cards */
  --radius-xl: 16px;   /* images */
  --radius-full: 9999px;

  --max-w: 1280px;     /* primary content width */
  --page-w: 1400px;    /* maximum page width (header/footer) */
  --content-w: 1100px;

  --transition: 200ms ease-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--primary); color: var(--white); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gray-900);
  text-decoration: none;
  transition: color var(--transition);
}

button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
}

h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 3.2vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p { line-height: 1.7; color: var(--gray-700); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--dark);
  color: var(--gray-500);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.topbar .container { max-width: var(--page-w); }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.topbar-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-info svg { width: 14px; height: 14px; color: var(--primary-600); }
.topbar-info a { color: var(--gray-700); }
.topbar-info a:hover { color: var(--primary-600); }
.topbar-info .topbar-phone { display: inline-flex; }
.topbar-info .topbar-email,
.topbar-info .topbar-hours { display: inline-flex; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray-500);
}
.topbar-social a:hover { border-color: var(--primary); color: var(--primary-600); }
.topbar-social svg { width: 13px; height: 13px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 11, 14, 0.96);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
/* "Voltage" line — flowing blue/gold current along the nav edge */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(25, 81, 152, 0) 0%,
    #195198 12%,
    #2673d5 26%,
    #7db4f0 38%,
    #e8b45a 50%,
    #7db4f0 62%,
    #2673d5 74%,
    #195198 88%,
    rgba(25, 81, 152, 0) 100%);
  background-size: 200% 100%;
  animation: voltageFlow 5s linear infinite;
  box-shadow: 0 0 14px rgba(38, 115, 213, 0.55), 0 0 4px rgba(232, 180, 90, 0.35);
  pointer-events: none;
}
@keyframes voltageFlow {
  0% { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}
.site-header .container { max-width: var(--page-w); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 62px; width: auto; }

.main-nav { display: flex; align-items: center; }
.main-nav > ul { list-style: none; display: flex; gap: 20px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 4px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-700);
  transition: color var(--transition);
}
.main-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--primary-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::before { transform: scaleX(1); }
.main-nav .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-bottom: 3px;
  transition: transform var(--transition);
}
/* Rotate only — never shift margins on hover, or the link box resizes
   under the cursor and the hover state flickers */
.main-nav .has-dropdown:hover > a::after { transform: rotate(225deg); }
.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  /* Delayed visibility on close = a grace period, so briefly slipping
     off the menu doesn't snap it shut */
  transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 0s linear 200ms;
}
/* Invisible bridge covering the gap between the link and the panel */
.main-nav .dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 0s;
}
.main-nav .dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
}
.main-nav .dropdown a::before { display: none; }
.main-nav .dropdown a:hover { background: rgba(38, 115, 213, 0.1); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
}
.btn-phone:hover { color: var(--primary-600); }
.btn-phone svg { width: 18px; height: 18px; color: var(--primary-600); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--dark-2);
  border: 1px solid var(--border);
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle::before { transform: translate(-50%, -8px); }
.nav-toggle::after { transform: translate(-50%, 6px); }
.nav-toggle.active span { opacity: 0; }
.nav-toggle.active::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle.active::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(120deg, #2673d5 0%, #195198 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(25, 81, 152, 0.45);
}
.btn-primary:hover {
  background: linear-gradient(120deg, #3684e4 0%, #1e63b8 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(38, 115, 213, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--dark); transform: translateY(-2px); }
.btn-dark {
  background: var(--white);
  color: var(--dark);
}
.btn-dark:hover { background: var(--gray-700); color: var(--dark); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(25, 81, 152, 0.12); }
.btn-lg { padding: 18px 36px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ============ EYEBROW LABELS (bronze rule + tracked caps) ============ */
.section-eyebrow {
  display: inline-block;
  background: none;
  padding: 0;
  color: var(--gray-500);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ============ HERO (full-bleed background video) ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 900px);
  padding: 120px 0;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0.15) 0%, rgba(10, 11, 14, 0.7) 100%),
    linear-gradient(100deg, rgba(10, 11, 14, 0.88) 0%, rgba(15, 44, 89, 0.45) 50%, rgba(10, 11, 14, 0.2) 100%);
  pointer-events: none;
}
/* Diagonal transition into the next section */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: var(--dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero-content {
  max-width: 820px;
  animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8b45a;
  box-shadow: 0 0 10px rgba(232, 180, 90, 0.9), 0 0 22px rgba(232, 180, 90, 0.4);
  animation: goldPulse 2.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes goldPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}
.hero h1 {
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  margin-bottom: 28px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}
.hero h1 .accent { color: var(--primary-600); }
.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--gray-700);
  margin-bottom: 36px;
  max-width: 700px;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust-item strong {
  font-size: 1.75rem;
  color: var(--primary-600);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1;
}
.hero-trust-item span {
  font-size: 12.5px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--dark);
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-bar-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.trust-logos img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity var(--transition);
}
.trust-logos img:hover { opacity: 0.95; }

/* ============ SECTIONS ============ */
.section { padding: 140px 0; }
.section-tight { padding: 96px 0; }
.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(15, 44, 89, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(15, 44, 89, 0.35) 0%, transparent 50%),
    var(--dark);
  color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--gray-700); }
.section-gray {
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header h2 { margin-bottom: 20px; }
.section-header h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  margin: 20px auto 0;
}
.section-header.left h2::after { margin-left: 0; }
.section-header p { font-size: 1.125rem; color: var(--gray-500); }

/* ============ SERVICES GRID ============ */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-100);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  transition: border-color var(--transition);
}
.service-card:hover .service-card-icon { border-color: rgba(38, 115, 213, 0.5); }
.service-card-icon img { width: 32px; height: 32px; object-fit: contain; }
.service-card h3 { margin-bottom: 12px; font-size: 1.375rem; }
.service-card p { font-size: 15px; margin-bottom: 24px; color: var(--gray-500); }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
  color: var(--primary-600);
}
.service-card:hover .service-card-link { color: var(--primary-600); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* ============ PRODUCTS / BRANDS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
/* Full-bleed media header (placeholder manufacturer imagery until client assets arrive) */
.product-card-media {
  position: relative;
  margin: -40px -40px 28px;
  aspect-ratio: 16/9;
  background: radial-gradient(circle at 50% 42%, #232b38 0%, #12151c 78%);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.product-card-media.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 16px;
  background: rgba(25, 81, 152, 0.22);
  border: 1px solid rgba(38, 115, 213, 0.35);
  color: var(--primary-600);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.product-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.product-card-sub {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.product-card > p { font-size: 15px; margin-bottom: 20px; color: var(--gray-500); }
.product-card-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.product-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}
.product-card-features .lucide {
  width: 15px;
  height: 15px;
  color: var(--primary-600);
  flex-shrink: 0;
  margin-top: 4px;
}
.product-card .service-card-link { margin-top: auto; }
.product-card:hover .service-card-link { color: var(--primary-600); }
.product-card:hover .service-card-link svg { transform: translateX(4px); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid h2 { margin-bottom: 20px; }
.about-grid h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  margin: 20px 0 0;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.05) 0%, rgba(10, 11, 14, 0.45) 100%);
  pointer-events: none;
}
.about-image-decor {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.6;
}
.about-list { list-style: none; margin: 32px 0; display: grid; gap: 16px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-700);
}
.about-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
}
.about-list .check svg { width: 13px; height: 13px; stroke-width: 3; }

/* ============ STATS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.stat {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.stat:hover { transform: translateY(-4px); border-color: var(--primary); }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ FUNNEL FORM ============ */
.funnel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--deep) 45%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
.funnel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(38, 115, 213, 0.25), transparent 70%);
  pointer-events: none;
}
.funnel::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232, 180, 90, 0.08), transparent 70%);
  pointer-events: none;
}
.funnel-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.funnel-info { color: var(--white); }
.funnel-info .section-eyebrow { color: var(--gray-700); }
.funnel-info h2 { color: var(--white); margin-bottom: 16px; }
.funnel-info p { color: var(--gray-700); font-size: 1.0625rem; margin-bottom: 32px; }
.funnel-features { list-style: none; display: grid; gap: 20px; }
.funnel-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--gray-700);
  font-size: 15px;
}
.funnel-features .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.4);
  color: var(--white);
  display: grid;
  place-items: center;
}
.funnel-features .icon svg { width: 18px; height: 18px; }
.funnel-features strong { display: block; color: var(--white); font-size: 16px; margin-bottom: 4px; }

.funnel-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
/* Single continuous progress track (segments fill it left to right) */
.funnel-progress {
  display: flex;
  gap: 0;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 32px;
}
.funnel-progress-step {
  flex: 1;
  height: 100%;
  background: transparent;
  transition: background var(--transition);
}
.funnel-progress-step.active { background: linear-gradient(90deg, #195198, #2673d5); }
.funnel-progress-step.completed { background: #195198; }

.funnel-step { display: none; }
.funnel-step.active { display: block; animation: stepIn 350ms ease-out; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.funnel-step-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.funnel-step h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.funnel-step .funnel-help {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.funnel-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.funnel-options.cols-3 { grid-template-columns: repeat(3, 1fr); }
.funnel-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--dark);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  transition: all var(--transition);
  cursor: pointer;
}
.funnel-option:hover {
  border-color: var(--primary);
  background: var(--primary-100);
}
.funnel-option.selected {
  border-color: var(--primary-600);
  background: var(--primary-100);
  box-shadow: 0 0 18px rgba(38, 115, 213, 0.22);
}
.funnel-option .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--primary-600);
}
.funnel-option .icon svg { width: 26px; height: 26px; }
.funnel-option input { position: absolute; opacity: 0; pointer-events: none; }

.funnel-fields { display: grid; gap: 18px; margin-bottom: 28px; }
.funnel-field { display: flex; flex-direction: column; gap: 6px; }
.funnel-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}
.funnel-field input,
.funnel-field textarea,
.funnel-field select {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 15px;
  background: var(--dark);
  transition: all var(--transition);
  color: var(--gray-900);
  width: 100%;
}
.funnel-field input::placeholder,
.funnel-field textarea::placeholder { color: var(--gray-500); opacity: 0.7; }
.funnel-field textarea { resize: vertical; min-height: 100px; }
.funnel-field input:focus,
.funnel-field textarea:focus,
.funnel-field select:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(38, 115, 213, 0.2);
}
.funnel-field input.error,
.funnel-field select.error {
  border-color: var(--error);
}
.funnel-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.funnel-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.funnel-actions .btn { flex: 1; max-width: 200px; }
.funnel-back {
  background: transparent;
  color: var(--gray-500);
  border: 1px solid var(--border);
}
.funnel-back:hover { border-color: var(--gray-300); color: var(--white); background: transparent; }
.funnel-success {
  text-align: center;
  padding: 24px 0;
}
.funnel-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.funnel-success-icon svg { width: 40px; height: 40px; stroke-width: 3; }
.funnel-success h3 { margin-bottom: 12px; font-size: 1.625rem; }
.funnel-success p { color: var(--gray-500); margin-bottom: 24px; }

.funnel-tos {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 14px;
}

.funnel-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: 8px;
}
.funnel-error a { color: inherit; font-weight: 700; }

/* ============ ACCREDITATIONS ============ */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.accred-grid img {
  height: 64px;
  width: auto;
  max-width: 160px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--transition);
}
.accred-grid img:hover { opacity: 0.95; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.15) 0%, rgba(10, 11, 14, 0.55) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery-wide { grid-column: span 2; aspect-ratio: 2/1; }

/* ============ REVIEWS ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.review-stars {
  display: flex;
  gap: 2px;
  color: var(--gold-text);
}
.review-stars svg { width: 17px; height: 17px; }
.review-quote {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-100);
  border: 1px solid var(--border);
  color: var(--primary-600);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.review-author-meta {
  font-size: 12px;
  color: var(--gray-500);
}

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(15, 44, 89, 0.65) 0%, transparent 60%),
    linear-gradient(135deg, var(--deep) 0%, var(--dark) 70%);
  color: var(--white);
  padding: 96px 0 120px;
  overflow: hidden;
}
/* Decorative circuit lines, top right — two carry animated "voltage" currents */
.page-hero-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: min(760px, 85vw);
  height: auto;
  opacity: 0.8;
  pointer-events: none;
}
.page-hero-lines path { stroke-width: 1.2; }
.page-hero-lines .volt-track { stroke: rgba(94, 114, 140, 0.28); }
.page-hero-lines .volt-current {
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 9 91;
}
.page-hero-lines .volt-gold {
  stroke: #e8b45a;
  filter: drop-shadow(0 0 6px rgba(232, 180, 90, 0.85));
  animation: voltDash 7s linear infinite;
}
.page-hero-lines .volt-blue {
  stroke: #2673d5;
  filter: drop-shadow(0 0 6px rgba(38, 115, 213, 0.85));
  animation: voltDash 9s linear infinite;
  animation-delay: 1.2s;
}
@keyframes voltDash {
  to { stroke-dashoffset: -100; }
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: var(--dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary-600); }
.breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}
.page-hero h1 .accent { color: var(--primary-600); }
.page-hero p {
  font-size: 1.125rem;
  color: var(--gray-700);
  max-width: 560px;
  margin-bottom: 32px;
}
.page-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.page-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.1) 0%, rgba(10, 11, 14, 0.45) 100%);
  pointer-events: none;
}
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ FEATURE GRID ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-100);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--primary-600);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h4 { margin-bottom: 10px; font-size: 1.125rem; }
.feature-card p { font-size: 14px; color: var(--gray-500); }

/* ============ PROCESS / STEPS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 40px 32px;
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.process-step:hover { transform: translateY(-4px); border-color: var(--primary); }
.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: 'Sora', sans-serif;
}
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--gray-500); }

/* ============ CONTENT BLOCK / RICH TEXT ============ */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.content-block.reverse > div:first-child { order: 2; }
.content-block-text h2 { margin-bottom: 20px; }
.content-block-text h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  margin: 20px 0 0;
}
.content-block-text p { margin-bottom: 16px; font-size: 1.0625rem; }
.content-block-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}
.content-block-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.05) 0%, rgba(10, 11, 14, 0.4) 100%);
  pointer-events: none;
}
.content-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ FAQ ============ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] { border-color: var(--primary); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-100);
  border: 1px solid var(--border);
  color: var(--primary-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-q-icon svg { width: 14px; height: 14px; transition: transform var(--transition); }
.faq-item[open] .faq-q-icon { background: var(--primary); color: var(--white); border-color: var(--primary); }
.faq-item[open] .faq-q-icon svg { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--gray-500); font-size: 15px; line-height: 1.7; }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: linear-gradient(120deg, var(--primary) 0%, var(--deep) 55%, var(--dark) 100%);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(38, 115, 213, 0.3), transparent 55%),
    radial-gradient(circle at 8% 88%, rgba(232, 180, 90, 0.12), transparent 45%);
  pointer-events: none;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-strip h2 {
  margin-bottom: 8px;
  color: var(--white);
}
.cta-strip p {
  color: var(--gray-700);
  font-size: 1.0625rem;
}
.cta-strip .btn-dark {
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: var(--gray-500);
  padding: 96px 0 0;
  border-top: 1px solid var(--border);
}
.footer .container { max-width: var(--page-w); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-logo { height: 72px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; color: var(--gray-500); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray-500);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary-600); }
.footer-social svg { width: 16px; height: 16px; }

.footer h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { color: var(--gray-500); font-size: 14px; }
.footer ul a:hover { color: var(--primary-600); }
.footer-contact { display: grid; gap: 14px; font-size: 14px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-500);
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a { color: var(--gray-500); }
.footer-contact-item a:hover { color: var(--primary-600); }
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--gray-500); }
.footer-bottom-links a:hover { color: var(--primary-600); }

.footer-legal {
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray-500);
  opacity: 0.75;
  max-width: 900px;
}
.footer-legal + .footer-bottom { border-top: none; }

/* ============ MOBILE STICKY CTA BAR ============ */
.mobile-cta-bar {
  display: none; /* hidden by default; shown on mobile via media query */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 14, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  gap: 10px;
  align-items: center;
}
.mobile-cta-bar .btn {
  flex: 1;
  padding: 14px 16px;
  font-size: 14px;
}
.mobile-cta-bar .btn-mobile-call {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all var(--transition);
}
.mobile-cta-bar .btn-mobile-call:hover {
  border-color: var(--primary);
  color: var(--primary-600);
}
.mobile-cta-bar .btn-mobile-call .lucide { width: 22px; height: 22px; }
body.modal-open .mobile-cta-bar { display: none !important; }

/* Hide cta-bar when keyboard is open / on iOS focus  */
@media (max-height: 480px) {
  .mobile-cta-bar { display: none !important; }
  body { padding-bottom: 0; }
}

/* ============ GALLERY ITEM FALLBACK ============ */
.gallery-item {
  background: var(--dark-2);
}
.gallery-item img {
  background: var(--dark-2);
}
.gallery-item img.is-error {
  display: none;
}
.gallery-item.is-error::after {
  opacity: 1 !important;
  background: linear-gradient(135deg, rgba(25, 81, 152, 0.2), rgba(15, 44, 89, 0.1)) !important;
}

/* ============ MOBILE MENU (full-screen overlay) ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 0 20px calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

/* Staggered entrance for each menu block */
.mobile-menu > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}
.mobile-menu.open > * { opacity: 1; transform: translateY(0); }
.mobile-menu.open > *:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.open > *:nth-child(3) { transition-delay: 110ms; }
.mobile-menu.open > *:nth-child(4) { transition-delay: 160ms; }
.mobile-menu.open > *:nth-child(5) { transition-delay: 210ms; }
.mobile-menu.open > *:nth-child(6) { transition-delay: 260ms; }

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  flex-shrink: 0;
  position: relative;
}
.mobile-menu-top::after {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(25, 81, 152, 0) 0%,
    #195198 12%,
    #2673d5 26%,
    #7db4f0 38%,
    #e8b45a 50%,
    #7db4f0 62%,
    #2673d5 74%,
    #195198 88%,
    rgba(25, 81, 152, 0) 100%);
  background-size: 200% 100%;
  animation: voltageFlow 5s linear infinite;
}
.mobile-menu-logo { height: 44px; width: auto; }
.mobile-menu-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--dark-2);
  border: 1px solid var(--border);
  color: var(--white);
  display: grid;
  place-items: center;
}
.mobile-menu-close .lucide { width: 20px; height: 20px; }

.mobile-menu-primary { padding: 18px 0 4px; }
.mobile-menu-primary ul { list-style: none; display: grid; }
.mobile-menu-primary a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-family: 'Sora', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-menu-primary a .lucide { width: 20px; height: 20px; color: var(--gray-500); }
.mobile-menu-primary a:hover,
.mobile-menu-primary a:active { color: var(--primary-600); }

.mobile-menu-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 18px 0 10px;
}
.mobile-menu-services {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile-menu-services a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
}
.mobile-menu-services a:active { border-color: var(--primary); color: var(--white); }
.mobile-menu-services .lucide {
  width: 16px;
  height: 16px;
  color: var(--primary-600);
  flex-shrink: 0;
}

.mobile-menu-cta {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.mobile-menu-cta .btn { width: 100%; }

.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray-500);
}
.mobile-menu-social { display: flex; gap: 10px; }
.mobile-menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray-500);
}
.mobile-menu-social a:active { border-color: var(--primary); color: var(--primary-600); }
.mobile-menu-social svg { width: 15px; height: 15px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section { padding: 100px 0; }
  .page-hero-grid,
  .funnel-grid,
  .about-grid,
  .content-block { grid-template-columns: 1fr; gap: 48px; }
  .content-block.reverse > div:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .topbar { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-quote, .header-actions .btn-phone { display: none; }
  .header-inner { height: 72px; }
  .logo img { height: 50px; }
  .hero { padding: 80px 0; min-height: 78vh; }
  .hero::after { height: 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .page-hero-cta { flex-direction: column; align-items: stretch; }
  .page-hero-cta .btn { width: 100%; }
  .funnel-card { padding: 28px 22px; }
  .funnel-fields-row { grid-template-columns: 1fr; }
  .funnel-options { grid-template-columns: repeat(2, 1fr); }
  .funnel-options.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tall { grid-row: span 1; aspect-ratio: 1; }
  .gallery-wide { grid-column: span 1; aspect-ratio: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-strip { padding: 72px 0; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip h2 { font-size: 1.625rem; }
  .trust-bar-inner { gap: 20px; }
  .trust-logos { gap: 24px; }
  .trust-logos img { height: 36px; }
  .funnel-actions { flex-direction: column-reverse; }
  .funnel-actions .btn { max-width: none; width: 100%; }
  .funnel-cta-card { padding: 36px 24px; }
  .service-card, .product-card { padding: 32px 28px; }
  .product-card-media { margin: -32px -28px 24px; }
  /* Fixed bottom CTA bar visible on mobile */
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 88px; }
  .footer { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.125rem; }
  .container { padding: 0 16px; }
  .funnel-card { padding: 24px 18px; }
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { gap: 20px; }
  .hero-trust-item strong { font-size: 1.25rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ LUCIDE ICONS ============ */
[data-lucide], .lucide {
  display: inline-block;
  vertical-align: middle;
}
i[data-lucide] svg, i.lucide svg, .lucide {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  vertical-align: middle;
}

/* Default sizes per context */
.topbar-info .lucide { width: 14px; height: 14px; color: var(--primary-600); }
.topbar-social .lucide { width: 13px; height: 13px; }
.btn .lucide { width: 18px; height: 18px; flex-shrink: 0; }
.btn-phone .lucide { width: 18px; height: 18px; color: var(--primary-600); }
.about-list .check .lucide { width: 13px; height: 13px; stroke-width: 3; }
.feature-icon .lucide { width: 30px; height: 30px; }
.service-card-icon .lucide { width: 30px; height: 30px; color: var(--primary-600); }
.service-card-link .lucide { width: 16px; height: 16px; }
.review-stars .lucide { width: 17px; height: 17px; }
.footer-contact-item .lucide { width: 18px; height: 18px; color: var(--primary-600); flex-shrink: 0; margin-top: 2px; }
.footer-social .lucide { width: 16px; height: 16px; }
.faq-q-icon .lucide { width: 14px; height: 14px; }
.funnel-features .icon .lucide { width: 18px; height: 18px; }
.funnel-option .icon .lucide { width: 26px; height: 26px; }
.funnel-success-icon .lucide { width: 40px; height: 40px; stroke-width: 3; }
.modal-close .lucide { width: 20px; height: 20px; }
.breadcrumb .lucide { width: 12px; height: 12px; }
.btn-quote .lucide { width: 16px; height: 16px; }
.product-card-features .lucide { width: 15px; height: 15px; }

/* ============ FUNNEL CTA CARD ============ */
@property --cardBorderAngle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.funnel-cta-card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--dark-2), var(--dark-2)) padding-box,
    conic-gradient(from var(--cardBorderAngle),
      var(--border) 0deg,
      #195198 70deg,
      #2673d5 105deg,
      #e8b45a 130deg,
      #2673d5 155deg,
      #195198 190deg,
      var(--border) 260deg,
      var(--border) 360deg) border-box;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: left;
  box-shadow: var(--shadow-lg), 0 0 28px rgba(38, 115, 213, 0.14);
  position: relative;
  overflow: hidden;
  animation: cardBorderFlow 7s linear infinite;
}
@keyframes cardBorderFlow {
  to { --cardBorderAngle: 360deg; }
}
.funnel-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(38, 115, 213, 0.14) 0%, transparent 55%);
  pointer-events: none;
}
.funnel-cta-card-bolt {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 250px;
  height: auto;
  opacity: 0.2;
  transform: rotate(10deg);
  filter: drop-shadow(0 0 36px rgba(38, 115, 213, 0.55));
  pointer-events: none;
}
.funnel-cta-card h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  position: relative;
}
.funnel-cta-card p {
  font-size: 15.5px;
  color: var(--gray-500);
  margin-bottom: 28px;
  max-width: 420px;
  position: relative;
}
.funnel-cta-card .btn {
  width: 100%;
  position: relative;
}
.funnel-cta-card-trust {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-500);
  position: relative;
}
.funnel-cta-card-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.funnel-cta-card-trust .lucide {
  width: 14px;
  height: 14px;
  color: var(--primary-600);
}

/* ============ STORY VIDEO ============ */
.story {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.story-text h2 { margin-bottom: 20px; }
.story-text h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  margin: 20px 0 0;
}
.story-text p { font-size: 1.0625rem; margin-bottom: 16px; }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  padding: 28px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.story-stat strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: 8px;
}
.story-stat span {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.story-player {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 9/16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition);
}
.story-player:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.story-player.playing {
  cursor: default;
}
.story-player.playing:hover {
  transform: none;
}

.story-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.15) 0%, rgba(10, 11, 14, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: opacity 350ms ease;
  z-index: 2;
}
.story-player.playing .story-player-overlay {
  opacity: 0;
  pointer-events: none;
}

.story-player-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 11, 14, 0.75);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.story-player-tag .lucide {
  width: 12px;
  height: 12px;
  color: var(--primary-600);
}

.story-player-bottom {
  color: var(--white);
  text-align: left;
}
.story-player-bottom strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Sora', sans-serif;
}
.story-player-bottom small {
  font-size: 13px;
  opacity: 0.75;
}

.story-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px rgba(25, 81, 152, 0.4);
  transition: all 300ms ease-out;
  z-index: 3;
  animation: storyPulse 2.4s infinite;
  cursor: pointer;
}
.story-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--primary-600);
}
.story-play-btn .lucide {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: currentColor;
  stroke-width: 0;
}
.story-player.playing .story-play-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}
@keyframes storyPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(25, 81, 152, 0.4), 0 0 0 0 rgba(38, 115, 213, 0.45); }
  50% { box-shadow: 0 0 30px rgba(25, 81, 152, 0.4), 0 0 0 16px rgba(38, 115, 213, 0); }
}

.story-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.story-player.playing .story-controls {
  opacity: 1;
  transform: translateY(0);
}
.story-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms ease;
}
.story-control-btn:hover { background: rgba(10, 11, 14, 0.9); }
.story-control-btn .lucide { width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-player { max-width: 320px; }
  .story-text { text-align: center; }
  .story-text h2::after { margin-left: auto; margin-right: auto; }
  .story-stats { max-width: 520px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .story-stats { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .story-stat { display: flex; align-items: center; gap: 12px; text-align: left; }
  .story-stat strong { margin-bottom: 0; }
}

/* Story video full-screen / expanded mode */
.story-fullscreen {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.96);
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
  cursor: pointer;
}
.story-fullscreen.open {
  opacity: 1;
  visibility: visible;
}
.story-fullscreen-inner {
  position: relative;
  height: 100%;
  max-height: 90vh;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: default;
}
.story-fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.story-fullscreen-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  display: grid;
  place-items: center;
  z-index: 5;
}
.story-fullscreen-close .lucide { width: 20px; height: 20px; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
  overflow-y: auto;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--gray-500);
  transition: all var(--transition);
  z-index: 1;
}
.modal-close:hover { border-color: var(--gray-300); color: var(--white); }
.modal-close svg, .modal-close i { width: 20px; height: 20px; }

body.modal-open { overflow: hidden; }

@media (max-width: 768px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 32px 22px;
    max-width: 100%;
    margin-bottom: 0;
    transform: translateY(40px);
    max-height: 95vh;
    overflow-y: auto;
  }
  .modal-overlay.open .modal { transform: translateY(0); }
}

/* Modal funnel form fits same styling as inline funnel-card,
   but must not draw its own card chrome inside the modal */
.modal .funnel-card {
  border: none;
  padding: 0;
  box-shadow: none;
  background: transparent;
}
.modal .funnel-progress { margin-top: 8px; }
.modal:focus { outline: none; }

/* Soft glow on the bronze heading rules — subtle, site-wide */
.section-header h2::after,
.about-grid h2::after,
.content-block-text h2::after,
.story-text h2::after {
  box-shadow: 0 0 14px rgba(232, 180, 90, 0.35);
}

/* ============ PROSE (policy / long-form pages) ============ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--gray-500); font-size: 15.5px; line-height: 1.75; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px 20px; display: grid; gap: 8px; }
.prose a { color: var(--primary-600); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--gray-700); }

/* ============ CONTACT CARDS ============ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-100);
  border: 1px solid var(--border);
  color: var(--primary-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.contact-card .icon .lucide { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--gray-500); line-height: 1.7; }
.contact-card a:hover { color: var(--primary-600); }

/* ============ UTILITIES ============ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
