/* Pacific EV Charging — Qmerit-Style Redesign 2026
   Fonts: Red Hat Display (headings) + Mulish (body)
   Colors: Navy #0b1c54 · Electric Blue #3865ff · White #ffffff
================================================================ */

/* ============================================================
   TOKENS & RESET
   ============================================================ */
:root {
  --navy:       #0b1c54;
  --navy-dark:  #071440;
  --navy-mid:   #16356d;
  --blue:       #3865ff;
  --blue-dark:  #2c4bbf;
  --blue-light: rgba(56,101,255,.1);
  --green-accent: #4ade80;
  --white:      #ffffff;
  --off-white:  #f9fafb;
  --gray-light: #f0f0f0;
  --gray:       #e5e7eb;
  --text:       #2b2b2b;
  --text-light: #4b5563;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 6px 22px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 14px 34px rgba(0,0,0,.10), 0 3px 12px rgba(0,0,0,.05);

  --radius:     8px;
  --radius-lg:  14px;
  --radius-xl:  18px;

  --transition: all 0.24s ease;
  --max:        1360px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

main {
  flex: 0 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Red Hat Display', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.wrap--content-narrow { max-width: 900px; }
.wrap--content-legal { max-width: 920px; }
.wrap--content-compact { max-width: 880px; }
.section-label--accent { color: var(--green-accent); }
.text-white { color: var(--white); }
.cta-sub--spaced,
.thankyou-followup-copy {
  margin-top: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--blue);
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .78rem 1.85rem;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: var(--transition);
  min-height: 52px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 8px 18px rgba(56,101,255,.18);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56,101,255,.28);
}
.btn-primary.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  min-height: 56px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .78rem 1.85rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.65);
  cursor: pointer;
  transition: var(--transition);
  min-height: 52px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.16);
}
.btn-ghost.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  min-height: 56px;
}

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 600;
  padding: .65rem 0;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.topbar-call {
  color: var(--green-accent);
  font-weight: 700;
  transition: var(--transition);
}
.topbar-call:hover { color: #86efac; }
.topbar-social {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.82);
  transition: var(--transition);
}
.topbar-social:hover { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  transition: box-shadow .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,.13);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1600px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.main-nav a {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  padding: .62rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-cta:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray);
  padding: 1rem 0 1.75rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.mobile-nav a {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  padding: .7rem .85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--blue); background: var(--blue-light); }
.mobile-nav .btn-primary {
  margin-top: .65rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

/* ============================================================
   HERO — TABBED (Qmerit-style)
   ============================================================ */

.hero-tabbed {
  position: relative;
  background: var(--navy-dark);
  min-height: clamp(520px, 74vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .38s ease;
  overflow: hidden;
}
.hero-bg > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,20,64,.35) 0%,
    rgba(7,20,64,.65) 55%,
    rgba(7,20,64,.88) 100%
  );
}
.hero-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  min-height: clamp(390px, 56vh, 620px);
  width: 100%;
  padding-top: clamp(1.75rem, 6vw, 4.75rem);
}

/* Tab pills */
.hero-tabs {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}
.hero-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.82);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: .84rem;
  padding: .52rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.hero-tab:hover {
  background: rgba(255,255,255,.24);
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.hero-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(56,101,255,.45);
}
.hero-tab svg { flex-shrink: 0; }

/* Hero content */
.hero-content {
  max-width: 740px;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.1rem;
  transition: opacity .35s ease, transform .35s ease;
}
.hero-content h1 span { color: var(--green-accent); }
.hero-content p {
  font-size: clamp(.97rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.84);
  margin-bottom: 2rem;
  max-width: 560px;
  transition: opacity .35s ease .08s;
}
.hero-tabs {
  position: relative;
  z-index: 2;
}
.hero-actions {
  display: flex;
  gap: .85rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-actions > * {
  max-width: 100%;
}
.hero-actions button[data-anika-prompt].btn-ghost,
.final-cta-actions button[data-anika-prompt].btn-ghost {
  background: rgba(74,222,128,.14);
  border-color: rgba(74,222,128,.48);
  color: #ecfdf3;
}
.hero-actions button[data-anika-prompt].btn-ghost:hover,
.final-cta-actions button[data-anika-prompt].btn-ghost:hover {
  background: rgba(74,222,128,.24);
  border-color: rgba(134,239,172,.8);
  color: var(--white);
}
.hero-actions--homepage {
  margin-bottom: 1.2rem;
}
.hero-intent-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 760px);
  margin-bottom: 1rem;
}
.hero-intent-links a {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(7,20,64,.28);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.hero-intent-links a:hover {
  transform: translateY(-2px);
  background: rgba(7,20,64,.44);
  border-color: rgba(74,222,128,.38);
}
.hero-intent-links strong {
  font-family: 'Red Hat Display', sans-serif;
  font-size: .96rem;
  color: var(--white);
}
.hero-intent-links span {
  font-size: .86rem;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.hero-tabbed--simple .hero-wrap {
  gap: 1.5rem;
}
.hero-content--simple {
  max-width: 680px;
}
.hero-label {
  color: rgba(255,255,255,.82);
}
.hero-trust-line {
  margin: 1.1rem 0 1.35rem;
  color: rgba(255,255,255,.92);
  font-size: .95rem;
  font-weight: 700;
}
.hero-trust-line--inner {
  margin: 1rem 0 0;
  font-size: .92rem;
  color: rgba(255,255,255,.88);
  max-width: 650px;
}
.hero-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
}
.hero-support-links a {
  color: rgba(255,255,255,.84);
  font-family: 'Red Hat Display', sans-serif;
  font-size: .92rem;
  font-weight: 700;
}
.hero-support-links a:hover {
  color: var(--white);
}

/* ============================================================
   HOMEPAGE TRUST + DECISION SECTIONS
   ============================================================ */

.trust-strip {
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
  background: linear-gradient(180deg, var(--white) 0%, #f6f8fd 100%);
  border-bottom: 1px solid rgba(9,30,66,.06);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.trust-strip-item {
  background: var(--gray-light);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: 0 12px 26px rgba(9,30,66,.06);
}
.trust-strip-item strong {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.trust-strip-item span {
  display: block;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.services-section--split {
  background: var(--gray-light);
}
.cards-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.decision-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--off-white);
}
.decision-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.decision-links a {
  font-family: 'Red Hat Display', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
}
.decision-links a:hover {
  color: var(--blue-dark);
}
.proof-section,
.process-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}
.proof-section {
  background: var(--gray-light);
}
.proof-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.proof-card,
.process-card {
  background: var(--white);
  border: 1.5px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.proof-quote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: .85rem;
}
.proof-meta {
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-light);
}
.process-section {
  background: var(--white);
}
.process-card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  margin-bottom: .95rem;
}
.process-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--navy);
}
.process-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-light);
}

