@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #0e1619;
    color: white;
    overflow-x: hidden;
}

#glitch-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: block;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0e1619;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

    header .logo {
        font-weight: 700;
        font-size: 1.3rem;
        color: #05c9f9;
    }

        header .logo span {
            color: #e5f61b;
        }

    header nav a {
        color: white;
        text-decoration: none;
        margin-left: 1.5rem;
        font-size: 0.9rem;
        transition: 0.3s;
    }

        header nav a:hover {
            color: #05c9f9;
        }

.logo.gradient-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff; /*  ahora blanco sólido */
    text-decoration: none;
    transition: opacity 0.3s;
}

    .logo.gradient-text:hover {
        opacity: 0.8;
    }



/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60vh;
    padding: 0 5%;
    gap: 2rem;
    position: relative;
}

.hero-left h1 {
    font-size: 10rem;
    font-weight: 700;
    line-height: 0.9;
}

.gradient-text {
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-left .fecha {
    font-size: 1rem;
    margin-top: 1.5rem;
    letter-spacing: 1px;
}

/* HERO RIGHT TARJETA */
.hero-right {
    background: white;
    color: black;
    padding: 2.5rem; /* un poco más de aire */
    flex: 0 0 35%;
    max-width: 420px;
    aspect-ratio: 1 / 1; /* mantiene forma cuadrada */
    border-radius: 0; /* sin esquinas redondeadas */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* distribuye los elementos */
}

    /* Espaciado interno de los textos */
    .hero-right h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem; /* separa título del texto */
    }

    .hero-right p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem; /* separa texto de botones */
    }

/* Espacio entre botones */
.botones {
    display: flex;
    gap: 1rem; /* separa los botones entre sí */
    margin-top: auto; /* empuja hacia abajo si se desea */
}


.btn-registro,
.btn-agenda {
    border: 1px solid black;
    background: white;
    color: black;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    font-weight: 700;
    transition: 0.3s;
}

    .btn-registro:hover,
    .btn-agenda:hover {
        background: black;
        color: white;
    }

/* SOBRE EL EVENTO */
.sobre-devday {
    display: flex;
    align-items: stretch; /* ambas columnas igualan su altura */
    width: 100%;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    color: black;
    position: relative;
    padding: 1rem 0;
    overflow: hidden; /* evita que sobresalga contenido */
}

/* COLUMNA IZQUIERDA */
.sobre-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* texto + contadores ocupan todo el alto */
    padding: 1rem 0 0 0;
    min-height: auto;
}

.logo-dsi-section {
    width: 110px;
    background: white;
    padding: 13px;
    position: absolute;
    top: -60px; /* sobresale como antes */
    left: 0; /*  vuelve a estar alineado a la izquierda */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 20;
    opacity: 0;
    transform: translateY(-40px);
    animation: logoDSIin 1.5s ease forwards;
    animation-delay: 1s; /* entra después del hero */
}

