/* ============================================================
   css/style.css — Long Island SEO Company
   Design system: soft-dark, eye-friendly, no pure black/white
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #0f172a;
  --bg-alt:       #111827;
  --bg-card:      #1e293b;
  --text:         #e2e8f0;
  --text-heading: #f8fafc;
  --text-muted:   #94a3b8;
  --accent:       #14b8a6;
  --accent-hover: #0d9488;
  --amber:        #f59e0b;
  --border:       rgba(148, 163, 184, 0.15);
  --radius-card:  16px;
  --radius-btn:   999px;
  --font-h:       'Figtree', sans-serif;
  --font-b:       'Roboto', sans-serif;
  --section-y:    96px;
  --section-m:    64px;
  --container:    1200px;
  --header-h:     72px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-h);
  color: var(--text-heading);
  line-height: 1.2;
}

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

ul { list-style: none; }
img, svg { display: block; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  border: 2px solid transparent;
  min-height: 48px;
}

.btn-primary {
  background: var(--accent);
  color: #0f172a;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm  { padding: 9px 18px; font-size: 0.875rem; min-height: 40px; }
.btn-lg  { padding: 17px 38px; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* ponytail: pulse only on designated CTA buttons */
.btn-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(20, 184, 166, 0); }
}

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

/* stagger service/why-us cards */
.cards-grid .card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.cards-grid .card.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn-pulse { animation: none; }
  .orb { animation: none !important; }
  .live-dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--text-heading);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo:hover { color: var(--text-heading); }

/* phone-slot: reserved, hidden until phone is available */
.phone-slot { display: none; }

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

.main-nav a {
  color: var(--text-muted);
  font-family: var(--font-h);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 12px;
  border-radius: 8px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--text-heading); background: rgba(148, 163, 184, 0.08); }
.main-nav .btn-primary { color: #0f172a; min-height: 40px; }
.main-nav .btn-primary:hover { color: #0f172a; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  min-height: 48px;
  min-width: 48px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 96px;
  overflow: hidden;
  background: var(--bg);
}

/* floating gradient orbs — motion, not video */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, transparent 70%);
  top: -220px;
  left: -180px;
  animation: orb-drift 20s ease-in-out infinite;
}
.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, transparent 70%);
  bottom: 60px;
  right: -160px;
  animation: orb-drift 26s ease-in-out infinite reverse;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(48px, -36px); }
  66%       { transform: translate(-24px, 28px); }
}

/* subtle grid overlay */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-content { max-width: 560px; }

.hero-content h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 500px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}
.trust-line .dot { color: var(--text-muted); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Dashboard mock (glassmorphism) ─────────────────────────── */
.hero-dashboard {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  width: 100%;
  max-width: 390px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 28px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.28);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

.dashboard-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(30, 41, 59, 0.65);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.kw {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.8125rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.pos-up { color: var(--accent); }

/* ── Stats strip (honest — no fabricated numbers) ───────────── */
.stats-strip {
  background: rgba(30, 41, 59, 0.55);
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}
.stat-icon { flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-y) 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.cards-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(20, 184, 166, 0.28);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(20, 184, 166, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
}

.card-tagline {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-h);
}

.card-bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.card-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.card-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

.card-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.card-link {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
}
.card-link:hover { color: var(--accent-hover); }

/* ============================================================
   COUNTIES
   ============================================================ */
.counties {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.county-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.county-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.county-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.county-icon {
  width: 52px;
  height: 52px;
  background: rgba(20, 184, 166, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.county-content { flex: 1; }
.county-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.county-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.county-arrow {
  color: var(--accent);
  font-size: 1.25rem;
  align-self: center;
  flex-shrink: 0;
}

.town-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-weight: 500;
  cursor: default;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.28);
  color: var(--accent);
}
.chip-muted {
  font-style: italic;
  opacity: 0.65;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  padding: var(--section-y) 0;
}

/* HONESTY LINE — teal, bold, visually distinct (design element) */
.honesty-line {
  margin: 56px auto 0;
  max-width: 660px;
  text-align: center;
  padding: 28px 40px;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: var(--radius-card);
}
.honesty-line p {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--accent);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(20, 184, 166, 0.07) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 52px rgba(20, 184, 166, 0.14);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #0f172a;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-header h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px;
}
.price .from   { font-size: 0.875rem; color: var(--text-muted); font-family: var(--font-h); }
.price .amount { font-family: var(--font-h); font-weight: 900; font-size: 2.25rem; color: var(--text-heading); letter-spacing: -0.03em; }
.price .per    { font-size: 0.9375rem; color: var(--text-muted); font-family: var(--font-h); }

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.pricing-ai-line {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
  padding: 20px 28px;
  background: rgba(20, 184, 166, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  line-height: 1.7;
}

.pricing-cta { text-align: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section-y) 0; }

.faq-container { max-width: 800px; }

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
  min-height: 48px;
  transition: background 0.15s, color 0.15s;
}
.faq-btn:hover                    { background: rgba(148, 163, 184, 0.04); color: var(--accent); }
.faq-btn[aria-expanded="true"]    { color: var(--accent); }

