/**
 * Bella Strada — Hub de coches (/coches/)
 *
 * Catálogo editorial de coches. Se carga en:
 * - /coches/        (hub)
 * - /experiencias/  (banda de enlaces a las fichas)
 *
 * Las fichas individuales usan page-coche-v2.css y sus propias clases .bsc-*.
 * Todas las clases del hub llevan el prefijo .bsv- para no chocar con el resto
 * de páginas del plugin.
 */

.bsv-page,
.bsv-strip {
    --bsv-black: #070809;
    --bsv-black-2: #0e1011;
    --bsv-cream: #f3efe7;
    --bsv-paper: #fcfaf5;
    --bsv-ink: #0e1011;
    --bsv-muted: #9b9a94;
    --bsv-dim: #6f706b;
    --bsv-red: #b7192a;
    --bsv-red-hot: #f03246;
    --bsv-gold: #d9b45a;
    --bsv-gold-soft: #f0d79b;
    --bsv-line: rgba(243, 239, 231, 0.16);
    --bsv-line-dark: rgba(7, 8, 9, 0.13);
    --bsv-body: 'Manrope', Arial, sans-serif;
    --bsv-display: 'Space Grotesk', Arial, sans-serif;
    --bsv-serif: 'Cormorant Garamond', Georgia, serif;
    --bsv-mono: 'DM Mono', monospace;
    --bsv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.bsv-page {
    position: relative;
    width: 100%;
    overflow: hidden;
    overflow: clip;
    background: var(--bsv-black);
    color: var(--bsv-cream);
    font-family: var(--bsv-body);
    line-height: 1.6;
}

.bsv-page *,
.bsv-page *::before,
.bsv-page *::after {
    box-sizing: border-box;
}

/* Reset de bajo peso: las clases de cada componente pueden sobrescribir
   márgenes y paddings sin necesidad de !important. */
.bsv-page :where(h1, h2, h3, h4, p, figure, dl, dt, dd, ul, ol) {
    margin: 0;
    padding: 0;
}

.bsv-page h1,
.bsv-page h2,
.bsv-page h3,
.bsv-page h4 {
    font-family: var(--bsv-display);
}

.bsv-page ul,
.bsv-page ol {
    list-style: none;
}

.bsv-page a {
    color: inherit;
    text-decoration: none;
}

.bsv-page img {
    display: block;
    max-width: 100%;
}

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

.bsv-page a:focus-visible,
.bsv-page button:focus-visible {
    outline: 2px solid var(--bsv-gold-soft);
    outline-offset: 4px;
}

.bsv-main {
    background: var(--bsv-black);
}

.bsv-container {
    width: min(1280px, calc(100% - 96px));
    margin: 0 auto;
}

/* ------------------------------------------------------------------
   Etiquetas, botones y enlaces
   ------------------------------------------------------------------ */

.bsv-eyebrow,
.bsv-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bsv-gold-soft);
    font: 10px/1.4 var(--bsv-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.bsv-eyebrow::before,
.bsv-label::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 1px;
    background: var(--bsv-red-hot);
    box-shadow: 0 0 16px var(--bsv-red);
}

.bsv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.bsv-page .bsv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid rgba(243, 239, 231, 0.3);
    border-radius: 999px;
    background: rgba(243, 239, 231, 0.07);
    color: var(--bsv-paper);
    cursor: pointer;
    font: 10px/1 var(--bsv-mono);
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.45s var(--bsv-ease);
}

.bsv-page .bsv-btn:hover,
.bsv-page .bsv-btn:focus-visible {
    border-color: var(--bsv-gold-soft);
    background: rgba(243, 239, 231, 0.12);
    color: var(--bsv-gold-soft);
    transform: translateY(-3px);
}

.bsv-page .bsv-btn--primary {
    border-color: var(--bsv-red);
    background: var(--bsv-red);
    box-shadow: 0 15px 34px rgba(183, 25, 42, 0.28);
    color: #fff;
}

.bsv-page .bsv-btn--primary:hover,
.bsv-page .bsv-btn--primary:focus-visible {
    border-color: var(--bsv-red-hot);
    background: var(--bsv-red-hot);
    color: #fff;
}

