/* =============================================
   EASiEVs — Static Site Stylesheet
   Design tokens from Next.js / Tailwind config
   ============================================= */

/* Google Fonts loaded via <link> in HTML */

/* ---- CSS Custom Properties ---- */
:root {
  --charcoal:        #1E1E1E;
  --charcoal-light:  #252525;
  --charcoal-mid:    #2A2A2A;
  --green-accent:    #1F7A5A;
  --green-bright:    #22C97B;
  --gray-muted:      #B8B8B8;
  --gray-subtle:     #6B6B6B;
  --gray-border:     #333333;
  --shadow-green:    0 0 30px #1F7A5A44;
  --shadow-green-lg: 0 0 60px #1F7A5A55;
  --shadow-card:     0 4px 24px rgba(0,0,0,0.4);
  --font-sans:       'Syne', system-ui, sans-serif;
  --font-body:       'DM Sans', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', monospace;
  --font-hand:       'Caveat', cursive;
  --max-width:       80rem; /* 1280px */
  --px:              1rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-padding-top keeps anchor targets (e.g. /contact/#quote, #check) clear
   of the fixed navbar — matches its responsive height so a card/section jumped
   to (from another page, or on first load with a #hash in the URL) always
   lands fully visible instead of hiding its top under the navbar. */
html { scroll-behavior: smooth; scroll-padding-top: 4rem; font-size: 16px; }
@media (min-width: 1024px) { html { scroll-padding-top: 5rem; } }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
::selection { background: #1F7A5A55; color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1E1E1E; }
::-webkit-scrollbar-thumb { background: #1F7A5A; border-radius: 3px; }

/* ---- Base ---- */
body {
  background-color: var(--charcoal);
  color: #ffffff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}
@media (min-width: 640px)  { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem;   padding-right: 2rem;   } }

/* ---- Typography Utilities ---- */
.font-sans  { font-family: var(--font-sans); }
.font-mono  { font-family: var(--font-mono); }
.font-body  { font-family: var(--font-body); }

.section-label {
  font-family: var(--font-mono);
  color: var(--green-bright);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: #ffffff;
  line-height: 1.05;
}
@media (min-width: 768px)  { .section-heading { font-size: clamp(2rem, 5vw, 3rem); } }
@media (min-width: 1024px) { .section-heading { font-size: clamp(2.5rem, 4vw, 3.5rem); } }

.text-green-bright  { color: var(--green-bright); }
.text-green-accent  { color: var(--green-accent); }
.text-gray-muted    { color: var(--gray-muted); }
.text-gray-subtle   { color: var(--gray-subtle); }
.text-white         { color: #ffffff; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--green-accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  min-height: 44px; /* A11y: minimum touch target */
  border-radius: 2px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.btn-primary:hover {
  background-color: var(--green-bright);
  box-shadow: var(--shadow-green);
  transform: scale(1.02);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--green-accent);
  color: var(--green-bright);
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  min-height: 44px; /* A11y: minimum touch target */
  border-radius: 2px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s, box-shadow 0.3s, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  cursor: pointer;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.btn-outline:hover {
  background-color: var(--green-accent);
  color: #ffffff;
  box-shadow: var(--shadow-green);
}
.btn-outline:active { transform: scale(0.98); }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Card (Bento Grid — 24px radius per 2026 UI spec) ---- */
.card {
  background-color: var(--charcoal-mid);
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--green-accent);
  box-shadow: var(--shadow-green);
}

/* ---- Skip link (A11y) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background-color: var(--green-accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---- Focus rings (A11y — never outline:none) ---- */
:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 4px;
}

/* ---- Animations ---- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px #1F7A5A44; }
  50%       { box-shadow: 0 0 40px #1F7A5A88, 0 0 80px #1F7A5A22; }
}
@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1.2); }
}
@keyframes dot-float {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%       { opacity: 0.8; transform: scale(1.2); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
  .animate-bounce-y   { animation: bounce-y  1.5s ease-in-out infinite; }
  .animate-spin       { animation: spin      1s linear infinite; }
  .animate-pulse-dot  { animation: pulse-dot 1.5s ease-in-out infinite; }
  .hero-dot           { animation: dot-float var(--duration, 2s) ease-in-out infinite; }
}

/* ---- Reduced-motion overrides ---- */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-in.from-left,
  .fade-in.from-right {
    transform: none;
  }
  .hero-dot { display: none; }
}

/* ---- FadeIn (scroll-triggered via JS) ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.from-left  { transform: translateX(30px); }
.fade-in.from-right { transform: translateX(-30px); }
.fade-in.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.5s, backdrop-filter 0.5s, border-color 0.5s, box-shadow 0.5s;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}
#navbar.scrolled {
  background-color: rgba(26,26,26,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 1024px) { .nav-inner { height: 5rem; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--green-accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
  flex-shrink: 0;
}
.nav-logo:hover .nav-logo-icon { box-shadow: var(--shadow-green); }
.nav-logo-text { font-family: var(--font-sans); font-weight: 800; font-size: 1.125rem; letter-spacing: 0.05em; }
.nav-logo-text span { color: var(--green-bright); }
.nav-divider { width: 1px; height: 1.5rem; background: var(--gray-border); display: none; }
@media (min-width: 640px) { .nav-divider { display: block; } }
.nav-tagline {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--gray-subtle);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (min-width: 640px) { .nav-tagline { display: block; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--gray-muted);
  border-radius: 2px;
  transition: color 0.2s;
}
.nav-link:hover { color: #ffffff; }
.nav-link.active { color: var(--green-bright); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 1px;
  background-color: var(--green-accent);
}

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px; /* A11y: minimum touch target */
  color: var(--gray-muted);
  transition: color 0.2s;
}
.nav-toggle:hover { color: #ffffff; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile Menu — off-canvas, slides in from the right */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60; /* above navbar (50) so the panel + close sit on top */
  pointer-events: none;
}
@media (min-width: 1024px) { #mobile-menu { display: none !important; } }

/* Dimmed, blurred backdrop */
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mobile-menu.open { pointer-events: auto; }
#mobile-menu.open .mobile-menu-backdrop { opacity: 1; }

/* Sliding panel */
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh; /* respects mobile browser chrome */
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
  background-color: rgba(26,26,26,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid var(--gray-border);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
#mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

/* Panel header: label + close */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.5rem;
  margin-bottom: 1.5rem;
}
.mobile-menu-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-subtle);
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px; /* A11y: minimum touch target */
  margin-right: -0.5rem; /* align icon to panel edge */
  color: var(--gray-muted);
  border-radius: 2px;
  transition: color 0.2s, background-color 0.2s;
}
.mobile-menu-close:hover { color: #ffffff; background-color: var(--charcoal-mid); }

.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px; /* A11y: minimum touch target */
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-border);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  color: #ffffff;
  /* staggered reveal — start hidden, slid right */
  opacity: 0;
  transform: translateX(1rem);
  transition: color 0.2s, opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--green-bright); }
