/* ============================================================
   INCOLMOTOS YAMAHA BOGOTÁ
   Design System — one-page
   Base estética: contraste claro/oscuro, rojo Yamaha, píldoras,
   tarjetas con sombra suave. Tipografía única: Inter.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
    /* Marca */
    --red: #e00611;
    --red-dark: #b0040d;
    --red-ink: #8f030a;
    --red-tint: #fdecec;
    --red-glow: rgba(224, 6, 17, .45);

    /* Texto */
    --navy: #0f1b38;
    --ink: #2f3238;
    --muted: #6b7280;
    --muted-dark: #9ca3af;

    /* Superficies */
    --white: #ffffff;
    --alt: #f4f5f7;
    --alt-2: #eceef1;
    --black: #060607;
    --black-soft: #111113;
    --black-card: #17171a;

    /* Bordes */
    --border: #e2e4e9;
    --border-strong: #d3d7de;
    --border-dark: #26262b;

    /* Tipografía */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .875rem;
    --fs-base: 1rem;
    --fs-lg: 1.0625rem;
    --fs-xl: 1.25rem;
    --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
    --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
    --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
    --lh-body: 1.7;
    --lh-head: 1.12;

    /* Espaciado */
    --wrap: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --sec-y: clamp(4rem, 7vw, 7rem);

    /* Radios */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;

    /* Sombras */
    --sh-sm: 0 1px 3px rgba(15, 27, 56, .07), 0 1px 2px rgba(15, 27, 56, .04);
    --sh-md: 0 6px 18px rgba(15, 27, 56, .08), 0 2px 6px rgba(15, 27, 56, .05);
    --sh-lg: 0 18px 44px rgba(15, 27, 56, .13), 0 6px 14px rgba(15, 27, 56, .07);
    --sh-red: 0 10px 26px rgba(224, 6, 17, .32);

    /* Movimiento */
    --t-fast: 180ms cubic-bezier(.4, 0, .2, 1);
    --t: 280ms cubic-bezier(.4, 0, .2, 1);
    --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
    margin: 0;
    color: var(--navy);
    line-height: var(--lh-head);
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

/* El atributo hidden debe ganar siempre a los display de los componentes */
[hidden] { display: none !important; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}