/* ============================================================
   NAVY CTA BAND
   ============================================================ */

.cta-band {
  background: var(--navy);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  margin-bottom: .45rem;
}
.cta-band p {
  color: rgba(255,255,255,.86);
  font-size: .97rem;
  max-width: 520px;
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.section-label {
  display: inline-block;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .8rem;
}
.section-head h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  margin-bottom: .9rem;
  color: var(--navy);
}
.section-head p {
  color: var(--text-light);
  font-size: 1.02rem;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.services-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--gray-light);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  position: relative;
  height: 205px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-card-img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body { padding: 1.5rem; }
.service-card-body h3 {
  font-size: 1.12rem;
  margin-bottom: .55rem;
  color: var(--navy);
}
.service-card-body p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}
.card-link {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--blue);
  transition: var(--transition);
}
.card-link:hover { color: var(--blue-dark); letter-spacing: .01em; }

/* ============================================================
   LOGOS CAROUSEL
   ============================================================ */

.logos-section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  background: var(--white);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.logos-track-wrap {
  position: relative;
  overflow: hidden;
}
.logos-track-wrap::before,
.logos-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.logos-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.logos-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.logos-track {
  display: flex;
  gap: 1.5rem;
  animation: logoScroll 22s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .84rem;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 148px;
  text-align: center;
  user-select: none;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--off-white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: .1em;
}
.review-text {
  font-size: .97rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}
.review-author strong {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
}
.review-author span {
  font-size: .83rem;
  color: var(--text-light);
}
.reviews-cta {
  text-align: center;
  margin-top: 1rem;
}



/* Page hero (non-tabbed) — full photo background like main hero */
.inner-hero {
  position: relative;
  min-height: clamp(440px, 60vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(2.15rem, 4vw, 3.5rem);
  overflow: hidden;
}
.inner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.inner-hero-bg > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,20,64,.45) 0%,
    rgba(7,20,64,.72) 50%,
    rgba(7,20,64,.92) 100%
  );
}
.inner-hero-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--max);
  min-height: clamp(320px, 44vh, 500px);
  width: 100%;
  padding-top: clamp(1.75rem, 4vw, 3.5rem);
  text-align: left;
}
.inner-hero-wrap > * {
  width: min(100%, 740px);
  margin-left: 0;
  margin-right: 0;
}
.inner-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .9rem;
}
.inner-hero h1 span { color: var(--green-accent); }
.inner-hero p {
  color: rgba(255,255,255,.9);
  font-size: clamp(.98rem, 1.7vw, 1.1rem);
  margin-bottom: 1.5rem;
  max-width: 620px;
  line-height: 1.65;
}
.inner-hero .hero-actions {
  margin-top: .15rem;
  width: auto;
}
.inner-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.3rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(7,20,64,.28);
  border: 1px solid rgba(255,255,255,.14);
}
.inner-hero .breadcrumb a {
  color: rgba(255,255,255,.92);
  transition: var(--transition);
}
.inner-hero .breadcrumb a:hover { color: var(--white); }
.inner-hero .breadcrumb span { margin: 0 .4rem; }

