/* =============================================
   ENEXPROTECH - Main Stylesheet
   Basado en Bootstrap 5.3 + Custom CSS
   ============================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');



/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* ── Brand Blue (hero background) ── */
  --color-hero-bg: #012BC9;

  /* ── Section backgrounds ── */
  --color-bg-primary: #04071a;
  --color-bg-secondary: #070c2a;
  --color-bg-card: #0b1135;
  --color-bg-card-alt: #0e1640;
  --color-bg-section: #060a1e;
  --color-bg-dark: #02040e;

  /* ── Accents ── */
  --color-accent-blue: #012BC9;
  --color-accent-purple: #7c3aed;
  --color-accent-pink: #db2777;
  --color-accent-cyan: #06b6d4;
  --color-accent-indigo: #4f46e5;

  --color-gradient-primary: linear-gradient(135deg, #083cff 0%, #7c3aed 50%, #db2777 100%);
  --color-gradient-hero: #012BC9;
  --color-gradient-card: linear-gradient(135deg, #0b1135 0%, #111a45 100%);

  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.75);
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-text-accent: #a5b4fc;

  --color-border: rgba(255, 255, 255, 0.18);
  --color-border-glow: rgba(255, 255, 255, 0.35);

  /* ── Typography: Poppins throughout ── */
  --font-primary: 'Poppins', sans-serif;
  --font-display: "Poppins", sans-serif;
  --font-playfair: "IBM Plex Mono", serif;




  /* ── Spacing ── */
  --section-padding: 80px 0;
  --section-padding-sm: 50px 0;

  /* ── Effects ── */
  --card-radius: 16px;
  --btn-radius: 50px;
  --glow-primary: 0 0 30px rgba(1, 43, 201, 0.4);
  --glow-accent: 0 0 20px rgba(219, 39, 119, 0.3);
  --transition-base: all 0.3s ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: var(--font-primary);
  background-color: var(--color-hero-bg);
  color: var(--color-text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- Typography ---- */
.font-playfair {
  font-family: var(--font-playfair) !important;
  font-weight: 700 !important;
  font-size: clamp(1.25rem, 2.5vw, 2.5rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--font-playfair);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
}

.gradient-text {
  background: var(--color-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---- Utility Classes ---- */
.bg-dark-section {
  background-color: var(--color-bg-section);
}

.bg-card-dark {
  background: var(--color-gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
}

.border-glow {
  border: 1px solid var(--color-border-glow);
  box-shadow: var(--glow-primary);
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--color-text-accent);
  margin-bottom: 1rem;
}

/* ---- Buttons ---- */
.btn-primary-gradient {
  background: var(--color-gradient-primary);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 25px 10px 24px;
  border-radius: var(--btn-radius);
  transition: var(--transition-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-primary);
}

.btn-primary-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  color: #fff;
}
.btn-primary-gradient i{
  font-size: 1.1rem;
}

/* ---- Arrow circle badge inside btn-primary-gradient ---- */
.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 15px;
  border-radius: 50%;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.35);
  border-image: none;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.arrow-svg {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

/* First arrow: sits centered at rest */
.arrow-svg--first {
  transform: translate(0, 0);
  opacity: 1;
}

/* Second arrow: hidden below-left at rest */
.arrow-svg--second {
  transform: translate(-18px, 18px);
  opacity: 0;
}
.btn-outline-glow {
  color: var(--color-text-primary);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: var(--btn-radius);
  transition: var(--transition-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-playfair);
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 26px;
  border: 1px solid #e5e5e55c;
  background: radial-gradient(50.91% 97.54% at 50% 2.46%, rgba(132, 0, 255, 0.15) 0%, #1925CC 100%);
  box-shadow: 0 21px 39.3px var(--sds-size-depth-negative-1200) rgba(132, 0, 255, 0.33);
}
/* Hover: first arrow exits top-right, second arrow enters from bottom-left */
.btn-primary-gradient:hover .arrow-svg--first {
  transform: translate(18px, -18px);
  opacity: 0;
}

.btn-primary-gradient:hover .arrow-svg--second {
  transform: translate(0, 0);
  opacity: 1;
}
.btn-outline-glow:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-accent-indigo);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm-gradient {
  background: var(--color-gradient-primary);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  transition: var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.8rem;
}

.btn-sm-gradient:hover {
  opacity: 0.85;
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================
   NAVBAR – Pill style, top-right, transparent over hero
   ============================================ */
.navbar-enex {
  background: transparent;
  padding: 20px 0;
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9999;
  transition: var(--transition-base);
}

#logo-fixed-nav {
  width: 150px;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding-left: 40px;
}

#logo-fixed-nav.visible {
  opacity: 1;
  visibility: visible;
}
.subtitulo-header{
  font-family: var(--font-playfair);
  text-transform: uppercase;
  letter-spacing: 3px;
}
.nav-link {
  padding: 8px 18px;
  transition: color .15s ease-in-out;
  background-color: .15s ease-in-out;
  border-color: .15s ease-in-out;
  border-radius: 24px;
  border: 1px solid #e5e5e55c;
  background: transparent;
  font-family: var(--font-playfair);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .nav-link {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

.date-data{
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: start;
}
.date-text{
  font-size: 2.3rem;
  margin-bottom:0px;
  font-family: var(--font-playfair);
  letter-spacing: -1px;
}
.location-text{
  font-size: 1.2rem;
  font-family: var(--font-playfair);
  font-weight: 300;
  letter-spacing: -1px;
}
/* ============================================
/* ============================================
   HERO: 2 columnas (texto + imagen pelota)
   ============================================ */

.hero-image-col {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-pelota-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.35));
  animation: floatHeroPelota 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-pelota-img:hover {
  transform: scale(1.03) rotate(2deg);
}

@keyframes floatHeroPelota {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 991.98px) {
  .hero-image-col {
    min-height: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  .hero-image-wrapper {
    max-width: 380px;
  }
  .hero-pelota-img {
    max-height: 320px;
  }
}

@media (max-width: 575.98px) {
  .hero-image-wrapper {
    max-width: 280px;
  }
  .hero-pelota-img {
    max-height: 240px;
  }
}

a.nav-link.active {
  border: 1px solid #FFF;
  background-color: #f1f0f36b;

}

.navbar-enex.scrolled {
  background: rgba(1, 30, 140, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  padding: 14px 0;
}

/* Logo (bottom-left of hero, not in navbar flow) */
.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand-logo img {
  height: 120px;
  width: auto;
}

/* Pill nav container – floats top-right */
.navbar-pill-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.navbar-pill-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 6px 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-pill-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px !important;
  border-radius: 50px;
  transition: var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.navbar-pill-nav .nav-link:hover,
.navbar-pill-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
}

.navbar-pill-nav .nav-link.nav-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

/* Pill nav dropdown arrow */
.navbar-pill-nav .nav-link[data-has-submenu]::after {
  content: ' +';
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Pill nav – last link with arrow icon */
.navbar-pill-nav .nav-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Mobile hamburger */
.navbar-pill-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 8px 14px;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-base);
}

.navbar-pill-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}



/* ============================================
   HERO SECTION – fondo azul plano #012BC9
   ============================================ */

#hero {
  position: relative;
}

/* ── Hero 3D Object ── */
#hero-3d {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#hero-orb {
  width: 100%;
  max-width: 480px;
  display: block;
  transform-style: preserve-3d;
  transform-origin: center center;
  border-radius: 50%;

  /* Holographic glow effect */
  filter:
    drop-shadow(0 0 28px rgba(130, 80, 255, 0.55)) drop-shadow(0 0 60px rgba(80, 180, 255, 0.35)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));

  /* Smooth initial appearance */
  animation: orb-float-in 1s ease-out both;
}

@keyframes orb-float-in {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-section {
  background-color: var(--color-hero-bg);
  padding-top: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
}


.hero-content {
  position: relative;
  z-index: 1;
}

/* Subtle radial highlight on the right side */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 65%;
  height: 140%;
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 65%);
  pointer-events: none;
}

/* Very subtle dot grid */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  opacity: 0.5;
}

/* Hero inner layout: logo top-left, nav top-right handled by navbar */
.hero-inner {
  width: 100%;
  padding: 110px 0 60px;
  position: relative;
  z-index: 2;
}

/* Tag in angle-bracket style */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-playfair);
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: #FFF;
  font-family: var(--font-playfair);
  font-size: 20px;
  font-weight: 300;
  line-height: normal;
}


.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.695);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  text-align: justify;
}

.hero-description strong {
  color: #fff;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

/* Hero CTA: filled magenta pill */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #c026d3;
  background: linear-gradient(90deg, #c026d3 0%, #9333ea 100%);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: var(--transition-base);
  letter-spacing: 0.2px;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192, 38, 211, 0.5);
  color: #fff;
  opacity: 0.95;
}

