﻿/* =========================================
   VARIABLES Y TOKENS DE DISE�'O
   ========================================= */
:root {
    /* Paleta de Colores (Modo Oscuro Premium) */
    --clr-bg-main: #050814;
    --clr-bg-darker: #000000;
    --clr-bg-card: rgba(16, 22, 47, 0.6);
    --clr-bg-nav: rgba(5, 8, 20, 0.85);

    --clr-accent: #00f0ff;
    /* Azul eléctrico / Neón */
    --clr-accent-dim: rgba(0, 240, 255, 0.2);
    --clr-accent-hover: #00c3d0;
    --clr-secondary: #000000;
    /* Azul profundo */

    --clr-text-main: #f0f2f8;
    --clr-text-muted: #94a3b8;
    --clr-white: #ffffff;
    --clr-negro: #000000;

    /* Tema Claro */
    --clr-bg-light: #000000;
    --clr-bg-light-alt: #f8fafc;
    --clr-bg-light-card: #ffffff;
    --clr-text-dark: #0f172a;
    --clr-text-dark-muted: #475569;

    /* Tipografía */
    --ff-headings: 'Montserrat', sans-serif;
    --ff-body: 'Inter', sans-serif;

    /* Espaciado */
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 2rem;
    --sp-xl: 4rem;
    --sp-xxl: 6rem;

    /* Efectos y bordes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-accent: 1px solid rgba(0, 240, 255, 0.3);

    /* Sombras y Glow */
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.4);
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESETEO BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    background-color: var(--clr-bg-main);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-headings);
    line-height: 1.2;
    margin-bottom: var(--sp-md);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   UTILIDADES
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-accent {
    color: var(--clr-accent);
}

.text-white {
    color: #ffffff !important;
}

.bg-darker {
    background-color: var(--clr-bg-darker);
}

.bg-light {
    background-color: var(--clr-bg-main);
    color: var(--clr-text-dark);
}

.bg-light .section-desc {
    color: var(--clr-text-dark-muted);
}

.bg-light-alt {
    background-color: var(--clr-bg-light-alt);
    color: var(--clr-text-dark);
}

.section {
    padding: var(--sp-xxl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--sp-xl);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Título específico para patrocinadores */
#sponsors .section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.section-desc {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
}

.grid {
    display: grid;
    gap: var(--sp-lg);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.overflow-hidden {
    overflow: hidden;
}

/* =========================================
   BOTONES
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--ff-body);
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--clr-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--clr-accent);
    color: var(--clr-accent);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: var(--clr-bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border-glass);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: var(--ff-headings);
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    background: rgba(5, 8, 20, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
    min-width: 42px;
    padding: 0.45rem 0.65rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--clr-text-main);
    font-family: var(--ff-headings);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.is-active {
    background: var(--clr-accent);
    color: #000;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--clr-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    transform: translateY(-10%);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--ff-headings);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-link:hover {
    color: var(--clr-accent);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    background: url('images/fondo_lac2026.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(135deg, rgba(5, 8, 20, 0.95) 0%, rgba(5, 8, 20, 0.7) 50%, rgba(5, 8, 20, 0.9) 100%);*/
    z-index: 1;
}

/* Ondas animadas CSS en el fondo */
.audio-waves-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0.1;
    z-index: 1;
    overflow: hidden;
}

.wave {
    width: 15%;
    background: var(--clr-accent);
    height: 100px;
    animation: waveAnim 2s infinite ease-in-out alternate;
}

.wave:nth-child(2) {
    animation-delay: 0.2s;
    height: 150px;
}

.wave:nth-child(3) {
    animation-delay: 0.4s;
    height: 80px;
}

.wave:nth-child(4) {
    animation-delay: 0.1s;
    height: 120px;
}

.wave:nth-child(5) {
    animation-delay: 0.5s;
    height: 200px;
}

