:root {
    --azul: #152752;
    --azul-oscuro: #08152f;
    --azul-medio: #1f438c;
    --azul-brillante: #2d68ef;

    --rojo: #fa0a1a;
    --rojo-oscuro: #c90815;

    --blanco: #ffffff;

    --fondo: #f3f6fb;
    --fondo-azulado: #e9eff9;

    --texto: #152033;
    --texto-suave: #6c7890;

    --borde: rgba(21, 39, 82, 0.12);

    --sombra-suave:
        0 10px 30px rgba(10, 28, 65, 0.08);

    --sombra:
        0 20px 50px rgba(10, 28, 65, 0.15);

    --sombra-premium:
        0 25px 60px rgba(8, 21, 47, 0.20);

    --radio: 20px;

    --contenedor: 1220px;
}


/* =====================================================
   GENERAL
===================================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--texto);

    background:
        radial-gradient(
            circle at top left,
            rgba(45, 104, 239, 0.09),
            transparent 450px
        ),
        linear-gradient(
            180deg,
            #f9fbff 0%,
            var(--fondo) 50%,
            #edf2fa 100%
        );

    min-height: 100vh;

    overflow-x: hidden;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
}


button,
input,
select,
textarea {
    font: inherit;
}


.contenedor {
    width:
        min(
            92%,
            var(--contenedor)
        );

    margin:
        0 auto;
}


/* =====================================================
   ANIMACIONES DE ENTRADA
===================================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.7s ease,
        transform 0.7s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );
}


.reveal.reveal-left {
    transform:
        translateX(-35px);
}


.reveal.reveal-right {
    transform:
        translateX(35px);
}


.reveal.reveal-scale {
    transform:
        translateY(25px)
        scale(0.97);
}


.reveal.visible {
    opacity: 1;

    transform:
        translateX(0)
        translateY(0)
        scale(1);
}


/* =====================================================
   ANIMACIÓN HERO
===================================================== */

@keyframes heroEntrada {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


.hero-entrada {
    animation:
        heroEntrada
        0.8s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        )
        both;
}


.hero-entrada-2 {
    animation-delay: 0.12s;
}


.hero-entrada-3 {
    animation-delay: 0.22s;
}


/* =====================================================
   ANIMACIONES HEADER
===================================================== */

@keyframes header-scroll {

    from {
        background:
            rgba(
                8,
                21,
                47,
                0.96
            );

        box-shadow:
            0 8px 30px
            rgba(
                0,
                0,
                0,
                0.18
            );
    }

    to {
        background:
            rgba(
                5,
                14,
                33,
                0.985
            );

        box-shadow:
            0 14px 42px
            rgba(
                0,
                0,
                0,
                0.34
            );
    }
}


@keyframes header-contenido-scroll {

    from {
        min-height: 100px;
    }

    to {
        min-height: 74px;
    }
}


@keyframes logo-frame-scroll {

    from {
        width: 290px;
        height: 80px;
        border-radius: 16px;
    }

    to {
        width: 235px;
        height: 62px;
        border-radius: 13px;
    }
}


@keyframes logo-scroll {

    from {
        transform:
            scale(1.55);
    }

    to {
        transform:
            scale(1.64);
    }
}


@keyframes linea-header-scroll {

    from {
        opacity: 0;

        transform:
            scaleX(0.15);
    }

    to {
        opacity: 0.65;

        transform:
            scaleX(1);
    }
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(
            8,
            21,
            47,
            0.96
        );

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    box-shadow:
        0 8px 30px
        rgba(
            0,
            0,
            0,
            0.18
        );

    animation:
        header-scroll
        linear
        both;

    animation-timeline:
        scroll(root block);

    animation-range:
        0px 180px;
}


.site-header::after {
    content: "";

    position: absolute;

    left: 5%;

    right: 5%;

    bottom: -1px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--rojo),
            var(--azul-brillante),
            var(--rojo),
            transparent
        );

    opacity: 0;

    transform:
        scaleX(0.15);

    transform-origin:
        center;

    pointer-events: none;

    box-shadow:
        0 0 15px
        rgba(
            250,
            10,
            26,
            0.35
        );

    animation:
        linea-header-scroll
        linear
        both;

    animation-timeline:
        scroll(root block);

    animation-range:
        20px 180px;
}