/* Hero CTA: outline pill */
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition-base);
  letter-spacing: 0.2px;
  cursor: pointer;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-3px);
}

/* Orb 3D – asymmetric organic blob */
.hero-orb-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.hero-orb-wrapper:hover {
  transform: translate(15px, -15px) scale(1.03);
}

.hero-orb {
  width: clamp(280px, 38vw, 480px);
  height: clamp(280px, 38vw, 480px);
  border-radius: 47% 53% 63% 37% / 45% 55% 45% 55%;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at 30% 30%,
      #f0abfc 0%,
      #c084fc 12%,
      #818cf8 28%,
      #3b82f6 45%,
      #1d4ed8 60%,
      #0ea5e9 78%,
      #06b6d4 100%);

  border: 1px solid rgba(255, 255, 255, .18);

  box-shadow:
    inset 0 2px 10px rgba(255, 255, 255, .35),
    inset 0 -20px 60px rgba(0, 0, 0, .18),
    0 0 80px rgba(129, 140, 248, .6),
    0 0 160px rgba(59, 130, 246, .35),
    0 0 240px rgba(192, 38, 211, .2);

  animation:
    orb-morph 9s ease-in-out infinite,
    orb-float 7s ease-in-out infinite;

  filter: brightness(1.1) saturate(1.3);
}

.hero-orb::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 30%,
      rgba(255, 150, 250, 0.35) 0%,
      rgba(168, 85, 247, 0.15) 40%,
      transparent 70%);
  filter: blur(20px);
  animation: orb-morph 9s ease-in-out infinite reverse;
}

@keyframes orb-morph {
  0% {
    border-radius: 47% 53% 63% 37% / 45% 55% 45% 55%;
  }

  20% {
    border-radius: 55% 45% 42% 58% / 50% 42% 58% 50%;
  }

  40% {
    border-radius: 38% 62% 55% 45% / 62% 48% 52% 38%;
  }

  60% {
    border-radius: 60% 40% 38% 62% / 40% 60% 40% 60%;
  }

  80% {
    border-radius: 43% 57% 58% 42% / 53% 47% 53% 47%;
  }

  100% {
    border-radius: 47% 53% 63% 37% / 45% 55% 45% 55%;
  }
}

@keyframes orb-float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(4deg);
  }

  66% {
    transform: translateY(-9px) rotate(-4deg);
  }
}

@keyframes orb-glow {
  0% {
    box-shadow: 0 0 80px rgba(129, 140, 248, 0.6), 0 0 160px rgba(59, 130, 246, 0.35);
  }

  100% {
    box-shadow: 0 0 100px rgba(192, 38, 211, 0.6), 0 0 200px rgba(99, 102, 241, 0.4);
  }
}

/* Stats bar 
.stats-bar {
  background: rgba(0, 20, 110, 0.5);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 24px 32px;
  backdrop-filter: blur(10px);
}*/

.stat-item {
  text-align: center;
  padding: 12px 8px;
  border-radius: 15.461px;
  border: 0.773px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.19);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#carousel-beneficios {
  width: 100%;
}

#carousel-beneficios .item {
  padding: 0;
  width: 100%;
}

.stat-item-cover {
  border-radius: 15px;
  background: var(--color-gradient-primary);
  padding: 8px;
  width: 100%;
  height: 170px;
}

/*.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.15);
}*/

.stat-number {
  font-family: var(--font-playfair);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  word-spacing: -5px;
}
.extra-label{
  font-size: 0.5rem;
}
.stat-label {
  font-size: 0.78rem;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  color: #E3E1EB;
}

/* ============================================
   SECTORES PRIORIZADOS & POR QUÉ PARTICIPAR
   ============================================ */
.quienes-somos-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
        to bottom,
        #002bc9 0%,
        #002bc9 15%,
        #001a6e 50%,
        #0034d5 85%,
        #0035d500 100%
    );
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Marco contenedor con borde sutil violeta/rojo como en la imagen */
.shared-bg-frame {
  border-radius: 28px;
  background: rgba(4, 7, 45, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 50px rgba(1, 43, 201, 0.35);
  backdrop-filter: blur(10px);
}

/* Pill badge outline (Sectores priorizados / ¿Por qué participar?) */
.pill-badge-outline {

  display: inline-block;
  padding: 6px 22px;
  border-radius: 50px;
  font-family: var(--font-playfair);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.3px;
}

.hero-sector-title {
  font-size: 1.2rem;
  max-width: 780px;
  line-height: 1.35;
  font-family: var(--font-playfair);
  font-weight: 400;
}

/* Viewport y Track Horizontal para Sectores Priorizados */
.sectores-slider-viewport {
  position: relative;
  padding: 8px 4px 18px;
}

.botones-slider {
  display: flex;
}

.sectores-slider-viewport::-webkit-scrollbar {
  display: none;
}

.sector-card-item {
  width: 100%;
  height: 100%;
}

#sectoresTrack.owl-carousel .owl-stage,
#participarCarousel.owl-carousel .owl-stage,
#impactoCarousel.owl-carousel .owl-stage {
  display: flex;
}

#sectoresTrack.owl-carousel .owl-item,
#participarCarousel.owl-carousel .owl-item,
#impactoCarousel.owl-carousel .owl-item {
  display: flex;
  height: auto;
}

#participarCarousel .participar-card,
#impactoCarousel .participar-card,
#sectoresTrack .sector-card {
  width: 100%;
}

/* Tarjeta de sector (Estilo "¿Por qué participar?" con imagen completa y overlay en degradé) */
.sector-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  display: block;
}

.sector-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 36px rgba(1, 43, 201, 0.45);
}

.sector-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-card:hover .sector-card-img {
  transform: scale(1.08);
}

.sector-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 3, 25, 0.95) 0%, rgb(4 3 25 / 0%) 45%, rgba(4, 3, 25, 0.1) 75%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
  z-index: 2;
  transition: background 0.35s ease;
}

.sector-card:hover .sector-card-overlay {
  background: linear-gradient(to top, rgba(4, 3, 25, 0.98) 0%, rgba(4, 3, 25, 0.6) 50%, rgba(4, 3, 25, 0.15) 80%, transparent 100%);
}

.sector-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  white-space: normal;
  font-family: var(--font-playfair);
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  text-align: left;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

@media (max-width: 575.98px) {
  .sector-card {
    height: 240px;
  }
  .sector-card-title {
    font-size: 1.05rem;
  }
}

/* Botones de filtro Pill */
.sector-pill-btn {
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sector-pill-btn:hover,
.sector-pill-btn.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
}

/* Botones redondos de navegación */
.round-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.round-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  transform: scale(1.06);
}

.round-nav-btn.sm {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.section-internal-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 50px 0;
  opacity: 1;
}

.porque-participar-title {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 400;
  font-family: var(--font-playfair);
}
.participar-sub{
  font-weight: 300;
}
.porque-participar-block {
  padding: 80px 0;
}

/* Card grande de ¿Por qué participar? */
.participar-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
}
#impacto .participar-card{
  height: 300px;
}
.participar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.participar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 3, 25, 0.95) 0%, rgba(4, 3, 25, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.participar-card-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  font-family: var(--font-playfair);
}

.participar-card-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.5;
  max-width: 480px;
}



.media-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 2;
}

.video-play-btn:hover {
  background: rgba(99, 102, 241, 0.6);
  border-color: var(--color-accent-indigo);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  fill: #fff;
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

/* ============================================
   VIDEO SECTION (FULL WIDTH)
   ============================================ */
.video-hero-section {
  position: relative;
  background: var(--color-bg-dark);
  overflow: hidden;
  min-height: 450px;
}

.video-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 7, 26, 0.85) 0%, rgba(99, 102, 241, 0.15) 100%);
}

.video-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.video-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.video-counter-badge strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

/* ============================================
   COMO FUNCIONA SECTION (PROCESO)
   ============================================ */
.como-funciona-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #0032d4;
}
/* VIDEO */
.como-funciona-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  pointer-events: none;
}

/* CAPA SOBRE EL VIDEO */
.como-funciona-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 43, 201, 0.25);
    z-index: -1;
    pointer-events: none;
}

/* CONTENIDO SOBRE EL VIDEO */
.como-funciona-section > .container {
    position: relative;
    z-index: 1;
}


.como-funciona-main-title {
  font-size: 2.6rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.5px;
  font-family: var(--font-playfair);
}

.ico-tabla-proceso {
  height: 0px;
  width: auto;
  margin-bottom: 5px;
}


.header-info-badge-wrap {
  max-width: 460px;
}

.img-ico {
  font-size: 2rem;
}

.round-arrow-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-info-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
}