@keyframes waveAnim {
    0% {
        transform: scaleY(0.5);
    }

    100% {
        transform: scaleY(1.5);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--clr-accent-dim);
    border: var(--border-accent);
    color: var(--clr-accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-item i {
    color: var(--clr-accent);
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    justify-content: center;
}

.btn-fixed {
    min-width: 210px;
    font-size: 0.82rem;
    line-height: 1.1;
    padding: 0.7rem 0.9rem;
    white-space: normal;
    text-align: center;
}

.btn-competencia {
    max-width: 260px;
}

/* Countdown */
.countdown-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.countdown-container {
    background: rgba(16, 22, 47, 0.4);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    padding: 1.5rem 1.5rem;
    border-radius: var(--radius-md);
    min-width: 320px;
    max-width: 740px;
}

.countdown-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.countdown-action {
    display: flex;
    align-items: center;
}

.countdown-action .btn {
    min-width: 220px;
}

@media (max-width: 768px) {
    .countdown-area {
        flex-direction: column;
    }

    .countdown-action .btn {
        min-width: 100%;
    }

    .btn-fixed {
        min-width: 180px;
        font-size: 0.75rem;
        padding: 0.55rem 0.8rem;
    }
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-number {
    font-family: var(--ff-headings);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.cd-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-top: 0.25rem;
}

/* =========================================
   GLASS CARD (TEMÁTICAS)
   ========================================= */
.glass-card {
    background: var(--clr-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Modificadores para tarjetas en fondos claros */
.bg-light .glass-card,
.bg-light-alt .glass-card {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 87, 255, 0.2);
    border: 1px solid rgba(0, 87, 255, 0.4);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    transition: all var(--transition-smooth);
}

.bg-light .card-icon,
.bg-light-alt .card-icon {
    background: rgba(0, 87, 255, 0.05);
    border: 1px solid rgba(0, 87, 255, 0.2);
    color: var(--clr-secondary);
}

.glass-card:hover .card-icon {
    background: var(--clr-accent);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.bg-light .card-text,
.bg-light-alt .card-text {
    color: var(--clr-text-dark-muted);
}

/* =========================================
   TIMELINE HORIZONTAL INTERACTIVA
   ========================================= */
#cronograma .container {
    width: min(96vw, 1560px);
    max-width: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.timeline-container {
    position: relative;
    padding: 4.5rem 0 2.75rem;
    overflow-x: auto;
    /* Ocultar barra de scroll en navegadores webkit */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-container::-webkit-scrollbar {
    display: none;
}

.bg-light .timeline-line,
.bg-light-alt .timeline-line {
    background: rgba(0, 0, 0, 0.1);
}

.timeline-line {
    position: absolute;
    top: 6rem;
    left: 0;
    width: max(100%, 1400px);
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.85), rgba(0, 240, 255, 1));
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-width: 1400px;
    position: relative;
    padding: 0 0.25rem;
    gap: 0.35rem;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 112px;
    min-width: 112px;
    text-align: center;
    cursor: default;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: var(--clr-bg-main);
    border: 5px solid var(--clr-accent);
    border-radius: 50%;
    z-index: 2;
    margin-top: 4.85rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.bg-light .timeline-dot,
.bg-light-alt .timeline-dot {
    background: var(--clr-bg-light);
    border-color: var(--clr-secondary);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    position: relative;
    padding-top: 1.15rem;
    width: 100%;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 7.1rem);
    transform: translateX(-50%);
    display: block;
    font-size: 1.75rem;
    color: rgba(240, 242, 248, 0.88);
    margin: 0;
}

.timeline-date {
    font-size: 0.88rem;
    color: var(--clr-white);
    margin-bottom: 0.6rem;
    line-height: 1.15;
    font-weight: 700;
}

.bg-light .timeline-date,
.bg-light-alt .timeline-date {
    color: var(--clr-text-dark);
}

.timeline-text {
    position: relative;
    font-size: 0.72rem;
    color: var(--clr-text-main);
    line-height: 1.22;
    min-height: 7.8em;
    max-width: 12.5ch;
    margin: 0 auto;
    padding: 0 0.2rem 0.1rem;
    text-wrap: pretty;
}

.timeline-text::before {
    content: '';
    position: absolute;
    top: -4.0rem;
    left: calc(100% + 2.8rem);
    width: 2px;
    height: calc(100% + 3.2rem);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.9), rgba(0, 240, 255, 0.55));
}

.timeline-item:last-child .timeline-text::before {
    display: none;
}

.timeline-highlight .timeline-dot {
    background: var(--clr-accent);
    box-shadow: var(--shadow-glow);
}

.timeline-highlight .timeline-icon,
.timeline-highlight .timeline-date {
    color: var(--clr-accent);
}

/* =========================================
   SPEAKERS (SWIPER)
   ========================================= */
.speakers-slider {
    padding-bottom: 4rem !important;
    /* Espacio para paginación */
}

.speaker-card {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-smooth);
    height: 100%;
}

.bg-light .speaker-card,
.bg-light-alt .speaker-card {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.speaker-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.speaker-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-img {
    transform: scale(1.05) rotate(1deg);
}

.speaker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 8, 20, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.speaker-social {
    display: flex;
    gap: 1rem;
}

.speaker-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
}

.speaker-social a:hover {
    background: var(--clr-accent);
    color: #000;
}

.speaker-info {
    padding: 1.5rem;
}

.speaker-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.bg-light .speaker-name,
.bg-light-alt .speaker-name {
    color: var(--clr-text-dark);
}

.speaker-role {
    color: var(--clr-accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.speaker-org {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.bg-light .speaker-org,
.bg-light-alt .speaker-org {
    color: var(--clr-text-dark-muted);
}

.speaker-link {
    background: none;
    border: none;
    cursor: pointer;
}

.bg-light .speaker-link,
.bg-light-alt .speaker-link {
    color: var(--clr-text-dark);
}

.speaker-link i {
    transition: transform var(--transition-fast);
}

.speaker-link:hover {
    color: var(--clr-accent);
}

.speaker-link:hover i {
    transform: translateX(5px);
}

/* Swiper custom styles */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--clr-accent) !important;
    box-shadow: var(--shadow-glow);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--clr-accent) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem !important;
}

/* =========================================
   PROGRAMA (TABS)
   ========================================= */
.tabs-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-light .tabs-header,
.bg-light-alt .tabs-header {
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.5rem;
    color: var(--clr-text-dark-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all var(--transition-fast);
    border-bottom: 3px solid transparent;
}

.bg-light .tab-btn,
.bg-light-alt .tab-btn {
    color: var(--clr-text-dark-muted);
}

.tab-btn:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--clr-text-dark);
}

