/* ================================
   Variables de color del proyecto
================================ */

:root {
    --color-primario: #1c396b;
    --color-secundario: #64656a;
    --color-fondo: #f4f4f4;
    --color-blanco: #ffffff;
}


/* ================================
   Reset básico
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ================================
   Estilos base
================================ */

body {
    background-color: var(--color-fondo);
    color: var(--color-secundario);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    padding-top: 58px;
}

@media (max-width:768px) {
    body {
        padding-top: 50px;
    }
}


/* ================================
   Utilidades del proyecto
================================ */

.bg-primario {
    background-color: var(--color-primario);
}

.bg-blanco {
    background-color: var(--color-blanco);
}

.text-primario {
    color: var(--color-primario);
}

.text-secundario {
    color: var(--color-secundario);
}


/* Espaciados base que usaremos después */

.section-padding {
    padding: 80px 0;
}


/* Transiciones suaves para futuros elementos */

.transition {
    transition: all 0.3s ease;
}


/* ================================
   HERO
================================ */


/* .hero-section {
    background-color: var(--color-primario);
    min-height: 90vh;
    display: flex;
} */

.hero-section {
    background: linear-gradient( 135deg, var(--color-primario) 0%, #244a86 60%, #1c396b 100%);
    min-height: 90vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

.hero-content {
    color: var(--color-blanco);
}

.hero-media {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 15px;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width:768px) {
    .hero-media {
        margin-top: 40px;
    }
}


/* ================================
   Forma geométrica del hero
================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}


/* forma decorativa */

.hero-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient( 135deg, var(--color-blanco), var(--color-fondo));
    clip-path: polygon( 40% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.15;
}


/* ================================
   Botones del HERO
================================ */

.btn-hero-primary {
    background-color: var(--color-blanco);
    color: var(--color-primario);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
}

.btn-hero-primary:hover {
    background-color: var(--color-fondo);
    color: var(--color-primario);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* botón outline */

.btn-hero-outline {
    background-color: transparent;
    color: var(--color-blanco);
    border: 2px solid var(--color-blanco);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-hero-outline:hover {
    background-color: var(--color-blanco);
    color: var(--color-primario);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* ================================
   Partículas animadas del HERO
================================ */

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 10s linear infinite;
}


/* posiciones iniciales */

.hero-particles span:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
}

.hero-particles span:nth-child(2) {
    left: 30%;
    animation-duration: 18s;
}

.hero-particles span:nth-child(3) {
    left: 50%;
    animation-duration: 14s;
}

.hero-particles span:nth-child(4) {
    left: 60%;
    animation-duration: 20s;
}

.hero-particles span:nth-child(5) {
    left: 70%;
    animation-duration: 15s;
}

.hero-particles span:nth-child(6) {
    left: 80%;
    animation-duration: 12s;
}


/* animación */

@keyframes floatParticle {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh);
        opacity: 0;
    }
}


/* ================================
   MOCKUP TECNOLÓGICO HERO
================================ */

.hero-mockup {
    width: 100%;
    max-width: 680px;
    /* background: var(--color-blanco); */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: floatingMockup 6s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}


/* barra superior estilo app */

.mockup-header {
    background: var(--color-fondo);
    padding: 12px;
    display: flex;
    gap: 8px;
}

.mockup-header span {
    width: 10px;
    height: 10px;
    background: var(--color-secundario);
    border-radius: 50%;
    opacity: 0.5;
}


/* titulo */

.mockup-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1c396b;
}

.mockup-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    font-size: 16px;
    color: #374151;
    border-bottom: 1px solid #eef1f6;
}


/* .mockup-item i {
    width: 18px;
    color: #6b7280;
    font-size: 14px;
} */

.mockup-check {
    color: #22c55e;
    font-size: 14px;
}


/* tarjetas */

.mockup-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #6f42c1;
    color: #ffffff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 16px;
    transition: all .3s ease;
}


/* iconos */

.mockup-card i {
    color: #ffffff;
    font-size: 14px;
}


/* hover */