.header-contenido {
    min-height: 100px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 25px;

    animation:
        header-contenido-scroll
        linear
        both;

    animation-timeline:
        scroll(root block);

    animation-range:
        0px 180px;
}


/* =====================================================
   LOGO
===================================================== */

.brand-link {
    display: flex;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}


.brand-logo-frame {
    width: 290px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    background: #000000;

    border-radius: 16px;

    overflow: hidden;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            0.30
        );

    animation:
        logo-frame-scroll
        linear
        both;

    animation-timeline:
        scroll(root block);

    animation-range:
        0px 180px;
}


.brand-logo-frame img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    transform:
        scale(1.55);

    transform-origin:
        center;

    animation:
        logo-scroll
        linear
        both;

    animation-timeline:
        scroll(root block);

    animation-range:
        0px 180px;

    transition:
        filter 0.25s ease;
}


.brand-link:hover
.brand-logo-frame img {
    filter:
        drop-shadow(
            0 0 9px
            rgba(
                250,
                10,
                26,
                0.35
            )
        );
}


/* =====================================================
   NAVEGACIÓN
===================================================== */

.site-nav {
    display: flex;

    align-items: center;

    justify-content:
        flex-end;

    flex-wrap: wrap;

    gap: 6px;
}


.site-nav a {
    position: relative;

    color:
        rgba(
            255,
            255,
            255,
            0.86
        );

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    padding:
        11px 13px;

    border-radius: 9px;

    transition:
        color 0.2s,
        background 0.2s,
        transform 0.2s;
}


.site-nav a::after {
    content: "";

    position: absolute;

    left: 13px;

    right: 13px;

    bottom: 5px;

    height: 2px;

    background:
        var(--rojo);

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform 0.2s;

    box-shadow:
        0 0 8px
        rgba(
            250,
            10,
            26,
            0.45
        );
}


.site-nav a:hover,
.site-nav a.activo {
    color: white;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

    transform:
        translateY(-1px);
}


.site-nav a:hover::after,
.site-nav a.activo::after {
    transform:
        scaleX(1);
}


/* =====================================================
   HERO
===================================================== */

.hero-home {
    position: relative;

    overflow: hidden;

    padding:
        85px 0 115px;

    color: white;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(45, 104, 239, 0.4),
            transparent 430px
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(250, 10, 26, 0.2),
            transparent 350px
        ),
        linear-gradient(
            125deg,
            #061126 0%,
            var(--azul) 58%,
            #214899 100%
        );
}


.hero-home::before {
    content: "";

    position: absolute;

    width: 430px;

    height: 430px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.09
        );

    border-radius: 50%;

    right: -160px;

    top: -160px;

    box-shadow:
        0 0 0 60px
        rgba(
            255,
            255,
            255,
            0.02
        );
}


.hero-home::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 300px;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--rojo),
            transparent
        );

    box-shadow:
        0 0 30px
        rgba(
            250,
            10,
            26,
            0.7
        );
}


.hero-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 60px;

    align-items: center;
}


.hero-kicker,
.section-kicker {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.hero-kicker {
    color: #c9d7ff;

    margin-bottom: 20px;
}


.hero-kicker::before,
.section-kicker::before {
    content: "";

    width: 28px;

    height: 3px;

    border-radius: 20px;

    background:
        var(--rojo);
}


.hero-title {
    max-width: 750px;

    margin: 0;

    font-size:
        clamp(
            44px,
            6vw,
            76px
        );

    line-height: 0.98;

    letter-spacing: -3px;
}


.hero-title span {
    color: #ffffff;

    text-shadow:
        0 0 35px
        rgba(
            45,
            104,
            239,
            0.4
        );
}


.hero-copy {
    max-width: 680px;

    margin:
        25px 0 0;

    color: #cbd5e8;

    font-size: 18px;

    line-height: 1.65;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 32px;
}


.btn-primary,
.btn-secondary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        0 22px;

    border-radius: 11px;

    text-decoration: none;

    font-weight: bold;

    transition:
        transform 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}