/* Photo band — full-bleed dark section with background image (like stats) */
.photo-band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  overflow: hidden;
}
.photo-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo-band-bg > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,20,64,.82);
}
.photo-band-content {
  position: relative;
  z-index: 2;
}
.about-stats-band {
  background:
    radial-gradient(circle at top right, rgba(56,101,255,.18), transparent 38%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.about-stats-band .photo-band-bg,
.about-stats-band .photo-band-overlay {
  display: none;
}
.about-stats-band .icon-stat {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.photo-band h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.photo-band p {
  color: rgba(255,255,255,.84);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Feature split — image + text two-col */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.feature-split--stacked-media {
  grid-template-rows: minmax(240px, 1fr) minmax(240px, 1fr);
}
.feature-split--stacked-media > .feature-split-img:first-child {
  grid-column: 1;
  grid-row: 1;
}
.feature-split--stacked-media > .feature-split-text {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 100%;
}
.feature-split--stacked-media > .feature-split-img:last-child {
  grid-column: 1;
  grid-row: 2;
}
.feature-split--stacked-media > .feature-split-img {
  min-height: 240px;
}
.feature-split-img {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 380px;
  overflow: hidden;
}
.feature-split-img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-split-text {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.feature-split-text.dark {
  background: var(--navy);
}
.feature-split-text.dark h2,
.feature-split-text.dark h3 { color: var(--white); }
.feature-split-text.dark p,
.feature-split-text.dark li { color: rgba(255,255,255,.84); }
.feature-split-text h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.feature-split-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: .97rem;
  line-height: 1.75;
}
.feature-split-text ul {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.feature-split-text li {
  font-size: .93rem;
  color: var(--text);
  padding-left: 1.35rem;
  position: relative;
}
.feature-split-text li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.feature-split-text.dark li { color: rgba(255,255,255,.84); }
.feature-split-text.dark li::before { color: var(--green-accent); }

/* Icon stat row */
.icon-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.icon-stat {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.icon-stat-number {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: .35rem;
}
.icon-stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

@media (max-width: 768px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split--stacked-media {
    grid-template-rows: none;
  }
  .feature-split--stacked-media > .feature-split-img:first-child,
  .feature-split--stacked-media > .feature-split-text,
  .feature-split--stacked-media > .feature-split-img:last-child {
    grid-column: auto;
    grid-row: auto;
  }
  .feature-split-img { min-height: 260px; }
  .feature-split-text { padding: 2rem; }
}

/* Content section */
.content-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}
.content-section.bg-light { background: var(--gray-light); }
.content-section.bg-white { background: var(--white); }
.content-section.bg-navy { background: var(--navy); }

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: start;
}
.contact-layout {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.contact-form-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(9,30,66,.08);
  box-shadow: var(--shadow-lg);
}
.form-card-head {
  margin-bottom: 1.25rem;
}
.form-card-head h2 {
  font-size: 1.45rem;
  margin-bottom: .4rem;
}
.form-card-head p {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.6;
}
.form-intent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: 1.5rem;
}
.form-intent-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-lg);
  background: var(--gray-light);
  border: 1px solid var(--gray);
}
.form-intent-card strong {
  display: block;
  margin-bottom: .35rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: .92rem;
  color: var(--navy);
}
.form-intent-card p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--text-light);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  padding: .82rem 1rem;
  font-family: 'Mulish', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56,101,255,.1);
}
.form-group small {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.5;
}
.form-group .label-optional {
  font-weight: 500;
  color: var(--text-light);
}
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #c0392b;
}
.consent-row.field-error {
  border-radius: var(--radius);
  padding: 0.5rem;
  outline: 2px solid rgba(192, 57, 43, 0.28);
  outline-offset: 2px;
}
.form-errors {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #fdf2f2;
  border: 1px solid #e8a4a4;
  color: #7f1d1d;
  font-size: 0.88rem;
  line-height: 1.45;
}
.form-errors.is-visible {
  display: block;
}
.consent-row {
  margin-bottom: 1.25rem;
}
.consent-label {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text-light);
  cursor: pointer;
}
.consent-label input { width: auto; margin-top: 3px; }
.btn-submit {
  display: block;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56,101,255,.3);
}
.form-note {
  text-align: center;
  font-size: .87rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: .9rem;
}
.form-success {
  text-align: center;
  padding: 2.5rem;
}
.form-success h3 { font-size: 1.35rem; margin-bottom: .6rem; color: var(--navy); }
.form-success p { color: var(--text-light); }

/* Contact info panel */
.contact-info h2 { font-size: clamp(1.85rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-light); margin-bottom: 2.25rem; font-size: 1rem; line-height: 1.7; }
.contact-layout .contact-info h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.12;
  max-width: 10ch;
}
.contact-layout .contact-info > p {
  margin-bottom: 0;
  font-size: .95rem;
  line-height: 1.7;
}
.contact-info--panel {
  align-self: start;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.contact-info--panel > p {
  margin-bottom: 0;
}
.contact-info--panel .contact-points {
  margin-top: 1.25rem;
}
.contact-layout .form-card {
  padding: clamp(1.5rem, 3vw, 2.35rem);
}
.contact-layout .form-card-head {
  margin-bottom: 1rem;
}
.contact-layout .form-intent-grid {
  gap: .75rem;
  margin-bottom: 1.2rem;
}
.contact-layout .form-intent-card {
  padding: .9rem 1rem;
}
.contact-layout .form-grid {
  gap: .95rem;
  margin-bottom: 1.05rem;
}
.contact-layout .form-group small {
  font-size: .78rem;
}
.contact-layout .btn-submit {
  padding: .95rem 1rem;
}
.contact-layout .form-note {
  margin-top: .75rem;
}
@media (min-width: 1260px) {
  .contact-form-shell .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.contact-side-note {
  margin-top: auto;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(7,20,64,.16);
}
.contact-side-note .section-label {
  display: block;
  margin-bottom: .55rem;
  color: var(--green-accent);
}
.contact-side-note h3 {
  margin-bottom: .55rem;
  font-size: 1.12rem;
  color: var(--white);
}
.contact-side-note p {
  color: rgba(255,255,255,.84);
  font-size: .9rem;
  line-height: 1.65;
}
.contact-side-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin-top: 1rem;
}
.contact-side-actions .btn-primary {
  min-height: 48px;
  padding: .72rem 1.25rem;
  box-shadow: none;
}
.contact-side-link {
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.contact-side-link:hover {
  color: #c7d2fe;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .97rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  font-size: .92rem;
  line-height: 1.7;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.process-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.process-num {
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.process-step h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--navy); }
.process-step p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* Trust grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.trust-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray);
  transition: var(--transition);
}
.trust-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.trust-item h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--navy); }
.trust-item p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* Pricing band (city pages) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--gray);
  text-align: center;
  transition: var(--transition);
}
.price-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 1rem; color: var(--navy); font-weight: 600; margin-bottom: .75rem; }
.price-card .price {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: .65rem;
}
.price-card p { font-size: .85rem; color: var(--text-light); }
.price-card.featured {
  border-color: var(--blue);
  background: var(--blue);
}
.price-card.featured h3,
.price-card.featured p { color: rgba(255,255,255,.8); }
.price-card.featured .price { color: var(--white); }

/* Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.calc-results-panel {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.calc-results-panel h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.calc-placeholder {
  text-align: center;
  padding: 2rem 0;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.result-row:last-child { border-bottom: none; }
.result-row-label,
.result-label { font-size: .88rem; color: rgba(255,255,255,.84); }
.result-row-value,
.result-value {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
.result-row-note {
  flex: 1 1 100%;
  font-size: .78rem;
  color: rgba(255,255,255,.66);
}
.result-value.savings { color: #4ade80; }
.result-value.total { font-size: 1.5rem; }
.result-total-row {
  padding-top: 1.25rem;
  margin-top: .5rem;
  border-top: 2px solid rgba(255,255,255,.2);
}
.result-total-label,
.result-total-value {
  display: block;
}

.result-total-label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.result-total-value {
  margin-top: .45rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--white);
}

.result-total-summary {
  margin: .5rem 0 0;
  color: #6c757d;
  font-size: .9rem;
  line-height: 1.5;
}

.calc-output-cta {
  display: inline-block;
  margin-top: 1.5rem;
}

.calc-caveat-list {
  margin: .75rem 0 0;
  padding-left: 1.25rem;
  color: #6c757d;
}

.calc-legacy-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.calc-legacy-card,
.calc-legacy-breakdown {
  background: #ffffff;
  border-radius: 6px;
}

.calc-legacy-card {
  padding: 1rem;
}

.calc-legacy-card--accent {
  border-left: 4px solid #00d4aa;
}

.calc-legacy-card-title,
.calc-legacy-breakdown-title {
  margin: 0 0 .5rem;
  color: #0a2540;
}

.calc-legacy-breakdown-title {
  margin-bottom: 1rem;
}

.calc-legacy-card-value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
}

.calc-legacy-card-value--accent,
.calc-legacy-breakdown-value {
  color: #00d4aa;
}

.calc-legacy-card-detail {
  margin: .25rem 0 0;
  color: #6c757d;
}

.calc-legacy-breakdown {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.calc-legacy-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.calc-legacy-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid #f1f1f1;
}

.calc-legacy-breakdown-row:last-child {
  border-bottom: 0;
}

.calc-legacy-breakdown-value {
  font-weight: 600;
}

.calc-anika-cta {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #edf2ff;
  border: 1px solid rgba(56,101,255,.18);
  border-radius: 16px;
  text-align: center;
}

.calc-anika-cta-copy {
  margin: 0 0 .75rem;
  font-weight: 700;
  color: #0b1c54;
}

.calc-anika-cta-button {
  background: #3865ff;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  cursor: pointer;
  font-size: .95rem;
}

.calc-anika-cta-sub {
  margin: .625rem 0 0;
  font-size: .82rem;
  color: #6b7280;
}

.calc-anika-cta-link {
  color: #2c4bbf;
  font-weight: 700;
}

/* Blog article page */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.article-body h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.article-body p { margin-bottom: 1.1rem; color: var(--text); font-size: .97rem; line-height: 1.75; }
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-body li { font-size: .95rem; color: var(--text); line-height: 1.65; }
.article-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.sidebar-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .75rem; }
.sidebar-card p { color: rgba(255,255,255,.84); font-size: .88rem; margin-bottom: 1.25rem; }

/* Responsive inner pages */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.flip { direction: ltr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results-panel { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-side-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-side-actions .btn-primary {
    width: 100%;
  }
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-section {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,20,64,.84);
}
.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.stat-number {
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .55rem;
}
.stat-label {
  font-size: .93rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
}

/* ============================================================
   CONTENT TABS (Electrification guide style)
   ============================================================ */

.content-tabs-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--off-white);
}
.content-tabs-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.content-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  position: sticky;
  top: 90px;
}
.content-tab {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  width: 100%;
}
.content-tab:hover {
  border-color: var(--tab-color, var(--blue));
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.content-tab.active {
  border-color: var(--tab-color, var(--blue));
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}
.tab-indicator {
  width: 4px;
  min-height: 38px;
  border-radius: 4px;
  background: var(--gray);
  flex-shrink: 0;
  transition: var(--transition);
}
.content-tab.active .tab-indicator,
.content-tab:hover .tab-indicator {
  background: var(--tab-color, var(--blue));
}
.content-tab div strong {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  position: relative;
  line-height: 1.6;
}
.tab-panel-text li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */

.areas-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--white);
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.area-card {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.area-card[type="button"] {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.area-card:not(.coming-soon):hover {
  border-color: var(--blue);
  box-shadow: 0 4px 22px rgba(56,101,255,.14);
  transform: translateY(-3px);
}
.area-card:focus,
.area-card:focus-visible {
  outline: 3px solid rgba(74,222,128,.92);
  outline-offset: 3px;
  border-color: var(--blue);
  box-shadow: 0 4px 22px rgba(56,101,255,.14);
}
.area-card.coming-soon {
  opacity: .75;
  cursor: default;
}
.area-card h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
  color: var(--navy);
}
.area-card p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.55;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--off-white);
  overflow: hidden;
}
.comparison-table caption {
  caption-side: top;
  text-align: left;
  margin-bottom: .75rem;
  color: var(--text-light);
  font-size: .88rem;
}
.comparison-table th,
.comparison-table td {
  padding: .85rem .95rem;
  border-bottom: 1px solid var(--gray);
  text-align: left;
  vertical-align: top;
}
.comparison-table th {
  color: var(--navy);
  font-family: 'Red Hat Display', sans-serif;
  font-size: .85rem;
}
.comparison-table td {
  color: var(--text);
  font-size: .92rem;
}

@media (max-width: 1080px) {
  .areas-grid {
  }
}

/* ============================================================
   BLOG PREVIEW
   ============================================================ */

