/* Independent Auto Body theme stylesheet. No third-party CSS dependencies. */

/* Locally hosted retro lettering inspired by classic automotive badges. */
@font-face {
    font-family: 'Lobster';
    src: url('fonts/Lobster-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* Base and shared elements */
:root {
    --blue: #1765b5;
    --blue-dark: #104c8a;
    --ink: #172c42;
    --muted: #576575;
    --pale: #f3f6f9;
    --line: #dce3ea;
    --white: #ffffff;
    --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 3px solid #e8a327; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0 0 1.1rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { color: var(--muted); }
ul { padding-left: 1.3rem; }
.container { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.section { padding: 88px 0; }
.pale { background: var(--pale); }
.small { font-size: .875rem; }
.eyebrow { display: block; color: var(--blue); font-size: .875rem; font-weight: 700; letter-spacing: .15em; margin-bottom: 18px; }
.lead { font-size: 1.2rem; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 25px; border: 2px solid var(--blue); border-radius: 3px; background: var(--blue); color: var(--white); font-weight: 700; line-height: 1.35; text-align: center; transition: background .2s; }
.button:hover { color: var(--white); background: var(--blue-dark); border-color: var(--blue-dark); }
.button-outline { background: transparent; color: var(--blue); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.skip-link { position: fixed; left: 18px; top: -100px; padding: 12px 20px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Announcement and header */
.announcement { color: white; background: var(--blue); font-size: .875rem; }
.announcement-inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; padding-block: 10px; padding-right: 34px; }
.announcement p { margin: 0; color: white; }
.announcement a { color: white; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dismiss { position: absolute; right: 0; top: 0; height: 100%; min-width: 40px; padding: 0; border: 0; background: transparent; color: white; font-size: 1.6rem; }
.site-header { background: white; position: relative; z-index: 10; }
.contact-bar { border-bottom: 1px solid var(--line); font-size: .875rem; }
.contact-bar-inner { display: flex; gap: 26px; padding-block: 10px; }
.demo-label { margin-left: auto; color: var(--muted); }
.navigation { display: flex; align-items: center; gap: 32px; min-height: 100px; }
.brand { flex-shrink: 0; }
.brand img { width: 210px; }
#primary-navigation { margin-left: auto; }
.nav-list, .submenu { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 25px; font-size: .9375rem; font-weight: 700; }
.nav-list a, .menu-toggle { font-family: 'Lobster', 'Brush Script MT', cursive; font-size: 1.375rem; font-weight: 400; line-height: 1.4; }
.nav-list > li > a, .services-nav-heading { padding-block: 30px; }
.nav-list a[aria-current="page"] { color: var(--blue); }
.nav-services { position: relative; }
.services-nav-heading { display: flex; align-items: center; gap: 6px; }
.submenu-toggle { border: 0; background: none; width: 27px; height: 30px; font-size: 1.2rem; padding: 0; }
.submenu { display: none; position: absolute; top: 100%; left: -20px; width: 285px; padding: 12px; background: white; box-shadow: 0 10px 35px #172c4220; border-top: 3px solid var(--blue); }
.submenu a { display: block; padding: 9px 12px; font-size: 1.125rem; font-weight: 400; }
.submenu a:hover { background: var(--pale); }
.nav-services.open .submenu { display: block; }
html:not(.js) .nav-services:hover .submenu, html:not(.js) .nav-services:focus-within .submenu { display: block; }
.header-call { border-left: 1px solid var(--line); padding-left: 25px; white-space: nowrap; }
.header-call span { display: block; font-size: .75rem; letter-spacing: .03em; color: var(--muted); }
.header-call a { font-weight: 700; font-size: 1.2rem; }
.menu-toggle { display: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 3px; background: white; }

/* Homepage hero and introduction */
.hero { position: relative; isolation: isolate; background: #0b1b2b; color: white; overflow: hidden; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 24%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b1b2b 3%, #0b1b2bf5 28%, #0b1b2bb8 44%, #0b1b2b14 74%), linear-gradient(0deg, #0b1b2bdd, transparent 45%); pointer-events: none; }
.hero-inner { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-block: 66px 54px; }
.hero-copy { max-width: 610px; }
.hero-copy .eyebrow { color: #9bcaff; display: flex; align-items: center; gap: 14px; font-size: .875rem; letter-spacing: .13em; margin-bottom: 24px; }
.hero-copy .eyebrow::before { content: ""; width: 32px; height: 2px; background: #6db5ff; flex-shrink: 0; }
.hero-copy h1 { font-size: clamp(3.5rem, 5.8vw, 5.25rem); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 26px; }
.hero-line { display: block; }
.hero-accent { color: #9bcaff; }
.hero-description { color: #dde6ef; font-size: 1.125rem; line-height: 1.65; max-width: 420px; }
.hero-copy .button-row { margin-top: 30px; gap: 14px; }
.hero-copy .button { padding: 16px 24px; background: #2475c5; border-color: #2475c5; box-shadow: 0 6px 24px #0000001a; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.hero-copy .button:hover { background: #195c9f; border-color: #195c9f; transform: translateY(-3px); box-shadow: 0 10px 28px #00000035; }
.hero-copy .button-outline { background: #0b1b2b65; color: white; border-color: #ffffff70; box-shadow: none; }
.hero-copy .button-outline:hover { background: #ffffff16; border-color: white; }
.hero-copy .hero-note { margin: 20px 0 0; color: #b6c7d7; font-size: .875rem; }
.hero-caption { padding-left: 18px; border-left: 2px solid #9bcaff; margin-bottom: 6px; text-shadow: 0 2px 12px #000; }
.hero-caption span { display: block; font-size: .75rem; letter-spacing: .13em; color: #dce8f4; }
.hero-caption strong { display: block; font-size: 1.4rem; letter-spacing: -.025em; margin-top: 4px; }
.hero-services { position: relative; background: #0b1b2bd9; border-top: 1px solid #ffffff24; }
.hero-services > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.hero-services-label { font-size: .75rem; letter-spacing: .13em; color: #b6c7d7; }
.hero-services nav { display: flex; flex-wrap: wrap; gap: 18px 40px; }
.hero-services a { color: #eef5fc; font-size: .9375rem; text-underline-offset: 5px; }
.hero-services a:hover { color: #9bcaff; text-decoration: underline; }

/* Short, one-time entrances: all content stays visible without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
    .hero-photo img { animation: hero-photo-settle 1.8s cubic-bezier(.2,.65,.3,1) both; }
    .hero-copy .eyebrow, .hero-line, .hero-description, .hero-copy .button-row, .hero-note, .hero-caption, .hero-services { animation: hero-rise .75s cubic-bezier(.16,1,.3,1) both; }
    .hero-copy .eyebrow { animation-delay: .08s; }
    .hero-line:nth-child(1) { animation-delay: .16s; }
    .hero-line:nth-child(2) { animation-delay: .26s; }
    .hero-line:nth-child(3) { animation-delay: .36s; }
    .hero-description { animation-delay: .46s; }
    .hero-copy .button-row { animation-delay: .56s; }
    .hero-note { animation-delay: .66s; }
    .hero-caption, .hero-services { animation-delay: .76s; }
    .hero:focus-within .hero-copy .button-row, .hero:focus-within .hero-services { animation: none; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-photo-settle { from { transform: scale(1.07); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.intro-banner { border-bottom: 1px solid var(--line); padding: 32px 0; }
.intro-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.intro-banner h2 { color: var(--blue); font-size: 1.6rem; margin-bottom: 6px; }
.intro-banner p { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split > div > p:not(.eyebrow) { max-width: 520px; }
.split .button { margin-top: 12px; }
.split figure img { aspect-ratio: 1.35; object-fit: cover; border-radius: 3px; }
/* Beveled metal surround with blue automotive trim. */
.shop-photo-frame {
    position: relative;
    width: min(100%, 469px);
    padding: 12px;
    border: 1px solid #8c9cab;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5f8fb 0%, #aebdca 18%, #263d53 43%, #10263b 59%, #9cabb9 83%, #e7eef4 100%);
    box-shadow: 0 18px 32px -18px #102c4980, inset 0 0 0 2px #ffffff85, inset 0 0 0 5px #172c4230;
}
.shop-photo-frame::before, .shop-photo-frame::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    border: solid var(--blue);
    pointer-events: none;
}
.shop-photo-frame::before { top: -1px; left: -1px; border-width: 4px 0 0 4px; border-radius: 10px 0 0; }
.shop-photo-frame::after { right: -1px; bottom: -1px; border-width: 0 4px 4px 0; border-radius: 0 0 10px; }
.split .shop-photo-frame img { width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px #0b1b2b, 0 0 0 3px #ffffff65; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.benefit-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.benefit-grid > div { border-top: 1px solid var(--line); padding-top: 24px; }
.benefit-grid p { margin-bottom: 0; }
.benefit-image { width: 100%; height: 240px; object-fit: contain; margin: 0 auto 24px; padding: 12px; border-radius: 18px; background: radial-gradient(ellipse at center, #e8f2ff 0%, #f5f9fd 52%, #fff 76%); filter: drop-shadow(0 10px 8px #172c4212); }
.vehicle-band { background: var(--ink); color: white; padding: 42px 0; }
.vehicle-band .container { display: flex; align-items: center; gap: 50px; }
.vehicle-band h2 { font-size: 1.6rem; margin: 0; max-width: 300px; }
.vehicle-band ul { display: flex; justify-content: space-between; flex: 1; list-style: none; padding: 0; gap: 25px; margin: 0; font-size: 1.1rem; color: #d9e6f3; }

/* Services and galleries */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 300px; margin-bottom: 0; }
.service-showcase { background: #0b1b2b; color: white; padding-block: 96px 64px; }
.service-showcase .section-heading { margin-bottom: 38px; align-items: center; }
.service-showcase .eyebrow { color: #9bcaff; font-size: .875rem; letter-spacing: .12em; }
.service-showcase h2 { font-size: clamp(2.8rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.05em; }
.service-showcase h2 em { font-style: normal; color: #9bcaff; }
.service-showcase .section-heading > p { max-width: 330px; color: #b6c7d7; font-size: 1.0625rem; border-left: 2px solid #4e7397; padding-left: 24px; }
.service-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid #ffffff26; }
.service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.service-filter { padding: 11px 18px; border: 1px solid #ffffff30; border-radius: 30px; color: #d6e2ef; background: transparent; font-size: .875rem; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.service-filter:hover { background: #ffffff12; border-color: #9bcaff; color: white; }
.service-filter[aria-pressed="true"] { background: #d6eaff; border-color: #d6eaff; color: #102c49; }
.service-count { color: #b6c7d7; font-size: .875rem; white-space: nowrap; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.service-card { position: relative; isolation: isolate; grid-column: span 2; min-width: 0; background: #172c42; border: 1px solid #ffffff24; border-radius: 8px; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.service-card:nth-child(-n+2) { grid-column: span 3; }
.service-card > a { display: flex; align-items: end; position: relative; min-height: 390px; height: 100%; color: white; }
.service-card:nth-child(-n+2) > a { min-height: 460px; }
.service-card > a::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #06132140 0%, #06132100 30%, #061321bf 60%, #061321fa 100%); }
.service-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.service-category { position: absolute; top: 22px; left: 24px; padding: 6px 12px; border: 1px solid #ffffff50; border-radius: 4px; background: #081827cc; color: #f0f6fc; font-size: .8125rem; letter-spacing: .025em; }
.service-card-copy { width: 100%; padding: 28px; }
.service-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.035em; margin-bottom: 10px; text-wrap: balance; }
.service-card:nth-child(-n+2) h3 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); }
.service-card p { color: #d1dfec; font-size: 1rem; line-height: 1.5; max-width: 340px; margin-bottom: 24px; }
.service-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 17px; border-top: 1px solid #ffffff40; font-size: .875rem; font-weight: 700; }
.service-card-link > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff60; border-radius: 50%; font-size: 1.3rem; font-weight: 400; line-height: 1; transition: background .2s, color .2s; }
.service-card:focus-within { outline: 3px solid #e8a327; outline-offset: 4px; }
.service-card > a:focus-visible { outline: none; }
.service-card:focus-within .service-card-link > span { background: #d6eaff; color: #102c49; }
@media (prefers-reduced-motion: no-preference) {
    .service-card-copy { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
    .service-card:focus-within .service-card-copy { transform: translateY(-5px); }
    .service-card:focus-within img { transform: scale(1.055); }
}
@media (hover: hover) {
    .service-card:hover { border-color: #9bcaff; transform: translateY(-4px); box-shadow: 0 16px 35px #00000040; }
    .service-card:hover img { transform: scale(1.055); }
    .service-card:hover .service-card-link > span { background: #d6eaff; border-color: #d6eaff; color: #102c49; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .service-card:hover .service-card-copy { transform: translateY(-5px); }
}
.service-gallery.is-filtered .service-card { grid-column: span 2; }
.service-gallery.is-filtered .service-card > a { min-height: 390px; }
.service-gallery.is-filtered .service-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.service-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #ffffff26; }
.service-gallery-footer p { margin: 0; color: white; font-size: 1rem; }
.service-gallery-footer p span { color: #b6c7d7; }
.service-gallery-footer > a { color: #b0d6ff; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; white-space: nowrap; }
.service-gallery-footer > a:hover { color: white; }
@media (max-width: 1150px) {
    .service-showcase .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-showcase .service-gallery .service-card { grid-column: span 1; }
    .service-showcase .service-card > a { min-height: 410px; }
    .service-showcase .service-card h3 { font-size: 1.75rem; }
}
@media (max-width: 800px) {
    .service-showcase .section-heading { align-items: start; }
    .service-showcase .section-heading > p { max-width: 420px; }
    .service-toolbar { align-items: start; flex-direction: column; gap: 16px; }
    .service-card-copy { padding: 24px; }
    .service-gallery-footer { align-items: start; flex-direction: column; gap: 16px; }
    .service-gallery-footer p span { display: block; margin-top: 4px; }
}
@media (max-width: 600px) {
    .service-showcase .service-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .service-showcase .service-card > a { min-height: 410px; }
    .service-filter { padding: 10px 14px; }
    .service-showcase .section-heading { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .service-card:hover, .service-card:hover img { transform: none; }
}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; margin-bottom: 22px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; }
.reviews { text-align: center; }
.reviews blockquote { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; margin: 36px auto 22px; max-width: 700px; color: var(--muted); }
.cta { background: var(--blue); color: white; padding: 55px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta .eyebrow { color: #dceaff; }
.cta h2 { margin: 0; font-size: 2.4rem; }
.cta .button { color: var(--blue); background: white; border-color: white; white-space: nowrap; }
.faq-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; align-items: start; }
.faq-list { margin-top: 32px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 22px 30px 22px 0; font-weight: 700; }
details p { padding: 0 20px 16px 0; }
.approach { background: var(--pale); padding: 35px; border-top: 4px solid var(--blue); }
.approach h3 { font-size: 1.5rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* Inner pages */
.title-band { background: var(--pale); padding: 55px 0; border-bottom: 1px solid var(--line); }
.title-band .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.title-band h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.title-band nav { font-size: .875rem; text-align: right; flex: 0 0 220px; color: var(--muted); }
.title-band nav a { text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: 300px 1fr; gap: 65px; align-items: start; }
.service-sidebar { border: 1px solid var(--line); padding: 28px; }
.service-sidebar h2 { font-size: 1.5rem; }
.service-sidebar ul { list-style: none; padding: 0; margin: 0; }
.service-sidebar li { border-bottom: 1px solid var(--line); }
.service-sidebar a:not(.button) { display: block; padding: 12px 0; font-size: .9375rem; }
.service-sidebar a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.sidebar-help { margin-top: 32px; }
.sidebar-help .button { padding: 12px; font-size: .9375rem; }
.service-photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 30px 0; }
.service-photo-pair img { width: 100%; height: auto; border-radius: 3px; }
.service-article h3 { margin-top: 32px; font-size: 1.5rem; }
.check-list { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 25px; }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 10px; }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: .9fr 1.2fr; gap: 90px; }
.contact-details { margin-top: 30px; }
.contact-details dt { color: var(--muted); font-size: .875rem; margin-top: 22px; }
.contact-details dd { margin: 5px 0 0; font-size: 1.1rem; }
form { background: var(--pale); padding: 36px; border: 1px solid var(--line); }
form h2 { font-size: 1.8rem; }
label { display: block; font-size: .9375rem; font-weight: 700; margin: 18px 0 8px; }
input, select, textarea { width: 100%; background: white; color: var(--ink); border: 1px solid #a7b4c2; border-radius: 2px; padding: 12px; }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form .button { margin-top: 22px; }
.form-status { margin-top: 20px; margin-bottom: 0; color: var(--blue-dark); }
.location-panel { padding: 70px 0; text-align: center; background: repeating-linear-gradient(45deg, #eef2f6, #eef2f6 30px, #f7f9fb 30px, #f7f9fb 32px); }
.location-panel p:last-child { margin-bottom: 0; }

/* Merchandise */
.catalog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 35px 0; }
.filter { padding: 9px 18px; background: white; border: 1px solid var(--line); border-radius: 3px; }
.filter.active { background: var(--blue); color: white; border-color: var(--blue); }
#product-count { margin-left: auto; color: var(--muted); font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { border: 1px solid var(--line); }
.product-card > img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center; background: #f0f3f6; }
.product-card > div { padding: 22px; }
.product-card .eyebrow { margin-bottom: 12px; }
.product-card p { font-size: .9375rem; }

/* Footer */
.site-footer { background: #13273b; color: #fff; }
.site-footer a:hover { color: #9bcaff; }
.site-footer p { color: #c0cbd6; }
.footer-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 45px; border-bottom: 1px solid #ffffff26; }
.footer-contact h2 { font-size: 1.7rem; margin-bottom: 0; }
.footer-contact .eyebrow { color: #95c6fa; margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr .9fr; gap: 35px; padding-block: 60px; }
.footer-grid h3 { font-size: 1.1rem; margin-bottom: 24px; }
.footer-grid > div > a { display: block; font-size: .9375rem; margin-bottom: 6px; }
.footer-grid > div > a > img { width: 220px; height: auto; margin-bottom: 22px; padding: 12px; background: #fff; border-radius: 6px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; font-size: .875rem; color: #d2dce6; }
.hours { font-size: .9375rem; color: #c0cbd6; }
.hours dt { margin-top: 13px; }
.hours dd { margin: 0; color: white; }
.footer-base { background: #0d1e2e; }
.footer-base .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; }
.footer-base p { font-size: .875rem; margin: 0; }

/* Responsive layouts: source and visual section order remain the same. */
@media (max-width: 1150px) {
    .header-call { display: none; }
    .service-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-caption { max-width: 230px; }
    .detail-layout { gap: 40px; grid-template-columns: 260px 1fr; }
}

@media (max-width: 800px) {
    .container { width: min(calc(100% - 40px), var(--content)); }
    .section { padding: 60px 0; }
    .demo-label { display: none; }
    .contact-bar-inner { justify-content: space-between; gap: 15px; font-size: .8rem; }
    .navigation { flex-wrap: wrap; min-height: 86px; gap: 0; padding-block: 12px; }
    .brand img { width: 185px; }
    .menu-toggle { margin-left: auto; }
    html.js .menu-toggle { display: block; }
    #primary-navigation { width: 100%; margin: 0; }
    html.js #primary-navigation:not(.open) { display: none; }
    .nav-list { display: block; padding: 18px 0 10px; }
    .nav-list > li { border-top: 1px solid var(--line); }
    .nav-list > li > a, .services-nav-heading { display: flex; padding: 12px 4px; }
    .services-nav-heading { justify-content: space-between; }
    .submenu { position: static; width: 100%; box-shadow: none; border: 0; background: var(--pale); }
    .hero-photo { left: 0; }
    .hero::after { background: linear-gradient(90deg, #0b1b2bf5, #0b1b2bce 42%, #0b1b2b40), linear-gradient(0deg, #0b1b2b, transparent 60%); }
    .hero-inner { padding-block: 55px 44px; }
    .hero-copy { max-width: 520px; }
    .hero-copy h1 { font-size: clamp(3.4rem, 8vw, 4.4rem); }
    .hero-caption { display: none; }
    .hero-services > .container { align-items: start; flex-direction: column; gap: 12px; }
    .hero-services nav { gap: 12px 28px; }
    .split, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
    .split figure { max-width: 650px; }
    .benefit-grid { gap: 25px; margin-top: 35px; }
    .vehicle-band .container { display: block; }
    .vehicle-band h2 { max-width: none; margin-bottom: 25px; }
    .section-heading, .intro-banner .container { align-items: start; flex-direction: column; }
    .section-heading > p { max-width: none; }
    .cta h2 { font-size: 2rem; }
    .gallery { gap: 15px; }
    .gallery img { height: 180px; }
    .title-band .container { display: block; }
    .title-band nav { text-align: left; margin-top: 20px; }
    .detail-layout { grid-template-columns: 1fr; }
    .service-sidebar ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
    .sidebar-help { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-base .container { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
    .announcement-inner { justify-content: start; flex-wrap: wrap; gap: 0 12px; }
    .announcement p { max-width: 250px; }
    .contact-bar-inner { flex-wrap: wrap; gap: 0 18px; }
    .hero-photo { inset: auto 0 0; height: 390px; }
    .hero-photo img { object-position: 76% center; }
    .hero::after { background: linear-gradient(180deg, #0b1b2b 0%, #0b1b2b 44%, #0b1b2bce 64%, #0b1b2b20 85%, #0b1b2b70); }
    .hero-inner { padding-block: 40px 180px; }
    .hero-copy .eyebrow { font-size: .75rem; letter-spacing: .09em; gap: 10px; }
    .hero-copy .eyebrow::before { width: 20px; }
    .hero-copy h1 { font-size: clamp(2.8rem, 11.5vw, 3.75rem); }
    .hero-description { font-size: 1rem; }
    .hero-copy .button-row { gap: 12px; flex-direction: column; align-items: stretch; }
    .hero-copy .button { font-size: 1rem; padding: 14px 18px; }
    .hero-copy .hero-note { max-width: 270px; }
    .hero-services > .container { padding-block: 20px; }
    .hero-services nav { gap: 10px 22px; }
    .benefit-grid, .service-grid, .product-grid, .gallery { grid-template-columns: 1fr; }
    .benefit-grid { gap: 25px; }
    .gallery img { height: 260px; }
    .vehicle-band ul { flex-wrap: wrap; gap: 15px 30px; }
    .cta-inner, .footer-contact { align-items: start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .form-row, .check-list { grid-template-columns: 1fr; }
    form { padding: 24px; }
    .service-sidebar { padding: 22px; }
    .service-sidebar ul { grid-template-columns: 1fr; }
    .approach { padding: 28px; }
    #product-count { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .hero-copy .button:hover { transform: none; }
}

@media (max-width: 600px) {
    .service-photo-pair { grid-template-columns: 1fr; }
}