@keyframes logoDSIin {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asegura que el contenedor no corte el logo */
.sobre-devday {
    overflow: visible !important;
}


/* TEXTO */
.texto-bloque {
    padding: 0 3rem;
}

    .texto-bloque h2 {
        font-size: 3rem; /* antes 2.5rem */
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .texto-bloque .devday-text {
        background: linear-gradient(to right, #05c9f9, #e5f61b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* “SEDE OFICIAL” */
.sede-section .degradado {
    font-size: 2.8rem; /* antes 2.2rem */
    font-weight: 900;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.texto-bloque p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* CONTADORES */
.contadores {
    display: flex;
    width: 100%;
    margin-top: 1rem;
}

.contador {
    flex: 1;
    background: white;
    border: 0.5px solid rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 1.5rem 0;
}

    .contador h3 {
        font-size: 2.5rem;
        color: black;
    }

    .contador p {
        color: black;
        font-weight: bold;
    }

/* COLUMNA DERECHA */
.sobre-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente las imágenes */
    align-items: stretch;
    padding: 1rem 0; /* añade aire */
}

/* MOSAICO DE IMÁGENES */
.img-mosaico {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    width: 90%; /* hace que las imágenes sean un poco más pequeñas que el ancho total */
    margin: 0 auto; /* centra el mosaico horizontalmente */
    gap: 4px;
    aspect-ratio: 16 / 9; /* define una proporción agradable */
    border-radius: 4px;
    overflow: hidden;
}

    .img-mosaico img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

        /* efecto visual sutil */
        .img-mosaico img:hover {
            transform: scale(1.03);
        }

        .img-mosaico img:nth-child(3) {
            grid-column: span 2;
            height: 100%;
        }

/* En pantallas grandes (las imágenes más pequeñas respecto a la columna izquierda) */
@media (min-width: 1200px) {
    .sobre-right {
        flex: 0.8; /* ocupa un poco menos espacio */
    }

    .img-mosaico {
        width: 80%;
        aspect-ratio: 16 / 10;
    }
}

/* En pantallas medianas */
@media (max-width: 992px) {
    .sobre-devday {
        flex-direction: column;
    }

    .sobre-right {
        width: 100%;
        justify-content: flex-start;
    }

    .img-mosaico {
        width: 95%;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 180px);
        aspect-ratio: auto;
    }
}

/* =========================
   SECCIÓN: TEMAS Y CONFERENCIAS
========================= */

.temas-section {
    background: #0e1619;
    color: white;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.temas-contenedor {
    width: 90%;
    margin: 0 auto;
}

.temas-section .degradado {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.temas-section .subtitulo {
    font-size: 0.9rem;
    margin-top: 0.4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.temas-lista {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #1c2b30;
    border-bottom: 1px solid #1c2b30;
}

.tema-item {
    border-bottom: 1px solid #1c2b30;
    transition: all 0.3s ease;
}

/* ================================
   EFECTO REEMPLAZO SUAVE TEMAS (más lento y fluido)
=================================== */
.tema-item {
    border-bottom: 1px solid #1c2b30;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Contenedor interno fijo */
.tema-inner {
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 100px;
}

/* Vista inicial (título) */
.tema-header {
    padding: 1.5rem;
    background: #0e1619;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease, opacity 1s ease; /*  más lento */
}

    .tema-header.activo {
        opacity: 1;
        transform: translateX(0);
        position: relative;
    }

    .tema-header:not(.activo) {
        opacity: 0;
        transform: translateX(-100%);
    }

    .tema-header:hover {
        background: #152327;
    }

    .tema-header h3 {
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
        color: #ffffff;
    }

/* Detalle del ponente (entra desde la derecha) */
.tema-detalle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease, opacity 1s ease; /*  más lento */
    background: linear-gradient( 90deg, rgba(14, 22, 25, 1) 0%, rgba(14, 30, 35, 0.95) 30%, rgba(8, 202, 245, 0.25) 100% );
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    /* Cuando el detalle está activo */
    .tema-detalle.activo {
        opacity: 1;
        transform: translateX(0);
        position: relative;
    }

    .tema-detalle img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
    }

    .tema-detalle h4 {
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 0.3rem;
        color: #ffffff;
    }

    .tema-detalle p {
        font-size: 0.85rem;
        color: #cde8f3;
    }

/* ENLACE FINAL */
/* Enlace “Consulta la agenda completa” con el mismo estilo que “Cómo llegar” */
.agenda-link {
    margin-top: 2rem;
    text-align: right;
}

    .agenda-link a {
        font-size: 1.4rem;
        font-weight: 900;
        text-decoration: none;
        background: linear-gradient(to right, #05c9f9, #e5f61b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
    }

        .agenda-link a:hover {
            letter-spacing: 1px;
            border-image: linear-gradient(to right, #05c9f9, #e5f61b) 1;
        }


/* ================================
   ANIMACIÓN SLIDE DERECHA → IZQUIERDA
=================================== */
.tema-header,
.tema-detalle {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide-in {
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40%);
    }

    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

.slide-out {
    animation: slideOut 0.4s ease forwards;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0%);
    }

    to {
        opacity: 0;
        transform: translateX(-40%);
    }
}

/* === LETTER GLITCH CANVAS === */
#letter-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    background: transparent;
}

.hero {
    position: relative;
    overflow: hidden;
}

/* ZOOM EN FOOTER */
.footer-aliados img {
    transition: transform 0.4s ease;
}

    .footer-aliados img:hover {
        transform: scale(1.08);
    }


/* =========================
   SECCIÓN: TALLERES Y EXPERIENCIAS
========================= */

.talleres-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    color: #000000;
    border-top: 3px solid #000;
}

.talleres-contenido {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.talleres-img {
    flex: 1;
    min-width: 300px;
}

    .talleres-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.talleres-texto {
    flex: 1;
    background: #ffffff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .talleres-texto h2 {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 0.5rem;
    }

    .talleres-texto h3 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .talleres-texto p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

.btn-taller {
    display: inline-block;
    border: 1px solid #000;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    transition: 0.3s;
    text-align: center;
    width: fit-content;
}

    .btn-taller:hover {
        background: #000;
        color: #fff;
    }

/* =========================
   SECCIÓN: SEDE OFICIAL
========================= */

.sede-section {
    background: #0e1619;
    color: white;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.sede-contenedor {
    width: 90%;
    margin: 0 auto;
}

/* TÍTULO CON DEGRADADO IGUAL QUE EL PRINCIPAL */
.sede-section .degradado {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.sede-section .subtitulo {
    font-size: 1rem;
    margin-top: 0.4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.sede-section .descripcion {
    font-size: 1.05rem; /* texto un poco más grande */
    max-width: 950px;
    margin-bottom: 2.8rem;
    line-height: 1.7;
}

/* GRID DE 4 COLUMNAS */
.sede-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    background: #0e1619;
}

.sede-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

    .sede-item.imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* filter: contrast(80%) saturate(90%); */
    }

    .sede-item.texto {
        background: #000;
        padding: 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .sede-item.texto h3 {
            font-size: 1.2rem; /* ligeramente más grande */
            font-weight: 700;
            margin-bottom: 0.8rem;
            color: #ffffff;
        }

        .sede-item.texto p {
            font-size: 1rem; /* texto más legible */
            color: #c9c9c9;
            line-height: 1.6;
        }

/* ENLACE CÓMO LLEGAR CON DEGRADADO */
.como-llegar {
    margin-top: 2rem;
    text-align: right;
}

    .como-llegar a {
        font-size: 1.4rem;
        font-weight: 900;
        text-decoration: none;
        background: linear-gradient(to right, #05c9f9, #e5f61b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
    }

        .como-llegar a:hover {
            letter-spacing: 1px;
            border-image: linear-gradient(to right, #05c9f9, #e5f61b) 1;
        }

/* =========================
   FOOTER ESTILO ALIADOS
========================= */

footer {
    background: #ffffff;
    color: #000000;
    text-align: center;
    padding: 0;
    border-top: 2px solid #000;
    font-family: 'Roboto Mono', monospace;
    width: 100%;
}

/* CONTENEDOR GENERAL */
.footer-container {
    padding: 3rem 0 0;
    width: 100%;
}

/* TÍTULO Y DESCRIPCIÓN */
footer h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-descripcion {
    font-size: 0.95rem;
    margin: 0 auto 2.5rem;
    max-width: 90%;
    line-height: 1.5;
}

/* GRID DE ALIADOS */
.footer-aliados {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en escritorio */
    gap: 2rem; /* espacio entre logos */
    justify-items: center;
    align-items: center;
    background: #ffffff;
    width: 100%;
    padding: 2.5rem 0;
    border: none; /* elimina líneas negras */
}

.aliado {
    border: none; /* sin bordes entre logos */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.aliado:last-child {
    border-right: none;
}

.aliado img {
    max-width: 220px; /* tamaño controlado */
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.aliado p {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

/* PIE FINAL OSCURO */
.footer-bottom {
    background: #19262b;
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* -------------------------- */
/*     RESPONSIVE DESIGN      */
/* -------------------------- */

@media (max-width: 1200px) {
    .hero-left h1 {
        font-size: 8rem;
    }

    .hero {
        height: 75vh;
    }

    .hero-right {
        max-width: 380px;
    }

    .img-mosaico {
        aspect-ratio: 16/12; /* reduce altura en pantallas medianas */
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: 85vh; /* un poco más alto en pantallas medianas */
    }

    .hero-left h1 {
        font-size: 7rem;
    }

    .hero-right {
        max-width: 80%;
    }

    .sobre-devday {
        flex-direction: column;
    }

    .sobre-left,
    .sobre-right {
        flex: none;
        width: 100%;
    }

    .img-mosaico {
        aspect-ratio: 16/9;
    }

    .talleres-contenido {
        flex-direction: column;
    }

    .talleres-texto {
        padding: 2rem;
    }

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

    /* Orden móvil: texto → imagen → texto → imagen */
    .sede-item:nth-child(1) {
        order: 2;
    }

    .sede-item:nth-child(2) {
        order: 1;
    }

    .sede-item:nth-child(3) {
        order: 4;
    }

    .sede-item:nth-child(4) {
        order: 3;
    }

    .sede-item.texto {
        padding: 2rem;
    }

    .sede-item.imagen img {
        height: 220px;
    }

    .como-llegar {
        text-align: center;
        margin-top: 2rem;
    }

    .sede-section .degradado {
        font-size: 2.4rem;
    }

    .footer-aliados {
        grid-template-columns: 1fr;
    }

    .aliado {
        border-right: none;
        /*border-bottom: 1px solid #000;*/
    }

    .aliado:last-child {
        border-bottom: none;
    }

    footer h2 {
        font-size: 1.4rem;
    }

    .footer-descripcion {
        max-width: 95%;
    }
}

/* 🎯 Ajuste visual final para resoluciones entre 755px y 972px */
@media (min-width: 755px) and (max-width: 972px) {
    .hero {
        height: 78vh; /* un poco más alto para centrar mejor el conjunto */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        padding: 3rem 0 1rem 0; /*  más espacio arriba del título */
        gap: 0.6rem; /* espacio moderado entre título y tarjeta */
    }

    .hero-left {
        margin-top: 4rem; /*  pequeño empuje hacia abajo para centrar visualmente */
    }

    .hero-left h1 {
        font-size: 5.2rem;
        line-height: 1;
        margin-bottom: 0.4rem;
    }

    .hero-left .fecha {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    .hero-right {
        width: 65%;
        max-width: 340px;
        aspect-ratio: 4 / 5;
        padding: 1.6rem;
        margin-top: 0.8rem;
    }

    .hero-right h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .hero-right p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .botones {
        gap: 0.6rem;
    }

    .btn-registro,
    .btn-agenda {
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
    }
}



/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /*  fija la altura en 60% de la pantalla */
        padding: 3rem 1rem; /* reduce el espacio interno */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 3rem; /* reduce el título */
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .hero-left .fecha {
        font-size: 0.8rem;
    }

    .hero-right {
        width: 85%;
        padding: 1.2rem;
        margin-top: 1rem;
        max-width: 340px;
    }

        .hero-right h3 {
            font-size: 0.9rem;
        }

        .hero-right p {
            font-size: 0.8rem;
        }

    .botones {
        gap: 0.6rem;
    }

    .btn-registro,
    .btn-agenda {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    /* Ajuste del bloque “Sobre DevDay” */
    .sobre-devday {
        margin-top: 2rem; /* separa visualmente las secciones */
    }

    .texto-bloque h2 {
        font-size: 2.3rem; /* un poco más grande que antes */
    }

    .sede-section .degradado {
        font-size: 2.2rem; /* título grande pero sin desbordar */
    }

    .texto-bloque p {
        font-size: 0.9rem;
    }

    .tema-detalle {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

        .tema-detalle img {
            width: 70px;
            height: 70px;
        }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 3.8rem;
    }

    .hero {
        height: 80vh;
        gap: .5rem;
    }

    .hero-right {
        max-width: 95%;
    }

    .texto-bloque h2 {
        font-size: 2rem;
    }

    .contador h3 {
        font-size: 2rem;
    }

    .talleres-texto h2 {
        font-size: 1.7rem;
    }

    .sede-section h2 {
        font-size: 1.7rem;
    }

    .sede-section .descripcion {
        font-size: 0.9rem;
    }
}

/* === LETTER GLITCH BACKGROUND === */
#letter-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* detrás del contenido */
    opacity: 0.4; /* suaviza el efecto */
    background: transparent;
}

/* Asegura que la sección hero sea relativa para posicionar el canvas */
.hero {
    position: relative;
    overflow: hidden;
}

.footer-aliados img {
    transition: transform 0.4s ease;
}

    .footer-aliados img:hover {
        transform: scale(1.08);
    }

/* =========================
   HERO FULLSCREEN ANIMADO AL ENTRAR
========================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* pantalla completa */
    overflow: hidden;
    transition: all 1.2s ease; /* animación suave */
}

    .hero.animate-in {
        transform: scale(1.05);
        transition: transform 1.2s ease, opacity 1.2s ease;
        opacity: 1;
    }

.hero-left, .hero-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1.2s ease;
}

.hero.animate-in .hero-left,
.hero.animate-in .hero-right {
    opacity: 1;
    transform: translateY(0);
}


/* ========================= eliminar sino se quiere ese fondo y animación
   ANIMACIÓN DE CAÍDA 1 POR 1 CON REBOTE SUAVE
========================= */
/* Estado inicial (posición central más tenue) */
.footer-aliados .aliado {
    opacity: 0;
    transform: translateY(60px); /*  aparece desde un poco abajo, no desde arriba */
}

    /* Nueva animación más sutil */
    .footer-aliados .aliado.drop {
        opacity: 1;
        animation: riseIn 2.8s cubic-bezier(.28,.84,.42,1) forwards;
    }

@keyframes riseIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95); /* empieza desde el centro hacia arriba */
    }

    40% {
        opacity: 1;
        transform: translateY(-15px) scale(1.03); /* pequeño rebote */
    }

    60% {
        transform: translateY(0px) scale(1); /* se estabiliza */
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes bounceDrop {
    0% {
        transform: translateY(-150vh);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-70px);
    }

    75% {
        transform: translateY(0);
    }

    85% {
        transform: translateY(-25px);
    }

    95% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

.footer-aliados .aliado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 1rem;
    /*border-right: 1px solid #000;*/
    overflow: hidden;
    transition: transform 0.4s ease;
}

.footer-aliados .aliado:last-child {
    border-right: none;
}

/* Zoom general leve */
.footer-aliados .aliado:hover {
    transform: scale(1.04);
}

/* LOGO */
.footer-aliados .aliado img {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
    transition: transform 0.4s ease, filter 0.4s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 0 rgba(5, 201, 249, 0)) drop-shadow(0 0 0 rgba(229, 246, 27, 0));
}

/* Luz suave y discreta en el hover */
.footer-aliados .aliado:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(5, 201, 249, 0.5)) drop-shadow(0 0 14px rgba(229, 246, 27, 0.45));
}

/* HALO GIRATORIO muy tenue */
.footer-aliados .aliado::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient( from 0deg, rgba(5, 201, 249, 0.25), rgba(229, 246, 27, 0.25), rgba(5, 201, 249, 0.25) );
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.1);
    filter: blur(10px);
    transition: opacity 0.6s ease;
    animation: rotateGlow 6s linear infinite;
    z-index: 1;
}

.footer-aliados .aliado:hover::before {
    opacity: 0.4; 
}

@keyframes rotateGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1.1);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1.1);
    }
}

