/* =========================================================
   INVESTIGAR
   ========================================================= */


/* =========================================================
   PÁGINA GENERAL
   ========================================================= */

.investigar-pagina {
    width: 100%;
    margin: 0;
    padding: 0;

    background: var(--color-fondo);

    overflow: hidden;
}


/* =========================================================
   SECCIÓN PRINCIPAL
   FONDO + CONTENIDO + CARDS
   ========================================================= */

.seccion-investigar {
    position: relative;

    width: 100%;
    min-height: calc(100vh - 95px);

    margin: 0;
    padding: 70px 7% 80px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--color-fondo);
}


/* =========================================================
   IMAGEN DE FONDO
   ========================================================= */

.investigar-fondo {
    position: absolute;

    top: 0;
    right: 0;

    width: 72%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: right center;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   DEGRADADO PRINCIPAL
   FUSIÓN DE LA IMAGEN HACIA EL CONTENIDO
   ========================================================= */

.investigar-degradado {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            var(--color-fondo) 0%,
            rgba(2, 4, 8, 0.98) 20%,
            rgba(2, 4, 8, 0.90) 34%,
            rgba(2, 4, 8, 0.62) 50%,
            rgba(2, 4, 8, 0.25) 70%,
            rgba(2, 4, 8, 0.05) 100%
        );
}


/* =========================================================
   FUSIÓN SUPERIOR E INFERIOR
   ========================================================= */

.investigar-degradado::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            var(--color-fondo) 0%,
            rgba(2, 4, 8, 0.25) 9%,
            transparent 20%,
            transparent 82%,
            rgba(2, 4, 8, 0.45) 94%,
            var(--color-fondo) 100%
        );
}


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

.investigar-contenido {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.investigar-encabezado {
    width: 52%;
    max-width: 680px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.investigar-encabezado h1 {
    margin: 4px 0;

    color: var(--color-blanco);

    font-family: var(--fuente-principal);

    font-size: clamp(2.2rem, 4vw, 3.6rem);

    font-weight: 900;

    line-height: 1;
}


.investigar-encabezado h1.azul {
    color: var(--color-cielo);
}


/* =========================================================
   DESTELLO
   ========================================================= */

.investigar-destello {
    width: 75%;
    max-width: 360px;

    height: 10px;

    margin: 20px 0 32px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.90) 0%,
            rgba(255, 255, 255, 0.65) 5%,
            rgba(97, 163, 240, 0.45) 20%,
            rgba(47, 92, 235, 0.22) 42%,
            rgba(47, 92, 235, 0.07) 65%,
            transparent 100%
        );

    filter: blur(0.5px);
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.investigar-encabezado h2 {
    margin: 0;

    max-width: 650px;

    color: var(--color-blanco);

    font-family: var(--fuente-principal);

    font-size: clamp(1.05rem, 1.7vw, 1.45rem);

    font-weight: 500;

    line-height: 1.5;

    text-align: left;
}


/* =========================================================
   CONTENEDOR DE CARDS
   ========================================================= */

.contenedor-cards-investigar {
    width: 100%;

    margin-top: 50px;

    display: flex;

    align-items: stretch;

    justify-content: flex-start;

    gap: 22px;
}


/* =========================================================
   CARD
   ========================================================= */

.investigar-card {
    position: relative;

    width: 300px;
    min-height: 285px;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(47, 92, 235, 0.13),
            rgba(2, 4, 8, 0.88)
        );

    border: 1px solid rgba(97, 163, 240, 0.25);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.45);

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


.investigar-card:hover {
    transform: translateY(-7px);

    border-color: rgba(97, 163, 240, 0.65);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.55),
        0 0 25px rgba(47, 92, 235, 0.18),
        0 0 45px rgba(97, 163, 240, 0.08);
}


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

.investigar-card .sistema-card-contenido {
    width: 100%;
    height: 100%;
    min-height: 285px;

    padding: 25px 22px 22px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


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

.investigar-card .sistema-card-icono {
    width: 72px;
    height: 72px;

    margin: 0 0 18px;

    object-fit: contain;

    flex-shrink: 0;

    filter:
        drop-shadow(0 0 8px rgba(97, 163, 240, 0.50))
        drop-shadow(0 0 18px rgba(47, 92, 235, 0.30));

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


.investigar-card:hover .sistema-card-icono {
    transform: translateY(-4px) scale(1.05);

    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.30))
        drop-shadow(0 0 20px rgba(97, 163, 240, 0.60));
}


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