/* Tarjetas de Ruta (Ruta Comercial & Ruta de Inversión) */
.ruta-card {
  border: 0.773px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.19);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(1, 43, 201, 0.3);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.28) 0px 24px 60px, rgba(255, 255, 255, 0.05) 0px 1px 1px inset;
}

.ruta-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-4px);
}

.ruta-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: var(--font-playfair);
}

.ruta-card-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  min-height: 42px;
}

.ruta-divider {
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.ruta-req-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.ruta-req-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.ruta-req-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  margin-bottom: 12px;
  line-height: 1.45;
}

.ruta-req-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #ffffff;
  font-size: 1.1rem;
  top: -2px;
}

/* Botones flotantes incrustados en la base */
.ruta-btn-wrapper {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 5;
}

.ruta-btn-wrapper .hero-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ruta-btn-wrapper .btn-primary-gradient {
  margin-left: auto;
  margin-right: auto;
}

.btn-ruta-magenta {
  background: linear-gradient(90deg, #9C27B0 0%, #E91E63 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: 50px;
  display: block;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(233, 30, 99, 0.6);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ruta-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(233, 30, 99, 0.85);
  color: #ffffff;
}

.rutas-disclaimer-box {
  background: rgba(8, 22, 60, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
}

/* ============================================
   ETAPAS DEL PROCESO & FLUJOGRAMA DE DECISIÓN
   ============================================ */
.etapas-proceso-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(167deg, #1930d1 0%, #172bc9 100%);
}

/* Etapas Rutas Grid (Inside glance style) */
.etapa-rutas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.etapa-ruta-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.etapa-ruta-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.etapa-ruta-pill {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-family: var(--font-primary), sans-serif;
  color:#ffffff;
}
.ruta-comercial-pill{
  background: rgba(255, 106, 173, 0.121);
  border: 1px solid rgba(255, 106, 172, 0.55);
}
.ruta-inversion-pill{
background-color: #06b5d42b;
border: 1px solid rgba(106, 225, 255, 0.25);
}
.etapas-table {
  background: transparent !important;
  border-collapse: separate;
  border-spacing: 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 90%;
  margin: 0 auto;
}

.etapas-table th.etapa-col-header {
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 20px;
  width: 25%;
  color: #FFF;
  font-size: 16px;
  font-style: normal !important;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.16px;
}

/* Scroll horizontal de la tabla */
.etapas-table-card .table-responsive::-webkit-scrollbar {
  height: 8px;
}

/* Fondo de la barra */
.etapas-table-card .table-responsive::-webkit-scrollbar-track {
  background: #ffffff20;
  border-radius: 10px;
}

/* Barra que se desplaza */
.etapas-table-card .table-responsive::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 10px;
}

/* Hover */
.etapas-table-card .table-responsive::-webkit-scrollbar-thumb:hover {
  background: #cccccc;
}

th.ruta-col-header,
th.etapa-col-header {
  background: transparent;
  font-family: var(--font-playfair);
}

.etapas-table th.ruta-col-header {
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 20px;
  width: 37.5%;
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 150%;
  letter-spacing: -0.16px;
}

.etapas-table td {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: middle;
  background: transparent !important;
  color: #FFF;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.14px;
}

.etapas-table tr:last-child td {
  border-bottom: none;
}

.etapa-num-title {
  color: #ffffff;
  margin-bottom: 4px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: -0.16px;
}

.etapa-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.ruta-desc-cell {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

.flecha-cuadro {
  height: 10px;
  width: 20%;
  background-image: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/flecha.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Sección ¿Debo elegir una ruta? */
.debo-elegir-ruta-section {
  padding: 50px 0px;
}

.debo-elegir-main-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.5px;
  font-family: var(--font-playfair);
}

.debo-elegir-desc-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

td.etapa-cell {
    width: 20%;
}
td.ruta-desc-cell {
    width: 40%;
}

.info-icon-wrap {
  color: #CDA4FF;
  font-size: 1.35rem;
}
.alert-card{
  background-color: #e2e8f021;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #e2e8f054;
}
.info-alert-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  text-align: justify;
}

/* Flujograma de decisión */
.flowchart-card-wrap {
  border: 0.5px solid #ffffff88;
  background: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  background: var(--color-gradient-primary);
}

.flow-node {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flow-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.node-empresa {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: auto;
  min-width: 160px;
}

.node-pregunta {
  background: rgba(140, 60, 220, 0.4);
  border: 1px solid rgba(190, 100, 255, 0.55);
  width: auto;
  min-width: 180px;
}

.node-objetivo {
  background-color: #1b14646e;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.tit-flujo-italic {
  font-weight: 800;
  padding: 16px 10px;
  color: #ffffff;
  font-size: 20px;
  display: inline;
  font-family: var(--font-playfair);
}

.node-action {
  background: rgba(60, 100, 220, 0.5);
  border: 1.5px solid rgba(100, 150, 255, 0.65);
  color: #ffffff;
  font-weight: 400;
}

.node-step {
  background: rgba(30, 70, 170, 0.45);
  border: 1px solid rgba(60, 110, 210, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.node-final {
  background: rgba(10, 60, 150, 0.65);
  border: 1px solid rgba(40, 100, 220, 0.65);
  color: #ffffff;
  font-weight: 400;
}

.table th,
.table td {
  border-top: none;
}

/* ============================================
   CONEXIÓN GLOBAL (INFOGRAPHIC MAP DESIGN)
   ============================================ */
.conexion-global-section {
  padding: 80px 0;
  position: relative;
}

.conexion-card-frame {
  position: relative;
  overflow: hidden;
}

.conexion-info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.conexion-badge-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(255, 253, 253, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
}
.empresa-badge-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: #128ec845;
  border: 1px solid #03a8f469;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
}
.conexion-main-title {
  font-family: var(--font-playfair);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  letter-spacing: -0.5px;
}

.conexion-subtitle-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: justify;
}

.conexion-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #e91e63;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: auto;
}

.conexion-quote-text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  line-height: 1.5;
}

/* Map Wrapper & Hotspots */
.conexion-map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.18) 0%, rgba(4, 7, 26, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  height: 100%;
}

.conexion-mapa-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s ease;
}

.map-hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}

.hotspot-pin {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 2;
}

.hotspot-ring {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: pulse-ring 2.2s infinite ease-out;
  z-index: 1;
}

.pin-america .hotspot-dot {
  background: #e91e63;
  box-shadow: 0 0 10px #e91e63;
}
.pin-america .hotspot-ring {
  border: 2px solid #e91e63;
}

.pin-europa .hotspot-dot {
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
}
.pin-europa .hotspot-ring {
  border: 2px solid #00d2ff;
}

.pin-asia .hotspot-dot {
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
}
.pin-asia .hotspot-ring {
  border: 2px solid #a855f7;
}