.btn-primary {
    background:
        var(--rojo);

    color: white;

    box-shadow:
        0 12px 28px
        rgba(
            250,
            10,
            26,
            0.27
        );
}


.btn-primary:hover {
    transform:
        translateY(-3px);

    background:
        #ff2030;

    box-shadow:
        0 16px 34px
        rgba(
            250,
            10,
            26,
            0.38
        );
}


.btn-secondary {
    color: white;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.25
        );

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );
}


.btn-secondary:hover {
    transform:
        translateY(-3px);

    background:
        rgba(
            255,
            255,
            255,
            0.13
        );
}


/* =====================================================
   PANEL HERO
===================================================== */

.hero-panel {
    padding: 30px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.13
        );

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(
                255,
                255,
                255,
                0.11
            ),
            rgba(
                255,
                255,
                255,
                0.04
            )
        );

    box-shadow:
        0 25px 60px
        rgba(
            0,
            0,
            0,
            0.2
        );

    backdrop-filter:
        blur(10px);
}


.hero-panel h3 {
    margin:
        0 0 22px;

    font-size: 24px;
}


.hero-benefits {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


.hero-benefit {
    display: grid;

    grid-template-columns:
        48px 1fr;

    gap: 15px;

    align-items: center;

    padding: 14px;

    border-radius: 14px;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

    transition:
        transform 0.2s,
        background 0.2s;
}


.hero-benefit:hover {
    transform:
        translateX(4px);

    background:
        rgba(
            255,
            255,
            255,
            0.11
        );
}


.hero-benefit-icon {
    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        var(--rojo);

    color: white;

    font-size: 12px;

    font-weight: bold;
}


.hero-benefit strong {
    display: block;

    margin-bottom: 4px;
}


.hero-benefit small {
    display: block;

    color: #cbd5e8;

    line-height: 1.45;
}


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

.main-home {
    position: relative;

    z-index: 5;

    margin-top: -50px;

    padding-bottom: 80px;
}


/* =====================================================
   FILTROS
===================================================== */

.filtros {
    scroll-margin-top: 115px;

    padding: 30px;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        );

    border:
        1px solid
        rgba(
            21,
            39,
            82,
            0.08
        );

    border-radius: 22px;

    box-shadow:
        var(--sombra);
}


.filtros-top {
    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap: 15px;

    margin-bottom: 22px;
}


.filtros-top h3 {
    margin: 0;

    font-size: 25px;
}


.filtros-note {
    color:
        var(--texto-suave);

    font-size: 14px;
}


.filtros-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 15px;
}


.filtro-buscar {
    grid-column:
        span 2;
}


.filtro-campo {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.filtro-campo label {
    font-size: 13px;

    font-weight: bold;

    color: #40506a;
}


.filtro-campo input,
.filtro-campo select {
    width: 100%;

    min-height: 48px;

    padding:
        0 14px;

    border:
        1px solid
        #d3dbea;

    border-radius: 10px;

    background:
        #fbfcff;

    color:
        var(--texto);

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}


.filtro-campo input:focus,
.filtro-campo select:focus {
    border-color:
        var(--azul-brillante);

    background: white;

    box-shadow:
        0 0 0 4px
        rgba(
            45,
            104,
            239,
            0.1
        );
}


.filtro-campo select:disabled {
    background:
        #edf0f6;

    color:
        #8992a3;
}


.acciones-filtros {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 22px;
}


.boton-filtrar {
    min-height: 48px;

    padding:
        0 23px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--azul),
            var(--azul-medio)
        );

    color: white;

    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 10px 24px
        rgba(
            21,
            39,
            82,
            0.18
        );

    transition: 0.2s;
}


.boton-filtrar:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(
            21,
            39,
            82,
            0.25
        );
}


.boton-limpiar {
    color:
        var(--texto-suave);

    text-decoration: none;

    font-weight: bold;
}


.boton-limpiar:hover {
    color:
        var(--rojo);
}


/* =====================================================
   RESULTADOS
===================================================== */