.investigar-card h3 {
    width: 100%;

    min-height: 42px;

    margin: 0 0 10px;

    display: flex;

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

    color: var(--color-blanco);

    font-family: var(--fuente-principal);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 0.6px;

    line-height: 1.25;

    text-align: center;
}


/* =========================================================
   DESCRIPCIÓN CARD
   ========================================================= */

.investigar-card p {
    width: 100%;

    min-height: 65px;

    margin: 0 0 18px;

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

    font-family: var(--fuente-principal);

    font-size: 0.76rem;

    line-height: 1.5;

    text-align: center;
}


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

.investigar-card .sistema-card-boton {
    margin-top: auto;

    display: inline-flex;

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

    gap: 8px;

    padding: 8px 18px;

    border: 1px solid rgba(97, 163, 240, 0.65);

    border-radius: 10px;

    background: rgba(47, 92, 235, 0.18);

    color: var(--color-blanco);

    font-family: var(--fuente-principal);

    font-size: 0.72rem;

    font-weight: 600;

    text-decoration: none;

    backdrop-filter: blur(5px);

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


.investigar-card .sistema-card-boton span {
    font-size: 1rem;

    line-height: 1;

    transition: transform 0.3s ease;
}


.investigar-card .sistema-card-boton:hover {
    background: var(--color-cielo);

    border-color: var(--color-cielo);

    box-shadow:
        0 0 12px rgba(97, 163, 240, 0.45),
        0 0 25px rgba(47, 92, 235, 0.25);

    transform: translateY(-2px);
}


.investigar-card .sistema-card-boton:hover span {
    transform: translateX(4px);
}


/* =========================================================
   TABLET GRANDE
   901px - 1100px
   ========================================================= */

@media (min-width: 901px) and (max-width: 1100px) {

    .seccion-investigar {
        min-height: auto;

        padding: 65px 6% 70px;
    }


    .investigar-fondo {
        width: 75%;

        object-position: right center;
    }


    .investigar-encabezado {
        width: 58%;
        max-width: 620px;
    }


    .investigar-encabezado h1 {
        font-size: clamp(
            2.2rem,
            4.5vw,
            3.2rem
        );
    }


    .investigar-encabezado h2 {
        font-size: 1.15rem;

        max-width: 590px;
    }


    .contenedor-cards-investigar {
        margin-top: 42px;

        gap: 18px;
    }


    .investigar-card {
        width: 280px;

        min-height: 275px;
    }


    .investigar-card .sistema-card-contenido {
        min-height: 275px;
    }
}


/* =========================================================
   TABLET
   701px - 900px
   ========================================================= */

@media (min-width: 701px) and (max-width: 900px) {

    .seccion-investigar {
        min-height: auto;

        padding: 60px 7% 65px;

        align-items: flex-start;
    }


    /* =====================================================
       FONDO
       ===================================================== */

    .investigar-fondo {
        top: 0;
        right: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;
    }


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

    .investigar-degradado {
        background:
            linear-gradient(
                to right,
                rgba(2, 4, 8, 0.94) 0%,
                rgba(2, 4, 8, 0.78) 38%,
                rgba(2, 4, 8, 0.48) 70%,
                rgba(2, 4, 8, 0.25) 100%
            );
    }


    .investigar-degradado::after {
        background:
            linear-gradient(
                to bottom,
                var(--color-fondo) 0%,
                rgba(2, 4, 8, 0.15) 10%,
                transparent 22%,
                transparent 88%,
                rgba(2, 4, 8, 0.35) 96%,
                var(--color-fondo) 100%
            );
    }


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

    .investigar-contenido {
        width: 100%;

        max-width: none;

        margin: 0;
    }


    .investigar-encabezado {
        width: 70%;

        max-width: 600px;
    }


    .investigar-encabezado h1 {
        font-size: clamp(
            2.2rem,
            5vw,
            3.2rem
        );
    }


    .investigar-encabezado h2 {
        font-size: 1.05rem;

        line-height: 1.5;

        max-width: 570px;
    }


    /* =====================================================
       CARDS
       ===================================================== */

    .contenedor-cards-investigar {
        width: 100%;

        margin-top: 42px;

        gap: 18px;
    }


    .investigar-card {
        width: 280px;

        min-height: 275px;
    }


    .investigar-card .sistema-card-contenido {
        min-height: 275px;

        padding: 22px 18px 20px;
    }
}


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

@media (max-width: 700px) {

    .seccion-investigar {
        min-height: calc(100vh - 75px);

        padding: 55px 7% 60px;

        display: flex;

        align-items: center;

        box-sizing: border-box;
    }


    /* =====================================================
       FONDO
       ===================================================== */

    .investigar-fondo {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;
    }


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

    .investigar-degradado {
        background:
            linear-gradient(
                to right,
                rgba(2, 4, 8, 0.88) 0%,
                rgba(2, 4, 8, 0.68) 45%,
                rgba(2, 4, 8, 0.40) 75%,
                rgba(2, 4, 8, 0.25) 100%
            );
    }


    .investigar-degradado::after {
        background:
            linear-gradient(
                to bottom,
                var(--color-fondo) 0%,
                rgba(2, 4, 8, 0.12) 12%,
                transparent 25%,
                transparent 82%,
                rgba(2, 4, 8, 0.45) 94%,
                var(--color-fondo) 100%
            );
    }


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

    .investigar-contenido {
        width: 100%;

        max-width: none;

        margin: 0;
    }


    .investigar-encabezado {
        width: 100%;

        max-width: none;
    }


    /* =====================================================
       TÍTULOS
       ===================================================== */

    .investigar-encabezado h1 {
        margin: 4px 0;

        font-size: clamp(
            2rem,
            10vw,
            3rem
        );

        line-height: 1;
    }


    /* =====================================================
       DESTELLO
       ===================================================== */

    .investigar-destello {
        width: 75%;

        max-width: 300px;

        height: 8px;

        margin: 18px 0 28px;
    }


    /* =====================================================
       DESCRIPCIÓN
       ===================================================== */

    .investigar-encabezado h2 {
        width: 100%;

        max-width: none;

        font-size: clamp(
            0.95rem,
            4.2vw,
            1.2rem
        );

        line-height: 1.5;

        text-align: left;

        text-shadow:
            0 1px 5px rgba(0, 0, 0, 0.95),
            0 0 12px rgba(0, 0, 0, 0.75);
    }


    /* =====================================================
       CARDS
       ===================================================== */

    .contenedor-cards-investigar {
        width: 100%;

        margin-top: 38px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        gap: 20px;
    }


    .investigar-card {
        width: 100%;

        max-width: 400px;

        min-height: 270px;
    }


    .investigar-card .sistema-card-contenido {
        min-height: 270px;

        padding: 22px 20px 20px;
    }


    .investigar-card .sistema-card-icono {
        width: 68px;
        height: 68px;

        margin-bottom: 15px;
    }


    .investigar-card h3 {
        font-size: 0.98rem;

        min-height: 40px;
    }


    .investigar-card p {
        font-size: 0.76rem;

        min-height: 62px;
    }
}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {

    .seccion-investigar {
        min-height: calc(100vh - 75px);

        padding: 45px 7% 50px;
    }


    /* =====================================================
       TÍTULOS
       ===================================================== */

    .investigar-encabezado h1 {
        font-size: 2rem;
    }


    /* =====================================================
       DESTELLO
       ===================================================== */

    .investigar-destello {
        width: 75%;

        height: 7px;

        margin: 16px 0 24px;
    }


    /* =====================================================
       DESCRIPCIÓN
       ===================================================== */

    .investigar-encabezado h2 {
        font-size: 0.9rem;

        line-height: 1.45;
    }


    /* =====================================================
       CARDS
       ===================================================== */

    .contenedor-cards-investigar {
        margin-top: 32px;

        gap: 18px;
    }


    .investigar-card {
        width: 100%;

        max-width: 350px;

        min-height: 255px;
    }


    .investigar-card .sistema-card-contenido {
        min-height: 255px;

        padding: 20px 18px 18px;
    }


    .investigar-card .sistema-card-icono {
        width: 62px;
        height: 62px;

        margin-bottom: 13px;
    }


    .investigar-card h3 {
        font-size: 0.92rem;

        min-height: 38px;

        margin-bottom: 8px;
    }


    .investigar-card p {
        font-size: 0.72rem;

        min-height: 58px;

        margin-bottom: 15px;

        line-height: 1.45;
    }


    .investigar-card .sistema-card-boton {
        padding: 7px 16px;

        font-size: 0.68rem;
    }
}