/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL PAGES — Local Answers
   Shared styles for:
     services-ai-visibility-audit.html
     services-citation-building.html
     services-ai-optimization.html
     services-ongoing-monitoring.html

   Visual intent preserved from drafts: dark navy background,
   cyan accents, card grids, numbered process steps — restyled
   onto the site's type system (Inter) and palette (#05050f).
   All content selectors scoped under .svc-main so they can't
   collide with nav.css or the footer.
   ═══════════════════════════════════════════════════════════ */

.svc-main {
  --navy:    #05050f;
  --navy-2:  #0b0b1f;
  --cyan:    #22d3ee;
  --cyan-dim:#0e7490;
  --text:    #f1f5f9;
  --muted:   rgba(148, 163, 184, 0.9);
  --card:    rgba(255, 255, 255, 0.025);
  --line:    rgba(34, 211, 238, 0.16);

  display: block;
  background: var(--navy);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  padding-top: 72px; /* clear the fixed nav */
}

.svc-main .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.svc-main a { color: var(--cyan); text-decoration: none; }

/* ── Hero ───────────────────────────────────────── */
.svc-main .hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse at 70% -10%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(ellipse at 10% 20%, rgba(124, 92, 252, 0.07), transparent 60%);
}

.svc-main .eyebrow {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.svc-main h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 780px;
  margin: 0;
}

.svc-main .hero p.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 680px;
  margin: 22px 0 32px;
}

/* ── Sections ───────────────────────────────────── */
.svc-main section {
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-main h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 18px;
  max-width: 760px;
}

/* ── Buttons (cyan intent preserved) ───────────── */
.svc-main .btn {
  display: inline-block;
  background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
  color: #05050f;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  margin-left: 16px;
  transition: opacity 0.2s, transform 0.18s;
}
.svc-main .btn:hover { opacity: 0.88; transform: translateY(-1px); }

.svc-main .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--cyan);
}
.svc-main .btn-ghost:hover { background: rgba(34, 211, 238, 0.08); opacity: 1; }

/* ── Card grid ──────────────────────────────────── */
.svc-main .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.svc-main .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.25s, background 0.25s;
}
.svc-main .card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.svc-main .card h3 {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}
.svc-main .card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* ── Numbered process steps ─────────────────────── */
.svc-main .steps { margin-top: 36px; }