.mockup-card:hover {
    background: #5a32a3;
    transform: translateY(-2px);
}

.mockup-browser {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f3f8;
    padding: 6px 10px;
    border-bottom: 1px solid #e3e6ef;
}

.browser-controls {
    display: flex;
    gap: 6px;
}

.browser-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-controls span:nth-child(1) {
    background: #ff5f56;
}

.browser-controls span:nth-child(2) {
    background: #ffbd2e;
}

.browser-controls span:nth-child(3) {
    background: #27c93f;
}

.browser-controls {
    display: flex;
    gap: 6px;
}

.browser-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-controls span:nth-child(1) {
    background: #ff5f56;
}

.browser-controls span:nth-child(2) {
    background: #ffbd2e;
}

.browser-controls span:nth-child(3) {
    background: #27c93f;
}


/* cuerpo */

.mockup-body {
    padding: 30px;
}

.mockup-line {
    height: 12px;
    background: var(--color-fondo);
    border-radius: 6px;
    margin-bottom: 15px;
}

.mockup-line.short {
    width: 60%;
}


/* animación flotante */

@keyframes floatingMockup {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}


/* ================================
   Glow tecnológico del mockup
================================ */

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient( circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 0;
}


/* asegurar que el mockup esté encima */

.hero-mockup {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* background: white; */
}


/* ================================
   Texto del HERO
================================ */

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-blanco);
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #d6e2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 520px;
}


/* ================================
   Logo dentro del mockup
================================ */

.mockup-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
}

.mockup-logo {
    max-width: 680px;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ================================
   SECCIÓN ¿QUÉ ES?

================================ */

.about-section {
    background: var(--color-blanco);
}


/* títulos */

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}


/* línea decorativa */

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient( 90deg, var(--color-primario), #244a86);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-secundario);
    max-width: 650px;
    margin: auto;
}


/* cards */

.about-card {
    background: linear-gradient( 180deg, #ffffff 0%, #f8f9fc 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* hover elegante */

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(28, 57, 107, 0.12);
}


/* icono placeholder */

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    background: linear-gradient( 135deg, var(--color-primario), #244a86);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon i {
    color: var(--color-blanco);
    font-size: 24px;
    transition: all 0.35s ease;
}


/* texto */

.about-card h5 {
    color: var(--color-primario);
    font-weight: 600;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--color-secundario);
}


/* ================================
   Animación iconos (hover)
================================ */

.about-card:hover .about-icon i {
    transform: scale(1.2) rotate(5deg);
}


/* glow suave */

.about-card:hover .about-icon {
    box-shadow: 0 10px 25px rgba(28, 57, 107, 0.35);
}


/* ================================
   Barra superior accesos
================================ */

.top-access-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 57, 107, 0.85);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* contenedor */

.access-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}


/* botones */

.access-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-blanco);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* iconos */

.access-btn i {
    font-size: 14px;
}


/* hover */

.access-btn:hover {
    background: var(--color-blanco);
    color: var(--color-primario);
    transform: translateY(-2px);
}


/* ================================
   Responsive móvil
================================ */

@media (max-width:768px) {
    .access-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .access-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

.access-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* ================================
   Marca / icono del evento
================================ */

.access-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-blanco);
    font-weight: 600;
    font-size: 1rem;
}

.access-brand img {
    height: 28px;
    width: auto;
}


/* botones ahora alineados a la izquierda */

.access-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* contenedor de botones */

.access-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}


/* botones */

.access-btn {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-blanco);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* hover */

.access-btn:hover {
    background: var(--color-blanco);
    color: var(--color-primario);
    transform: translateY(-2px);
}


/* ================================
   SECCIÓN CATEGORÍAS
================================ */

.categories-section {
    background: var(--color-fondo);
}


/* tarjetas */

.category-card {
    background: var(--color-blanco);
    padding: 35px 30px;
    border-radius: 14px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


/* barra superior */

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-primario);
}


/* hover */

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    /* transform: scale(1.15) rotate(8deg); */
}


/* colores por categoría */

.cat-industria::before {
    background: #2563eb;
}