.blog-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--gray-light);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 185px;
  background-size: cover;
  background-position: center;
}
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}
.blog-card-body h3 {
  font-size: 1rem;
  margin-bottom: .6rem;
  line-height: 1.45;
}
.blog-card-body h3 a {
  color: var(--navy);
  transition: var(--transition);
}
.blog-card-body h3 a:hover { color: var(--blue); }
.blog-card-body p {
  font-size: .87rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.65;
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */

.archive-metrics-section {
  background: var(--navy-dark);
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.archive-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.archive-metric-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.archive-metric-card strong {
  display: block;
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: .45rem;
}

.archive-metric-card span {
  color: rgba(255,255,255,.84);
  font-size: .92rem;
}

.archive-intro-section {
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.archive-intro-head {
  max-width: 860px;
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.quick-start-card {
  background: var(--off-white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.quick-start-step {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  font-size: .85rem;
}

.quick-start-card h3 {
  font-size: 1.2rem;
}

.quick-start-card p {
  color: var(--text-light);
  font-size: .93rem;
}

.archive-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .95fr);
  gap: 1.75rem;
  align-items: start;
}

.archive-lead-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.archive-lead-media {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.archive-lead-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.archive-lead-body {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.archive-lead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
}

.archive-read-time {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.archive-lead-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .9rem;
}

.archive-lead-card p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.archive-lead-points {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.5rem;
}

.archive-lead-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: .92rem;
}

.archive-lead-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
}

.archive-key-guides {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.archive-key-head h3 {
  font-size: 1.4rem;
  margin-top: .25rem;
}

.archive-key-list {
  display: grid;
  gap: 1rem;
}

.archive-key-item {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  transition: var(--transition);
}

.archive-key-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.archive-key-tag {
  display: block;
  margin-bottom: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

.archive-key-item strong {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  color: var(--navy);
  margin-bottom: .45rem;
  line-height: 1.35;
}

.archive-key-item small {
  display: block;
  color: var(--text-light);
  font-size: .85rem;
  line-height: 1.6;
}

.archive-explorer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
  margin-top: 2.2rem;
}

.archive-sidebar {
  position: static;
}

.archive-showing-note {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: .95rem;
}

.archive-sidebar-rail {
  background: var(--white);
  border: 1px solid rgba(11,28,84,.12);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: none;
}

.archive-rail-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(11,28,84,.12);
}

.archive-rail-label {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .7rem;
}

.archive-search-input {
  width: 100%;
  border: 1px solid rgba(11,28,84,.14);
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: .8rem 0;
  font-size: .92rem;
  color: var(--navy);
  background: transparent;
  outline: none;
  transition: var(--transition);
}

.archive-search-input:focus {
  border-color: rgba(56,101,255,.65);
  box-shadow: none;
}

.archive-search-input::placeholder {
  color: rgba(11,28,84,.45);
}

.archive-result-count {
  margin-top: .85rem;
  color: var(--navy);
  font-family: 'Red Hat Display', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-chip-list {
  display: grid;
  gap: 0;
}

.archive-chip {
  border: none;
  border-bottom: 1px solid rgba(11,28,84,.12);
  background: transparent;
  border-radius: 0;
  padding: .7rem 0;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
  text-align: left;
}

.archive-chip:hover {
  color: var(--blue);
}

.archive-filter-list {
  display: grid;
  gap: 0;
}

.archive-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(11,28,84,.12);
  background: transparent;
  color: var(--navy);
  border-radius: 0;
  padding: .72rem 0;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.archive-filter span {
  color: rgba(11,28,84,.5);
  font-size: .72rem;
}

.archive-filter:hover,
.archive-filter.active {
  color: var(--blue);
}

.archive-scroll-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
}

.archive-scroll-head span {
  color: rgba(11,28,84,.55);
  font-size: .76rem;
}

.archive-rail-scroll {
  max-height: 360px;
  overflow-y: auto;
  padding-right: .35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(11,28,84,.35) transparent;
}

.archive-rail-scroll::-webkit-scrollbar {
  width: 8px;
}

.archive-rail-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.archive-rail-scroll::-webkit-scrollbar-thumb {
  background: rgba(11,28,84,.28);
  border-radius: 999px;
}

.archive-mini-group + .archive-mini-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11,28,84,.12);
}

.archive-mini-group h4 {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}

.archive-mini-group a {
  display: block;
  color: var(--navy);
  font-size: .82rem;
  line-height: 1.45;
  padding: .42rem 0;
}

.archive-mini-group a:hover {
  color: var(--blue);
}

.archive-sidebar-cta p {
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.archive-sidebar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}

.archive-groups {
  display: grid;
  gap: 1.25rem;
}

.archive-topic-group {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  scroll-margin-top: 110px;
}

.archive-topic-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .95rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray);
}

.archive-topic-head h3 {
  font-size: 1.2rem;
}

.archive-topic-head span {
  color: var(--text-light);
  font-size: .85rem;
  font-weight: 700;
}

.archive-topic-list {
  display: grid;
  gap: .7rem;
}

.archive-topic-item {
  display: block;
  border-radius: var(--radius);
  padding: .9rem 1rem;
  border: 1px solid transparent;
  transition: var(--transition);
}

.archive-topic-item:hover {
  background: var(--off-white);
  border-color: var(--gray);
}

.archive-topic-item strong {
  display: block;
  color: var(--navy);
  font-family: 'Red Hat Display', sans-serif;
  margin-bottom: .35rem;
  line-height: 1.35;
}

.archive-topic-item span {
  display: block;
  color: var(--text-light);
  font-size: .86rem;
  line-height: 1.55;
}

.archive-no-results {
  background: var(--off-white);
  border: 1px dashed var(--gray);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}

.archive-no-results h3 {
  margin-bottom: .6rem;
}

.archive-no-results p {
  color: var(--text-light);
}

.archive-answer-head {
  max-width: 900px;
}

.archive-answer-grid,
.archive-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.archive-scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-answer-card,
.archive-scenario-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.archive-answer-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-family: 'Red Hat Display', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-answer-card h3,
.archive-scenario-card h3 {
  font-size: 1.15rem;
}

.archive-answer-card p,
.archive-scenario-card p {
  color: var(--text-light);
  font-size: .93rem;
}

.archive-answer-points {
  display: grid;
  gap: .65rem;
}

.archive-answer-points li {
  position: relative;
  padding-left: 1rem;
  font-size: .9rem;
  color: var(--text);
}

.archive-answer-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
}

.archive-answer-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: auto;
}

.archive-answer-links a {
  color: var(--blue);
  font-weight: 700;
}

.archive-answer-links a:hover {
  color: var(--blue-dark);
}

.archive-service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 1.5rem;
  align-items: start;
}

.archive-service-area-main,
.archive-service-area-panel {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.archive-service-area-main p,
.archive-service-area-panel p {
  color: var(--text-light);
}

.archive-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1rem 0 1.25rem;
}

.archive-service-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .58rem .9rem;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid var(--gray);
  font-weight: 700;
  font-size: .85rem;
  transition: var(--transition);
}