#mobile-menu.open .mobile-nav-link { opacity: 1; transform: translateX(0); }
/* stagger each link in after the panel begins sliding */
#mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.12s; }
#mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.18s; }
#mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.24s; }
#mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.30s; }

.mobile-cta { margin-top: auto; padding-top: 2rem; }

/* Respect reduced-motion: no slide/stagger, just show */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel,
  .mobile-menu-backdrop,
  .mobile-nav-link { transition: none; }
  .mobile-nav-link { opacity: 1; transform: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0D0D0D;
  background-image: url('/images/background-image.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.20) 100%);
}
.hero-bg-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(31,122,90,0.08), transparent);
}
.hero-bg-line {
  position: absolute;
  bottom: 25%;
  left: 0;
  width: 33%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(34,201,123,0.3), transparent);
  filter: blur(8px);
}
.hero-bg-grid {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 16rem;
  opacity: 0.10;
  background-image:
    linear-gradient(#1F7A5A 1px, transparent 1px),
    linear-gradient(90deg, #1F7A5A 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
}
.hero-bg-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, #fff 2px, #fff 4px);
}
.hero-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(34,201,123,0.4);
  /* animation applied via @media (prefers-reduced-motion: no-preference) above */
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green-bright);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.hero-badge-text {
  font-family: var(--font-mono);
  color: var(--green-bright);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-desc {
  color: var(--gray-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 32rem;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 2px;
}
.trust-badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--green-bright);
  flex-shrink: 0;
}
.trust-badge-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-muted);
  letter-spacing: 0.05em;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--gray-subtle);
}
.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background-color: #161616;
  border-bottom: 1px solid var(--gray-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    divide-x: 1px;
  }
  .stats-grid .stat-item + .stat-item {
    border-left: 1px solid var(--gray-border);
  }
}
.stat-item { text-align: center; padding: 0 1.5rem; }
.stat-value {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.875rem;
  color: var(--green-bright);
  margin-bottom: 0.25rem;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray-muted);
  letter-spacing: 0.05em;
}