.cat-sustentabilidad::before {
    background: #16a34a;
}

.cat-salud::before {
    background: #dc2626;
}

.cat-energia::before {
    background: #f59e0b;
}

.cat-social::before {
    background: #9333ea;
}

.cat-ti::before {
    background: #0891b2;
}

.cat-industria .category-icon {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.cat-sustentabilidad .category-icon {
    background: linear-gradient(135deg, #69b777, #538a83);
}

.cat-salud .category-icon {
    background: linear-gradient(135deg, #e8454a, #c3415a);
}

.cat-energia .category-icon {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.cat-social .category-icon {
    background: linear-gradient(135deg, #5771b4, #544596);
}

.cat-ti .category-icon {
    background: linear-gradient(135deg, #0b93d2, #0e76b7);
}


/* icono */

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.category-icon i {
    color: var(--color-blanco);
    font-size: 28px;
}


/* animación */

.category-card:hover .category-icon {
    transform: rotate(8deg) scale(1.12);
}


/* textos */

.category-card h5 {
    color: var(--color-primario);
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.95rem;
    color: var(--color-secundario);
}


/* ================================
   ANIMACIÓN SCROLL REVEAL
================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ================================
   TIMELINE ETAPAS
================================ */

.timeline-section {
    background: var(--color-blanco);
}


/* contenedor */

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}


/* línea */

.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #55a855;
    z-index: 0;
}


/* item */

.timeline-item {
    position: relative;
    width: 30%;
    text-align: center;
    z-index: 1;
}


/* icono */

.timeline-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--color-primario), #244a86);
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    transition: all 0.35s ease;
}


/* hover */

.timeline-item:hover .timeline-icon {
    transform: scale(1.15) rotate(8deg);
}


/* contenido */

.timeline-content {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-6px);
}


/* títulos */

.timeline-content h5 {
    color: var(--color-primario);
    margin-bottom: 10px;
    font-weight: 600;
}


/* texto */

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-secundario);
}

@media (max-width:768px) {
    .timeline {
        flex-direction: column;
        align-items: center;
    }
    .timeline-line {
        display: none;
    }
    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
    }
}


/* ================================
   FECHAS IMPORTANTES
================================ */

.dates-section {
    background: var(--color-fondo);
}

.dates-wrapper {
    max-width: 800px;
    margin: auto;
}


/* item */

.date-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
}


/* caja de fecha */

.date-box {
    min-width: 70px;
    height: 70px;
    background: linear-gradient( 135deg, var(--color-primario), #244a86);
    border-radius: 12px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.date-box span {
    font-size: 22px;
    line-height: 1;
}

.date-box small {
    font-size: 12px;
    letter-spacing: 1px;
}


/* contenido */

.date-content {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: all 0.3s ease;
}

.date-content h5 {
    color: var(--color-primario);
    font-weight: 600;
    margin-bottom: 8px;
}

.date-content i {
    margin-right: 8px;
    color: var(--color-primario);
}


/* hover */

.date-item:hover .date-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}


/* ================================
   LOGOS INSTITUCIONALES
================================ */

.logos-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eef2f7;
}


/* contenedor */

.logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}


/* cada logo */

.logo-item img {
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.8;
    transition: all 0.35s ease;
}


/* hover */

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width:768px) {
    .logos-wrapper {
        gap: 30px;
    }
    .logo-item img {
        height: 55px;
    }
}


/* ================================
   BIBLIOTECA DE DOCUMENTOS
================================ */

.docs-library {
    background: var(--color-blanco);
}


/* contenedor */

.docs-container {
    max-width: 900px;
    margin: auto;
}


/* fila */

.doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 18px 22px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    border: 1px solid #eef2f7;
}


/* hover */

.doc-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}


/* info izquierda */

.doc-info {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* icono */

.doc-icon {
    font-size: 28px;
    color: #dc2626;
}


/* texto */

.doc-text h6 {
    margin: 0;
    font-weight: 600;
    color: var(--color-primario);
}

.doc-text span {
    font-size: 13px;
    color: #6b7280;
}


/* botones */

.doc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width:768px) {
    .doc-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .doc-actions {
        width: 100%;
    }
}