.svc-main .step {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.svc-main .step:last-child { border: none; }

.svc-main .num {
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(34, 211, 238, 0.05);
}

.svc-main .step h3 { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.svc-main .step p  { color: var(--muted); margin: 0; }

/* ── FAQ accordions ─────────────────────────────── */
.svc-main .faq details {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 14px;
  transition: border-color 0.25s;
}
.svc-main .faq details[open] { border-color: rgba(34, 211, 238, 0.30); }
.svc-main .faq summary { cursor: pointer; font-weight: 700; color: #fff; }
.svc-main .faq p { color: var(--muted); margin: 12px 0 0; }

/* ── Bottom CTA box ─────────────────────────────── */
.svc-main .cta {
  background: linear-gradient(135deg, var(--navy-2), #0a2233);
  text-align: center;
  border-radius: 18px;
  padding: 60px 30px;
  margin: 72px auto;
  border: 1px solid var(--line);
}
.svc-main .cta h2 { margin: 0 auto 14px; }
.svc-main .cta p  { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* ── Legal pages (privacy / terms) ──────────────── */
.legal-main .wrap { max-width: 860px; }
.legal-main .hero { padding: 80px 0 40px; background: none; }
.legal-main .updated { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.legal-main main, .legal-main .legal-body { padding: 0; }
.legal-main h2 { font-size: 20px; margin: 42px 0 14px; max-width: none; }
.legal-main p, .legal-main li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-main p { margin-bottom: 14px; }
.legal-main ul { margin: 12px 0 12px 22px; }
.legal-main li { margin-bottom: 8px; }
.legal-main > div:last-of-type { padding-bottom: 80px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 760px) {
  .svc-main .hero { padding: 72px 0 56px; }
  .svc-main section { padding: 56px 0; }
  .svc-main .btn { margin-left: 0; margin-top: 12px; display: inline-block; }
  .svc-main .cta { margin: 56px auto; padding: 48px 24px; }
}

/* ═══════════════════════════════════════════════════════════
   SITE FOOTER (copied from index.html inline styles so the
   shared footer markup renders identically on service pages)
   ═══════════════════════════════════════════════════════════ */
.ft {
  position: relative; z-index: 2;
  background: #040410; overflow: hidden;
  font-family: 'Inter', sans-serif;
}
.ft-bg { position: absolute; inset: 0; pointer-events: none; }
.ft-bg-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(99,102,241,.35) 30%,
    rgba(56,189,248,.25) 50%, rgba(139,92,246,.35) 70%, transparent 100%);
}
.ft-bg-glow {
  position: absolute; width: 600px; height: 300px;
  top: -80px; left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99,102,241,.08) 0%, transparent 70%);
  filter: blur(60px);
}
.ft-wrap {
  max-width: 1520px; margin: 0 auto;
  padding: 72px 48px 40px; position: relative; z-index: 2;
}
.ft-top {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 80px; margin-bottom: 56px;
}
.ft-logo-img { height: 36px; width: auto; max-width: 200px; display: block; object-fit: contain; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.ft-tagline { font-size: 13.5px; line-height: 1.65; color: rgba(148,163,184,.5); margin: 0 0 24px; max-width: 240px; }
.ft-socials { display: flex; gap: 10px; }
.ft-social {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
  color: rgba(148,163,184,.55); text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.ft-social:hover { border-color: rgba(99,102,241,.4); color: #a5b4fc; background: rgba(99,102,241,.08); }
.ft-nav-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ft-nav-head {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin: 0 0 18px;
}
.ft-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ft-nav-list a { font-size: 14px; color: rgba(148,163,184,.6); text-decoration: none; transition: color .18s; font-weight: 400; }
.ft-nav-list a:hover { color: #e2e8f0; }
.ft-nav-col--cta .ft-cta-note { font-size: 13px; line-height: 1.6; color: rgba(148,163,184,.5); margin: 0 0 16px; }
.ft-cta-btn {
  display: inline-block; padding: 11px 22px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
  box-shadow: 0 0 28px rgba(99,102,241,.35), 0 4px 20px rgba(0,0,0,.3);
  transition: transform .18s, box-shadow .18s; margin-bottom: 10px;
}
.ft-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(99,102,241,.5), 0 8px 28px rgba(0,0,0,.4); }
.ft-cta-link {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: #38BDF8; text-decoration: none; transition: color .18s; padding-top: 4px;
}
.ft-cta-link:hover { color: #7dd3fc; }
.ft-divider { height: 1px; background: rgba(255,255,255,.06); margin-bottom: 28px; }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ft-copy { font-size: 13px; color: rgba(148,163,184,.35); margin: 0; }
.ft-legal { display: flex; align-items: center; gap: 12px; }
.ft-legal a { font-size: 12.5px; color: rgba(148,163,184,.35); text-decoration: none; transition: color .18s; }
.ft-legal a:hover { color: rgba(148,163,184,.7); }
.ft-dot { color: rgba(255,255,255,.12); font-size: 10px; }
.ft-made { font-size: 12px; color: rgba(148,163,184,.22); margin: 0; font-style: italic; text-align: right; }

@media (max-width: 768px) {
  .ft-wrap { padding: 56px 24px 32px; }
  .ft-top { grid-template-columns: 1fr; gap: 40px; }
  .ft-nav-group { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .ft-nav-group { grid-template-columns: 1fr; gap: 28px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ft-made { text-align: left; }
}
