/* 
  Premium Presentation Design System 
  Focus: Dark Mode, Glassmorphism, Smooth Animations, High-Tech Elegance
*/

#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #111a2e 0%, #06090f 100%);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#intro-overlay::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}

.intro-content {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

#main-logo {
  max-width: 550px;
  width: 90%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.4));
}

.intro-title {
  font-size: 2.5rem;
  margin: 2rem 0 1rem;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#start-btn {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

#start-btn:hover {
  background: var(--accent-color);
  color: black;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

:root {
  --bg-color: #050505;
  --text-color: #ffffff;
  --accent-color: #00d2ff;
  --secondary-accent: #9d50bb;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

html {
  background-color: var(--bg-color);
  height: 100%;
  overflow: hidden;
}

body {
  background-color: transparent; /* Transparent so p5 is visible */
  color: var(--text-color);
  font-family: var(--font-main);
  height: 100%;
  width: 100%;
  overflow: hidden; /* Cero scroll en toda la presentación */
  line-height: 1.45;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Layout */
main {
  position: relative;
  z-index: 10;
  background: transparent;
  opacity: 0;
  transition: opacity 0.8s ease;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

main.visible {
  opacity: 1;
}

section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 54px 1.5rem 0.8rem;
  background: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: calc(100vh - 60px);
}

/* Hero Section */
#hero {
  background: linear-gradient(rgba(5, 9, 18, 0.45), rgba(5, 9, 18, 0.68)), url('images/caripe_banner.jpg');
  background-size: cover;
  background-position: center top;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(5, 9, 18, 0.65) 0%, rgba(5, 9, 18, 0.2) 65%, transparent 100%);
  padding: 1.5rem 2.5rem;
  border-radius: 30px;
  backdrop-filter: blur(3px);
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1.5s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1.5s ease-out 0.5s both;
}

/* Glassmorphism Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 800px;
  width: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.3);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  padding: 0.35rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 10, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.8s ease;
  box-sizing: border-box;
}

nav.visible {
  opacity: 1;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.7;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Navigation Controls (Slide Counter & Buttons) */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
}

.nav-controls button {
  background: transparent;
  border: none;
  color: var(--accent-color);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0 0.4rem;
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.nav-controls button:hover {
  transform: scale(1.3);
  color: #fff;
}

#slide-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  min-width: 42px;
  text-align: center;
}

/* Floating Side Navigation Buttons */
.side-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  background: rgba(6, 10, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  user-select: none;
  opacity: 0.6;
}

.side-nav-btn:hover {
  opacity: 1;
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.side-nav-prev { left: 1rem; }
.side-nav-next { right: 1rem; }

/* Event Badge */
.event-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 1.5rem;
  color: var(--accent-color);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Video Container */
.video-container {
  margin-top: 2rem;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

video {
  width: 100%;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-overlay span {
  background: var(--accent-color);
  color: black;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4);
}

/* Slide visibility */
.slide {
  display: none;
}

.slide.active {
  display: flex;
}

/* Collage de fotos "Quién soy" (Slide 2) */
.yo-collage {
  display: grid;
  grid-template-columns: 1.05fr 1.3fr 1.3fr;
  grid-template-rows: 215px 215px;
  gap: 12px;
  width: 100%;
}

.yo-photo-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #02050e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.yo-photo-wrapper:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent-color);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.35);
  z-index: 20;
}

.yo-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: contrast(105%) brightness(102%);
  transition: transform 0.4s ease;
}

.yo-photo-wrapper:hover img {
  transform: scale(1.06);
}

.yo-collage .yo-photo-wrapper:nth-child(1) {
  grid-column: 1;
  grid-row: span 2;
}

.yo-collage .yo-photo-wrapper:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.yo-collage .yo-photo-wrapper:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.yo-collage .yo-photo-wrapper:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.yo-collage .yo-photo-wrapper:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

/* Layout a 3 columnas para "A qué me dedico" (Slide 3) */
.roles-3-cols {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}
.role-col {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    text-align: center;
    transition: all 0.35s ease;
    opacity: 0.65;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.role-col.active-role {
    opacity: 1;
    background: rgba(0, 210, 255, 0.05);
    border-color: var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.2);
    z-index: 10;
}
.role-logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 0.4rem;
}
.role-col h3 {
    font-size: 1.05rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}