/* botón base */

.doc-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}


/* ver */

.doc-btn.view {
    background: #e5e7eb;
    color: #374151;
}


/* descargar */

.doc-btn.download {
    background: var(--color-primario);
    color: white;
}


/* hover */

.doc-btn:hover {
    transform: scale(1.05);
}


/* ================================
   ESTADO DOCUMENTOS
================================ */

.doc-status {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}


/* disponible */

.doc-status.available {
    color: #16a34a;
    font-weight: 500;
}


/* pendiente */

.doc-status.pending {
    color: #f59e0b;
    font-weight: 500;
}


/* bloqueado */

.doc-locked {
    font-size: 16px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* documento no disponible */

.doc-row.pending {
    opacity: 0.7;
}


/* ================================
   FOOTER
================================ */

.site-footer {
    background: linear-gradient( 135deg, #0f172a 0%, #1f3e60 65%, #0c3978 100%);
    color: #cbd5f5;
    padding-top: 60px;
}


/* grid */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}


/* logo */

.footer-logo {
    height: 120px;
    margin-bottom: 15px;
}


/* texto */

.footer-text {
    font-size: 1rem;
    line-height: 1.6;
}


/* títulos */

.footer-title {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}


/* links */

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: 0.3s;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li i {
    width: 18px;
}

.footer-links a {
    color: #cbd5f5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}


/* contacto */

.footer-contact {
    list-style: none;
    padding: 0;
}


/* .footer-contact li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
} */

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact li i {
    width: 18px;
    margin-top: 7px;
    font-size: 15px;
}


/* redes */

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border-radius: 8px;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--color-primario);
    transform: translateY(-3px);
}


/* parte inferior */

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
}


/* ================================
   NOTICIAS / AVISOS
================================ */

.news-section {
    background: var(--color-fondo);
}


/* grid */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* tarjeta */

.news-card {
    background: #f9fafb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}


/* imagen */

.news-media {
    width: 100%;
    height: 480px;
    object-fit: cover;
}


/* video */

.news-video iframe {
    width: 100%;
    height: 480px;
    border: none;
}


/* contenido */

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 13px;
    color: #6b7280;
    display: block;
    margin-bottom: 6px;
}

.news-content h5 {
    color: var(--color-primario);
    margin-bottom: 8px;
    font-weight: 600;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--color-secundario);
}


/*Ajuste barra de accesos*/

.access-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    margin-right: 10px;
    cursor: pointer;
}

@media (max-width:768px) {
    .access-toggle {
        display: block;
    }
    /* ocultar botones */
    .access-buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #0b2a4a;
        padding: 15px;
        gap: 10px;
    }
    /* cuando se abre */
    .access-buttons.active {
        display: flex;
    }
}


/* LIGHTBOX */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}


/* imagen */

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    animation: zoomIn 0.35s ease;
}


/* animación */

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* cerrar */

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: white;
    font-size: 42px;
    cursor: pointer;
}


/* flechas */

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}


/* video */

.video-section {
    padding: 90px 0;
    background: #f7f9fc;
}

.video-section {
    padding: 90px 0;
    background: #f7f9fc;
}

.video-thumbnail {
    width: 100%;
    display: block;
}

.video-thumbnail {
    width: 100%;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(28, 57, 107, 0.95);
    color: white;
    border: none;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.video-thumbnail-wrapper:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.pulse-play::before,
.pulse-play::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulseVideo 2.2s infinite;
}

.pulse-play::after {
    animation-delay: 1s;
}

