/* ═══════════════════════════════════════════════════════════════
   LocalPulse — style.css
   Design: Professional Agency / High-Converting Landing Page
   Font: Inter (Google Fonts)
   Applied: ui-ux-pro-max guidelines (priority 1–7)
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Brand */
  --orange:        #E84718;
  --orange-dark:   #C93E14;
  --orange-light:  #FF6B3D;
  --black:         #0F0F0F;
  --dark:          #1A1A1A;
  --blue:          #1B4DA4;
  --blue-dark:     #153D83;

  /* Neutral scale */
  --gray-50:   #FAFAFA;
  --gray-100:  #F4F4F5;
  --gray-200:  #E4E4E7;
  --gray-300:  #D1D1D6;
  --gray-400:  #A1A1AA;
  --gray-500:  #71717A;
  --gray-700:  #3F3F46;
  --gray-900:  #18181B;
  --white:     #FFFFFF;

  /* Semantic tokens */
  --text-primary:   var(--dark);
  --text-secondary: var(--gray-500);
  --text-muted:     var(--gray-400);
  --surface:        var(--white);
  --surface-alt:    var(--gray-50);
  --border:         var(--gray-200);
  --border-strong:  var(--gray-300);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadow scale (consistent elevation) */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-orange:    0 4px 20px rgba(232,71,24,0.28);
  --shadow-orange-lg: 0 8px 32px rgba(232,71,24,0.38);
  --shadow-blue:      0 4px 20px rgba(27,77,164,0.28);

  /* Border radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-full: 9999px;

  /* Spacing (8pt grid) */
  --s1:  4px;  --s2:  8px;  --s3:  12px; --s4:  16px;
  --s5:  20px; --s6:  24px; --s8:  32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   150ms;
  --t-base:   200ms;
  --t-slow:   300ms;

  /* Layout */
  --max-w: 1100px;
  --nav-h: 76px;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s6); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  border: 2px solid transparent;
  white-space: nowrap;
  touch-action: manipulation; /* reduce 300ms tap delay */
  user-select: none;
  min-height: 48px; /* touch target minimum */
  text-decoration: none;
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: var(--shadow-orange-lg);
  transform: translateY(-2px);
}
.btn-orange:active { transform: translateY(0); box-shadow: var(--shadow-orange); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn-blue:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border-strong);
}
.btn-outline-dark:hover { border-color: var(--dark); background: var(--gray-50); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; min-height: 56px; }

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s8);
}
.nav-logo { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: var(--s8);
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  padding: var(--s2) 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
  border-radius: var(--r-full);
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--dark); font-weight: 600; }
.nav-right { display: flex; align-items: center; flex-shrink: 0; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background-color: #0c1220;
  background-image:
    linear-gradient(135deg, rgba(8,12,24,0.96) 0%, rgba(26,26,26,0.88) 60%, rgba(15,20,36,0.93) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 5% 65%, rgba(232,71,24,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { max-width: 680px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(232,71,24,0.15);
  border: 1px solid rgba(232,71,24,0.35);
  color: #FF8A6A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--s5);
  letter-spacing: -0.03em;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--s10);
  max-width: 540px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: var(--s4); flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: var(--s6);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--orange);
  padding: 13px 0;
  border-bottom: 2px solid var(--orange-dark);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s10);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: rgba(255,255,255,0.95);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.trust-item svg { flex-shrink: 0; opacity: 0.9; }

/* ─── SECTIONS ────────────────────────────────────────────── */
.section { padding: var(--s20) 0; }
.section-alt { background: var(--surface-alt); }
.section-header { margin-bottom: var(--s12); }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s3);
}
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: var(--s4);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-title span { color: var(--orange); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}
.section-rule {
  width: 48px;
  height: 4px;
  background: var(--orange);
  border: none;
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
}