.resultados-bar {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    margin:
        32px 0 18px;
}


.cantidad-resultados {
    color:
        var(--texto-suave);
}


.cantidad-resultados strong {
    color:
        var(--azul);

    font-size: 19px;
}


/* =====================================================
   CATÁLOGO
===================================================== */

.catalogo {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 26px;
}


.tarjeta-auto {
    position: relative;

    display: block;

    overflow: hidden;

    border-radius: 22px;

    background:
        rgba(
            255,
            255,
            255,
            0.98
        );

    border:
        1px solid
        rgba(
            21,
            39,
            82,
            0.09
        );

    text-decoration: none;

    box-shadow:
        var(--sombra-suave);

    transition:
        opacity 0.65s ease,
        transform 0.35s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.tarjeta-auto::before {
    content: "";

    position: absolute;

    z-index: 20;

    left: 0;

    top: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--rojo),
            var(--azul-brillante),
            var(--rojo)
        );

    opacity: 0;

    transform:
        scaleX(0.25);

    transform-origin:
        center;

    transition:
        opacity 0.3s,
        transform 0.35s;
}


.tarjeta-auto::after {
    content: "";

    position: absolute;

    z-index: 15;

    top: -30%;

    left: -80%;

    width: 45%;

    height: 170%;

    transform:
        rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(
                255,
                255,
                255,
                0.22
            ),
            transparent
        );

    pointer-events: none;

    transition:
        left 0.65s ease;
}


.tarjeta-auto:hover {
    transform:
        translateY(-10px)
        scale(1.012);

    border-color:
        rgba(
            45,
            104,
            239,
            0.25
        );

    box-shadow:
        var(--sombra-premium);
}


.tarjeta-auto:hover::before {
    opacity: 1;

    transform:
        scaleX(1);
}


.tarjeta-auto:hover::after {
    left: 135%;
}


.tarjeta-imagen {
    position: relative;

    overflow: hidden;

    height: 250px;

    background:
        #dce3ef;
}


.tarjeta-imagen::after {
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 100px;

    background:
        linear-gradient(
            transparent,
            rgba(
                3,
                11,
                28,
                0.48
            )
        );

    pointer-events: none;
}


.tarjeta-imagen img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),
        filter 0.45s ease;
}


.tarjeta-auto:hover
.tarjeta-imagen img {
    transform:
        scale(1.07);

    filter:
        saturate(1.08)
        contrast(1.03);
}


.badge-categoria {
    position: absolute;

    z-index: 8;

    top: 15px;

    left: 15px;

    padding:
        8px 11px;

    border-radius: 9px;

    background:
        rgba(
            8,
            21,
            47,
            0.90
        );

    color: white;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.13
        );

    backdrop-filter:
        blur(8px);
}


.datos-auto {
    position: relative;

    padding:
        23px 22px 22px;
}


.datos-auto h3 {
    margin: 0;

    color:
        var(--azul);

    font-size: 22px;

    line-height: 1.25;

    transition:
        color 0.2s;
}


.tarjeta-auto:hover
.datos-auto h3 {
    color:
        var(--azul-medio);
}


.auto-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 14px;
}


.auto-meta span {
    padding:
        7px 9px;

    border-radius: 8px;

    background:
        #f1f4f9;

    color:
        #647188;

    font-size: 12px;

    font-weight: bold;

    border:
        1px solid
        rgba(
            21,
            39,
            82,
            0.04
        );

    transition:
        background 0.2s,
        color 0.2s;
}


.tarjeta-auto:hover
.auto-meta span {
    background:
        #edf2fb;

    color:
        var(--azul);
}


.auto-bottom {
    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap: 15px;

    margin-top: 21px;

    padding-top: 18px;

    border-top:
        1px solid
        #edf0f5;
}


.precio-card {
    color:
        var(--azul);

    font-size: 25px;

    font-weight: 900;

    letter-spacing:
        -0.5px;
}


.ver-detalle {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 34px;

    padding:
        0 10px;

    border-radius: 8px;

    color:
        var(--rojo);

    background:
        rgba(
            250,
            10,
            26,
            0.06
        );

    font-size: 12px;

    font-weight: bold;

    transition:
        color 0.2s,
        background 0.2s,
        transform 0.2s;
}


