/* Bedford Auto Panels */
:root {
  --ink: #16191e;
  --ink-2: #23272e;
  --ink-3: #343a43;
  --paper: #f4f2ee;
  --white: #ffffff;
  --line: #e1ddd5;
  --muted: #5b626d;
  --accent: #d63a1f;
  --accent-dark: #b02d15;
  --ok: #1f7a4a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22,25,30,.06), 0 8px 28px rgba(22,25,30,.08);
  --head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }
.eyebrow { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--accent); margin-bottom: .7em; }
.small { font-size: .88rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; padding: .85em 1.5em; border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-primary:disabled { opacity: .7; cursor: wait; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; background: var(--accent); color: var(--white); padding: 6px 9px 5px; border-radius: 5px; transform: skewX(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--head); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.brand-text small { font-size: .78rem; color: #aeb4bd; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #d6dae0; text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.site-nav a:hover { color: var(--white); background: var(--ink-2); }
.site-nav .nav-call { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); font-family: var(--head); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; margin-left: 10px; padding: 8px 16px; }
.site-nav .nav-call:hover { background: var(--accent-dark); }
.nav-call svg { width: 18px; height: 18px; fill: currentColor; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 8px 16px 20px; gap: 2px; border-top: 1px solid var(--ink-3); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav .nav-call { margin: 10px 0 0; justify-content: center; padding: 14px; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand-text strong { font-size: 1.15rem; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--ink) var(--hero) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,18,22,.94) 0%, rgba(16,18,22,.82) 45%, rgba(16,18,22,.45) 100%); }
.hero-inner { padding: clamp(72px, 12vw, 150px) 16px clamp(56px, 8vw, 100px); }
@media (min-width: 700px) { .hero-inner { padding-left: 28px; padding-right: 28px; } }
.hero h1 { font-size: clamp(3rem, 9vw, 6.2rem); text-transform: uppercase; margin-bottom: .3em; }
.hero h1 span { color: var(--accent); }
.hero .eyebrow { color: #f1b3a6; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 37em; color: #dfe3e8; margin-bottom: 2em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); padding-top: 0; padding-bottom: 0; }
.trust li { padding: 22px 16px 26px 0; color: #c3c8cf; font-size: .95rem; }
.trust strong { display: block; font-family: var(--head); font-size: 1.6rem; color: var(--white); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } .trust li { padding: 16px 10px 18px 0; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

.service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--white); padding: 30px 28px 26px; transition: background .2s; }
.service:hover { background: #fffaf8; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.collage > img { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.insurance { background: var(--ink); color: #d3d7dd; }
.insurance h2 { color: var(--white); }
.insurance .btn { margin-top: 12px; }
.insurance-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; max-height: 560px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.insurance-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .insurance-img { aspect-ratio: 16/10; } }
.ticks { list-style: none; padding: 0; margin: 1.4em 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: .7em; color: var(--white); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage img:nth-child(2) { margin-top: 48px; }
.badge { position: absolute; left: -6px; bottom: -14px; background: var(--accent); color: var(--white); padding: 14px 20px 12px; border-radius: 8px; box-shadow: var(--shadow); text-align: center; }
.badge strong { display: block; font-family: var(--head); font-size: 2.2rem; line-height: 1; }
.badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
@media (max-width: 860px) { .collage { order: 2; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.8em 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--head); font-size: 1.4rem; font-weight: 700; display: grid; place-items: center; }
.steps strong { font-family: var(--head); font-size: 1.2rem; }
.steps span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { background: #ebe8e2; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.row { margin-bottom: 18px; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row.two { grid-template-columns: 1fr; gap: 18px; } }
label { display: block; font-weight: 600; font-size: .95rem; }
.req { color: var(--accent); }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink); background: #fbfaf8; border: 1.5px solid #d4cfc6; border-radius: 7px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214,58,31,.18); background: var(--white); }
[aria-invalid=true] { border-color: var(--accent) !important; background: #fff6f4 !important; }
.field-error { color: var(--accent-dark); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.file-drop { position: relative; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop-ui { display: flex; align-items: center; gap: 14px; border: 2px dashed #cbc5ba; border-radius: 8px; padding: 16px 18px; font-weight: 400; background: #fbfaf8; transition: border-color .15s, background .15s; }
.file-drop:hover .file-drop-ui, .file-drop input:focus-visible + .file-drop-ui { border-color: var(--accent); background: #fff8f6; }
.file-drop input:focus-visible + .file-drop-ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.file-drop-ui svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.file-drop-ui strong { display: block; }
.file-count { font-size: .88rem; color: var(--muted); word-break: break-word; }
.file-drop.has-error .file-drop-ui { border-color: var(--accent); }
.file-drop.has-error .file-count { color: var(--accent-dark); font-weight: 600; }
.cf-turnstile { margin-bottom: 14px; }
.notice { border-radius: 8px; padding: 16px 18px; margin-bottom: 20px; }
.notice:focus { outline: none; }
.notice-ok { background: #e8f5ee; border-left: 5px solid var(--ok); padding: 24px; margin: 0; }
.notice-ok h3 { color: var(--ok); }
.notice-ok p { margin: 0; }
.notice-err { background: #fdecea; border-left: 5px solid var(--accent); color: var(--accent-dark); font-weight: 600; }

.info-card h3 { font-size: 1.6rem; text-transform: uppercase; }
.info { list-style: none; padding: 0; margin: 0 0 22px; }
.info li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.info li span { color: var(--muted); font-size: .88rem; padding-top: 2px; }
.info a { font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.info a:hover { color: var(--accent); }
.info-card h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4em; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: .96rem; }
.hours th, .hours td { text-align: left; padding: 6px 0; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today { font-weight: 600; }
.hours tr.today th, .hours tr.today td { font-weight: 600; }
.hours em { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; background: var(--accent); color: var(--white); border-radius: 3px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }

.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 380px; background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%2333383f' stroke-width='1'/%3E%3C/svg%3E"); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 24px; }
.map-placeholder .small { color: #aeb4bd; }

/* Page head (privacy) */
.page-head { background: var(--ink); color: var(--white); padding: 64px 0 48px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4rem); text-transform: uppercase; }
.page-head .small { color: #aeb4bd; margin: 0; }
.prose-section { padding-top: 48px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose code { background: #e7e3dc; padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* Footer */
.site-footer { background: var(--ink); color: #b5bbc3; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--head); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-bottom: .4em; }
.footer-h { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: .5em; }
.site-footer a { color: #e2e5e9; text-decoration: none; word-break: break-word; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--ink-3); padding-top: 20px; padding-bottom: 28px; font-size: .85rem; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .map, .hero::before, .nav-toggle { display: none; } .hero { color: var(--ink); background: none; } }
@media (max-width: 560px) { .service { padding: 22px 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; } .service .icon { grid-row: span 2; margin: 2px 0 0; width: 34px; height: 34px; } .service h3 { font-size: 1.3rem; margin-bottom: .25em; } }
