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

.encabezado-sitio {
    background: #ffffff;
    width: 100%;
    border-bottom: 1px solid #e4e9ed;
}

.encabezado-interior {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 25px;

    display: flex;
    align-items: center;
    gap: 30px;
}


/* ==========================================
   LOGOTIPO
   ========================================== */

.marca-sitio {
    flex: 0 0 140px;
}

.marca-sitio a {
    display: block;
}

.logo-sitio {
    display: block;
    width: 135px;
    height: auto;
}


/* ==========================================
   NAVEGACIÓN
   ========================================== */

.navegacion-sitio {
    flex: 1;
    width: 100%;

    background: #1687b8;

    border-radius: 7px;

    padding: 8px 14px;
}

.navegacion-sitio .navbar-nav {
    align-items: center;
}

.navegacion-sitio .nav-link {
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 500;

    padding: 12px 14px !important;

    border-radius: 4px;

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

.navegacion-sitio .nav-link:hover,
.navegacion-sitio .nav-link:focus {
    background: rgba(255,255,255,.15);
}


/* ==========================================
   MENÚS DESPLEGABLES
   ========================================== */

.navegacion-sitio .dropdown-menu {
    border: 0;

    border-radius: 6px;

    box-shadow:
        0 8px 24px rgba(0,0,0,.12);

    padding: 7px 0;

    margin-top: 4px;
}

.navegacion-sitio .dropdown-item {
    padding: 10px 18px;

    font-size: 14px;

    color: #263746;
}

.navegacion-sitio .dropdown-item:hover,
.navegacion-sitio .dropdown-item:focus {
    background: #edf6fa;
    color: #096f9d;
}


/* ==========================================
   TABLET Y CELULAR
   ========================================== */

@media (max-width: 991.98px) {

    .encabezado-interior {
        display: block;

        padding: 10px 15px;
    }

    .marca-sitio {
        width: 100%;
        text-align: center;

        margin-bottom: 8px;
    }

    .logo-sitio {
        width: 100px;
        max-width: 100px;

        margin: 0 auto;
    }

    .navegacion-sitio {
        width: 100%;

        padding: 8px 12px;
    }

    .navegacion-sitio .navbar-nav {
        align-items: stretch;

        margin-top: 10px;
    }

    .navegacion-sitio .nav-link {
        padding: 10px 8px !important;
    }

    .navegacion-sitio .dropdown-menu {
        box-shadow: none;

        margin-top: 0;
        margin-bottom: 6px;

        border-radius: 5px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */

.pie-sitio {
    background: #0d6f9c;
    color: #ffffff;
    margin-top: 50px;
}

.pie-interior {
    max-width: 1400px;
    margin: 0 auto;
    padding: 45px 30px 0;
}

.pie-columnas {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.pie-columna h2 {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 15px;
}

.pie-columna h3 {
    color: #ffffff;
    font-size: 17px;
    margin: 0 0 17px;
}

.pie-columna p {
    color: rgba(255,255,255,.88);
    line-height: 1.65;
    margin: 0;
}

.pie-columna ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pie-columna li {
    margin-bottom: 9px;
}

.pie-columna a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
}

.pie-columna a:hover,
.pie-columna a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.pie-institucion {
    padding-right: 25px;
}


/* PARTE INFERIOR */

.pie-inferior {
    border-top: 1px solid rgba(255,255,255,.22);
    margin-top: 35px;
    padding: 20px 0;
}

.pie-inferior p {
    margin: 0;
    text-align: center;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}


/* ==========================================
   FOOTER RESPONSIVE
   ========================================== */

@media (max-width: 991.98px) {

    .pie-columnas {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .pie-institucion {
        padding-right: 0;
    }
}


@media (max-width: 575.98px) {

    .pie-interior {
        padding: 35px 20px 0;
    }

    .pie-columnas {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pie-columna h2 {
        font-size: 18px;
    }

    .pie-inferior {
        margin-top: 30px;
    }
}
/* ==========================================
   FOOTER
   ========================================== */

.pie-sitio {
    width: 100%;
    margin-top: 50px;
    background: #0b668f;
    color: #ffffff;
}

.pie-interior {
    max-width: 1400px;
    margin: 0 auto;
    padding: 45px 30px 0;
}

.pie-columnas {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
    gap: 45px;
}


/* TÍTULOS */

.pie-columna h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4;
}

.pie-columna h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}


/* TEXTO */

.pie-columna p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.7;
}

.pie-columna ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pie-columna li {
    margin-bottom: 10px;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.55;
}


/* ENLACES */

.pie-columna a {
    color: rgba(255,255,255,.92);
    text-decoration: none;
}

.pie-columna a:hover,
.pie-columna a:focus {
    color: #ffffff;
    text-decoration: underline;
}


/* INSTITUCIÓN */

.pie-institucion {
    padding-right: 15px;
}


/* BOTÓN DONACIÓN */

.boton-donacion {
    display: inline-block;
    margin-top: 22px;
    padding: 11px 20px;

    background: #ffffff;
    color: #0b668f !important;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

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

.boton-donacion:hover,
.boton-donacion:focus {
    background: #edf6fa;
    color: #07567a !important;
}


/* CONTACTO */

.pie-contacto strong {
    color: #ffffff;
    font-weight: 600;
}


/* REDES SOCIALES */

.pie-redes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pie-redes a {
    display: flex !important;
    align-items: center;
    gap: 10px;

    width: 100%;

    color: rgba(255,255,255,.92);
    text-decoration: none;

    font-size: 14px;
    line-height: 1.3;
}

.pie-redes a:hover,
.pie-redes a:focus {
    color: #ffffff;
    text-decoration: none;
}

.pie-redes i,
.tiktok-texto {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

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

    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;

    font-size: 13px;
}

.pie-redes span {
    display: inline-block;
}

.tiktok-texto {
    font-weight: 700;
}


/* FRANJA INFERIOR */

.pie-inferior {
    margin-top: 38px;
    padding: 20px 0;

    border-top: 1px solid rgba(255,255,255,.2);
}

.pie-inferior p {
    margin: 0;

    text-align: center;

    color: rgba(255,255,255,.78);

    font-size: 13px;
}


/* ==========================================
   FOOTER - TABLET
   ========================================== */

@media (max-width: 991.98px) {

    .pie-columnas {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .pie-institucion {
        padding-right: 0;
    }

}


/* ==========================================
   FOOTER - CELULAR
   ========================================== */

@media (max-width: 575.98px) {

    .pie-sitio {
        margin-top: 35px;
    }

    .pie-interior {
        padding: 35px 22px 0;
    }

    .pie-columnas {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pie-columna h2 {
        font-size: 18px;
    }

    .pie-columna h3 {
        margin-bottom: 13px;
    }

    .pie-inferior {
        margin-top: 30px;
    }

}
/* ==========================================
   HERO PRINCIPAL
   ========================================== */

.hero-institucional {
    width: 100%;
    background: #f5f9fb;
    padding: 55px 25px;
}

.hero-contenedor {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;

    gap: 55px;
}

.hero-texto {
    max-width: 570px;
}

.hero-etiqueta {
    display: inline-block;

    margin-bottom: 15px;

    color: #0b78aa;

    font-size: 14px;
    font-weight: 600;
}

.hero-texto h1 {
    margin: 0 0 20px;

    color: #263746;

    font-size: 44px;
    line-height: 1.12;

    font-weight: 600;
}

.hero-texto p {
    margin: 0 0 28px;

    color: #52626f;

    font-size: 18px;
    line-height: 1.65;
}

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 5px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;
}

.hero-btn-principal {
    background: #1687b8;
    border: 2px solid #1687b8;

    color: #ffffff !important;
}

.hero-btn-secundario {
    background: transparent;
    border: 2px solid #1687b8;

    color: #1687b8 !important;
}

.hero-btn-secundario:hover {
    background: #1687b8;
    color: #ffffff !important;
}

.hero-imagen {
    overflow: hidden;

    border-radius: 10px;

    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.hero-imagen img {
    display: block;

    width: 100%;
    height: 420px;

    object-fit: cover;
}
/* ==========================================
   SORTEO EXTRAORDINARIO
   ========================================== */

.sorteo-destacado {
    width: 100%;

    padding: 60px 25px;

    background: #ffffff;
}

.sorteo-contenedor {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 60px;
    align-items: center;
}


/* IMAGEN DEL CACHITO */

.sorteo-imagen {
    min-height: 360px;

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

    padding: 25px;

    background: #f6f8f9;

    border-radius: 12px;
}

.sorteo-imagen img {
    display: block;

    max-width: 100%;
    max-height: 390px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* INFORMACIÓN */

.sorteo-etiqueta {
    display: inline-block;

    margin-bottom: 10px;

    color: #1687b8;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}

.sorteo-contenido h2 {
    margin: 0 0 12px;

    color: #263746;

    font-size: 34px;
    line-height: 1.2;
}

.sorteo-contenido h2 span {
    color: #1687b8;
}

.sorteo-fecha {
    margin: 0 0 10px;

    color: #52626f;

    font-size: 20px;
}

.sorteo-premio {
    margin: 0 0 22px;

    color: #263746;

    font-size: 17px;
}


/* CONTADOR */

.contador-sorteo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    margin: 25px 0;
}

.contador-bloque {
    padding: 16px 8px;

    text-align: center;

    background: #f1f7fa;

    border-radius: 7px;

    border: 1px solid #d8e8ef;
}

.contador-bloque strong {
    display: block;

    color: #0b78aa;

    font-size: 28px;
    line-height: 1.1;
}

.contador-bloque span {
    display: block;

    margin-top: 5px;

    color: #61727e;

    font-size: 12px;
    text-transform: uppercase;
}

.contador-finalizado,
.sorteo-proximamente {
    margin: 22px 0;

    color: #52626f;

    font-size: 16px;
}


/* BOTONES */

.sorteo-botones {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;
}

.sorteo-btn {
    display: inline-block;

    padding: 12px 20px;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;
}

.sorteo-btn-info {
    background: #1687b8;
    border: 2px solid #1687b8;

    color: #ffffff !important;
}

.sorteo-btn-compra {
    background: #ffffff;
    border: 2px solid #1687b8;

    color: #1687b8 !important;
}

.sorteo-btn-compra:hover {
    background: #1687b8;
    color: #ffffff !important;
}


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

@media (max-width: 991.98px) {

    .hero-contenedor,
    .sorteo-contenedor {
        grid-template-columns: 1fr;
    }

    .hero-institucional {
        padding: 40px 20px;
    }

    .hero-texto {
        max-width: 100%;
    }

    .hero-texto h1 {
        font-size: 36px;
    }

    .hero-imagen img {
        height: 360px;
    }

    .sorteo-destacado {
        padding: 45px 20px;
    }

    .sorteo-contenedor {
        gap: 35px;
    }

}


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

@media (max-width: 575.98px) {

    .hero-institucional {
        padding: 32px 18px;
    }

    .hero-texto h1 {
        font-size: 30px;
    }

    .hero-texto p {
        font-size: 16px;
    }

    .hero-botones,
    .sorteo-botones {
        display: block;
    }

    .hero-btn,
    .sorteo-btn {
        display: block;

        width: 100%;

        margin-bottom: 10px;

        text-align: center;
    }

    .hero-imagen img {
        height: 260px;
    }

    .sorteo-destacado {
        padding: 35px 18px;
    }

    .sorteo-imagen {
        min-height: 250px;
        padding: 18px;
    }

    .sorteo-contenido h2 {
        font-size: 28px;
    }

    .sorteo-fecha {
        font-size: 18px;
    }

    .contador-sorteo {
        gap: 5px;
    }

    .contador-bloque {
        padding: 12px 4px;
    }

    .contador-bloque strong {
        font-size: 22px;
    }

    .contador-bloque span {
        font-size: 9px;
    }

}

/* ==========================================
   ACCESOS PRINCIPALES
   ========================================== */

.accesos-principales {
    width: 100%;
    padding: 65px 25px;
    background: #f5f9fb;
}

.accesos-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.accesos-encabezado {
    text-align: center;
    margin-bottom: 35px;
}

.accesos-encabezado span {
    display: block;

    margin-bottom: 7px;

    color: #1687b8;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.accesos-encabezado h2 {
    margin: 0;

    color: #263746;

    font-size: 34px;
    font-weight: 600;
}


/* CUADRÍCULA */

.accesos-grid {
    display: grid;

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

    gap: 20px;
}


/* TARJETAS */

.acceso-card {
    min-height: 210px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 10px;

    color: #ffffff !important;

    text-decoration: none !important;

    box-shadow: 0 6px 20px rgba(0,0,0,.10);

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

.acceso-card:hover,
.acceso-card:focus {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}


/* TEXTOS */

.acceso-tipo {
    display: block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;

    opacity: .85;
}

.acceso-card h3 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.2;
}

.acceso-enlace {
    font-size: 14px;
    font-weight: 600;

    opacity: .95;
}


/* COLORES */

.acceso-medica {
    background: #157ea9;
}

.acceso-educacion {
    background: #1695a8;
}

.acceso-cursos {
    background: #337f7c;
}

.acceso-loteria {
    background: #234b78;
}

.acceso-emprendedores {
    background: #b36b38;
}

.acceso-donacion {
    background: #173c68;
}


/* TABLET */

@media (max-width: 991.98px) {

    .accesos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* CELULAR */

@media (max-width: 575.98px) {

    .accesos-principales {
        padding: 45px 18px;
    }

    .accesos-encabezado h2 {
        font-size: 29px;
    }

    .accesos-grid {
        grid-template-columns: 1fr;
    }

    .acceso-card {
        min-height: 170px;
    }

}