/* ------------------------------------------------------------------
   Hero — misma composición que Inicio / Experiencias
   ------------------------------------------------------------------ */

.bsv-hub-hero {
    position: relative;
    min-height: 84vh;
    min-height: 84svh;
    overflow: hidden;
    background: #090a0b;
    isolation: isolate;
}

.bsv-hub-hero__media,
.bsv-hub-hero__veil,
.bsv-hub-hero__grid,
.bsv-hub-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bsv-hub-hero__media {
    margin: 0;
}

.bsv-hub-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
    filter: saturate(0.78) contrast(1.12);
    animation: bsvHubDrift 18s ease-in-out infinite alternate;
}

.bsv-hub-hero__veil {
    background:
        linear-gradient(90deg, var(--bsv-black) 0%, rgba(7, 8, 9, 0.4) 50%, rgba(7, 8, 9, 0.56) 100%),
        linear-gradient(0deg, rgba(7, 8, 9, 0.9) 0%, transparent 45%, rgba(7, 8, 9, 0.38) 100%);
}

.bsv-hub-hero__grid {
    opacity: 0.23;
    background-image:
        linear-gradient(rgba(243, 239, 231, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 239, 231, 0.09) 1px, transparent 1px);
    background-size: 84px 84px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.bsv-hub-hero__glow {
    background:
        radial-gradient(circle at 78% 48%, rgba(183, 25, 42, 0.25), transparent 25%),
        radial-gradient(circle at 52% 60%, rgba(217, 180, 90, 0.09), transparent 20%);
    mix-blend-mode: screen;
}

.bsv-hub-hero__ring {
    position: absolute;
    top: 12%;
    right: 6%;
    width: min(54vw, 760px);
    aspect-ratio: 1;
    border: 1px solid rgba(240, 215, 155, 0.26);
    border-radius: 50%;
    transform: rotate(-21deg) scaleX(0.62);
    animation: bsvHubFadeIn 1.4s 0.25s ease backwards, bsvHubSpin 28s linear infinite;
    pointer-events: none;
}

.bsv-hub-hero__ring::before,
.bsv-hub-hero__ring::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(183, 25, 42, 0.6);
    border-radius: inherit;
}

.bsv-hub-hero__ring::before {
    inset: 10%;
}

.bsv-hub-hero__ring::after {
    inset: 22%;
    border-color: rgba(243, 239, 231, 0.13);
}

.bsv-hub-hero--no-image {
    background:
        radial-gradient(circle at 72% 30%, rgba(183, 25, 42, 0.22), transparent 46%),
        var(--bsv-black);
}

.bsv-hub-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0.42fr;
    align-items: center;
    width: min(1280px, calc(100% - 96px));
    min-height: 84vh;
    min-height: 84svh;
    margin: 0 auto;
    padding: 100px 0 70px;
}

.bsv-hub-hero__copy {
    max-width: 800px;
}

.bsv-hub-hero__title {
    max-width: 850px;
    margin-top: 28px;
    color: var(--bsv-paper);
    font: 700 clamp(58px, 9.3vw, 146px)/0.8 var(--bsv-display);
    letter-spacing: -0.11em;
    text-wrap: balance;
}

.bsv-hub-hero__title em {
    display: block;
    color: var(--bsv-gold-soft);
    font-family: var(--bsv-serif);
    font-size: 1.12em;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.08em;
    transform: translateX(8%);
}

.bsv-hub-hero__description {
    max-width: 430px;
    margin-top: 34px;
    color: rgba(243, 239, 231, 0.68);
    font: 18px/1.8 var(--bsv-body);
}

.bsv-hub-hero__aside {
    align-self: end;
    justify-self: end;
    width: 215px;
    margin-bottom: 38px;
}

