/* =====================================================
   LION ELECTRIC — styles.css
   ===================================================== */

:root {
  --primary: #c8202b;
  --primary-rgb: 200, 32, 43;
  --primary-ink: #ffffff;
  --primary-ink-rgb: 255, 255, 255;
  --primary-dark: #971820;
  --primary-dark-rgb: 151, 24, 32;
  --primary-light: #e74e58;
  --primary-light-rgb: 231, 78, 88;
  --secondary: #180f33;
  --secondary-rgb: 24, 15, 51;
  --secondary-ink: #ffffff;
  --secondary-ink-rgb: 255, 255, 255;
  --accent: #180f33;
  --accent-rgb: 24, 15, 51;
  --accent-ink: #ffffff;
  --accent-ink-rgb: 255, 255, 255;
  --text: #1a1a1a;
  --text-rgb: 26, 26, 26;
  --text-light: #bdbdbd;
  --text-light-rgb: 189, 189, 189;
  --text-muted: #bebec6;
  --text-muted-rgb: 190, 190, 198;
  --background: #ffffff;
  --background-rgb: 255, 255, 255;
  --bg-alt: #180f33;
  --bg-alt-rgb: 24, 15, 51;
  --bg-alt-ink: #ffffff;
  --bg-alt-ink-rgb: 255, 255, 255;
  --surface: #f6f6f8;
  --surface-rgb: 246, 246, 248;
  --border: #8e8e93;
  --border-rgb: 142, 142, 147;
  --accent-dark: #000000;
  --accent-dark-rgb: 0, 0, 0;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(var(--accent-dark-rgb), 0.06);
  --shadow-md: 0 8px 28px rgba(var(--secondary-rgb), 0.10);
  --shadow-lg: 0 16px 48px rgba(var(--secondary-rgb), 0.18);
  --shadow-primary: 0 12px 28px rgba(var(--primary-rgb), 0.32);

  --container-max: 1240px;
  --section-pad-y: clamp(64px, 8vw, 112px);

  --transition: 220ms cubic-bezier(.4,0,.2,1);

  --font-body: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* -------- 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-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  color: var(--secondary);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
li { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 10px 18px;
  z-index: 999;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--background);
  box-shadow: 0 1px 0 var(--border);
}

.topbar {
  background: var(--secondary);
  color: var(--bg-alt-ink);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding-block: 8px;
}
.topbar__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(var(--bg-alt-ink-rgb), 0.85);
}
.topbar__label { color: rgba(var(--bg-alt-ink-rgb), 0.6); margin-right: 4px; }
.topbar__sep { color: rgba(var(--bg-alt-ink-rgb), 0.35); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bg-alt-ink);
  font-weight: 700;
  white-space: nowrap;
}
.topbar__phone:hover { color: var(--primary-light); }
.topbar__icon { color: var(--primary-light); flex-shrink: 0; }
.topbar__phone-text { white-space: nowrap; }
.topbar__cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.topbar__cta:hover { background: var(--primary-dark); color: var(--primary-ink); }

.navbar { background: var(--background); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo {
  width: 170px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: var(--shadow-primary);
}
.footer-brand__name {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.footer-brand__name-top {
  font-size: 1.2rem;
  color: var(--bg-alt-ink);
}
.footer-brand__name-bottom {
  font-size: 0.85rem;
  color: var(--primary-light);
  letter-spacing: 0.16em;
  margin-top: 4px;
}

/* Primary nav */
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--secondary);
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}
.primary-nav__link:hover,
.primary-nav__link:focus { color: var(--primary); background: rgba(var(--primary-rgb), 0.06); }
.primary-nav__link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}
.dropdown-caret { transition: transform var(--transition); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 50;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover > .primary-nav__link .dropdown-caret,
.has-dropdown.is-open > .primary-nav__link .dropdown-caret { transform: rotate(180deg); }

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  color: var(--secondary);
  font-weight: 500;
  font-size: 14.5px;
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.primary-nav__cta { margin-left: 6px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--background);
  padding: 0;
  position: relative;
}
.nav-toggle__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.nav-toggle__bar:nth-child(1) { top: 14px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--primary-ink);
}