.hotspot-label {
  background: rgba(5, 10, 32, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.conexion-divider {
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* Infographic Bottom Cards */
.col-section-title {
  font-size: 1.05rem;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.text-magenta {
  color: #0b9ff5;
}

.text-gold {
  color: #0b9ff5;
}

.infographic-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.infographic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
}

.infographic-card-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.header-america {
  background: var(--color-gradient-primary);
  color: #ffffff;
}

.header-europe {
  background: var(--color-gradient-primary);
  color: #ffffff;
}

.header-asia {
  background: var(--color-gradient-primary);
  color: #ffffff;
}

.header-fondos {
  background: var(--color-gradient-primary);
  color: #ffffff;
}

.card-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.card-region-title {
  font-size: 0.92rem;
  font-weight: 700;
}

.infographic-card-body {
  padding: 16px;
  flex: 1;
}

.country-pill {
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.15);
}

.country-pill:hover {
  background: rgba(245, 158, 11, 0.35);
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

.country-pill-america {
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid rgba(233, 30, 99, 0.25);
  background: rgba(233, 30, 99, 0.15);
}

.country-pill-america:hover {
  background: rgba(233, 30, 99, 0.35);
  border-color: rgba(233, 30, 99, 0.6);
  transform: translateY(-1px);
}

.country-pill-europe {
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid rgba(0, 210, 255, 0.25);
  background: rgba(8, 60, 255, 0.2);
}

.country-pill-europe:hover {
  background: rgba(8, 60, 255, 0.4);
  border-color: rgba(0, 210, 255, 0.6);
  transform: translateY(-1px);
}

.country-pill-asia {
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(124, 58, 237, 0.25);
}

.country-pill-asia:hover {
  background: rgba(124, 58, 237, 0.45);
  border-color: rgba(168, 85, 247, 0.7);
  transform: translateY(-1px);
}

.header-representantes {
  background: var(--color-gradient-primary);
  color: #ffffff;
}

.country-pill-prochile {
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 60, 255, 0.22);
}

.country-pill-prochile:hover {
  background: rgba(8, 60, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Sección Programa (Tabs + Slider Horizontal) */
.programa-dias-section {
  padding: 40px 0 80px;
}



.programa-day-btn {
  background: rgba(1, 43, 201, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 8px 22px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.programa-day-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.programa-day-btn.active {
  background: linear-gradient(90deg, #9C27B0 0%, #E91E63 100%);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.6);
  transform: scale(1.03);
}

.programa-day-btn .day-num {
  font-size: 0.88rem;
  font-weight: 700;
}

.programa-day-btn .day-date {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* Slider Track & Viewport de Tarjetas de Días */
.programa-slider-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0 35px;
}

.programa-slider-viewport::-webkit-scrollbar {
  display: none;
}

.programa-slider-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding-left: calc(50% - 180px);
  padding-right: calc(50% - 180px);
}



.programa-card-item {
  flex: 0 0 360px;
  max-width: 360px;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.35;
  cursor: pointer;
}

@media (max-width: 575px) {
  .programa-card-item {
    flex: 0 0 280px;
    max-width: 280px;
  }
}

.programa-card-item.active {
  opacity: 1 !important;
  transform: scale(1.05);
}

.programa-day-card {
  border-radius: 22px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.4s ease;
  background: transparent;
  border: 1px solid rgb(255, 255, 255);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.programa-card-item:hover:not(.active) {
  opacity: 0.7;
  transform: translateY(-4px);
}

.programa-card-item.active .programa-day-card {
  background: linear-gradient(140deg, rgba(130, 50, 210, 0.936) 0%, rgba(20, 50, 180, 0.95) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.pcard-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.pcard-intro {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  margin-bottom: 16px;
}

.pcard-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pcard-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.pcard-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-size: 1rem;
  top: -1px;
}





/* =============================================
   IMPACTO ESPERADO & FECHAS IMPORTANTES STYLES
   ============================================= */
.impacto-fechas-section {
  position: relative;
  z-index: 2;
  padding: 50px 0;
}

.impacto-main-title {
  font-size: clamp(2.2rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  font-family: var(--font-playfair) !important;
}

.impacto-subtitle-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  text-align: justify;
  margin-right: 50px;
}

.vertical-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.vertical-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: scale(1.08);
}

.impacto-slider-card {
  border-radius: 24px;
  overflow: hidden;
  height: 270px;
  position: relative;
  background: rgba(13, 10, 75, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.impacto-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.impacto-slider-card:hover .impacto-card-img {
  transform: scale(1.05);
}

.impacto-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 7, 30, 0.95) 0%, rgba(4, 7, 30, 0.4) 60%, transparent 100%);
  z-index: 2;
}

.impacto-card-heading {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
}

.impacto-card-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 250px;
}

/* Fechas Importantes - Gradient Glassmorphism Box */
.fechas-card-wrap {
  background: linear-gradient(135deg, rgba(120, 60, 210, 0.8) 0%, rgba(30, 95, 210, 0.85) 50%, rgba(10, 120, 225, 0.9) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.fechas-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  font-family: var(--font-playfair);
}

.fecha-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.fecha-date-str {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  color: #ffffff;
}

.fecha-dots-line {
  height: 1px;
  background: rgb(255, 12, 12);
  width: 100%;
  position: relative;
}

.fecha-dots-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.fecha-label-str {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}



/* =============================================
   SECCIÓN SOSTENIBILIDAD & POSTULA (INDEPENDIENTES)
   ============================================= */
.sostenibilidad-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.postula-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

@media (max-width: 991.98px) {
  .sostenibilidad-section {
    padding: 50px 0 30px;
  }
  .postula-section {
    padding: 40px 0 60px;
  }
}

/* =============================================
   HUD FUTURISTA MAP (LEAFLET + OSRM) - PALETA CORPORATIVA
   ============================================= */
:root {
  --color-hud-blue: #083cff;
  --color-hud-purple: #7c3aed;
  --color-hud-pink: #db2777;
  --color-hud-gradient: linear-gradient(135deg, #083cff 0%, #7c3aed 50%, #db2777 100%);
  --color-hud-glow: rgba(124, 58, 237, 0.45);
  --color-hud-bg: #030818;
  --color-hud-card: rgba(3, 10, 28, 0.85);
  --color-hud-border: rgba(124, 58, 237, 0.4);
}

.hud-map-wrapper {
  position: relative;
  font-family: var(--font-playfair), monospace;
}

.hud-tag-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  background: var(--color-hud-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none;
}

.hud-radar-beacon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-hud-pink);
  display: inline-block;
  box-shadow: 0 0 10px var(--color-hud-pink);
  animation: beaconBlink 1.4s infinite ease-in-out;
}

@keyframes beaconBlink {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 15px var(--color-hud-pink); }
}

.hud-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--color-hud-border);
  border-radius: 50px;
  padding: 3px 10px;
}

.hud-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

/* Frame del mapa */
.hud-map-frame {
  position: relative;
  border-radius: 20px;
  background: var(--color-hud-bg);
  border: 1px solid var(--color-hud-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(124, 58, 237, 0.2);
  overflow: hidden;
}

/* Esquinas HUD */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-style: solid;
  border-color: var(--color-hud-purple);
  pointer-events: none;
  z-index: 1000;
  filter: drop-shadow(0 0 4px var(--color-hud-purple));
}
.hud-corner--tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.hud-corner--tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.hud-corner--bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.hud-corner--br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

/* Canvas del Mapa */
.hud-map-canvas {
  width: 100%;
  height: 380px;
  background: #04091a;
  outline: none;
}

/* Filtro Dark Mode / Cyberpunk HUD para las teselas del mapa */
.hud-map-canvas .leaflet-tile-pane,
.hud-map-canvas .leaflet-tile,
.google-dark-hud-tiles {
  filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(125%) saturate(30%) !important;
}

/* Blindaje de imágenes y teselas contra overrides de Sitefinity */
.hud-map-canvas .leaflet-pane img,
.hud-map-canvas .leaflet-tile,
.hud-map-canvas .leaflet-tile-container img {
  max-width: none !important;
  max-height: none !important;
}

/* Evitar que el SVG recorte la línea de ruta neón al hacer zoom */
.hud-map-canvas .leaflet-overlay-pane svg {
  overflow: visible !important;
}

/* Scanlines sutiles sobre el mapa */
.hud-scanlines-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(124, 58, 237, 0.02),
    rgba(124, 58, 237, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 998;
}

/* Barra inferior de métricas OSRM */
.hud-route-metrics-bar {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(3, 9, 25, 0.92);
  border: 1px solid var(--color-hud-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 8px 12px;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(124, 58, 237, 0.2);
}

.hud-metric-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.hud-route-stats {
  font-family: var(--font-playfair), monospace;
  font-size: 0.78rem;
}

.hud-stat-item {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hud-stat-item--highlight {
  color: #ffffff;
  background: var(--color-hud-gradient);
  border: none;
  padding: 2px 10px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(219, 39, 119, 0.4);
}

.text-hud-accent {
  color: var(--color-hud-pink) !important;
}

/* Marcadores Cyberpunk / HUD Leaflet (divIcon) */
.cyber-radar-marker {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-hud-purple);
  background: rgba(124, 58, 237, 0.2);
  animation: radarPulseAnim 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

.radar-core {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #020616;
  border: 2px solid var(--color-hud-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 0 16px var(--color-hud-blue), inset 0 0 8px rgba(8, 60, 255, 0.4);
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.radar-core:hover {
  transform: scale(1.15);
}

.radar-core.destination-core {
  background: var(--color-hud-gradient);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(219, 39, 119, 0.8), inset 0 0 8px #ffffff;
}

.radar-pulse.destination-pulse {
  border-color: var(--color-hud-pink);
  background: rgba(219, 39, 119, 0.25);
  animation-delay: 0.6s;
}

.cyber-marker-label {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(2, 6, 22, 0.95);
  border: 1px solid var(--color-hud-purple);
  color: #ffffff;
  font-family: var(--font-playfair), monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
  pointer-events: none;
  letter-spacing: 0.5px;
}

@keyframes radarPulseAnim {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  70% {
    transform: scale(2.3);
    opacity: 0.25;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Polylines con efecto Neón / Láser sincronizado */
.cyber-neon-polyline-glow {
  stroke: #00f3ff !important;
  filter: drop-shadow(0 0 10px #00f3ff) drop-shadow(0 0 20px #00aaff);
  stroke-linecap: round;
  stroke-linejoin: round;
  will-change: stroke-dashoffset, filter, opacity;
}

/* Pulso suave continuo en el resplandor de la ruta neón */
.cyber-neon-polyline-glow.pulsing {
  animation: neonLaserGlowPulse 2.4s ease-in-out infinite alternate;
}

@keyframes neonLaserGlowPulse {
  0% {
    filter: drop-shadow(0 0 8px #00f3ff) drop-shadow(0 0 16px #00aaff);
    opacity: 0.88;
  }
  100% {
    filter: drop-shadow(0 0 14px #00f3ff) drop-shadow(0 0 26px #00aaff) drop-shadow(0 0 35px rgba(0, 243, 255, 0.75));
    opacity: 1;
  }
}

.cyber-neon-polyline-core {
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 4px #ffffff);
  stroke-linecap: round;
  stroke-linejoin: round;
  will-change: stroke-dashoffset, opacity;
}

.cyber-neon-polyline-core.pulsing {
  animation: neonCorePulse 2.4s ease-in-out infinite alternate;
}

@keyframes neonCorePulse {
  0% {
    opacity: 0.95;
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px #ffffff);
  }
}

/* Dark HUD Tooltips & Popups en Leaflet */
.leaflet-popup-content-wrapper {
  background: rgba(3, 8, 25, 0.95) !important;
  border: 1px solid var(--color-hud-purple) !important;
  border-radius: 12px !important;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.45) !important;
  color: #ffffff !important;
  font-family: var(--font-playfair), monospace !important;
  padding: 2px !important;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}

.leaflet-popup-tip {
  background: #030819 !important;
  border: 1px solid var(--color-hud-purple) !important;
}

.leaflet-container {
  background: #04091a !important;
  font-family: var(--font-playfair), monospace !important;
}

/* Capa de mapa oscura nativa con contraste optimizado y texto nítido */
.leaflet-tile-pane {
  filter: brightness(1.08) contrast(1.18);
}

.leaflet-bar a {
  background-color: rgba(3, 9, 28, 0.85) !important;
  border-color: var(--color-hud-border) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
}

.leaflet-bar a:hover {
  background-color: rgba(124, 58, 237, 0.35) !important;
  color: #ffffff !important;
}

/* Tarjetas Postula compactas (estilo Rutas) */
.postula-card-compact {
  padding: 22px 24px !important;
  border-radius: 20px !important;
}

.postula-card-compact .ruta-card-title {
  font-size: 1.25rem !important;
  line-height: 1.35;
  margin-bottom: 8px;
}

.postula-card-compact .ruta-card-subtitle {
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Botones de postulación compactos */
.btn-sm-postula {
  padding: 8px 16px 8px 16px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.3px;
  gap: 10px !important;
}

.arrow.arrow-sm {
  width: 32px !important;
  height: 32px !important;
}

/* =============================================
   PREGUNTAS FRECUENTES (FAQS & FLUID 3D ORB)
   ============================================= */
.faqs-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.faq-main-title {
  font-size: clamp(2.2rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
  font-family: var(--font-playfair) !important;
}

.faq-subtitle-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 400px;
  line-height: 1.5;
}

/* Fluid 3D Orb Effect */
.fluid-3d-orb {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff00ea 0%, #a855f7 35%, #2563eb 75%, #0011a8 100%);
  box-shadow:
    inset -12px -12px 25px rgba(0, 0, 0, 0.6),
    inset 12px 12px 25px rgba(255, 255, 255, 0.7),
    0 0 50px rgba(236, 72, 153, 0.45),
    0 0 90px rgba(37, 99, 235, 0.3);
  animation: orbLiquid 7s ease-in-out infinite alternate;
  display: inline-block;
}

@keyframes orbLiquid {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    border-radius: 50%;
  }

  50% {
    transform: translateY(-10px) scale(1.03) rotate(8deg);
    border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  }

  100% {
    transform: translateY(5px) scale(0.98) rotate(-6deg);
    border-radius: 52% 48% 55% 45% / 48% 52% 48% 52%;
  }
}

/* Clean Accordion (Match Image 2 Pixel-Perfect) */
.faq-clean-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  margin-bottom: 0;
}



.faq-clean-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-clean-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  background-size: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.3s ease;
  filter: none;
}

.faq-clean-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg) !important;
}

.faq-clean-accordion .accordion-body {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 0 20px 20px;
}


/* =============================================
   TESTIMONIOS (VIDEO CAROUSEL STYLES)
   ============================================= */
/* =============================================
   TESTIMONIOS (VIDEO CAROUSEL STYLES)
   ============================================= */
.testimonios-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.testimonio-active-info {
  padding-right: 15px;
}

.testimonio-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-playfair) !important;
}

.testimonio-tag {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.testimonio-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.testimonios-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.item-video {
  border-radius: 20px;
  overflow: hidden;
  background: #D9D9D9;
  position: relative;
  width: 100%;
}




/* Bottom Right Nav Arrow Buttons */
.nav-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nav-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-primary);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-gradient-primary);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 16px;
  color: var(--color-text-accent);
  font-size: 1.4rem;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   owl-carousel
   ============================================ */
.owl-carousel .item {
  display: flex;
  justify-content: space-between;
  ;
  align-items: center;
}

.owl-carousel video {
  width: 100%;
  height: auto;
  display: block;
}

.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 280px !important;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  overflow: hidden;
}

/* ---- Custom video thumbnail (replaces owl-video native) ---- */
.video-thumb-wrapper {
  position: relative;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  background: #000;
}

.video-thumb-wrapper video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 20px;
  display: block;
  background: #000;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.video-thumb-wrapper:hover .video-thumb-img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.video-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/play_btn.svg) no-repeat center center;
  background-size: contain;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease;
  z-index: 2;
}

.video-thumb-wrapper:hover .video-thumb-play {
  transform: translate(-50%, -50%) scale(1.12);
}
.video-thumb-wrapper.is-playing .video-thumb-img,
.video-thumb-wrapper.is-playing .video-thumb-play {
  display: none;
}

.video-thumb-wrapper.is-playing .video-thumb-element {
  display: block;
}
/* Iframe inline que reemplaza el thumbnail al hacer play */
.video-thumb-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 10;
  border-radius: 20px;
}

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  background: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/play_btn.svg) no-repeat center center;
  background-size: contain;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform .1s ease;
}