.bsv-hub-hero__aside > span {
    display: block;
    color: rgba(243, 239, 231, 0.42);
    font: 9px/1.5 var(--bsv-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.bsv-hub-hero__aside strong {
    display: block;
    margin-top: 13px;
    color: var(--bsv-paper);
    font: 500 34px/1 var(--bsv-display);
    letter-spacing: -0.07em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.bsv-hub-hero__meter {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--bsv-gold-soft);
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.bsv-hub-hero__meter i {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--bsv-red-hot);
    box-shadow: 0 0 12px var(--bsv-red);
    animation: bsvHubMeter 2.5s ease-in-out infinite;
}

.bsv-hub-hero__index {
    position: absolute;
    right: 0;
    bottom: 34px;
    z-index: 2;
    color: rgba(243, 239, 231, 0.45);
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.bsv-hub-hero__scroll {
    position: absolute;
    bottom: 34px;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(243, 239, 231, 0.45);
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.bsv-hub-hero__scroll:hover,
.bsv-hub-hero__scroll:focus-visible {
    color: var(--bsv-gold-soft);
}

.bsv-hub-hero__scroll i {
    position: relative;
    display: block;
    width: 54px;
    height: 1px;
    overflow: hidden;
    background: rgba(243, 239, 231, 0.25);
}

.bsv-hub-hero__scroll i::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 22px;
    height: 100%;
    background: var(--bsv-red-hot);
    animation: bsvHubScroll 2.2s ease-in-out infinite;
}

/* ------------------------------------------------------------------
   Marquesina
   ------------------------------------------------------------------ */

.bsv-hub-marquee {
    display: flex;
    overflow: hidden;
    border-top: 1px solid rgba(243, 239, 231, 0.13);
    border-bottom: 1px solid rgba(243, 239, 231, 0.13);
    background: var(--bsv-red);
    color: #fff;
    white-space: nowrap;
}

.bsv-hub-marquee__track {
    display: flex;
    width: max-content;
    animation: bsvHubMarquee 34s linear infinite;
}

.bsv-hub-marquee__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 38px;
    min-height: 46px;
    padding: 0 19px;
}

.bsv-hub-marquee span {
    font: 10px/1 var(--bsv-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.bsv-hub-marquee b {
    color: var(--bsv-gold-soft);
    font-size: 14px;
    font-weight: 400;
}

/* ------------------------------------------------------------------
   Cabecera de coches
   ------------------------------------------------------------------ */

.bsv-hub-fleet {
    position: relative;
    overflow: hidden;
    padding: 140px 0 150px;
    background: var(--bsv-black);
}

.bsv-hub-fleet::before {
    content: 'DRIVE';
    position: absolute;
    top: 10px;
    right: -30px;
    color: rgba(243, 239, 231, 0.025);
    font: 700 clamp(120px, 20vw, 300px)/1 var(--bsv-display);
    letter-spacing: -0.14em;
    pointer-events: none;
}

.bsv-hub-fleet .bsv-container {
    position: relative;
    z-index: 1;
}

.bsv-hub-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 54px;
}

.bsv-hub-head > div:first-child {
    max-width: 900px;
}

.bsv-hub-title {
    margin-top: 22px;
    color: var(--bsv-paper);
    font: 600 clamp(40px, 5.6vw, 82px)/0.9 var(--bsv-display);
    letter-spacing: -0.075em;
}

.bsv-hub-title em {
    color: var(--bsv-gold-soft);
    font-family: var(--bsv-serif);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.bsv-hub-note {
    max-width: 360px;
    color: rgba(243, 239, 231, 0.58);
    font-size: 15px;
    line-height: 1.75;
}

/* ------------------------------------------------------------------
   Tarjetas de coche
   ------------------------------------------------------------------ */

.bsv-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.bsv-hub-model {
    overflow: hidden;
    border: 1px solid var(--bsv-line);
    border-radius: 24px 8px 24px 8px;
    background: #0d0f10;
    transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.5s var(--bsv-ease);
}

.bsv-hub-model:nth-child(even) {
    border-radius: 8px 24px 8px 24px;
}

.bsv-hub-model:hover,
.bsv-hub-model:focus-within {
    border-color: rgba(240, 215, 155, 0.45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(-6px);
}

.bsv-hub-model__link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bsv-hub-model__media {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 16 / 11;
    background: #111314;
}

.bsv-hub-model--no-image .bsv-hub-model__media {
    background:
        radial-gradient(circle at 70% 30%, rgba(183, 25, 42, 0.18), transparent 60%),
        #111314;
}

.bsv-hub-model__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.06) brightness(0.86);
    transition: filter 0.5s ease, transform 0.9s var(--bsv-ease);
}

.bsv-hub-model:hover .bsv-hub-model__media img,
.bsv-hub-model:focus-within .bsv-hub-model__media img {
    filter: saturate(1) contrast(1.04) brightness(1);
    transform: scale(1.05);
}

.bsv-hub-model__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 9, 0.05) 40%, rgba(7, 8, 9, 0.6));
    pointer-events: none;
}

