/* SWFL Contractor Match: shared styles. Section styles live in services.css, areas.css and guides.css. */
:root {
  --navy: #0f2a3d;
  --navy-2: #1d4560;
  --sand: #f6f3ee;
  --paper: #ffffff;
  --ink: #1b2329;
  --muted: #56636d;
  --line: #dfe4e8;
  --accent: #e2681e;      /* safety orange: calls to action only */
  --accent-ink: #ffffff;
  --accent-dark: #b9500f;
  --ok: #2e7d4f;
  --radius: 8px;
  --f-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--f-body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 1.6em 0 .5em; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 1.2em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 1.25rem; }
.prose { max-width: 42rem; }
.label { font: 700 .78rem var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; font: 700 1rem var(--f-head); text-decoration: none; border-radius: var(--radius); padding: .75rem 1.25rem; border: 2px solid var(--navy); color: var(--navy); background: transparent; cursor: pointer; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--accent-ink); }
.btn--sm { padding: .45rem .9rem; font-size: .9rem; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.1rem; }

/* Header / footer */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header__inner { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .5rem; font: 800 1.15rem var(--f-head); color: var(--navy); text-decoration: none; margin-right: auto; }
.brand__mark { width: 1.4rem; height: 1.4rem; border-radius: 4px; background: linear-gradient(135deg, var(--navy) 55%, var(--accent) 55%); }
.main-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--accent-dark); }
@media (max-width: 760px) { .main-nav { order: 3; width: 100%; } }
.site-footer { background: var(--navy); color: #d6e0e7; margin-top: 4rem; padding-block: 3rem 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .label { color: #9fb3c2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__brand { font: 800 1.2rem var(--f-head); color: #fff; }
.site-footer__legal { border-top: 1px solid var(--navy-2); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; color: #9fb3c2; }
.disclosure { font-size: .85rem; }

/* Sections */
.hero { background: var(--sand); padding-block: 3.5rem; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__lede { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
.checks { list-style: none; padding: 0; display: grid; gap: .4rem; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: .5rem; }
.section { padding-block: 3rem; }
.section--sand { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.card h3 { margin-top: 0; }
.card a { text-decoration: none; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem var(--f-head); margin-bottom: .5rem; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--muted); }
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0; }

/* Lead form */
.lead-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 10px 30px rgba(15, 42, 61, .08); }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-bottom: 1.1rem; }
@media (max-width: 560px) { .lead-form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; padding: .6rem .7rem; border: 1px solid #b9c3cb; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.consent label { font-weight: 400; font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.consent input { margin-top: .3rem; width: auto; flex: none; }
.lead-form__note { font-size: .9rem; color: var(--muted); margin: .75rem 0 0; }
.faq dt { font-weight: 700; margin-top: 1rem; }
.faq dd { margin: .3rem 0 0; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
