:root {
  --red: #ef252d;
  --ink: #071117;
  --muted: #65717a;
  --line: #dfe4e7;
  --off-white: #f5f7f8;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Inter", Arial, sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.topbar { background: #071219; color: #b8c1c6; font-size: 11px; border-bottom: 1px solid #1b282f; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar__links { display: flex; gap: 24px; color: #eef2f3; }
.site-header { position: sticky; z-index: 1000; top: 0; }
.main-header { position: relative; color: #fff; background: rgba(6,17,23,.88); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 5px 18px rgba(0,0,0,.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.main-header__inner { height: 78px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; min-width: 270px; transform: skew(-8deg); }
.logo__mark { color: #fff; font-size: 46px; font-weight: 900; font-style: italic; letter-spacing: -7px; text-shadow: 3px 0 var(--red); line-height: 1; }
.logo__text { margin-left: 14px; display: flex; flex-direction: column; transform: skew(8deg); }
.logo__text strong { font-size: 22px; font-style: italic; letter-spacing: -1px; }
.logo__text small { margin-top: 2px; font-size: 7px; letter-spacing: 1px; }
.logo--image { min-width: 200px; transform: none; }
.logo--image img { width: 200px; height: auto; }
.search { flex: 1; display: flex; max-width: 520px; height: 42px; }
.search input { min-width: 0; flex: 1; border: 0; padding: 0 18px; border-radius: 3px 0 0 3px; outline: none; font-size: 12px; }
.search button { width: 48px; border: 1px solid #506069; color: #fff; background: #0a161d; font-size: 23px; cursor: pointer; border-radius: 0 3px 3px 0; }
.header-actions { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.phone { display: flex; gap: 10px; align-items: center; }
.phone > span { font-size: 25px; }
.phone div { display: flex; flex-direction: column; gap: 2px; }
.phone small { color: #9faab0; font-size: 9px; }
.phone strong { font-size: 13px; }
.cart { position: relative; border: 0; background: none; color: white; font-size: 23px; cursor: pointer; }
.cart span { position: absolute; right: -7px; top: -8px; width: 18px; height: 18px; line-height: 18px; border-radius: 50%; background: var(--red); font-size: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 25px; }
.navbar { height: 100%; flex: 1; color: #fff; }
.nav-inner { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: 20px; }
.nav-inner a { position: relative; display: flex; align-items: center; white-space: nowrap; font-size: 13px; font-weight: 600; }
.nav-inner a.active { color: var(--red); }
.nav-inner a.active::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: 0; background: var(--red); }

.hero { position: relative; min-height: 420px; display: flex; align-items: center; color: white; background: url("assets/hero-classic-cars.webp") center 55%/cover no-repeat; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 73% 55%, transparent 0 23%, rgba(0,0,0,.16) 43%, rgba(0,0,0,.7) 100%); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 39%, transparent 70%); }
.hero__content { position: relative; z-index: 1; padding-top: 10px; }
.eyebrow { margin: 0 0 9px; text-transform: uppercase; letter-spacing: 1.3px; font-size: 10px; font-weight: 800; }
.eyebrow::before { content: ""; display: inline-block; width: 31px; height: 2px; margin: 0 9px 3px 0; background: var(--red); }
.eyebrow.light { color: #e6eaec; }
.hero h1 { margin: 0; text-transform: uppercase; font-size: clamp(37px, 4vw, 54px); line-height: 1.02; letter-spacing: -1.7px; font-weight: 900; }
.hero h1 span { color: var(--red); }
.hero__copy { margin: 15px 0 25px; font-size: 14px; line-height: 1.55; color: #ebeff0; }
.button-row { display: flex; gap: 14px; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 23px; border-radius: 2px; font-weight: 700; font-size: 12px; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: white; }
.btn--outline { border: 1px solid #fff; color: #fff; background: rgba(0,0,0,.25); }

.section { padding: 44px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.section-heading h2, .restoration h2 { margin: 0; font-size: 25px; letter-spacing: -1px; }
.section-heading > a { font-size: 10px; font-weight: 700; }
.section-heading > a span { margin-left: 7px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-card { position: relative; height: 193px; color: #fff; border-radius: 4px; overflow: hidden; background-size: cover; background-position: center; isolation: isolate; }
.brand-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.05)); }
.brand-card--vw { background-image: url("https://images.unsplash.com/photo-1504215680853-026ed2a45def?auto=format&fit=crop&w=900&q=85"); }
.brand-card--audi { background-image: url("https://images.unsplash.com/photo-1606664515524-ed2f786a0bd6?auto=format&fit=crop&w=900&q=85"); }
.brand-card--merc { background-image: url("https://images.unsplash.com/photo-1618843479313-40f8afb4b4d8?auto=format&fit=crop&w=900&q=85"); }
.brand-card__content { position: absolute; left: 26px; bottom: 19px; }
.brand-card__content h3 { margin: 9px 0; font-size: 17px; }
.brand-card__content small { font-size: 9px; font-weight: 700; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 3px solid white; border-radius: 50%; font-size: 15px; font-weight: 900; }
.audi-rings { width: auto; border: 0; border-radius: 0; font-size: 31px; letter-spacing: -11px; }

.benefits { background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits__grid { min-height: 105px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.benefits article { height: 55px; display: flex; gap: 13px; align-items: flex-start; padding: 0 20px; border-right: 1px solid var(--line); }
.benefits article:first-child { padding-left: 0; }
.benefits article:last-child { border: 0; }
.benefit-icon { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border: 2px solid #17262e; border-radius: 50%; font-size: 18px; }
.benefits h3 { margin: 2px 0 7px; font-size: 11px; }
.benefits p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }

.products { background: #fbfcfc; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.product-card { min-width: 0; min-height: 355px; display: flex; flex-direction: column; padding: 9px; border: 1px solid #dbe1e4; border-radius: 4px; background: white; box-shadow: 0 2px 8px rgba(23,35,43,.05); }
.product-card__image { position: relative; height: 145px; flex: 0 0 145px; display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; background: #fff; cursor: zoom-in; }
.product-card__image::after { content: "View Image"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(7,17,23,.72); font-size: 10px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; opacity: 0; transition: opacity .2s ease; }
.product-card__image:hover::after { opacity: 1; }
.product-card__image img { width: 82%; height: 82%; object-fit: contain; object-position: center; transition: transform .3s; }
.product-card__image:hover img { transform: scale(1.06); }
.product-card h3 { height: 91px; overflow: hidden; margin: 0; font-size: 10px; line-height: 1.5; }
.product-card h3 small { color: #4f5b61; font-size: 8px; font-weight: 600; }
.price { margin: 7px 0 4px; font-size: 11px; font-weight: 800; }
.stars { margin: 0 0 9px; color: #f5a400; font-size: 9px; letter-spacing: .5px; }
.stars span { color: #7c878d; }
.product-card button { width: 100%; height: 34px; margin-top: auto; border: 0; border-radius: 3px; background: #071219; color: white; font-size: 9px; font-weight: 700; cursor: pointer; }
.product-card button:hover { background: var(--red); }

.image-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 30px; background: rgba(0,0,0,.9); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.image-lightbox.open { opacity: 1; visibility: visible; }
.image-lightbox img { max-width: min(900px, 92vw); max-height: 86vh; object-fit: contain; background: #fff; box-shadow: 0 15px 60px rgba(0,0,0,.5); }
.image-lightbox button { position: absolute; top: 22px; right: 28px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: transparent; font-size: 23px; cursor: pointer; }

.restoration { min-height: 205px; display: grid; grid-template-columns: 1.15fr 1.05fr 1.05fr; background: #f3f5f5; border-top: 1px solid #e3e6e8; border-bottom: 1px solid #e3e6e8; }
.restoration__image { background-size: cover; background-position: center; }
.restoration__image--left { background-image: url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1000&q=85"); }
.restoration__image--right { position: relative; background-image: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1589148938909-4d241c91ee52?auto=format&fit=crop&w=1000&q=85"); }
.restoration__image--right span { position: absolute; right: 10%; top: 28%; color: white; text-align: center; font: 21px Georgia, serif; transform: rotate(-5deg); }
.restoration__image--right em { font-size: 15px; }
.restoration__content { padding: 35px 28px; background: linear-gradient(135deg, #fff, #f5f6f6); }
.restoration__content p:not(.eyebrow) { color: #46545b; font-size: 11px; line-height: 1.6; }
.btn--dark-outline { min-height: 34px; margin-top: 5px; padding: 0 16px; border: 1px solid #758087; font-size: 9px; }

.blog { padding-top: 36px; padding-bottom: 42px; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-grid article { position: relative; padding-bottom: 18px; }
.blog-grid img { width: 100%; height: 105px; object-fit: cover; }
.blog-grid h3 { min-height: 37px; margin: 10px 0 6px; font-size: 11px; line-height: 1.4; }
.blog-grid p { margin: 0; color: #7a858b; font-size: 8px; }
.blog-grid article > a { position: absolute; right: 0; bottom: 0; font-size: 8px; font-weight: 700; }

footer { padding-top: 38px; color: #dce2e5; background: #061117; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .7fr 1fr 1.2fr; gap: 35px; padding-bottom: 32px; }
.footer-logo { min-width: 0; margin-bottom: 12px; }
.footer-logo .logo__mark { font-size: 37px; }
.footer-logo .logo__text strong { font-size: 18px; }
.footer-logo.logo--image img { width: 210px; }
footer p { color: #8d9aa1; font-size: 11px; line-height: 1.6; }
footer h3 { margin: 5px 0 15px; color: #fff; font-size: 14px; }
.socials { display: flex; gap: 13px; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 11px; color: #aab5ba; }
.newsletter { display: flex; height: 31px; }
.newsletter input { width: 100%; min-width: 0; border: 0; padding: 0 10px; font-size: 8px; }
.newsletter button { border: 0; padding: 0 13px; color: white; background: var(--red); font-size: 8px; cursor: pointer; }
.footer-bottom { min-height: 58px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #243138; color: #879299; font-size: 7px; }
.footer-bottom div { display: flex; gap: 24px; }

@media (max-width: 1050px) {
  .main-header__inner { gap: 16px; }
  .logo { min-width: 185px; }
  .logo--image img { width: 185px; }
  .logo__mark { font-size: 39px; }
  .logo__text strong { font-size: 18px; }
  .header-actions .phone { display: none; }
  .nav-inner { gap: 15px; }
  .nav-inner a { font-size: 12px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); padding: 20px 0; gap: 20px 0; }
  .benefits article:nth-child(3) { border: 0; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .newsletter { max-width: 400px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }
  .main-header__inner { height: 72px; }
  .main-header .logo { min-width: 0; }
  .main-header .logo--image img { width: 175px; }
  .main-header .logo__mark { font-size: 34px; }
  .main-header .logo__text strong { font-size: 15px; }
  .main-header .logo__text small { display: none; }
  .search, .header-actions { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .navbar { display: none; height: auto; }
  .navbar.open { position: absolute; z-index: 100; top: 72px; left: 0; right: 0; display: block; padding: 0 14px; border-top: 1px solid #243138; background: #061117; }
  .nav-inner { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 0; }
  .nav-inner a { width: 100%; padding: 11px 0; }
  .hero { min-height: 475px; background-position: 65% center; }
  .hero__shade { background: rgba(0,0,0,.66); }
  .hero h1 { font-size: 35px; }
  .hero__copy br { display: none; }
  .button-row { flex-wrap: wrap; }
  .section { padding: 34px 0; }
  .section-heading { align-items: flex-start; gap: 10px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading > a { white-space: nowrap; margin-top: 7px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { height: 180px; }
  .benefits__grid { grid-template-columns: 1fr; gap: 18px; }
  .benefits article, .benefits article:first-child { border: 0; padding: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card__image { height: 140px; }
  .restoration { grid-template-columns: 1fr; }
  .restoration__image { min-height: 180px; }
  .restoration__image--right { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid img { height: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { padding: 17px 0; gap: 12px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .button-row { flex-direction: column; align-items: flex-start; }
  .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .product-card__image, .blog-grid img { height: 190px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { grid-column: 1 !important; }
}
