/* contractornearme.net — one stylesheet, system fonts (no font downloads), WCAG 2.2 AA contrast on every colour pair. */
:root {
  --ink: #1b2430;        /* body text: 15.6:1 on --paper */
  --muted: #4a5563;      /* secondary text: 7.4:1 on --paper */
  --navy: #123a5e;       /* headings, header: 11.5:1 on white */
  --accent: #a3460c;     /* buttons and eyebrows: 6.1:1 with white */
  --accent-dark: #7d3408;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #d9dde3;
  --soft: #eef2f6;
  --radius: 10px;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: .15em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; }

/* header: sticky, with the call button always on screen */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: .5rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.name { display: flex; align-items: center; gap: .6rem; color: var(--navy); font-weight: 700; font-size: 1.1rem; text-decoration: none; line-height: 1.2; min-width: 0; }
.name small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.logo { width: 40px; height: 40px; flex: none; border-radius: 8px; }
.call { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .9rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; }
.call:hover { background: var(--accent-dark); color: #fff; }
.call svg, .btn svg, .foot-call svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.menu { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem .4rem; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.menu a { display: inline-block; padding: .35rem 0; min-height: 32px; color: var(--navy); font-weight: 600; text-decoration: none; }
.menu a:hover { text-decoration: underline; }
@media (max-width: 30rem) { .call-label, .name small { display: none; } .name { font-size: 1rem; } }

.crumbs { max-width: var(--wrap); margin: 0 auto; padding: .8rem 1rem 0; font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; }

/* page */
.page { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.page > * { max-width: 46rem; }
.page > .wide-block, .page > .request, .page > .cards { max-width: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(1.85rem, 5vw, 2.8rem); margin: .3rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.75rem); margin: 2.6rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin: 0; }
.lead { font-size: 1.2rem; color: var(--ink); }
.hero { padding: 1rem 0 .5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 .5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1.05rem; cursor: pointer; }
.btn-call, .btn-send { background: var(--accent); color: #fff; }
.btn-call:hover, .btn-send:hover { background: var(--accent-dark); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--soft); color: var(--navy); }
.note { background: var(--soft); border-left: 4px solid var(--navy); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.checklist { padding-left: 1.3rem; }
.checklist li { margin: .35rem 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--navy); }
.table-wrap { overflow-x: auto; }
.sources { font-size: .95rem; color: var(--muted); }
.sources a { color: var(--navy); }

/* home: service cards */
.cards { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.cards h3 { margin: 0 0 .4rem; }
.cards p { margin: 0; color: var(--muted); }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: .7rem 0; padding: 0 1.1rem; }
.faq summary { cursor: pointer; list-style: none; padding: .9rem 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.08rem; }
.faq summary::after { content: "+"; float: right; font-weight: 700; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: 0 0 1rem; }

/* lead form: one per page */
.request { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem 1rem; margin: 2.6rem 0; }
.request h2 { margin-top: 0; }
.lead-form { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .lead-form { grid-template-columns: 1fr 1fr; } .lead-form .wide { grid-column: 1 / -1; } }
.lead-form p { margin: 0 0 .9rem; }
.lead-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid #8a94a3; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.lead-form .consent { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.foot { background: var(--navy); color: #fff; padding: 2rem 1rem 1.2rem; }
.foot a { color: #fff; }
.foot-grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .3rem 0; }
.foot li a { display: inline-block; min-height: 28px; }
.foot .brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; margin-top: 0; }
.foot-h { color: #fff; font-size: 1rem; margin: 0 0 .5rem; }
.foot-call { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; font-size: 1.1rem; }
.license-line { max-width: var(--wrap); margin: 1.5rem auto .5rem; padding-top: 1rem; border-top: 1px solid #3b5d7e; font-size: .92rem; }
.copy { max-width: var(--wrap); margin: 0 auto; font-size: .85rem; color: #d5dee8; }
