/* ============================================
   Bennie Williams — Site Overhaul 2026
   Design system: clean, conversion-focused
   ============================================ */

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

/* ---- Theme Variables ---- */
:root {
  /* Brand colors */
  --c-primary: #2563eb;
  --c-primary-dark: #1e40af;
  --c-primary-light: #3b82f6;
  --c-accent: #0ea5e9;
  --c-success: #16a34a;

  /* Navy */
  --c-navy: #0f172a;
  --c-navy-2: #1e293b;

  /* Surface (dark default) */
  --bg-body: #0f172a;
  --bg-surface: #1e293b;
  --bg-surface-2: #334155;
  --bg-elevated: #1e293b;
  --bg-input: #0f172a;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  /* Borders */
  --border: rgba(148, 163, 184, 0.2);
  --border-strong: rgba(148, 163, 184, 0.4);

  /* Layout */
  --max-width: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
}

/* ---- Light Mode ---- */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-2: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-input: #f8fafc;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.2);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t-base), color var(--t-base);
}

a {
  color: var(--c-primary-light);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-primary);
}

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

/* ---- Layout Helpers ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-lg) 0;
}

.section-tight {
  padding: var(--space-md) 0;
}

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-primary-light);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Header / Nav ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base), border-color var(--t-base);
}

.header.scrolled {
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

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

.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-brand span {
  color: var(--c-primary-light);
}

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

.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme toggle */
.theme-toggle {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.theme-toggle:hover {
  border-color: var(--border-strong);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--c-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--c-primary-light);
  color: var(--c-primary-light);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-sm);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-flush {
  padding: 0;
  overflow: hidden;
}

/* ---- Hero ---- */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .lead {
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-badge {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-badge .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-primary-light);
}

.hero-badge .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Trust bar ---- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- Grid layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* ---- Section header ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-md);
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

/* ---- Pricing cards ---- */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base);
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card .plan-badge {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.pricing-card h3 {
  margin-bottom: 0.25rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0;
  color: var(--text-primary);
}

.pricing-card .price-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Testimonials ---- */
.testimonial {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--c-primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial .quote {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial .author-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial .author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #fbbf24;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* ---- Stats bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: var(--space-md) 0;
}

.stat .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-primary-light);
  line-height: 1;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ---- Problem/Solution ---- */
.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--t-base);
}

.problem-card:hover {
  border-color: var(--c-primary-light);
}

.problem-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---- Approach / Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-primary);
  opacity: 0.2;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--c-navy);
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--t-fast);
}

.faq-question:hover {
  color: var(--c-primary-light);
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  color: var(--c-primary-light);
  transition: transform var(--t-base);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base), padding var(--t-base);
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

/* ---- Resources ---- */
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--t-base), transform var(--t-base);
}

.resource-card:hover {
  border-color: var(--c-primary-light);
  transform: translateY(-2px);
}

.resource-card .type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-2);
  color: var(--c-primary-light);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.resource-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.resource-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* ---- Contact form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item .value {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: border-color var(--t-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid var(--c-success);
  color: var(--c-success);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.form-success.show {
  display: block;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-md);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand span {
  color: var(--c-primary-light);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--c-primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

/* ---- Page header (interior pages) ---- */
.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow {
  margin-bottom: 0.5rem;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .lead {
  max-width: 640px;
}

/* ---- Timeline (Story page) ---- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--bg-body);
}

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin: 0.25rem 0 0.5rem;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--c-primary-light);
}

.breadcrumbs span.sep {
  opacity: 0.5;
}

/* ---- Prose content ---- */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 0.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: var(--space-md) 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .cta-banner {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

/* ---- Accessibility ---- */
:focus-visible {
  outline: 2px solid var(--c-primary-light);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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