/* Appliance Repair Near Me site stylesheet. Mobile-first, Montserrat headings, tokens on :root. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('/fonts/montserrat-900.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --brand: #0B2A4A;
  --brand-dark: #061A30;
  --accent: #E0161E;
  --accent-dark: #B8121A;
  --ink: #0B2A4A;
  --font-display: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --link: var(--brand);
  --text: #1c2433;
  --muted: #5b6577;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --card: #ffffff;
  --line: #dde3ec;
  --ok: #157347;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  --gutter: 16px;
  --bar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #e7ecf3; --muted: #a3adbf; --bg: #0f1520; --bg-alt: #151d2b; --card: #182234; --line: #2a3446;
    --brand: #0B2A4A; --brand-dark: #061A30; --link: #ffffff; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --text: #e7ecf3; --muted: #a3adbf; --bg: #0f1520; --bg-alt: #151d2b; --card: #182234; --line: #2a3446;
  --brand: #0B2A4A; --brand-dark: #061A30; --link: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text);
  background: var(--bg); padding-bottom: calc(var(--bar-h) + var(--safe-b)); overflow-x: hidden;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { opacity: .85; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(1.85rem, 4.5vw + .5rem, 2.9rem); font-weight: 900; }
h2 { font-size: clamp(1.35rem, 2.2vw + .6rem, 1.8rem); font-weight: 800; margin-top: 0; }
h3 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--bg-alt); padding: .1em .35em; border-radius: 6px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 16px; height: 16px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px;
  border-radius: 12px; font-weight: 800; font-family: var(--font-display); text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .98rem;
  transition: transform .08s ease, background .15s ease, color .15s ease; touch-action: manipulation; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-dark); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-secondary { border-color: rgba(255,255,255,.55); } }
.btn-outline { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .95rem; }
.btn-lg { min-height: 54px; font-size: 1.08rem; width: 100%; }
@media (min-width: 640px) { .btn-lg { width: auto; } }
.linklike { background: none; border: 0; color: var(--brand); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; margin-left: 8px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
@media (min-width: 900px) { .brand img { height: 46px; } }
.topbar-actions { display: none; gap: 8px; }
.nav { position: relative; }
.nav summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 700; border: 1px solid var(--line); min-height: 44px; }
.nav summary::-webkit-details-marker { display: none; }
.nav ul { list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 240px; z-index: 60; }
.nav li { margin: 0; }
.nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-alt); color: var(--link); }
.nav .nav-cta a { color: var(--link); }
@media (min-width: 900px) {
  .topbar-actions { display: flex; }
  .nav summary { display: none; }
  .nav ul { position: static; display: flex; gap: 2px; border: 0; box-shadow: none; background: transparent; padding: 0; min-width: 0; }
  .nav .nav-cta { display: none; }
  .nav a { padding: 8px 10px; font-size: .95rem; }
}

/* hero + page head */
.hero { background: linear-gradient(135deg, var(--brand-dark) 0%, #0B2A4A 55%, #143b66 100%); color: #fff; padding: 40px 0 36px; }
.hero h1, .page-head h1 { margin-bottom: .35em; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; max-width: 62ch; color: rgba(255,255,255,.92); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .8rem; color: var(--accent); margin-bottom: .6em; }
.page-head .eyebrow { color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; color: rgba(255,255,255,.95); }
.trust li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.trust .ico { color: var(--accent); }
.page-head { background: var(--bg-alt); padding: 22px 0 28px; border-bottom: 1px solid var(--line); }
.page-head .lead { font-size: 1.08rem; max-width: 66ch; color: var(--muted); }
.page-head .hero-actions .btn-outline { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 900px) { .hero { padding: 64px 0 56px; } .page-head { padding: 32px 0 36px; } }

/* breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); }

/* sections */
.section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
@media (min-width: 900px) { .section { padding: 44px 0; } }
.prose { max-width: 72ch; }
.prose h3 { margin-top: 1.4em; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.card h3 { margin: 4px 0 2px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card-link { text-decoration: none; color: inherit; transition: transform .12s ease, border-color .12s ease; }
.card-link:hover { transform: translateY(-2px); border-color: var(--brand); color: inherit; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--link) 12%, transparent); color: var(--link); display: grid; place-items: center; }
.card-icon .ico { width: 26px; height: 26px; }
.card-more { margin-top: auto; padding-top: 8px; color: var(--link); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 4px; }
.symptoms { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.symptoms li { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.symptoms .ico { color: var(--ok); margin-top: 2px; }
.symptoms p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 16px 16px 16px 58px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.links li { margin: 0; }
.links span { color: var(--muted); }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 16px 14px; color: var(--text); }
.faq .answer p:last-child { margin-bottom: 0; }
.cta { border-bottom: 0; }
.cta-inner { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 18px; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-actions .btn { flex: 1 1 200px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; align-items: center; padding: 34px; } .cta-actions .btn { flex: 0 0 auto; } }
.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hours { border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; padding: 3px 14px 3px 0; font-weight: 600; color: var(--muted); }
.hours td { padding: 3px 0; }
.jobs .meta { color: var(--muted); font-size: .88rem; }

/* form */
.lead-form { display: grid; gap: 14px; max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .lead-form { padding: 26px; } }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.lead-form .lbl { display: block; }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; font-size: 16px; padding: 12px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); min-height: 48px; width: 100%;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.grid-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.req { color: var(--err); }
.hint { font-weight: 500; font-size: .88rem; color: var(--muted); min-height: 1.2em; }
.hint.ok { color: var(--ok); }
.hint.warn { color: #9a5b00; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset.inline { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
fieldset.inline legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 4px; }
.radio { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin-right: 14px; }
.radio input { width: 20px; height: 20px; min-height: 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-weight: 500 !important; font-size: .9rem !important; color: var(--muted); background: var(--bg-alt); padding: 12px; border-radius: 10px; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; }
.fine { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { min-height: 1.2em; font-weight: 600; margin: 0; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.lead-form.sent > :not(.form-status) { display: none; }
.lead-form.sent .form-status { font-size: 1.1rem; }

/* footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 34px 0 26px; margin-top: 20px; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--link); text-decoration: underline; }
.footer-brand { font-weight: 800; font-size: 1.05rem; }
.footer-logo { width: 190px; height: auto; margin-bottom: 10px; display: block; }
.footer-h { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--muted); margin: 0 0 8px; }
.footer-h + .footer-h, .hours + .footer-h { margin-top: 16px; }
.legal { margin: 26px 0 0; color: var(--muted); font-size: .85rem; }

/* mobile sticky bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 8px var(--gutter) calc(8px + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(16,24,40,.35); }
.mobile-bar .btn { flex: 1; min-height: 48px; white-space: nowrap; font-size: .95rem; padding: 8px 10px; }
.mobile-bar:empty { display: none; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .mobile-bar, .cta, .footer .footer-grid { display: none; } body { padding: 0; } }