/* +/× icon */
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.28);
  position: relative;
  transition: background 0.15s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 1.5px;
  top: 50%;
  left: 50%;
}
.faq-icon::before { width: 9px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 9px; transform: translate(-50%, -50%); transition: transform 0.25s; }

.faq-btn[aria-expanded="true"] .faq-icon { background: rgba(20, 184, 166, 0.18); }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item dd {
  padding: 0 28px 22px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-field label {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-heading);
}
.form-field label .optional {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: var(--section-y) 0;
  text-align: center;
  overflow: hidden;
}

.final-cta-orb {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.09) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.final-cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.65;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.email-link {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.email-link:hover { color: var(--accent); }

.response-promise {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-logo {
  font-size: 1.125rem;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.footer-email {
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 16px;
}
.footer-email:hover { color: var(--accent-hover); }

.honesty-footer {
  font-size: 0.8125rem;
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-h);
  font-weight: 600;
  opacity: 0.75;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 4px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   SEO SECTIONS A–E — new sections between Pricing and FAQ
   ============================================================ */

.seo-services-deeper { padding: var(--section-y) 0; }

/* ── Section B: What SEO Includes — checklist ──────────────── */
.seo-includes { padding: var(--section-y) 0; }

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Section C: How We Rank — numbered steps ────────────────── */
.how-we-rank { padding: var(--section-y) 0; }

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
}

.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.step-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(20, 184, 166, 0.28);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  border: 2px solid rgba(20, 184, 166, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
}

.step-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Section D: Industries ───────────────────────────────────── */
.seo-industries { padding: var(--section-y) 0; }

.industry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.industry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.industry-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-h);
}

.industry-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Section E: Callout ──────────────────────────────────────── */
.seo-callout { padding: var(--section-y) 0; }

.callout-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 48px;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: var(--radius-card);
  text-align: center;
}

.callout-question {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.callout-answer {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   LEGAL PAGES (privacy.html, terms.html)
   ============================================================ */
.legal { padding: var(--section-y) 0; }

.legal h1 { margin-bottom: 8px; }

.legal-date {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-weight: 600;
  margin-bottom: 56px;
}

.legal-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.legal-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.legal-block p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-block ul {
  margin: 8px 0 16px;
  padding-left: 20px;
  list-style: disc;
}
.legal-block li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-block li::marker { color: var(--accent); }
.legal-block a { color: var(--accent); }
.legal-block a:hover { color: var(--accent-hover); }

/* ── Selected plan indicator (contact page, ?plan= fallback) ── */
.selected-plan {
  display: block;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Pricing stacks at 900px ────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Main breakpoint: 768px ─────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-y: var(--section-m); }

  /* Header — hamburger */
  .main-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }

  .main-nav a {
    width: 100%;
    font-size: 1.125rem;
    padding: 14px 16px;
    min-height: 52px;
    justify-content: flex-start;
  }
  .main-nav .btn-sm {
    width: 100%;
    margin-top: 12px;
    min-height: 52px;
    padding: 14px 16px;
    font-size: 1.125rem;
    justify-content: center;
  }

  .hamburger { display: flex; }

  /* Hero stacks */
  .hero { padding-top: 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 0;
  }
  .hero-content { max-width: 100%; }
  .hero-dashboard { order: -1; }
  .dashboard-card { max-width: 100%; }

  /* County cards stack */
  .county-cards { grid-template-columns: 1fr; }

  /* New sections B, E */
  .checklist-grid { grid-template-columns: 1fr; }
  .callout-box { padding: 28px 24px; }

  /* Footer stacks */
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ── Small phones: 480px ────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .stats-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .footer-nav { grid-template-columns: 1fr 1fr; }

  .honesty-line { padding: 22px 24px; }
  .honesty-line p { font-size: 1rem; }
}

/* ============================================================
   PLAN MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 36px;
  animation: modal-in 0.2s ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.modal-close:hover { color: var(--accent); background: rgba(20, 184, 166, 0.1); }

.modal-title {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.modal-price {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.modal-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.modal-form .form-field { margin-bottom: 16px; }

.modal-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.modal-success {
  text-align: center;
  padding: 16px 0;
}

.modal-success-check {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.modal-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .modal-card { animation: none; }
}
