/* ============================================================
   WILL KLEIN — COMMERCIAL INSURANCE BROKER

   ⚠️  PLACEHOLDER COLORS — Update with Stoneridge hex codes:
       --green-700  (primary dark)
       --green-600  (primary)
       --green-500  (accent)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* PLACEHOLDER greens — swap for Stoneridge brand hex codes */
  --green-950: #060F09;
  --green-900: #0C1F14;
  --green-800: #173A25;
  --green-700: #1E4D33;  /* ← PRIMARY DARK — update this */
  --green-600: #2A6B47;  /* ← PRIMARY — update this */
  --green-500: #3D9466;  /* ← ACCENT — update this */
  --green-400: #52B282;
  --green-200: #A8DCC0;
  --green-100: #D5EFE2;
  --green-50:  #EDF7F2;

  --white:     #FFFFFF;
  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-400:  #9CA3AF;
  --gray-500:  #5B6570;
  --gray-700:  #374151;
  --gray-900:  #111827;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  /* Layout */
  --container: 1180px;
  --pad-x: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 120px);
  --nav-h: 72px;

  /* Effects */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.13);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.18);
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --transition: 0.22s ease;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--section-y) 0; }
.section--dark { background: var(--green-900); color: var(--white); }
.section--green { background: var(--green-700); color: var(--white); }
.section--tint { background: var(--green-50); }
.section--gray { background: var(--gray-50); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.section--dark .eyebrow,
.section--green .eyebrow { color: var(--green-400); }

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: var(--weight-extrabold);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.7;
}
.section--dark .section-sub,
.section--green .section-sub { color: var(--green-200); }

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: var(--weight-semibold);
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(42,107,71,0.30);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,107,71,0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.40);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.70);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-700);
}
.btn-outline-dark:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-lg { padding: 16px 34px; font-size: 0.95rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

.btn-arrow::after {
  content: '→';
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  gap: 32px;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--white);
  transition: color 0.3s;
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: 0.68rem;
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav--scrolled .nav-logo-name { color: var(--green-700); }
.nav--scrolled .nav-logo-sub { color: var(--gray-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }

.nav--scrolled .nav-links a { color: var(--gray-700); }
.nav--scrolled .nav-links a:hover,
.nav--scrolled .nav-links a.active { color: var(--green-700); background: var(--green-50); }

.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav--scrolled .nav-hamburger span { background: var(--gray-900); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 20px var(--pad-x) 28px;
  box-shadow: var(--shadow-lg);
  z-index: 899;
  border-top: 1px solid var(--gray-200);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 4px;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--green-900);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -25%; bottom: -25%; left: 0; right: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(61,148,102,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(42,107,71,0.22) 0%, transparent 60%);
  will-change: transform;
}

/* Topographic contour lines */
.hero-grid {
  position: absolute;
  top: -20%; bottom: -20%; left: 0; right: 0;
  mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 15%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 15%, transparent 100%);
  will-change: transform;
  overflow: hidden;
}

.hero-content {
  position: relative;
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 80px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  will-change: transform, opacity;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 0.78rem;
  font-weight: var(--weight-medium);
  color: var(--green-200);
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.03em;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: var(--weight-black);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--green-400);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll svg { opacity: 0.5; }

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: var(--weight-black);
  color: var(--green-700);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
}