/* ─── PROBLEM SECTION ─────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}
.problem-text p {
  color: var(--text-secondary);
  margin-bottom: var(--s4);
  line-height: 1.8;
}
.problem-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.stat-card {
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: var(--s8) var(--s6);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
  cursor: default;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-number {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: var(--s2);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; /* tabular numbers for data */
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.58); line-height: 1.55; }

/* ─── HOW IT WORKS ────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(33.33% + 8px);
  right: calc(33.33% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s8) var(--s6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-num-circle {
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--s5);
  box-shadow: var(--shadow-orange);
  font-variant-numeric: tabular-nums;
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--s3);
  letter-spacing: -0.01em;
}
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing-note-top {
  text-align: center;
  margin-bottom: var(--s10);
  padding: var(--s4) var(--s6);
  background: var(--gray-50);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-note-top strong { color: var(--dark); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-orange), var(--shadow-md);
  transform: translateY(-8px);
}
.pricing-card.featured:hover { transform: translateY(-13px); box-shadow: var(--shadow-orange-lg), var(--shadow-lg); }
.pricing-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 9px;
}
.pricing-header { padding: var(--s8) var(--s6) var(--s5); border-bottom: 1px solid var(--border); }
.pricing-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: var(--s2);
}
.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--s2);
  letter-spacing: -0.02em;
}
.pricing-header > p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--s5);
  line-height: 1.6;
  min-height: 48px;
}
.pricing-price { display: flex; align-items: baseline; gap: 3px; }
.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-period { font-size: 0.875rem; color: var(--text-muted); }
.pricing-setup { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--s2); }
.pricing-features { padding: var(--s4) var(--s6); list-style: none; }
.pricing-features li {
  font-size: 0.875rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  line-height: 1.45;
  color: var(--dark);
}
.pricing-features li:last-child { border-bottom: none; }
.check {
  width: 18px; height: 18px;
  background: rgba(232,71,24,0.1);
  color: var(--orange);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.dash {
  width: 18px; height: 18px;
  color: var(--gray-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-cta { padding: 0 var(--s6) var(--s6); }
.pricing-cta .btn { width: 100%; }
.pricing-commitment {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: var(--s8);
}
.pricing-commitment a { color: var(--orange); font-weight: 500; }

/* ─── WHY LOCALPULSE ──────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.why-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--s5);
  align-items: flex-start;
  transition: transform var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out),
              border-color var(--t-slow);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.why-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(232,71,24,0.08);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  transition: background var(--t-base);
}
.why-card:hover .why-icon-wrap { background: rgba(232,71,24,0.14); }
.why-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--s2);
  letter-spacing: -0.01em;
}
.why-text p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: var(--blue);
  background-image: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #1e5bbf 100%);
  padding: var(--s24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--s4);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto var(--s10);
  line-height: 1.75;
}
.cta-buttons { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.55);
  padding: var(--s16) 0 var(--s8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s12);
  margin-bottom: var(--s12);
}
.footer-brand p {
  font-size: 0.875rem;
  margin-top: var(--s5);
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}
footer h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: var(--s4);
  font-weight: 700;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: var(--s3); }
footer ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--t-fast);
}
footer ul li a:hover { color: var(--white); }
.footer-contact p { font-size: 0.875rem; line-height: 2; }
.footer-contact a { color: var(--orange); transition: color var(--t-fast); }
.footer-contact a:hover { color: var(--orange-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: var(--s2);
}
.footer-bottom a { color: rgba(255,255,255,0.28); transition: color var(--t-fast); }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ─── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--dark);
  background-image: linear-gradient(135deg, #0e0e0e 0%, #1a1a2e 100%);
  padding: var(--s16) 0 var(--s20);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(232,71,24,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--s4);
  line-height: 1.15;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.58); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ─── SERVICES PAGE ───────────────────────────────────────── */
