/* ============================================================
   AM Pest Control Baltimore — Site-wide design system
   Single source of truth for tokens and base styles.
   Load this BEFORE any page-specific stylesheet or inline <style>.
   ============================================================ */

:root {
  --bg: #0c0405;
  --bg-2: #160708;
  --ink: #ffffff;
  --muted: #b89090;
  --muted-2: #d6b8b8;
  --line: rgba(255,210,90,0.42);
  --line-2: rgba(255,210,90,0.55);
  --red: #c41e1e;
  --red-deep: #8c1010;
  --red-glow: #ff2d3a;
  --gold: #f4c022;
  --gold-soft: #ffd966;
  --card: #1a0809;
  --card-2: #220a0c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-weight: 500;
  letter-spacing: 0.02rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.display { font-family: 'Oswald', 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: 0.01em; }

/* Gold is reserved for price/value emphasis only (see /styles/site.css head comment).
   .accent renders white by default. Pages that need a hero-level gold highlight
   provide a more-specific override (e.g. .hero-title .accent). */
.accent { color: var(--ink); }

/* ============================================================
   CTA system — exactly two variants site-wide.
   - .btn-primary: phone-call CTAs only (one per viewport region).
   - .btn-secondary: quote / book / learn-more / view-more / email.
   Never use anything else for a CTA.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
  min-height: 48px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease-out;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--red);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 24px rgba(255, 45, 58, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(255, 45, 58, 0.55);
  filter: brightness(1.08);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-secondary:hover {
  background: var(--card);
  border-color: rgba(255, 210, 90, 0.45);
}

/* ============================================================
   Card link — wraps an entire card in a single keyboard-reachable
   anchor with a visible focus ring. Apply alongside the card's
   layout class (e.g. .blog-card, .related-card, .pest-card).
   ============================================================ */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}
.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--red-glow);
}
.card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.card-cta {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============================================================
   Neighborhood pill — anchor variant of the chip used in
   services/*.html neighborhood lists. Links to
   /services/neighborhoods/<slug>.html landing pages.
   ============================================================ */
.neighborhood-pill {
  display: inline-block;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: #ede0e0;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 150ms ease-out, color 150ms ease-out, background 150ms ease-out;
}
.neighborhood-pill:hover {
  border-color: var(--red-glow);
  color: var(--ink);
}
.neighborhood-pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   Social icons — sits in the footer Contact column as the
   last <li>, rendering Facebook + Instagram as a horizontal
   row of circular icon buttons.
   ============================================================ */
li.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  list-style: none;
}
li.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: #ede0e0;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}
li.social-icons a:hover {
  border-color: var(--red-glow);
  color: var(--ink);
  background: var(--card-2);
  transform: translateY(-1px);
}
li.social-icons a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
li.social-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