.tab-btn.active {
    color: #000;
    border-bottom-color: var(--clr-accent);
    background: rgba(0, 240, 255, 0.1);
}

.tab-btn.active .tab-day {
    color: var(--clr-accent);
}

.bg-light .tab-btn.active,
.bg-light-alt .tab-btn.active {
    color: #000;
    border-bottom-color: var(--clr-negro);
    background: rgba(0, 240, 255, 0.51);
}

.bg-light .tab-btn.active .tab-day,
.bg-light-alt .tab-btn.active .tab-day {
    color: var(--clr-negro);
}

.tab-day {
    font-family: var(--ff-headings);
    font-size: 1.25rem;
    font-weight: 700;
}

.tab-date {
    font-size: 0.85rem;
}

.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agenda-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-light .agenda-item,
.bg-light-alt .agenda-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-time {
    font-family: var(--ff-headings);
    color: var(--clr-text-dark);
    min-width: 120px;
    font-weight: 500;
}

.bg-light .agenda-time,
.bg-light-alt .agenda-time {
    color: var(--clr-text-dark);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.badge-keynote {
    background: rgba(0, 240, 255, 0.1);
    color: var(--clr-accent);
    border: 1px solid var(--clr-accent);
}

.badge-workshop {
    background: rgba(0, 87, 255, 0.1);
    color: #8bb2ff;
    border: 1px solid #0057ff;
}

.badge-paper {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid #666;
}

.agenda-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-dark);
}

.agenda-speaker {
    color: var(--clr-text-dark-muted);
    font-size: 0.9rem;
}

.bg-light .agenda-speaker,
.bg-light-alt .agenda-speaker {
    color: var(--clr-text-dark-muted);
}

/* =========================================
   PATROCINADORES
   ========================================= */
.sponsor-tier {
    margin-bottom: 4rem;
    text-align: center;
}

.tier-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

