/* ==========================================================================
   Audi Marrocchi Exclusivos — Web 2026
   ========================================================================== */

/* ---------- Tipografías ---------- */
@font-face {
    font-family: 'AudiType';
    src: url('../fonts/AudiTypeScreen-Normal.woff') format('woff'),
         url('../fonts/AudiType-Normal_4.03.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AudiType Extended';
    src: url('../fonts/AudiType-ExtendedNormal_4.03.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AudiType Extended';
    src: url('../fonts/AudiType-ExtendedBold_4.03.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Variables ---------- */
:root {
    --bg: rgb(16, 19, 25);          /* #101319 — fondo nuevo */
    --surface: #1e2128;             /* tarjetas de modelos */
    --accent: #657080;              /* botones "Saber más", "Ver modelo", "Enviar" */
    --accent-hover: #7a8596;
    --text: #ffffff;
    --text-muted: #a9b0bb;
    --footer-bg: #000000;
    --line: rgba(255, 255, 255, 0.85);

    --radius-lg: 22px;
    --radius-md: 14px;
    --header-h: 64px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 48px);

    --font-text: 'AudiType', 'Segoe UI', Arial, sans-serif;
    --font-ext: 'AudiType Extended', 'AudiType', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1, h2, h3, h4, p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: var(--line);
}

.btn-outline:hover {
    background: #fff;
    color: var(--bg);
}

.btn-block {
    width: 100%;
}

.btn-strong {
    font-weight: 700;
}

.btn-sm {
    min-height: 42px;
    padding: 9px 38px;
    font-size: 14px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    height: var(--header-h);
    padding-inline: var(--gutter);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.brand img {
    width: 56px;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-ext);
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: .02em;
}

.brand-text strong {
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    gap: clamp(14px, 1.6vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    position: relative;
    display: block;
    padding: 6px 0;
    font-family: var(--font-ext);
    font-size: 14px;
    letter-spacing: .02em;
    color: #fff;
    text-decoration: none;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: transform .25s ease, opacity .25s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero > img {
    width: 100%;
    height: auto;
    aspect-ratio: 2729 / 1043;
    object-fit: cover;
    object-position: 60% center;
}

.hero-content {
    position: absolute;
    top: 18%;
    left: 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.hero-content h1 {
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: clamp(28px, 2.6vw, 44px);
    letter-spacing: .01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

/* ---------- Tira de modelos ---------- */
.models-strip {
    padding: 28px 0 72px;
}

.models-strip .container {
    max-width: 1400px;
}

.section-title {
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 26px;
}

.models-strip .section-title {
    padding-left: 40px;
}

.strip-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 2vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.strip-list a {
    display: block;
    text-decoration: none;
    color: #fff;
}

.strip-list .strip-name {
    display: block;
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 6px;
}

.strip-list img {
    width: 100%;
    aspect-ratio: 1200 / 520;
    object-fit: contain;
    transition: transform .35s ease;
}

.strip-list a:hover img {
    transform: translateX(6px);
}

/* ---------- Tiles de secciones ---------- */
.tiles {
    padding-bottom: 72px;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile {
    position: relative;
    display: block;
    aspect-ratio: 789 / 828;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    z-index: -2;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 45%);
    z-index: -1;
}

.tile:hover img {
    transform: scale(1.04);
}

.tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.tile-title {
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 38px);
    letter-spacing: .02em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.tile-link {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tile-link::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
    transition: transform .25s ease;
}

.tile:hover .tile-link::after {
    transform: translateX(4px);
}

/* ==========================================================================
   MODELOS
   ========================================================================== */
.models-page {
    padding: 72px 0 56px;
}

.models-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---------- Filtros ---------- */
.filters {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.filters-toggle {
    display: none;
}

.filter-group + .filter-group {
    margin-top: 26px;
}

.filter-label {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    font: 700 15px/1.25 var(--font-text);
    text-align: left;
    color: var(--text);
    background: #1a1e26;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.chip:hover {
    border-color: rgba(255, 255, 255, .45);
}

.chip[aria-pressed="true"] {
    background: #fff;
    border-color: #fff;
    color: var(--bg);
}

.chip:focus-visible,
.filters-toggle:focus-visible,
.filters-clear:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.chip svg {
    flex: none;
}

.filters-clear {
    display: block;
    margin-top: 26px;
    padding: 0;
    font: 400 14px/1.4 var(--font-text);
    color: var(--text-muted);
    background: none;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.filters-clear:hover {
    color: var(--text);
}

.filters-clear[hidden] {
    display: none;
}

.filters-status {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.filters-empty {
    margin: 32px 0;
    font-size: 16px;
}

.models-grid li[hidden] {
    display: none;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.model-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 20px 28px;
    background: var(--surface);
    border-radius: var(--radius-md);
}

.model-card img {
    width: calc(100% + 16px);
    max-width: none;
    aspect-ratio: 1200 / 520;
    object-fit: contain;
    margin: 40px -8px 0;
    transition: transform .4s ease;
}

.model-card:hover img {
    transform: scale(1.03);
}

.model-card h2 {
    font-family: var(--font-ext);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .02em;
    margin: 18px 0 40px 16px;
}

.model-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

/* ==========================================================================
   PÁGINA DE MODELO (/modelos/<modelo>/)
   ========================================================================== */
.model-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 90;
    background: #2b333e;
}

.model-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    padding: 12px clamp(20px, 5.5vw, 78px);
}

.model-bar-name {
    white-space: nowrap;
    font-family: var(--font-ext);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
}

.model-hero {
    position: relative;
}

.model-hero img {
    width: 100%;
    max-height: 72vh;
    aspect-ratio: 2728 / 853;
    object-fit: cover;
}

.model-hero h1 {
    position: absolute;
    left: clamp(20px, 4.5vw, 62px);
    bottom: 7%;
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: clamp(30px, 3.2vw, 46px);
    letter-spacing: .01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.features {
    padding: 72px 0 16px;
}

.features .container {
    max-width: 1340px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(28px, 4.5vw, 58px);
    margin-bottom: 72px;
}

.feature img {
    width: 100%;
    aspect-ratio: 1237 / 694;
    object-fit: cover;
    border-radius: 18px;
}

.feature-text {
    padding-top: clamp(0px, 4.5vw, 56px);
}

.feature-text h2 {
    margin-bottom: 18px;
    font-family: var(--font-ext);
    font-weight: 700;
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: 1.15;
}

.feature-text p {
    max-width: 560px;
    font-family: var(--font-ext);
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: .02em;
    color: #e6e8eb;
}

.feature-text p + p {
    margin-top: 14px;
}

/* Conserva el espacio final dentro de botones flex ("Consultar por WhatsApp") */
.hide-sm {
    white-space: pre;
}

.feature-reverse .feature-text {
    order: -1;
    padding-left: clamp(0px, 2vw, 24px);
}

.feature-reverse .feature-text {
    padding-top: clamp(0px, 6vw, 80px);
}

/* ==========================================================================
   SECCIONES INTERNAS (Servicios, Accesorios, Repuestos, Usados, Contacto)
   ========================================================================== */
.page-hero img {
    width: 100%;
    max-height: 70vh;
    aspect-ratio: 1920 / 600;
    object-fit: cover;
}

.page-hero-plain {
    padding: 64px 0 8px;
}

.page-hero-plain h1 {
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
}

.intro {
    padding: 56px 0 24px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: center;
    gap: clamp(32px, 9vw, 120px);
    max-width: 1060px;
    margin-inline: auto;
}

.intro-grid img {
    width: 100%;
    aspect-ratio: 789 / 828;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.intro-text {
    font-family: var(--font-ext);
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: .02em;
}

.intro-text strong {
    font-weight: 700;
}

.intro-text .btn {
    margin-top: 28px;
    font-family: var(--font-text);
    letter-spacing: 0;
}

.intro-text .intro-sub {
    margin-top: 18px;
}

.intro-solo {
    padding-bottom: 88px;
}

.intro-top {
    padding-top: 40px;
}

.notice {
    margin-top: 18px;
    font-family: var(--font-text);
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0;
}

/* ---------- Formularios ---------- */
.form-section {
    padding: 48px 0 80px;
}

.contact-form {
    max-width: 850px;
    margin-inline: auto;
}

.contact-form > h2 {
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form fieldset {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.contact-form legend {
    padding: 0;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 20px;
}

.form-row {
    display: grid;
    gap: 12px;
    margin-bottom: 10px;
}

.cols-2 { grid-template-columns: 360fr 478fr; }
.cols-2-eq { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: 360fr 230fr 230fr; }
.cols-4 { grid-template-columns: 360fr 152fr 152fr 152fr; }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 6px 8px;
    background: transparent;
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-text);
    font-size: 19px;
    transition: border-color .2s ease, background-color .2s ease;
}

.contact-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

.contact-form select option {
    background: var(--bg);
}

.contact-form textarea {
    min-height: 90px;
    resize: vertical;
}

.contact-form ::placeholder {
    color: #fff;
    opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, .04);
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.form-actions .btn {
    min-width: 165px;
    font-size: 21px;
}

.form-status {
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- Contacto: tarjetas de sedes ---------- */
.branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 960px;
    margin: 40px auto 0;
}

.branch {
    padding: 28px;
    background: var(--surface);
    border-radius: var(--radius-md);
}

.branch h2 {
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 14px;
}

.branch p {
    color: #e6e8eb;
    font-size: 15px;
}

.branch a {
    text-decoration: none;
}

.branch a:hover {
    text-decoration: underline;
}

.branch .btn {
    margin-top: 20px;
    text-decoration: none;
}

/* ---------- Compliance ---------- */
.compliance {
    padding: 56px 0 80px;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
    align-items: start;
    max-width: 1100px;
    margin-inline: auto;
}

.compliance h1 {
    font-family: var(--font-ext);
    font-weight: 700;
    font-size: clamp(26px, 2.6vw, 36px);
    margin-bottom: 28px;
}

.compliance h2 {
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: 20px;
    margin: 32px 0 12px;
}

.compliance p {
    font-family: var(--font-ext);
    font-size: 14px;
    line-height: 1.6;
    color: #e6e8eb;
}

.compliance img {
    border-radius: var(--radius-lg);
}

.compliance .contact-form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.compliance .form-row {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   FOOTER (mismo contenido que el sitio actual)
   ========================================================================== */
.site-footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 48px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 32px;
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 72px);
}

.footer-col h2 {
    margin-bottom: 8px;
    font-family: var(--font-ext);
    font-weight: 400;
    font-size: 20px;
}

.footer-col h2 a {
    text-decoration: none;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-col a {
    text-decoration: none;
    transition: color .3s ease;
}

.footer-col a:hover {
    color: #747272;
}

.footer-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 40px;
}

.compliance-link {
    display: block;
    width: 178px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 2px solid #fff;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: color .3s ease;
}

.compliance-link:hover {
    color: #747272;
}

.social {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social a {
    display: block;
    transition: opacity .3s ease;
}

.social a:hover {
    opacity: .7;
}

.social img {
    width: 26px;
    height: 26px;
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found {
    padding: calc(var(--header-h) + 64px) 0 0;
    text-align: center;
    overflow: hidden;
}

.not-found-code {
    font-family: var(--font-ext);
    font-weight: 700;
    font-size: clamp(88px, 16vw, 180px);
    line-height: 1;
    letter-spacing: .04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .28);
    user-select: none;
}

.not-found h1 {
    margin-top: 20px;
    font-family: var(--font-ext);
    font-size: clamp(22px, 3.4vw, 36px);
    font-weight: 400;
    line-height: 1.25;
}

.not-found-text {
    margin-top: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.not-found-car {
    display: block;
    width: min(100%, 860px);
    height: auto;
    margin: 40px auto 0;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .models-layout { grid-template-columns: 240px 1fr; gap: 32px; }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    :root { --header-h: 60px; }

    .nav-toggle { display: block; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }

    .site-header.is-open .main-nav {
        max-height: 420px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px var(--gutter) 20px;
    }

    .main-nav a {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .main-nav a::after { display: none; }

    .main-nav a[aria-current="page"] { color: var(--text-muted); }

    .hero > img {
        aspect-ratio: auto;
        height: clamp(360px, 62vw, 520px);
    }

    .hero-content {
        top: 12%;
        left: var(--gutter);
    }

    .models-strip .section-title { padding-left: 0; }

    .models-page { padding-top: 32px; }

    .models-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filters { position: static; }

    .filters-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 50px;
        padding: 12px 18px;
        font: 700 15px/1.2 var(--font-text);
        color: var(--text);
        background: #1a1e26;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 10px;
        cursor: pointer;
    }

    .filters-toggle::after {
        content: "";
        width: 9px;
        height: 9px;
        margin-left: auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-3px) rotate(45deg);
        transition: transform .25s ease;
    }

    .filters-toggle[aria-expanded="true"]::after {
        transform: translateY(2px) rotate(-135deg);
    }

    .filters-count {
        padding: 2px 9px;
        font-size: 13px;
        color: var(--bg);
        background: #fff;
        border-radius: 20px;
    }

    .filters-count[hidden] { display: none; }

    .filters-panel { padding: 22px 2px 6px; }

    .filters.is-collapsed .filters-panel { display: none; }

    .strip-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .strip-list li {
        flex: 0 0 42%;
        scroll-snap-align: start;
    }

    .tiles-grid { grid-template-columns: repeat(2, 1fr); }

    .intro-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .intro-text { text-align: center; }

    .feature {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 48px;
    }

    .feature-reverse .feature-text { order: 0; }

    .feature-text,
    .feature-reverse .feature-text { padding: 0; }

    .model-hero img {
        aspect-ratio: auto;
        height: clamp(300px, 60vw, 460px);
    }

    .branches { grid-template-columns: 1fr; }

    .compliance-grid { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-extra {
        align-items: flex-start;
        padding-right: 0;
    }

    .compliance-link { text-align: left; }
}

@media (max-width: 760px) {
    .models-grid { grid-template-columns: repeat(2, 1fr); }

    .cols-2,
    .cols-2-eq,
    .cols-3 { grid-template-columns: 1fr; }

    .cols-4 { grid-template-columns: 1fr 1fr; }
    .cols-4 > :first-child { grid-column: 1 / -1; }

    .contact-form input,
    .contact-form select,
    .contact-form textarea { font-size: 17px; }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}

@media (max-width: 560px) {
    .tiles-grid { grid-template-columns: 1fr; }
    .tile { aspect-ratio: 4 / 3.4; }

    .models-grid { grid-template-columns: 1fr; }

    .strip-list li { flex-basis: 64%; }

    .brand img { width: 46px; }
    .brand-text { font-size: 10px; }

    .social { gap: 24px; }

    .model-bar-inner { padding-block: 10px; }
    .model-bar .btn-sm { padding-inline: 22px; }
    .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
