:root {
    --bg-deep:        #000514;
    --bg-base:        #00081d;
    --bg-card:        #000c2b;
    --bg-elev:        #00113b;
    --purple-deep:    #00154d;
    --purple:         #0028aa;
    --purple-bright:  #0040ff;
    --magenta:        #1e40af;
    --magenta-bright: #3b82f6;
    --pink-glow:      #93c5fd;
    --cyan-faint:     #4A8B9D;
    --white:          #FFFFFF;
    --white-soft:     #DBEAFE;
    --gray-mute:      #94A3B8;
    --line:           rgba(59, 130, 246, 0.18);
    --line-strong:    rgba(59, 130, 246, 0.45);

    --font-display: "Poppins", "Arial", sans-serif;
    --font-script:  "Allura", cursive;
    --font-body:    "Poppins", "Arial", sans-serif;
    --font-mono:    "JetBrains Mono", ui-monospace, monospace;
  }

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

  html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    min-height: 100vh; 
    width: 100%; 
    -webkit-text-size-adjust: 100%; 
  }

  body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--white-soft);
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
  }

  /* FONDO DE ESTRELLAS Y MATRIX */
  #starfield, #matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: transparent;
    pointer-events: none;
    /* iOS: compositar canvas en su propia capa para evitar jank */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  #matrix-canvas {
    z-index: -1; 
    opacity: 0.6;
  }

  /* iOS: reducir carga de animaciones en dispositivos con poca memoria */
  @media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    #matrix-canvas { opacity: 0.35; }
    .glow-blob { filter: blur(60px) !important; }
  }

  /* ============== SPLASH / OPENING ============== */
  .splash {
    display: none !important;
    pointer-events: none !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(ellipse at center, var(--bg-base) 0%, var(--bg-deep) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: 
      opacity 0.6s ease-in-out, 
      transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.6s ease,
      visibility 0s linear 0.8s;
    transform: scale(1);
    filter: blur(0px);
  }
  .splash.closed {
    opacity: 0;
    transform: scale(1.02);
    filter: blur(10px);
    visibility: hidden;
    pointer-events: none;
  }
  .splash-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    animation: splashGridIn 1.2s ease-out;
  }
  @keyframes splashGridIn {
    from { opacity: 0; transform: scale(1.2); }
    to { opacity: 1; transform: scale(1); }
  }
  .splash-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--purple-bright) 0%, transparent 60%);
    filter: blur(80px);
    opacity: 0.5;
    animation: splashPulse 3s ease-in-out infinite;
  }
  @keyframes splashPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.7; }
  }
  .splash-inner {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
  }
  .splash-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--magenta-bright), transparent);
    margin: 0 auto;
    animation: splashLineGrow 1s ease-out 0.2s forwards;
  }
  @keyframes splashLineGrow {
    to { width: 280px; }
  }
  .splash-logo-wrap {
    position: relative;
    margin: 40px 0 32px;
    animation: splashLogoIn 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes splashLogoIn {
    from { opacity: 0; transform: translateY(20px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .splash-logo {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.5)) drop-shadow(0 0 80px rgba(0, 64, 255, 0.3));
    animation: splashLogoGlow 2.4s ease-in-out infinite alternate;
  }
  @keyframes splashLogoGlow {
    from { filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4)) drop-shadow(0 0 60px rgba(0, 64, 255, 0.25)); }
    to   { filter: drop-shadow(0 0 60px rgba(59, 130, 246, 0.75)) drop-shadow(0 0 120px rgba(147, 197, 253, 0.45)); }
  }
  .splash-meta {
    opacity: 0;
    animation: splashFadeUp 1s ease-out 0.8s forwards;
  }
  @keyframes splashFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .splash-presents {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.5em;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-left: 0.5em;
  }
  .splash-event-name.logo-style-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  .splash-logo-img {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
    margin-bottom: 12px;
  }
  .splash-event-name.logo-style-img .l3 {
    font-family: var(--font-script);
    font-size: clamp(30px, 4.5vw, 36px);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--pink-glow);
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.4);
    text-transform: none;
    margin-top: 6px;
    transform: rotate(-2deg);
    display: block;
  }
  @keyframes splashShimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
  }
  .splash-subline {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--gray-mute);
    text-transform: uppercase;
  }
  .splash-loader {
    margin: 48px auto 0;
    width: 220px;
    height: 2px;
    background: rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: splashFadeUp 0.6s ease-out 1.2s forwards;
  }
  .splash-loader-bar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--purple-bright), var(--magenta-bright), var(--pink-glow));
    animation: splashLoadBar 2.5s cubic-bezier(0.65, 0, 0.35, 1) 1s forwards;
    box-shadow: 0 0 12px var(--magenta-bright);
  }
  @keyframes splashLoadBar {
    to { width: 100%; }
  }
  @media (max-width: 640px) {
    .splash-logo { max-width: 320px; }
    .splash-loader { width: 160px; }
    @keyframes splashLineGrow {
      to { width: 180px; }
    }
  }

  /* ============== ATMOSFERA / FONDO GLOBAL ============== */
  .atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0, 64, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 64, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  }

  .glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .glow-blob.b1 { top: -10%; left: -5%;  width: 600px; height: 600px; background: var(--purple-bright); }
  .glow-blob.b2 { bottom: -15%; right: -10%; width: 700px; height: 700px; background: var(--magenta); opacity: 0.4; }
  .glow-blob.b3 { top: 40%; left: 50%; width: 500px; height: 500px; background: var(--purple); opacity: 0.3; transform: translate(-50%, -50%); }

  /* ============== NAV ============== */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
  }
  .nav.scrolled {
    background: rgba(7, 0, 15, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
  .nav-inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  .logo:hover { opacity: 0.85; }
  .logo-img {
    height: 56px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.35));
    transition: filter 0.3s, transform 0.3s;
  }
  .logo:hover .logo-img {
    filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.7));
    transform: scale(1.02);
  }
  .nav.scrolled .logo-img { height: 48px; }

  .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
  }
  .nav-links a {
    color: var(--white-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
  }
  .nav-links a:hover { color: var(--magenta-bright); }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 1px;
    background: var(--magenta-bright);
    transition: width 0.3s;
  }
  .nav-links a:hover::after { width: 100%; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--purple-bright), var(--magenta-bright));
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--magenta-bright), var(--pink-glow));
    opacity: 0;
    transition: opacity 0.3s;
  }
  .btn span { position: relative; z-index: 1; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(59, 130, 246, 0.55); }
  .btn:hover::before { opacity: 1; }
  .btn-outline {
    background: transparent;
    border: 1.5px solid var(--magenta-bright);
    box-shadow: none;
  }
  .btn-outline::before {
    background: linear-gradient(135deg, var(--purple-bright), var(--magenta-bright));
  }

  /* ============== HERO ============== */
  .hero {
    position: relative;
    /* iOS Safari: usar dvh (dynamic viewport height) para que funcione con la barra de URL */
    min-height: 100dvh;
    min-height: 100vh; /* fallback para navegadores sin soporte dvh */
    display: flex;
    align-items: center;
    padding: 95px 32px 32px;
    z-index: 1;
  }
  .hero-grid {
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    justify-items: center;
  }
  .hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    background: rgba(30, 64, 175, 0.08);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--magenta-bright);
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    opacity: 1;
    transform: none;
  }
  .hero-tag .pulse {
    width: 8px; height: 8px;
    background: var(--magenta-bright);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--magenta-bright);
  }

  .hero-title.logo-style-img {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
  }
  .hero-logo-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4)) drop-shadow(0 0 40px rgba(0, 64, 255, 0.2));
    opacity: 1;
    transform: none;
  }
  .hero-title.logo-style-img .l3 {
    display: block;
    font-family: var(--font-script);
    font-size: clamp(38px, 5.8vw, 54px);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--pink-glow);
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.4);
    text-transform: none;
    margin-top: -22px;
    opacity: 1;
    transform: rotate(-2deg);
  }

  .hero-sub {
    margin-top: 16px;
    max-width: 560px;
    opacity: 1;
    transform: none;
  }
  .hero-sub-title {
    font-size: clamp(28px, 4.5vw, 42px);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
  }
  .hero-sub-title em {
    font-style: normal;
    color: var(--magenta-bright);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
  .hero-sub p {
    font-size: 16px;
    color: var(--gray-mute);
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-justify: inter-word;
  }

  .hero-meta {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    flex-wrap: nowrap;
    opacity: 1;
    transform: none;
  }
  .meta-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(0, 12, 43, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px 18px;
    border-radius: 8px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
  }

  /* Accent Color Definitions */
  .card-date {
    --accent-color: #00f2fe;
    --accent-glow: rgba(0, 242, 254, 0.18);
    --accent-rgb: 0, 242, 254;
  }
  .card-location {
    --accent-color: #d946ef;
    --accent-glow: rgba(217, 70, 239, 0.18);
    --accent-rgb: 217, 70, 239;
  }
  .card-time {
    --accent-color: #00ff88;
    --accent-glow: rgba(0, 255, 136, 0.18);
    --accent-rgb: 0, 255, 136;
  }

  .meta-item:hover {
    background: rgba(0, 12, 43, 0.6);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 25px var(--accent-glow);
  }

  /* Cyber corner brackets */
  .meta-item::before, .meta-item::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
  }
  .meta-item::before {
    top: 0; left: 0;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
  }
  .meta-item::after {
    bottom: 0; right: 0;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
  }
  .meta-item:hover::before, .meta-item:hover::after {
    width: 15px;
    height: 15px;
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--accent-color));
  }

  /* Tech Grid Overlay */
  .meta-grid-pattern {
    position: absolute;
    inset: 0;
    background-size: 8px 8px;
    background-image: 
      linear-gradient(rgba(var(--accent-rgb), 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--accent-rgb), 0.03) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.4s ease, background-image 0.4s ease;
  }
  .meta-item:hover .meta-grid-pattern {
    opacity: 1;
    background-image: 
      linear-gradient(rgba(var(--accent-rgb), 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--accent-rgb), 0.06) 1px, transparent 1px);
  }

  /* Tactical status code */
  .meta-status-tag {
    position: absolute;
    top: 6px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 7.5px;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    opacity: 0.35;
    transition: opacity 0.4s ease, text-shadow 0.4s ease;
    font-weight: 500;
    user-select: none;
    z-index: 1;
  }
  .meta-item:hover .meta-status-tag {
    opacity: 0.9;
    text-shadow: 0 0 6px var(--accent-color);
  }

  /* Glowing and Clipped Icon Box */
  .meta-icon {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    background: rgba(var(--accent-rgb), 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
  }
  .meta-item:hover .meta-icon {
    background: var(--accent-color);
    color: var(--bg-deep);
    border-color: var(--accent-color);
  }
  .meta-icon svg { 
    width: 20px; 
    height: 20px; 
  }

  .meta-text-wrap {
    display: flex;
    flex-direction: column;
    z-index: 1;
    min-width: 0;
  }

  .meta-label {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--gray-mute);
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .meta-value {
    font-family: var(--font-display);
    font-size: clamp(14px, 1.2vw, 16.5px);
    color: var(--white-soft);
    letter-spacing: 0.02em;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    transition: color 0.4s ease;
  }
  .meta-item:hover .meta-value {
    color: var(--white);
  }

  /* Sub-elements for visual hierarchy */
  .meta-year, .meta-city, .meta-timezone {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--gray-mute);
    margin-top: 3px;
    transition: color 0.4s ease;
  }
  .meta-item:hover .meta-year {
    color: #00f2fe;
  }
  .meta-item:hover .meta-city {
    color: #d946ef;
  }
  .meta-item:hover .meta-timezone {
    color: #00ff88;
  }

  .hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: none;
  }

  /* ============== HERO RIGHT — STATIC EMBLEM ============== */
  .hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .hero-graphic-card {
    width: 100%;
    max-width: 480px;
    background: rgba(0, 12, 43, 0.45);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    padding: 44px 32px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
  }
  .hero-graphic-card::before, .hero-graphic-card::after {
    content: "";
    position: absolute;
    width: 16px; height: 16px;
  }
  .hero-graphic-card::before {
    top: -1px; left: -1px;
    border-top: 2px solid var(--magenta-bright);
    border-left: 2px solid var(--magenta-bright);
  }
  .hero-graphic-card::after {
    bottom: -1px; right: -1px;
    border-bottom: 2px solid var(--magenta-bright);
    border-right: 2px solid var(--magenta-bright);
  }
  .hero-graphic-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto 24px;
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
  }
  .hero-graphic-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--pink-glow);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 10px 18px;
    display: inline-block;
    border-radius: 4px;
    text-transform: uppercase;
  }
  .scene {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
  }
  .cube {
    position: absolute;
    transform-style: preserve-3d;
    animation: floatCube var(--dur, 8s) ease-in-out infinite;
  }
  .cube-face {
    position: absolute;
    background: rgba(0, 12, 43, 0.45); /* Opciones glassmorphic */
    border: 1px solid rgba(59, 130, 246, 0.7); /* Borde eléctrico brillante */
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3), inset 0 0 15px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    overflow: hidden;
    backdrop-filter: blur(4px);
  }
  .cube-face.shine {
    background: rgba(0, 40, 170, 0.3);
    border-color: rgba(147, 197, 253, 0.85); /* Brillo blanco azulado */
    box-shadow: 0 0 20px rgba(147, 197, 253, 0.5), inset 0 0 20px rgba(147, 197, 253, 0.5);
  }
  .cube-face.dark {
    background: rgba(0, 5, 20, 0.6);
    border-color: rgba(0, 64, 255, 0.8);
    box-shadow: 0 0 12px rgba(0, 64, 255, 0.4), inset 0 0 12px rgba(0, 64, 255, 0.4);
  }
  .cube-face.logo-face {
    background: rgba(0, 12, 43, 0.65);
    border-color: rgba(59, 130, 246, 0.95);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), inset 0 0 20px rgba(59, 130, 246, 0.5);
    overflow: hidden;
  }
  .cube-text {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 8px var(--magenta-bright);
    letter-spacing: 0.05em;
    user-select: none;
    opacity: 0.95;
  }

  @keyframes floatCube {
    0%, 100% { transform: translate3d(0, 0, 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
    50% { transform: translate3d(0, -20px, 0) rotateX(calc(var(--rx, 0deg) + 15deg)) rotateY(calc(var(--ry, 0deg) + 20deg)); }
  }

  .hacker-silhouette {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 60%;
    height: 80%;
    opacity: 0.4;
    background: radial-gradient(ellipse at center, rgba(74, 139, 157, 0.3) 0%, transparent 70%);
    filter: blur(20px);
  }

  /* ============== SECTIONS ============== */
  section {
    position: relative;
    z-index: 1;
    padding: 120px 32px;
  }
  .container {
    max-width: 1520px;
    margin: 0 auto;
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  .section-tag::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--magenta-bright);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 24px;
    max-width: 900px;
  }
  .section-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--magenta-bright), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .section-title .script {
    font-family: var(--font-script);
    font-style: normal;
    font-size: 0.55em;
    text-transform: none;
    color: var(--pink-glow);
    -webkit-text-fill-color: var(--pink-glow);
    background: none;
    display: inline-block;
    transform: rotate(-3deg);
    margin: 0 0.1em;
  }

  .section-lead {
    font-size: 18px;
    color: var(--gray-mute);
    max-width: 720px;
    line-height: 1.75;
    margin-bottom: 64px;
  }

  /* ============== ABOUT ============== */
  .about {
    background: linear-gradient(180deg, transparent, rgba(20, 2, 39, 0.5), transparent);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .about-text p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-mute);
    margin-bottom: 20px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-justify: inter-word;
  }
  .about-text strong {
    color: var(--white);
    font-weight: 600;
  }
  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
  }
  .stat::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border-top: 2px solid var(--magenta-bright);
    border-left: 2px solid var(--magenta-bright);
  }
  .stat::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 40px; height: 40px;
    border-bottom: 2px solid var(--magenta-bright);
    border-right: 2px solid var(--magenta-bright);
  }
  .stat:hover {
    border-color: var(--magenta-bright);
    transform: translateY(-4px);
  }
  .stat-num {
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0;
    background: linear-gradient(180deg, var(--white), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gray-mute);
    text-transform: uppercase;
    margin-top: 8px;
  }

  /* ============== TEMÁTICAS ============== */
  .topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
  }
  /* Línea conectora entre tarjetas */
  .topics-grid::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--magenta-bright) 20%, 
      var(--purple-bright) 50%, 
      var(--magenta-bright) 80%, 
      transparent 100%
    );
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
  }
  .topic-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    min-height: 360px;
    display: flex;
    flex-direction: column;
  }
  .topic-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--purple-bright), var(--magenta-bright), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .topic-card:hover {
    background: var(--bg-elev);
    border-color: var(--magenta-bright);
    transform: translateY(-6px);
  }
  .topic-card:hover::before { transform: translateX(0); }

  .topic-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--magenta-bright);
    letter-spacing: 0.15em;
    margin-top: 12px;
    margin-bottom: 24px;
  }
  .topic-icon {
    width: 64px; height: 64px;
    margin-bottom: 12px;
    color: var(--magenta-bright);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
  }
  .topic-card:hover .topic-icon { 
    transform: scale(1.15) rotate(-3deg); 
    color: var(--pink-glow);
    filter: drop-shadow(0 0 15px var(--magenta-bright));
  }
  .topic-icon svg { 
    width: 100%; 
    height: 100%; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
  }

  .topic-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 16px;
  }
  .topic-desc {
    font-size: 14px;
    color: var(--gray-mute);
    line-height: 1.7;
    flex-grow: 1;
  }
  .topic-arrow {
    margin-top: 24px;
    color: var(--magenta-bright);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
  }
  .topic-card:hover .topic-arrow { gap: 16px; }

  /* ============== AGENDA ============== */
  .agenda {
    background: linear-gradient(180deg, transparent, rgba(20, 2, 39, 0.6) 50%, transparent);
  }
  .timeline {
    position: relative;
    padding-left: 0;
  }
  .timeline-line {
    position: absolute;
    left: 120px;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--magenta-bright) 10%, var(--purple-bright) 90%, transparent);
  }
  .agenda-item {
    display: grid;
    grid-template-columns: 100px 60px 1fr;
    gap: 24px;
    padding: 28px 0;
    align-items: start;
    position: relative;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s;
  }
  .agenda-item:hover {
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.05), transparent);
  }
  .agenda-time {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--magenta-bright);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-top: 6px;
  }
  .agenda-dot {
    width: 16px; height: 16px;
    background: var(--bg-deep);
    border: 2px solid var(--magenta-bright);
    border-radius: 50%;
    margin: 8px auto 0;
    position: relative;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  }
  .agenda-dot::before {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--magenta-bright);
    border-radius: 50%;
  }
  .agenda-content h4 {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }
  .agenda-ordinal {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
  }
  .agenda-speaker {
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 500;
    display: block;
    letter-spacing: 0.01em;
  }
  .agenda-speaker strong {
    color: var(--magenta-bright);
    font-weight: 700;
  }
  .agenda-content p:not(.agenda-ordinal) {
    font-size: 14px;
    color: var(--gray-mute);
    line-height: 1.6;
    max-width: 600px;
  }
  .agenda-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    background: rgba(30, 64, 175, 0.15);
    border: 1px solid var(--line-strong);
    color: var(--pink-glow);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  /* ============== POR QUÉ ASISTIR ============== */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .why-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    display: flex;
    gap: 24px;
    transition: all 0.3s;
    position: relative;
  }
  .why-card:hover {
    border-color: var(--magenta-bright);
    background: var(--bg-elev);
  }
  .why-num {
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1.1;
    background: linear-gradient(180deg, var(--magenta-bright), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    width: 70px;
  }
  .why-text h4 {
    font-size: 18px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
  }
  .why-text p {
    font-size: 14px;
    color: var(--gray-mute);
    line-height: 1.7;
  }

  /* ============== CTA / INSCRIPCIÓN ============== */
  .cta-section {
    padding: 140px 32px;
    position: relative;
    overflow: hidden;
  }
  .cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 64, 255, 0.25), transparent 60%);
    z-index: 0;
  }
  .cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 120px 80px;
    background: rgba(20, 2, 39, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.4);
  }

  .cta-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    text-align: center;
  }
  .cta-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .cta-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--magenta-bright), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .cta-text {
    font-size: 19px;
    color: var(--white-soft);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
  }

  /* Cronómetro Minimalista */
  .countdown {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
  }
  .count-block {
    text-align: left;
  }
  .count-num {
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--white);
    line-height: 1;
  }
  .count-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 8px;
  }
  .count-finished {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 42px);
    background: linear-gradient(90deg, var(--magenta-bright), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    animation: textPulse 2s infinite ease-in-out;
  }
  @keyframes textPulse {
    0%, 100% {
      transform: scale(1);
      filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.4));
    }
    50% {
      transform: scale(1.06);
      filter: drop-shadow(0 0 30px rgba(255, 0, 128, 0.85));
    }
  }
  .countdown.last-seconds {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .countdown.last-seconds .count-block:not(:last-child) {
    display: none;
  }
  .countdown.last-seconds .count-block {
    text-align: center;
    margin: 0 auto;
  }
  .countdown.last-seconds .count-num {
    font-size: clamp(100px, 18vw, 180px);
    background: linear-gradient(135deg, var(--white), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: countdownPulse 1s infinite ease-in-out;
  }
  .countdown.last-seconds .count-label {
    display: none;
  }
  @keyframes countdownPulse {
    0%, 100% {
      transform: scale(1);
      filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.4));
    }
    50% {
      transform: scale(1.12);
      filter: drop-shadow(0 0 35px rgba(255, 0, 128, 0.85));
    }
  }

  /* QR Elegante */
  .cta-qr-wrap {
    flex-shrink: 0;
    width: 300px;
  }
  .qr-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
  }
  .qr-frame {
    position: relative;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  .qr-img {
    width: 100%;
    height: auto;
    display: block;
  }
  .qr-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--white-soft);
    letter-spacing: 0.2em;
    opacity: 0.6;
  }

  /* Botón Pro Minimalista */
  .cta-buttons .btn {
    padding: 24px 60px;
    font-size: 18px;
    border-radius: 12px;
    background: var(--magenta-bright);
    color: var(--white);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
  }
  .cta-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.3);
  }

  @media (max-width: 1000px) {
    .cta-flex { flex-direction: column; text-align: center; gap: 60px; }
    .cta-main { display: flex; flex-direction: column; align-items: center; }
    .countdown { justify-content: center; }
    .cta-qr-wrap { width: 240px; }
  }

  /* ============== MODAL ============== */
  .modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }
  .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 0, 15, 0.85);
    backdrop-filter: blur(20px);
    cursor: pointer;
  }
  .modal-content {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    max-height: 90dvh; /* iOS: dynamic viewport */
    background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-card) 100%);
    border: 1px solid var(--line-strong);
    overflow-y: auto;
    overflow-x: hidden;
    /* iOS: scroll suave dentro del modal */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(59, 130, 246, 0.15);
    /* iOS: evitar que el modal se convierta en un layer compuesto que choca con canvas */
    -webkit-transform: translateY(20px) scale(0.97);
  }
  .modal.open .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .modal-content::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 44px; height: 44px;
    border-top: 2px solid var(--magenta-bright);
    border-left: 2px solid var(--magenta-bright);
    pointer-events: none;
    z-index: 4;
  }
  .modal-content::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 44px; height: 44px;
    border-bottom: 2px solid var(--magenta-bright);
    border-right: 2px solid var(--magenta-bright);
    pointer-events: none;
    z-index: 4;
  }
  .modal-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--purple-bright), transparent 70%);
    opacity: 0.4;
    pointer-events: none;
    filter: blur(40px);
  }
  .modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(7, 0, 15, 0.6);
    border: 1px solid var(--line-strong);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.2s;
    font-size: 20px;
    line-height: 1;
    font-family: var(--font-body);
  }
  .modal-close:hover {
    background: var(--magenta-bright);
    color: var(--white);
    transform: rotate(90deg);
  }
  .modal-header {
    padding: 48px 48px 24px;
    position: relative;
    z-index: 2;
  }
  .modal-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .modal-num::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--magenta-bright);
  }
  .modal-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
  }
  .modal-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--magenta-bright), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .modal-lead {
    color: var(--white-soft);
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .modal-body {
    padding: 0 48px 56px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
    position: relative;
    z-index: 2;
  }
  .modal-body::-webkit-scrollbar { width: 6px; }
  .modal-body::-webkit-scrollbar-track { background: var(--bg-deep); }
  .modal-body::-webkit-scrollbar-thumb { background: var(--purple-bright); }
  .modal-body::-webkit-scrollbar-thumb:hover { background: var(--magenta-bright); }

  .modal-section { margin-top: 32px; }
  .modal-section h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .modal-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
  .modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--white-soft);
    font-size: 14px;
    line-height: 1.55;
    padding: 6px 0;
  }
  .modal-list li::before {
    content: "▸";
    color: var(--magenta-bright);
    flex-shrink: 0;
    font-size: 12px;
    margin-top: 4px;
  }
  .modal-section p {
    color: var(--gray-mute);
    font-size: 15px;
    line-height: 1.75;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  .modal-tag {
    padding: 6px 12px;
    background: rgba(30, 64, 175, 0.12);
    border: 1px solid var(--line-strong);
    color: var(--pink-glow);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .modal-cta {
    margin-top: 40px;
    padding: 32px 0 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .modal-cta-text {
    font-size: 14px;
    color: var(--gray-mute);
    text-align: center;
  }
  .modal-cta .btn {
    align-self: center;
  }

  body.modal-open { overflow: hidden; }

  /* Modal ancho (para la agenda) */
  .modal-content-wide { max-width: 920px; }

  /* ============== SECCIÓN PARTNERS / INSTITUCIONES ============== */
  .partners {
    background: linear-gradient(180deg, transparent, rgba(20, 2, 39, 0.5) 50%, transparent);
  }
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 24px;
  }
  .partner-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border-radius: 12px;
    opacity: 1;
    transform: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 180px;
  }
  .partner-card.visible {
    opacity: 1;
    transform: none;
  }
  .partner-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--magenta-bright), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .partner-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--magenta-bright);
    background: #ffffff;
  }
  .partner-card:hover::before { transform: translateX(0); }

  .partner-card img {
    max-width: 92%;
    height: 85px;
    object-fit: contain;
    transition: all 0.5s ease;
    margin-bottom: 12px;
  }
  .partner-card:hover img {
    transform: scale(1.08);
  }

  .partner-name {
    font-family: var(--font-body);
    font-size: 10.5px;
    line-height: 1.35;
    font-weight: 600;
    color: #0c152b;
    text-align: center;
    width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
    transition: color 0.3s ease;
  }
  .partner-card:hover .partner-name {
    color: var(--magenta-bright);
  }

  /* Placeholder cuando no hay logo aún */
  .partner-placeholder {
    text-align: center;
    color: var(--gray-mute);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px dashed var(--line-strong);
    padding: 16px 12px;
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partners-note {
    margin-top: 48px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--gray-mute);
    text-transform: uppercase;
  }
  .partners-note strong {
    color: var(--magenta-bright);
    font-weight: 700;
  }

  @media (max-width: 1200px) {
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 1024px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  }

  @media (max-width: 640px) {
    .modal { padding: 12px; }
    .modal-header { padding: 56px 24px 20px; }
    .modal-body { padding: 0 24px 32px; }
    .modal-list { grid-template-columns: 1fr; }
    .modal-close { top: 14px; right: 14px; }
  }

  /* ============== FORMULARIO (legado, mantenido por si se reactiva) ============== */
  .form-wrap {
    margin-top: 48px;
    text-align: left;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .form-field {
    position: relative;
  }
  .form-field.full { grid-column: 1 / -1; }
  .form-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--line-strong);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
    border-radius: 0;
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(159, 138, 184, 0.5); }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--magenta-bright);
    background: rgba(20, 2, 39, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  }
  .form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D946EF' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
  }
  .form-field select option {
    background: var(--bg-deep);
    color: var(--white);
  }
  .form-field textarea {
    resize: vertical;
    min-height: 90px;
    font-family: var(--font-body);
  }
  .form-submit {
    margin-top: 8px;
    width: 100%;
    padding: 18px 24px;
    font-size: 14px;
    justify-content: center;
  }
  .form-success {
    display: none;
    padding: 24px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--magenta-bright);
    color: var(--white);
    text-align: center;
    margin-top: 24px;
  }
  .form-success.show { display: block; animation: fadeIn 0.4s ease; }
  .form-success strong { color: var(--magenta-bright); display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .form-note {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--gray-mute);
    text-align: center;
    margin-top: 16px;
    text-transform: uppercase;
  }
  .form-note a { color: var(--magenta-bright); text-decoration: none; }
  .form-note a:hover { text-decoration: underline; }

  /* ============== LUGAR ============== */
  .venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .venue-card {
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .venue-card h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 5.5vw, 44px);
    color: var(--white);
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .venue-card .motto {
    font-family: var(--font-script);
    font-size: 32px;
    background: linear-gradient(90deg, var(--magenta-bright), var(--pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    display: block;
  }
  .venue-card p {
    color: var(--gray-mute);
    line-height: 1.75;
    margin-bottom: 28px;
  }
  .venue-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .venue-info li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: var(--white-soft);
  }
  .venue-info svg {
    width: 18px; height: 18px;
    color: var(--magenta-bright);
    flex-shrink: 0;
  }

  .map-frame {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(30, 64, 175, 0.15);
  }
  .map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: invert(0.9) hue-rotate(210deg) brightness(0.78) contrast(1.25) saturate(1.4);
    transition: filter 0.4s ease;
  }
  .map-frame:hover iframe {
    filter: invert(0.9) hue-rotate(210deg) brightness(0.9) contrast(1.2) saturate(1.5);
  }
  .map-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    pointer-events: none;
    z-index: 3;
  }
  .map-corner.tl { top: 0; left: 0; border-top: 2px solid var(--magenta-bright); border-left: 2px solid var(--magenta-bright); }
  .map-corner.tr { top: 0; right: 0; border-top: 2px solid var(--magenta-bright); border-right: 2px solid var(--magenta-bright); }
  .map-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid var(--magenta-bright); border-left: 2px solid var(--magenta-bright); }
  .map-corner.br { bottom: 0; right: 0; border-bottom: 2px solid var(--magenta-bright); border-right: 2px solid var(--magenta-bright); }
  .map-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
    padding: 14px 18px;
    background: rgba(7, 0, 15, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    pointer-events: none;
  }
  .nav-inner {
    max-width: 1520px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--white-soft);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .nav-links a:hover { color: var(--magenta-bright); }

  /* Estilos específicos para escritorio vs móvil */
  .nav-mobile-only { display: none !important; }

  /* Botón Hamburguesa */
  .nav-toggle {
    display: none; /* Oculto por defecto en escritorio */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }
  .nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
  }

  @media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-desktop-only { display: none !important; }
    .nav-mobile-only { display: block !important; }

    .nav-links {
      position: fixed;
      top: 0;
      right: 0;
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
      width: 100%;
      max-width: 300px;
      /* iOS: usar fill-available para que no corte con la barra de URL */
      height: 100vh;
      height: -webkit-fill-available;
      height: 100dvh;
      background: #0C0118;
      flex-direction: column;
      padding: 100px 40px;
      /* iOS: forzar GPU layer para el slide del menú */
      -webkit-overflow-scrolling: touch;
      overflow-y: auto;
      overscroll-behavior: contain;
      transition: -webkit-transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      border-left: 1px solid var(--magenta-bright);
      box-shadow: -10px 0 30px rgba(0,0,0,0.5);
      z-index: 9999;
      display: flex;
    }

    .nav-links.active { -webkit-transform: translateX(0) !important; transform: translateX(0) !important; }

    .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  }

  /* === GALERÍA MEMORIAS 2025 === */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    padding: 20px 0;
  }
  .gallery-item {
    aspect-ratio: 16/10;
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: pointer;
    position: relative;
    background: var(--bg-deep);
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
  }
  .gallery-item:hover img {
    transform: scale(1.08);
    opacity: 1;
  }
  .gallery-item::after {
    content: "2025";
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--magenta-bright);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-weight: 600;
    z-index: 2;
  }

  .modal-content-wide { max-width: 1100px !important; }

  /* === MEMORIES PREVIEW CARD === */
  .memories-preview-card {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 480px;
    height: 320px;
    cursor: pointer;
    z-index: 5;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .memories-preview-card:hover {
    transform: translateY(-8px);
    border-color: var(--magenta-bright);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  }
  .preview-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
  }
  .preview-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.8s ease, opacity 0.3s;
  }
  .memories-preview-card:hover .preview-bg img {
    transform: scale(1.1);
    opacity: 0.8;
  }
  .preview-content {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 4;
    background: linear-gradient(to top, rgba(0, 5, 20, 0.9) 0%, rgba(0, 5, 20, 0.4) 50%, transparent 100%);
  }
  .preview-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .preview-tag::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--magenta-bright);
  }
  .preview-title {
    font-family: var(--font-display);
    font-size: 38px;
    color: white;
    margin-bottom: 20px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .btn-mini {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--magenta-bright);
    color: white;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  .btn-mini:hover {
    background: var(--magenta-bright);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
  }

  /* Efecto de fotos apiladas detras */
  .preview-stack-1, .preview-stack-2 {
    position: absolute;
    inset: 0;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    transition: transform 0.4s ease;
  }
  .preview-stack-1 { z-index: 2; transform: rotate(-3deg); }
  .preview-stack-2 { z-index: 1; transform: rotate(3deg); }

  .memories-preview-card:hover .preview-stack-1 { transform: rotate(-6deg) translate(-5px, -5px); }
  .memories-preview-card:hover .preview-stack-2 { transform: rotate(6deg) translate(5px, -5px); }

  /* === MEMORIES VIDEO CARD === */
  .memories-container {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
  }
  .memories-video-card {
    position: relative;
    flex: 1.5;
    min-width: 320px;
    height: 320px;
    background: #000;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .memories-video-card:hover {
    transform: translateY(-8px);
    border-color: var(--magenta-bright);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  }
  .memories-video-card iframe,
  .memories-video-card video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s;
  }
  .memories-video-card:hover iframe,
  .memories-video-card:hover video {
    opacity: 1;
  }
  .video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 32px;
    background: linear-gradient(to bottom, rgba(0, 5, 20, 0.9) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
  }

  /* === LIGHTBOX STYLES === */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .lightbox.active { display: flex; }
  .lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
    cursor: pointer;
  }
  .lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .lightbox.active .lightbox-content { transform: scale(1); }
  .lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border: 1px solid var(--line-strong);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
  }
  .lightbox-close-btn {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
  }
  .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid var(--line-strong);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
  }
  .lightbox-nav-btn:hover {
    background: var(--magenta);
    box-shadow: 0 0 15px var(--magenta);
    transform: translateY(-50%) scale(1.1);
  }
  .lightbox-nav-btn.prev { left: -70px; }
  .lightbox-nav-btn.next { right: -70px; }

  @media (max-width: 900px) {
    .lightbox-nav-btn { width: 40px; height: 40px; font-size: 18px; }
    .lightbox-nav-btn.prev { left: 10px; background: rgba(0,0,0,0.5); }
    .lightbox-nav-btn.next { right: 10px; background: rgba(0,0,0,0.5); }
    .lightbox-close-btn { top: -40px; right: 0; }
  }

  /* ============== HERO ============== */
  .map-overlay-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--white-soft);
    text-transform: uppercase;
    line-height: 1.5;
  }
  .map-overlay-text strong {
    color: var(--magenta-bright);
    display: block;
    font-size: 11px;
  }
  .map-overlay-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--magenta-bright);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    pointer-events: auto;
    transition: background 0.2s;
    flex-shrink: 0;
    font-weight: 700;
  }
  .map-overlay-link:hover { background: var(--pink-glow); color: var(--bg-deep); }

  /* ============== FAQ ============== */
  .faq-list {
    max-width: 880px;
    margin: 0 auto;
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    cursor: pointer;
  }
  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s;
  }
  .faq-item:hover .faq-q { color: var(--magenta-bright); }
  .faq-toggle {
    width: 32px; height: 32px;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--magenta-bright);
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
    margin-left: 24px;
  }
  .faq-item.open .faq-toggle {
    background: var(--magenta-bright);
    color: var(--white);
    transform: rotate(45deg);
  }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.3s;
    color: var(--gray-mute);
    line-height: 1.75;
    font-size: 15px;
  }
  .faq-item.open .faq-a {
    max-height: 300px;
    margin-top: 16px;
  }

  /* ============== PONENTES / SPEAKERS ============== */
  .speakers {
    padding: 100px 0;
    position: relative;
  }
  .speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
  }
  .speaker-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
  }
  .speaker-card:hover {
    border-color: var(--magenta-bright);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(59, 130, 246, 0.1);
  }
  .speaker-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    background: var(--bg-deep);
  }
  
  /* Cyber subtle tint */
  .speaker-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(217, 70, 239, 0.08) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease;
  }
  .speaker-card:hover .speaker-img-wrap::before {
    opacity: 0.35;
  }

  /* Fade out edges and blend backgrounds */
  .speaker-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: 
      linear-gradient(to bottom, transparent 65%, var(--bg-card) 98%),
      linear-gradient(to right, rgba(0, 12, 43, 0.2) 0%, transparent 15%, transparent 85%, rgba(0, 12, 43, 0.2) 100%);
    pointer-events: none;
    z-index: 2;
    transition: background 0.5s ease;
  }
  .speaker-card:hover .speaker-img-wrap::after {
    background: 
      linear-gradient(to bottom, transparent 72%, var(--bg-card) 98%),
      linear-gradient(to right, rgba(0, 12, 43, 0.1) 0%, transparent 15%, transparent 85%, rgba(0, 12, 43, 0.1) 100%);
  }

  /* Scanline holographic screen grid */
  .speaker-img-wrap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 12, 43, 0.18) 50%);
    background-size: 100% 4px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.45;
    transition: opacity 0.5s ease;
  }
  .speaker-card:hover .speaker-img-wrap-overlay {
    opacity: 0.25;
  }

  .speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.15) contrast(1.05) brightness(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .speaker-card:hover .speaker-img {
    filter: grayscale(0) scale(1.04) brightness(1.02);
  }
  
  .speaker-time-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--magenta-bright);
    color: var(--white);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    z-index: 4;
  }

  /* Premium placeholder for unconfirmed speakers */
  .speaker-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.06) 0%, rgba(0, 5, 20, 0.7) 100%);
    color: var(--gray-mute);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: 1.5px dashed rgba(59, 130, 246, 0.2);
  }
  .speaker-placeholder::before {
    content: "";
    width: 64px;
    height: 64px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
    animation: placeholderPulse 3s ease-in-out infinite;
  }
  .speaker-placeholder span {
    z-index: 1;
    opacity: 0.7;
  }
  
  @keyframes placeholderPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.06); opacity: 0.55; filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.7)); }
  }
  .speaker-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .speaker-name {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1;
  }
  .speaker-role {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
  }
  .speaker-topic-box {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--magenta-bright);
    padding: 15px;
    margin-bottom: 20px;
  }
  .speaker-topic-box h4 {
    font-size: 11px;
    color: var(--gray-mute);
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: var(--font-mono);
  }
  .speaker-topic-box p {
    font-size: 16px;
    color: var(--white-soft);
    font-weight: 600;
    line-height: 1.4;
  }
  .speaker-exp {
    font-size: 14px;
    color: var(--gray-mute);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
  }
  .speaker-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pink-glow);
    font-family: var(--font-mono);
    border-top: 1px solid var(--line);
    padding-top: 15px;
  }
  .speaker-venue svg {
    width: 14px;
    height: 14px;
  }

  @media (max-width: 1024px) {
    .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .speakers-grid { grid-template-columns: 1fr; }
  }

  /* ============== CONTACTO ============== */
  .contact, .contact-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(20, 2, 39, 0.3));
  }
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
  }
  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }
  .person-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
  }
  .contact-person {
    margin-top: 32px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--magenta-bright);
    display: inline-block;
    text-align: left;
  }
  .person-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
  }
  .person-name {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 0.02em;
  }
  .contact-card {
    background: linear-gradient(135deg, rgba(20, 2, 39, 0.6), rgba(7, 0, 15, 0.8));
    border: 1px solid var(--line-strong);
    padding: 50px 32px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .contact-card::before, .contact-card::after {
    content: "";
    position: absolute;
    width: 30px; height: 30px;
    transition: all 0.4s ease;
    pointer-events: none;
    opacity: 0.3;
  }
  .contact-card::before {
    top: 0; left: 0;
    border-top: 2px solid var(--magenta-bright);
    border-left: 2px solid var(--magenta-bright);
  }
  .contact-card::after {
    bottom: 0; right: 0;
    border-bottom: 2px solid var(--magenta-bright);
    border-right: 2px solid var(--magenta-bright);
  }
  .contact-card:hover {
    border-color: var(--magenta-bright);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, rgba(20, 2, 39, 0.8), rgba(12, 1, 24, 0.95));
  }
  .contact-card:hover::before, .contact-card:hover::after {
    width: 50px; height: 50px;
    opacity: 1;
  }
  .contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--magenta-bright);
    margin-bottom: 15px;
    position: relative;
    transition: all 0.4s;
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
  }
  .contact-card:hover .contact-icon {
    background: var(--magenta-bright);
    color: var(--white);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 20px var(--magenta-bright);
  }
  .contact-icon svg { width: 32px; height: 32px; }
  .contact-card h3 {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--white-soft);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 5px;
    opacity: 0.9;
  }
  .person-name {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
  }
  .person-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--magenta-bright);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
  }
  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .contact-card a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-family: var(--font-mono);
    transition: all 0.2s;
    padding: 8px;
    border: 1px solid transparent;
  }
  .contact-card a:hover { 
    color: var(--magenta-bright); 
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
  }
  .contact-card a:hover { color: var(--magenta-bright); }

  @media (max-width: 1024px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 30px 20px; }
  }

  /* ============== BOTÓN VOLVER ARRIBA (BACK TO TOP) ============== */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--magenta-bright);
    color: var(--magenta-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    border-radius: 0; /* Estilo cuadrado/tech */
  }
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  .back-to-top:hover {
    background: var(--magenta-bright);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
  .back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }
  .back-to-top:hover svg {
    transform: translateY(-2px);
  }

  @media (max-width: 768px) {
    .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 44px;
      height: 44px;
    }
  }

  /* ============== FOOTER ============== */
  footer {
    border-top: 1px solid var(--line);
    padding: 100px 32px 40px;
    background: var(--bg-deep);
    position: relative;
    z-index: 1;
  }
  .footer-grid {
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
  }
  
  .footer-logo-wrap.logo-style-img {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .footer-logo-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
    margin-bottom: 12px;
  }
  .footer-logo-wrap.logo-style-img .l3 {
    font-family: var(--font-script);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--pink-glow);
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.3);
    text-transform: none;
    margin-top: 6px;
    transform: rotate(-2deg);
    display: block;
  }

  .footer-brand p {
    color: var(--gray-mute);
    font-size: 15px;
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: 32px;
  }
  .footer-col h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--magenta-bright);
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
  .footer-col a {
    color: var(--white-soft);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    font-weight: 400;
  }
  .footer-col a:hover { 
    color: var(--magenta-bright);
    padding-left: 4px;
  }

  .socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
  }
  .social-link {
    width: 44px; height: 44px;
    border: 1px solid var(--line-strong);
    background: rgba(0, 64, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  .social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--magenta-bright);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
  }
  .social-link:hover {
    border-color: var(--magenta-bright);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
  .social-link:hover::before { opacity: 0.15; }
  .social-link svg { 
    width: 20px; height: 20px; 
    position: relative;
    z-index: 1;
  }

  .footer-bottom {
    max-width: 1520px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-mute);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
  }
  .institutional-motto {
    color: var(--magenta-bright);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
  }

  @media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; margin-bottom: 20px; }
  }
  @media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
  }
  /* ============== REVEAL (ESTÁTICO) ============== */
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  /* ============== RESPONSIVE ============== */
  @media (max-width: 1024px) {
    #navLinks {
      display: flex !important;
      position: fixed !important;
      top: 0 !important;
      right: 0 !important;
      -webkit-transform: translateX(100%) !important;
      transform: translateX(100%) !important;
      width: 280px !important;
      /* iOS: height dinámico compatible con barra de URL */
      height: 100vh !important;
      height: -webkit-fill-available !important;
      height: 100dvh !important;
      background-color: #0c0118 !important;
      z-index: 99999 !important;
      -webkit-overflow-scrolling: touch !important;
      overflow-y: auto !important;
      overscroll-behavior: contain !important;
      transition: -webkit-transform 0.4s ease-in-out !important;
      transition: transform 0.4s ease-in-out !important;
      flex-direction: column !important;
      padding: 100px 30px !important;
      border-left: 2px solid var(--magenta-bright) !important;
      box-shadow: -10px 0 50px rgba(0,0,0,0.8) !important;
    }

    #navLinks.active {
      -webkit-transform: translateX(0) !important;
      transform: translateX(0) !important;
    }

    .nav-toggle {
      display: flex !important;
      z-index: 100000 !important;
    }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-right { height: 400px; }
    .hero-meta { flex-wrap: wrap; }
    .about-grid, .venue-grid { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
  }
  @media (max-width: 640px) {
    section { padding: 80px 20px; }
    .section-title { word-wrap: break-word; overflow-wrap: break-word; }
    .hero { padding: 100px 20px 60px; }
    .hero-meta { flex-direction: column; align-items: stretch; gap: 16px; }
    .meta-item { flex: none; width: 100%; }
    .stats { grid-template-columns: 1fr; }
    .timeline-line { left: 60px; }
    .agenda-item { grid-template-columns: 60px 30px 1fr; gap: 12px; }
    .agenda-time { font-size: 12px; }
    .agenda-content h4 { font-size: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    /* Countdown scaling */
    .countdown { gap: 8px; width: 100%; justify-content: center; }
    .count-block { flex: 1; min-width: 0; max-width: 75px; text-align: center; padding: 12px 6px; }
    .count-num { font-size: clamp(22px, 6vw, 30px); }
    .cta-inner { padding: 60px 20px; }
    
    .nav-inner { padding: 0 20px; }
    .logo-img { height: 44px; }
    .nav.scrolled .logo-img { height: 38px; }
    .map-overlay { flex-direction: column; align-items: flex-start; padding: 12px; }

    /* Cards overflow fixes */
    .venue-card { padding: 32px 20px; }
    .venue-card h3 { font-size: clamp(20px, 6vw, 28px); }
    .venue-card .motto { font-size: 24px; margin-bottom: 18px; }
    
    .why-card { padding: 24px 20px; gap: 16px; flex-direction: column; }
    .why-num { width: auto; font-size: 40px; margin-bottom: -4px; }
    
    .topic-card { padding: 32px 20px; min-height: auto; }
    .topic-title { font-size: clamp(20px, 6vw, 26px); word-wrap: break-word; overflow-wrap: break-word; }
    
    .memories-preview-card, .memories-video-card { min-width: 100% !important; height: 240px; }
  }

/* ============== UTILIDADES (clases que reemplazan inline styles) ============== */
  .latin-motto {
    font-family: var(--font-script);
    font-size: 1.4em;
    color: var(--pink-glow);
    font-style: normal;
  }
  .partners-note-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
  }
  .footer-brand-accent {
    color: var(--magenta-bright);
  }

  /* ============== LOGO FLOTANTE DE UCATEBA (WIDGET DE ESQUINA) ============== */
  .floating-logo-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: rgba(0, 12, 43, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.7);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .floating-logo-widget:hover {
    background: rgba(0, 12, 43, 0.8);
    border-color: var(--magenta-bright);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
  }

  .widget-logo-img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
    transition: transform 0.3s ease;
  }
  
  .floating-logo-widget:hover .widget-logo-img {
    transform: scale(1.05);
  }

  @media (max-width: 768px) {
    .floating-logo-widget {
      bottom: 20px;
      left: 20px;
      width: 50px;
      height: 50px;
    }
  }
