/* Redes Sociales */
.redes-sociales {
    font-family: "Vollkorn", sans-serif;
    font-style: italic;
}

.redes-sociales p {
    font-size: medium;
}

.social-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: none !important;
}

/* EFECTO ILUMINADO */
.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.15);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.facebook {
    background-color: #1877f2;
}

.x {
    background-color: #000000;
}

.whatsapp {
    background-color: #25d366;
}

.facebook:hover {
    box-shadow:
        0 0 12px rgba(24, 119, 242, 0.9),
        0 12px 30px rgba(0, 0, 0, 0.35);
}

.x:hover {
    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.9),
        0 12px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp:hover {
    box-shadow:
        0 0 12px rgba(37, 211, 102, 0.9),
        0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Fin Redes Sociales */

.titulo_inicial {
    text-align: center;
    font-size: 3rem;
    color: #004b87;
    font-family: "Vollkorn", sans-serif;
    font-style: italic;
    font-weight: 700;
}

.text_denuncia {
    font-weight: 700;
}

.btn-denuncia {
    border: 1px solid lightgray;
    background-color: #004b87;
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.lupa-busq {
    width: 60%;
}

.btn-utape2 {
    color: white !important;
    font-size: 1.2rem;
    text-decoration: underline;
    font-weight: 700;
}

.row {
    margin: 0 auto;
}

.video-responsivo {
    width: 100%;
}

.temas_unidad .enlace_texto {
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.temas_unidad .enlace_texto span {
    font-size: 1.1vw;
    color: black;
}

.contenedor-inicial {
    /*background: linear-gradient(to bottom,
            rgba(186, 220, 237, 1) 0%,
            rgba(186, 220, 237, 0) 100%);*/
    /*background: url(../img/inicial/background_principal_sm.webp);*/
    background: linear-gradient(to right, #00D0FF, #004b87);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    max-width: 100%;
    padding-bottom: 60px;
    padding-top: 50px;
    /*border-bottom-left-radius: 100% 500px;
    border-bottom-right-radius: 100% 500px;*/
    margin-bottom: 10px !important;
    position: relative;
    overflow: hidden;
}

.contenedor-inicial .espacio-contenido {
    margin-top: 20px;
}

.contenedor-inicial .titulo {
    color: white;
    font-size: 5rem;
    font-family: "Vollkorn", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
    text-align: center;
}

.contenedor-inicial .titulo span {
    color: #69b3e7;
    font-size: 5.5rem;
    font-family: "Vollkorn", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
}

.contenedor-inicial .subtitulo {
    color: white;
    text-align: center;
    font-size: 1.5rem;
}

.contenedor-inicial .subtitulo1 {
    color: white;
    text-align: center;
    font-family: "Vollkorn", sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2.5rem;
}

.contenedor-inicial .btn-group {
    width: 80%;
    box-shadow: 0px 5px 6px;
    border-radius: 20px;
}

.contenedor-inicial input {
    background-color: #ebebeb;
    border-radius: 20px 0px 0px 20px;
    text-align: center;
    font-size: 1vw;
}

.contenedor-inicial a.btn-utape {
    --bs-border-width: 2px;
    --bs-border-color: white;
    background-color: #ebebeb;
    border-radius: 0px 20px 20px 0px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-left: var(--bs-border-width) solid white;
    padding: 10px 20px;
}

.contenedor-inicial a.btn-utape i {
    background: linear-gradient(to right, #00D0FF, #004b87);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contenedor-principal2 {
    background: #004b87;
    padding: 10px 10px 30px 10px;
}

.contenedor-principal2 .row {
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
}

.contenedor-principal .contenedor-cards,
.contenedor-principal2 .contenedor-cards {
    max-width: 1400px;
}

.separacion-seccion {
    margin-top: 50px;
}

.titulo-temas {
    font-family: "Vollkorn", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: italic;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px #00000099 !important;
}

/* Cards */
.cards_container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    width: 100%;
    min-height: 185px;
    padding: 20px;
    background: linear-gradient(to right, #0c2547, #0c4b88, #4d5ea7);
    border: 1px solid #00c3ff !important;
    /* Fondo azul */
    color: white !important;
    /* Letras blancas */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    border-radius: 50px !important;
    margin: 0 auto;
}

/* --- GRID (opcional, solo si quieres el gap controlado) --- */
.card-item {
    margin-bottom: 1.5rem;
}

/* --- TARJETA --- */
.card2 {
    width: 100%;
    height: 300px;
    /* Ajusta: 230–260 */
    border-radius: 50px !important;
    background: #f5f5f5;
    /* whitesmoke */
    box-shadow: 0px 6px 18px rgba(0, 0, 0, .10);
    transition: all .25s ease;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Neutraliza el row (márgenes negativos) y centra el contenido */
.card2 .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 🔥 Evita que col-10 offset-1 reduzca el icono */
.card2 .col-10.offset-1 {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

/* --- HOVER --- */
.card2:hover {
    background: linear-gradient(to right, #0c2547, #0c4b88, #4d5ea7);
    border: 1px solid #00c3ff;
    transform: translateY(-4px);
}

.card2:hover .tematica-tema {
    color: #fff !important;
}

/* --- TEXTO --- */
.tematica-tema {
    margin: 10px 0 0 0 !important;
    /* controla separación icono-texto */
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    color: #0c2547;

    min-height: 2.6rem;
    /* reserva para 1-2 líneas */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- ICONO WebP --- */
.img-dinamica {
    width: 150px;
    /* Ajusta: 95–125 */
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;

    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .22));
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 576px) {
    .card2 {
        height: 250px;
        border-radius: 40px !important;
    }

    .img-dinamica {
        width: 92px;
        height: 92px;
    }

}

.card2.active {
    background: linear-gradient(to right, #0c2547, #0c4b88, #4d5ea7);
    border: 2px solid #00c3ff;
}

.card2.active .tematica-tema {
    color: #fff !important;
}

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

.card h3 {
    margin: 0 0 10px 0;
}

.card p {
    margin: 0;
    color: white;
    font-size: 0.95vw;
}

.card p i {
    margin: 0;
    color: #00c3ff;
}

.card-title {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: 'Vollkorn';
    font-style: italic;
    text-shadow: 2px 2px 4px #00000099 !important;
}

/* Capa de iluminación */
.contenedor-inicial::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 100%);

    animation: luzBarrido 7s ease-in-out infinite;
}

/* 3 segundos movimiento + 4 segundos pausa */
@keyframes luzBarrido {
    0% {
        left: -100%;
    }

    43% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

*/ @media (max-width: 991px) {

    .separacion-tema {
        margin-top: 30px;
    }

    .contenedor-inicial .btn-group {
        width: 80%;
    }

    .contenedor-inicial .titulo {
        font-size: 2.5rem;
    }

    .contenedor-inicial .titulo span {
        font-size: 3rem;
    }

    .contenedor-inicial .subtitulo {
        font-size: 1.1rem;
    }

    .contenedor-inicial input {
        font-size: 1.2rem;
    }

    .contenedor-inicial a.btn-utape i {
        font-size: 1.6rem;
    }

    .temas_unidad .enlace_texto span {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {

    .contenedor-inicial {
        background: url(../img/inicial/background_principal_sm.webp);
        background-repeat: no-repeat;
        background-size: auto;
        background-position: center;
        margin-bottom: 10px !important;
        /*border-bottom-left-radius: 100% 300px;
        border-bottom-right-radius: 100% 300px;*/
    }

    .separacion-tema {
        margin-top: 30px;
    }

    .contenedor-inicial .titulo {
        font-size: 2.5rem;
    }

    .contenedor-inicial .titulo span {
        font-size: 3rem;
    }

    .contenedor-inicial .subtitulo {
        font-size: 1.2rem;
        padding: 0px 10px;
    }

    .contenedor-inicial input {
        font-size: 1.2rem;
    }

    .contenedor-inicial a.btn-utape i {
        font-size: 1.6rem;
    }

    .temas_unidad .enlace_texto span {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {

    .contenedor-inicial {
        background: url(../img/inicial/background_principal_sm.webp);
        background-repeat: no-repeat;
        background-size: auto;
        background-position: center;
        margin-bottom: 10px !important;
    }

    .contenedor-inicial {
        padding-bottom: 60px;
        padding-top: 25px;
        /*border-bottom-left-radius: 100% 200px;
        border-bottom-right-radius: 100% 200px;*/
    }

    .contenedor-inicial .titulo {
        font-size: 2.5rem;
    }

    .contenedor-inicial .titulo span {
        font-size: 3rem;
    }

    .contenedor-inicial .subtitulo {
        font-size: 1.1rem;
        padding: 0px 10px;
    }

    .contenedor-inicial .btn-group {
        width: 88%;
    }

    .contenedor-inicial input {
        font-size: 1rem;
    }

    .contenedor-inicial a.btn-utape i {
        font-size: 1.4rem;
    }

    .contenedor-inicial a.btn-utape {
        padding: 10px 13px;
    }

    .separacion-tema {
        margin-top: 30px;
    }

    .temas_unidad .enlace_texto span {
        font-size: 1.2rem;
    }

    .contenedor-inicial .subtitulo1 {
        font-size: 1.5rem;
    }

    .btn-denuncia {
        margin-bottom: 20px;
    }

}