/* Elite Coatings Midwest — contractor supplier look.
   Brand: navy #1D3249, red #7D191B, Playfair + Poppins.
   Layout: calm sections, one clear action, spare chrome. */

:root {
  --navy: #1D3249;
  --navy-deep: #0A263B;
  --red: #7D191B;
  --red-dark: #64130F;
  --green: #386A50;
  --slate: #54595F;
  --gray: #6F7680;
  --text: #2B2B2B;
  --body: #464646;
  --muted: #6B6F75;
  --line: #E4E4E4;
  --card: #F6F6F6;
  --alt: #F7F8F9;
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', Arial, sans-serif;
  --wrap: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only, .hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; margin: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.small { font-size: .85rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 46px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 13px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-cta { background: var(--red); border-color: var(--red); color: #fff; }
.btn-cta:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 12px; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #fff; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a, .topbar span { color: rgba(255,255,255,.88); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar-login { opacity: .8; }

/* Header */
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 40;
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
body.nav-open { overflow: hidden; touch-action: none; }
.site-header.is-dense {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(10, 38, 59, .06);
}
.header-in { display: flex; align-items: center; gap: 20px; min-height: 78px; transition: min-height .25s var(--ease); }
.site-header.is-dense .header-in { min-height: 64px; }
.logo img { width: 178px; height: auto; transition: width .25s var(--ease); }
.site-header.is-dense .logo img { width: 150px; }
.nav { display: flex; gap: 2px; margin-left: 4px; }
.nav > a, .nav-item > a {
  display: block; padding: 28px 11px;
  font: 600 13px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.nav > a:hover, .nav-item > a:hover, .nav a[aria-current] { color: var(--red); }
.nav-item { position: relative; }
.mega {
  display: none; position: absolute; left: -24px; top: 100%;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--red);
  box-shadow: 0 16px 40px rgba(10, 38, 59, .1);
  padding: 28px; width: 900px;
  grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.has-menu:hover .mega, .has-menu:focus-within .mega { display: grid; }
.mega a { display: block; font-size: 13px; line-height: 1.35; padding: 4px 0; color: var(--body); text-decoration: none; }
.mega a:hover { color: var(--red); }
.mega-head { display: block; font-weight: 700; color: var(--navy) !important; text-transform: uppercase; letter-spacing: .05em; font-size: 12px !important; margin-bottom: 6px; }
.mega-all { margin-top: 8px; font-weight: 600; color: var(--red) !important; }
.header-search { margin-left: auto; width: 168px; }
.header-search.search-compact .search input { height: 46px; background: #fff; font-size: 16px; padding: 0 12px; }
.header-search.search-compact .search button { width: 46px; height: 46px; }
.header-cta { height: 46px; flex: none; }
.nav-toggle { display: none; }

/* Search */
.search { position: relative; display: flex; align-items: stretch; }
.search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px;
  border: 1px solid #D5D8DC; border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--alt); font: 16px var(--sans); color: var(--text);
  -webkit-appearance: none; appearance: none;
}
.search input[type="search"]::-webkit-search-decoration,
.search input[type="search"]::-webkit-search-cancel-button,
.search input[type="search"]::-webkit-search-results-button { -webkit-appearance: none; }
.search input:focus { outline: 2px solid var(--navy); outline-offset: -2px; background: #fff; }
.search button {
  width: 50px; height: 46px; border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--navy); color: #fff; font-size: 18px; cursor: pointer;
  display: grid; place-items: center;
}
.search button:hover { background: var(--red); }
.search-results {
  position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px 0;
  list-style: none; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(10, 38, 59, .14); z-index: 60;
  max-height: 420px; overflow: auto; min-width: 320px;
}
.search-results li a {
  display: flex; align-items: center; gap: 12px; padding: 8px 14px;
  text-decoration: none; color: var(--text); font-size: 14px; line-height: 1.3;
}
.search-results li a:hover, .search-results li a[aria-selected="true"] { background: var(--alt); color: var(--navy); }
.search-results img { width: 40px; height: 40px; object-fit: contain; background: #fff; }
.search-results .kind { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search-results .all { font-weight: 600; color: var(--red); }

/* Hero — one composition: brand, headline, lead, CTAs */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(10, 38, 59, .88) 0%, rgba(10, 38, 59, .68) 48%, rgba(10, 38, 59, .42) 100%),
    url('/assets/img/site/hero-banner.jpg') center/cover;
  color: #fff; overflow: hidden;
}
.hero-in {
  padding: 92px 28px 88px;
  max-width: 720px;
  margin-left: max(0px, calc((100% - var(--wrap)) / 2));
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  margin-bottom: .4em;
  letter-spacing: -.01em;
}
.hero-lead { font-size: 1.08rem; max-width: 560px; color: #E7EBEF; line-height: 1.65; margin-bottom: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.hero-phone {
  color: #fff; font-weight: 600; text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center;
  margin-left: 4px; font-size: 1.02rem;
}
.hero-phone:hover { color: #fff; text-decoration: underline; }

/* Find band — search + popular, under the hero */
.find-band {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow-x: clip;
}
.find-in {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 28px;
}
.find-band .search { flex: 1; max-width: 420px; min-width: 0; }
.find-band .search input {
  height: 44px; background: rgba(255,255,255,.96); border-color: transparent; font-size: 16px;
}
.find-band .search button { width: 48px; height: 44px; background: var(--red); }
.find-band .quick { margin: 0; flex: 1; justify-content: flex-end; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.quick a {
  color: rgba(255,255,255,.82); text-decoration: none;
  border: 0; border-radius: var(--radius);
  padding: 6px 10px; background: rgba(255,255,255,.08);
  white-space: nowrap;
}
.quick a:hover { background: #fff; color: var(--navy); }

/* Product lines — image-forward tiles */
.lines-section { padding-top: 56px; }
.lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.line {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.line-img {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alt);
}
.line-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .line:hover {
    border-color: #C5CCD4;
    box-shadow: 0 12px 28px rgba(10, 38, 59, .08);
    transform: translateY(-2px);
    color: inherit;
  }
  .line:hover .line-img img { transform: scale(1.04); }
  .line:hover .line-all { text-decoration: underline; }
}
.line-body {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px 18px; flex: 1;
}
.line-name {
  font: 700 15px/1.25 var(--sans); color: var(--navy);
  letter-spacing: .01em;
}
.line-meta {
  font-size: 12.5px; line-height: 1.4; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.line-all {
  margin-top: auto; padding-top: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--red);
}
.line-training { border-color: var(--navy); }
.line-training .line-img { position: relative; }
.line-training .line-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 38, 59, .55), transparent 55%);
}
.line-training .line-body { background: var(--navy); }
.line-training .line-name { color: #fff; }
.line-training .line-meta { color: #B8C4D0; }
.line-training .line-all { color: #F0C9C9; }

@media (prefers-reduced-motion: reduce) {
  .line:hover { transform: none; }
  .line:hover .line-img img { transform: none; }
}

.feature-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.feature-head h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); margin-bottom: .35em; }
.feature-head p:last-child { margin: 0; max-width: 640px; color: var(--body); }
.visit { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; align-items: stretch; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 340px; background: #E9ECEF; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.faq-wrap { max-width: 820px; }
.g-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); text-decoration: none; }
.g-badge:hover { text-decoration: underline; color: var(--navy); }
.g-stars { color: #C8962E; letter-spacing: 1px; }
.g-badge.on-dark { color: #E7EBEF; }
.g-badge.on-dark:hover { color: #fff; }
.reviews-lead { margin: -8px 0 24px; }
.loc-rating { margin: -4px 0 14px; font-size: 13px; }
.kingdom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.kingdom h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.soon-tag { display: inline-block; background: var(--red); color: #fff; padding: 3px 8px; border-radius: var(--radius); margin-right: 8px; letter-spacing: .08em; font-size: 11px; }
.soon { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--red); padding: 1px 5px; border-radius: 2px; margin-left: 4px; }

.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.hero .eyebrow, .section-dark .eyebrow { color: #A9C8B5; }

.page-hero {
  background-size: cover; background-position: center; position: relative; color: #fff;
  min-height: 0;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 38, 59, .86) 0%, rgba(10, 38, 59, .55) 100%);
}
.page-hero .wrap { position: relative; padding-top: 48px; padding-bottom: 48px; }
.page-hero h1 { color: #fff; font-size: clamp(1.85rem, 3.6vw, 2.7rem); max-width: 820px; margin-bottom: .35em; }
.page-hero p { max-width: 640px; color: #E7EBEF; font-size: 1.02rem; margin: 0; line-height: 1.6; }

.crumbs { font-size: 13px; border-bottom: 1px solid var(--line); background: #fff; }
.crumbs .wrap { padding-top: 14px; padding-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 8px; color: #B5B9BE; }
.crumbs span[aria-current] { color: var(--text); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--alt); }
.section-dark { background: var(--navy); color: #DDE3EA; }
.section-dark h2 { color: #fff; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 1px solid #E0E3E7;
}
.section-dark .section-head { border-bottom-color: rgba(255,255,255,.12); }
.section-head h2 {
  font: 700 clamp(1.45rem, 2.4vw, 1.95rem)/1.2 var(--serif);
  letter-spacing: -.01em; text-transform: none; color: var(--navy); margin: 0;
}
.section-dark .section-head h2 { color: #fff; }
.head-link {
  font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); text-decoration: none; white-space: nowrap;
}
.head-link:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.text-link { display: inline-block; margin-top: 14px; font-weight: 600; }
.text-link.light { color: #fff; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid transparent; border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.card-img { display: block; padding: 20px 20px 8px; background: #fff; aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: #D8DEE5;
    box-shadow: 0 10px 28px rgba(10, 38, 59, .07);
  }
  .card:hover .card-img img { transform: scale(1.03); }
}
.card-body { padding: 0 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-brand { font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.card-title { font: 600 14px/1.35 var(--sans); margin: 4px 0 16px; text-transform: none; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--red); }
.card-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.card-more {
  font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.card-more:hover { color: var(--navy); border-bottom-color: var(--navy); }

.carousel { position: relative; }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-btn {
  position: absolute; top: 36%; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  font-size: 22px; display: grid; place-items: center; cursor: pointer; z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: background .15s, color .15s;
}
.car-btn:hover { background: var(--navy); color: #fff; }
.car-btn.prev { left: -18px; }
.car-btn.next { right: -18px; }

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: var(--body);
  display: flex; flex-direction: column; gap: 8px;
}
.cat-tile:hover { border-color: var(--navy); }
.cat-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.cat-name { font: 700 15px/1.3 var(--sans); color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.cat-blurb { font-size: 13px; line-height: 1.5; }
.cat-count { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--red); }
.brand-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.brand-tile {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy);
  padding: 18px 20px; text-decoration: none; color: var(--body); font-size: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.brand-tile strong { font: 700 18px var(--sans); color: var(--navy); letter-spacing: .04em; }
.brand-tile:hover { border-left-color: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  display: inline-block; padding: 8px 14px; border: 1px solid #CFD3D8; border-radius: var(--radius);
  background: #fff; font: 500 13px var(--sans); color: var(--text); text-decoration: none; cursor: pointer;
}
.chip:hover, .chip.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.filter-bar { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; margin-bottom: 12px; }
.filter-bar .chips { margin: 6px 0 0; }
.group { margin-bottom: 56px; scroll-margin-top: 100px; }

/* Forms */
.offer-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.offer-in h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.checks svg { color: var(--green); font-size: 20px; margin-top: 3px; }
.checks.light li { color: #E7EBEF; }
.checks.light svg { color: #A9C8B5; }

.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: none;
}
.lead-form-flat { border-top: 3px solid var(--red); }
.form-title { font: 700 1.3rem/1.2 var(--serif); color: var(--navy); margin-bottom: 4px; }
.form-note { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.lead-form label { display: block; font: 600 13px/1.3 var(--sans); color: var(--text); margin-bottom: 12px; }
.lead-form input, .lead-form select, .lead-form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 12px;
  border: 1px solid #CDD1D6; border-radius: var(--radius);
  font: 400 16px/1.4 var(--sans); color: var(--text); background: #fff;
  -webkit-appearance: none; appearance: none;
}
.lead-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231D3249' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy);
}
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req { color: var(--red); margin-left: 2px; }
.form-alt { text-align: center; margin: 12px 0 0; font-size: 14px; }
.form-alt a { font-weight: 600; }
.form-login { font-size: 13px; color: var(--muted); margin: 8px 0 0; text-align: center; }
.lead-form .form-error { color: var(--red); font-size: 13px; margin: -4px 0 10px; }

.inline-signup { display: flex; gap: 0; margin: 22px 0 6px; max-width: 520px; }
.inline-signup input { flex: 1; min-width: 0; padding: 0 14px; height: 48px; border: 0; border-radius: var(--radius) 0 0 var(--radius); font: 16px var(--sans); -webkit-appearance: none; appearance: none; }
.inline-signup .btn { border-radius: 0 var(--radius) var(--radius) 0; height: 48px; }

/* Why, reviews, FAQ, location */
.why { display: grid; gap: 12px; }
.why-4 { grid-template-columns: repeat(4, 1fr); }
.why-item {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green);
  padding: 16px 18px; border-radius: var(--radius);
}
.why-item h3 { margin: 0 0 4px; color: var(--text); }
.why-item p { margin: 0; font-size: 14px; }
.since { margin-top: 18px; font-weight: 600; color: var(--navy); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews-3 { grid-template-columns: repeat(3, 1fr); }
.review {
  margin: 0; background: transparent; border: 0; border-top: 2px solid var(--navy);
  padding: 18px 0 0; display: flex; flex-direction: column;
}
.section-alt .review { border-top-color: var(--navy); }
.stars { color: #C8962E; letter-spacing: 2px; margin-bottom: 8px; font-size: 13px; }
.review blockquote {
  margin: 0 0 14px; font-size: 15px; line-height: 1.6;
  font-family: var(--serif); color: var(--text); quotes: none;
}
.review figcaption { margin-top: auto; font-weight: 600; color: var(--navy); font-size: 13px; letter-spacing: .02em; }
.faq details { border-bottom: 1px solid #E0E3E7; padding: 16px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--text); list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 10px 0 0; font-size: 15px; }
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; max-width: 420px;
}
.loc-card h3 { font: 700 20px var(--sans); text-transform: uppercase; color: var(--text); margin: 0 0 6px; }
.loc-card h3 span { font-weight: 500; color: var(--muted); font-size: 15px; }
.loc-sub { font-size: 13px; color: var(--muted); }
.loc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.installer-inline {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.installer-inline h3 { font: 700 1.15rem var(--serif); color: var(--navy); margin: 0 0 6px; }
.installer-inline p { margin: 0 0 14px; font-size: 14px; max-width: 380px; }

.installer { padding: 40px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.installer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.installer h2 { font-size: 1.5rem; margin-bottom: 6px; }
.installer p { margin: 0; max-width: 760px; }

.cta-band { background: var(--navy); color: #DDE3EA; padding: 48px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band h2 { color: #fff; font-size: 1.65rem; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product page */
.product { padding-top: 36px; }
.product-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-main {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; background: #fff; aspect-ratio: 1;
}
.product-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button {
  width: 72px; height: 72px; padding: 4px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; border-radius: var(--radius);
}
.thumbs button.is-on { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-brand { font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.product-info h1 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); margin: 6px 0 4px; }
.product-cat { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.product-summary { font-size: 1.02rem; }
.options { margin: 0 0 20px; border-top: 1px solid var(--line); }
.options div {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.options dt { font-weight: 600; color: var(--text); }
.options dd { margin: 0; }
.price-box {
  background: var(--alt); border: 1px solid transparent; border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
}
.price-label { font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.price-value { font: 700 1.2rem var(--serif); color: var(--navy); margin: 2px 0 14px; }
.price-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-box .form-login { text-align: left; }
.assurances { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.assurances li { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.assurances svg { color: var(--green); font-size: 18px; }
.product-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.detail-copy h3 { margin-top: 26px; }
.bullets { padding-left: 20px; }
.bullets li { margin-bottom: 6px; }
.opt-list { font-size: 14px; }
.detail-form { position: sticky; top: 100px; scroll-margin-top: 100px; }

/* Training, misc */
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.course { background: var(--navy); color: #DDE3EA; padding: 28px; border-radius: var(--radius); }
.course h3 { color: #fff; font: 700 1.25rem var(--serif); }
.course-num { font: 700 12px var(--sans); letter-spacing: .12em; color: #A9C8B5; }
.topics-title { margin-top: 36px; }
.topics { columns: 3; padding-left: 20px; }
.topics li { margin-bottom: 6px; }
.pull { border-left: 3px solid var(--red); margin: 18px 0 0; padding: 6px 0 6px 18px; font: 600 1.15rem/1.5 var(--serif); color: var(--navy); }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 1.05rem; }
.contact-list svg { color: var(--red); font-size: 20px; }
.gallery { columns: 3; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: var(--radius); }
.thanks { text-align: center; max-width: 640px; padding: 40px 0; }
.thanks .search { margin-top: 20px; text-align: left; }
.search-summary { margin: 18px 0; color: var(--muted); }
.search-empty { text-align: center; padding: 24px 0; }

/* Pricing dialog */
.pricing-dialog {
  border: 0; padding: 0; width: min(560px, calc(100% - 24px));
  max-height: min(90dvh, calc(100% - 24px));
  overflow: auto; -webkit-overflow-scrolling: touch;
  background: transparent; margin: auto;
}
.pricing-dialog::backdrop { background: rgba(10, 38, 59, .55); }
.pricing-dialog .lead-form {
  position: relative;
  box-shadow: 0 20px 50px rgba(10, 38, 59, .2);
}
.dialog-close {
  position: absolute; right: 12px; top: 14px; border: 0; background: none;
  font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; z-index: 2;
}

/* Newsletter + footer */
.signup-band { background: var(--navy-deep); color: #fff; }
.signup-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.signup-text { margin: 0; }
.signup-form { display: flex; min-width: 400px; }
.signup-form input {
  flex: 1; height: 46px; padding: 0 14px; border: 0;
  border-radius: var(--radius) 0 0 var(--radius); font: 16px var(--sans);
  -webkit-appearance: none; appearance: none;
}
.signup-form .btn { border-radius: 0 var(--radius) var(--radius) 0; height: 46px; }
.site-footer { background: #121F30; color: #A8B2BD; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.site-footer img { width: 170px; margin-bottom: 14px; }
.site-footer h2 { font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer a { display: block; color: #A8B2BD; text-decoration: none; margin-bottom: 7px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 8px; }
.site-footer .btn { display: inline-flex; margin-top: 10px; color: #fff; }
.footer-social a { display: inline; margin-right: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.footer-bottom .wrap { padding-top: 16px; padding-bottom: 16px; }
.mobile-bar { display: none; }

/* Motion */
.hero-in > * {
  animation: heroIn .7s var(--ease) both;
}
.hero-in > *:nth-child(1) { animation-delay: .05s; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .18s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; }
.hero-in > *:nth-child(5) { animation-delay: .3s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-in > * { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 1180px) {
  .header-search { width: 140px; }
  .nav > a, .nav-item > a { padding-left: 8px; padding-right: 8px; font-size: 12px; }
  .mega { width: 740px; grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .find-in { flex-wrap: wrap; gap: 12px; }
  .find-band .search { max-width: none; flex: 1 1 100%; }
  .find-band .quick { justify-content: flex-start; flex: 1 1 100%; }
  .car-track { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (max-width: 1024px) {
  .header-in { flex-wrap: wrap; gap: 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .site-header.is-dense .header-in { min-height: 0; }
  .site-header.is-dense .logo img { width: 150px; }
  .logo img { width: 150px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; padding: 10px 14px;
    border: 1px solid var(--navy); border-radius: var(--radius); background: #fff;
    color: var(--navy); font: 600 13px var(--sans); text-transform: uppercase;
    letter-spacing: .06em; cursor: pointer; height: 42px; align-items: center;
  }
  .header-cta { display: none; }
  .nav {
    display: none; order: 4; width: 100%; flex-direction: column; margin: 0; gap: 0;
    border-top: 1px solid var(--line);
    max-height: min(70dvh, calc(100dvh - 120px));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav-item > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .mega { display: none !important; }
  .header-search { order: 3; width: 100%; margin: 0; }
  .split, .offer-in, .product-in, .product-details, .kingdom { grid-template-columns: 1fr; gap: 32px; }
  .detail-form { position: static; }
  .reviews, .reviews-3 { grid-template-columns: 1fr 1fr; }
  .why-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .signup-in { flex-direction: column; align-items: stretch; }
  .signup-form { min-width: 0; }
  .filter-bar { grid-template-columns: 1fr; }
  .cta-in, .installer-in, .feature-head { flex-direction: column; align-items: flex-start; }
  .visit { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  /* Avoid Safari auto-zoom on focus */
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .wrap { padding: 0 16px; }
  .topbar {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .topbar-loc, .hide-sm { display: none !important; }
  .topbar-right { width: 100%; justify-content: space-between; gap: 10px; }
  .section { padding: 44px 0; }

  /* Stronger wash so white type stays readable on the warehouse banner */
  .hero {
    background:
      linear-gradient(105deg, rgba(10, 38, 59, .92) 0%, rgba(10, 38, 59, .8) 55%, rgba(10, 38, 59, .58) 100%),
      url('/assets/img/site/hero-banner.jpg') center/cover;
  }
  .hero-in { padding: 36px 16px 32px; max-width: none; margin-left: 0; }
  .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2.15rem); margin-bottom: .35em; }
  .hero-lead { font-size: .98rem; line-height: 1.55; margin-bottom: 1.1em; }
  .hero-actions {
    flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 12px;
  }
  .hero-actions .btn { flex: none; width: 100%; }
  .hero-phone { margin: 2px 0 0; justify-content: center; }
  .hero-badge { display: none; }

  /* One search on phone: home uses find-band, shop uses filter search */
  .header-search { display: none !important; }

  .find-in { padding: 14px 16px; gap: 10px; flex-direction: column; align-items: stretch; }
  .find-band .search { flex: none; width: 100%; max-width: none; }
  .find-band .search input { height: 48px; }
  .find-band .search button { height: 48px; width: 52px; }
  .find-band .quick {
    flex: none; flex-wrap: nowrap; overflow-x: auto; gap: 6px;
    margin: 0 -16px; padding: 0 16px 2px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .find-band .quick::-webkit-scrollbar { display: none; }
  .quick a { padding: 8px 12px; font-size: 12.5px; }
  .search-results {
    min-width: 0;
    max-height: min(42dvh, 320px);
  }

  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .car-track { grid-auto-columns: 78%; gap: 12px; }
  .car-btn { display: none; }
  .card-img { padding: 12px 12px 4px; }
  .card-body { padding: 0 12px 14px; }
  .card-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .card-more { text-align: center; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .lines-section { padding-top: 36px; padding-bottom: 36px; }
  .lines-section .section-head {
    flex-direction: row; align-items: baseline; gap: 12px;
    margin-bottom: 16px; padding-bottom: 10px;
  }
  .lines {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  /* Stack line tiles — side-by-side text column is too cramped on real phones */
  .line {
    display: flex;
    flex-direction: column;
  }
  .line-img { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .line-body {
    padding: 14px 16px 16px; gap: 4px; justify-content: flex-start;
  }
  .line-name { font-size: 16px; }
  .line-meta { font-size: 13px; -webkit-line-clamp: 2; }
  .line-all { padding-top: 8px; font-size: 12px; }

  .cat-blurb { display: none; }
  .brand-row, .reviews, .reviews-3, .course-grid, .why-4 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lead-form { padding: 20px; }
  .lead-form .row2 { grid-template-columns: 1fr; gap: 0; }
  .price-actions { grid-template-columns: 1fr; }
  .options div { grid-template-columns: 1fr; gap: 2px; }
  .topics, .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .signup-form .btn { padding-left: 16px; padding-right: 16px; }
  .page-hero .wrap { padding-top: 28px; padding-bottom: 28px; }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .page-hero p { font-size: .95rem; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 14px rgba(0,0,0,.08); z-index: 50;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .mobile-bar.is-away {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .mobile-bar .btn { height: 44px; }
  .map { min-height: 260px; }
  .map iframe { min-height: 260px; pointer-events: none; }
  .map.is-active iframe { pointer-events: auto; }
}

/* Instructor */
.split-top { align-items: start; }
.instructor { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start; }
.instructor-badge {
  width: 88px; height: 88px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font: 700 1.6rem/1 var(--serif); letter-spacing: .02em;
}
.instructor-name { font: 700 1.5rem/1.2 var(--serif); margin-bottom: .4em; }
.instructor .eyebrow { margin-bottom: .2em; }
.instructor + .instructor { margin-top: 24px; }
@media (max-width: 600px) {
  .instructor { grid-template-columns: 64px 1fr; gap: 16px; }
  .instructor-badge { width: 64px; height: 64px; font-size: 1.2rem; }
}
:not(.reviews) > .review + .review { margin-top: 18px; }

/* Product extras */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 18px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 14px 44px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font: 600 14px/1 var(--sans);
}
.spec-table { margin: 0 0 14px; border-top: 1px solid var(--line); background: #fff; }
.spec-table div {
  display: grid; grid-template-columns: 150px 1fr; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.spec-table dt { font-weight: 600; color: var(--text); }
.spec-table dd { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-soon {
  aspect-ratio: auto; display: grid; grid-template-columns: 140px 1fr; gap: 20px;
  align-items: center; padding: 20px; color: #DDE3EA;
}
.video-soon img { background: #fff; border-radius: var(--radius); }
.video-soon a { color: #fff; }
.video-soon .eyebrow { color: #A9C8B5; }
@media (max-width: 600px) {
  .spec-table div { grid-template-columns: 1fr; gap: 2px; }
  .video-soon { grid-template-columns: 90px 1fr; }
}
