:root {
    --bg: #080808;
    --bg-soft: #101010;
    --panel: #151515;
    --panel-2: #1b1b1b;
    --line: rgba(255, 255, 255, 0.11);
    --text: #f7f7f7;
    --muted: #a7a7a7;
    --red: #d71920;
    --red-dark: #9d0d12;
    --red-soft: rgba(215, 25, 32, 0.16);
    --green: #20b85a;
    --gold: #f2ba58;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --radius: 22px;
    --header-height: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { width: 100%; max-width: 100%; margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
main section[id] { scroll-margin-top: calc(var(--header-height) + 18px); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.container { width: min(1180px, calc(100% - 40px)); min-width: 0; margin-inline: auto; }
.section { position: relative; padding: 100px 0; }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .q-content h2, .test-drive-copy h2 { margin: 4px 0 12px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; }
.section-heading > p:last-child, .q-content > p, .test-drive-copy > p { margin: 0; color: var(--muted); }
.eyebrow { margin: 0; color: #f04b50; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.19em; text-transform: uppercase; }

.skip-link { position: fixed; z-index: 5000; top: 10px; left: 10px; padding: 10px 16px; transform: translateY(-150%); border-radius: 8px; background: white; color: black; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1200; inset: 0 0 auto; height: var(--header-height); border-bottom: 1px solid transparent; transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(7, 7, 7, 0.88); box-shadow: 0 10px 40px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.navbar { display: flex; width: min(1240px, calc(100% - 40px)); min-width: 0; height: 100%; margin: auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; white-space: nowrap; font-size: 1.07rem; font-weight: 900; letter-spacing: 0.08em; }
.brand-accent { color: var(--red); }
.nav-links { display: flex; margin: 0 auto; padding: 0; align-items: center; gap: clamp(16px, 2.2vw, 30px); list-style: none; }
.nav-links a { position: relative; color: #dedede; font-size: 0.77rem; font-weight: 750; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.nav-links a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; transform: scaleX(0); background: var(--red); content: ""; transition: transform 0.22s ease; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.is-active { color: white; }
.nav-whatsapp { display: inline-flex; padding: 9px 15px; align-items: center; gap: 8px; border: 1px solid rgba(42, 201, 102, .5); border-radius: 999px; background: rgba(32, 184, 90, .1); color: #8ff1b2; font-size: .78rem; font-weight: 800; text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #151515; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: white; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; display: grid; min-height: max(680px, 100svh); padding: calc(var(--header-height) + 70px) 0 50px; place-items: center; overflow: hidden; isolation: isolate; background: #080808 url("hero.webp") center / cover no-repeat; }
.hero::before { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(3,3,3,.92) 0%, rgba(3,3,3,.68) 45%, rgba(3,3,3,.7) 100%); content: ""; }
.hero::after { position: absolute; z-index: -1; right: -18%; bottom: -60%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(215,25,32,.25), transparent 68%); content: ""; }
.hero-backdrop { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 65%, var(--bg) 100%); }
.hero-content { padding-top: 24px; text-align: left; }
.hero-content h1 { max-width: 850px; margin: 12px 0 24px; font-size: clamp(2.7rem, 7.6vw, 6.6rem); font-weight: 900; letter-spacing: -0.055em; line-height: .92; text-transform: uppercase; text-wrap: balance; }
.hero-content h1 span { color: transparent; background: linear-gradient(110deg, #fff 0%, #d5d5d5 45%, #f14a50 100%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 660px; margin: 0 0 30px; color: #d0d0d0; font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; max-width: 850px; margin-top: 56px; padding-top: 22px; gap: clamp(22px, 5vw, 58px); border-top: 1px solid rgba(255,255,255,.2); }
.hero-points span { display: flex; color: #aaa; font-size: .78rem; flex-direction: column; }
.hero-points strong { color: white; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; padding: 10px; transform: translateX(-50%); color: #aaa; }

.btn { display: inline-flex; min-height: 48px; padding: 13px 22px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; font-size: .84rem; font-weight: 850; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #e0272e, #a70e13); color: white; box-shadow: 0 12px 30px rgba(215,25,32,.25); }
.btn-primary:hover { box-shadow: 0 16px 35px rgba(215,25,32,.4); }
.btn-secondary { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: white; backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.11); }

.cars-section { background: linear-gradient(180deg, #080808, #0e0e0e); }
.car-filters { display: flex; margin-bottom: 34px; justify-content: center; gap: 9px; flex-wrap: wrap; }
.filter-btn, .q-variant { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: #111; color: #aaa; font-size: .8rem; font-weight: 800; cursor: pointer; transition: .2s ease; }
.filter-btn:hover, .filter-btn.is-active, .q-variant:hover, .q-variant.is-active { border-color: rgba(215,25,32,.75); background: var(--red-soft); color: white; }
.filter-btn i { margin-right: 5px; color: var(--red); }
.swiper { width: 100%; min-width: 0; max-width: 100%; padding: 10px 4px 58px; overflow: hidden; }
.swiper-wrapper { min-width: 0; }
.swiper-slide { min-width: 0; max-width: 100%; height: auto; }
.car-card { display: flex; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, #1b1b1b, #101010); box-shadow: 0 12px 40px rgba(0,0,0,.2); flex-direction: column; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.car-card:hover { transform: translateY(-6px); border-color: rgba(215,25,32,.5); box-shadow: var(--shadow); }
.car-image { position: relative; display: flex; width: 100%; aspect-ratio: 16 / 10; padding: 20px; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 30%, #303030, #0c0c0c 68%); }
.car-image::after { position: absolute; right: 10%; bottom: 12%; left: 10%; height: 12%; border-radius: 50%; background: rgba(0,0,0,.55); filter: blur(14px); content: ""; }
.car-image img { position: relative; z-index: 1; max-height: 100%; object-fit: contain; }
.car-placeholder { position: relative; z-index: 1; display: flex; width: 100%; height: 100%; padding: 20px; align-items: center; justify-content: center; gap: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: radial-gradient(circle at 50% 105%, rgba(215,25,32,.18), transparent 45%), linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); color: #d8d8d8; text-align: center; flex-direction: column; }
.car-placeholder::before { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.035) 50%, transparent 65%); content: ""; }
.placeholder-mark { position: relative; width: 88px; height: 30px; margin-bottom: 8px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px 22px 8px 8px; }
.placeholder-mark::before { position: absolute; top: -15px; left: 19px; width: 48px; height: 22px; transform: skewX(-22deg); border: 2px solid rgba(255,255,255,.3); border-bottom: 0; border-radius: 18px 18px 0 0; content: ""; }
.placeholder-mark::after { position: absolute; right: 9px; bottom: -7px; width: 10px; height: 10px; border: 4px solid #151515; border-radius: 50%; background: #777; box-shadow: -56px 0 0 -4px #777, -56px 0 0 0 #151515; content: ""; }
.car-placeholder strong { position: relative; font-size: .98rem; font-weight: 900; letter-spacing: .06em; }
.car-placeholder small { position: relative; color: #858585; font-size: .67rem; letter-spacing: .04em; }
.model-type { display: inline-flex; width: max-content; padding: 5px 9px; border-radius: 6px; background: var(--red-soft); color: #ff7378; font-size: .65rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.car-body { display: flex; padding: 23px; flex: 1; flex-direction: column; }
.car-body h3 { min-height: 2.2em; margin: 12px 0 8px; font-size: 1.55rem; line-height: 1.1; }
.car-body p { min-height: 4.8em; margin: 0 0 18px; color: var(--muted); font-size: .9rem; flex: 1; }
.car-price { display: flex; margin-bottom: 18px; color: #888; font-size: .74rem; flex-direction: column; }
.car-price strong { color: white; font-size: 1.03rem; }
.car-detail { width: 100%; }
.swiper-button-prev, .swiper-button-next { top: auto; bottom: 3px; width: 42px; height: 42px; margin-top: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(16,16,16,.9); color: white; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 15px; font-weight: 900; }
.swiper-pagination-bullet { background: #777; opacity: .6; }
.swiper-pagination-bullet-active { width: 22px; border-radius: 99px; background: var(--red); opacity: 1; }
.price-disclaimer { max-width: 780px; margin: 4px auto 0; color: #777; font-size: .76rem; text-align: center; }

.q-section { overflow: hidden; border-block: 1px solid var(--line); background: radial-gradient(circle at 20% 40%, rgba(45,130,187,.14), transparent 34%), linear-gradient(140deg, #111, #080808 70%); }
.q-layout { display: grid; align-items: center; gap: clamp(40px, 6vw, 76px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.q-layout > *, .test-drive-layout > *, .footer-grid > * { min-width: 0; }
.q-visual { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
.q-visual img { position: relative; z-index: 2; width: 100%; height: auto; aspect-ratio: 1600 / 1041; object-fit: contain; border-radius: 26px; box-shadow: var(--shadow); }
.q-glow { position: absolute; z-index: 1; inset: 5%; border-radius: 50%; background: rgba(55,160,225,.3); filter: blur(70px); }
.q-badge { position: absolute; z-index: 3; right: 18px; bottom: 18px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; background: rgba(0,0,0,.65); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(10px); }
.q-tagline { margin: -4px 0 18px !important; color: #73cbff !important; font-size: 1.05rem; font-weight: 800; }
.q-variants { display: flex; margin: 25px 0 15px; gap: 8px; }
.q-price-wrap { display: flex; margin-bottom: 23px; flex-direction: column; }
.q-price-wrap span { color: #888; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.q-price-wrap strong { color: white; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; }
.q-sigma { display: grid; margin: -9px 0 23px; padding: 15px 16px; gap: 7px; border: 1px solid rgba(178,98,255,.3); border-radius: 13px; background: rgba(115,48,170,.09); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.q-sigma.is-relevant { border-color: rgba(205,119,255,.75); background: rgba(128,48,190,.18); box-shadow: 0 0 30px rgba(151,60,215,.12); }
.q-sigma div { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.q-sigma span { color: #bb94d4; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.q-sigma strong { color: white; font-size: .93rem; white-space: nowrap; }
.q-sigma strong b { color: #dd9cff; }
.q-sigma p { margin: 0; color: #8d8492; font-size: .68rem; line-height: 1.5; }
.q-specs { display: grid; margin-bottom: 24px; gap: 9px; grid-template-columns: repeat(3, 1fr); }
.q-specs article { display: flex; min-height: 112px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); flex-direction: column; }
.q-specs i { margin-bottom: 8px; color: #69c6fa; }
.q-specs strong { font-size: .91rem; }
.q-specs span { color: #888; font-size: .68rem; line-height: 1.35; }
.q-cta { width: 100%; }
.source-note { margin-top: 14px !important; color: #737373 !important; font-size: .71rem; line-height: 1.45; }

.promo-section { background: #0b0b0b; }
.promo-notice { display: flex; max-width: 900px; margin: -15px auto 30px; padding: 15px 18px; align-items: flex-start; gap: 12px; border: 1px solid rgba(242,186,88,.3); border-radius: 12px; background: rgba(242,186,88,.08); color: #d8c69f; font-size: .8rem; }
.promo-notice i { margin-top: 4px; color: var(--gold); }
.promo-grid { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.promo-card { grid-column: span 2; }
.promo-card:nth-child(4) { grid-column: 2 / span 2; }
.promo-card:nth-child(5) { grid-column: 4 / span 2; }
.promo-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.promo-card:hover { transform: translateY(-5px); border-color: rgba(215,25,32,.45); }
.promo-open { position: relative; display: grid; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; place-items: center; border: 0; background: #060606; cursor: zoom-in; }
.promo-open img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.promo-open:hover img { transform: scale(1.025); }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; border-radius: 7px; background: rgba(0,0,0,.78); color: white; font-size: .67rem; font-weight: 800; }
.promo-card figcaption { display: flex; min-height: 118px; padding: 15px; flex-direction: column; }
.promo-card figcaption strong { font-size: .92rem; }
.promo-card figcaption span { color: #888; font-size: .72rem; overflow-wrap: anywhere; }
.promo-card figcaption em { width: max-content; margin-top: auto; padding: 4px 7px; border-radius: 5px; background: rgba(242,186,88,.1); color: var(--gold); font-size: .62rem; font-style: normal; font-weight: 800; text-transform: uppercase; }

.spk-section { background: linear-gradient(180deg, #0b0b0b, #111); }
.spk-card { display: flex; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); flex-direction: column; }
.spk-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #181818;
    isolation: isolate;
}

.spk-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--spk-bg);
    background-size: cover;
    background-position: center;
    filter: blur(22px) brightness(.38);
    transform: scale(1.12);
    z-index: -1;
}

.spk-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.spk-body {
    display: flex;
    flex: 1;
    min-height: 130px;
    padding: 16px;
    flex-direction: column;
}
.spk-body h3 { margin: 0 0 8px; color: #f45c61; font-size: .96rem; line-height: 1.35; }
.spk-body p { margin: 0; color: #888; font-size: .78rem; }

.test-drive-section { border-top: 1px solid var(--line); background: radial-gradient(circle at 85% 20%, rgba(215,25,32,.15), transparent 32%), #090909; }
.test-drive-layout { display: grid; gap: 60px; grid-template-columns: .8fr 1.2fr; }
.test-drive-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.test-drive-copy li { margin: 10px 0; color: #bbb; }
.test-drive-copy li i { margin-right: 8px; color: var(--red); }
.test-drive-form { display: grid; width: 100%; min-width: 0; padding: clamp(22px, 4vw, 36px); gap: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #191919, #101010); box-shadow: var(--shadow); }
.form-field { display: flex; min-width: 0; gap: 7px; flex-direction: column; }
.form-field label { color: #ccc; font-size: .75rem; font-weight: 800; }
.form-field input, .form-field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #383838; border-radius: 10px; outline: none; background: #0b0b0b; color: white; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input:focus, .form-field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.form-submit { width: 100%; margin-top: 3px; }
.form-privacy, .form-status { margin: 0; color: #727272; font-size: .68rem; text-align: center; }
.form-status { min-height: 1.2em; color: #8ee4ae; }

.site-footer { padding: 70px 0 24px; border-top: 1px solid var(--line); background: #060606; }
.footer-grid { display: grid; gap: 42px; grid-template-columns: 1.3fr repeat(3, 1fr); }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; }
.footer-grid h2 { margin: 0 0 16px; color: white; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid p, .footer-grid address { max-width: 300px; margin: 15px 0 0; color: #777; font-size: .78rem; font-style: normal; }
.footer-grid > div > a:not(.brand) { margin: 4px 0; color: #999; font-size: .78rem; text-decoration: none; }
.footer-grid > div > a:hover { color: white; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: white; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.social-icons a:hover { border-color: var(--red); background: var(--red-soft); }
.footer-bottom { display: flex; margin-top: 55px; padding-top: 20px; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #555; font-size: .69rem; }
.footer-bottom p { margin: 0; }

.floating-wa { position: fixed; z-index: 1000; right: auto; bottom: max(20px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left)); display: flex; min-height: 50px; padding: 11px 17px; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: #1eaa58; color: white; box-shadow: 0 14px 35px rgba(0,0,0,.35); font-size: .79rem; font-weight: 900; text-decoration: none; transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.floating-wa:hover { transform: translateY(-3px); background: #16954a; }
.floating-wa i { font-size: 1.2rem; }
body.modal-open .floating-wa { opacity: 0; pointer-events: none; transform: translateY(10px); }

.modal, .lightbox { position: fixed; z-index: 2500; inset: 0; display: none; background: rgba(0,0,0,.9); backdrop-filter: blur(12px); }
.modal.is-open, .lightbox.is-open { display: flex; }
.modal { padding: 20px; align-items: center; justify-content: center; overflow-y: auto; }
.modal-dialog { position: relative; width: min(930px, 100%); max-height: calc(100svh - 40px); padding: 34px; overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; background: #111; box-shadow: var(--shadow); }
.modal-close { position: absolute; z-index: 5; top: 12px; right: 14px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #1c1c1c; color: white; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.modal-heading { padding-right: 48px; }
.modal-heading h2 { margin: 8px 0 4px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; }
.modal-heading p { margin: 0; color: #888; font-size: .84rem; }
.modal-swiper { margin-top: 18px; padding-bottom: 52px; }
.variant-card { display: grid; min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #161616; grid-template-columns: 1.05fr .95fr; }
.variant-visual { display: flex; min-height: 320px; padding: 25px; align-items: center; justify-content: center; background: radial-gradient(circle at center, #313131, #0b0b0b 70%); }
.variant-visual img { max-height: 285px; object-fit: contain; }
.variant-info { display: flex; padding: 28px; flex-direction: column; }
.variant-info h3 { margin: 0 0 14px; font-size: 1.55rem; }
.variant-features { margin: 0 0 20px; padding: 0; list-style: none; }
.variant-features li { display: flex; margin: 8px 0; align-items: flex-start; gap: 8px; color: #bbb; font-size: .8rem; }
.variant-features li::before { color: var(--red); content: "✓"; font-weight: 900; }
.variant-price { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: #888; font-size: .72rem; }
.variant-price strong { display: block; color: #ff565c; font-size: 1.45rem; }
.variant-info .btn { margin-top: 16px; }
.modal-note { margin: 4px 0 0; color: #777; font-size: .7rem; text-align: center; }
.modal .controls-hidden { display: none; }

/* The catalogue remains usable when the Swiper CDN is slow or unavailable. */
.cars-swiper:not(.swiper-initialized) .swiper-wrapper,
.spk-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cars-swiper:not(.swiper-initialized) .swiper-slide,
.spk-swiper:not(.swiper-initialized) .swiper-slide { width: auto; }
.cars-swiper:not(.swiper-initialized) > .swiper-pagination,
.cars-swiper:not(.swiper-initialized) > .swiper-button-prev,
.cars-swiper:not(.swiper-initialized) > .swiper-button-next,
.spk-swiper:not(.swiper-initialized) > .swiper-pagination,
.spk-swiper:not(.swiper-initialized) > .swiper-button-prev,
.spk-swiper:not(.swiper-initialized) > .swiper-button-next { display: none; }
.modal-swiper:not(.swiper-initialized) .swiper-wrapper { display: grid; gap: 12px; }
.modal-swiper:not(.swiper-initialized) > .swiper-pagination,
.modal-swiper:not(.swiper-initialized) > .swiper-button-prev,
.modal-swiper:not(.swiper-initialized) > .swiper-button-next { display: none; }

.lightbox { flex-direction: column; }
.lightbox-toolbar { display: flex; min-height: 68px; padding: 10px 20px; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); background: #0d0d0d; }
.lightbox-toolbar h2 { margin: 0; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-toolbar > div { display: flex; gap: 7px; }
.lightbox-toolbar button { display: grid; min-width: 40px; height: 40px; padding: 0 9px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #1a1a1a; color: white; cursor: pointer; }
#lightboxClose { font-size: 1.6rem; }
.lightbox-stage { display: grid; padding: 24px; overflow: auto; flex: 1; place-items: start; }
.lightbox-stage img { width: 100%; max-width: 1080px; height: auto; margin-inline: auto; transition: width .18s ease, max-width .18s ease; }
.noscript { position: fixed; z-index: 4000; right: 10px; bottom: 10px; left: 10px; margin: 0; padding: 12px; border-radius: 8px; background: #7d1115; color: white; text-align: center; }

:focus-visible { outline: 3px solid #ff6267; outline-offset: 3px; }

@media (max-width: 1050px) {
    .nav-links { gap: 15px; }
    .nav-links a { font-size: .69rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links { position: fixed; top: calc(var(--header-height) + 8px); right: 16px; left: 16px; display: none; max-height: calc(100svh - var(--header-height) - 24px); padding: 12px; overflow-y: auto; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,10,10,.98); box-shadow: var(--shadow); flex-direction: column; }
    .nav-links.is-open { display: flex; }
    .nav-links a { display: block; padding: 12px; font-size: .78rem; }
    .nav-links a::after { display: none; }
    .nav-whatsapp { margin-left: 0; }
    .q-layout, .test-drive-layout { grid-template-columns: 1fr; }
    .q-visual { max-width: 620px; }
    .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promo-card, .promo-card:nth-child(4), .promo-card:nth-child(5) { grid-column: auto; }
    .test-drive-copy { max-width: 650px; }
    .cars-swiper:not(.swiper-initialized) .swiper-wrapper,
    .spk-swiper:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    :root { --header-height: 66px; }
    .container, .navbar { width: min(100% - 28px, 1180px); }
    .section { padding: 68px 0; }
    .nav-whatsapp { width: 42px; height: 42px; padding: 0; justify-content: center; }
    .nav-whatsapp span { display: none; }
    .nav-whatsapp i, .floating-wa i { display: none; }
    .nav-whatsapp::after, .floating-wa::after { color: white; content: "WA"; font-size: .64rem; font-weight: 900; letter-spacing: .03em; }
    .hero { min-height: 100svh; padding: calc(var(--header-height) + 28px) 0 28px; background-position: center; }
    .hero::before { background: linear-gradient(180deg, rgba(3,3,3,.65), rgba(3,3,3,.92) 72%, #080808); }
    .hero-content { text-align: center; }
    .hero-content { padding-top: 0; }
    .hero-content h1 { margin: 8px 0 17px; font-size: clamp(2.25rem, 12vw, 3.8rem); line-height: .94; }
    .hero-copy { margin: 0 auto 21px; font-size: .94rem; line-height: 1.5; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-points { display: grid; margin-top: 24px; padding-top: 16px; gap: 10px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-points span { min-width: 0; }
    .hero-points span:last-child { grid-column: 1 / -1; }
    .scroll-cue { display: none; }
    .q-specs { grid-template-columns: repeat(2, 1fr); }
    .promo-card { width: 100%; max-width: 440px; margin-inline: auto; }
    .variant-card { grid-template-columns: 1fr; }
    .variant-visual { min-height: 220px; }
    .modal { padding: 10px; }
    .modal-dialog { max-height: calc(100svh - 20px); padding: 24px 16px; }
    .modal-heading { padding-right: 42px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .floating-wa { right: auto; bottom: max(14px, env(safe-area-inset-bottom)); left: max(14px, env(safe-area-inset-left)); width: 50px; padding: 0; justify-content: center; }
    .floating-wa span { display: none; }
    .lightbox-toolbar { padding-inline: 12px; }
    .lightbox-toolbar h2 { max-width: 35vw; }
    .lightbox-stage { padding: 12px; }
    .cars-prev, .cars-next, .spk-prev, .spk-next { display: none; }
    .form-field input, .form-field select, .form-submit { min-height: 52px; }
    .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    .cars-swiper:not(.swiper-initialized) .swiper-wrapper,
    .spk-swiper:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .promo-grid { grid-template-columns: 1fr; }
    .q-sigma div { flex-direction: column; gap: 5px; }
    .q-sigma strong { white-space: normal; }
}

@media (max-width: 430px) {
    .brand { font-size: .92rem; }
    .navbar { width: calc(100% - 24px); gap: 10px; }
    .nav-links { right: 12px; left: 12px; }
    .q-specs { grid-template-columns: 1fr 1fr; }
    .car-filters { display: grid; grid-template-columns: repeat(2, 1fr); }
    .filter-btn { width: 100%; }
    .lightbox-toolbar { min-height: 60px; justify-content: center; }
    .lightbox-toolbar h2 { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .lightbox-toolbar button { min-width: 44px; height: 44px; }
}

@media (max-width: 390px) {
    .navbar { width: calc(100% - 20px); gap: 8px; }
    .brand { min-width: 0; gap: 4px; font-size: .84rem; letter-spacing: .055em; }
    .nav-toggle { width: 40px; height: 40px; padding: 9px; flex: 0 0 40px; }
    .nav-whatsapp { width: 40px; height: 40px; flex: 0 0 40px; }
    .nav-links { right: 10px; left: 10px; }
    .promo-grid, .promo-card, .promo-open { width: 100%; min-width: 0; }
    .promo-card figcaption { min-height: 90px; }
}

@media (max-width: 350px) {
    .container, .navbar { width: calc(100% - 24px); }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-points strong { font-size: .75rem; }
    .hero-points span { font-size: .7rem; }
    .q-specs { grid-template-columns: 1fr; }
    .q-variants { display: grid; grid-template-columns: repeat(2, 1fr); }
    .q-variant { width: 100%; }
}

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