/* =====================================================
   COSTA RENT | PRECIOS 396
   Tarjetas comerciales elegantes
   ===================================================== */

body.cr396-ready {
    --cr396-navy: #102d48;
    --cr396-blue: #1264ac;
    --cr396-border: #e1e8f0;
    --cr396-muted: #63788c;
}

/* TITULO GENERAL */

body.cr396-ready .cr396-page-title {
    color: var(--cr396-navy);
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.035em;
}

/* REJILLA */

body.cr396-ready .cr396-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px !important;

    margin-top: 28px;
}

/* TARJETAS */

body.cr396-ready .cr396-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    padding: 30px 25px !important;
    margin: 0 !important;

    background: #ffffff !important;

    border: 1px solid var(--cr396-border) !important;
    border-radius: 16px !important;

    box-shadow: 0 10px 27px rgba(16, 45, 72, .055);

    overflow: hidden;
}

/* DIFERENCIACION SUTIL */

body.cr396-ready .cr396-bike {
    border-top: 5px solid #20a5ba !important;
}

body.cr396-ready .cr396-single {
    border: 2px solid #1264ac !important;
    border-top: 5px solid #1264ac !important;
    background: #f8fbff !important;
}

body.cr396-ready .cr396-double {
    border-top: 5px solid #173e65 !important;
}

/* CABECERAS */

body.cr396-ready .cr396-title {
    color: #102d48 !important;

    font-size: clamp(19px, 1.6vw, 23px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    letter-spacing: -.025em;

    margin: 0 0 14px !important;
}

body.cr396-ready .cr396-card p {
    color: #52677b;
    line-height: 1.7;
}

/* LISTADOS DE TARIFAS Y EQUIPAMIENTO */

body.cr396-ready .cr396-list {
    list-style: none;

    margin: 18px 0 !important;
    padding: 0 !important;
}

body.cr396-ready .cr396-list li {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;

    padding: 12px 0;

    border-bottom: 1px solid #e8eef4;

    color: #25435d;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.5;
}

body.cr396-ready .cr396-list li:last-child {
    border-bottom: 0;
}

/* BOTONES */

body.cr396-ready .cr396-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 13px 20px !important;

    background: #1264ac !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 9px !important;

    font-size: 14px;
    font-weight: 750;
    text-decoration: none;

    box-shadow: none !important;

    transition: background .18s ease;
}

body.cr396-ready .cr396-button:hover {
    background: #0a4c85 !important;
    color: #ffffff !important;
}

/* TABLET */

@media (max-width: 1100px) {
    body.cr396-ready .cr396-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.cr396-ready .cr396-card {
        padding: 24px 20px !important;
    }
}

/* MOVIL */

@media (max-width: 760px) {
    body.cr396-ready .cr396-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px !important;
    }

    body.cr396-ready .cr396-card {
        width: 100%;
        height: auto;
        padding: 24px 20px !important;
        border-radius: 13px !important;
    }

    body.cr396-ready .cr396-page-title {
        font-size: 30px;
    }

    body.cr396-ready .cr396-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cr396-ready .cr396-button {
        transition: none;
    }
}

/* FIN COSTA RENT PRECIOS 396 */

/* ==================================================
   COSTA RENT | PASO 39.6-B
   ALINEACION DE TARJETAS DE PRECIOS
   ================================================== */

@media (min-width: 761px) {

    /*
     * Reservar espacio uniforme para tres
     * lineas de titulo en las tarjetas.
     */

    body.cr396-ready .cr396-card .cr396-title {
        min-height: 3.9em !important;
        display: flex;
        align-items: flex-start;
    }

    /*
     * Igualar la zona descriptiva.
     */

    body.cr396-ready .cr396-card
    .cr396-title + p {
        min-height: 3.4em;
    }

    /*
     * Mantener las listas consistentes.
     */

    body.cr396-ready .cr396-card .cr396-list {
        width: 100%;
    }

    /*
     * Los botones permanecen abajo.
     */

    body.cr396-ready .cr396-card .cr396-button {
        margin-top: auto;
    }
}

/*
 * MOVIL
 * Evitar espacios artificiales.
 */

@media (max-width: 760px) {

    body.cr396-ready .cr396-card .cr396-title {
        min-height: 0 !important;
    }

    body.cr396-ready .cr396-card
    .cr396-title + p {
        min-height: 0;
    }
}

/* FIN COSTA RENT PASO 39.6-B */

/* ==================================================
   COSTA RENT | PASO 39.6-C
   MEDITERRANEAN SOFT GLOW
   ================================================== */

/*
 * Fondo luminoso, discreto y estático.
 * Solo se activa en la página de precios.
 */

body.cr396-ready .cr39-content {
    background:
        radial-gradient(
            ellipse 50% 40% at 95% 8%,
            rgba(115, 191, 232, .13),
            transparent 75%
        ),
        radial-gradient(
            ellipse 45% 40% at 5% 95%,
            rgba(102, 207, 201, .10),
            transparent 75%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fbfd 55%,
            #f4f9fc 100%
        ) !important;
}

/* Contenedor de tarjetas */

body.cr396-ready .cr396-grid {
    position: relative;
    isolation: isolate;
}

/* Tarjetas elegantes */

body.cr396-ready .cr396-card {
    position: relative;

    background-color: rgba(255,255,255,.96) !important;

    box-shadow:
        0 8px 24px rgba(23, 60, 91, .055),
        0 2px 7px rgba(23, 60, 91, .025) !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

/* Mantener el scooter principal destacado */

body.cr396-ready .cr396-single {
    background-color: rgba(248,251,255,.98) !important;
}

/* Elevación discreta al pasar el ratón */

@media (hover: hover) and (pointer: fine) {
    body.cr396-ready .cr396-card:hover {
        transform: translateY(-4px);

        box-shadow:
            0 17px 35px rgba(23, 60, 91, .10),
            0 4px 12px rgba(23, 60, 91, .04) !important;
    }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    body.cr396-ready .cr396-card {
        transition: none !important;
    }
}

/* FIN COSTA RENT PASO 39.6-C */