.archive-service-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 1100px) {
  .archive-featured-layout,
  .archive-explorer-layout,
  .archive-answer-grid,
  .archive-scenario-grid,
  .archive-service-area-layout {
    grid-template-columns: 1fr;
  }

  .archive-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .archive-metrics-grid,
  .quick-start-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .archive-topic-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-sidebar-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   ARTICLE SYSTEM — Professional Interactive Blog Articles
   ============================================================ */

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green-accent));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Article Hero */
.article-hero {
  background: var(--navy);
  padding: clamp(5rem, 10vw, 7.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,101,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero .breadcrumb {
  margin-bottom: 1.5rem;
}
.article-hero .breadcrumb a,
.article-hero .breadcrumb span {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
}
.article-hero .breadcrumb a:hover { color: var(--white); }
.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-accent);
  background: rgba(74,222,128,.12);
  padding: .35rem .85rem;
  border-radius: 50px;
}
.article-date,
.article-read-time {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
}
.article-date::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  margin-right: .5rem;
  vertical-align: middle;
}
.article-read-time::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  margin-right: .5rem;
  vertical-align: middle;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 1rem;
}
.article-hero-sub {
  font-size: clamp(.98rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.84);
  line-height: 1.7;
  max-width: 640px;
}

/* Article Grid Layout */
.article-content {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--off-white);
}
.article-grid {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

/* Sticky Table of Contents */
.article-toc {
  position: sticky;
  top: 100px;
}
.toc-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
}
.toc-inner h4 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray);
}
#tocNav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
#tocNav a {
  display: block;
  font-size: .8rem;
  color: var(--text-light);
  padding: .5rem .75rem;
  border-left: 2px solid transparent;
  transition: var(--transition);
  line-height: 1.4;
  text-decoration: none;
}
#tocNav a:hover {
  color: var(--blue);
  border-left-color: var(--blue-light);
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
#tocNav a.active {
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 600;
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Article Body */
.article-body {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
}
.article-body > img:first-of-type {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.article-body h2 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray);
  scroll-margin-top: 90px;
}
.article-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.article-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.article-body li {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.article-body ol {
  counter-reset: article-ol;
}
.article-body ol li {
  counter-increment: article-ol;
}
.article-body ol li::before {
  content: counter(article-ol);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  color: var(--blue);
}
.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
}
.article-body a:hover {
  color: var(--blue-dark);
}

/* Key Takeaway / Callout Boxes */
.article-callout {
  background: linear-gradient(135deg, rgba(56,101,255,.06), rgba(74,222,128,.06));
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.article-callout strong {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: .5rem;
}
.article-callout p {
  margin-bottom: 0;
  font-size: .95rem;
}

/* Share Bar */
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
  flex-wrap: wrap;
}
.article-share > span {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}
.share-buttons {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid var(--gray);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Mulish', sans-serif;
}
.share-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.share-btn.copied {
  border-color: var(--green-accent);
  color: #16a34a;
  background: rgba(74,222,128,.1);
}
.share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Article Sidebar (Right) */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
}
.sidebar-card h4 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray);
}
.sidebar-card ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sidebar-card li {
  list-style: none;
}
.sidebar-card li a {
  font-size: .85rem;
  color: var(--text-light);
  transition: var(--transition);
  display: block;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.sidebar-card li a:hover { color: var(--blue); }
.sidebar-card li:last-child a { border-bottom: none; }

/* Sidebar CTA */
.sidebar-cta {
  background: var(--navy);
  border-color: var(--navy);
}
.sidebar-cta h4 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.15);
}
.sidebar-cta p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.sidebar-cta .btn-primary {
  width: 100%;
  text-align: center;
  font-size: .85rem;
  padding: .75rem 1.5rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* Article CTA Banner (bottom of article) */
.article-cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56,101,255,.2);
}
.article-cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56,101,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.article-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74,222,128,.1) 0%, transparent 70%);
  pointer-events: none;
}
.article-cta-banner > * { position: relative; z-index: 1; }
.article-cta-banner .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(56,101,255,.15);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.article-cta-banner .cta-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--blue);
}
.article-cta-banner h3 {
  color: var(--white);
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 800;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.article-cta-banner p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  margin-bottom: 1.75rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.article-cta-banner .btn-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.article-cta-banner .btn-primary {
  background: var(--green-accent);
  color: var(--navy);
  font-weight: 800;
  padding: .9rem 2rem;
  font-size: .95rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(74,222,128,.3);
  transition: var(--transition);
}
.article-cta-banner .btn-primary:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(74,222,128,.4);
}
.article-cta-banner .btn-ghost {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  padding: .9rem 2rem;
  font-size: .95rem;
  border-radius: 50px;
}
.article-cta-banner .btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.article-cta-banner .cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.article-cta-banner .cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .02em;
}
.article-cta-banner .cta-trust svg {
  width: 14px;
  height: 14px;
  fill: var(--green-accent);
  flex-shrink: 0;
}

.article-related-posts {
  margin-top: 2.5rem;
}

.article-related-posts h3 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-card {
  display: block;
  background: var(--off-white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.related-card-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.related-card-img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-body {
  padding: 1rem;
}

.related-card-body .article-tag {
  margin-bottom: .65rem;
}

.related-card-body h4 {
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.4;
}

/* Article Responsive */
@media (max-width: 1100px) {
  .article-grid {
    grid-template-columns: 1fr 260px;
  }
  .article-toc {
    display: none;
  }
}
@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .article-hero {
    padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  }
  .article-body {
    padding: clamp(1.5rem, 3vw, 2rem);
  }
  .article-cta-banner {
    padding: 1.75rem;
  }
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta-section {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  background: var(--navy);
}
.final-cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.final-cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  margin-bottom: 1rem;
}
.final-cta-inner p {
  color: rgba(255,255,255,.86);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.final-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}
.final-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  margin-bottom: 1.25rem;
}
.final-cta-links a {
  font-family: 'Red Hat Display', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
}
.final-cta-links a:hover {
  color: var(--white);
}
.cta-sub {
  font-size: .84rem;
  color: rgba(255,255,255,.72);
}
.cta-sub strong { color: rgba(255,255,255,.9); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--navy-dark);
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1600px;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.footer-brand img { margin-bottom: 1rem; }
.footer-brand p {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: .65rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: rgba(255,255,255,.82);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.footer h4 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.9);
  transition: var(--transition);
}
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: 1600px;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.footer-main--lean {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
}
.footer-main--lean .footer-brand {
  max-width: 540px;
}
.footer-main--lean .footer-brand p {
  max-width: 540px;
  margin-bottom: 0;
}
.footer-main--lean [data-footer-group] {
  min-width: 0;
}
.footer-main--lean [data-footer-group] ul {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem 1rem;
}
.footer-main--lean [data-footer-group] li {
  padding-right: 0;
}
.footer--reception .footer-main--lean {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}
.footer--reception .footer-bottom {
  justify-content: center;
}