/* ---- Section ---- */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-dark { background-color: #1A1A1A; }
.section-darker { background-color: #161616; }
.section-border-y { border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.section-border-t { border-top: 1px solid var(--gray-border); }
.section-border-b { border-bottom: 1px solid var(--gray-border); }
.section-green-tint {
  background-color: rgba(31,122,90,0.1);
  border-top: 1px solid rgba(31,122,90,0.2);
  border-bottom: 1px solid rgba(31,122,90,0.2);
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover { background-color: #2D2D2D; }

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.service-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(31,122,90,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.service-card:hover .service-icon-wrap { background-color: rgba(31,122,90,0.25); }
.service-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--green-bright);
  background-color: rgba(31,122,90,0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 2px;
}
.service-title {
  font-family: var(--font-sans);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.service-desc { color: var(--gray-muted); font-size: 0.875rem; line-height: 1.75; flex: 1; }
.service-learn {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--green-bright);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  transition: gap 0.3s;
}
.service-card:hover .service-learn { gap: 0.625rem; }

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-connector {
  display: none;
  position: absolute;
  top: 2rem;
  left: 33.33%;
  right: 33.33%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--green-accent), transparent);
}
@media (min-width: 768px) { .step-connector { display: block; } }
.step-num-box {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--green-accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background-color: rgba(31,122,90,0.1);
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--green-bright);
  font-size: 0.875rem;
}
.step-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.step-desc { color: var(--gray-muted); font-size: 0.875rem; line-height: 1.75; }

/* ---- Trust Section ---- */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-muted);
}
.check-item svg { flex-shrink: 0; margin-top: 0.125rem; }

/* ---- Visual Placeholder ---- */
.visual-placeholder {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
}
.visual-placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A2820, #1E1E1E, #111);
}
.visual-placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.visual-zap-circle {
  width: 5rem;
  height: 5rem;
  background-color: rgba(31,122,90,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.visual-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(#1F7A5A 1px, transparent 1px),
    linear-gradient(90deg, #1F7A5A 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: 2px;
  background-color: var(--charcoal-mid);
  transition: border-color 0.3s, background-color 0.3s;
  overflow: hidden;
}
.faq-item.open {
  border-color: var(--green-accent);
  background-color: rgba(31,122,90,0.05);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  min-height: 44px; /* A11y: minimum touch target */
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-q {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
}
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-border);
  color: var(--gray-muted);
  transition: background-color 0.3s, color 0.3s;
}
.faq-item.open .faq-icon {
  background-color: var(--green-accent);
  color: #ffffff;
}
.faq-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-muted);
  line-height: 1.75;
}
.faq-item.open .faq-body { display: block; }

/* ---- Contact Form ---- */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--gray-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}
.form-input {
  width: 100%;
  background-color: var(--charcoal);
  border: 1px solid var(--gray-border);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #ffffff;
  border-radius: 2px;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--gray-subtle); }