.tarjeta-auto:hover
.ver-detalle {
    color: white;

    background:
        var(--rojo);

    transform:
        translateX(3px);

    box-shadow:
        0 7px 18px
        rgba(
            250,
            10,
            26,
            0.20
        );
}


.sin-resultados {
    grid-column:
        1 / -1;

    padding:
        55px 30px;

    text-align: center;

    background: white;

    border-radius: 20px;

    box-shadow:
        var(--sombra-suave);
}


.sin-resultados h3 {
    color:
        var(--azul);
}


/* =====================================================
   SECCIONES
===================================================== */

.section-block {
    margin-top: 85px;

    scroll-margin-top: 115px;
}


.section-heading {
    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    margin-bottom: 25px;
}


.section-heading h2 {
    margin:
        7px 0 0;

    font-size: 34px;

    color:
        var(--azul);
}


.section-heading p {
    color:
        var(--texto-suave);
}


.section-kicker {
    color:
        var(--rojo);
}


/* =====================================================
   SOBRE NOSOTROS
===================================================== */

.sobre-nosotros {
    position: relative;

    overflow: hidden;

    padding: 48px;

    color: white;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(
                45,
                104,
                239,
                0.42
            ),
            transparent 380px
        ),
        linear-gradient(
            135deg,
            var(--azul-oscuro),
            var(--azul)
        );

    box-shadow:
        var(--sombra);
}


.sobre-nosotros::before {
    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    left: -100px;

    bottom: -110px;

    border:
        35px solid
        rgba(
            250,
            10,
            26,
            0.13
        );
}


.sobre-nosotros-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 45px;

    align-items: center;
}


.sobre-nosotros-texto h2 {
    margin:
        10px 0 18px;

    font-size: 38px;
}


.sobre-nosotros-texto p {
    color:
        #d7dfef;

    line-height: 1.75;

    font-size: 16px;
}


.mapa {
    overflow: hidden;

    min-height: 370px;

    border-radius: 18px;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    box-shadow:
        0 20px 50px
        rgba(
            0,
            0,
            0,
            0.22
        );
}


.mapa iframe {
    display: block;

    width: 100%;

    height: 390px;

    border: 0;
}


.mapa-vacio {
    min-height: 370px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    text-align: center;

    color:
        #cbd5e8;
}


/* =====================================================
   CONTACTO
===================================================== */

.contacto-encabezado {
    max-width: 700px;

    margin-bottom: 27px;
}


.contacto-encabezado h2 {
    margin:
        9px 0;

    color:
        var(--azul);

    font-size: 36px;
}


.contacto-encabezado p {
    color:
        var(--texto-suave);

    line-height: 1.6;
}


.redes {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 18px;
}


.red-social {
    position: relative;

    overflow: hidden;

    min-height: 190px;

    display: flex;

    flex-direction: column;

    align-items:
        flex-start;

    justify-content: center;

    padding: 25px;

    text-decoration: none;

    border-radius: 18px;

    background: white;

    border:
        1px solid
        var(--borde);

    box-shadow:
        var(--sombra-suave);

    transition:
        transform 0.3s,
        box-shadow 0.3s,
        border-color 0.3s;
}


.red-social::before {
    content: "";

    position: absolute;

    width: 100px;

    height: 100px;

    border-radius: 50%;

    right: -40px;

    top: -40px;

    background:
        rgba(
            45,
            104,
            239,
            0.08
        );

    transition:
        0.25s;
}


.red-social:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(
            250,
            10,
            26,
            0.3
        );

    box-shadow:
        var(--sombra);
}


.red-social:hover::before {
    background:
        rgba(
            250,
            10,
            26,
            0.1
        );

    transform:
        scale(1.2);
}


.red-icono {
    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    padding: 10px;

    border-radius: 14px;

    background:
        var(--azul);

    color: white;

    transition:
        transform 0.25s,
        background 0.25s;
}


.red-social:hover
.red-icono {
    transform:
        scale(1.07)
        rotate(-2deg);

    background:
        var(--rojo);
}


