/* RankForge -- CallPro template. Aggressive call-only lead-gen: dark,
   high-contrast, tap-to-call everywhere, urgency. Pairs with
   template_flags.call_only=True (set in renderer.py's TEMPLATE_FLAGS),
   which hides the quote form and adds a repeated CTA band between every
   content section in _shared/page.html. Brand colors come in via CSS
   custom properties set inline per-property (see renderer.py); this file
   only ever references var(--accent) etc, never a hardcoded brand color. */
:root {
  --accent: #ef4444;
  --accent-dark: #b91c1c;
  --base: #0a0a0a;
  --surface: #1c1c1c;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --border: #333333;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--base);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; color: #fff; font-weight: 800; }
main { max-width: 960px; margin: 0 auto; padding: 0 1.25rem 3rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #000; border-bottom: 2px solid var(--accent); }
.header-inner { max-width: 960px; margin: 0 auto; padding: 0.75rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.brand { font-weight: 800; font-size: 1.1rem; color: #fff; text-decoration: none; margin-right: auto; text-transform: uppercase; letter-spacing: 0.03em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-header nav a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.site-header nav a:hover { color: #fff; }

/* CTA buttons -- loud, urgent, pulsing on the hero */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.3rem;
  background: var(--accent);
  color: var(--text-on-accent);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cta-button:hover { background: var(--accent-dark); color: var(--text-on-accent); }
.cta-button.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.cta-button.large { font-size: 1.3rem; padding: 1.15rem 2.25rem; animation: cp-pulse 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cta-button.large { animation: none; } }
@keyframes cp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
}

/* Breadcrumbs */
.breadcrumbs { font-size: 0.8rem; color: var(--text-muted); padding: 1rem 0 0; }
.breadcrumbs a { color: var(--text-muted); }

/* Hero -- urgent, centered, big call CTA */
.hero { padding: 3.5rem 0 2.5rem; text-align: center; background: radial-gradient(circle at 50% -10%, rgba(239, 68, 68, 0.15), transparent 60%); }
.hero-image { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 0.5rem; margin-bottom: 1.5rem; filter: brightness(0.75); }
.hero-eyebrow { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.24em; color: var(--accent); margin: 0 0 0.75rem; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 2.9rem); margin: 0 0 0.6rem; }
.hero .slogan { font-size: 1.15rem; color: var(--text-muted); margin: 0 0 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }
.hero-availability { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 1rem 0 0; }

/* Trust badges */
.trust-badges { padding: 1.1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-badges ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; }
.trust-badges li { font-size: 0.85rem; font-weight: 700; color: var(--text); }

/* Content + repeated CTA bands (inline-call is rendered after EVERY
   section when template_flags.call_only is true -- see _shared/page.html) */
.content-sections { padding: 1.5rem 0; }
.content-block { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.content-block h2 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.content-block h3 { font-size: 1.15rem; }
.inline-call {
  text-align: center;
  padding: 1.75rem 1rem;
  margin: 0.5rem 0 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--accent);
  border-radius: 0.5rem;
}

/* FAQ */
.faq { padding: 1.5rem 0; }
.faq details { border: 1px solid var(--border); border-radius: 0.4rem; padding: 0.85rem 1.1rem; margin-bottom: 0.6rem; background: var(--surface); }
.faq summary { font-weight: 700; cursor: pointer; color: #fff; }
.faq details > div { margin-top: 0.6rem; color: var(--text-muted); }

/* Reviews */
.reviews { padding: 2rem 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.review-card { border: 1px solid var(--border); border-radius: 0.4rem; padding: 1.1rem; background: var(--surface); }
.review-card .stars { color: var(--accent); letter-spacing: 0.1em; }
.review-card .reviewer { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }

/* Map */
.map { padding: 1.5rem 0; }
.map iframe { width: 100%; min-height: 300px; border: 0; border-radius: 0.5rem; }

/* Related links */
.related-links { padding: 1.5rem 0; border-top: 1px solid var(--border); }
.related-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Footer */
footer { background: #000; color: var(--text-muted); border-top: 2px solid var(--accent); padding: 2rem 1.25rem 5.5rem; margin-top: 2rem; }
footer .nap { max-width: 960px; margin: 0 auto; font-size: 0.85rem; text-align: center; }
footer .nap p { margin: 0.2rem 0; }
.footer-links { max-width: 960px; margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.25rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; }

/* Sticky mobile call bar -- always on for a call-only template */
.mobile-call { display: none; }
@media (max-width: 640px) {
  .mobile-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--text-on-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1rem;
    text-decoration: none;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.5);
  }
  .hero h1 { font-size: 1.7rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  main { padding-bottom: 4.5rem; }
}