.bsv-hub-model__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(243, 239, 231, 0.08);
    font: 700 140px/1 var(--bsv-display);
    letter-spacing: -0.08em;
}

.bsv-hub-model__index {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    color: rgba(243, 239, 231, 0.8);
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.16em;
}

.bsv-hub-model__tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    padding: 6px 10px;
    border: 1px solid rgba(240, 215, 155, 0.55);
    border-radius: 999px;
    background: rgba(7, 8, 9, 0.38);
    color: var(--bsv-gold-soft);
    font: 8px/1 var(--bsv-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.bsv-hub-model__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 26px 24px 24px;
}

.bsv-hub-model__name {
    margin-top: 0;
    color: var(--bsv-paper);
    font: 600 clamp(26px, 2.5vw, 36px)/0.95 var(--bsv-display);
    letter-spacing: -0.055em;
}

.bsv-hub-model__text {
    margin-top: 12px;
    color: var(--bsv-muted);
    font-size: 14px;
    line-height: 1.65;
}

.bsv-hub-model__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 22px;
}

.bsv-hub-model__price {
    color: var(--bsv-muted);
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bsv-hub-model__price strong {
    display: block;
    margin-top: 5px;
    color: var(--bsv-gold-soft);
    font: 600 22px/1 var(--bsv-display);
    letter-spacing: -0.04em;
}

.bsv-hub-model__cta {
    color: var(--bsv-paper);
    font: 10px/1.4 var(--bsv-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bsv-hub-model__cta span {
    display: inline-block;
    margin-left: 6px;
    color: var(--bsv-red-hot);
    transition: transform 0.3s var(--bsv-ease);
}

.bsv-hub-model:hover .bsv-hub-model__cta span,
.bsv-hub-model:focus-within .bsv-hub-model__cta span {
    transform: translateX(5px);
}

.bsv-empty {
    margin-top: 30px;
    color: var(--bsv-muted);
}

.bsv-empty a {
    color: var(--bsv-gold-soft);
    text-decoration: underline;
}

/* ------------------------------------------------------------------
   Banda de enlaces que se añade al final de Experiencias
   ------------------------------------------------------------------ */

.bsv-strip {
    width: 100%;
    padding: 46px 0;
    background: var(--bsv-cream);
    color: var(--bsv-black);
    font-family: var(--bsv-body);
    line-height: 1.6;
}

.bsv-strip *,
.bsv-strip *::before,
.bsv-strip *::after {
    box-sizing: border-box;
}

.bsv-strip a {
    color: inherit;
    text-decoration: none;
}

.bsv-strip__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 42px;
    align-items: center;
}

.bsv-strip__label {
    display: block;
    color: var(--bsv-red);
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bsv-strip .bsv-strip__title {
    margin-top: 10px !important;
    color: var(--bsv-black);
    font-family: var(--bsv-display);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
}

.bsv-strip__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.bsv-strip__links a {
    display: block;
    padding: 16px 18px;
    border: 1px solid rgba(7, 8, 9, 0.16);
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bsv-strip__links a:hover,
.bsv-strip__links a:focus-visible {
    border-color: rgba(183, 25, 42, 0.5);
    background: #fff;
    transform: translateY(-3px);
}

.bsv-strip__links span {
    display: block;
    color: var(--bsv-black);
    font: 600 15px/1.2 var(--bsv-display);
    letter-spacing: -0.03em;
}

.bsv-strip__links small {
    display: block;
    margin-top: 5px;
    color: #6f706b;
    font: 9px/1.4 var(--bsv-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bsv-strip__all {
    border-color: rgba(183, 25, 42, 0.35) !important;
    background: rgba(183, 25, 42, 0.06) !important;
}

/* ------------------------------------------------------------------
   Animaciones
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
    .bsv-hub-hero__media {
        animation: bsvHubMediaIn 2s ease-in-out backwards;
    }

    .bsv-hub-hero__grid {
        animation: bsvHubGridIn 1.5s 0.15s ease backwards;
    }

    .bsv-hub-hero__glow {
        animation: bsvHubFadeIn 1.7s 0.25s ease backwards;
    }

    .bsv-hub-hero__copy .bsv-eyebrow {
        animation: bsvHubInLeft 0.9s 0.1s var(--bsv-ease) backwards;
    }

    .bsv-hub-hero__title {
        animation: bsvHubTitleIn 1.25s 0.35s var(--bsv-ease) backwards;
    }

    .bsv-hub-hero__description {
        animation: bsvHubInLeftWide 1.05s 0.65s var(--bsv-ease) backwards;
    }

    .bsv-actions .bsv-btn:nth-child(1) {
        animation: bsvHubInUp 0.9s 0.8s var(--bsv-ease) backwards;
    }

    .bsv-actions .bsv-btn:nth-child(2) {
        animation: bsvHubInUp 0.9s 0.9s var(--bsv-ease) backwards;
    }

    .bsv-hub-hero__aside {
        animation: bsvHubInRight 1s 0.55s var(--bsv-ease) backwards;
    }

    .bsv-hub-hero__index {
        animation: bsvHubInRight 0.8s 1.05s var(--bsv-ease) backwards;
    }

    .bsv-hub-hero__scroll {
        animation: bsvHubInUp 0.8s 1.1s var(--bsv-ease) backwards;
    }

    .bsv-page.bsv-js .bsv-hub-fleet {
        opacity: 0;
        transition: opacity 0.55s ease;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible {
        opacity: 1;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-head .bsv-label {
        animation: bsvHubInLeft 0.9s 0.1s var(--bsv-ease) backwards;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-title {
        animation: bsvHubTitleIn 1.05s 0.22s var(--bsv-ease) backwards;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-note {
        animation: bsvHubInRight 0.95s 0.4s var(--bsv-ease) backwards;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-model {
        animation-name: bsvHubCardPop;
        animation-duration: 0.65s;
        animation-delay: 0.25s;
        animation-timing-function: linear;
        animation-fill-mode: backwards;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-model:nth-child(2) {
        animation-delay: 0.6s;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-model:nth-child(3) {
        animation-delay: 0.95s;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-model:nth-child(4) {
        animation-delay: 1.3s;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-model:nth-child(5) {
        animation-delay: 1.65s;
    }

    .bsv-page.bsv-js .bsv-hub-fleet.is-visible .bsv-hub-model:nth-child(6) {
        animation-delay: 2s;
    }
}

@keyframes bsvHubFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bsvHubGridIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.23;
    }
}

@keyframes bsvHubMediaIn {
    from {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(20px) brightness(0.5);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0) brightness(1);
    }
}

@keyframes bsvHubInLeft {
    from {
        opacity: 0;
        transform: translate3d(-46px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bsvHubInLeftWide {
    from {
        opacity: 0;
        transform: translate3d(-68px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bsvHubInRight {
    from {
        opacity: 0;
        transform: translate3d(46px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bsvHubInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 46px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bsvHubTitleIn {
    from {
        opacity: 0;
        transform: translate3d(-90px, 0, 0) scale(0.97);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes bsvHubCardPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    55% {
        opacity: 1;
        transform: scale(1.04);
    }
    78% {
        transform: scale(0.985);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bsvHubRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bsvHubDrift {
    to {
        transform: scale(1.14) translate3d(-1%, -1%, 0);
    }
}

@keyframes bsvHubSpin {
    to {
        transform: rotate(360deg) scaleX(0.62);
    }
}

@keyframes bsvHubMeter {
    0%,
    100% {
        width: 32px;
        opacity: 0.55;
    }
    50% {
        width: 70px;
        opacity: 1;
    }
}

@keyframes bsvHubScroll {
    0% {
        transform: translateX(-28px);
    }
    45%,
    100% {
        transform: translateX(55px);
    }
}

@keyframes bsvHubMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1100px) {
    .bsv-container,
    .bsv-hub-hero__content {
        width: min(1280px, calc(100% - 64px));
    }

    .bsv-hub-hero__content {
        grid-template-columns: minmax(0, 1fr) 0.42fr;
    }
}

/* Entre 701 y 1100 px las tarjetas de coche pasan a formato horizontal. */
@media (min-width: 701px) and (max-width: 1100px) {
    .bsv-hub-grid {
        grid-template-columns: 1fr;
    }

    .bsv-hub-model__link {
        flex-direction: row;
    }

    .bsv-hub-model__media {
        flex: 0 0 45%;
        min-height: 320px;
        aspect-ratio: auto;
    }

    .bsv-hub-model__body {
        flex: 1 1 55%;
    }
}

@media (max-width: 900px) {
    .bsv-hub-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .bsv-hub-note {
        max-width: 100%;
    }

    .bsv-hub-fleet {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {
    .bsv-container,
    .bsv-hub-hero__content {
        width: calc(100% - 40px);
    }

    .bsv-hub-hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .bsv-hub-hero__content {
        display: block;
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 138px;
    }

    .bsv-hub-hero__title {
        max-width: 100%;
        font-size: clamp(49px, 15vw, 78px);
    }

    .bsv-hub-hero__title em {
        transform: translateX(5%);
    }

    .bsv-hub-hero__description {
        max-width: min(310px, 85%);
        margin-top: 26px;
        font-size: 17px;
    }

    .bsv-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 315px;
    }

    .bsv-page .bsv-btn {
        width: 100%;
    }

    .bsv-hub-hero__aside {
        position: absolute;
        right: 0;
        bottom: 72px;
        width: 145px;
        margin: 0;
    }

    .bsv-hub-hero__aside strong {
        font-size: 24px;
    }

    .bsv-hub-hero__index {
        display: none;
    }

    .bsv-hub-hero__scroll {
        bottom: 25px;
    }

    .bsv-hub-hero__ring {
        top: 35%;
        right: -27%;
        width: 105vw;
    }

    .bsv-hub-hero__media img {
        object-position: center 60%;
    }
}

@media (max-width: 700px) {
    .bsv-hub-grid {
        grid-template-columns: 1fr;
    }

    .bsv-hub-model__link {
        flex-direction: column;
    }

    .bsv-hub-model__media {
        flex: none;
        min-height: 0;
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 600px) {
    .bsv-container,
    .bsv-hub-hero__content {
        width: calc(100% - 32px);
    }

    .bsv-hub-hero__content {
        padding: 124px 0 112px;
    }

    .bsv-hub-hero__copy {
        max-width: none;
    }

    .bsv-hub-hero__title {
        font-size: 46px;
    }

    .bsv-hub-hero__description {
        max-width: 310px;
        font-size: 17px;
    }

    .bsv-hub-hero__aside {
        display: none;
    }

    .bsv-hub-hero__scroll {
        bottom: 16px;
        font-size: 8px;
    }

    .bsv-hub-hero__ring {
        opacity: 0.42;
    }

    .bsv-hub-hero__meter {
        margin-top: 20px;
    }

    .bsv-hub-hero__meter i {
        width: 36px;
    }

    .bsv-hub-fleet {
        padding: 100px 0 70px;
    }

    .bsv-hub-model__body {
        padding: 22px 20px 20px;
    }

    .bsv-strip {
        padding: 34px 0;
    }

    .bsv-strip__inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .bsv-strip__links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .bsv-hub-hero__title {
        font-size: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bsv-page *,
    .bsv-page *::before,
    .bsv-page *::after,
    .bsv-strip *,
    .bsv-strip *::before,
    .bsv-strip *::after {
        animation: none !important;
        transition: none !important;
    }
}
