:root {
  --ink: #101418;
  --paper: #ffffff;
  --muted: #5d6874;
  --line: #e2e7ec;
  --accent: #1d5f8a;
  --accent-soft: #eaf2f8;
  --dark: #101418;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--coag-body-font, "Inter", system-ui, -apple-system, sans-serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1100px, 92vw); margin: 0 auto; }
.section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.section-alt { background: #f6f8fa; }
.section-dark { background: var(--dark); color: var(--paper); }
.centered { text-align: center; }

.eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 0.8rem; }
.section-dark .eyebrow { color: #7fb2d4; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.18; margin-bottom: 0.8rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.logo { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: inherit; font-size: 1.05rem; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { color: inherit; text-decoration: none; font-size: 0.9rem; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff !important; border-radius: 5px; padding: 0.42rem 0.95rem; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 4px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }

.hero { padding: clamp(3.5rem, 10vw, 6.5rem) 0; background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 100%); }
.hero-inner { max-width: 46rem; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.025em; }
.hero .accent { color: var(--accent); }
.lede { margin-top: 1.2rem; color: var(--muted); font-size: 1.05rem; max-width: 44ch; }
.hero-actions { display: flex; gap: 0.7rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-tiny { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

.btn { font: inherit; cursor: pointer; border: 0; border-radius: 6px; padding: 0.68rem 1.4rem; text-decoration: none; display: inline-block; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:disabled { opacity: 0.5; cursor: default; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid var(--line); }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.grid-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2rem 0; }
.service { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; background: var(--paper); }
.service-icon { font-size: 1.7rem; }
.service h3 { font-size: 1.1rem; margin: 0.7rem 0 0.35rem; }
.service p { color: var(--muted); font-size: 0.93rem; }
.service-price { margin-top: 1rem; font-weight: 600; }
.service-price span { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.quote blockquote { font-size: 1.02rem; line-height: 1.6; }
.quote footer { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.quote footer strong { color: var(--ink); display: block; }

.how-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.how-lede { color: var(--muted); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; padding-left: 2.6rem; position: relative; color: var(--muted); }
.steps li strong { color: var(--ink); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}

.contact-inner { max-width: 42rem; }
.contact-inner h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.contact-lede { margin-top: 0.7rem; color: rgba(255,255,255,0.72); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 1.8rem; }
.lead-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.lead-form label.wide { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea, .lead-form select {
  font: inherit; padding: 0.6rem 0.75rem; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06); color: var(--paper); border-radius: 5px;
}
.lead-form input:focus-visible, .lead-form textarea:focus-visible, .lead-form select:focus-visible { outline: 2px solid #7fb2d4; outline-offset: 1px; }
.lead-form .btn-primary { grid-column: 1 / -1; justify-self: start; }
.lead-msg { margin-top: 0.9rem; font-size: 0.88rem; color: rgba(255,255,255,0.75); }

.site-footer { border-top: 1px solid var(--line); padding: 1.8rem 0; font-size: 0.85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 1.2rem; }
.footer-inner a { color: inherit; text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 1rem 4vw; }
  .nav-links.open { display: flex; }
  .how-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
}