.service-block { padding: var(--s12) 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-header { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.service-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(232,71,24,0.08);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.service-header h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-desc { font-size: 1rem; color: var(--text-secondary); max-width: 680px; line-height: 1.8; margin-bottom: var(--s6); }
.service-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--dark);
  border: 1px solid var(--border);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.service-feature:hover { border-color: var(--orange); background: rgba(232,71,24,0.025); }
.service-feature .check { margin-top: 0; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); padding: var(--s6) 0; }
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s3); letter-spacing: -0.01em; }
.faq-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s16); align-items: start; }
.contact-info h3 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  font-weight: 700;
  margin: var(--s8) 0 var(--s3);
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }
.contact-info a { color: var(--blue); font-weight: 500; }
.contact-info a:hover { color: var(--blue-dark); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s10);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--orange);
}
.contact-form-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: var(--s2); letter-spacing: -0.02em; }
.contact-form-box > p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: var(--s8); line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { margin-bottom: var(--s4); }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: var(--s2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px; /* touch target */
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,71,24,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); font-size: 0.9rem; }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit-note { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--s3); text-align: center; }

.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.next-step {
  text-align: center;
  padding: var(--s8) var(--s5);
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--t-slow) var(--ease-out);
}
.next-step:hover { transform: translateY(-3px); }
.next-step-num {
  width: 52px; height: 52px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--r-full);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s4);
  box-shadow: var(--shadow-orange);
}
.next-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s2); letter-spacing: -0.01em; }
.next-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── HAMBURGER (mobile nav) ──────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
}
.hamburger:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 15px var(--s6);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  min-height: 52px;
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--orange); background: rgba(232,71,24,0.04); }
.mobile-nav .mobile-cta-wrap {
  padding: var(--s4) var(--s6);
  border-bottom: none;
}
.mobile-cta-wrap .btn { width: 100%; justify-content: center; }

/* ─── LANGUAGE TOGGLE (EN | ES) ───────────────────────────── */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--border-strong, #d4d4d4);
  border-radius: var(--r-full);
  background: var(--white);
  flex-shrink: 0;
}
.nav-lang a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: var(--r-full);
  line-height: 1;
  transition: color var(--t-fast), background var(--t-fast);
  text-transform: uppercase;
}
.nav-lang a:hover { color: var(--dark); }
.nav-lang a.active {
  background: var(--orange);
  color: var(--white);
}
.mobile-nav .mobile-lang {
  display: flex;
  gap: var(--s3);
  padding: 14px var(--s6);
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.mobile-nav .mobile-lang-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: var(--s2);
}
.mobile-nav .mobile-lang a {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--border-strong, #d4d4d4);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  min-height: auto;
  border-bottom: 1px solid var(--border-strong, #d4d4d4);
  text-transform: uppercase;
}
.mobile-nav .mobile-lang a.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ─── FREE AUDIT NAV LINK ─────────────────────────────────── */
@keyframes nav-audit-pulse {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}
.nav-link-audit {
  color: var(--orange) !important;
  font-weight: 600 !important;
  animation: nav-audit-pulse 2s ease-in-out infinite;
}
.nav-link-audit.active::after { transform: scaleX(1) !important; background: var(--orange); }

/* ─── FLOATING AUDIT BUTTON ───────────────────────────────── */
.float-audit-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--r-lg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(232,71,24,0.42);
  opacity: 0.9;
  z-index: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.float-audit-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,71,24,0.52);
}
@media (max-width: 480px) {
  .float-audit-btn {
    font-size: 0.875rem;
    padding: 12px 16px;
    bottom: 16px;
    right: 16px;
  }
}

/* ─── LOGO WAVE ANIMATION ─────────────────────────────────── */
@keyframes logo-wave-scan {
  0%   { transform: scale(0.08); opacity: 0.95; }
  75%  { opacity: 0.25; }
  100% { transform: scale(1);    opacity: 0; }
}
.logo-wave {
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-wave-scan 2.4s ease-out infinite;
}
.logo-wave-2 { animation-delay: -0.8s; }
.logo-wave-3 { animation-delay: -1.6s; }

