/* ============================================================
   Planet Electrical Design System
   Space Grotesk (display) + Inter (body)
   Dark energy base with solar lime accent
   ============================================================ */

:root {
  /* Color tokens */
  --ink-950: #081831;
  --ink-900: #0d2142;
  --ink-800: #16305c;
  --ink-700: #234174;
  --ink-600: #3a5687;
  --ink-100: #e7edf6;
  --paper: #f3f7fc;
  --white: #ffffff;
  --sky: #6fb6ff;
  --sky-strong: #4d9bff;
  --sky-dim: rgba(111, 182, 255, 0.12);
  --amber: #ffb84d;
  --blue: #1d5fd6;
  --muted: #5a6b80;
  --muted-on-dark: #a5b6cd;
  --line: rgba(13, 33, 66, 0.1);
  --line-on-dark: rgba(231, 237, 246, 0.12);
  --danger: #d64545;

  /* Type scale */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(1.9rem, 1.4rem + 2.4vw, 2.9rem);
  --text-hero: clamp(2.5rem, 1.6rem + 4.5vw, 4.9rem);

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 1px 2px rgba(8, 24, 49, 0.05), 0 12px 32px -12px rgba(8, 24, 49, 0.12);
  --shadow-pop: 0 24px 60px -20px rgba(8, 24, 49, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

::selection { background: var(--sky); color: var(--ink-950); }

:focus-visible {
  outline: 3px solid var(--sky-strong);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--sky); color: var(--ink-950);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: var(--text-base);
  min-height: 48px;
  transition: transform var(--dur) var(--ease-out), background var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--sky); color: var(--ink-950); }
.btn-primary:hover { background: var(--sky-strong); box-shadow: 0 8px 24px -8px rgba(77, 155, 255, 0.45); }
.btn-dark { background: var(--ink-950); color: var(--white); }
.btn-dark:hover { background: var(--ink-800); }
.btn-outline { border-color: var(--line); color: var(--ink-900); background: transparent; }
.btn-outline:hover { border-color: var(--ink-900); }
.on-dark .btn-outline, .btn-outline.light { border-color: var(--line-on-dark); color: var(--white); }
.on-dark .btn-outline:hover, .btn-outline.light:hover { border-color: var(--white); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: var(--text-lg); }
.btn .arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 24, 49, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-dark);
  transition: background var(--dur);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--white); letter-spacing: -0.01em;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--sky) 0%, var(--sky-strong) 42%, var(--blue) 100%);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; stroke: var(--ink-950); }
.logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }

.nav-links { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 999px;
  color: var(--muted-on-dark); font-size: 0.95rem; font-weight: 500;
  transition: color var(--dur), background var(--dur);
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.nav-links a[aria-current="page"] { color: var(--sky); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { color: var(--white); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-phone svg { width: 16px; height: 16px; stroke: var(--sky); }
.nav-phone:hover { color: var(--sky); }
.nav .btn { padding: 0.6rem 1.25rem; min-height: 44px; font-size: 0.95rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 0.6rem;
  width: 48px; height: 48px; border-radius: 12px;
}
.nav-toggle svg { stroke: var(--white); width: 26px; height: 26px; }

.mobile-menu {
  display: none;
  background: var(--ink-950);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 0.75rem 1.25rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.9rem 0.5rem; color: var(--ink-100);
  font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--line-on-dark);
}
.mobile-menu a[aria-current="page"] { color: var(--sky); }
.mobile-menu .btn { margin-top: 1.25rem; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-950);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(111, 182, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(29, 95, 214, 0.25), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(231, 237, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 237, 246, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  max-width: 60rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow { color: var(--sky); }
.hero .lede, .lede-dark {
  font-size: var(--text-xl); color: var(--muted-on-dark);
  max-width: 38rem; line-height: 1.55;
}
.lede { font-size: var(--text-xl); color: var(--muted); max-width: 40rem; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.25rem; font-size: var(--text-sm); color: var(--muted-on-dark); display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { width: 16px; height: 16px; stroke: var(--sky); flex-shrink: 0; }

/* Accent word in headings */
.accent { color: var(--sky); }
.underline-accent {
  background-image: linear-gradient(transparent 78%, rgba(111, 182, 255, 0.55) 78%);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  position: relative;
  background: var(--ink-950); color: var(--white);
  border-top: 1px solid var(--line-on-dark);
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-on-dark);
}
.trust-item {
  background: var(--ink-950);
  padding: 1.5rem 1.75rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.trust-item svg { width: 26px; height: 26px; stroke: var(--sky); flex-shrink: 0; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.01em; }
.trust-item span { font-size: var(--text-sm); color: var(--muted-on-dark); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-dark { background: var(--ink-950); color: var(--white); }
.section-white { background: var(--white); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-dark .lede { color: var(--muted-on-dark); }

.split-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); flex-wrap: wrap;
}
.split-head .section-head { margin-bottom: 0; }

/* ---------- Cards & bento ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
a.card { display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: rgba(13, 33, 66, 0.18); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sky-dim);
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem; font-weight: 600; font-size: var(--text-sm); color: var(--ink-900);
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
a.card:hover .card-link svg { transform: translateX(4px); }

.card-dark {
  background: var(--ink-900);
  border: 1px solid var(--line-on-dark);
  color: var(--white);
  box-shadow: none;
}
.card-dark p { color: var(--muted-on-dark); }
.card-dark .card-icon { background: rgba(111, 182, 255, 0.1); }
.card-dark .card-icon svg { stroke: var(--sky); }

.card-feature {
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-950) 70%);
  color: var(--white);
  border: 1px solid var(--line-on-dark);
  position: relative; overflow: hidden;
}
.card-feature::after {
  content: "";
  position: absolute; top: -30%; right: -20%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 182, 255, 0.22) 0%, transparent 65%);
}
.card-feature p { color: var(--muted-on-dark); }
.card-feature .card-link { color: var(--sky); }

/* ---------- Stats ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.stat { border-left: 2px solid var(--blue); padding-left: 1.25rem; }
.section-dark .stat, .on-dark .stat { border-left-color: var(--sky); }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-num sub, .stat-num sup { font-size: 0.45em; font-weight: 600; }
.stat-label { color: var(--muted-on-dark); font-size: var(--text-sm); margin-top: 0.45rem; }
.section:not(.section-dark) .stat-label { color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section-dark .step { background: var(--ink-900); border-color: var(--line-on-dark); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  color: var(--ink-950); background: var(--sky);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.section-dark .step p { color: var(--muted-on-dark); }

/* ---------- Package cards ---------- */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.package {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.package.card-dark { background: var(--ink-900); border-color: var(--line-on-dark); color: var(--white); box-shadow: none; }
.package.card-dark .pkg-spec { border-color: var(--line-on-dark); }
.package.card-dark .pkg-spec span { color: var(--muted-on-dark); }
.packages .package.card-dark .pkg-size { color: var(--sky-strong); }
.package.highlight { background: var(--ink-950); color: var(--white); border-color: rgba(111, 182, 255, 0.55); }
.package.highlight .pkg-spec { border-color: var(--line-on-dark); }
.package.highlight .pkg-spec span { color: var(--muted-on-dark); }
.pkg-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sky); color: var(--ink-950);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.pkg-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.pkg-size { color: var(--sky-strong); font-weight: 600; font-size: var(--text-sm); margin-bottom: 1.25rem; }
.package:not(.highlight) .pkg-size { color: var(--blue); }
.pkg-spec {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}
.pkg-spec span { color: var(--muted); }
.pkg-spec strong { font-weight: 600; text-align: right; }
.package .btn { margin-top: auto; margin-top: 1.5rem; width: 100%; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; stroke: var(--blue); flex-shrink: 0; margin-top: 2px; }
.on-dark .checklist svg, .section-dark .checklist svg { stroke: var(--sky); }
.checklist strong { font-weight: 600; }

/* ---------- Two-column feature ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-950));
  border: 1px solid var(--line-on-dark);
  display: grid; place-items: center;
}
.feature-media svg.illus { width: 72%; height: auto; }
.feature-media .badge-float {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: rgba(8, 24, 49, 0.75); backdrop-filter: blur(8px);
  color: var(--white); border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm); padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 0.6rem; font-size: var(--text-sm); font-weight: 600;
}
.feature-media .badge-float svg { width: 18px; height: 18px; stroke: var(--sky); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.section-dark .accordion, .section-dark .accordion-item { border-color: var(--line-on-dark); }
.accordion-trigger {
  width: 100%; background: none; border: 0; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
  color: inherit; min-height: 48px;
}
.accordion-trigger svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--dur) var(--ease-out); stroke: currentColor; }
.accordion-item.open .accordion-trigger svg { transform: rotate(45deg); }
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height 280ms var(--ease-out); }
.accordion-panel-inner { padding: 0 0.25rem 1.5rem; color: var(--muted); max-width: 46rem; }
.section-dark .accordion-panel-inner { color: var(--muted-on-dark); }

/* ---------- Reviews ---------- */
.review-card { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.review-stars { display: flex; gap: 3px; }
.review-stars svg { width: 18px; height: 18px; fill: var(--amber); stroke: none; }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; flex-grow: 1; }
.review-meta { font-size: var(--text-sm); color: var(--muted); }
.review-meta strong { display: block; color: var(--ink-900); font-weight: 600; }
.card-dark .review-meta strong { color: var(--white); }
.card-dark .review-meta { color: var(--muted-on-dark); }

/* ---------- Calculator ---------- */
.calc {
  background: var(--ink-950); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--line-on-dark);
}
.calc-field { margin-bottom: 1.75rem; }
.calc-field label { display: flex; justify-content: space-between; font-weight: 600; font-size: var(--text-sm); margin-bottom: 0.8rem; }
.calc-field output { color: var(--sky); font-variant-numeric: tabular-nums; }
input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px; appearance: none; -webkit-appearance: none;
  background: linear-gradient(to right, var(--sky) 0%, var(--sky) var(--fill, 50%), var(--ink-700) var(--fill, 50%), var(--ink-700) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sky); border: 4px solid var(--ink-950);
  box-shadow: 0 0 0 2px var(--sky); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky); border: 4px solid var(--ink-950);
  box-shadow: 0 0 0 2px var(--sky); cursor: grab;
}
.calc-results { display: grid; gap: 1rem; align-content: start; }
.calc-result {
  background: var(--ink-900); border: 1px solid var(--line-on-dark);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
}
.calc-result .label { font-size: var(--text-sm); color: var(--muted-on-dark); }
.calc-result .value {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  color: var(--sky); font-variant-numeric: tabular-nums;
}
.calc-result.neutral .value { color: var(--white); }
.calc-note { font-size: var(--text-xs); color: var(--muted-on-dark); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
table.data th, table.data td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: 0.02em; background: var(--paper); }
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { font-weight: 600; }
.pill {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700;
  background: var(--sky-dim); color: var(--blue);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: var(--text-sm); }
.form-field label .req { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink-900);
  padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white);
  min-height: 48px;
  transition: border-color var(--dur);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 95, 214, 0.15);
}
.form-field .error-msg { display: none; color: var(--danger); font-size: var(--text-sm); }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--danger); }
.form-field.invalid .error-msg { display: block; }
.form-success {
  display: none; background: var(--sky-dim); border: 1.5px solid var(--blue);
  color: var(--blue); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; font-weight: 600; margin-top: 1.25rem;
}
.form-success.show { display: flex; gap: 0.6rem; align-items: center; }
.form-success svg { width: 20px; height: 20px; stroke: var(--blue); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink-950); color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 120%, rgba(111, 182, 255, 0.2), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 30ch; margin-inline: auto; }
.cta-band p { color: var(--muted-on-dark); max-width: 44rem; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Award ribbon ---------- */
.award-strip {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center;
  padding: 1.5rem 0; opacity: 0.95;
}
.award-strip .award {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-sm); font-weight: 600; color: var(--muted-on-dark);
}
.award-strip .award svg { width: 20px; height: 20px; stroke: var(--sky); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--muted-on-dark); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-on-dark); }
.footer-grid h4 { color: var(--white); font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-grid a { color: var(--muted-on-dark); font-size: 0.95rem; transition: color var(--dur); }
.footer-grid a:hover { color: var(--sky); }
.footer-brand p { font-size: 0.95rem; max-width: 30rem; margin-top: 1rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.footer-badges span {
  border: 1px solid var(--line-on-dark); border-radius: 999px;
  padding: 0.35rem 0.85rem; font-size: var(--text-xs); font-weight: 600; color: var(--ink-100);
}
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--sky); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.75rem; font-size: var(--text-sm);
}
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-on-dark); transition: border-color var(--dur), background var(--dur); }
.footer-social a:hover { border-color: var(--sky); background: rgba(111, 182, 255, 0.08); }
.footer-social svg { width: 18px; height: 18px; stroke: var(--ink-100); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--ink-950); color: var(--white); position: relative; overflow: hidden; }
.page-hero .hero-inner { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: var(--text-sm); color: var(--muted-on-dark); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb svg { width: 14px; height: 14px; stroke: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .grid-4, .stats-row, .steps, .packages { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .feature-split, .calc, .form-grid { grid-template-columns: 1fr; }
  .nav .btn-quote { display: none; }
  .card { padding: 1.5rem; }
  .card-feature { grid-row: auto; min-height: 300px; }
  .split-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
  .grid-4, .stats-row, .steps, .packages, .trust-bar-inner, .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
