/* ============================================
   Roberts Design Build Solutions
   BuildWithRoberts.com — v2 Marketing Overhaul
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2744;
  --navy-light: #243556;
  --navy-dark: #0f1a2e;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --green: #22c55e;
  --green-dark: #16a34a;
  --teal: #0d9488;
  --red: #ef4444;
  --red-light: #fef2f2;
  --gold: #eab308;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;

  --bg-primary: var(--white);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --accent: var(--blue);
  --accent-hover: var(--blue-dark);
  --border: var(--gray-200);

  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-py: clamp(3rem, 5vw, 4.5rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-text {
  padding: 0.875rem 0;
  color: var(--accent);
  border: none;
  font-weight: 600;
}
.btn-text:hover { color: var(--accent-hover); }

.btn-full { width: 100%; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(26, 39, 68, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: height var(--transition);
}
.nav.scrolled .nav-logo img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  font-size: 0.8125rem;
}
.nav-links .nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Sticky Mobile CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy);
  padding: 0.625rem 1rem;
  gap: 0.625rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-cta-phone {
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.mobile-cta-phone:hover { color: var(--white); }
.mobile-cta-phone svg { width: 18px; height: 18px; }

.mobile-cta-form {
  background: var(--accent);
  color: var(--white);
}
.mobile-cta-form:hover { color: var(--white); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--container-px) 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f1d35 50%, #0a1628 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--navy), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.text-accent {
  background: linear-gradient(135deg, var(--blue-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-source {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* --- Problem Section --- */
