/* base.css — always composed first. Locked contrast system + home-services
   components. The agent fills the two brand palette tokens; it must NOT change
   the ink/bg/surface/muted contrast system. */

:root {
  --brand-primary: #0b5cad;
  --brand-accent: #f28c00;

  /* LOCKED contrast system — do not change */
  --ink: #12202e;
  --muted: #5a6b7b;
  --bg: #ffffff;
  --surface: #f2f5f8;
  --line: #dbe3ea;
  --on-brand: #ffffff;

  --radius: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-family: system-ui, -apple-system, sans-serif;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 16px; }

/* buttons (shape here; color from colorStrategy) */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: transform .08s ease, filter .15s ease; }
.btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-ghost { background: transparent; border: 2px solid var(--line); color: var(--ink); }

/* emergency bar */
.emergency-bar { display: flex; gap: 16px; justify-content: center; align-items: center; padding: 8px 16px; font-weight: 600; font-size: .95rem; background: var(--ink); color: #fff; }
.emergency-bar a { color: #fff; text-decoration: underline; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-size: 1.2rem; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { font-weight: 700; color: var(--ink); text-decoration: none; }

/* hero */
section { padding: 64px 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 54ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel { min-height: 320px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }

/* trust bar */
.trust-bar { padding: 0; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust-item { background: var(--surface); padding: 18px 20px; text-align: center; font-weight: 700; }
@media (max-width: 640px) { .trust-inner { grid-template-columns: 1fr; } }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.service-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.service-card p { margin: 0; color: var(--muted); }
.service-rows { display: flex; flex-direction: column; }
.service-row { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.service-row h3 { margin: 0; font-size: 1.2rem; }
.service-row p { margin: 0; color: var(--muted); }

/* service area / about / reviews / contact */
.service-area { background: var(--surface); }
.area-line { font-size: 1.15rem; }
.about-inner { max-width: 70ch; }
.about-body { font-size: 1.1rem; }
.reviews-placeholder, .quote-placeholder { padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; }
.quote-placeholder .btn { margin-top: 12px; }
.contact-line { font-size: 1.1rem; }

/* footer + sticky mobile call bar */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-tagline { font-size: 1.05rem; margin: 0 0 6px; }
.mobile-call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; text-align: center; padding: 14px; font-weight: 800; text-decoration: none; background: var(--brand-primary); color: var(--on-brand); }
@media (max-width: 720px) { .mobile-call-bar { display: block; } body { padding-bottom: 56px; } }

/* typePairing T1 — Archivo (display) + Inter (body) */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600&display=swap");
:root { --font-display: "Archivo", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; }
body { font-family: var(--font-body); }
h1, h2, h3, .brand-name { font-family: var(--font-display); letter-spacing: -0.02em; }

/* structural X2 — wide, left-aligned, generous rhythm, emphasized quote band */
:root { --maxw: 1200px; }
section { padding: 84px 0; }
.hero-urgency-inner { text-align: left; max-width: 62rem; }
.hero-trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.hero-panel { min-height: 380px; }
.section-title { margin-bottom: 36px; }
/* emphasized quote band */
.contact { background: var(--surface); }
.quote-placeholder { padding: 44px; }
@media (max-width: 820px) { .hero-trust-inner { grid-template-columns: 1fr; gap: 28px; } .hero-panel { min-height: 200px; } section { padding: 60px 0; } }

/* colorStrategy C2 — immersive: brand primary lightly tints the emergency/trust/
   contact bands (kept light so locked --ink stays readable); accent drives CTAs. */
.emergency-bar { background: var(--brand-primary); }
.hero { background: color-mix(in srgb, var(--brand-primary) 8%, var(--bg)); }
.trust-item { background: color-mix(in srgb, var(--brand-primary) 10%, var(--bg)); }
.contact { background: color-mix(in srgb, var(--brand-primary) 8%, var(--bg)); }
.btn-primary { background: var(--brand-accent); color: var(--on-brand); }
.btn-accent { background: var(--brand-primary); color: var(--on-brand); }
.mobile-call-bar { background: var(--brand-accent); }

/* motion M0 — no motion. Deliberately static (fastest, zero distraction). */