.form-input:hover { border-color: var(--gray-subtle); }
.form-input:focus { border-color: var(--green-accent); }
.form-input.error { border-color: rgba(239,68,68,0.7); }
select.form-input { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8B8B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select.form-input option { background-color: var(--charcoal); }
textarea.form-input { resize: none; }
.form-error {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.25rem;
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-stack { display: flex; flex-direction: column; gap: 1rem; }
.form-msg-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}
.form-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(31,122,90,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.form-err-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f87171;
  font-size: 0.875rem;
  padding: 0.75rem;
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 2px;
}
.form-note {
  font-size: 0.75rem;
  color: var(--gray-subtle);
  text-align: center;
}
.form-hidden { display: none; }

/* ---- Footer ---- */
footer { background-color: #161616; border-top: 1px solid var(--gray-border); }
.footer-cta-band {
  background-color: rgba(31,122,90,0.1);
  border-bottom: 1px solid rgba(31,122,90,0.2);
}
.footer-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) { .footer-cta-inner { flex-direction: row; } }
.footer-cta-headline {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: #ffffff;
}
.footer-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 640px) { .footer-cta-btns { flex-direction: row; } }
.footer-main { padding: 3.5rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--green-accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-text { font-family: var(--font-sans); font-weight: 800; font-size: 1.25rem; color: #ffffff; }
.footer-logo-text span { color: var(--green-bright); }
.footer-desc { font-size: 0.875rem; color: var(--gray-muted); line-height: 1.75; max-width: 18rem; margin-bottom: 1.5rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-muted);
  transition: color 0.2s;
}
.footer-contact-item:hover { color: #ffffff; }
.footer-col-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  font-size: 0.875rem;
  color: var(--gray-muted);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--green-bright); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copy { font-size: 0.75rem; color: var(--gray-subtle); }
.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-badges span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gray-subtle); }
.footer-badges .divider { width: 1px; height: 0.75rem; background-color: var(--gray-border); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-color: #111;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,18,14,0.6), transparent);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(#1F7A5A 1px, transparent 1px),
    linear-gradient(90deg, #1F7A5A 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.page-hero-label span { font-family: var(--font-mono); color: var(--green-bright); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.page-hero h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.75rem);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.page-hero p {
  color: var(--gray-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 36rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.page-hero-cta { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .page-hero-cta { flex-direction: row; } }

/* ---- Key Facts Bar ---- */
.key-facts-bar { background-color: #161616; border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.key-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.5rem 0;
}
@media (min-width: 768px) { .key-facts-grid { grid-template-columns: repeat(4, 1fr); } }
.key-fact {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--gray-border);
}
.key-fact:last-child { border-right: none; }
@media (max-width: 767px) {
  .key-fact:nth-child(2) { border-right: none; }
  .key-fact:nth-child(1), .key-fact:nth-child(2) { border-bottom: 1px solid var(--gray-border); }
}
.key-fact-value { font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; color: #ffffff; margin-top: 0.5rem; }
.key-fact-sub { font-size: 0.75rem; color: var(--gray-muted); }

/* ---- Charger Cards ---- */
.charger-card { display: flex; align-items: flex-start; gap: 1rem; }
.charger-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(31,122,90,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.charger-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.charger-name strong { font-family: var(--font-sans); font-weight: 600; color: #ffffff; font-size: 0.875rem; }
.charger-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--green-bright);
  background-color: rgba(31,122,90,0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
}
.charger-desc { font-size: 0.75rem; color: var(--gray-muted); line-height: 1.6; }

/* ---- OZEV Callout ---- */
.ozev-callout { padding: 3rem 0; }
.ozev-callout h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.875rem); color: #ffffff; margin-bottom: 0.75rem; }
.ozev-callout p { color: var(--gray-muted); font-size: 0.875rem; max-width: 36rem; margin: 0 auto 1.5rem; line-height: 1.75; }

/* ---- Sectors Grid ---- */
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .sectors-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Testing card ---- */
.testing-card { background-color: #1E1E1E; border-color: rgba(31,122,90,0.3); }
.testing-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-border);
}
.testing-card-body { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: var(--gray-muted); line-height: 1.75; }

/* ---- Grant eligibility ---- */
.not-eligible-box {
  background-color: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 2px;
  padding: 1rem;
  margin-top: 2rem;
}
.not-eligible-box p { font-family: var(--font-sans); font-weight: 600; color: #ffffff; font-size: 0.875rem; margin-bottom: 0.75rem; }
.not-eligible-list { display: flex; flex-direction: column; gap: 0.5rem; }
.not-eligible-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-muted);
}
.not-eligible-dot { width: 4px; height: 4px; border-radius: 50%; background-color: #f87171; flex-shrink: 0; margin-top: 0.375rem; }
.disclaimer-box {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-subtle);
  padding: 2rem 0;
}

/* ---- Fork Banner (grant vs quote decision point) ---- */
.fork-banner { padding: 3.5rem 0; }
.fork-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .fork-grid { grid-template-columns: 1fr 1fr; } }
.fork-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fork-card-grant { border-color: var(--green-accent); background-color: rgba(31,122,90,0.08); }
.fork-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.fork-icon-grant { background-color: var(--green-accent); }
.fork-icon-quote { background-color: var(--charcoal); border: 1px solid var(--gray-border); }
.fork-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; }
.fork-card p { color: var(--gray-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* ---- Grant Journey (7-step guide) ---- */
.journey-intro { margin-bottom: 3rem; }
@media (min-width: 1024px) { .journey-intro { margin-bottom: 5.5rem; } }
.grant-journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}
@media (min-width: 640px)  { .grant-journey-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grant-journey-grid { grid-template-columns: repeat(4, 1fr); } }
/* Second row (steps 5–7) — centered rather than left-hugging the leftover grid track */
.grant-journey-grid-second {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .grant-journey-grid-second { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .grant-journey-grid-second {
    grid-template-columns: repeat(3, 1fr);
    max-width: calc(3 * ((100% - 4.5rem) / 4) + 3rem);
    margin-left: auto;
    margin-right: auto;
  }
}
.journey-step { text-align: center; }
.journey-step.highlight {
  background-color: rgba(31,122,90,0.08);
  border: 1px solid rgba(31,122,90,0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem 1.25rem;
  margin-top: -0.5rem;
}
.journey-num-box {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid var(--green-accent);
  background-color: rgba(31,122,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.journey-num { font-family: var(--font-mono); font-weight: 600; color: var(--green-bright); font-size: 0.9375rem; }

/* Draws the eye to the steps that need the visitor's attention (01 and 03) */
@keyframes step-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34,201,123,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(34,201,123,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,201,123,0); }
}
@media (prefers-reduced-motion: no-preference) {
  .journey-num-box.pulse {
    animation: step-pulse-ring 2s ease-out infinite;
  }
}

/* Step 01: crossfades between the "01" number and a phone icon */
.journey-num-box.swap-icon { position: relative; }
.journey-num-box.swap-icon .swap-a,
.journey-num-box.swap-icon .swap-b {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}
@keyframes swap-fade-a {
  0%, 40%  { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes swap-fade-b {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .journey-num-box.swap-icon .swap-a { animation: swap-fade-a 4s ease-in-out infinite; }
  .journey-num-box.swap-icon .swap-b { animation: swap-fade-b 4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-num-box.swap-icon .swap-b { display: none; }
}

.journey-title { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; color: #fff; margin-bottom: 0.375rem; }
.journey-desc { font-size: 0.8125rem; color: var(--gray-muted); line-height: 1.65; }
.journey-cta { margin-top: 0.75rem; }

/* Hand-drawn callout pointing at the customer's one step.
   Kept close to its own card (never pushed toward the viewport edge) —
   the extra clearance above the grid (.journey-intro) is what keeps it
   off the paragraph text, not a large horizontal offset. */
.journey-callout-wrap { position: relative; overflow: visible; }
.hand-callout {
  position: absolute;
  top: -4.25rem;
  right: 0;
  max-width: min(8rem, 90%);
  text-align: right;
  pointer-events: none;
  z-index: 2;
}
.hand-arrow { display: block; overflow: visible; margin-left: auto; max-width: 100%; height: auto; }
.hand-text {
  display: block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--green-bright);
  line-height: 1.05;
  text-align: right;
  transform: rotate(2deg);
  margin-bottom: 0.125rem;
  white-space: nowrap;
}
@media (max-width: 1023px) {
  .hand-callout { top: -3.75rem; max-width: min(7rem, 85%); }
}
@media (max-width: 639px) {
  .hand-callout { top: -3.5rem; max-width: min(6rem, 80%); }
  .hand-text { font-size: 1.0625rem; }
}

/* "On us" badge for the steps EASiEVs handles */
.on-us-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--green-bright);
  background-color: rgba(31,122,90,0.12);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

/* ---- Grant steps ---- */
.grant-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.grant-step { display: flex; gap: 1rem; }
.grant-step-num {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(31,122,90,0.15);
  border: 1px solid rgba(31,122,90,0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-bright);
}
.grant-step-title { font-family: var(--font-sans); font-weight: 600; color: #ffffff; font-size: 0.875rem; margin-bottom: 0.25rem; }
.grant-step-desc { font-size: 0.875rem; color: var(--gray-muted); }

/* ---- Contact info cards ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-info-title { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--gray-subtle); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.25rem; margin-top: 0.75rem; display: block; }
.contact-info-value { font-family: var(--font-sans); font-weight: 600; color: #ffffff; font-size: 0.875rem; }
.contact-info-value a { color: #ffffff; transition: color 0.2s; }
.contact-info-value a:hover { color: var(--green-bright); }
.contact-info-sub { font-size: 0.75rem; color: var(--gray-subtle); margin-top: 0.25rem; }
.what-to-expect { background-color: rgba(31,122,90,0.05); border-color: rgba(31,122,90,0.3); }
.wte-list { display: flex; flex-direction: column; gap: 0.5rem; }
.wte-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-muted); }
.wte-dot { width: 4px; height: 4px; border-radius: 50%; background-color: var(--green-bright); flex-shrink: 0; margin-top: 0.5rem; }

/* ---- Icons (inline SVG helpers) ---- */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
svg { display: block; }

/* ---- Alert banner ---- */
.alert-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(31,122,90,0.1);
  border: 1px solid rgba(31,122,90,0.3);
  color: var(--green-bright);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.glow-green { box-shadow: 0 0 30px #1F7A5A44; }

/* =============================================
   Legal pages (Privacy / Cookies / Terms)
   ============================================= */
.legal-content { max-width: 48rem; margin: 0 auto; }
.legal-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.legal-content h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.375rem;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #ffffff;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  font-size: 0.9375rem;
  color: var(--gray-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 1.25rem 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { font-size: 0.9375rem; color: var(--gray-muted); line-height: 1.7; }
.legal-content a { color: var(--green-bright); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: #ffffff; font-weight: 600; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
}
.legal-content th, .legal-content td {
  text-align: left;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--gray-border);
  color: var(--gray-muted);
  vertical-align: top;
}
.legal-content th { color: #ffffff; font-family: var(--font-sans); font-weight: 600; background-color: rgba(31,122,90,0.08); }

/* =============================================
   Contact form: privacy consent checkbox
   ============================================= */
.form-checkbox-group { display: flex; align-items: flex-start; gap: 0.625rem; }
.form-checkbox-group input[type="checkbox"] {
  margin-top: 0.1875rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--green-accent);
  cursor: pointer;
}
.form-checkbox-group label { font-size: 0.75rem; color: var(--gray-subtle); line-height: 1.6; cursor: pointer; }
.form-checkbox-group label a { color: var(--green-bright); text-decoration: underline; text-underline-offset: 2px; }
.form-note a { color: var(--green-bright); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot field — hidden from sighted users, left in the tab/DOM flow
   so it still catches most naive bots without display:none. */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =============================================
   Cookie consent banner
   ============================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: #161616;
  border-top: 1px solid var(--gray-border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  padding: 1.25rem 1rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .cookie-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
}
.cookie-banner-text { font-size: 0.8125rem; color: var(--gray-muted); line-height: 1.6; max-width: 42rem; }
.cookie-banner-link { color: var(--green-bright); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

/* =============================================
   Contact popup (call / enquiry choice)
   Reusable — drop <div id="contact-popup"></div>
   on any page to enable it there.
   ============================================= */
.contact-popup-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.contact-popup-backdrop.show { opacity: 1; pointer-events: auto; }

.contact-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(90vw, 34rem);
  background-color: var(--charcoal-mid);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 2rem 1.5rem 1.75rem;
  z-index: 201;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-popup.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.contact-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px; /* A11y: minimum touch target */
  color: var(--gray-muted);
  border-radius: 2px;
  transition: color 0.2s, background-color 0.2s;
}
.contact-popup-close:hover { color: #ffffff; background-color: var(--charcoal); }

.contact-popup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (min-width: 480px) { .contact-popup-grid { grid-template-columns: 1fr 1fr; } }

.contact-popup-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  background-color: var(--charcoal);
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}
.contact-popup-option:hover {
  border-color: var(--green-accent);
  background-color: rgba(31,122,90,0.08);
  transform: scale(1.02);
}
.contact-popup-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(31,122,90,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.contact-popup-title { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; color: #ffffff; }
.contact-popup-sub { font-size: 0.8125rem; color: var(--gray-muted); }

@media (prefers-reduced-motion: reduce) {
  .contact-popup-backdrop, .contact-popup { transition: none; }
}

/* Step 01: shares the exact same card treatment as step 03 (.journey-step.highlight)
   so the two "action needed" steps read as a matched, deliberate pair instead of
   one filled card and one stroke-only card fighting each other. The button inside
   is just the click target — no border/fill of its own, the outer card supplies that. */
.journey-step.highlight:hover { border-color: var(--green-bright); }
.journey-step-trigger {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.journey-step-trigger .journey-num-box {
  background-color: transparent; /* stroke ring only — pairs with the swap-icon animation */
}

/* =============================================
   Digital Business Card (/card/)
   ============================================= */
.biz-card-page { padding-top: 8rem; padding-bottom: 5rem; min-height: 80vh; }
.biz-card {
  max-width: 26rem;
  margin: 0 auto;
  background-color: var(--charcoal-mid);
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
}
.biz-card-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.biz-card-logo-text { font-family: var(--font-sans); font-weight: 800; font-size: 1.5rem; color: #ffffff; }
.biz-card-logo-text span { color: var(--green-bright); }
.biz-card-tagline { font-size: 0.875rem; color: var(--gray-muted); margin-bottom: 1.25rem; }
.biz-card-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

.biz-card-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.biz-card-actions .btn-primary,
.biz-card-actions .btn-outline { justify-content: center; }

.biz-card-address { margin-bottom: 1.5rem; }
.biz-card-address p { font-size: 0.875rem; color: var(--gray-muted); margin-bottom: 0.375rem; }
.biz-card-address a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--green-bright);
  font-family: var(--font-mono);
}
.biz-card-address a:hover { text-decoration: underline; text-underline-offset: 3px; }

.biz-card-divider { height: 1px; background-color: var(--gray-border); margin: 0 0 1.75rem; }

.biz-card-services { margin-bottom: 2rem; }
.biz-card-services .section-label { margin-bottom: 0.75rem; }
.biz-card-services-links { display: flex; flex-direction: column; gap: 0.5rem; }
.biz-card-service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  min-height: 44px; /* A11y: minimum touch target */
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: #ffffff;
  background-color: var(--charcoal);
  border: 1px solid var(--gray-border);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.biz-card-service-link:hover { border-color: var(--green-accent); color: var(--green-bright); }

.biz-card-qr { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.biz-card-qr-box {
  background-color: #ffffff;
  padding: 0.625rem;
  border-radius: 8px;
  width: 6.5rem;
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.biz-card-qr-box svg { width: 100%; height: 100%; }
.biz-card-qr p { font-size: 0.75rem; color: var(--gray-subtle); font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }

.biz-card-legal { font-size: 0.6875rem; color: var(--gray-subtle); line-height: 1.6; padding-top: 1.5rem; border-top: 1px solid var(--gray-border); }