.btn--ghost {
  background: rgba(var(--background-rgb), 0.12);
  color: var(--primary-ink);
  border-color: rgba(var(--primary-ink-rgb), 0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(var(--background-rgb), 0.22);
  border-color: rgba(var(--primary-ink-rgb), 0.7);
  color: var(--primary-ink);
}

.btn--outline-light {
  background: transparent;
  color: var(--bg-alt-ink);
  border-color: rgba(var(--bg-alt-ink-rgb), 0.5);
}
.btn--outline-light:hover {
  background: rgba(var(--bg-alt-ink-rgb), 0.12);
  border-color: var(--bg-alt-ink);
  color: var(--bg-alt-ink);
}

.btn--text {
  padding: 8px 4px;
  background: transparent;
  border: none;
  color: var(--primary);
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.btn--text:hover {
  background: transparent;
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
  transform: none;
}

.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  color: var(--primary-ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(var(--secondary-rgb), 0.82) 0%, rgba(var(--secondary-rgb), 0.45) 50%, rgba(var(--primary-dark-rgb), 0.35) 100%),
    radial-gradient(circle at 80% 85%, rgba(var(--primary-rgb), 0.28), transparent 55%),
    radial-gradient(circle at 10% 0%, rgba(var(--primary-light-rgb), 0.12), transparent 45%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(var(--primary-ink-rgb), 0.1);
  border: 1px solid rgba(var(--primary-ink-rgb), 0.22);
  border-radius: var(--radius-pill);
  color: var(--primary-ink);
  backdrop-filter: blur(8px);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}
.eyebrow-dot--light { background: var(--primary-light); }

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--primary-ink);
  margin: 0 0 18px;
  text-shadow: 0 2px 4px rgba(var(--accent-dark-rgb), 0.45);
}
.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(var(--primary-ink-rgb), 0.92);
  margin: 0 0 28px;
  max-width: 560px;
  text-shadow: 0 1px 3px rgba(var(--accent-dark-rgb), 0.4);
}

.hero__actions { margin-bottom: 32px; }
.hero__phone-text { white-space: nowrap; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: rgba(var(--primary-ink-rgb), 0.9);
  font-size: 14px;
  font-weight: 600;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg { color: var(--primary-light); flex-shrink: 0; }

/* Hero quote card */
.hero__card { position: relative; }
.hero-card {
  background: var(--background);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.hero-card__head { margin-bottom: 18px; }
.hero-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.hero-card__title {
  font-size: 1.55rem;
  margin: 0 0 8px;
  color: var(--secondary);
}
.hero-card__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.hero-card__bullets {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.hero-card__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-card__bullets svg { color: var(--primary); flex-shrink: 0; }
.hero-card__call {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-card__phone {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

/* =====================================================
   TRUST STRIP
   ===================================================== */
.trust-strip {
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 28px 0;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px clamp(12px, 2vw, 24px);
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin: 0 0 4px;
  line-height: 1.2;
}
.trust-item__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* =====================================================
   SECTIONS — shared
   ===================================================== */
.section {
  padding: var(--section-pad-y) 0;
}
.section--about { background: var(--background); }
.section--services { background: var(--surface); }
.section--areas {
  background:
    linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
}
.section--areas .media-frame {
  background: var(--secondary);
  box-shadow: 0 24px 60px rgba(var(--secondary-rgb), 0.18), 0 0 0 1px var(--border);
  aspect-ratio: 5 / 4;
}
.section--areas .media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(var(--secondary-rgb), 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.section--areas .media-frame img {
  object-position: center 40%;
}
.section--areas .media-badge--areas {
  z-index: 2;
  left: auto;
  right: -18px;
  bottom: -18px;
}
.section--faq { background: var(--surface); }
.section--contact { background: var(--background); }
.section--process { background: var(--background); }

.section__head { max-width: 760px; margin: 0 auto 56px; }
.section__head--center { text-align: center; }
.section__foot { margin-top: 40px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin: 0 0 16px;
}
.eyebrow--primary {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}
.eyebrow--light {
  background: rgba(var(--bg-alt-ink-rgb), 0.1);
  color: var(--bg-alt-ink);
  border: 1px solid rgba(var(--bg-alt-ink-rgb), 0.2);
}

.section__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--secondary);
  letter-spacing: -0.02em;
}
.section__sub,
.section__lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}
.section__note {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 12px;
}
.inline-link { color: var(--primary); font-weight: 700; }
.inline-link:hover { color: var(--primary-dark); }

/* Two-column grid: media + content */
.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.section__grid--media-left .section__content { order: 2; }
.section__grid--media-left .section__media { order: 1; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-frame--soft { box-shadow: var(--shadow-sm); background: var(--surface); }
.media-frame--soft img { object-fit: cover; opacity: 0.95; }

.media-badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-primary);
}
.media-badge__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-ink);
}
.media-badge__plus {
  font-size: 1.8rem;
  font-weight: 800;
  margin-left: 2px;
}
.media-badge__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-ink);
  letter-spacing: 0.02em;
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
.check-list strong { color: var(--secondary); font-weight: 700; }
.check-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* =====================================================
   SERVICES GRID
   ===================================================== */