.red-icono svg {
    width: 100%;

    height: 100%;

    fill:
        currentColor;
}


.red-social strong {
    color:
        var(--azul);

    font-size: 17px;
}


.red-social small {
    margin-top: 6px;

    color:
        var(--texto-suave);
}


/* =====================================================
   VENDIDOS
===================================================== */

.seccion-vendidos {
    padding-top: 50px;

    border-top:
        1px solid
        var(--borde);
}


.tarjeta-vendida
.tarjeta-imagen img {
    filter:
        grayscale(100%);
}


.tarjeta-vendida:hover
.tarjeta-imagen img {
    filter:
        grayscale(70%)
        contrast(1.05);

    transform:
        scale(1.06);
}


.etiqueta-vendido {
    position: absolute;

    z-index: 10;

    top: 15px;

    left: 15px;

    padding:
        8px 13px;

    border-radius: 8px;

    background:
        var(--rojo);

    color: white;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    box-shadow:
        0 8px 20px
        rgba(
            250,
            10,
            26,
            0.28
        );
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    margin-top: 70px;

    padding:
        32px 0;

    background:
        var(--azul-oscuro);

    color: white;
}


.footer-grid {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 10px;
}


.footer-dot {
    width: 10px;

    height: 10px;

    border-radius: 50%;

    background:
        var(--rojo);

    box-shadow:
        0 0 15px
        rgba(
            250,
            10,
            26,
            0.7
        );
}


.footer-copy {
    color:
        #aab7cd;

    font-size: 13px;
}


/* =====================================================
   DETALLE VEHÍCULO
===================================================== */

.page-shell {
    padding:
        45px 0 75px;
}


.volver {
    display: inline-flex;

    margin-bottom: 25px;

    color:
        var(--azul);

    text-decoration: none;

    font-weight: bold;
}


.volver:hover {
    color:
        var(--rojo);
}


.detalle-auto {
    display: grid;

    grid-template-columns:
        minmax(
            0,
            1.25fr
        )
        minmax(
            340px,
            0.75fr
        );

    gap: 35px;

    align-items: start;
}


.galeria {
    padding: 14px;

    background: white;

    border-radius: 22px;

    border:
        1px solid
        var(--borde);

    box-shadow:
        var(--sombra);
}


/*
   FOTO PRINCIPAL DEL VEHÍCULO

   Antes estaba en 650px.
   Ahora queda en 540px.

   Mismo ancho.
   Menos altura.
   Mejor equilibrio con la ficha de la derecha.
*/

.foto-principal {
    display: block;

    width: 100%;

    height: 540px;

    object-fit: cover;

    object-position:
        center center;

    border-radius: 15px;

    background:
        #dce3ee;
}


.miniaturas {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            1fr
        );

    gap: 9px;

    margin-top: 11px;
}


.miniatura {
    width: 100%;

    height: 90px;

    object-fit: cover;

    object-position:
        center center;

    border:
        2px solid transparent;

    border-radius: 10px;

    cursor: pointer;

    opacity: 0.75;

    transition: 0.2s;
}


.miniatura:hover {
    opacity: 1;
}


.miniatura.seleccionada {
    opacity: 1;

    border-color:
        var(--rojo);
}


.informacion-vehiculo {
    position: sticky;

    top: 100px;

    padding: 30px;

    border-radius: 22px;

    background: white;

    border:
        1px solid
        var(--borde);

    box-shadow:
        var(--sombra);
}


.informacion-vehiculo h2 {
    margin:
        8px 0 10px;

    color:
        var(--azul);

    font-size: 34px;
}


.detalle-categoria {
    display: inline-flex;

    margin-bottom: 17px;

    padding:
        7px 10px;

    border-radius: 7px;

    background:
        #edf2fb;

    color:
        var(--azul);

    font-size: 12px;

    font-weight: bold;
}


.precio-detalle {
    margin:
        5px 0 25px;

    color:
        var(--rojo);

    font-size: 33px;

    font-weight: 900;
}


.caracteristicas {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 10px;
}


.caracteristicas > div {
    padding: 14px;

    border-radius: 11px;

    background:
        #f5f7fb;
}