.problem {
  padding: var(--section-py) 0;
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.pain-card {
  background: var(--red-light);
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
}

.pain-stat {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.pain-label {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.pain-source {
  font-size: 0.6875rem;
  color: var(--gray-400);
  font-style: italic;
}

.pain-consequences {
  margin-bottom: 2.5rem;
}

.pain-consequences h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  text-align: center;
}

.consequence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.consequence-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.consequence-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 2px;
}

.con-icon { background: #fef2f2; color: var(--red); }

.consequence-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.consequence-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pain-cta {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border-radius: 14px;
  border: 1px solid var(--border);
}

.pain-cta p {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

/* --- Services / Two Paths --- */
.services {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.path-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.path-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.path-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.path-ribbon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--blue-dark));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.path-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.path-icon svg { width: 32px; height: 32px; stroke: var(--accent); }
.featured .path-icon { background: rgba(37, 99, 235, 0.08); }

.path-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.path-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.path-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.path-details { flex: 1; }
.path-details p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.path-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.path-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 1px;
}

.path-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.flow-step {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.flow-step span {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
}
.flow-arrow { color: var(--gray-300); font-size: 1rem; }

.path-cta-btn { width: 100%; }

/* --- Why Design-Build (Data) --- */
.why-db {
  padding: var(--section-py) 0;
  background: var(--navy);
  color: var(--white);
}
.why-db .section-tag { color: var(--blue-light); }
.why-db .section-header h2 { color: var(--white); }
.why-db .section-header p { color: rgba(255, 255, 255, 0.6); }

.data-comparison {
  max-width: 900px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.data-header {
  background: rgba(255, 255, 255, 0.08);
}
.data-header div {
  padding: 0.875rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.data-row:not(.data-header) {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.data-row:not(.data-header) div {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
}

.data-metric {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}
.data-traditional {
  color: rgba(255, 255, 255, 0.4);
}
.data-designbuild {
  color: var(--white);
  font-weight: 600;
}
.highlight-green { color: var(--green) !important; }

.data-source {
  text-align: center;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.savings-callout {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
}

.savings-callout h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
}

.savings-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.savings-item { text-align: center; }
.savings-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--green);
}
.savings-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.savings-total .savings-amount {
  font-size: 1.75rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.savings-plus, .savings-equals {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Cooperative Contracting --- */
.cooperative {
  padding: var(--section-py) 0;
  background: var(--white);
}

.coop-content {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Speed comparison */
.speed-compare {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.speed-card {
  flex: 1;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}
.speed-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.speed-traditional {
  background: var(--gray-50);
  border: 1px solid var(--border);
}
.speed-traditional h3 { color: var(--gray-600); }

.speed-coop {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(34, 197, 94, 0.04));
  border: 2px solid var(--accent);
}
.speed-coop h3 { color: var(--navy); }

.speed-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.speed-step {
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  width: 100%;
  max-width: 260px;
}
.speed-step.highlight {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  font-weight: 600;
}

.speed-arrow {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1;
}

.speed-time {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.75rem;
  border-radius: 8px;
}
.speed-time.bad { background: #fef2f2; color: var(--red); }
.speed-time.good { background: #f0fdf4; color: var(--green-dark); }

.speed-vs {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-400);
  padding: 0 0.5rem;
}

/* BuyFair section */
.coop-what {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.coop-logo {
  flex-shrink: 0;
  width: 200px;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.coop-text h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.coop-text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.coop-numbered {
  list-style: none;
  counter-reset: coop;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  padding-left: 0;
}
.coop-numbered li {
  counter-increment: coop;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.coop-numbered li::before {
  content: counter(coop);
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.coop-compliance {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

/* Benefits grid */
.coop-benefits h3,
.coop-eligible h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.benefit-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.benefit-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.benefit-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Eligible entities */
.eligible-subtitle {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: -1rem;
  margin-bottom: 1.25rem;
}

.eligible-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.eligible-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.eligible-item:hover { border-color: var(--accent); background: var(--white); }
.eligible-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--accent);
}
.eligible-item span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* Coop CTA */
.coop-cta {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
}
.coop-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.coop-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.coop-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- How It Works --- */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.process-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.process-step:last-child { padding-bottom: 0; }

.step-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding-top: 0.125rem;
}
.step-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Capabilities --- */
.capabilities {
  padding: var(--section-py) 0;
  background: var(--white);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.capability-card {
  background: var(--gray-50);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.capability-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.capability-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.capability-icon svg { width: 28px; height: 28px; stroke: var(--accent); }

.capability-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.capability-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- FAQ --- */
.faq {
  padding: var(--section-py) 0;
  background: var(--navy);
}
.faq .section-tag { color: var(--blue-light); }
.faq .section-header h2 { color: var(--white); }
.faq .section-header p { color: rgba(255, 255, 255, 0.6); }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content .section-tag { display: block; margin-bottom: 0.75rem; }
.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.about-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.value-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Contact --- */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info .section-tag { display: block; margin-bottom: 0.75rem; }
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.contact-info > p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.contact-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}
.contact-highlight strong {
  font-size: 0.875rem;
  color: var(--green-dark);
}
.contact-highlight span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--accent);
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}
.contact-item a, .contact-item span {
  font-size: 0.9375rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.contact-item a:hover { color: var(--accent); }

.contact-social {
  display: flex;
  gap: 0.625rem;
}
.contact-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all var(--transition);
}
.contact-social a:hover { background: var(--accent); color: var(--white); }
.contact-social svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.footer-tagline {
  margin-top: 0.5rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35) !important;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-address { margin-top: 0.25rem; }
.footer-address a { color: rgba(255, 255, 255, 0.35); }
.footer-address a:hover { color: var(--white); }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .paths-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .eligible-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .speed-compare { flex-direction: column; }
  .speed-vs { justify-content: center; padding: 0.5rem 0; }
  .data-row { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem var(--container-px) 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; width: 100%; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }

  .hero { min-height: auto; padding: 7rem var(--container-px) 3rem; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .hero-stats { gap: 1rem; }
  .stat-number { font-size: 1.375rem; }
  .stat-divider { display: none; }

  .pain-grid { grid-template-columns: 1fr 1fr; }
  .consequence-grid { grid-template-columns: 1fr; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .coop-what { flex-direction: column; }
  .coop-logo { width: 160px; align-self: center; }

  .benefits-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .eligible-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .path-flow { flex-direction: column; align-items: flex-start; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }

  .data-comparison { overflow-x: auto; }
  .data-row { min-width: 600px; }

  .savings-items { flex-direction: column; gap: 0.75rem; }
  .savings-plus, .savings-equals { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .pain-grid { grid-template-columns: 1fr; }
  .coop-cta-buttons { flex-direction: column; align-items: center; }
  .coop-cta-buttons .btn { width: 100%; max-width: 320px; }
  .about-links { flex-direction: column; align-items: flex-start; }
}