::selection { background: var(--red); color: #fff; }

/* ---------- 3. Utilidades ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); }
.section--alt { background: var(--alt); }

.section--dark {
    background: var(--black);
    color: rgba(255, 255, 255, .78);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.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;
}

.skip-link {
    position: absolute; top: -100px; left: 1rem; z-index: 200;
    background: var(--red); color: #fff;
    padding: .75rem 1.25rem; border-radius: var(--r-sm);
    font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .75rem;
}

.section-head {
    max-width: 46rem;
    margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
    text-align: center;
}
.section-head .lead {
    margin-top: 1rem;
    font-size: var(--fs-lg);
    color: var(--muted);
}
.section--dark .section-head .lead { color: var(--muted-dark); }

/* ---------- 4. Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.75rem;
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: -.01em;
    border: 1.5px solid transparent;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast),
                box-shadow var(--t-fast);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { background: var(--red-dark); }

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

.btn--outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--alt); }

.btn--wide { width: 100%; }
.btn--sm { padding: .625rem 1.25rem; font-size: var(--fs-xs); }

.btn--wa { background: #25d366; color: #08331a; box-shadow: 0 10px 26px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1fbe5b; }

/* ---------- 5. Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.header.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 14px rgba(15, 27, 56, .06);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand__logo { width: 42px; height: 42px; object-fit: contain; }
.brand__name {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.15;
}
.brand__name span { display: block; font-size: .6875rem; font-weight: 600; color: var(--red); letter-spacing: .1em; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__cta { display: none; }
.nav__link {
    display: block;
    padding: .5rem .875rem;
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink);
    transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__link.is-active { color: var(--red); background: var(--red-tint); }

.header__cta { flex: none; }

.burger {
    display: none;
    width: 44px; height: 44px;
    margin-left: auto;
    border-radius: var(--r-sm);
    align-items: center;
    justify-content: center;
}
.burger span {
    display: block; position: relative;
    width: 22px; height: 2px; border-radius: 2px; background: var(--navy);
    transition: transform var(--t-fast), background var(--t-fast);
}
.burger span::before, .burger span::after {
    content: ''; position: absolute; left: 0;
    width: 22px; height: 2px; border-radius: 2px; background: var(--navy);
    transition: transform var(--t-fast), top var(--t-fast);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    background: var(--black);
    color: rgba(255, 255, 255, .74);
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
}
.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto auto;
    width: min(70vw, 820px);
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.125rem;
    border-radius: var(--r-pill);
    background: rgba(224, 6, 17, .14);
    border: 1px solid rgba(224, 6, 17, .38);
    color: #ff6b6b;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero__badge svg { width: 16px; height: 16px; }

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--red); }

.hero__lead {
    font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
    color: rgba(255, 255, 255, .72);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    max-width: 34rem;
}
.hero__stat b {
    display: block;
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
}
.hero__stat span {
    display: block;
    margin-top: .5rem;
    font-size: var(--fs-xs);
    color: var(--muted-dark);
    line-height: 1.4;
}

.hero__media {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 65% 45%, rgba(224, 6, 17, .38) 0%, transparent 60%),
        linear-gradient(160deg, #1a1a1e 0%, #09090b 100%);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.hero__media img {
    width: 92%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .6));
}

/* ---------- 7. Barra de confianza ---------- */
.trust {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding-block: 1.5rem;
}
.trust__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem 1.75rem;
}
.trust__item {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--navy);
}
.trust__item svg { width: 22px; height: 22px; flex: none; color: var(--red); }

/* ---------- 8. Catálogo ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .625rem;
    margin-bottom: 2.5rem;
}
.chip {
    padding: .625rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-pill);
    background: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
    transition: all var(--t-fast);
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: var(--sh-red);
}
.chip b { font-weight: 700; opacity: .6; margin-left: .25rem; }

.grid-motos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.moto-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.moto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
}
.moto-card.is-hidden { display: none; }

.moto-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(165deg, #fafbfc 0%, #eef0f4 100%);
    display: grid;
    place-items: center;
    padding: 1rem;
    overflow: hidden;
}
.moto-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--t);
}
.moto-card:hover .moto-card__media img { transform: scale(1.06); }

.moto-card__badge {
    position: absolute;
    top: .875rem;
    left: .875rem;
    z-index: 2;
    padding: .3125rem .75rem;
    border-radius: var(--r-pill);
    background: var(--navy);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.moto-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.375rem 1.5rem;
}
.moto-card__brand {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .375rem;
}
.moto-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .875rem;
}

.moto-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.moto-card__specs dt {
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    order: 2;
}
.moto-card__specs dd {
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--navy);
    order: 1;
}
.moto-card__spec { display: flex; flex-direction: column; }

.moto-card__price { margin-bottom: 1.125rem; }
.moto-card__price small {
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.moto-card__price b {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.03em;
}

.moto-card__actions { margin-top: auto; display: grid; gap: .5rem; }

.catalog__meta {
    margin-top: 2rem;
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--muted);
}
.catalog__empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--muted);
    grid-column: 1 / -1;
}

/* ---------- 8b. Ficha técnica (modal) ---------- */
.moto-card--clickable { cursor: pointer; }
.moto-card--clickable .moto-card__name { transition: color var(--t-fast); }
.moto-card--clickable:hover .moto-card__name { color: var(--red); }