#testimoniosCarousel .owl-video-tn {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ============================================
   QUIENES SON / CATEGORIAS SECTION
   ============================================ */
.quienes-son-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(11, 17, 53, 0.7);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.category-pill:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-border-glow);
  transform: translateX(4px);
  color: inherit;
}

.category-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.category-pill-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

/* ============================================
   CURSOS SECTION
   ============================================ */
.cursos-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.course-card {
  background: var(--color-gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition-base);
  height: 100%;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow-primary);
}

.course-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.course-card-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(219, 39, 119, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.course-card-body {
  padding: 20px;
}

.course-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.level-beginner {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.level-intermediate {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.level-advanced {
  background: rgba(219, 39, 119, 0.2);
  color: #db2777;
  border: 1px solid rgba(219, 39, 119, 0.3);
}

.course-card-body h5 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.course-card-body p {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   PROGRAMAS SECTION
   ============================================ */
.programas-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.programas-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.programa-tab {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  transition: var(--transition-base);
}

.programa-tab.active,
.programa-tab:hover {
  background: var(--color-gradient-primary);
  border-color: transparent;
  color: #fff;
}

.programa-card {
  background: var(--color-gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 24px;
  height: 100%;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.programa-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-primary);
}

.programa-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--color-text-accent);
}

.programa-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.programa-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.programa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ============================================
   EQUIPO SECTION
   ============================================ */
.equipo-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.team-card {
  background: var(--color-gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition-base);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-primary);
}

.team-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.team-card:hover .team-card-img-wrapper img {
  transform: scale(1.05);
}

.team-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(219, 39, 119, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.team-card-body {
  padding: 18px 16px;
}

.team-card-body h5 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-body .role {
  font-size: 0.8rem;
  color: var(--color-text-accent);
  margin-bottom: 12px;
}

.team-card-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--color-text-accent);
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.85rem;
}

.team-social-btn:hover {
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
}

/* ============================================
   FECHAS IMPORTANTES
   ============================================ */
.fechas-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.fecha-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(11, 17, 53, 0.6);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  margin-bottom: 10px;
}

.fecha-item:hover {
  border-color: var(--color-border-glow);
  background: rgba(99, 102, 241, 0.08);
}

.fecha-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--color-gradient-primary);
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

.fecha-badge .day {
  font-size: 1.2rem;
}

.fecha-badge .month {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.fecha-info h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.fecha-info p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   BLOG / NOTICIAS SECTION
   ============================================ */
.blog-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.blog-card {
  background: var(--color-gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition-base);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--glow-primary);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-body {
  padding: 20px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.blog-category {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--color-text-accent);
  font-weight: 600;
  font-size: 0.72rem;
}

.blog-card-body h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.blog-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-base);
}