/* Iconos dentro de los logos */
.logo-icon {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.sponsor-logo:hover .logo-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Nivel Platinum - Ahora mismo tamaño que Oro anterior */
.platinum-logo {
    position: relative;
    font-size: 1.8rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(192, 192, 192, 0.03));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.platinum-logo .logo-icon {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.platinum-logo:hover {
    transform: scale(1.03);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Nivel Oro - Reducido */
.gold-logo {
    position: relative;
    font-size: 1.6rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(192, 192, 192, 0.03));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.gold-logo .logo-icon {
    color: #ffd700;
}

.gold-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Nivel Plata - Más reducido */
.silver-logo {
    position: relative;
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(192, 192, 192, 0.03));
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.silver-logo .logo-icon {
    color: #c0c0c0;
}

.silver-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
    border-color: rgba(192, 192, 192, 0.4);
}

/* Nivel Branding */
.branding-logo {
    position: relative;
    font-size: 1.2rem;
    padding: 0.8rem 1.7rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
    opacity: 0.7;
}

.branding-logo .logo-icon {
    color: var(--clr-accent);
}

.branding-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
    opacity: 1;
}

.logo-placeholder {
    font-family: var(--ff-headings);
    font-weight: 900;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.logo-placeholder span {
    color: var(--clr-accent);
}

/* =========================================
   NUEVO DISE�O PATROCINADORES (grid + niveles)
   ========================================= */
.section-sponsors .sponsor-grid {
    display: grid;
    gap: 1.25rem;
}

.section-sponsors {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(21, 55, 90, 0.34) 0%, rgba(4, 33, 54, 0.18) 45%, rgba(19, 51, 80, 0.28) 100%),
        url('images/fondo.jpg') center/cover no-repeat;
}

.section-sponsors::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 240, 255, 0.09), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(255, 193, 7, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.section-sponsors .sponsors-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25, 38, 87, 0.18) 0%, rgba(53, 65, 116, 0.08) 50%, rgba(5, 8, 20, 0.16) 100%);
    z-index: 0;
}

.section-sponsors .sponsors-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0.05;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.section-sponsors .sponsor-wave {
    width: 15%;
    background: var(--clr-accent);
    height: 88px;
    animation: waveAnim 2.8s infinite ease-in-out alternate;
}

.section-sponsors .sponsor-wave:nth-child(2) {
    animation-delay: 0.3s;
    height: 130px;
}

.section-sponsors .sponsor-wave:nth-child(3) {
    animation-delay: 0.55s;
    height: 76px;
}

.section-sponsors .sponsor-wave:nth-child(4) {
    animation-delay: 0.15s;
    height: 112px;
}

.section-sponsors .sponsor-wave:nth-child(5) {
    animation-delay: 0.7s;
    height: 154px;
}

.section-sponsors .container {
    position: relative;
    z-index: 1;
}

.section-sponsors .sponsor-row {
    --tier-accent: rgba(0, 240, 255, 0.45);
    --tier-bg: rgba(255, 255, 255, 0.08);
    --logo-width: 160px;
    --logo-height: 86px;
    --logo-scale: 0.72;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)),
        var(--tier-bg);
    border: 1px solid var(--tier-accent);
    border-radius: 28px;
    padding: 1.4rem 1.5rem;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.25rem;
    align-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.section-sponsors .tier-badge {
    font-family: var(--ff-headings);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 1.8px;
    font-weight: 800;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    background: rgba(3, 14, 26, 0.45);
    text-align: center;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-sponsors .tier-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
}

.section-sponsors .sponsor-logo {
    width: var(--logo-width);
    height: var(--logo-height);
    padding: 0.95rem;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 32px rgba(1, 14, 28, 0.16);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.section-sponsors .sponsor-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 240, 255, 0.6);
}

.section-sponsors .sponsor-img {
    max-width: calc(100% * var(--logo-scale));
    max-height: calc(100% * var(--logo-scale));
    object-fit: contain;
}

.section-sponsors .platinum-row {
    --tier-accent: rgba(255, 215, 0, 0.52);
    --tier-bg: rgba(255, 215, 0, 0.12);
    --logo-width: 290px;
    --logo-height: 150px;
    --logo-scale: 0.82;
}

.section-sponsors .gold-row {
    --tier-accent: rgba(255, 193, 7, 0.44);
    --tier-bg: rgba(255, 193, 7, 0.11);
    --logo-width: 230px;
    --logo-height: 118px;
    --logo-scale: 0.76;
}

.section-sponsors .silver-row {
    --tier-accent: rgba(192, 192, 192, 0.36);
    --tier-bg: rgba(192, 192, 192, 0.1);
    --logo-width: 185px;
    --logo-height: 96px;
    --logo-scale: 0.7;
}