.mobile-sticky-cta {
  display: none;
}

.mobile-sticky-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius);
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

body.pev-chat-open .mobile-sticky-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + env(safe-area-inset-bottom)));
}

.mobile-sticky-cta__link--call {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
}

.mobile-sticky-cta__link--quote {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  .inner-hero-wrap,
  .article-hero {
    padding-left: 0;
    padding-right: 0;
  }
  .cards-grid,
  .areas-grid,
  .pricing-grid,
  .faq-grid {
    gap: 1rem;
  }
  .proof-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-main--lean [data-footer-group] ul {
    justify-content: flex-start;
  }
  .content-tabs-layout { grid-template-columns: 1fr; }
  .content-tabs-nav {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
  .content-tab { flex: 1 1 calc(50% - .325rem); }
  .content-tab:hover,
  .content-tab.active { transform: none; }
}

@media (max-width: 768px) {
  .main-nav, .btn-header-cta { display: none; }
  .menu-toggle { display: flex; }

  .topbar {
    padding: .35rem 0;
  }

  .hero-wrap {
    min-height: clamp(380px, 58vh, 520px);
    padding-top: 1.75rem;
  }

  .inner-hero {
    min-height: auto;
  }
  .inner-hero-wrap {
    padding: 3.4rem 0 3rem;
    align-items: center;
    text-align: center;
  }
  .inner-hero-wrap > * {
    margin-left: auto;
    margin-right: auto;
  }
  .inner-hero .hero-actions {
    justify-content: center;
  }
  .content-section,
  .proof-section,
  .feature-split,
  .final-cta-section,
  .areas-section,
  .faq-section,
  .reviews-section {
    padding: clamp(2.9rem, 8vw, 4rem) 0;
  }
  .section-head {
    margin-bottom: 1.6rem;
  }
  .service-card-body,
  .price-card,
  .article-body {
    padding: 1.25rem;
  }
  .hero-actions,
  .final-cta-actions {
    width: 100%;
    gap: .75rem;
    align-items: stretch;
  }
  .hero-intent-links,
  .form-intent-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn-large,
  .final-cta-actions .btn-large {
    width: 100%;
    justify-content: center;
  }
  .faq-item summary,
  .faq-grid summary {
    font-size: 1rem;
  }
  .faq-answer,
  .faq-grid p {
    font-size: .96rem;
    line-height: 1.65;
  }

  .trust-strip-grid,
  .cards-grid--two { grid-template-columns: 1fr 1fr; }

  .hero-tabs { gap: .35rem; }
  .hero-tab { font-size: .78rem; padding: .45rem .9rem; }
  .hero-tab svg { display: none; }

  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-inner .btn-primary { align-self: center; }

  .content-tab { flex: 1 1 100%; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer h4 { margin-bottom: 1rem; }
  .footer ul { gap: .45rem; }
  .footer ul a { font-size: .92rem; }
  body.has-mobile-sticky-cta {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: .85rem clamp(1rem, 4vw, 1.5rem) calc(.85rem + env(safe-area-inset-bottom));
    background: rgba(7,20,64,.96);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 -10px 30px rgba(0,0,0,.18);
  }
  .mobile-sticky-cta__link {
    min-height: 50px;
  }
  .article-hero .breadcrumb a,
  .article-hero .breadcrumb span,
  .article-date,
  .article-read-time { font-size: .9rem; }
  .article-hero-sub { line-height: 1.65; }

  .topbar > .wrap > span { display: none; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-actions .btn-ghost { color: rgba(255,255,255,.85); }
  .hero-support-links { gap: .75rem; }
  .hero-content--simple p { font-size: .98rem; }

  .hero-intent-links a {
    padding: .9rem;
  }

  .final-cta-actions { flex-direction: column; align-items: center; }
  .final-cta-links { flex-direction: column; gap: .6rem; }
  .trust-strip-grid,
  .cards-grid--two { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .35rem; }
  .footer ul a { font-size: .9rem; }
  .footer:not(.footer--lean) [data-footer-group="secondary"] { display: none; }
  .footer-main--lean {
    grid-template-columns: 1fr;
    gap: .85rem;
    padding: 1.35rem 0;
  }
  .footer-main--lean [data-footer-group] ul {
    gap: .45rem .9rem;
  }
  .footer-main--lean [data-footer-group] li {
    padding-right: 0;
  }
  .footer-main--lean ul { gap: .5rem; }
  .mobile-sticky-cta {
    gap: .6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .mobile-sticky-cta__link {
    font-size: .92rem;
  }
  .article-hero { padding: 3rem 0 2.5rem; }
  .article-hero h1 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .article-hero-sub { font-size: .98rem; line-height: 1.6; }
  .article-hero .breadcrumb { margin-bottom: 1rem; }
  .article-hero-meta { gap: .5rem; margin-bottom: 1rem; }
  .article-body { padding: 1.25rem; }
  .article-body p,
  .article-body li { font-size: .97rem; line-height: 1.7; }
}

@media (max-width: 430px) {
  .topbar { display: none; }
  .site-header {
    top: 0;
  }
  .inner-hero-wrap {
    padding: 3rem 0 2.55rem;
  }
  .section-head p,
  .service-card p,
  .proof-card p,
  .faq-answer {
    font-size: .95rem;
  }
  .mobile-sticky-cta {
    gap: .5rem;
    padding-top: .75rem;
  }
  .mobile-sticky-cta__link {
    min-height: 48px;
    font-size: .9rem;
  }
}

@media (max-width: 390px) {
  body.has-mobile-sticky-cta {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
  .inner-hero-wrap {
    padding: 2.8rem 0 2.35rem;
  }
  .service-card-body,
  .price-card,
  .article-body,
  .thankyou-steps {
    padding: 1.05rem;
  }
  .mobile-sticky-cta__link {
    font-size: .86rem;
  }
}

/* Thank-you page */
.thankyou-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  text-align: center;
}

.thankyou-inner {
  max-width: 560px;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.thankyou-icon svg {
  color: var(--blue);
}

.thankyou-inner h1 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.thankyou-inner p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.thankyou-steps {
  background: var(--off-white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.thankyou-steps h3 {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .875rem;
}

.thankyou-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.thankyou-steps li {
  font-size: .95rem;
  color: var(--text);
  display: flex;
  gap: .6rem;
}

.thankyou-steps li::before {
  content: attr(data-n);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
  font-family: 'Red Hat Display', sans-serif;
}

.thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.thankyou-status-note {
  margin: 0 auto 1.5rem;
  max-width: 560px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid #e8c47a;
  background: #fff8e8;
  color: #5c4300;
  line-height: 1.6;
  text-align: left;
}

.thankyou-followup-copy {
  margin-bottom: 0;
}

/* Shared route utilities */
.section-head--left {
  text-align: left;
  max-width: none;
  margin-bottom: 2.5rem;
}

.section-head--tight {
  margin-bottom: 2rem;
}

.photo-band-title {
  color: #ffffff;
}

.icon-stat-row--top {
  align-items: flex-start;
  gap: 2.5rem;
}

.icon-stat--left {
  text-align: left;
}

.icon-stat-label--strong {
  display: block;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.body-copy--on-dark {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  line-height: 1.5;
}

/* Scroll-in animation system */
.trust-item,
.service-card,
.media-card,
.article-card,
.service-line-card,
.proof-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.trust-item.animate-in,
.service-card.animate-in,
.media-card.animate-in,
.article-card.animate-in,
.service-line-card.animate-in,
.proof-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Chat widget */
#pev-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: inherit;
}

.pev-btn {
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #3865ff, #0b1c54);
  color: #fff;
  box-shadow: 0 18px 40px rgba(11,28,84,.32);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pev-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #4ade80;
  color: #071440;
  font-size: 12px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

#pev-close {
  display: none;
}

.pev-panel {
  position: fixed;
  right: 18px;
  bottom: 92px;
  width: min(400px, calc(100vw - 36px));
  height: min(640px, calc(100vh - 120px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11,28,84,.12);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(11,28,84,.22);
}

.pev-hdr {
  padding: 16px;
  background: linear-gradient(135deg, #0b1c54, #16356d);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pev-hdr-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pev-name {
  font-weight: 800;
  line-height: 1.1;
}

.pev-sub {
  font-size: .84rem;
  opacity: .85;
}

.pev-close {
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  cursor: pointer;
}

.pev-msgs {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: linear-gradient(180deg, #f9fafb, #fff 30%, #fff);
}

.pev-msg {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  align-items: flex-start;
}

.pev-msg--user {
  justify-content: flex-end;
}

.pev-msg--user .pev-bubble {
  background: #3865ff;
  color: #fff;
  border-radius: 18px 18px 6px 18px;
}

.pev-msg--assistant {
  justify-content: flex-start;
}

.pev-msg--assistant .pev-bubble {
  background: #fff;
  border: 1px solid rgba(11,28,84,.1);
  border-radius: 18px 18px 18px 6px;
}

.pev-mini {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #edf2ff;
  color: #0b1c54;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pev-bubble {
  max-width: 78%;
  padding: 12px 14px;
  color: #20304f;
  font-size: .95rem;
  line-height: 1.5;
  box-shadow: 0 8px 22px rgba(11,28,84,.06);
}

.pev-bubble p {
  margin: 0;
}

.pev-bubble a {
  color: #2c4bbf;
  font-weight: 700;
  text-decoration: underline;
}

.pev-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 62px;
}

.pev-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8aa0d9;
  animation: pevDot 1s infinite ease-in-out;
}

.pev-typing span:nth-child(2) {
  animation-delay: .15s;
}

.pev-typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes pevDot {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: .5;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.pev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.pev-chip {
  border: none;
  background: #edf2ff;
  color: #0b1c54;
  border: 1px solid rgba(56,101,255,.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.pev-foot {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(11,28,84,.08);
  background: #fff;
}

.pev-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.pev-in {
  flex: 1;
  resize: none;
  min-height: 44px;
  max-height: 128px;
  border: 1px solid rgba(11,28,84,.16);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.45;
  color: #20304f;
  background: #f9fafb;
  outline: none;
}

.pev-in:focus {
  border-color: #3865ff;
  box-shadow: 0 0 0 4px rgba(56,101,255,.12);
  background: #fff;
}

.pev-send {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: #3865ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pev-send:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.pev-disc {
  margin: 10px 0 0;
  font-size: .8rem;
  color: #6b7280;
}

.pev-disc a {
  color: #2c4bbf;
  font-weight: 700;
}

#pev-nudge {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(11,28,84,.12);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 18px 50px rgba(11,28,84,.16);
  max-width: 280px;
  transform: translateY(12px);
  opacity: 0;
  transition: all .25s ease;
  cursor: pointer;
}

#pev-nudge.pev-show {
  transform: translateY(0);
  opacity: 1;
}

#pev-nudge button {
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 640px) {
  #pev-chat {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .pev-btn {
    width: 58px;
    height: 58px;
  }

  .pev-panel {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    max-height: calc(100vh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  #pev-nudge {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }

  body.has-mobile-sticky-cta #pev-chat {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body.has-mobile-sticky-cta .pev-panel {
    bottom: calc(160px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 172px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 172px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  body.has-mobile-sticky-cta #pev-nudge {
    bottom: calc(162px + env(safe-area-inset-bottom));
  }

  .pev-msg .pev-bubble {
    max-width: 84%;
  }
}