.blog-read-more:hover {
  color: #fff;
  gap: 8px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.faq-accordion .accordion-item {
  background: var(--color-gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion {
  background: transparent;
  --bs-accordion-border-color: transparent;
}

.accordion-item,
.accordion-button {
  color: white;
  background-color: transparent;
  border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}


.faq-accordion .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 18px 22px;
  border: none;
  box-shadow: none;
}

.accordion-body {
  color: #FFF;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 0.5px solid #cbd5e12a;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed),
.accordion-button {
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #fff;
}

.accordion-item,
.accordion-button {
  border: none;
}

.accordion-button::after {
  background-image: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/arrow-down.svg);
}

.accordion-button:not(.collapsed)::after {
  background-image: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/arrow-down.svg)
}

.accordion-button:not(.collapsed) {
  color: #ffffff;

  background-color: transparent;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-text-accent);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  filter: invert(1) hue-rotate(220deg);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-body {
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 4px 22px 20px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-orb-left,
.cta-orb-right {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-orb-left {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  top: 20%;
  left: 8%;
  animation: orb-float 7s ease-in-out infinite;
}

.cta-orb-right {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.4) 0%, transparent 70%);
  bottom: 20%;
  right: 10%;
  animation: orb-float 5s ease-in-out infinite reverse;
}

.cta-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  border: none;
  text-decoration: none;
}

.cta-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.7);
}

.cta-play-btn svg {
  fill: #fff;
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
}

/* Logos de Organizadores Institucionales */
.organizer-logos-row {
  margin-top: 36px !important;
}

.organizer-logo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.organizer-logo-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(0, 243, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 243, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.organizer-logo-img {
  max-height: 52px;
  max-width: 85%;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.organizer-logo-img--lg {
  max-height: 64px;
  max-width: 95%;
  transform: scale(1.2);
}

.organizer-logo-img--xl {
  max-height: 76px;
  max-width: 98%;
  transform: scale(1.44);
}

.organizer-logo-card:hover .organizer-logo-img {
  filter: brightness(1.1) drop-shadow(0 0 14px rgba(0, 243, 255, 0.6));
  transform: scale(1.03);
}

.organizer-logo-card:hover .organizer-logo-img--lg {
  filter: brightness(1.1) drop-shadow(0 0 14px rgba(0, 243, 255, 0.6));
  transform: scale(1.24);
}

.organizer-logo-card:hover .organizer-logo-img--xl {
  filter: brightness(1.1) drop-shadow(0 0 14px rgba(0, 243, 255, 0.6));
  transform: scale(1.48);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
  padding: 60px 0 30px;
}

#bg-final {
  background: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/group-47253.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid var(--color-border);
  background-position: center;
}

.logo-text {
  padding: 20px 0px 30px 0px;
}

.footer-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.footer-logo .logo-text span {
  color: var(--color-text-accent);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-accent);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul,
.footer-links li {
  display: inline;
  padding-left: 0rem;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-menu a,
.footer-menu li {
  display: inline;
  text-decoration: none;
  color: #ffffff;
}

ul.footer-menu {
  padding-left: 0rem;
}

.footer-menu li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 12px;
  /* ajusta al tamaño de tu SVG */
  height: 12px;
  margin: 0 12px;
  background-image: url(https://www.prochile.gob.cl/images/enexprotech2026libraries/default-album/sep.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 1rem;
}

.footer-social-btn:hover {
  background: var(--color-gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-divider {
  border-color: var(--color-border);
  margin: 32px 0 20px;
}

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

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-gradient-primary);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-base);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.7s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ============================================
   SCROLL-DRIVEN ENTRANCE & STAGGER REVEAL SYSTEM
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger-delay, 0s);
  will-change: opacity, transform;
}

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

/* Micro-parallax hover depth for interactive cards once revealed */
.reveal.revealed.has-hover-parallax {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
}

.reveal.revealed.has-hover-parallax:hover {
  transform: translateY(-4px);
}

/* Stagger utility classes */
.reveal-delay-1 { --stagger-delay: 0.1s; }
.reveal-delay-2 { --stagger-delay: 0.2s; }
.reveal-delay-3 { --stagger-delay: 0.3s; }
.reveal-delay-4 { --stagger-delay: 0.4s; }
.reveal-delay-5 { --stagger-delay: 0.5s; }
.reveal-delay-6 { --stagger-delay: 0.6s; }

/* Accesibilidad: Respeta la preferencia de reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.revealed,
  .has-hover-parallax {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

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


@media (max-width: 1200px) {
  .nav-link {
    font-size: 12px;
  }

  .stats-bar {
    padding: 20px 0px 0px 0px;
  }

  .hero-title,
  .hero-description {
    padding: 10px 0px 10px 0px;
  }

  .logo-text {
    padding: 20px 0px;
  }

  .quienes-somos-section,
  #sectores {
    margin-bottom: 100px !important;
  }

  .quienes-somos-section,
  .porque-participar-block {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .stat-item-cover {
    height: auto;
  }

  .hero-tag {
    width: auto;
    text-align: center !important;
  }

  .cta-play-btn {
    width: 40px;
    height: 40px;
  }

  .img-conexion {
    right: 0%;
    left: 0%;
  }

  .stat-item-cover {
    margin: 5px;
  }

  .fechas-main-title {
    font-size: 2rem;
  }

  .fecha-date-str {
    font-size: 0.8rem;
  }

  .fecha-label-str {
    white-space: pre-wrap;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .como-funciona-section,
  .etapas-proceso-section,
  .debo-elegir-ruta-section {
    padding: 50px 0px;
  }

}


@media (max-width: 991.98px) {
  .hero-orb {
    width: 250px;
    height: 250px;
    margin: 40px auto 0;
  }

  .hero-description,
  .hero-title {
    margin-bottom: 0rem;
  }

  .owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .img-conexion {
    display: none;
  }

  span.day-num.d-block {
    display: none !important;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .navbar-enex .navbar-collapse {
    background: rgba(4, 7, 26, 0.98);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-top: 12px;
  }

  .navbar-pill-nav {
    display: none;
  }

  .navbar-enex {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 12px 0;
    background: rgba(1, 30, 140, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }

  .navbar-enex #logo-fixed-nav {
    opacity: 1;
    visibility: visible;
    width: 130px;
    padding-left: 15px;
  }

  .figura2 {
    right: 0px;
  }

  .navbar-pill-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .navbar-pill-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    border-radius: 20px;
    padding: 12px;
    z-index: 999;
    background: rgba(1, 30, 160, 0.97);
    backdrop-filter: blur(20px);
    min-width: 220px;
  }

  .navbar-pill-nav.mobile-open .nav-link {
    border-radius: 12px !important;
    padding: 10px 20px !important;
  }
}

@media (max-width: 768px) {

  .item-video,
  .video-thumb-wrapper {
    height: 100%;
  }

  .pcard-list li {
    font-size: 0.7rem;
  }

  .sectores-priorizados-block {
    padding-bottom: 40px;
  }

  .sectores-slider-viewport {
    padding: 0px;
  }

  .botones-slider {
    display: none !important;
  }

  .conexion-main-title,
  .tit-flujo-italic,
  .impacto-main-title,
  .fechas-main-title,
  .faq-main-title,
  .testimonio-heading,
  .programa-dias-title,
  .como-funciona-main-title,
  .porque-participar-,
  .hero-sector-title {
    font-size: 1.3rem;
  }

  .programa-slider-track {
    padding-left: calc(50% - 131px);
  }

  .etapas-table th.ruta-col-header {
    padding: 10px;
    font-size: 17px;
    line-height: 1.1;
  }

  .etapas-table td,
  .programa-day-card {
    padding: 10px;
  }

  .debo-elegir-main-title,
  .etapa-num-title,
  .ruta-card-title,
  .hero-title,
  .participar-card-heading,
  .programa-title,
  .col-section-title {
    font-size: 1rem;
  }

  .sector-pills-nav {
    display: none !important;
  }

  .footer-heading,
  .footer-links,
  .programa-dias-title {
    text-align: center;
  }

  .hero-description,
  .hero-title,
  .hero-tag,
  .btn-primary-gradient,
  .programa-dias {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    text-align: justify;
  }

  .footer-section,
  .cta-section,
  .testimonios-section,
  .faqs-section,
  .impacto-fechas-section,
  .programa-dias-section,
  .conexion-global-section,
  .debo-elegir-ruta-section,
  .etapas-table-card,
  .etapas-proceso-section,
  .como-funciona-section,
  .porque-participar-block {
    padding: 20px 0px;
  }

  .testimonio-text,
  p,
  .faq-clean-accordion .accordion-body,
  #elegir-ruta li,
  .debo-elegir-desc-text,
  .ruta-desc-cell,
  .etapas-table td,
  .btn-outline-glow,
  .btn-ruta-magenta,
  .hero-description,
  .faq-clean-accordion .accordion-button,
  .fecha-label-str,
  .participar-card-text,
  .pcard-title,
  .pcard-intro,
  .pcard-list,
  .hero-tag,
  .btn-primary-gradient,
  .porque-participar-title {
    font-size: 0.8rem;
  }

  .stat-item,
  .logo-text {
    padding: 20px;
  }

  .ruta-card {
    padding: 28px 20px !important;
    margin-bottom: 0px !important;
  }

  .stat-item-cover {
    height: 100%;
  }

  .hero-section {
    padding: 0px 0px 20px 0px;
  }

}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 56px 0;
  }

  .ruta-card {
    padding: 26px 18px !important;
    margin-bottom: 0px !important;
  }

  .ruta-btn-wrapper {
    width: 92% !important;
    max-width: 340px;
    bottom: -24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .stat-item:not(:last-child) {
    border-right: none;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   DOTS MOBILE (Reemplazo de botones en ≤768px)
   ============================================ */