/* TEXTO */
.footer-aliados .aliado p {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    color: #000;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Hover del texto con iluminación sutil */
.footer-aliados .aliado:hover p {
    color: #111;
    transform: scale(1.06);
    text-shadow: 0 0 5px rgba(5, 201, 249, 0.35), 0 0 8px rgba(229, 246, 27, 0.35);
}

.link-ponentes {
    margin-left: 2rem;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(to right, #e5f61b, #05c9f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.link-ponentes:hover {
    letter-spacing: 1px;
    border-image: linear-gradient(to right, #e5f61b, #05c9f9) 1;
}

/* =========================
   SECCIÓN: PONENTES
========================= */

.ponentes-hero {
    padding: 4rem 5% 1rem;
    text-align: center;
    background: #0e1619;
    color: white;
}

.ponentes-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.ponentes-hero p {
    font-size: 1rem;
    color: #cde8f3;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.ponentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
    background: #0e1619;
    color: white;
}

.ponente-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.ponente-info {
    padding: 1.5rem;
}

.ponente-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ponente-info .cargo {
    color: #e5f61b;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.ponente-info .descripcion {
    font-size: 0.9rem;
    color: #cde8f3;
    line-height: 1.6;
}

/* =========================
   CARRUSEL DE PONENTES AJUSTADO (v6 — sin recortes en ningún ancho)
========================= */

.ponentes-carrusel {
    background: #0e1619;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    overflow: hidden;
}

.ponentes-carrusel h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contenedor principal */
.carrusel-contenedor {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0; /* base normal */
}

.carrusel-wrapper {
    overflow: hidden; /* dejamos que las tarjetas sobresalgan */
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /*  más bajo que los botones */
}

.carrusel-track {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2rem;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
    padding: 1rem 0;
    margin: 0 0.5rem;
}

.ponente-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(5, 201, 249, 0.35), 0 0 15px rgba(229, 246, 27, 0.25);
    z-index: 3;
}

/* Imagen — 20% más pequeña */
.ponente-card img {
    width: 60%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 1.2rem auto;
    border-radius: 8px;
    border: 2px solid #1c2b30;
}

/* Información */
.ponente-info {
    padding: 1.5rem 2rem;
    text-align: left;
}

    .ponente-info h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
        background: linear-gradient(to right, #05c9f9, #e5f61b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .ponente-info .cargo {
        color: #e5f61b;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .ponente-info .descripcion {
        font-size: 1rem;
        color: #cde8f3;
        line-height: 1.8;
    }

/* Botones */
.carrusel-btn {
    position: relative;
    z-index: 5; /*  garantiza que se vean encima de las tarjetas */
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin: 0 1rem;
    font-weight: 700;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

    .carrusel-btn:hover {
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(5, 201, 249, 0.6), 0 0 15px rgba(229, 246, 27, 0.5);
    }

/*  Breakpoint ajustado (antes de 924px ya pasa a 1 tarjeta) */
@media (max-width: 1024px) {
    .ponente-card {
        flex: 0 0 100% !important;
    }

    .carrusel-track {
        gap: 1.2rem;
    }

    .carrusel-wrapper {
        width: 90%;
    }
}

/*  Texto adaptativo botones */
.texto-movil {
    display: none;
}

@media (max-width: 600px) {
    .texto-web {
        display: none;
    }

    .texto-movil {
        display: inline;
    }

    .ponentes-hero {
        padding-top: 100px !important;
    }
}

/* =========================
   FORMATO INTERNO DE TARJETAS DE PONENTES
========================= */

.ponente-card {
    flex: 0 0 calc((100% - 2rem) / 2);
    background: #152327;
    border: 1px solid #1c2b30;
    border-radius: 10px;
    overflow: visible;
    /*min-width: 100%;*/
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: 360px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/*  Encabezado con imagen a la izquierda y datos a la derecha */
.ponente-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

/* Imagen lateral */
.ponente-top img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #1c2b30;
    flex-shrink: 0;
}

/* Datos del ponente */
.ponente-datos {
    flex: 1;
    text-align: left;
}

.ponente-datos h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ponente-datos .cargo {
    color: #e5f61b;
    font-size: 0.95rem;
}

/*  Descripción debajo */
.ponente-descripcion {
    text-align: left;
    padding: 1rem 1.5rem 1.5rem;
    color: #cde8f3;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Hover */
.ponente-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(5, 201, 249, 0.35), 0 0 15px rgba(229, 246, 27, 0.25);
    z-index: 3;
}

/* =========================
    Versión vertical (imagen arriba) hasta 1100px
========================= */
@media (max-width: 1100px) {
    .ponente-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem 1rem 0;
    }

    .ponente-top img {
        width: 150px; /* más grande para móvil y pantallas medianas */
        height: 150px;
        margin-bottom: 1rem;
    }

    .ponente-datos {
        text-align: center;
    }

    .ponente-datos h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .ponente-datos .cargo {
        font-size: 0.9rem;
    }

    .ponente-descripcion {
        text-align: center;
        font-size: 0.9rem;
        padding: 0.8rem 1rem 1.2rem;
    }

    /*  Ajuste del carrusel: una tarjeta completa por vista */
    .ponente-card {
        flex: 0 0 100% !important;
    }

    .carrusel-track {
        gap: 1.2rem;
    }

    .carrusel-wrapper {
        width: 90%;
    }

    .ponente-card .descripcion {
        max-height: 150px !important;
        overflow-y: auto !important;
    }
}

/* =========================
   SECCIÓN: PREGUNTAS FRECUENTES
========================= */

.faq-section {
    background: #0e1619;
    color: white;
    padding: 5rem 0;
    border-top: 2px solid #1c2b30;
    border-bottom: 2px solid #1c2b30;
}

.faq-contenedor {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section .degradado {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(to right, #05c9f9, #e5f61b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 0.5rem;
}

.faq-section .subtitulo {
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.faq-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* BOTONES DE PREGUNTAS */
.faq-pregunta {
    width: 100%;
    text-align: left;
    background: #152327;
    color: white;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.faq-pregunta::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-pregunta.activa::after {
    transform: rotate(45deg);
}

/* RESPUESTAS */
.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    background: #19262b;
    padding: 0 1.5rem;
    transition: all 0.4s ease;
    border-left: 3px solid #05c9f9;
}

.faq-respuesta p {
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cde8f3;
}

.faq-respuesta.activa {
    max-height: 300px;
    padding: 1rem 1.5rem;
    }

.faq-pregunta:hover {
    background: #1c2b30;
}

/* Responsivo */
@media (max-width: 768px) {
    .faq-section .degradado {
        font-size: 2.2rem;
    }

    .faq-pregunta {
        font-size: 0.95rem;
    }

    .faq-respuesta p {
        font-size: 0.9rem;
    }
}

.btn-vermas {
    display: inline-block;
    margin-top: 0.8rem;
    background: none;
    border: none;
    color: #05c9f9;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.btn-vermas:hover {
    color: #e5f61b;
}

/* =========================
   DESCRIPCIÓN DE PONENTES  
   (Truncada + Scroll interno + Ver más)
========================= */

/* Texto dentro de la tarjeta del ponente */
.ponente-card .descripcion {
    max-height: 150px; /* altura visible */
    overflow: hidden; /* oculta contenido extra */
    position: relative;
    line-height: 1.6;
    color: #cde8f3;
    font-size: 0.95rem;
    transition: max-height 0.3s ease;
}

/* Estado expandido con scroll vertical */
.ponente-card .descripcion.expandida {
    overflow-y: auto;
    max-height: 150px;
}

.ponente-card.expandida {
    padding-bottom: 1rem;
}


/* Scrollbar personalizado */
.ponente-card .descripcion.expandida::-webkit-scrollbar {
    width: 6px;
}

.ponente-card .descripcion.expandida::-webkit-scrollbar-thumb {
    background: #05c9f9;
    border-radius: 4px;
}

.ponente-card .descripcion.expandida::-webkit-scrollbar-track {
    background: #122026;
}

/* =========================
   BOTÓN “Ver más / Ver menos”
========================= */

.ver-mas-inline {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    color: #05c9f9; /* azul neon DEV-DAY */
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.ver-mas-inline:hover {
    color: #e5f61b; /* amarillo neon */
}

/* 🔥 Asegura solo 1 tarjeta desde móviles hasta tablets */
@media (max-width: 760px) {
    .ponente-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }

    .carrusel-track {
        gap: 1rem !important;
    }

    .ponente-top img {
        width: 120px;
        height: 120px;
    }
}


.hero-transmision {
    flex-basis: 100%; /* 🔥 OCUPA TODA LA FILA */
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-transmision {
    background: #ffffff;
    color: #000000;
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: 900;
    border: 2px solid #000;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: transmissionWiggle 1.8s ease-in-out infinite;
}

@keyframes transmissionWiggle {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

.btn-transmision:hover {
    background: #000;
    color: #fff;
    transform: scale(1.05);
}


/* RESPONSIVO */
@media (max-width: 768px) {
    .btn-transmision {
        font-size: 1.1rem;
        padding: 0.8rem 1.8rem;
    }
}


.hero {
    display: flex;
    flex-wrap: wrap; /* 🔥 PERMITE QUE EL BOTÓN CAIGA ABAJO */
}


@media (max-width: 992px) {
    .hero {
        flex-direction: column; /* 🔥 fuerza left → right → botón */
        justify-content: center;
        text-align: center;
        height: auto;
        padding-top: 6rem;
    }


    .hero-transmision {
        width: 100%; /* 🔥 se estiran y quedan centrados */
        max-width: 480px; /* tamaño ideal */
        margin: 0 auto;
    }

    .hero-transmision {
        margin-top: 1.5rem; /* espacio adecuado */
        display: flex;
        justify-content: center;
    }
}

/* 🔴 Punto rojo parpadeante estilo “EN VIVO” */
.live-dot {
    width: 12px;
    height: 12px;
    background: #ff2d2d; /* rojo intenso */
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.7);
    animation: dotPulse 1s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes dotPulse {
    0% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.9);
    }
}

.hero-transmision {
    opacity: 0; /* inicia invisible */
    transform: translateY(40px); /* inicia más abajo */
    transition: opacity 1s ease, transform 1.2s ease;
}

.hero.animate-in .hero-transmision {
    opacity: 1;
    transform: translateY(0); /* sube suavemente igual que los demás */
}

@media (min-width: 992px) {
    .hero-left,
    .hero-right {
        margin-top: 8rem; /* bajan en pantallas grandes */
    }
}