.section-sponsors .branding-row {
    --tier-accent: rgba(0, 240, 255, 0.3);
    --tier-bg: rgba(0, 240, 255, 0.1);
    --logo-width: 150px;
    --logo-height: 74px;
    --logo-scale: 0.62;
}

.section-sponsors .platinum-row .tier-badge {
    color: #ffe8a3;
}

.section-sponsors .gold-row .tier-badge {
    color: #ffd56a;
}

.section-sponsors .silver-row .tier-badge {
    color: #dde3ea;
}

.section-sponsors .branding-row .tier-badge {
    color: #87f6ff;
}

@media (max-width: 768px) {
    .section-sponsors .sponsors-waves {
        height: 18%;
        opacity: 0.06;
    }

    .section-sponsors .sponsor-row {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.15rem;
    }

    .section-sponsors .tier-badge {
        margin: 0 auto;
    }

    .section-sponsors .tier-logos {
        justify-content: center;
    }

    .section-sponsors .platinum-row {
        --logo-width: min(100%, 240px);
        --logo-height: 126px;
    }

    .section-sponsors .gold-row {
        --logo-width: min(100%, 190px);
        --logo-height: 100px;
    }

    .section-sponsors .silver-row {
        --logo-width: min(100%, 160px);
        --logo-height: 88px;
    }

    .section-sponsors .branding-row {
        --logo-width: min(100%, 132px);
        --logo-height: 70px;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

.sponsor-logo .text-accent {
    color: var(--clr-accent);
}

.bg-light .sponsor-logo .text-accent,
.bg-light-alt .sponsor-logo .text-accent,
.bg-darker .sponsor-logo .text-accent {
    color: var(--clr-secondary);
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    color: var(--clr-negro);
    transform: scale(1.1);
}

.bg-light .sponsor-logo:hover,
.bg-light-alt .sponsor-logo:hover,
.bg-darker .sponsor-logo:hover {
    color: #000;
    text-shadow: none;
}

.bg-light .sponsor-logo:hover span,
.bg-light-alt .sponsor-logo:hover span,
.bg-darker .sponsor-logo:hover span {
    color: #000;
}

.bg-light .sponsor-logo:hover .text-accent,
.bg-light-alt .sponsor-logo:hover .text-accent,
.bg-darker .sponsor-logo:hover .text-accent {
    color: var(--clr-accent);
}

/* =========================================
   PUNTOS DE INTERES
   ========================================= */
.section-nearby {
    position: relative;
    overflow: hidden;
}

.section-nearby::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 240, 255, 0.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(8, 15, 40, 0.08), transparent 30%);
    pointer-events: none;
}

.section-nearby .container {
    position: relative;
    z-index: 1;
}

.nearby-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 1.25rem;
    align-items: start;
}

.nearby-browser,
.nearby-map-card,
.nearby-summary-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.nearby-browser {
    border-radius: 24px;
    padding: 0.95rem;
}

.nearby-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.nearby-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    overflow: visible;
    padding-bottom: 0;
}

.nearby-tab {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: var(--clr-text-dark);
    border-radius: 999px;
    padding: 0.7rem 0.95rem;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.nearby-kicker {
    white-space: nowrap;
    flex: 0 0 auto;
}

.nearby-tab:hover,
.nearby-tab.is-active {
    background: #09142c;
    color: #fff;
    border-color: #09142c;
    transform: translateY(-1px);
}

.nearby-list {
    display: grid;
    gap: 0.7rem;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.nearby-list::-webkit-scrollbar {
    width: 8px;
}

.nearby-list::-webkit-scrollbar-thumb {
    background: rgba(9, 20, 44, 0.2);
    border-radius: 999px;
}

.nearby-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    font: inherit;
}

.nearby-item-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.12);
    color: #09142c;
    font-size: 0.95rem;
}

.nearby-item-copy h3 {
    margin-bottom: 0.08rem;
    font-size: 0.95rem;
    color: var(--clr-text-dark);
}

.nearby-item-copy p {
    color: var(--clr-text-dark-muted);
    font-size: 0.84rem;
    line-height: 1.3;
}

.nearby-item-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(9, 20, 44, 0.08);
    color: #09142c;
    font-weight: 700;
    font-size: 0.82rem;
}