.slider-dots-mobile {
  display: none;
  /* oculto en desktop */
}

@media (max-width: 768px) {
  .slider-dots-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    width: 100%;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    flex-shrink: 0;
  }

  .slider-dot.active {
    background: #ffffff;
    transform: scale(1.25);
  }

  .slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
  }
}

/* ============================================
   PROGRESS BAR ITEM (Quienes son)
   ============================================ */
.progress-bar-item {
  margin-bottom: 12px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.progress-bar-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(99, 102, 241, 0.15);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--color-gradient-primary);
  transition: width 1.2s ease;
  width: 0;
}

.progress-bar-fill.animated {
  /* width set by JS via data-width */
}

/* ============================================
   DECORATIVE LINES
   ============================================ */
.section-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}

.section-line::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gradient-primary);
}

/* ============================================
   HIGHLIGHT CARD (Feature)
   ============================================ */
.feature-highlight-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(219, 39, 119, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--card-radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.feature-highlight-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

/* ============================================
   CURSOR COMET TRAIL
   ============================================ */
.cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #fff;
}

@media (hover: none) {

  .cursor-canvas,
  .cursor-dot {
    display: none;
  }
}

/* ============================================
   ACCESSIBILITY MODAL
   ============================================ */
.a11y-toggle-btn {
  position: fixed;
  bottom: 90px;
  right: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.a11y-toggle-btn:hover {
  transform: scale(1.1);
}

.a11y-modal {
  position: fixed;
  bottom: 155px;
  right: 26px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #051964;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 243, 255, 0.15);
  z-index: 10000;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: white;
}

.a11y-modal.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.a11y-modal-header {
  padding: 15px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a11y-modal-header h5 {
  margin: 0;
  font-size: 1.1rem;
}

.a11y-close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.a11y-modal-body {
  padding: 15px;
}

.a11y-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.a11y-option:last-child {
  margin-bottom: 0;
}

.a11y-actions {
  display: flex;
  gap: 5px;
}

/* Accessibility Modifications */
html.a11y-text-lg {
  font-size: 110%;
}

html.a11y-text-xl {
  font-size: 120%;
}

html.a11y-text-sm {
  font-size: 90%;
}

body.a11y-daltonismo {
  filter: contrast(120%) saturate(150%) hue-rotate(15deg);
}

/* ============================================
   CRONOGRAMA DE ACTIVIDADES (Programa Original)
   ============================================ */
.cronograma-section {
  padding: 70px 0;
  position: relative;
}
.cronograma-actividades {
    display: flex;
    flex-wrap: wrap;
}

.cronograma-actividades > .col-12 {
    display: flex;
}

.cronograma-actividades .calendario-master-card {
    width: 100%;
    height: 100%;
}
.calendario-master-card {
  margin: 0 auto;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.19);
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 28px;
}
.calendario-card{
    background: rgba(255, 255, 255, 0.19);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(1, 43, 201, 0.3);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.28) 0px 24px 60px, rgba(255, 255, 255, 0.05) 0px 1px 1px inset;
    padding: 61px 20px 0px 20px;
}
/* Barra superior de encabezado pill (Date | Event | Impact) */
.calendario-table-header {
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: var(--font-playfair);
}

.header-col.col-date {
  width: 25%;
}

.header-col.col-event {
  width: 33%;
}

.header-col.col-details {
  width: 42%;
}

/* Filas internas dentro del mismo cuadro (Días) */
.calendario-row-card {
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.471);
  padding: 16px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.text-flujo{
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 150%;
  letter-spacing: -0.16px;
}
.calendario-row-card:last-child {
  border-bottom: none;
}

.date-badge-box {
  background: var(--color-gradient-primary);
  border-radius: 14px;
  padding: 8px 12px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

.date-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(192, 132, 252, 0.6);
}

.date-month {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-playfair);
}

.date-day {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-playfair);
}

.event-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-playfair);
}

.event-subtitle {
  font-size: 0.82rem;
  line-height: 1.4;
  display: block;
}

.event-details-list {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.event-details-list li {
  margin-bottom: 3px;
}

.sub-detail-item {
  font-size: 0.8rem;
  line-height: 1.45;
}

.text-purple-glow {
  color: #b98fff;
  font-weight: 700;
  font-family: var(--font-playfair);
}

.text-magenta-glow {
  color: #ff6aac;
  font-weight: 700;
  font-family: var(--font-playfair);
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767.98px) {
  .cronograma-section {
    padding: 50px 0;
  }

  .calendario-master-card {
    padding: 16px;
    border-radius: 20px;
  }

  .calendario-row-card {
    padding: 14px;
    border-radius: 16px;
  }

  .date-badge-box {
    width: 100%;
    justify-content: center !important;
  }

  .event-title {
    font-size: 1rem;
    text-align: center;
  }

  .event-subtitle {
    text-align: center;
  }
}

/* ============================================
   CALENDARIO DEL EVENTO - WEEK AT A GLANCE (DISEÑO EXACTO)
   ============================================ */
.calendario-section {
  padding: 80px 0;
  position: relative;
}

/* Master Card Container */
.glance-card,
.calendario-section .calendario-master-card {
  width: 100%;
  background-color:rgba(255, 255, 255, 0.19);
  border-radius: 34px;
  padding: 30px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 28%), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  backdrop-filter: none;
}
.calendario{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}
.calendario-elemento {
    width: 47%;
}
.glance-day-calendario{
    background: var(--color-gradient-primary);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 13px 9px;
    border-radius: 23px 23px 0px 0px;
    line-height: 1.25;
    letter-spacing: 0.2px;
    font-family: var(--font-primary), sans-serif;
    width: 100%;
    text-align: center;

}

.calendario-fecha{
  position: absolute;
  top:0;
  width: 100%;
  left: 0;
}
/* Header */
.glance-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.glance-indicator-box {
  width: 18px;
  height: 18px;
  background-color: #ff6aac;
  border-radius: 3.5px;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 0 10px rgba(163, 230, 53, 0.4);
}

.glance-title {
  font-size: clamp(1.85rem, 3.8vw, 2.4rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  font-family: var(--font-primary), sans-serif;
  line-height: 1.15;
}

/* Schedule Items List */
.glance-list {
  display: flex;
  flex-direction: column;
}

.glance-item {
  display: flex;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  gap: 24px;
  position: relative;
}

.glance-item:first-child {
  padding-top: 4px;
}

.glance-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

/* Color Themes */
.glance-item.theme-teal {
  --item-theme-color: #20c997;
}

.glance-item.theme-purple {
  --item-theme-color: #5d5fef;
}

.glance-item.theme-orange {
  --item-theme-color: #f97316;
}

.glance-item.theme-pink {
  --item-theme-color: #e05697;
}

.glance-item.theme-blue {
  --item-theme-color: #0ea5e9;
}

/* Date Column (Left) */
.glance-date-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 175px;
  min-width: 175px;
}

.glance-day-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glance-day-badge {
  background:var(--color-gradient-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  font-family: var(--font-primary), sans-serif;
}

.glance-day-number {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: -1.5px;
  font-family: var(--font-primary), sans-serif;
}

.glance-month-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 8px;
  font-family: var(--font-primary), sans-serif;
}

/* Vertical Accent Divider */
.glance-divider-vertical {
  width: 2px;
  align-self: stretch;
  background-color: #ffffff24;;
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.95;
}

/* Content Column (Right) */
.glance-content-col {
  flex: 1;
  min-width: 0;
  padding-left: 4px;
}

.glance-event {
  display: flex;
  flex-direction: column;
}

.glance-event-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-family: var(--font-primary), sans-serif;
}

.glance-event-sub {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin: 0 0 8px 0;
  font-family: var(--font-primary), sans-serif;
}

/* Activities List (Bullets with theme icon) */
.glance-activities-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.glance-activities-list li {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.35;
  font-family: var(--font-primary), sans-serif;
}

.glance-bullet-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #ff6aac;
}