.service-grid {
  display: grid;
  gap: 24px;
}
.service-grid.service-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.service-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body,
.service-card__body--full {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
  background: var(--background);
  color: var(--text);
}
.service-card__body--full {
  padding: 32px 28px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--primary);
  color: var(--primary-ink);
}

.service-card__title {
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--secondary);
  font-weight: 800;
}
.service-card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}

.service-card--featured {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-alt-ink);
}
.service-card--featured .service-card__body,
.service-card--featured .service-card__body--full {
  background: transparent;
  color: var(--bg-alt-ink);
}
.service-card--featured .service-card__title { color: var(--bg-alt-ink); }
.service-card--featured .service-card__desc { color: rgba(var(--bg-alt-ink-rgb), 0.78); }
.service-card--featured .service-card__icon {
  background: rgba(var(--bg-alt-ink-rgb), 0.12);
  color: var(--primary-light);
}
.service-card--featured:hover .service-card__icon {
  background: var(--primary);
  color: var(--primary-ink);
}
.service-card--featured .link-arrow { color: var(--primary-light); }
.service-card--featured .link-arrow:hover { color: var(--primary-ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
  letter-spacing: 0.01em;
  transition: gap var(--transition), color var(--transition);
}
.link-arrow:hover {
  color: var(--primary-dark);
  gap: 12px;
}

/* =====================================================
   WHY (dark) section
   ===================================================== */
.section--why {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 120px) 0;
  color: var(--bg-alt-ink);
}
.why__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.why__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.why__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.92) 0%, rgba(var(--secondary-rgb), 0.78) 55%, rgba(var(--primary-dark-rgb), 0.55) 100%),
    radial-gradient(circle at 90% 10%, rgba(var(--primary-rgb), 0.22), transparent 50%);
}

.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.why__intro { padding-top: 4px; }
.why__title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--bg-alt-ink);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.why__lede {
  color: rgba(var(--bg-alt-ink-rgb), 0.85);
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.65;
}
.why__intro .btn--primary {
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.45), 0 0 0 1px rgba(var(--primary-ink-rgb), 0.18);
}
.why__intro .btn--primary:hover {
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.55), 0 0 0 1px rgba(var(--primary-ink-rgb), 0.28);
}

.why__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(var(--bg-alt-ink-rgb), 0.14);
  border: 1px solid rgba(var(--bg-alt-ink-rgb), 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-feature {
  background: rgba(var(--accent-dark-rgb), 0.22);
  padding: 30px 28px;
  color: var(--bg-alt-ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition);
}
.why-feature:hover { background: rgba(var(--primary-rgb), 0.18); }
.why-feature__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-light);
  letter-spacing: 0.12em;
}
.why-feature__title {
  font-size: 1.15rem;
  color: var(--bg-alt-ink);
  margin: 0;
}
.why-feature__desc {
  color: rgba(var(--bg-alt-ink-rgb), 0.78);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   PROCESS / STEPS
   ===================================================== */
ol.steps {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  counter-reset: step;
}
.step {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-primary);
}
.step__title {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--secondary);
}
.step__desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   CTA BANNER (mid-page)
   ===================================================== */
.cta-banner {
  position: relative;
  isolation: isolate;
  color: var(--bg-alt-ink);
  padding: clamp(56px, 7vw, 88px) 0;
  overflow: hidden;
}
.cta-banner__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta-banner__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.05);
}
.cta-banner__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(var(--secondary-rgb), 0.95) 0%, rgba(var(--secondary-rgb), 0.78) 55%, rgba(var(--primary-dark-rgb), 0.65) 100%),
    radial-gradient(circle at 85% 50%, rgba(var(--primary-rgb), 0.28), transparent 55%);
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
.cta-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--bg-alt-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(var(--accent-dark-rgb), 0.5);
}
.cta-banner__sub {
  color: rgba(var(--bg-alt-ink-rgb), 0.88);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(var(--accent-dark-rgb), 0.4);
}
.cta-banner__actions { justify-content: flex-end; }
.cta-banner__phone { white-space: nowrap; }