.ficha {
    width: min(94vw, 720px);
    max-height: min(90vh, 900px);
    padding: 0;
    border: none;
    border-radius: var(--r-lg);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--sh-lg);
    overflow: hidden;
}
.ficha::backdrop {
    background: rgba(6, 6, 7, .68);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.ficha[open] { display: flex; flex-direction: column; }

.ficha__scroll { overflow-y: auto; overscroll-behavior: contain; }

.ficha__media {
    position: relative;
    width: 100%;
    height: clamp(190px, 32vh, 320px);
    /* blanco y no degradado: varias fotos del catálogo traen fondo blanco
       sólido y sobre el degradado se les nota el recuadro. */
    background: #fff;
    border-bottom: 1px solid var(--border);
    /* flex y no grid: con una fila auto, el height:100% de la imagen
       queda cíclico y el navegador lo trata como auto (se desborda). */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.ficha__media img { width: 100%; height: 100%; object-fit: contain; }

.ficha__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .3125rem .75rem;
    border-radius: var(--r-pill);
    background: var(--navy);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ficha__close {
    position: absolute;
    top: .875rem;
    right: .875rem;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.ficha__close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.ficha__close svg { width: 18px; height: 18px; }

.ficha__body { padding: 1.5rem clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); }

.ficha__brand {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .375rem;
}
.ficha__name {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.15;
}
.ficha__price {
    margin-top: .5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.03em;
}
.ficha__price small {
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.ficha__highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .625rem;
    margin: 1.375rem 0 0;
}
.ficha__highlights li {
    padding: .875rem .75rem;
    border-radius: var(--r-sm);
    background: var(--alt);
    text-align: center;
}
.ficha__highlights b {
    display: block;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
}
.ficha__highlights span {
    display: block;
    margin-top: .1875rem;
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.ficha__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.75rem;
    margin: 1.5rem 0 0;
}
.ficha__spec {
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
}
.ficha__spec dt {
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .1875rem;
}
.ficha__spec dd {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.45;
    color: var(--navy);
}

.ficha__note {
    margin-top: 1.25rem;
    font-size: .75rem;
    line-height: 1.6;
    color: var(--muted);
}
.ficha__cta { margin-top: 1.125rem; }

@media (max-width: 620px) {
    .ficha__specs { grid-template-columns: 1fr; gap: 0; }
    .ficha__highlights { gap: .5rem; }
    .ficha__highlights li { padding: .75rem .5rem; }
    .ficha__price { font-size: 1.3125rem; }
}

/* ---------- 9. Banner de financiación ---------- */
.promo {
    position: relative;
    background: var(--black);
    color: rgba(255, 255, 255, .74);
    overflow: hidden;
}
.promo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.promo__tag {
    display: inline-block;
    padding: .4375rem 1rem;
    border-radius: var(--r-pill);
    background: var(--red);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.promo h2 { color: #fff; margin-bottom: 1rem; }
.promo__text { color: rgba(255, 255, 255, .72); margin-bottom: 1.75rem; max-width: 32rem; }
.promo__points { display: grid; gap: .75rem; margin-bottom: 2rem; }
.promo__points li { display: flex; align-items: flex-start; gap: .625rem; font-size: var(--fs-sm); }
.promo__points svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }
.promo__media {
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background:
        radial-gradient(110% 90% at 50% 55%, rgba(224, 6, 17, .32) 0%, transparent 62%),
        linear-gradient(160deg, #1c1c20 0%, #0a0a0c 100%);
    display: grid;
    place-items: center;
}
.promo__media img { width: 94%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); }

/* ---------- 10. Tarjetas con ícono ---------- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.75rem;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }

.card__icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: var(--r-sm);
    background: var(--red-tint);
    color: var(--red);
    margin-bottom: 1.25rem;
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: .625rem; font-size: 1.0625rem; }
.card p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.25rem; }
.card__link {
    margin-top: auto;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    transition: gap var(--t-fast);
}
.card__link:hover { gap: .75rem; }

/* CTA de WhatsApp dentro de las tarjetas de repuestos */
.card__cta { margin-top: auto; align-self: flex-start; }

/* Variante oscura (sección respaldo) */
.section--dark .card {
    background: var(--black-card);
    border-color: var(--border-dark);
}
.section--dark .card:hover { border-color: rgba(224, 6, 17, .5); box-shadow: 0 20px 46px rgba(0, 0, 0, .6); }
.section--dark .card__icon { background: rgba(224, 6, 17, .16); color: #ff5c5c; }
.section--dark .card p { color: var(--muted-dark); }

/* ---------- 11. Servicios (lista alterna) ---------- */
.services { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.service {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.75rem;
    transition: box-shadow var(--t), border-color var(--t);
}
.service:hover { box-shadow: var(--sh-md); border-color: var(--border-strong); }
.service__num {
    display: grid; place-items: center;
    width: 88px; height: 88px;
    border-radius: var(--r-sm);
    background: linear-gradient(150deg, var(--red) 0%, var(--red-ink) 100%);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.04em;
}
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.service__tags li {
    padding: .25rem .75rem;
    border-radius: var(--r-pill);
    background: var(--alt);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--navy);
}
.service__cta { margin-top: 1.25rem; }

/* ---------- 12. FAQ ---------- */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: .875rem; }
.faq__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item[open] { border-color: var(--red); box-shadow: var(--sh-md); }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '';
    flex: none;
    width: 12px; height: 12px;
    border-right: 2.5px solid var(--red);
    border-bottom: 2.5px solid var(--red);
    transform: rotate(45deg) translateY(-3px);
    transition: transform var(--t-fast);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__answer { padding: 0 1.5rem 1.375rem; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 13. Contacto ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.contact__list { display: grid; gap: 1.5rem; margin: 2rem 0; }
.contact__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; }
.contact__item svg { width: 44px; height: 44px; padding: 11px; border-radius: var(--r-sm); background: var(--red-tint); color: var(--red); }
.contact__label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .1875rem;
}
.contact__value { margin: 0; font-weight: 600; color: var(--navy); }
.contact__value a:hover { color: var(--red); }
.contact__value span { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-sm); }

.map {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--alt);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--sh-md);
}
.form-card h3 { margin-bottom: .5rem; }
.form-card > p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.75rem; }