/* Sub-events (e.g. Día 4) */
.glance-sub-event {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--item-theme-color, #e05697);
}

.glance-sub-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  font-family: var(--font-primary), sans-serif;
}

.glance-sub-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
  font-family: var(--font-primary), sans-serif;
}

/* Meta list (Location & Time) */
.glance-meta-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.glance-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 400;
  color: #d1d5db;
  line-height: 1.4;
  font-family: var(--font-primary), sans-serif;
}

.glance-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--item-theme-color, #20c997);
}

/* ============================================
   RESPONSIVE DESIGN (UX-UI OPTIMIZED)
   ============================================ */
@media (max-width: 767.98px) {
  .calendario-section {
    padding: 50px 0;
  }

  .glance-card {
    padding: 32px 24px;
    border-radius: 26px;
  }

  .glance-header {
    gap: 12px;
    margin-bottom: 28px;
  }

  .glance-title {
    font-size: 1.85rem;
  }

  .glance-date-col {
    flex: 0 0 145px;
    min-width: 145px;
  }

  .glance-day-number {
    font-size: 2.4rem;
  }

  .glance-day-badge {
    font-size: 0.75rem;
    padding: 2px 7px;
  }

  .glance-item {
    gap: 16px;
    padding: 22px 0;
  }

  .glance-event-title {
    font-size: 1.05rem;
  }

  .glance-meta-item {
    font-size: 0.88rem;
  }
}

@media (max-width: 575.98px) {
  .glance-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .glance-item {
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
  }

  .glance-date-col {
    flex: none;
    min-width: unset;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .glance-month-text {
    margin-top: 0;
    font-size: 0.95rem;
  }

  .glance-divider-vertical {
    display: none;
  }

  .glance-content-col {
    width: 100%;
    padding-left: 14px;
  }

  .glance-day-number {
    font-size: 2.2rem;
  }
}

/* ========================================================
   THE VISIONARY & THE INTEGRATOR SECTION
   ======================================================== */
.visionary-integrator-section {
  padding: 10px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.vi-container-wrapper {
    box-sizing: border-box;
    backdrop-filter: none;
  position: relative;
}

.vi-cards-row {
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Base Card */
.vi-card {
  position: relative;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(22, 28, 60, 0.08), 0 2px 8px rgba(22, 28, 60, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.vi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(22, 28, 60, 0.14);
}

/* Visionary Variant */
/* .vi-card-visionary {
  border: 2.5px solid #dca026;
  border-top: 5px solid #dca026;
} */

/* Integrator Variant */
/* .vi-card-integrator {
  border: 2.5px solid #2a157e;
  border-top: 5px solid #2a157e;
} */

/* Top Floating Badges */
.vi-top-badge {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #9C27B0 0%, #E91E63 100%);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
/* Badge de la segunda tarjeta */
.vi-badge-integrator {
  background: linear-gradient(135deg, #083cff 0%, #7c3aed 100%);
}

.vi-badge-visionary {
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(220, 160, 38, 0.25);
}

.vi-badge-integrator {
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(42, 21, 126, 0.25);
}

.vi-badge-icon {
  width: 32px;
  height: 32px;
}

/* Card Inner */
.vi-card-inner {
  padding: 44px 28px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
 background-color: rgba(255, 255, 255, 0.19);
    border-radius: 34px;
   box-shadow: 0 -24px 21px rgb(0 0 0 / 11%), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    backdrop-filter: none;
}

/* Card Header */
.vi-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.vi-card-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}




.vi-title-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}

/* Title Divider */
.vi-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  margin: 6px auto 0;
}

.vi-divider-line {
  flex: 1;
  height: 1.5px;
}

.vi-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 2px;
  flex-shrink: 0;
}

.vi-divider-visionary .vi-divider-line,
.vi-divider-visionary .vi-divider-dot {
  background-color: #E91E63;
}

.vi-divider-integrator .vi-divider-line,
.vi-divider-integrator .vi-divider-dot {
  background-color: #083cff;
}

/* Card Body & Stepper Flow */
.vi-card-body {
  padding: 18px 12px 28px;
  flex: 1;
}
.img-flujo{
  width: 100%;
  max-width: 600px;
}
.vi-stepper {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
  padding: 8px 10px;
}

.vi-step-item {
  display: flex;
  align-items: stretch;
  gap: 18px;
  position: relative;
  min-height: 52px;
}

.vi-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 38px;
  flex-shrink: 0;
}

.vi-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vi-step-item:hover .vi-step-circle {
  transform: scale(1.1);
}

/* Visionary Stepper Colors (Golden / Amber) */
.vi-stepper-visionary .vi-step-circle {
  background: linear-gradient(90deg, #9C27B0 0%, #E91E63 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px #E91E63;
}

.vi-stepper-visionary .vi-step-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: rgba(245, 166, 35, 0.45);
  margin: 4px 0;
  border-radius: 1px;
}

/* Integrator Stepper Colors (Purple / Indigo) */
.vi-stepper-integrator .vi-step-circle {
  background: linear-gradient(135deg, #083cff 0%, #7c3aed 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(140, 82, 255, 0.35);
}

.vi-stepper-integrator .vi-step-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: rgba(140, 82, 255, 0.45);
  margin: 4px 0;
  border-radius: 1px;
}

/* Step Content & Text */
.vi-step-content {
  padding-top: 6px;
  padding-bottom: 20px;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.vi-step-title {
  font-family: var(--font-primary);
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.1px;
  transition: color 0.2s ease;
}

.vi-step-item:hover .vi-step-title {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .vi-container-wrapper {
    padding: 20px 10px 30px;
    border-radius: 24px;
  }

  .vi-card {
    margin-top: 14px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .vi-quote {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .vi-card-footer {
    font-size: 0.84rem;
    gap: 6px;
    padding: 14px 12px;
  }
}

/* ========================================================
   ENEXPRO TECH - FLOW CONNECTOR (Neon WhatsApp API Style)
   ======================================================== */
.flow-section-col {
  position: relative;
  width: 100%;
  padding-top: 10px;
}

.flow-root-node-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  z-index: 10;
}

.flow-badge-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 18, 40, 0.92) 0%, rgba(10, 30, 60, 0.88) 100%) !important;
  border: 1.5px solid #00f0ff !important;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 22px;
  border-radius: 50px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(0, 240, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.flow-badge-glow:hover {
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.6), 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 0 18px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

.flow-badge-glow i {
  color: #00f0ff;
  font-size: 0.95rem;
  filter: drop-shadow(0 0 5px #00f0ff);
}

/* Glowing Node Dots (Connecting ports like reference image) */
.flow-node-dot {
  width: 12px;
  height: 12px;
  background-color: #00f0ff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f0ff, 0 0 20px rgba(0, 240, 255, 0.9), 0 0 30px rgba(0, 240, 255, 0.6);
  display: inline-block;
  position: relative;
  z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-root-dot {
  margin-top: -5px;
}

.flow-card-target-port {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-card-target-port .flow-node-dot {
  width: 12px;
  height: 12px;
  animation: pulsePortGlow 2s ease-in-out infinite;
}

@keyframes pulsePortGlow {
  0%, 100% {
    box-shadow: 0 0 10px #00f0ff, 0 0 20px rgba(0, 240, 255, 0.9), 0 0 30px rgba(0, 240, 255, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px #00f0ff, 0 0 28px rgba(0, 240, 255, 1), 0 0 40px rgba(0, 240, 255, 0.8);
    transform: scale(1.15);
  }
}

/* Connector SVG Container */
.flow-connector-wrapper {
  width: 100%;
  max-width: 680px;
  height: 54px;
  margin-top: -3px;
  margin-bottom: 2px;
  position: relative;
  z-index: 4;
}

.flow-branch-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.flow-connector-wrapper-mobile {
  width: 60px;
  height: 38px;
  margin: -3px auto 4px;
  position: relative;
  z-index: 4;
}

.flow-branch-svg-mobile {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Flow Dash Animation */
@keyframes flowDashMotion {
  from {
    stroke-dashoffset: 20;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.flow-line-anim {
  animation: flowDashMotion 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.85));
}

/* Mobile Inter-card flow connector */
.flow-mobile-intercard-wrap {
  margin: -6px 0 -4px;
}

.flow-mobile-intercard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 36px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* Card adjustments */
.vi-cards-row {
  margin-top: 0 !important;
}

.vi-card {
  margin-top: 10px;
}

/* =============================================
   ESTANDARIZACIÓN DE PADDING EN DESKTOP (80px)
   ============================================= */
@media (min-width: 992px) {
  .quienes-somos-section,
  .porque-participar-block,
  .como-funciona-section,
  .etapas-proceso-section,
  .conexion-global-section,
  .calendario-section,
  .sostenibilidad-section,
  .postula-section,
  .faqs-section,
  .testimonios-section,
  .cta-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}