/* =========================================================
   CASAS.CO.CR 2026
   INFORMACIÓN IMPORTANTE
========================================================= */

.c26-info {
    --c26-info-azul: #0A266C;
    --c26-info-azul-oscuro: #061c4b;
    --c26-info-rojo: #e30613;
    --c26-info-texto: #313846;
    --c26-info-borde: #e8ebef;

    width: 100%;

    margin: 0;
    padding: 55px 0 60px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fc 100%
        );

    
}


.c26-info *,
.c26-info *::before,
.c26-info *::after {
    box-sizing: border-box;
}


.c26-info button,
.c26-info a {
    font-family: inherit;
}


.c26-info a {
    text-decoration: none;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.c26-info-contenedor {
    width: var(--anchoP);

    margin: 0 auto;
}


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

.c26-info-header {
    margin-bottom: 30px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
}


/* =========================================================
   TÍTULO
========================================================= */

.c26-info-encabezado {
    flex: 1 1 auto;
}


.c26-info-linea {
    display: block;

    width: 70px;
    height: 4px;

    margin-bottom: 17px;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            var(--c26-info-rojo) 0 35%,
            transparent 35% 55%,
            var(--c26-info-rojo) 55% 100%
        );
}


.c26-info-encabezado h2 {
    margin: 0;

    color: var(--c26-info-azul);

    font-size: clamp(28px, 2.3vw, 39px);
    line-height: 1.1;
    font-weight: 700;

    letter-spacing: -1px;
}


.c26-info-encabezado p {
    margin: 10px 0 0;

    color: #525a67;

    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
}


/* =========================================================
   PESTAÑAS
========================================================= */

.c26-info-tabs {
    flex: 0 0 auto;

    display: flex;

    align-items: center;

    gap: 18px;
}


.c26-info-tab {
    min-width: 190px;
    height: 57px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    border: 1px solid #edf0f4;
    border-radius: 30px;

    background: #fff;

    color: var(--c26-info-azul);

    font-size: 14px;
    line-height: 1;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 7px 22px rgba(10,38,108,.09);

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.c26-info-tab:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(10,38,108,.14);
}


.c26-info-tab--activo {
    border-color: var(--c26-info-rojo);

    background:
        linear-gradient(
            135deg,
            #f20c19,
            #dc0010
        );

    color: #fff;

    box-shadow:
        0 8px 22px rgba(227,6,19,.22);
}


.c26-info-tab-icono {
    font-size: 23px;
    line-height: 1;
}


/* =========================================================
   PANELES
========================================================= */

.c26-info-panel {
    width: 100%;
}


.c26-info-panel[hidden] {
    display: none !important;
}


/* =========================================================
   GRID
========================================================= */

.c26-info-grid {
    display: grid;

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

    gap: 28px;
}


/* =========================================================
   TARJETA
========================================================= */

.c26-info-card {
    min-width: 0;
    min-height: 310px;

    padding: 30px;

    display: grid;

    grid-template-columns:
        92px minmax(0, 1fr);

    align-items: start;

    gap: 23px;

    border: 1px solid var(--c26-info-borde);
    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(10,38,108,.08);

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


.c26-info-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 32px rgba(10,38,108,.13);
}


/* =========================================================
   ICONO
========================================================= */

.c26-info-card-icono {
    width: 82px;
    height: 82px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0f1;
}


.c26-info-card-icono img {
    display: block;

    width: 53px;
    height: 53px;

    margin: 0;
    padding: 0;

    object-fit: contain;
}


/* =========================================================
   CONTENIDO
========================================================= */

.c26-info-card-contenido {
    min-width: 0;
}


/* =========================================================
   TÍTULO TARJETA
========================================================= */

.c26-info-card-titulo {
    margin: 8px 0 14px;

    color: var(--c26-info-azul);

    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;

    letter-spacing: -.3px;
}


/* =========================================================
   TEXTO
========================================================= */

.c26-info-card-texto {
    margin: 0;

    color: var(--c26-info-texto);

    font-size: 13px;
    line-height: 1.65;
    font-weight: 400;
}


.c26-info-card-texto p {
    margin: 0 0 10px;
}


.c26-info-card-texto p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOTÓN
========================================================= */

.c26-info-card-boton {
    width: fit-content;
    min-width: 225px;
    min-height: 46px;

    margin-top: 20px;
    padding: 0 10px 0 21px;

    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #ef0716,
            #d9000d
        );

    color: #fff;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    box-shadow:
        0 5px 13px rgba(227,6,19,.17);

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


.c26-info-card-boton:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(227,6,19,.24);
}


/* =========================================================
   FLECHA
========================================================= */

.c26-info-card-flecha {
    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    color: var(--c26-info-rojo);

    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}


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

@media (max-width: 1150px) {

    .c26-info-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 25px;
    }


    .c26-info-tabs {
        width: 100%;
    }


    .c26-info-tab {
        flex: 1;

        min-width: 0;
    }


    .c26-info-card {
        padding: 25px 22px;

        grid-template-columns: 70px 1fr;

        gap: 17px;
    }


    .c26-info-card-icono {
        width: 65px;
        height: 65px;
    }


    .c26-info-card-icono img {
        width: 43px;
        height: 43px;
    }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 850px) {

    .c26-info-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .c26-info-card {
        min-height: 0;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 620px) {

    .c26-info {
        padding: 38px 0 42px;
    }


    .c26-info-contenedor {
        width: 92%;
    }


    .c26-info-header {
        margin-bottom: 23px;
    }


    /* TÍTULO */

    .c26-info-linea {
        width: 55px;

        margin-bottom: 12px;
    }


    .c26-info-encabezado h2 {
        font-size: 26px;

        letter-spacing: -.6px;
    }


    .c26-info-encabezado p {
        margin-top: 8px;

        font-size: 12px;
    }


    /* PESTAÑAS */

    .c26-info-tabs {
        gap: 7px;
    }


    .c26-info-tab {
        min-width: 0;
        height: 44px;

        padding: 0 12px;

        gap: 5px;

        font-size: 10px;
    }


    .c26-info-tab-icono {
        display: none;
    }


    /* TARJETA */

    .c26-info-card {
        padding: 22px 19px;

        grid-template-columns: 55px 1fr;

        gap: 14px;

        border-radius: 11px;
    }


    .c26-info-card-icono {
        width: 52px;
        height: 52px;
    }


    .c26-info-card-icono img {
        width: 34px;
        height: 34px;
    }


    .c26-info-card-titulo {
        margin-top: 3px;

        font-size: 16px;
    }


    .c26-info-card-texto {
        font-size: 12px;
        line-height: 1.6;
    }


    .c26-info-card-boton {
        min-width: 0;
        min-height: 42px;

        margin-top: 16px;

        padding-left: 16px;

        font-size: 10px;
    }


    .c26-info-card-flecha {
        width: 27px;
        height: 27px;

        flex-basis: 27px;
    }

}