.role-col p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    flex-grow: 1;
    color: rgba(255,255,255,0.85);
}
.role-video-wrapper {
    width: 100%;
    height: 215px;
    max-height: 225px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    background: #02050e;
    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.role-video-wrapper:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}
.role-col.active-role .role-video-wrapper {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}
.role-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #02050e;
    display: block;
    border-radius: 10px;
}
.video-zoom-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(2, 5, 14, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #00d2ff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 210, 255, 0.4);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 5;
}
.role-video-wrapper:hover .video-zoom-hint {
    opacity: 1;
}

/* Slide 4: Antes vs Después */
.before-after-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    position: relative;
    width: 100%;
}
.ba-col {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.before-col {
    border-top: 4px solid #ff4d4d;
}
.before-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.1);
}
.after-col {
    border-top: 4px solid var(--accent-color);
    background: rgba(0, 210, 255, 0.05);
}
.after-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}
.ba-header {
    text-align: center;
    margin-bottom: 2rem;
}
.ba-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(1);
    opacity: 0.7;
}
.after-col .ba-icon {
    filter: none;
    opacity: 1;
    text-shadow: 0 0 15px rgba(0,210,255,0.5);
}
.ba-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
}
.before-col .ba-header h3 { color: #ff4d4d; }
.after-col .ba-header h3 { color: var(--accent-color); }

.ba-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.ba-list li {
    font-size: 1.1rem;
    line-height: 1.5;
    padding-left: 2.5rem;
    position: relative;
    opacity: 0.8;
}
.before-col .ba-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
    opacity: 0.8;
}
.after-col .ba-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
}
.after-col .ba-list li {
    opacity: 1;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

@keyframes giftShake {
    0% { transform: scale(1) rotate(0); }
    10% { transform: scale(1.1) rotate(-8deg); }
    20% { transform: scale(1.1) rotate(8deg); }
    30% { transform: scale(1.1) rotate(-8deg); }
    40% { transform: scale(1.1) rotate(8deg); }
    50% { transform: scale(1) rotate(0); }
    100% { transform: scale(1) rotate(0); }
}

/* ===================================================
   NEW EVENT & PRESENTATION 2026 STYLES
   =================================================== */

/* Event Badge */
.event-badge-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.4);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.2);
    margin-top: 1.5rem;
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); }
    50% { box-shadow: 0 0 35px rgba(0, 210, 255, 0.5); }
}

/* Intro event logo placeholder / container */
.event-logo-box {
    margin-bottom: 1.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-logo-box img {
    max-height: 90px;
    max-width: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.4));
}

/* Slide 4: Resultados de La Cumbre */
.cumbre-card {
    padding: 1.2rem 1.8rem !important;
}

/* Métricas Ultra-Compactas (Sin desperdiciar espacio vertical) */
.cumbre-metrics-compact {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.mini-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 210, 255, 0.28);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.mini-metric-pill:hover {
    background: rgba(0, 210, 255, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

.mini-pill-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.mini-pill-lbl {
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Grid con las 8 fotos completas y visibles */
.cumbre-all-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-top: 0.4rem;
    overflow: visible;
}

.cumbre-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 135px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle, rgba(12, 20, 36, 0.95) 0%, rgba(5, 8, 16, 0.98) 100%);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.6s ease, opacity 0.5s ease, filter 0.5s ease;
    display: flex;
    flex-direction: column;
    z-index: 1;
    opacity: 0.6;
    filter: brightness(0.8);
    transform: scale(0.97);
}

.cumbre-photo-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
    transform: translateY(-4px) scale(1.15) !important;
    opacity: 1 !important;
    filter: brightness(1.1) !important;
    z-index: 50 !important;
}

/* Spotlight secuencial automático mientras Salvatore habla: VISIBLEMENTE MÁS GRANDE */
.cumbre-photo-card.spotlight {
    opacity: 1 !important;
    filter: brightness(1.15) !important;
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.7), 0 15px 40px rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.28) translateY(-6px) !important; /* Visiblemente más grande */
    z-index: 40 !important;
}

