/* --- 1. VARIABLES & SETUP MODERNO --- */
:root {
    --bg-dark: #050a14;
    --bg-panel: #0f172a;
    --primary: #C19E2A;
    --primary-glow: #C19E2A;
    --accent: #00d4ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-grey: green;
    --text-spon: grey;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --blur: 12px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

.ambient-light {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(147, 38, 95, 0.2) 0%, rgba(0,0,0,0) 10%);
    z-index: -1;
    pointer-events: none;
}

/* --- 2. TIPOGRAFÍA --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; color: #fff; letter-spacing: -1px; }
h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h5 { font-size: 1.5rem; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

.text-gradient {
    background: linear-gradient(to right, #fff, var(--primary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient1 {
    background: linear-gradient(to left, #9c9c9c, var(--primary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient2 {
    background-clip: text;
    font-size: 1.7rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #E30613, #000);
}

/* --- 3. HEADER --- */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    z-index: 2000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
    background: transparent;
    backdrop-filter: none;
}

.header.scrolled {
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%; max-width: 1200px; margin: 0 auto;
    padding: 0 10px;
    position: relative;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.container {
    width: 97%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5px;
}

.nav-menu ul { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-main); position: relative; }
.nav-link:hover { color: #fff; }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.btn-nav-modern {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.btn-nav-modern:hover { background: var(--primary); border-color: var(--primary); }

.hamburger { display: none; }

/* --- 4. HERO --- */
.hero-modern {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(5,10,20,0.4) 10%, rgba(5,10,20,0.85) 100%, var(--bg-dark) 0%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; width: 90%; max-width: 1200px; margin: 0 auto; }
.hero-text-wrapper { max-width: 1200px; }

.badge-tech {
    display: inline-block;
    background: rgba(147, 38, 95, 0.2);
    color: var(--primary-glow);
    border: 1px solid var(--primary);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    margin-top: 85px;
    backdrop-filter: blur(5px);
}

.hero-subtitle  { font-size: 1.7rem; font-weight: 200; color: var(--text-muted); margin-bottom: 20px; }
.hero-subtitle1 { font-size: 1.7rem; font-weight: 200; color: white; margin-bottom: 10px; }

.organizers-bar {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px; margin-top: 10px;
    padding-left: 20px; border-left: 3px solid var(--primary);
}
.org-label { font-size: 1.0rem; letter-spacing: 1px; color: var(--primary); writing-mode: vertical-lr; transform: rotate(180deg); }
.org-logos  { display: flex; align-items: center; gap: 20px; }
.org-logoss { display: flex; align-items: center; gap: 20px; }
.org-logost { display: flex; align-items: center; gap: 15px; }
.org-logos  img { height: 60px; opacity: 0.9; }
.org-logoss img { height: 90px; opacity: 0.9; }
.org-logost img { height: 40px; opacity: 0.9; }
.org-logostt  img { height: 110px; opacity: 0.9; }
.org-logosttt img { height: 50px; opacity: 0.9; }
.divider-vertical { width: 1px; height: 30px; background: rgba(255,255,255,0.2); }

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 12px 25px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #a3821a 100%);
    color: #000 !important;
    border: none;
    box-shadow: 0 0 20px rgba(193, 158, 42, 0.3);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 158, 42, 0.6);
    color: #000;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1), 0 0 10px rgba(0, 212, 255, 0.1);
}
.btn-hero-secondary:hover {
    background: var(--accent);
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}
.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary) !important;
}

.btn-neon:hover { background: #b92b75; box-shadow: 0 0 40px rgba(147, 38, 95, 0.6); transform: translateY(-2px); }

.scroll-down-link { font-size: 0.9rem; color: var(--text-main); display: flex; align-items: center; gap: 10px; opacity: 0.7; }
.scroll-down-link:hover { opacity: 1; }

/* --- 5. NOTICIAS FLOTANTE --- */
.news-overlap { margin-top: -80px; position: relative; z-index: 10; padding-bottom: 70px; }

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
.glass-panel::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.news-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 30px; }
.news-date { display: block; font-size: 0.8rem; color: var(--primary-glow); font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }

.news-body { display: grid; grid-template-columns: 1fr; gap: 20px; }
.highlight-text { font-size: 1.2rem; color: #fff; font-weight: 300; }
.highlight-text strong { color: var(--primary-glow); font-weight: 600; }
.news-columns { color: var(--text-muted); font-size: 1.2rem; columns: 1; }
@media(min-width: 768px) { .news-columns { columns: 2; column-gap: 20px; } }

.modern-quote {
    margin-top: 20px; padding: 20px; border-left: 4px solid var(--primary);
    background: rgba(255,255,255,0.03); font-style: italic; color: #fff; font-size: 1.1rem;
}

/* --- 6. BENTO GRID --- */
.section-padding { padding: 50px 0; }
.section-header-modern { margin-bottom: 30px; }
.section-subtitle { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; display: block; margin-bottom: 10px; }

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

.tech-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    position: relative;
    transition: var(--ease) 0.4s;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    min-height: 250px;
}
.card-large { grid-row: span 2; background: linear-gradient(135deg, var(--bg-panel) 0%, #1a1f35 100%); }
.card-wide { grid-column: span 1; }
@media(min-width: 900px) { .card-wide { grid-column: span 2; } }

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.icon-glow { font-size: 2rem; color: var(--primary); margin-bottom: 15px; filter: drop-shadow(0 0 8px var(--primary)); }
.tech-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.tech-card p { font-size: 0.9rem; color: var(--text-muted); }
.card-bg-icon {
    position: absolute; bottom: -20px; right: -20px; font-size: 10rem;
    color: rgba(255,255,255,0.02); transform: rotate(-15deg); pointer-events: none;
}

/* --- AGENDA --- */
.agenda-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media(min-width: 992px) { .agenda-grid { grid-template-columns: 1fr 1fr; } }

.agenda-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.day-header {
    padding: 30px 30px 10px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 20px;
}

.day-tag {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.day-title { font-size: 1.5rem; color: #fff; line-height: 1.3; }
.agenda-content { padding: 0 30px 30px 30px; }

.agenda-block {
    position: relative;
    padding-left: 25px;
    margin-bottom: 30px;
    border-left: 2px solid rgba(255,255,255,0.1);
}
.agenda-block:last-child { margin-bottom: 0; }
.agenda-block::before {
    content: '';
    position: absolute;
    left: -6px; top: 5px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.block-title { font-size: 1.1rem; color: var(--primary-glow); margin-bottom: 10px; font-weight: 700; }
.block-text  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* --- 7. ANTECEDENTES & SPONSORS --- */
.modern-split { display: flex; flex-direction: column; gap: 50px; align-items: center; }
@media(min-width: 992px) { .modern-split { flex-direction: row; } }

.split-content { flex: 1; }
.split-visual  { flex: 1; width: 100%; }

.stats-modern { display: flex; gap: 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.stat-item  { display: flex; flex-direction: column; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: white; line-height: 1; }
.stat-label  { font-size: 0.8rem; color: var(--primary); text-transform: uppercase; margin-top: 5px; }

.image-frame {
    width: 100%; height: 400px;
    background: #111;
    position: relative;
}
.image-frame::after {
    content: ''; position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px;
    border: 2px solid var(--primary); z-index: -1;
}
.placeholder-modern {
    width: 100%; height: 100%;
    background: linear-gradient(45deg, #222, #111);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #555;
}
.placeholder-modern i { font-size: 4rem; margin-bottom: 10px; }

.sponsors-ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }
.sponsor-slot {
    width: 200px; height: 100px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #555; text-transform: uppercase; font-size: 0.8rem; font-weight: 600;
    transition: 0.3s;
}
.sponsor-slot:hover { border-color: var(--primary); color: var(--primary); background: rgba(147,38,95,0.05); }
.link-underline { border-bottom: 1px solid var(--primary); padding-bottom: 2px; font-size: 0.9rem; }

/* --- 8. CONTACTO & FOOTER --- */
.contact-wrapper { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-header h2 { margin-bottom: 10px; }
.contact-header p { color: var(--text-muted); margin-bottom: 30px; }

.modern-form { margin-bottom: 40px; }
.input-group { position: relative; display: flex; }
.input-group input {
    width: 100%; padding: 15px 20px;
    background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1);
    color: white; outline: none; border-radius: 4px 0 0 4px;
}
.input-group button {
    background: var(--primary); border: none; color: white; padding: 0 25px;
    font-size: 1.2rem; cursor: pointer; border-radius: 0 4px 4px 0;
    transition: 0.3s;
}
.input-group button:hover { background: #b92b75; }
.input-group label {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    color: #666; font-size: 0.9rem; pointer-events: none; transition: 0.3s;
}
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: -10px; left: 0; font-size: 0.75rem; color: var(--primary);
}

.footer-info { display: flex; justify-content: center; gap: 15px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.copyright { font-size: 0.8rem; color: #555; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* --- MEDIA KIT --- */
.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(147, 38, 95, 0.1), rgba(255, 255, 255, 0.02));
}
@media(min-width: 768px) {
    .download-card { flex-direction: row; text-align: left; margin-top: 2px; justify-content: space-between; }
}

.download-content { flex: 2; }

.kit-features { display: flex; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
.kit-item {
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
.kit-item i { color: var(--primary); }

.download-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.file-icon { text-align: center; margin-bottom: 20px; color: #fff; }
.file-icon i { font-size: 3rem; margin-bottom: 5px; display: block; color: var(--text-muted); }
.file-size { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; }
.btn-download { width: 100%; text-align: center; display: flex; justify-content: center; gap: 10px; }

/* --- COMITÉ --- */
.committee-bar {
    position: relative;
    z-index: 5;
    background-color: var(--bg-dark);
    padding: 50px 0 100px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.committee-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.committee-title::after {
    content: ''; display: block; width: 40px; height: 2px;
    background: var(--primary); margin: 8px auto 0 auto; opacity: 0.5;
}

.committee-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }

.c-member { display: flex; flex-direction: column; align-items: center; max-width: 400px; }
.c-name   { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; font-family: var(--font-heading); }
.c-role   { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* --- PLATINO --- */
.text-platinum {
    background: linear-gradient(to right, #9ca3af 0%, #f3f4f6 25%, #ffffff 50%, #f3f4f6 75%, #9ca3af 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-metal 4s linear infinite;
    font-weight: 800;
}
@keyframes shine-metal { to { background-position: 200% center; } }

/* --- MAPA LIVE --- */
#live-map-section {
    background-color: #020617;
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
    color: white;
    position: relative;
    overflow: hidden;
}

.holo-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.map-header { position: relative; z-index: 2; text-align: center; margin-bottom: 40px; }

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d2ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    background: rgba(0, 210, 255, 0.05);
}

.blink-dot {
    width: 6px; height: 6px;
    background: #00d2ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00d2ff;
    animation: pulseCyan 2s infinite;
}

.map-container-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.data-readout {
    flex: 1;
    max-width: 320px;
    background: rgba(15, 23, 42, 0.8);
    border-left: 4px solid #00d2ff;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.data-readout h4 { margin: 0; color: #94a3b8; font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; }

.neon-number { font-size: 4rem; font-weight: 800; color: white; text-shadow: 0 0 10px rgba(255,255,255,0.3); line-height: 1; display: block; margin-top: 10px; }
.readout-label { font-size: 0.8rem; color: #00d2ff; text-transform: uppercase; letter-spacing: 1px; }

.top-list {
    margin: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 5px 10px 0;
    height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.top-list::-webkit-scrollbar       { width: 6px; }
.top-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.top-list::-webkit-scrollbar-thumb { background: #0056b3; border-radius: 3px; }
.top-list::-webkit-scrollbar-thumb:hover { background: #00d2ff; }

.top-item { display: flex; justify-content: space-between; font-size: 0.9rem; color: #64748b; margin-bottom: 8px; }
.top-item.active { color: #fff; font-weight: 600; }
.top-item.active span:last-child { color: #e65100; }

.readout-instruction { font-family: 'Courier New', monospace; font-size: 0.75rem; color: #475569; }

.svg-map-container {
    flex: 1;
    height: 65vh;
    max-height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 20px rgba(0, 86, 179, 0.2));
}

.argentina-svg { height: 100%; width: auto; overflow: visible; }

.base-country { fill: #1e293b; stroke: none; opacity: 0.5; }

.prov-path {
    fill: rgba(30, 41, 59, 0.5);
    stroke: #334155;
    stroke-width: 1;
    transition: all 0.3s ease;
}

.prov-path.active-region {
    fill: rgba(0, 86, 179, 0.6);
    stroke: #00d2ff;
    stroke-width: 1.5;
    cursor: pointer;
}

#prov-jujuy {
    fill: rgba(230, 81, 0, 0.8) !important;
    stroke: #ff922b !important;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #e65100);
}

.prov-path.active-region:hover {
    fill: rgba(0, 210, 255, 0.4);
    stroke: white;
    filter: url(#glow-filter);
    transform: scale(1.01);
    transform-origin: center;
}

@keyframes pulseCyan { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* --- CARRUSEL SPONSORS --- */
.slider-area {
    position: relative;
    width: 100%;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-wrapper { width: 100%; overflow: hidden; display: flex; }

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}
.slider-track:hover { animation-play-state: paused; }

.slide { width: 200px; padding: 0 30px; display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 100%; max-height: 80px; object-fit: contain; filter: grayscale(0%) opacity(1); transition: all 0.4s ease; cursor: pointer; }
.slide img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- TABLERO VUELOS --- */
.flight-board-section {
    padding: 40px 20px;
    background-color: #0b0f19;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
}

.flight-container {
    width: 100%;
    max-width: 800px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.flight-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.flight-icon { font-size: 2rem; color: #e65100; }
.flight-header h3 { margin: 0; color: white; font-size: 1.2rem; letter-spacing: 1px; }
.flight-header p  { margin: 5px 0 0; color: #94a3b8; font-size: 0.9rem; }

.departure-board { background: #000; border-radius: 6px; overflow: hidden; font-family: 'Courier New', monospace; border: 2px solid #333; }

.board-row { display: flex; padding: 12px 15px; border-bottom: 1px solid #222; align-items: center; color: #e0e0e0; font-size: 0.9rem; }
.board-row:last-child { border-bottom: none; }
.header-row { background: #222; color: #e65100; font-weight: bold; font-size: 0.8rem; letter-spacing: 1px; }

.flight-action { margin-top: 25px; text-align: center; }
.flight-action p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 15px; }

.btn-flight-search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #0056b3 0%, #004494 100%);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    border: 1px solid #00d2ff;
}
.btn-flight-search:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); }

/* --- SAVE THE DATE --- */
#save-the-date-section {
    position: relative;
    background-color: #0b0f19;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tech-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 2px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 2px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

#save-the-date-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.std-content  { position: relative; z-index: 2; }
.std-subtitle { color: #00d2ff; font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.std-title    { color: white; font-size: 3.5rem; font-weight: 900; margin: 0; line-height: 1.1; }
.text-stroke  { color: transparent; -webkit-text-stroke: 2px white; }

.std-location { color: #94a3b8; font-size: 1.1rem; margin-top: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 10px; }
.std-location i { color: #e65100; }

/* --- CALCULADORA FIE --- */
.fie-calc-wrapper {
    padding: 5px 2px;
    background-color: #0b0f19;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
}

.fie-calc-container {
    width: 100%;
    max-width: 800px;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.fie-calc-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.fie-calc-header h3 { margin: 0; color: #fff; font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; }
.fie-calc-header p  { margin: 5px 0 0; color: #94a3b8; font-size: 0.9rem; }

.fie-icon-pulse {
    width: 50px; height: 50px;
    background: rgba(0,210,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #00d2ff; font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0,210,255,0.2);
}

.fie-calc-body label { display: block; color: #64748b; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }

.select-wrapper { position: relative; margin-bottom: 25px; }

#fie-city-select {
    width: 100%;
    background: #0f172a;
    color: white;
    border: 1px solid #334155;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    appearance: none;
    outline: none;
    transition: all 0.3s;
    cursor: pointer;
}
#fie-city-select:focus { border-color: #00d2ff; box-shadow: 0 0 0 3px rgba(0,210,255,0.1); }

.arrow-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }

.btn-calculate {
    width: 100%;
    background: linear-gradient(90deg, #0056b3 0%, #004494 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0,86,179,0.4);
}
.btn-calculate:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0,86,179,0.6); background: linear-gradient(90deg, #0065d1 0%, #0050ad 100%); }

.fie-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fie-results-grid.active { margin-top: 30px; opacity: 1; max-height: 500px; }

.result-card {
    background: rgba(15,23,42,0.6);
    border: 1px solid #334155;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ==========================================================================
   Grilla de Hoteles (Responsive)
   ========================================================================== */

.hotel-grid {
    display: grid;
    /* Crea columnas automáticas. El tamaño mínimo de cada tarjeta será de 280px 
       y se expandirán (1fr) si hay espacio extra. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Espacio entre las tarjetas */
    gap: 30px;
    /* Margen superior para separarlo del título */
    margin-top: 40px;
    width: 100%;
    /* Opcional: centra la grilla si no ocupa todo el ancho en pantallas gigantes */
    justify-content: center;
    align-items: stretch;
}

/* Opcional: Media query para ajustar el espacio en dispositivos móviles muy pequeños */
@media (max-width: 576px) {
    .hotel-grid {
        gap: 20px;
        grid-template-columns: 1fr; /* Una sola columna en celulares */
    }
}




.result-card.ultra-highlight { background: rgba(0,86,179,0.1); border-color: rgba(0,210,255,0.3); grid-column: 1 / -1; }

.result-card .label { color: #94a3b8; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; text-transform: uppercase; }
.value-group { display: flex; justify-content: center; align-items: baseline; gap: 5px; }
.value { font-size: 1.8rem; font-weight: 800; color: white; }
.unit  { font-size: 0.9rem; color: #64748b; font-weight: 600; }

.neon-orange { color: #ff922b; text-shadow: 0 0 15px rgba(255,146,43,0.3); }
.neon-blue   { color: #00d2ff; text-shadow: 0 0 15px rgba(0,210,255,0.3); }

.result-card small { display: block; margin-top: 10px; font-size: 0.65rem; color: #64748b; }

.bar-container { width: 100%; height: 4px; background: #1e293b; border-radius: 2px; margin-top: 15px; overflow: hidden; }
.bar-fill      { height: 100%; border-radius: 2px; }

/* --- ECO BANNER --- */
.eco-banner {
    background: rgba(0,255,162,0.05);
    border: 1px solid rgba(0,255,162,0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px -10px rgba(0,255,162,0.1);
    position: relative;
    overflow: hidden;
}
.eco-banner::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shine 8s infinite ease-in-out;
    transform: skewX(-20deg);
}
@keyframes shine { 0%, 70% { left: -100%; } 100% { left: 200%; } }

.eco-icon-box {
    flex-shrink: 0;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(0,255,162,0.1), transparent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--eco-green);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(0,255,162,0.7); transform: scale(1); }
    70%  { box-shadow: 0 0 0 15px rgba(0,255,162,0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(0,255,162,0); transform: scale(1); }
}

.eco-icon-box i { font-size: 1.7rem; background: linear-gradient(to bottom, #fff, var(--eco-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.eco-content h4 { color: var(--eco-green); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.eco-tag  { background: var(--eco-green); color: #fff; font-size: 0.6rem; padding: 3px 8px; border-radius: 4px; font-weight: 800; box-shadow: 0 0 10px rgba(0,255,162,0.4); }
.eco-content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* --- PARTÍCULAS --- */
#neuro-network {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content, .hero-title, .hero-buttons { position: relative; z-index: 2; }

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

@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }

    .container { width: 95%; padding: 0 10px; }

    .hero-modern {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 110px;
        padding-bottom: 30px;
    }

    .hero-text-wrapper { text-align: center; margin-top: 0; }
    .hero-actions { justify-content: center; flex-direction: column; }

    .organizers-bar { justify-content: center; border: none; padding: 0; margin-top: 15px; flex-direction: column; gap: 15px; }
    .org-label { writing-mode: horizontal-tb; transform: none; margin-bottom: 5px; }
    .org-logos, .org-logoss, .org-logost, .org-logostt, .org-logosttt { display: flex; flex-direction: column; align-items: center; gap: 15px; }
    .divider-vertical { display: none; }

    .news-overlap { margin-top: 10px; }
    .modern-split { flex-direction: column; }
    .image-frame  { height: 250px; }

    #neuro-network { display: none; }

    .hamburger {
        display: flex !important;
        position: fixed;
        top: 20px; right: 20px;
        z-index: 10000;
        color: #fff;
        font-size: 2rem;
        background: rgba(0,0,0,0.5);
        width: 50px; height: 50px;
        border-radius: 8px;
        align-items: center; justify-content: center;
        cursor: pointer;
    }

    .text-color1 { color: black; }

    .nav-menu {
        position: fixed !important;
        top: 0; left: 0;
        width: 100vw !important;
        height: 100vh !important;
        background-color: #020617 !important;
        z-index: 9999;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-menu.active { transform: translateX(0) !important; }

    .nav-menu ul  { flex-direction: column !important; gap: 40px !important; text-align: center; }
    .nav-link     { font-size: 1.5rem !important; display: block; }
    .btn-nav-modern { margin-top: 20px; font-size: 1.2rem; padding: 15px 30px; }

    .committee-bar { padding-bottom: 50px; }
    .committee-grid { gap: 30px; flex-direction: column; }

    .std-title    { font-size: 2.5rem; }
    .std-subtitle { letter-spacing: 2px; }

    .map-container-wrapper { flex-direction: column-reverse; }
    .data-readout { width: 100%; border-left: none; border-top: 4px solid #00d2ff; }

    .slider-track { animation-duration: 20s; }
    .slide        { width: 150px; padding: 0 15px; }
    .slide img    { max-height: 60px; }

    .header-row  { display: none; }
    .board-row   { flex-direction: column; align-items: flex-start; gap: 5px; padding: 15px; }
    .col-status  { width: 100%; text-align: left; margin-top: 5px; }
    .col-freq    { font-size: 0.8rem; }

    .eco-banner  { flex-direction: column; text-align: center; }
    .eco-content h3 { justify-content: center; }
}

@media (min-width: 768px) {
    .result-card.ultra-highlight { grid-column: auto; }
}