.caracteristicas span {
    display: block;

    margin-bottom: 5px;

    color:
        var(--texto-suave);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.caracteristicas strong {
    color:
        var(--azul);
}


.descripcion {
    margin-top: 25px;

    padding-top: 22px;

    border-top:
        1px solid
        #e7ebf2;
}


.descripcion h3 {
    color:
        var(--azul);
}


.descripcion p {
    color:
        #5e6a7c;

    line-height: 1.7;
}


.boton-whatsapp {
    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 25px;

    min-height: 53px;

    padding:
        0 20px;

    border-radius: 11px;

    background:
        #25d366;

    color: white;

    text-decoration: none;

    font-weight: bold;

    box-shadow:
        0 12px 28px
        rgba(
            37,
            211,
            102,
            0.24
        );

    transition: 0.2s;
}


.boton-whatsapp:hover {
    transform:
        translateY(-2px);
}


.estado-vendido-detalle {
    display: inline-flex;

    padding:
        7px 10px;

    border-radius: 7px;

    background:
        var(--rojo);

    color: white;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;
}


.aviso-vendido {
    margin-top: 25px;

    padding: 16px;

    border-radius: 10px;

    background:
        #f1f2f5;

    color:
        #61697a;

    text-align: center;

    font-weight: bold;
}


/* =====================================================
   FINANCIACIONES
===================================================== */

.fin-hero {
    position: relative;

    overflow: hidden;

    padding:
        75px 0;

    color: white;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(
                45,
                104,
                239,
                0.5
            ),
            transparent 400px
        ),
        linear-gradient(
            125deg,
            var(--azul-oscuro),
            var(--azul)
        );
}


.fin-hero::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 230px;

    height: 5px;

    background:
        var(--rojo);
}


.fin-hero h1 {
    margin:
        10px 0;

    font-size: 52px;
}


.fin-hero p {
    max-width: 700px;

    margin: 0;

    color:
        #cbd5e8;

    font-size: 18px;

    line-height: 1.6;
}


.fin-main {
    padding:
        40px 0 70px;
}


.bancos-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 25px;

    margin-top: 20px;
}


.banco {
    position: relative;

    overflow: hidden;

    padding: 30px;

    background: white;

    border:
        1px solid
        var(--borde);

    border-radius: 21px;

    box-shadow:
        var(--sombra-suave);
}


.banco::before {
    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--azul),
            var(--rojo)
        );
}


.banco-cabecera {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 15px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        #e7ebf2;
}


.banco-cabecera h2 {
    margin: 0;

    color:
        var(--azul);

    font-size: 26px;
}


.etiqueta {
    padding:
        6px 9px;

    border-radius: 7px;

    background:
        var(--azul);

    color: white;

    font-size: 10px;

    font-weight: bold;

    text-transform: uppercase;
}


.banco > p {
    color:
        var(--texto-suave);

    line-height: 1.6;
}


.banco h3 {
    margin-top: 25px;

    color:
        var(--azul);
}


.requisitos-lista {
    padding-left: 21px;

    color:
        #566176;

    line-height: 1.7;
}


.requisitos-lista li {
    margin-bottom: 7px;
}


.financiacion-destacada {
    margin-top: 25px;

    padding: 20px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--azul),
            var(--azul-medio)
        );

    color: white;
}


.financiacion-destacada strong {
    display: block;

    margin-bottom: 8px;

    font-size: 18px;
}


.financiacion-destacada p {
    margin: 0;

    color:
        #dce5f6;

    line-height: 1.5;
}


.como-funciona {
    margin-top: 65px;
}


.pasos {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 18px;
}


.paso {
    padding: 25px;

    border:
        1px solid
        var(--borde);

    border-radius: 17px;

    background: white;

    box-shadow:
        var(--sombra-suave);
}


.numero {
    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        var(--rojo);

    color: white;

    font-weight: bold;
}


.paso h3 {
    color:
        var(--azul);
}


.paso p {
    color:
        var(--texto-suave);

    line-height: 1.6;
}