/* ─── CRAFT PASS ──────────────────────────────────────────── */

/* B4 — Stat-card "lead" variant: imbalance one card so it dominates the grid.
   The 88% trust-rating gets the moment; the others stay at default. */
.stat-card.lead { padding: var(--s10) var(--s6); }
.stat-card.lead .stat-number {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
}

/* E2 — Stats footnote: signals "this is current, not guesswork." */
.stats-footnote {
  margin-top: var(--s5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

/* C3 — Paper-noise overlay on alt bands. Sweet-spot opacity 0.075. */
.section-alt { position: relative; isolation: isolate; }
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
.section-alt > * { position: relative; z-index: 1; }

/* B3 — Manifesto numbers on .why-card grid: replaces nothing; sits above h3 as a numeral marker. */
.why-card-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s2);
  font-variant-numeric: tabular-nums;
}

/* D2 — Pseudo-element arrow on primary CTAs (excludes tel: which aren't go-forward actions). */
a.btn-orange:not([href^="tel:"])::after,
a.btn-blue:not([href^="tel:"])::after,
a.btn-outline:not([href^="tel:"])::after,
a.btn-outline-dark:not([href^="tel:"])::after,
a.float-audit-btn:not([href^="tel:"])::after,
a.f-cta-link:not([href^="tel:"])::after,
button.f-next-btn::after {
  content: "→";
  display: inline-block;
  margin-left: 0.35em;
  transform: translateX(-2px);
  opacity: 0.92;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
a.btn-orange:not([href^="tel:"]):hover::after,
a.btn-blue:not([href^="tel:"]):hover::after,
a.btn-outline:not([href^="tel:"]):hover::after,
a.btn-outline-dark:not([href^="tel:"]):hover::after,
a.float-audit-btn:not([href^="tel:"]):hover::after,
a.f-cta-link:not([href^="tel:"]):hover::after,
button.f-next-btn:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* A2 — Utility classes promoted from inline styles. */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--s6);
}
.btn-spacer-top { margin-top: var(--s2); }
.form-note-tight {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -8px;
  line-height: 1.6;
}
.mobile-nav a.nav-link-orange { color: var(--orange); font-weight: 600; }

/* ─── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .logo-wave { animation: none; opacity: 0.35; transform: scale(1); }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .btn-orange:hover,
  .btn-blue:hover,
  .stat-card:hover,
  .step-card:hover,
  .pricing-card:hover,
  .why-card:hover,
  .next-step:hover { transform: none !important; }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .problem-grid,
  .pricing-grid,
  .footer-grid,
  .contact-grid,
  .why-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .steps-grid::before { display: none; }
  .next-steps { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .problem-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links   { display: none; }
  .nav-right   { display: none; }              /* CTA is in mobile menu */
  .nav-lang    { display: none; }              /* lang toggle is in mobile menu */
  .hamburger   { display: flex; }
  .nav-logo svg { width: 140px; height: auto; } /* prevent logo overflow */
  .section { padding: var(--s16) 0; }
  .hero { min-height: 88vh; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .trust-bar-inner { flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s6); overflow-x: visible; }
  .cta-buttons { flex-direction: column; align-items: stretch; max-width: 400px; margin: 0 auto; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .contact-form-box { padding: var(--s6) var(--s5); }
  .why-card { flex-direction: column; gap: var(--s3); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .page-hero { padding: var(--s12) 0 var(--s16); }
}
@media (max-width: 480px) {
  .container { padding: 0 var(--s4); }
  .problem-stats { grid-template-columns: 1fr; }
  .hero-sub { font-size: 0.95rem; }
  .pricing-note-top { padding: var(--s3) var(--s4); font-size: 0.85rem; }
  .stat-card { padding: var(--s6) var(--s5); }
  .cta-section { padding: var(--s16) 0; }
}