.field { margin-bottom: 1.125rem; }
.field label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .4375rem;
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: .8125rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: var(--fs-sm);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(224, 6, 17, .11);
}
.field input::placeholder, .field textarea::placeholder { color: #a7adb8; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__error { display: none; margin-top: .375rem; font-size: var(--fs-xs); font-weight: 600; color: var(--red); }
.field.has-error .field__error { display: block; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem; }

.form-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.form-note a { color: var(--red); font-weight: 600; text-decoration: underline; }

/* ---------- 14. Footer ---------- */
.footer {
    background: var(--black);
    color: var(--muted-dark);
    padding-block: clamp(3rem, 5vw, 4.5rem) 0;
    font-size: var(--fs-sm);
}
.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    padding-bottom: 3rem;
}
.footer .brand__name { color: #fff; }
.footer__about { margin-top: 1.25rem; max-width: 26rem; }
.footer__contact {
    margin-top: 1rem;
    max-width: 26rem;
    font-style: normal;
    line-height: 1.9;
}
.footer__contact a { transition: color var(--t-fast); }
.footer__contact a:hover { color: var(--red); }
.footer h4 {
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1.125rem;
}
.footer__links { display: grid; gap: .75rem; }
.footer__links a { transition: color var(--t-fast); }
.footer__links a:hover { color: var(--red); }

.social { display: flex; gap: .625rem; margin-top: 1.5rem; }
.social:empty { display: none; }
.social a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border: 1px solid var(--border-dark);
    border-radius: var(--r-sm);
    color: #fff;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

.footer__bottom {
    border-top: 1px solid var(--border-dark);
    padding-block: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__legal a:hover { color: #fff; }
.footer__disclaimer {
    padding-bottom: 2rem;
    font-size: .75rem;
    line-height: 1.6;
    color: #6b6b72;
}

/* ---------- 15. Flotantes ---------- */
.wa-float {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 90;
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .42);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.55); opacity: 0; }
}

.mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: none;
    gap: .625rem;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
}
.mobile-bar .btn { flex: 1; padding-inline: .75rem; }

/* ---------- 16. Cookies ---------- */
.cookie {
    position: fixed;
    left: clamp(1rem, 3vw, 1.75rem);
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 120;
    max-width: 30rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 1.375rem 1.5rem;
    display: none;
}
.cookie.is-open { display: block; }
.cookie p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.125rem; }
.cookie p a { color: var(--red); font-weight: 600; text-decoration: underline; }
.cookie__actions { display: flex; gap: .625rem; flex-wrap: wrap; }

/* ---------- 17. Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translate(-50%, 150%);
    z-index: 130;
    max-width: min(90vw, 25rem);
    padding: .875rem 1.375rem;
    border-radius: var(--r-pill);
    background: var(--navy);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    box-shadow: var(--sh-lg);
    transition: transform var(--t);
}
.toast.is-open { transform: translate(-50%, 0); }

/* ---------- 18. Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms cubic-bezier(.16, 1, .3, 1), transform 620ms cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 19. Páginas legales ---------- */
.page-head {
    background: var(--black);
    color: rgba(255, 255, 255, .72);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.page-head h1 { color: #fff; margin-bottom: .75rem; font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); }
.page-head p { color: var(--muted-dark); }
.crumbs { display: flex; gap: .5rem; font-size: var(--fs-xs); color: var(--muted-dark); margin-bottom: 1.25rem; }
.crumbs a:hover { color: #fff; }

.legal { max-width: 48rem; margin-inline: auto; }
.legal h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); margin: 2.5rem 0 1rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.0625rem; margin: 1.75rem 0 .625rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; display: grid; gap: .5rem; }
.legal a { color: var(--red); font-weight: 600; text-decoration: underline; }
.legal .updated {
    display: inline-block;
    padding: .375rem 1rem;
    border-radius: var(--r-pill);
    background: var(--alt);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2rem;
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; aspect-ratio: 16 / 10; }
    .hero__stats { max-width: none; }
    .promo__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    :root { --header-h: 68px; }

    .burger { display: flex; }
    .header__cta { display: none; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        display: block;
        background: #fff;
        padding: 1.5rem var(--gutter) 2.5rem;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform var(--t), visibility var(--t);
        margin-left: 0;
    }
    .nav.is-open { transform: none; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
    .nav__link {
        padding: .9375rem 1rem;
        font-size: 1.0625rem;
        font-weight: 600;
        border-radius: var(--r-sm);
        border-bottom: 1px solid var(--border);
    }
    .nav__cta { margin-top: 1.5rem; display: block; }
    .nav__cta .btn { width: 100%; }

    .mobile-bar { display: flex; }
    .wa-float { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
    .cookie { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
    /* Deja aire para que la barra fija no tape el final del footer */
    body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }

    .service { grid-template-columns: 1fr; gap: 1.125rem; }
    .service__num { width: 60px; height: 60px; font-size: 1.375rem; }
}

@media (max-width: 560px) {
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .hero__stat:last-child { grid-column: 1 / -1; }
    .hero__actions .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { justify-content: flex-start; }
    .grid-motos { grid-template-columns: 1fr; }
}

/* ---------- 21. Preferencias / impresión ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .header, .nav, .wa-float, .mobile-bar, .cookie, .toast, .form-card, .map { display: none !important; }
    body { color: #000; }
    .hero, .promo, .section--dark, .footer { background: #fff !important; color: #000 !important; }
    .hero h1, .promo h2, .section--dark h2, .section--dark h3 { color: #000 !important; }
}