/* =====================================================
   AREAS
   ===================================================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 18px 0 6px;
}
.area-grid li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: var(--secondary);
  font-size: 15px;
}
.area-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.faq-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--secondary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--primary); }

.faq-item__chev {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item[open] .faq-item__chev {
  background: var(--primary);
  color: var(--primary-ink);
  transform: rotate(180deg);
}
.faq-item__a {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item__a p { margin: 0; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact__grid { align-items: start; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
  transition: border-color var(--transition);
}
.contact-list__item:hover { border-color: rgba(var(--primary-rgb), 0.3); }

.contact-list__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-list__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.contact-list__value {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.45;
}
.contact-list__value--phone {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.contact-list__value--phone:hover { color: var(--primary-dark); }

/* Contact form */
.contact-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 36px);
}
.contact-form__head { margin-bottom: 20px; }
.contact-form__title {
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: var(--secondary);
}
.contact-form__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

.form-row { margin-bottom: 16px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-label span { color: var(--primary); }
.form-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: var(--background);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.14);
}
.form-input--area {
  resize: vertical;
  min-height: 110px;
}
.contact-form__fine {
  font-size: 12px;
  color: var(--text-muted);
  margin: 12px 0 0;
  text-align: center;
}
.contact-form__fine a { color: var(--primary); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg-alt);
  color: var(--bg-alt-ink);
  padding-top: 72px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer__brand p,
.site-footer__brand li,
.site-footer__col,
.site-footer__col a,
.site-footer__col li,
.site-footer__title,
.site-footer__copy,
.site-footer__legal a,
.footer-phone {
  color: rgba(var(--bg-alt-ink-rgb), 0.78);
}
.site-footer__brand .brand__logo--footer { margin-bottom: 18px; }
.site-footer__tag {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 18px;
  color: rgba(var(--bg-alt-ink-rgb), 0.75);
}
.site-footer__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.site-footer__creds li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  background: rgba(var(--bg-alt-ink-rgb), 0.1);
  border: 1px solid rgba(var(--bg-alt-ink-rgb), 0.16);
  border-radius: var(--radius-pill);
  color: rgba(var(--bg-alt-ink-rgb), 0.88);
}

.site-footer__title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-alt-ink);
  margin: 0 0 18px;
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__list a {
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--transition);
}
.site-footer__list a:hover { color: var(--primary-light); }
.site-footer__list--plain li {
  font-size: 14.5px;
  line-height: 1.55;
}
.footer-phone {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bg-alt-ink) !important;
  white-space: nowrap;
  display: inline-block;
}
.footer-phone:hover { color: var(--primary-light) !important; }

.site-footer__cta-wrap { margin-top: 16px; }
.site-footer__cta-wrap .btn { width: 100%; }

.site-footer__bar {
  border-top: 1px solid rgba(var(--bg-alt-ink-rgb), 0.12);
  padding: 18px 0;
  background: rgba(var(--accent-dark-rgb), 0.2);
}
.site-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(var(--bg-alt-ink-rgb), 0.72);
}
.site-footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__legal a {
  font-size: 13px;
  color: rgba(var(--bg-alt-ink-rgb), 0.78);
  transition: color var(--transition);
}
.site-footer__legal a:hover { color: var(--primary-light); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__card { max-width: 460px; }
  .hero { min-height: 0; padding-bottom: clamp(72px, 8vw, 100px); }

  .why__inner { grid-template-columns: minmax(0, 1fr); }

  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .site-footer__col--contact { grid-column: 1 / -1; }
  .site-footer__col--contact .site-footer__cta-wrap .btn { max-width: 280px; }
}

