/* Client Site Template — shared stylesheet
   Design system per brand_guidelines.md. Accent color is the only thing
   you should need to change to reskin this for a different client. */

:root{
  --ink:#020921; --ink2:#12294E; --accent:#0068F1; --accent-dark:#0052C4;
  --accent-light:#EFF6FF; --body:#334155; --muted:#64748B; --line:#E2E8F0;
  --bg:#FFFFFF; --bg-alt:#F8FAFC; --green:#047857;
  --radius-card:14px; --radius-btn:10px;
  --shadow: 0 1px 2px rgba(2,9,33,.04), 0 8px 24px rgba(2,9,33,.06);
  --container: 1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; color:var(--body); background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  font-size:16.5px; line-height:1.7; -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ color:var(--ink); margin:0; }
h1{ font-size:clamp(2.1rem,5vw,3.4rem); font-weight:800; letter-spacing:-0.03em; line-height:1.1; }
h2{ font-size:clamp(1.7rem,3.5vw,2.5rem); font-weight:800; letter-spacing:-0.02em; line-height:1.15; }
h3{ font-size:1.15rem; font-weight:700; }
p{ margin:0 0 1rem 0; }
a{ color:var(--accent-dark); }
ul{ margin:0; padding:0; list-style:none; }

.eyebrow{
  display:inline-block; font-size:0.78rem; font-weight:800; text-transform:uppercase;
  letter-spacing:0.14em; color:var(--accent); margin-bottom:10px;
}

.container{ max-width:var(--container); margin:0 auto; padding:0 22px; }
section{ padding:64px 0; }
section.alt{ background:var(--bg-alt); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 24px; border-radius:var(--radius-btn); font-weight:700; font-size:0.98rem;
  text-decoration:none; border:1px solid transparent; cursor:pointer; transition:opacity .15s ease;
}
.btn:hover{ opacity:0.92; }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-secondary{ background:#fff; color:var(--ink); border-color:var(--line); }
.btn-block{ width:100%; }

/* Header */
header.site{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line);
}
header.site .row{
  display:flex; align-items:center; justify-content:space-between; padding:16px 22px;
  max-width:var(--container); margin:0 auto;
}
.brand{ display:flex; flex-direction:column; }
.brand .name{ font-weight:800; color:var(--ink); font-size:1.05rem; letter-spacing:-0.01em; }
.brand .area{ font-size:0.8rem; color:var(--muted); }
.header-actions{ display:flex; align-items:center; gap:10px; }
.phone-link{
  display:flex; align-items:center; gap:6px; font-weight:700; color:var(--ink);
  text-decoration:none; font-size:0.95rem;
}

/* Hero */
.hero{ padding:72px 0 56px 0; }
.hero .lede{ max-width:640px; font-size:1.1rem; color:var(--body); margin:16px 0 28px 0; }
.hero-ctas{ display:flex; gap:12px; flex-wrap:wrap; }

/* Services */
.services-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:28px;
}
.service-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-card);
  padding:20px 22px; box-shadow:var(--shadow);
}
.service-card h3{ font-size:1.02rem; }

/* Form */
.form-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-card);
  padding:32px; box-shadow:var(--shadow); max-width:640px; margin:0 auto;
}
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:0.85rem; font-weight:700; color:var(--ink); margin-bottom:6px; }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px;
  font-size:0.98rem; font-family:inherit; color:var(--ink); background:#fff;
}
.field textarea{ min-height:100px; resize:vertical; }
.consent{
  display:flex; align-items:flex-start; gap:10px; margin:20px 0; padding:14px 16px;
  background:var(--accent-light); border-radius:10px;
}
.consent input[type="checkbox"]{ margin-top:3px; width:16px; height:16px; flex-shrink:0; }
.consent label{ font-size:0.82rem; color:var(--ink2); line-height:1.55; }
.consent a{ color:var(--accent-dark); }
.form-note{ font-size:0.8rem; color:var(--muted); margin-top:14px; text-align:center; }

/* Trust row */
.trust-row{
  display:flex; flex-wrap:wrap; gap:10px 28px; font-size:0.88rem; color:var(--muted);
  padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.trust-row strong{ color:var(--ink2); font-weight:700; }

/* Footer */
footer.site{ padding:40px 0; background:var(--ink); color:#B9C4D6; }
footer.site .row{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; align-items:flex-start;
}
footer.site .name{ color:#fff; font-weight:800; margin-bottom:4px; }
footer.site a{ color:#B9C4D6; text-decoration:none; }
footer.site a:hover{ color:#fff; }
footer.site .links{ display:flex; gap:18px; }
footer.site .fine{ font-size:0.78rem; color:#7C8AA3; margin-top:18px; }

/* Sticky mobile call bar */
.mobile-bar{
  position:fixed; bottom:0; left:0; right:0; z-index:60; display:none; gap:10px;
  padding:12px 16px; background:#fff; border-top:1px solid var(--line);
  box-shadow:0 -4px 16px rgba(2,9,33,.08); transform:translateY(100%); transition:transform .2s ease;
}
.mobile-bar.show{ transform:translateY(0); }

/* Legal pages */
.legal h2{ margin-top:34px; font-size:1.3rem; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ color:var(--body); }
.legal ul{ list-style:disc; padding-left:20px; margin-bottom:14px; }
.legal .updated{ color:var(--muted); font-size:0.88rem; margin-bottom:32px; }

@media (max-width:640px){
  html{ overflow-x:hidden; }
  .hero-ctas .btn{ width:100%; }
  .services-grid{ grid-template-columns:1fr; }
  header.site .row{ padding:14px 16px; }
  .header-actions .btn{ display:none; }
  .phone-link{ font-size:0.85rem; }
  .brand .name{ font-size:0.95rem; }
  .mobile-bar{ display:flex; }
  section{ padding:44px 0; }
  .container{ padding:0 16px; }
  .form-card{ padding:22px; }
  .trust-row{ flex-direction:column; gap:8px; }
  footer.site .row{ flex-direction:column; }
}
