/* Armor Coatings — brand stylesheet
   Colors from the official brand kit README:
   Red #ED1C24 · Gunmetal #56575B · Charcoal #242426 · White · Black */
:root {
  --red: #ED1C24;
  --red-d: #C4151C;
  --ink: #242426;
  --ink-2: #303033;
  --steel: #56575B;
  --muted: #6b6b70;
  --line: #e4e4e7;
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 22, .08);
  --display: "Saira Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.eyebrow { font: 700 .8rem/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--steel); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 6px; font: 700 1rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 26px; font-size: 1.1rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-alt); color: var(--ink); }
.btn--outline-white { color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: #fff; color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Top bar + header */
.topbar { background: var(--ink); color: #d4d4d8; font-size: .85rem; }
.topbar__in { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.topbar svg { color: var(--red); }
.topbar__phone { margin-left: auto; color: #fff !important; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: 10px 12px; font: 600 .98rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list a.is-active { color: var(--red); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 10px 12px; text-transform: none; letter-spacing: 0; font: 500 .95rem/1.2 var(--body); }
.sub a:hover { background: var(--bg-alt); }
.header-cta { display: flex; gap: 10px; }
.nav__toggle { display: none; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 18px 20px 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs.wrap ol { padding-left: 0; padding-right: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4b4b8; }
.crumbs a { color: var(--muted); text-decoration: none; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(36,36,38,.96) 0%, rgba(36,36,38,.86) 45%, rgba(36,36,38,.55) 100%),
  radial-gradient(900px 500px at 85% 20%, rgba(237,28,36,.22), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px); }
.hero::after, .page-hero::after { content: ""; position: absolute; right: -6%; top: 50%; width: min(520px, 55vw); aspect-ratio: 1; transform: translateY(-50%); background: url("/assets/logo/armor-coating-icon-mark-white.svg") center/contain no-repeat; opacity: .06; pointer-events: none; z-index: 1; }
.hero__in, .page-hero__in { z-index: 2; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 72px 20px 84px; }
.hero h1 span { color: var(--red); }
.hero .lead { color: #d4d4d8; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 4px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero .checks { color: #e4e4e7; }
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero__in { position: relative; padding: 56px 20px 64px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.page-hero .lead { color: #d4d4d8; max-width: 640px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body.has-dark-hero .crumbs { background: var(--ink); }
body.has-dark-hero .crumbs ol { padding-top: 16px; }
body.has-dark-hero .crumbs a, body.has-dark-hero .crumbs li { color: #a1a1aa; }

/* Quote card */
.quote-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); border-top: 5px solid var(--red); }
.quote-card h2 { font-size: 1.7rem; margin-bottom: 4px; }
.quote-card > p { color: var(--muted); font-size: .95rem; }
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--steel); }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.3 var(--body); padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(237,28,36,.15); }
.form textarea { min-height: 90px; resize: vertical; }
.form .btn { width: 100%; padding: 16px; font-size: 1.1rem; }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
.form__note a { font-weight: 600; }
.form__status { font-size: .95rem; padding: 12px; border-radius: 7px; background: #ecfdf3; color: #066c3a; display: none; }
.form__status.is-error { background: #fef2f2; color: var(--red-d); }
.form__status.is-shown { display: block; }
.hp { position: absolute; left: -9999px; }

/* Trust strip */
.trust { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.trust__item { display: flex; gap: 12px; align-items: center; }
.trust__item strong { display: block; font: 700 1.05rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.trust__item span { font-size: .86rem; color: var(--muted); }
.trust__ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.trust__ic svg { width: 22px; height: 22px; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark .muted { color: #a1a1aa; }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__more { font: 700 .9rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.card--feature { grid-column: span 2; }

/* Photo slots (replace with real job photos) */
.ph { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #2e2e32, #18181a); overflow: hidden; margin: 0; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px); }
.ph::after { content: attr(data-label); position: absolute; left: 14px; bottom: 12px; right: 14px; font: 600 .72rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph--wide { aspect-ratio: 16 / 10; }
.card .ph img { transition: transform .4s ease; }
.card:hover .ph img { transform: scale(1.04); }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--round { border-radius: 14px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip > :first-child { order: 2; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: var(--ink-2); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 800 2.4rem/1 var(--display); color: var(--red); margin-bottom: 14px; }
.step p { color: #a1a1aa; font-size: .95rem; margin: 0; }
.section:not(.section--dark) .step { background: #fff; border-color: var(--line); }
.section:not(.section--dark) .step p { color: var(--muted); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.feature h3 { font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.feature__ic { width: 40px; height: 4px; background: var(--red); margin-bottom: 18px; border-radius: 2px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 18px; font-size: 1.02rem; flex: 1; }
.review blockquote::before { content: "“"; display: block; font: 800 3.4rem/.6 var(--display); color: var(--red); margin-bottom: 8px; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); display: block; font-size: .95rem; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* Area / NAP */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.areas li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; background: #fff; }
.section--dark .areas li { background: transparent; border-color: rgba(255,255,255,.2); }
.nap { display: grid; gap: 16px; }
.nap__row { display: flex; gap: 14px; align-items: flex-start; }
.nap__row svg { color: var(--red); flex: none; margin-top: 4px; }
.nap__row strong { display: block; font: 700 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--bg-alt); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* Prose */
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 700 1.5rem/1 var(--display); color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--steel); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .ph { border-radius: 10px; }

/* CTA band + footer */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(0,0,0,.06) 0 2px, transparent 2px 14px); }
.cta-band__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 20px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; color: rgba(255,255,255,.9); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--ink); color: #d4d4d8; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 64px 20px 40px; }
.site-footer h3 { font-size: 1rem; letter-spacing: .1em; color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__logo { width: 240px; height: auto; margin-bottom: 18px; }
.site-footer .muted { color: #a1a1aa; }
.flist { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 20px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #a1a1aa; }
.mobile-bar { display: none; }

/* Responsive */
.nav__list a { white-space: nowrap; }
@media (max-width: 1300px) { .header-cta .btn--ghost { display: none; } }
@media (max-width: 1100px) {
  .hide-md { display: none !important; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: auto; }
  .card--feature .ph--wide { aspect-ratio: 4 / 3; }
}
@media (max-width: 960px) {
  .hero::before, .page-hero::before { background: linear-gradient(180deg, rgba(36,36,38,.8), rgba(36,36,38,.94)), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px); }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; }
  .nav__toggle span:first-child, .nav__toggle span:first-child::before, .nav__toggle span:first-child::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
  .nav__toggle span:first-child::before { position: absolute; top: -6px; }
  .nav__toggle span:first-child::after { position: absolute; top: 6px; }
  .nav { order: 3; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { padding: 14px 4px; font-size: 1.05rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .has-sub > a::after { display: none; }
  .hero__in, .page-hero__in, .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip > :first-child { order: 0; }
  .trust__in { grid-template-columns: repeat(2, 1fr); }
  .steps, .features, .reviews { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar { display: none; }
  .brand img { height: 40px; }
  .site-header__in { min-height: 64px; gap: 12px; }
  .header-cta .btn { padding: 10px 12px; font-size: .85rem; }
  .section { padding: 60px 0; }
  .hero__in { padding: 44px 16px 56px; }
  .page-hero__in { padding: 36px 16px 44px; }
  .cards, .steps, .features, .reviews, .trust__in, .site-footer__grid { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .form .row { grid-template-columns: 1fr; }
  .quote-card { padding: 22px 18px; }
  .hero__ctas .btn, .page-hero__ctas .btn { flex: 1 1 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: #fff; text-decoration: none; font: 700 .78rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
  .mobile-bar a.is-primary { background: var(--red); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