.cumbre-photo-card.spotlight .photo-inner img {
    transform: scale(1.12);
}

.cumbre-photo-card.spotlight .cumbre-photo-overlay {
    background: rgba(0, 210, 255, 0.28) !important;
    color: #fff !important;
    border-top: 1px solid var(--accent-color) !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.9) !important;
}

.photo-inner {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

.photo-inner img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Foto completa, jamás cortada */
    transition: transform 0.5s ease;
}

.cumbre-photo-card:hover .photo-inner img {
    transform: scale(1.05);
}

.cumbre-photo-overlay {
    position: relative;
    padding: 0.35rem 0.5rem;
    background: rgba(6, 10, 18, 0.95);
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.4s ease;
}

/* Lightbox Modal para ampliar fotos en pantalla completa */
.photo-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(14px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 16, 28, 0.95);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 0 60px rgba(0, 210, 255, 0.35);
    animation: zoomInModal 0.25s ease-out;
}

@keyframes zoomInModal {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 88vw;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-caption {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #000;
    border: none;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.7);
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.15);
}

.cumbre-takeaway-banner {
    margin-top: 1rem;
    text-align: center;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    font-size: 1rem;
    color: #fff;
    line-height: 1.4;
}

.cumbre-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    border: 2px dashed rgba(0, 210, 255, 0.3);
    border-radius: 14px;
    height: 100%;
    width: 100%;
    background: rgba(0, 210, 255, 0.02);
}

/* Slide 5: Luego de la Cumbre - Sub-tabs & Proyectos */
.luego-cumbre-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.lc-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lc-tab-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    color: #fff;
    border-color: rgba(0, 210, 255, 0.4);
}

.lc-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(157, 80, 187, 0.25));
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.lc-view-section {
    width: 100%;
    animation: fadeInTab 0.35s ease forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slide 5: Resultados BodeGo (2 Fotos Centradas) */
.resultados-showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0.2rem auto 0 auto;
}

.resultado-photo-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #080d1a;
    border: 2px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 210, 255, 0.2);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 410px;
    width: 240px;
    flex-shrink: 0;
}

.resultado-photo-card:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: var(--accent-color);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 210, 255, 0.55);
    z-index: 10;
}

.resultado-photo-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #02050e;
}

.resultado-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.resultado-photo-card:hover .resultado-photo-inner img {
    transform: scale(1.02);
}

/* Vista 2: Proyectos (Quédate & EtiqueGo) */
.proyectos-showcase-container {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 1.6rem;
    width: 100%;
    max-width: 1280px;
    margin: 0.3rem auto 0 auto;
    text-align: left;
    align-items: stretch;
}

.proyecto-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.proyecto-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
    transform: translateY(-3px);
}

.proyecto-header {
    margin-bottom: 0.6rem;
    text-align: center;
}

.proyecto-header h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin: 0;
    font-weight: 800;
}

/* Quédate Media Grid: Video e Imagen Completos sin recortar */
.proyecto-media-grid {
    display: flex;
    gap: 1.1rem;
    height: 380px;
    width: 100%;
    justify-content: center;
}

.proyecto-media-box {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #02050e;
    border: 2px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proyecto-media-box:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.35);
}

.proyecto-media-box video,
.proyecto-media-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

/* EtiqueGo Showcase Box (Solo la imagen limpia, centrada y grande) */
.proyecto-card-etiquego {
    display: flex;
    flex-direction: column;
}

.etiquego-showcase-box {
    flex: 1;
    min-height: 380px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    cursor: pointer;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.etiquego-showcase-box:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 210, 255, 0.35);
}

.etiquego-logo-img {
    max-width: 90%;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

/* Slide 6: Casos de Empresas Reales */
.companies-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.company-showcase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.company-showcase-card:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-accent);
    box-shadow: 0 6px 18px rgba(157, 80, 187, 0.2);
}