@media (max-width: 980px) {
  .trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 0; }
  .trust-item { border-right: none; padding: 16px clamp(8px, 2vw, 18px); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) { border-bottom: 1px solid var(--border); }

  .section__grid { grid-template-columns: minmax(0, 1fr); }
  .section__grid--media-left .section__content,
  .section__grid--media-left .section__media { order: initial; }

  .service-grid.service-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq-grid { grid-template-columns: minmax(0, 1fr); }

  .cta-banner__inner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .cta-banner__actions { justify-content: flex-start; }

  .why__features { grid-template-columns: minmax(0, 1fr); }

  /* Mobile nav */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--background);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 18px 0;
    display: none;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .primary-nav.is-open { display: block; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
  }
  .primary-nav__link {
    padding: 14px 4px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
  }
  .primary-nav__link:hover,
  .primary-nav__link.active { background: transparent; }
  .primary-nav__link.active { color: var(--primary); }

  .has-dropdown { position: relative; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--surface);
    padding: 8px 14px;
    margin: 0 -4px 4px;
    border-radius: var(--radius-sm);
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: flex; }
  .has-dropdown .dropdown { display: none; }

  .primary-nav__cta { padding-top: 12px; }
  .primary-nav__cta .btn { width: 100%; }
  .navbar__inner { position: relative; min-height: 72px; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .topbar { font-size: 12px; }
  .topbar__meta { gap: 8px; }
  .topbar__meta li:nth-child(n+3) { display: none; }
  .topbar__cta { display: none; }

  .trust-strip__inner { grid-template-columns: minmax(0, 1fr); }
  .trust-item,
  .trust-item:nth-child(odd) { border-right: none; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2),
  .trust-item:nth-child(3) { border-bottom: 1px solid var(--border); }

  .service-grid.service-grid--three { grid-template-columns: minmax(0, 1fr); }
  ol.steps { grid-template-columns: minmax(0, 1fr); }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .form-grid { grid-template-columns: 1fr; }

  .media-badge {
    left: 12px;
    bottom: 12px;
    padding: 12px 16px;
  }
  .media-badge__num { font-size: 2rem; }
  .media-badge__label { font-size: 12px; }

  .site-footer__inner { grid-template-columns: 1fr; }

  .cta-group .btn { width: 100%; justify-content: center; }
  .hero__actions.cta-group .btn,
  .cta-banner__actions.cta-group .btn { width: 100%; }
}

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

/* Focus visible */
:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* betterly-css-safety-net:start */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img, .hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-header {
  width: 100%;
  max-width: 100%;
}

.primary-nav {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.5rem, 1.5vw, 1rem);
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .primary-nav, .main-nav, .nav-list {
    justify-content: flex-start;
  }
  body:has(.nav-toggle) .primary-nav:not(.is-open),
  body:has(.nav-toggle) .main-nav:not(.is-open) {
    display: none;
  }
  body:has(.nav-toggle) .primary-nav.is-open,
  body:has(.nav-toggle) .main-nav.is-open {
    display: flex;
  }
}

.media-frame {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.12));
}

.intro-media img, .intro-media video,
.media img, .media video,
.media-frame img, .media-frame video,
.media-band img, .media-band video,
.media-figure img, .media-figure video,
.page-media img, .page-media video,
.feature-image img, .feature-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
}

.service-card {
  background: var(--background, #fff);
  border: 1px solid var(--border, var(--accent));
  border-radius: var(--radius, 12px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: hidden;
}

.contact-form > label, .lead-form > label {
  display: grid;
  gap: .75rem;
  margin-bottom: .9rem;
  color: var(--text, #1f1f1f);
  font-family: var(--font-head, inherit);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-form label > input, .contact-form label > select, .contact-form label > textarea,
.lead-form label > input, .lead-form label > select, .lead-form label > textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border, var(--accent));
  border-radius: var(--radius-sm, 6px);
  background: var(--background, #fff);
  color: var(--text, #1f1f1f);
  font: inherit;
  box-shadow: none;
}

.contact-form label > textarea, .lead-form label > textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form label > input:focus, .contact-form label > select:focus, .contact-form label > textarea:focus,
.lead-form label > input:focus, .lead-form label > select:focus, .lead-form label > textarea:focus {
  outline: none;
  border-color: var(--primary, var(--primary));
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 57,115,174), .18);
}

@media (max-width: 760px) {
  .intro-grid,
  .founder-grid,
  .visit-grid,
  .feature-grid,
  .trust-grid,
  .value-grid,
  .value__grid,
  .program-grid,
  .pillar-grid,
  .link-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .value__list,
  .values-list,
  .trust-list,
  .checklist,
  .bullets {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    display: grid;
  }
  .cta-banner-inner {
    display: grid;
  }
}
/* betterly-css-safety-net:end */
