/* ==========================================================
   CENTRO PSICOLÓGICO CLARIDAD
   TALLERES Y EVALUACIONES

   Este archivo contiene únicamente estilos de:
   talleres-evaluaciones.php

   Header, footer, botones, contenedores y utilidades
   generales pertenecen a global.css.
   ========================================================== */


/* ==========================================================
   1. HERO
   ========================================================== */

.te-hero {
    padding: clamp(60px, 7vw, 90px) 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            var(--accent-mint-light) 0%,
            transparent 65%
        );
}


.te-hero-content {
    max-width: 850px;

    text-align: center;
}


.te-hero h1 {
    margin-bottom: 22px;

    font-size: clamp(2.3rem, 4.5vw, 3.4rem);
    line-height: 1.15;

    color: var(--primary-dark);
}


.te-hero p {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    font-size: 1.05rem;
    line-height: 1.75;

    color: var(--text-muted);
}


/* ==========================================================
   2. SECCIONES
   ========================================================== */

.te-section {
    padding: 80px 0;
}


.te-section-alt {
    background-color: var(--white);
}


/* ==========================================================
   3. ENCABEZADO DE CADA SECCIÓN
   ========================================================== */

.te-section-heading {
    display: flex;
    align-items: flex-start;

    max-width: 900px;

    margin-bottom: 40px;

    gap: 20px;
}


.te-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 60px;
    height: 60px;

    border-radius: 18px;

    font-size: 1.55rem;

    color: var(--accent-mint);

    background-color: var(--accent-mint-light);
}


.te-section-heading h2 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    line-height: 1.25;

    color: var(--primary-dark);
}


.te-section-heading p {
    max-width: 720px;

    font-size: 1rem;
    line-height: 1.7;

    color: var(--text-muted);
}


/* ==========================================================
   4. GRID
   ========================================================== */

.te-grid {
    display: grid;

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

    gap: 22px;
}


/*
    Se utiliza únicamente en Talleres y charlas,
    donde existen dos tarjetas.
*/
.te-grid-two {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


/* ==========================================================
   5. TARJETAS
   ========================================================== */

.te-card {
    position: relative;

    height: 100%;

    padding: 30px 26px;

    border: 1px solid rgba(15, 42, 58, 0.06);
    border-radius: 22px;

    background-color: var(--white);

    box-shadow:
        0 7px 25px rgba(15, 42, 58, 0.035);

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


.te-section-alt .te-card {
    background-color: var(--bg-light);
}


.te-card:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 168, 143, 0.18);

    box-shadow:
        0 13px 32px rgba(15, 42, 58, 0.075);
}


/* ==========================================================
   6. ICONOS DE TARJETAS
   ========================================================== */

.te-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 20px;

    border-radius: 14px;

    font-size: 1.25rem;

    color: var(--accent-mint);

    background-color: var(--accent-mint-light);
}


/* ==========================================================
   7. CONTENIDO DE TARJETAS
   ========================================================== */

.te-card h3 {
    margin-bottom: 12px;

    font-size: 1.1rem;
    line-height: 1.35;

    color: var(--primary-dark);
}


.te-card p {
    font-size: 0.9rem;
    line-height: 1.65;

    color: var(--text-muted);
}


/* ==========================================================
   8. CTA FINAL
   ========================================================== */

.te-cta {
    width: min(
        1150px,
        calc(100% - 48px)
    );

    margin: 0 auto 70px;

    padding: 45px 50px;

    border-radius: 24px;

    color: var(--white);

    background-color: var(--primary-dark);
}


.te-cta-content {
    display: flex;

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

    max-width: none;

    padding-left: 0;
    padding-right: 0;

    gap: 40px;
}


.te-cta-content > div {
    flex: 1;

    min-width: 0;
}


.te-cta .section-tag {
    margin-bottom: 8px;
}


.te-cta h2 {
    margin-bottom: 8px;

    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.3;

    color: var(--white);
}


.te-cta p {
    max-width: 650px;

    color: #b8c4ce;
}


.te-cta .btn {
    flex-shrink: 0;
}


/* ==========================================================
   9. RESPONSIVIDAD
   ========================================================== */


/* ----------------------------------------------------------
   TABLETS / LAPTOPS PEQUEÑAS
   ---------------------------------------------------------- */

@media (max-width: 992px) {

    .te-hero {
        padding: 65px 0;
    }


    .te-section {
        padding: 65px 0;
    }


    .te-grid {
        gap: 18px;
    }


    .te-card {
        padding: 27px 23px;
    }


    .te-cta {
        padding: 40px;
    }

}


/* ----------------------------------------------------------
   TABLETS VERTICALES / CELULARES
   ---------------------------------------------------------- */

@media (max-width: 768px) {

    /* HERO */

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


    .te-hero h1 {
        font-size: 2.25rem;
    }


    .te-hero p {
        font-size: 1rem;
    }


    /* SECCIONES */

    .te-section {
        padding: 55px 0;
    }


    /* ENCABEZADOS */

    .te-section-heading {
        flex-direction: column;

        align-items: center;

        margin-bottom: 32px;

        text-align: center;
    }


    .te-heading-icon {
        width: 54px;
        height: 54px;

        border-radius: 16px;

        font-size: 1.4rem;
    }


    .te-section-heading p {
        margin-left: auto;
        margin-right: auto;
    }


    /* TARJETAS */

    .te-grid,
    .te-grid-two {
        grid-template-columns: 1fr;
    }


    .te-card {
        padding: 27px 24px;
    }


    /* CTA */

    .te-cta {
        width: calc(100% - 32px);

        margin-bottom: 50px;

        padding: 32px 24px;
    }


    .te-cta-content {
        flex-direction: column;

        align-items: stretch;

        gap: 24px;

        text-align: center;
    }


    .te-cta p {
        margin-left: auto;
        margin-right: auto;
    }


    .te-cta .btn {
        width: 100%;
    }

}


/* ----------------------------------------------------------
   CELULARES PEQUEÑOS
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .te-hero {
        padding: 45px 0;
    }


    .te-hero h1 {
        font-size: 2rem;
    }


    .te-section {
        padding: 45px 0;
    }


    .te-section-heading {
        margin-bottom: 28px;
    }


    .te-heading-icon {
        width: 48px;
        height: 48px;

        font-size: 1.25rem;
    }


    .te-section-heading h2 {
        font-size: 1.6rem;
    }


    .te-card {
        padding: 24px 20px;
    }


    .te-card-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 17px;

        font-size: 1.15rem;
    }


    .te-cta {
        padding: 28px 20px;
    }


    .te-cta h2 {
        font-size: 1.5rem;
    }

}