.company-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.company-sector-pill {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.12rem 0.45rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.company-tech-highlight {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1.2;
}

.company-desc {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.28;
}

.company-impact-box {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    border-left: 3px solid var(--accent-color);
    font-size: 0.73rem;
    color: #fff;
    line-height: 1.22;
}
/* Slide 6: En Vivo */
.en-vivo-tabs {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

.ev-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ev-tab-btn:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.ev-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(0, 114, 255, 0.18));
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

.ev-view-section {
    width: 100%;
    animation: fadeIn 0.35s ease;
}

.en-vivo-video-container {
    width: 100%;
    max-width: 980px;
    height: 440px;
    margin: 0 auto;
    background: #02050e;
    border: 1.5px solid rgba(0, 210, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.en-vivo-video-container:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 210, 255, 0.3);
}

.en-vivo-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #02050e;
    display: block;
    outline: none;
    border-radius: 14px;
}

/* Slide 7: Ejemplos Reales (ADSL) */
.adsl-badges-row {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.adsl-badge {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    letter-spacing: 0.3px;
}

.adsl-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    margin-top: 0.15rem;
    flex-wrap: wrap;
}

.adsl-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.adsl-tab-btn:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.adsl-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(0, 114, 255, 0.18));
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

.adsl-view-section {
    width: 100%;
    animation: fadeIn 0.35s ease;
}

.adsl-video-container {
    width: 100%;
    max-width: 960px;
    height: 420px;
    margin: 0 auto;
    background: #02050e;
    border: 1.5px solid rgba(0, 210, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.adsl-video-container:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 210, 255, 0.3);
}

.adsl-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #02050e;
    display: block;
    outline: none;
    border-radius: 14px;
}

/* Vista 5: Oportunidad de Digitalización en Venezuela */
.digitalizacion-container {
    width: 100%;
    max-width: 980px;
    height: 420px;
    margin: 0 auto;
    background: rgba(2, 5, 14, 0.8);
    border: 1.5px solid rgba(0, 210, 255, 0.35);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.digital-header-banner {
    text-align: center;
    margin-bottom: 0.5rem;
}

.digital-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 0.12rem 0.75rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.digital-title {
    font-size: 1.32rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.2rem;
}

.digital-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.32;
}

.digital-grid-5 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.digital-grid-5 .digital-card:nth-child(1),
.digital-grid-5 .digital-card:nth-child(2),
.digital-grid-5 .digital-card:nth-child(3) {
    grid-column: span 2;
}

.digital-grid-5 .digital-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.digital-grid-5 .digital-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.digital-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.digital-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    background: rgba(0, 210, 255, 0.06);
    box-shadow: 0 8px 22px rgba(0, 210, 255, 0.22);
}

.digital-card-icon {
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.digital-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.digital-card p {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    margin: 0;
}

/* Slide 8: Conectar Tabs & WhatsApp Closing */
.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.1rem;
}

.contact-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-tab-btn:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.contact-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(37, 211, 102, 0.2));
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

.contact-view-section {
    width: 100%;
    animation: fadeIn 0.35s ease;
}

.whatsapp-closing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0.4rem 0;
}

.whatsapp-qr-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 14px 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 211, 102, 0.45), 0 0 20px rgba(0, 210, 255, 0.25);
    border: 3px solid rgba(37, 211, 102, 0.6);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.whatsapp-qr-card:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 50px rgba(37, 211, 102, 0.7);
    border-color: #25d366;
}

.whatsapp-qr-glow-ring {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-qr-img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
}

.whatsapp-scan-hint {
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #128c7e;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.whatsapp-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulseWhatsapp 1.8s infinite;
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-info-side {
    text-align: left;
    max-width: 520px;
}

.whatsapp-thanks-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    background: linear-gradient(45deg, #ffffff, #25d366, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.whatsapp-thanks-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.whatsapp-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
}

.whatsapp-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-feature-item .feat-icon {
    font-size: 1.2rem;
}

.whatsapp-speaker-pill {
    display: inline-block;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .industries-matrix,
    .cumbre-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-matrix,
    .cumbre-metric-grid,
    .companies-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom sleek scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 255, 0.6);
}
