/* AS Autozone: red and white theme.
   Layout: white sticky header with the logo, hero carousel with a red diagonal stage and a framed vehicle photo,
   red stats band, scrolling photo reel, brand cards, catalog, finder, why us, guide, FAQ, contact, footer. */

:root {
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --red: #C00000;
  --red-bright: #E31B1B;
  --red-deep: #8F0000;
  --red-soft: #FDEDED;
  --ink: #17171C;
  --muted: #5E616B;
  --line: #E7E7EB;
  --bg: #FFFFFF;
  --grey: #F6F6F8;
  --shadow: 0 12px 32px rgba(23, 23, 28, .10);
  --shadow-red: 0 14px 30px rgba(192, 0, 0, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section[id] { scroll-margin-top: 78px; }

@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drive { from { opacity: 0; transform: translateX(120px) skewX(-8deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes road { to { background-position: -90px 0; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes reel { to { transform: translateX(-50%); } }
@keyframes streak { from { transform: translateX(-120%); } to { transform: translateX(520%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(192, 0, 0, .45); } 100% { box-shadow: 0 0 0 18px rgba(192, 0, 0, 0); } }
@keyframes slidein { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Scroll reveal (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in, .js.no-reveal .reveal { opacity: 1; transform: none; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid currentColor; background: transparent; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .18s, box-shadow .2s, background .2s, color .2s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 28%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-120%); }
.btn:hover::after { animation: streak .7s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { box-shadow: var(--shadow-red); background: var(--red-bright); border-color: var(--red-bright); }
.btn.white { background: #fff; border-color: #fff; color: var(--red); }
.btn.white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.ghost-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .15); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.arrow-link .ar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .25s, box-shadow .25s; }
.arrow-link:hover .ar { transform: translateX(6px); box-shadow: var(--shadow-red); }
.arrow-link span.t { border-bottom: 2px solid var(--red); padding-bottom: 1px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; padding-top: env(safe-area-inset-top, 0px); }
.top.scrolled { box-shadow: var(--shadow); }
.bar { display: flex; align-items: center; gap: 14px; padding-block: 8px; }
.grow { flex: 1; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 54px; width: auto; display: block; transition: height .25s; }
.top.scrolled .logo img { height: 44px; }
.logo-txt { display: none; font-family: var(--display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.logo-txt b { color: var(--ink); }
.logo.nologo img { display: none; }
.logo.nologo .logo-txt { display: inline; }
.dnav { display: flex; gap: 2px; margin-left: 18px; }
.dnav a { position: relative; padding: 8px 12px; font-weight: 600; text-decoration: none; color: var(--ink); }
.dnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.dnav a:hover::after { transform: scaleX(1); }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--red-deep), var(--red-bright)); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; flex: none; transition: background .2s, transform .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger { width: 18px; display: grid; gap: 4px; }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 980px) { .dnav { display: none; } .menu-btn { display: grid; } }
@media (max-width: 560px) { .shape { height: 340px; } .bar .btn.small { display: none; } .logo img { height: 46px; } .top.scrolled .logo img { height: 40px; } }

/* Full-screen menu */
.menu { position: fixed; inset: 0; z-index: 70; background: linear-gradient(135deg, var(--red-deep), var(--red) 55%, var(--red-bright)); color: #fff; visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s; overflow-y: auto; }
.menu.open { visibility: visible; clip-path: circle(160% at calc(100% - 44px) 44px); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu-in { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; padding-block: calc(90px + env(safe-area-inset-top, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)); align-items: center; }
.menu nav { display: grid; gap: 2px; }
.menu nav a { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 6.5vw, 4.2rem); line-height: 1.08; text-decoration: none; opacity: .9; transition: transform .25s, opacity .25s; }
.menu nav a:hover { transform: translateX(14px); opacity: 1; }
.menu-side { display: grid; gap: 18px; align-content: center; }
.menu-logo { width: min(280px, 70%); height: auto; }
.menu-side p { opacity: .92; max-width: 30ch; font-size: 1.1rem; }
.menu-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.menu-close:hover { background: #fff; color: var(--red); border-color: #fff; }
@media (max-width: 800px) { .menu-in { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.hero { position: relative; background: #fff; overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; position: relative; overflow: hidden; }
.slide.is-active { opacity: 1; visibility: visible; }
.shape { position: absolute; top: 0; bottom: 0; left: 50%; right: 0; background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.shape::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 46px); }
.shape::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; bottom: -220px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 66%); animation: float 9s ease-in-out infinite; }
.slide .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; padding-block: 56px 112px; min-height: 560px; }
.label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.label::before { content: ""; width: 34px; height: 3px; background: var(--red); border-radius: 2px; }
.slide h1 { font-size: clamp(2.8rem, 6vw, 5rem); text-transform: uppercase; margin-top: 14px; }
.slide h1 em { font-style: normal; color: var(--red); }
.slide .sub { margin-top: 16px; font-size: 1.15rem; max-width: 30em; color: var(--muted); }
.slide .cta { display: flex; gap: 18px 24px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.copy > * { opacity: 0; }
.slide.is-active .copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.slide.is-active .copy > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .copy > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .copy > *:nth-child(4) { animation-delay: .24s; }
.stage { position: relative; transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0); transition: transform .25s ease-out; }
.frame { position: relative; border-radius: 24px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 6px solid #fff; }
.slide.is-active .frame { animation: drive .9s cubic-bezier(.2, .8, .2, 1) both, float 7s ease-in-out .9s infinite; }
.slide.is-active .vimg img { animation: kenburns 9s ease-out both; }
.tag { position: absolute; left: -14px; bottom: 22px; z-index: 2; background: var(--red); color: #fff; padding: 10px 20px 10px 16px; border-radius: 0 12px 12px 0; box-shadow: var(--shadow-red); }
.tag small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.tag b { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.speed { position: absolute; left: -70px; top: 22%; width: 90px; display: grid; gap: 9px; z-index: 0; pointer-events: none; }
.speed i { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9)); }
.speed i:nth-child(2) { width: 70%; margin-left: 30%; }
.speed i:nth-child(3) { width: 85%; margin-left: 15%; }
.hero-ctl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-block: 12px 18px; background: linear-gradient(0deg, #fff 55%, rgba(255, 255, 255, 0)); }
.hero-ctl .wrap { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; }
.inds { display: flex; gap: 10px; flex: 1 1 360px; min-width: 0; }
.ind-b { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0; opacity: .6; transition: opacity .2s; }
.ind-b[aria-current="true"], .ind-b:hover { opacity: 1; }
.ind-b .bar2 { display: block; height: 4px; background: rgba(23, 23, 28, .15); border-radius: 2px; overflow: hidden; }
.ind-b .bar2 i { display: block; height: 100%; width: 0; background: var(--red); }
.ind-b .n { display: block; margin-top: 6px; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctl-btns { display: flex; gap: 8px; }
@media (max-width: 980px) {
  .shape { left: 0; top: 0; bottom: auto; height: 400px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); }
  .slide .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 32px 130px; min-height: 0; gap: 48px; }
  .stage { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .tag { left: -8px; }
  .speed { display: none; }
  .ind-b .n { display: none; }
}

/* Vehicle image: real photo when present, drawn vehicle until then */
.vimg { position: relative; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(165deg, #fff, #ECECF0); }
.vimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.vimg.has-photo img { opacity: 1; }
.vimg .fb { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s; }
.vimg.has-photo .fb { opacity: 0; }
.vimg .fb svg { width: 88%; height: auto; display: block; position: relative; z-index: 1; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .18)); }
.vimg .fb::before { content: ""; position: absolute; left: 0; right: 0; bottom: 14%; height: 6px; background: repeating-linear-gradient(90deg, rgba(192, 0, 0, .3) 0 36px, transparent 36px 72px); animation: road 1s linear infinite; }
.vimg .fbn { position: absolute; right: 14px; bottom: 8px; font-family: var(--display); font-weight: 700; font-style: italic; font-size: clamp(1.6rem, 4vw, 2.6rem); text-transform: uppercase; color: rgba(192, 0, 0, .10); line-height: 1; z-index: 0; pointer-events: none; }
.wh { transform-box: fill-box; transform-origin: center; animation: spin 1.1s linear infinite; }
.card:not(:hover) .vimg .wh, .reel-tile:not(:hover) .vimg .wh, .d-art:not(:hover) .wh { animation-play-state: paused; }
.slide.is-active .wh { animation-play-state: running; }

/* Stats band */
.stats { background: linear-gradient(100deg, var(--red-deep), var(--red) 50%, var(--red-bright)); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; padding-block: 26px; }
.stat b { display: block; font-family: var(--display); font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { opacity: .9; font-weight: 500; }

/* Moving range reel */
.reel-sec { background: #fff; padding-block: 28px; border-bottom: 1px solid var(--line); }
.reel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 16px; padding-right: 16px; width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-tile { position: relative; flex: none; width: 260px; height: 172px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: none; padding: 0; cursor: pointer; transition: transform .3s, box-shadow .3s; }
.reel-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.reel-tile .vimg img { transition: opacity .5s, transform .6s; }
.reel-tile:hover .vimg img { transform: scale(1.08); }
.reel-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(0deg, rgba(23, 23, 28, .85), transparent); color: #fff; text-align: left; }
.reel-tile .cap small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.reel-tile .cap b { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }

/* Sections */
.sec { padding-block: 72px; }
.sec.tint { background: var(--grey); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-transform: uppercase; position: relative; padding-bottom: 12px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 3px; background: var(--red); }
.sec-head p { color: var(--muted); max-width: 44ch; }
.kicker { font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: block; }

/* Brands */
.brands { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.brand { --mx: 50%; --my: 50%; position: relative; overflow: hidden; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; min-height: 260px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: transform .3s, box-shadow .3s, background .3s, color .3s, border-color .3s; }
.brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(192, 0, 0, .14), transparent 70%); opacity: 0; transition: opacity .3s; }
.brand:hover { transform: translateY(-8px); background: linear-gradient(145deg, var(--red-bright), var(--red-deep)); color: #fff; border-color: var(--red); box-shadow: var(--shadow-red); }
.brand:hover::before { opacity: 1; }
.brand h3 { font-size: clamp(2rem, 2.8vw, 2.7rem); text-transform: uppercase; font-style: italic; position: relative; white-space: nowrap; max-width: 100%; }
.brand .n { position: relative; color: var(--muted); font-weight: 500; transition: color .3s; }
.brand:hover .n { color: rgba(255, 255, 255, .85); }
.brand .models { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.brand .models span { font-size: .85rem; padding: 3px 11px; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); transition: background .3s, color .3s; }
.brand:hover .models span { background: rgba(255, 255, 255, .2); color: #fff; }
.brand .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; position: relative; }
.brand .go i { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-style: normal; transition: transform .25s, background .3s, color .3s; }
.brand:hover .go i { transform: translateX(6px); background: #fff; color: var(--red); }

/* Catalog */
.filters { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
.frow { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.flabel { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 56px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; transition: all .18s; }
.seg button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.seg button[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }
.field-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.field-inline .input { min-width: 0; }
.field-inline input { flex: 1 1 220px; }
.count { color: var(--muted); margin-bottom: 14px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s ease-out, box-shadow .25s, border-color .25s; animation: pop .5s both; animation-delay: calc(var(--i, 0) * 45ms); }
.card:hover { --ty: -6px; box-shadow: 0 20px 40px rgba(23, 23, 28, .16); border-color: rgba(192, 0, 0, .45); }
.card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card .media .vimg img { transition: opacity .5s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .media .vimg img { transform: scale(1.07); }
.brandchip { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--red); color: #fff; font-weight: 600; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.cmp { position: absolute; top: 10px; right: 10px; z-index: 2; min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .95); font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.cmp:hover { border-color: var(--red); color: var(--red); }
.cmp[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card h3 { font-size: 2rem; text-transform: uppercase; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:hover { color: var(--red); }
.card h3 button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.cardtype { color: var(--muted); font-size: .95rem; }
.cap2 { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cap2 span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cap2 b { font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag2 { font-size: .82rem; padding: 2px 11px; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); font-weight: 500; }
.card .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.card .actions .btn { flex: 1; padding: 0 10px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; background: #fff; border: 2px dashed var(--line); border-radius: 20px; }
.empty h3 { font-size: 1.9rem; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 14px; }

/* Finder */
.finder { background: linear-gradient(135deg, var(--red-deep), var(--red) 55%, var(--red-bright)); color: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.finder::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; bottom: -180px; background: rgba(255, 255, 255, .13); animation: float 10s ease-in-out infinite; }
.finder h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-transform: uppercase; position: relative; }
.finder .sub { opacity: .92; margin-top: 8px; max-width: 46ch; position: relative; }
.fq { margin-top: 24px; position: relative; }
.fq h3 { font-size: 1.8rem; margin-bottom: 14px; }
.fq .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; cursor: pointer; transition: all .2s; }
.opt:hover { background: #fff; border-color: #fff; color: var(--red); transform: translateY(-3px); }
.dots { display: flex; gap: 8px; margin-bottom: 14px; }
.dots i { width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.dots i.on { background: #fff; }
.fres { margin-top: 24px; position: relative; }
.fres .grid { color: var(--ink); }
.fres .note2 { margin-bottom: 14px; font-size: 1.05rem; }
.fbtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Why */
.why { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(192, 0, 0, .4); }
.why-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 16px; transition: background .3s, color .3s, transform .4s; }
.why-card:hover .ic { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }
.why-card h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 8px; }
.why-card p { color: var(--muted); }

/* Guide */
.guide-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.gitem { border-radius: 20px; padding: 22px; background: linear-gradient(145deg, var(--red-bright), var(--red-deep)); color: #fff; transition: transform .3s, box-shadow .3s; }
.gitem:hover { transform: translateY(-6px); box-shadow: var(--shadow-red); }
.gitem h3 { font-size: 1.8rem; margin-bottom: 8px; text-transform: uppercase; }
.gitem p { opacity: .94; }
.gitem .big { margin-top: 14px; font-weight: 600; opacity: 1; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .35); }
.subhead { font-size: 1.9rem; text-transform: uppercase; margin: 48px 0 16px; }
.fuel-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fuel { border-radius: 14px; background: var(--grey); padding: 16px 18px; border-left: 5px solid var(--red); }
.fuel b { display: block; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.fuel span { color: var(--muted); font-size: .95rem; }
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 20px 20px 20px 76px; background: var(--grey); border-radius: 16px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; }
.step h3 { font-size: 1.5rem; margin-bottom: 4px; text-transform: uppercase; }
.step p { color: var(--muted); }

/* FAQ, contact, footer */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--red); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; }
.faq details[open] summary { color: var(--red); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; }
.contact .box { background: linear-gradient(135deg, var(--red-deep), var(--red) 55%, var(--red-bright)); color: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 52px); display: grid; gap: 22px 32px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; position: relative; overflow: hidden; }
.contact .box::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -110px; bottom: -190px; background: rgba(255, 255, 255, .14); animation: float 8s ease-in-out infinite; }
.contact .box > * { position: relative; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-transform: uppercase; }
.contact p { margin-top: 8px; opacity: .94; }
.contact .btn { margin-top: 20px; }
.contact dl { margin: 0; display: grid; gap: 12px; }
.contact dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.contact dd { margin: 0; font-weight: 600; user-select: all; overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact .box { grid-template-columns: minmax(0, 1fr); } }
footer { background: var(--ink); color: #fff; padding-block: 40px 56px; border-top: 6px solid var(--red); }
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.foot-logo { width: 190px; height: auto; }
footer p { opacity: .85; max-width: 80ch; }
footer .small { margin-top: 8px; font-size: .88rem; opacity: .65; }
@media (max-width: 640px) { .foot { grid-template-columns: minmax(0, 1fr); } }

/* Floating buttons */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 35; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-red); transform: translateY(90px); opacity: 0; transition: transform .35s, opacity .35s, bottom .25s; animation: pulse 2.4s infinite; }
.fab.show { transform: none; opacity: 1; }
.totop { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(82px + env(safe-area-inset-bottom, 0px)); z-index: 35; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transform: scale(0); transition: transform .3s, bottom .25s, background .2s, color .2s; }
.totop.show { transform: scale(1); }
.totop:hover { background: var(--red); color: #fff; border-color: var(--red); }
body.has-cmp .fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
body.has-cmp .totop { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }

/* Compare bar */
.cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--ink); color: #fff; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); animation: pop .3s both; border-top: 3px solid var(--red); }
.cmpbar .wrap { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; }
.cmpbar .names { flex: 1 1 200px; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cmpbar .names span { background: rgba(255, 255, 255, .14); padding: 3px 12px; border-radius: 999px; font-size: .9rem; }

/* Side panel */
.overlay { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.scrim { position: absolute; inset: 0; background: rgba(15, 5, 5, .6); animation: pop .25s both; }
.panel { position: relative; width: min(560px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .3); animation: slidein .35s cubic-bezier(.2, .8, .2, 1) both; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 3px solid var(--red); }
.panel-head h2 { font-size: 2rem; text-transform: uppercase; }
.panel-body { overflow-y: auto; padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); flex: 1; }
.d-art { border-radius: 16px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 4 / 3; }
.brandtag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.panel h3 { font-size: 1.5rem; text-transform: uppercase; margin: 22px 0 8px; }
.panel ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.panel li::marker { color: var(--red); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.note { margin: 18px 0; color: var(--muted); font-size: .92rem; }
.cmp-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.cmp-table table { min-width: 100%; }
.cmp-table th, .cmp-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table th[scope="row"] { color: var(--muted); font-weight: 500; white-space: nowrap; background: var(--grey); position: sticky; left: 0; }
.cmp-table thead th { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; background: var(--red); color: #fff; }
.cmp-table tr:last-child td, .cmp-table tr:last-child th { border-bottom: 0; }

/* Form */
.form { display: grid; gap: 14px; }
.fieldset { display: grid; gap: 6px; min-width: 0; }
.row2 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
label, .lbl { font-weight: 600; font-size: .95rem; }
label .opt-t { font-weight: 400; color: var(--muted); }
.input { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--grey); padding: 8px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.input.pill { border-radius: 999px; padding: 0 18px; background: #fff; width: auto; }
.input:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(192, 0, 0, .14); outline: none; }
textarea.input { min-height: 96px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--red); background: var(--red-soft); }
.err { color: var(--red); font-size: .88rem; font-weight: 500; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.success h3 { margin-top: 0; font-size: 2.2rem; color: var(--red); text-transform: uppercase; }
.success p { margin-top: 8px; color: var(--muted); }
.success .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.fallback textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; min-height: 190px; }
.fallback .btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reel-track { animation: none; overflow-x: auto; }
}

/* Phone layout: compact, swipeable sections so the page is not one long scroll */
@media (max-width: 640px) {
  .sec { padding-block: 34px; }
  .sec-head { margin-bottom: 16px; gap: 8px; }
  .sec-head h2 { font-size: 2rem; padding-bottom: 10px; }
  .sec-head p { font-size: .95rem; }

  /* swipe rows */
  .brands, .why, .guide-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .brands::-webkit-scrollbar, .why::-webkit-scrollbar, .guide-grid::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
  .brands > *, .why > *, .guide-grid > * { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
  .brand { min-height: 190px; padding: 20px 18px; }
  .why-card { padding: 18px; }
  .why-card .ic { width: 44px; height: 44px; margin-bottom: 10px; }
  .why-card h3 { font-size: 1.35rem; }

  /* filters: one swipe line per group */
  .filters { padding: 12px; gap: 8px; }
  .frow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; }
  .frow .seg { flex-wrap: nowrap; }
  .seg button { white-space: nowrap; min-height: 36px; padding: 0 13px; flex: 0 0 auto; }
  .flabel { min-width: 0; flex: 0 0 auto; }
  .field-inline { flex-wrap: nowrap; }
  .field-inline input { flex: 1 1 0; min-width: 0; }

  /* catalog: two compact cards per row */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 14px; }
  .card:hover { --ty: 0; }
  .card .body { padding: 10px 10px 12px; gap: 6px; }
  .card h3 { font-size: 1.3rem; line-height: 1.05; }
  .cardtype, .cap2 { display: none; }
  .brandchip { left: 8px; top: 8px; font-size: .62rem; padding: 3px 9px; }
  .cmp { top: 6px; right: 6px; min-height: 28px; padding: 0 9px; font-size: .72rem; }
  .tag2 { font-size: .7rem; padding: 1px 8px; }
  .card .actions { gap: 6px; padding-top: 4px; }
  .card .actions .btn { min-height: 36px; font-size: .82rem; padding: 0 6px; }
  .count { margin-bottom: 10px; font-size: .9rem; }
}
@media (max-width: 640px) { .sec { overflow-x: clip; } html, body { overflow-x: clip; } }