.aviso {
    margin-top: 45px;

    padding:
        20px 22px;

    border-radius: 12px;

    background:
        #fff4f5;

    border-left:
        4px solid
        var(--rojo);

    color:
        #646d7e;

    line-height: 1.6;
}


.aviso strong {
    color:
        var(--rojo);
}


.consulta {
    margin-top: 45px;

    padding: 42px;

    border-radius: 22px;

    text-align: center;

    color: white;

    background:
        radial-gradient(
            circle at top right,
            rgba(
                45,
                104,
                239,
                0.45
            ),
            transparent 300px
        ),
        linear-gradient(
            135deg,
            var(--azul-oscuro),
            var(--azul)
        );

    box-shadow:
        var(--sombra);
}


.consulta h2 {
    margin:
        0 0 10px;

    font-size: 30px;
}


.consulta p {
    max-width: 650px;

    margin:
        0 auto 24px;

    color:
        #d3dced;

    line-height: 1.6;
}


.boton-whatsapp-financiacion {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        0 21px;

    border-radius: 10px;

    background:
        #25d366;

    color: white;

    text-decoration: none;

    font-weight: bold;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .site-header,
    .site-header::after,
    .header-contenido,
    .brand-logo-frame,
    .brand-logo-frame img {
        animation: none;
    }


    .header-contenido {
        flex-direction: column;

        padding:
            12px 0;
    }


    .site-nav {
        justify-content: center;
    }


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


    .hero-panel {
        max-width: 650px;
    }


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


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


    .detalle-auto {
        grid-template-columns:
            1fr;
    }


    .informacion-vehiculo {
        position: static;
    }


    .foto-principal {
        height: 500px;
    }

}


/* =====================================================
   RESPONSIVE MEDIO
===================================================== */

@media (max-width: 850px) {

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


    .filtro-buscar {
        grid-column:
            span 2;
    }


    .sobre-nosotros-grid {
        grid-template-columns:
            1fr;
    }


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


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


    .foto-principal {
        height: 440px;
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 650px) {

    .header-contenido {
        min-height: auto;

        padding:
            12px 0 14px;
    }


    .brand-logo-frame {
        width: 235px;

        height: 66px;

        padding: 0;

        border-radius: 14px;
    }


    .brand-logo-frame img {
        transform:
            scale(1.50);
    }


    .site-nav {
        gap: 2px;
    }


    .site-nav a {
        padding:
            9px 8px;

        font-size: 12px;
    }


    .hero-home {
        padding:
            60px 0 95px;
    }


    .hero-title {
        font-size: 46px;

        letter-spacing: -2px;
    }


    .hero-copy {
        font-size: 16px;
    }


    .main-home {
        margin-top: -35px;
    }


    .filtros {
        padding: 22px;
    }


    .filtros-top {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


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


    .filtro-buscar {
        grid-column:
            span 1;
    }


    .acciones-filtros {
        flex-direction: column;

        align-items: stretch;
    }


    .boton-filtrar {
        width: 100%;
    }


    .boton-limpiar {
        text-align: center;
    }


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


    .tarjeta-imagen {
        height: 235px;
    }


    .tarjeta-auto:hover {
        transform:
            translateY(-4px);
    }


    .sobre-nosotros {
        padding:
            30px 22px;
    }


    .sobre-nosotros-texto h2 {
        font-size: 30px;
    }


    .mapa,
    .mapa-vacio {
        min-height: 300px;
    }


    .mapa iframe {
        height: 320px;
    }


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


    .footer-grid {
        flex-direction: column;

        text-align: center;
    }


    .foto-principal {
        height: 350px;
    }


    .miniaturas {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


    .miniatura {
        height: 78px;
    }


    .informacion-vehiculo {
        padding: 23px;
    }


    .informacion-vehiculo h2 {
        font-size: 28px;
    }


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


    .fin-hero {
        padding:
            55px 0;
    }


    .fin-hero h1 {
        font-size: 38px;
    }


    .consulta {
        padding:
            30px 20px;
    }

}


/* =====================================================
   ACCESIBILIDAD
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }


    .reveal {
        opacity: 1 !important;

        transform:
            none !important;
    }

}