.nearby-item-time i {
    font-size: 0.72rem;
}

.nearby-item:hover,
.nearby-item.is-active {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.nearby-aside {
    display: block;
}

.nearby-kicker {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.15);
    color: #09142c;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nearby-venue-name {
    font-size: clamp(1.15rem, 1.9vw, 1.5rem);
    color: var(--clr-text-dark);
    margin: 0;
    line-height: 1.15;
    flex: 1 1 auto;
}

.nearby-cta {
    width: 100%;
}

.nearby-cta-inline {
    width: auto;
    min-width: 180px;
}

.nearby-map-card {
    border-radius: 24px;
    padding: 1rem;
    overflow: hidden;
}

.nearby-map-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.nearby-map-header strong {
    color: var(--clr-text-dark);
    font-size: 1rem;
}

.nearby-map-header span {
    color: var(--clr-text-dark-muted);
    font-size: 0.92rem;
}

.nearby-map-frame {
    border-radius: 20px;
    overflow: hidden;
    min-height: 560px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.nearby-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    border: 0;
}

.nearby-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.nearby-summary-card {
    border-radius: 22px;
    padding: 1.35rem;
    text-align: left;
}

.nearby-summary-card strong {
    display: block;
    font-family: var(--ff-headings);
    color: #09142c;
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
}

.nearby-summary-card span {
    color: var(--clr-text-dark-muted);
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .nearby-shell {
        grid-template-columns: 1fr;
    }

    .nearby-topbar {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 0.9rem 1rem;
    }

    .nearby-summary {
        grid-template-columns: 1fr 1fr;
    }

    .nearby-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .nearby-item-time {
        grid-column: 2;
        justify-self: start;
    }

    .nearby-map-frame,
    .nearby-map-frame iframe {
        min-height: 420px;
    }

    .nearby-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.3rem;
        scrollbar-width: thin;
    }

    .nearby-tabs::-webkit-scrollbar {
        height: 6px;
    }

    .nearby-tabs::-webkit-scrollbar-thumb {
        background: rgba(9, 20, 44, 0.2);
        border-radius: 999px;
    }

    .nearby-tab {
        font-size: 0.82rem;
        padding: 0.62rem 0.78rem;
    }

    .nearby-browser {
        padding: 0.75rem;
    }

    .nearby-list {
        max-height: none;
    }

    .nearby-map-card {
        padding: 0.85rem;
    }

    .nearby-map-header strong {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .nearby-map-header span {
        font-size: 0.82rem;
    }
}

@media (max-width: 540px) {
    .nearby-summary {
        grid-template-columns: 1fr;
    }

    .nearby-topbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0.8rem;
    }

    .nearby-browser,
    .nearby-map-card {
        padding: 0.8rem;
        border-radius: 22px;
    }

    .nearby-cta-inline {
        width: 100%;
    }

    .nearby-kicker {
        font-size: 0.76rem;
        letter-spacing: 0.05em;
        justify-self: start;
    }

    .nearby-venue-name {
        font-size: 0.88rem;
        line-height: 1.2;
        width: 100%;
        max-width: 100%;
    }

    .nearby-item {
        padding: 0.62rem;
        gap: 0.62rem;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .nearby-item-copy h3 {
        font-size: 0.84rem;
    }

    .nearby-item-copy p {
        font-size: 0.76rem;
        line-height: 1.2;
    }

    .nearby-item-time {
        font-size: 0.74rem;
        padding: 0.38rem 0.55rem;
    }

    .nearby-item-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 0.88rem;
    }

    .nearby-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.42rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .nearby-tab {
        font-size: 0.78rem;
        padding: 0.54rem 0.42rem;
        width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.15;
    }

    .nearby-map-header {
        margin-bottom: 0.75rem;
    }

    .nearby-map-header strong {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .nearby-map-header span {
        font-size: 0.72rem;
    }

    .nearby-map-frame,
    .nearby-map-frame iframe {
        min-height: 280px;
    }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #000;
    border-top: var(--border-glass);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--clr-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.35);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.footer-contact i {
    color: var(--clr-accent);
    margin-top: 4px;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* =========================================
   SECCI�"N TORO DE PUCARÁ
   ========================================= */
.section-toro {
    background: var(--clr-bg-light-alt);
    color: var(--clr-text-dark);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(0,0,0,0.12);
}

.section-toro::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.8), rgba(0, 240, 255, 0.2));
}