@keyframes pulseVideo {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.video-cta-text {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .3px;
    z-index: 2;
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto;
}

.video-container video {
    max-height: 90vh;
    width: auto;
    max-width: 100%;
    display: block;
    margin: auto;
    border-radius: 10px;
}

.video-thumbnail-wrapper {
    position: relative;
    max-width: 600px;
    height: 335px;
    margin: 40px auto 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.video-cta {
    height: 320px;
    background: linear-gradient(135deg, #1c396b, #0f2347);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-cta-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 40%), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05), transparent 40%);
    animation: videoBgMove 12s linear infinite;
}

@keyframes videoBgMove {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-5%, -5%);
    }
    100% {
        transform: translate(0, 0);
    }
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-preview-text {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 500;
    z-index: 2;
}

.video-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.pulse-play::before,
.pulse-play::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    top: 0;
    left: 0;
    animation: pulseVideo 2.4s infinite;
}

.pulse-play::after {
    animation-delay: 1.2s;
}

@keyframes pulseVideo {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.9);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.video-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #1c396b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: all .25s ease;
    z-index: 10;
}

.video-close:hover {
    background: #1c396b;
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width:768px) {
    .video-close {
        top: 10px;
        right: 10px;
    }
    .video-thumbnail-wrapper {
        height: 200px;
    }
}

.hashtag {
    font-family: 'Segoe UI', 'Montserrat', sans-serif;
    font-weight: 700;
    color: #51bff2;
    text-shadow: 0 0 5px rgba(79, 195, 247, 0.4);
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.hashtag:hover {
    color: #81D4FA;
    text-shadow: 0 0 8px rgba(129, 212, 250, 0.7);
}

a {
    color: inherit;
    text-decoration: none;
}

.youtube-section {
    padding: 90px 0;
    background: var(--color-blanco);
}


/* Carrusel horizontal */


/* .video-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 10px;
} */

.video-item {
    min-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.video-item img {
    width: 100%;
    display: block;
}


/* Hover */

.video-item:hover {
    transform: scale(1.05);
    transition: .3s;
}

.yt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.yt-container {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.yt-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
}


/* Botón cerrar */

.yt-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #1c396b;
    font-size: 20px;
    cursor: pointer;
}

.video-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}


/* Carrusel */

.video-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
}


/* Flechas */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(28, 57, 107, 0.9);
    color: white;
    cursor: pointer;
    z-index: 5;
}

.carousel-btn.left {
    left: -20px;
}

.carousel-btn.right {
    right: -20px;
}


/* Tarjeta video */

.video-item {
    min-width: 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition: .3s;
}

.video-item:hover {
    transform: scale(1.05);
}


/* Info */

.video-info {
    padding: 12px;
}

.video-info h4 {
    font-size: 15px;
    margin: 0 0 5px;
}

.video-info span {
    font-size: 13px;
    color: #777;
}

.video-info {
    padding: 14px 16px 16px;
    background: #ffffff;
}


/* TÍTULO */

.video-title {
    font-size: 15px;
    font-weight: 600;
    color: #1c396b;
    margin: 0 0 6px;
    line-height: 1.4;
}


/* FECHA */

.video-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64656a;
    opacity: .85;
}


/* ICONO */

.video-date i {
    font-size: 12px;
    color: #1c396b;
    opacity: .7;
}

.video-info {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.video-item:hover .video-title {
    color: #0f2347;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}


/* Imagen */

.video-thumb img {
    width: 100%;
    display: block;
}


/* Gradiente tipo YouTube */

.video-gradient {
    /* position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    transition: all .4s ease;
}

.video-item:hover .video-gradient {
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}


/* Título sobre imagen */

.video-overlay-title {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: all .3s ease;
    transform: translateY(10px);
    opacity: .9;
}

.video-item:hover .video-overlay-title {
    transform: translateY(0);
    opacity: 1;
}

.video-item:hover .video-play {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(28, 57, 107, 0.6);
}


/* Duración */


/* .video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
} */


/* Play mejorado */

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 50px;
    background: #ff0000;
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: .3s;
}


/* Hover */

.video-item:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item:hover img {
    transform: scale(1.05);
    transition: .4s;
}

.video-carousel::-webkit-scrollbar {
    display: none;
}

.video-carousel {
    scrollbar-width: none;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-cloud span:hover {
    background: #f4ae37;
    color: #000;
    transform: scale(1.03);
}

.tag-cloud span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.tag-cloud span i {
    font-size: 0.85rem;
    opacity: 0.8;
}