/* ─── PROBLEM SECTION ─────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-visual {
  position: relative;
  background: var(--green-50);
  border-radius: var(--radius-xl);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.problem-quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-xl);
  max-width: 340px;
  position: relative;
  z-index: 1;
}
.problem-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--green-500);
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.problem-quote-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
}
.problem-quote-tag {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.problem-bg-circle {
  position: absolute;
  width: 300px; height: 300px;
  background: var(--green-100);
  border-radius: 50%;
  top: -60px; right: -60px;
  z-index: 0;
}

/* ─── SERVICES PREVIEW ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--green-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { color: var(--green-600); }

.service-title {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ─── PROCESS ─────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.67% + 28px); right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--green-200), var(--green-200));
  border-top: 1.5px dashed var(--green-200);
}
.process-step { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: var(--weight-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(30,77,51,0.35);
}
.step-title {
  font-size: 0.975rem;
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ─── QUOTE CTA ───────────────────────────────────────────── */
.cta-band {
  background: var(--green-700);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(61,148,102,0.30) 0%, transparent 60%);
}
.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.cta-band-text .section-title { color: var(--white); margin-bottom: 10px; }
.cta-band-text .section-sub { color: rgba(255,255,255,0.65); }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── ABOUT HERO ──────────────────────────────────────────── */
.page-hero {
  background: var(--green-900);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 40%, rgba(61,148,102,0.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: var(--weight-black);
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.65;
}

/* ─── BIO SECTION ─────────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.bio-photo {
  background: var(--green-100);
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.bio-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--green-400);
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.bio-photo-placeholder svg { opacity: 0.5; }
.bio-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.bio-text p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 20px;
}
.bio-text p:last-child { margin-bottom: 0; }

.bio-creds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-200);
}
.bio-cred {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: var(--weight-medium);
}
.bio-cred-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
}

/* ─── VALUES ──────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--green-600);
}
.value-title {
  font-size: 0.95rem;
  font-weight: var(--weight-bold);
  margin-bottom: 8px;
  color: var(--gray-900);
}
.value-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* ─── SERVICES FULL ────────────────────────────────────────── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-full-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: var(--transition);
}
.service-full-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
}
.service-full-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
}
.service-full-title {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: 8px;
}
.service-full-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* ─── CONTACT FORM ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-size: 1.4rem;
  font-weight: var(--weight-bold);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.form-sub { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: var(--weight-semibold);
  color: var(--gray-700);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(61,148,102,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  margin-top: 8px;
}

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-200); }
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
}
.contact-card-label {
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-card-value {
  font-size: 0.92rem;
  font-weight: var(--weight-medium);
  color: var(--gray-900);
}
.contact-card a { color: var(--green-700); }
.contact-card a:hover { text-decoration: underline; }
a.contact-card { display: flex; text-decoration: none; color: inherit; cursor: pointer; }

.disclaimer {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 8px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand-name {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--green-400);
}
.footer-brand-desc {
  font-size: 0.83rem;
  line-height: 1.65;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.footer-ribo {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--green-400);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
}

/* ─── FADE-IN ANIMATION ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in-delay-1 { transition-delay: 0.10s; }
.fade-in-delay-2 { transition-delay: 0.20s; }
.fade-in-delay-3 { transition-delay: 0.30s; }
.fade-in-delay-4 { transition-delay: 0.40s; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 380px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: repeat(2, 1fr); display: grid; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-visual { max-width: 420px; margin: 0 auto; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  :root { --section-y: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: 2.4rem; }

  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--gray-100); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--gray-100); border-right: none; }

  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }

  .contact-sidebar { grid-template-columns: 1fr; }

  .cta-band-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ─── CUSTOM CURSOR ───────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--green-400);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, background 0.2s ease;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--green-400);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0.42;
  transition: width 0.28s ease, height 0.28s ease, opacity 0.28s ease, border-color 0.28s ease;
}
.cursor-dot.is-hovering {
  transform: translate(-50%, -50%) scale(1.8);
  background: var(--green-500);
}
.cursor-ring.is-hovering {
  width: 54px; height: 54px;
  opacity: 0.72;
  border-color: var(--green-500);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─── HERO TITLE STAGGER ──────────────────────────────────── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Re-declare hero-badge here with animation (merges with existing rule) */
.hero-badge {
  animation: heroReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) both 0.04s;
}
.hero-line {
  display: block;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-line--1 { animation-delay: 0.16s; }
.hero-line--2 { animation-delay: 0.30s; }
.hero-line--3 { animation-delay: 0.44s; }
.hero-sub {
  opacity: 0;
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.60s;
}
.hero-actions {
  opacity: 0;
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.76s;
}
.hero-scroll {
  animation: heroReveal 0.8s ease forwards 1.0s;
}

/* Stoneridge attribution in hero */
.hero-firm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  opacity: 0;
  animation: heroReveal 0.8s ease forwards 0.92s;
}
.hero-firm-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-firm a {
  display: flex;
  align-items: center;
}
.hero-firm img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.60;
  transition: opacity 0.25s ease;
}
.hero-firm a:hover img {
  opacity: 0.70;
}

/* ─── MARQUEE STRIP ───────────────────────────────────────── */
.marquee-strip {
  background: var(--green-800);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-chunk {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-text {
  white-space: nowrap;
  font-size: 0.70rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  padding: 0 28px;
}
.marquee-dot {
  color: var(--green-400);
  font-size: 0.55rem;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─── STONERIDGE / SIB CORP ────────────────────── */
.hero-firm-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-firm-division {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.footer-sib {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-sib img {
  height: 34px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}
.footer-sib-division {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.footer-legal {
  margin-top: 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 720px;
}

/* ─── LEGAL PAGES ──────────────────────────── */
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.975rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}
.legal-content li {
  font-size: 0.975rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-content address {
  font-style: normal;
  font-size: 0.975rem;
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: inline-block;
}

/* ─── ACCESSIBILITY (AODA / WCAG 2.0 AA) ─────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--green-700);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: var(--weight-semibold);
  font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badge, .hero-line, .hero-sub, .hero-actions, .hero-scroll, .hero-firm {
    animation: none;
    opacity: 1;
  }
  .hero-badge-dot { animation: none; }
  .marquee-track { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .value-card, .service-full-card, .contact-card { transition: none; }
  .btn-primary:hover { transform: none; }
  .value-card:hover { transform: none; }
}