.toro-card {
    background: var(--clr-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.toro-divider {
    margin: 1rem auto 0.5rem;
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 1), rgba(0, 240, 255, 0.15));
    border-radius: 1px;
}

.toro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.toro-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toro-text p {
    color: var(--clr-text-dark);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

.toro-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

.toro-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.toro-image-wrapper:hover .toro-image {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.5));
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sponsors responsive */
    .tier-logos {
        gap: 1rem;
    }

    .platinum-logo {
        font-size: 1.6rem;
        padding: 1.2rem 1.5rem;
    }

    .gold-logo {
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
    }

    .silver-logo {
        font-size: 1.2rem;
        padding: 0.8rem 1.2rem;
    }

    .branding-logo {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .logo-icon {
        font-size: 1rem;
        top: 6px;
        right: 8px;
    }
}

@media (max-width: 768px) {

    .hero {
        background: url('images/fondo.jpg') center/cover no-repeat;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .nav-right {
        gap: 0.55rem;
    }

    .language-switcher {
        gap: 0.2rem;
        padding: 0.18rem;
    }

    .lang-btn {
        min-width: 31px;
        padding: 0.32rem 0.42rem;
        font-size: 0.62rem;
        letter-spacing: 0.4px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }

    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }

    .agenda-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-item {
        flex-basis: 108px;
        min-width: 108px;
    }

    .timeline-text {
        font-size: 0.66rem;
        min-height: 8.4em;
        max-width: 12ch;
    }

    .timeline-icon {
        font-size: 1.45rem;
    }

    /* Sección Toro Responsive */
    .toro-card {
        padding: 2rem;
    }

    .toro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .toro-image-wrapper {
        min-height: 300px;
    }

    .toro-image {
        max-height: 350px;
    }

    .toro-text p {
        font-size: 0.9rem;
    }

    /* Sponsors responsive */
    .sponsor-tier {
        margin-bottom: 3rem;
    }

    .tier-logos {
        gap: 0.8rem;
        justify-content: center;
    }

    .platinum-logo {
        font-size: 1.3rem;
        padding: 1rem 1.2rem;
    }

    .gold-logo {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }

    .silver-logo {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
    }

    .branding-logo {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .logo-icon {
        font-size: 0.9rem;
        top: 5px;
        right: 6px;
    }
        font-size: 0.9rem;
        top: 5px;
        right: 6px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        flex-direction: row;
        justify-content: space-between;
    }

    .tab-btn.active {
        border-bottom-color: transparent;
        border-left-color: var(--clr-accent);
    }

    /* Sponsors responsive small screens */
    .tier-logos {
        gap: 0.6rem;
        flex-direction: column;
        align-items: center;
    }

    .platinum-logo,
    .gold-logo,
    .silver-logo,
    .branding-logo {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .platinum-logo {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }

    .gold-logo {
        font-size: 0.9rem;
        padding: 0.7rem 0.9rem;
    }

    .silver-logo {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .branding-logo {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .logo-icon {
        font-size: 0.8rem;
        top: 4px;
        right: 5px;
    }
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    color: #000;
    padding: 2rem;
    border-radius: 12px;

    width: min(90%, 800px); /* �Y'^ reemplaza max-width y width */

    position: relative;
    text-align: center;
}

.modal-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-role {
    color: #555;
    margin-bottom: 1rem;
}

.modal-bio {
    font-size: 0.95rem;
}

.modal-doc .modal-bio {
    font-size: 0.85rem; /* �Y'^ solo para ese modal */
}

.modal-body {
    column-count: 1;          /* �Y'^ 2 columnas */
    column-gap: 2rem;         /* espacio entre columnas */
    text-align: justify;
    font-size: 0.9rem;        /* �Y'^ más pequeño */
    line-height: 1.5;
}

.modal-body strong {
    display: inline; /* �Y'^ esto arregla el problema */
    font-weight: 600; /* opcional, para que se vea mejor */
}

.modal-body br {
    line-height: 1.2;
}

.modal-doc .modal-content {
    width: min(95%, 1350px); /* �Y'^ solo este modal */
    max-height: 90vh;
    overflow-y: auto;
}

.modal-doc .modal-body {
    column-count: 2;
    column-gap: 3rem;
    font-size: 0.7rem !important; 
}
@media (max-width: 768px) {
    .modal-doc .modal-body {
        column-count: 1;
    }
}

.modal-doc h2 {
    font-size: 1.2rem; /* �Y'^ más pequeño */
}

#competitionModal .modal-name {
    font-size: 1rem;
}

.modal-doc .modal-actions {
    display: flex;
    flex-direction: row;   /* �Y'^ en fila */
    flex-wrap: wrap;       /* �Y'^ permite que bajen si no caben */
    gap: 1rem;
    justify-content: center; /* opcional, se ven más bonitos */
}

.modal-doc .modal-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    justify-content: start;
    align-items: start;
    margin-top: 1rem;
}

.modal-doc .modal-actions-left {
    justify-content: start;
}

.modal-doc .modal-actions-grid .btn {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .modal-doc .modal-actions-grid {
        grid-template-columns: 1fr;
    }
}

.modal-body .btn {
    display: inline-block;
    margin: 10px 10px 0 0;
}

/* Fuente personalizada Adam-Bold */
@font-face {
    font-family: 'Adam';
    src: url('fonts/Adam-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Hero específico con Adam */
.hero-adam {
    background: #111; /* ejemplo, puedes cambiar */
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero-adam .adam-title {
    font-family: 'Adam', sans-serif;
    font-weight: bold;
    font-size: 3.5rem; /* tamaño tipo h1 */
    line-height: 1.2;
    
}

.hero-adam .hero-subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
}
.adam-title {
    font-family: 'Adam', sans-serif;
    font-weight: bold;
    font-size: 3.5rem;
    line-height: 1.2;
    
     /* Ajuste correcto */
   /* -webkit-text-stroke: 0.5px white;*/

    /* Mejora visual PRO */
   /* letter-spacing: 1px;*/
}

.logo-adam {
    font-family: 'Adam', sans-serif; /* tu fuente personalizada */
    font-weight: bold;
    font-size: 2rem; /* tamaño más grande si quieres */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    color: var(--clr-white);
    text-decoration: none;
}

.footer .logo-adam {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.footer .logo-adam span.text-accent {
    font-size: 1.5rem;
}

.logo-adam .text-accent {
    color: var(--clr-accent);
}
.adam-title {
    font-family: 'Adam', sans-serif;
    font-weight: bold;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.2;
     -webkit-text-stroke: 1.0px currentColor;
}

/* Segundo nivel (más pequeño y azul) */
.title-secondary {
    font-size: 0.6em; /* �Y'^ relativo al h1 */
    color: var(--clr-accent);
    display: block;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
     -webkit-text-stroke: 1.0px currentColor;
}

/* Tercer nivel (mismo tamaño pero rojo) */
.title-location {
    font-size: 0.6em;
    color: #ff3b3b; /* rojo elegante */
    display: block;
     text-shadow: 0 0 8px rgba(255, 59, 59, 0.5);
     -webkit-text-stroke: 1.0px currentColor;
   
}

.title-secondary {
    letter-spacing: 2px;
}

.title-location {
    letter-spacing: 2px;
}

.logo-img {
    height: 1.5rem; /* ajusta el tamaño de la imagen */
    width: auto;
    margin-top: -0.2rem; /* sube la imagen ligeramente */
}
.adam-title .tilde {
    position: relative;
    display: inline-block;
}

.adam-title .tilde::before {
    content: "´"; /* la tilde */
    position: absolute;
    top: 0.4em;   /* ajusta vertical */
    left: 0.5em;       /* ajusta horizontal */
    font-size: 0.6em; /* tamaño de la tilde */
    color: inherit;   /* mismo color que la letra */
    font-family: sans-serif; /* fuente simple para la tilde */
    line-height: 0;
}

.adam-title .cedilla,
.adam-title .tilde-a {
    position: relative;
    display: inline-block;
}

.adam-title .cedilla::after {
    content: ",";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.25em;
    font-size: 0.58em;
    line-height: 1;
    font-family: sans-serif;
}

.adam-title .tilde-a::after {
    content: "~";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -0.22em;
    font-size: 0.56em;
    line-height: 1;
    font-family: sans-serif;
}
