@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 4rem;
  color: var(--primary-color);
}
@media (max-width: 1500px) {
  h1 {
    font-size: 3rem;
  }
  
}

/* Encabezado */
.header {
  background: var(--fondoNav);
  color: var(--text-color);
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 995;
  height: 50px;
}

.nav-button {
  color: var(--parrafo);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.nav-button:hover {
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-button.pulse {
  color: var(--naranja-color);
  border-bottom: 2px solid var(--naranja-color);
}



@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.nav-button-inicio {
  background-color: var(--orange);
  color: var(--light-text);
  border: none;
  padding: 0rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 40px;
  border-radius: 20px;

}


.container {
  padding: 10vh;
  display: flex;
  background: linear-gradient(180deg, #f8f4f0 0%, #f5f7fb 100%);
}

.container>* {
  flex: 1;
}

#ecosistema {
  position: relative;
  width: min(48vw, 600px);
  min-width: 320px;
  margin-left: 2vw;
  margin-top: 1rem;
  background: linear-gradient(180deg, #f8f4f0 0%, #f5f7fb 100%);
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  padding: 18px 18px 22px;
}

.ecosistema-svg {
  width: 100%;
  height: auto;
  display: block;
}

.eco-node {
  cursor: pointer;
  pointer-events: all;
}

.eco-node text {
  pointer-events: none;
}

.eco-node circle {
  transition: stroke-width 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  transform-origin: center;
  transform-box: fill-box;
}

.eco-node.is-active circle {
  stroke-width: 3;
  filter: url(#glow);
  transform: scale(1.03);
}

.eco-point {
  animation: eco-pulse 2.8s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
  filter: url(#glow);
}

.eco-trail {
  opacity: 0.9;
  filter: url(#glow);
}

.eco-line {
  transition: stroke 0.25s ease, stroke-width 0.25s ease, opacity 0.25s ease;
}

.ecosistema-svg.eco-active-investigacion .eco-line,
.ecosistema-svg.eco-active-competitividad .eco-line,
.ecosistema-svg.eco-active-sector-publico .eco-line,
.ecosistema-svg.eco-active-sociedad .eco-line,
.ecosistema-svg.eco-active-ambiental .eco-line {
  opacity: 0.18;
}

.ecosistema-svg.eco-active-investigacion .line-in,
.ecosistema-svg.eco-active-competitividad .line-co,
.ecosistema-svg.eco-active-sector-publico .line-se,
.ecosistema-svg.eco-active-sociedad .line-so,
.ecosistema-svg.eco-active-ambiental .line-am {
  opacity: 0.9;
  stroke: #f29a32;
  stroke-width: 2.2;
}

.eco-delay-1 {
  animation-delay: 0s;
}

.eco-delay-2 {
  animation-delay: 0.8s;
}

.eco-delay-3 {
  animation-delay: 1.6s;
}

.eco-delay-4 {
  animation-delay: 2.4s;
}

@keyframes eco-pulse {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.6);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

.eco-panel {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 240px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 26px rgba(15, 23, 42, 0.15);
  font-size: 12px;
  color: #4b5a78;
}

.eco-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.eco-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 6px;
}

.eco-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2c4a82;
}

.eco-dot.am {
  background: #2e9150;
}

.eco-dot.co {
  background: #f29a32;
}

.eco-dot.so {
  background: #d9781d;
}

.eco-dot.se {
  background: #223258;
}

.eco-panel p {
  margin: 0 0 10px;
  line-height: 1.45;
}

.eco-panel a {
  color: #f29a32;
  text-decoration: none;
  font-weight: 600;
}

.eco-panel a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  #ecosistema {
    width: 100%;
    margin: 24px 0 0;
  }

  .eco-panel {
    position: static;
    width: calc(100% - 32px);
    margin: 16px;
  }
}

.intro-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 5%;
  padding: 2rem;
  color: var(--primary-color);
}


.button1 {
  background: var(--orange);
  color: var(--light-text);
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.button1:hover {
  background: rgba(var(--accent2));
}

.button2 {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(var(--primary2));
  border-radius: 20px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;

}

.button2:hover {
  background: var(--primary);
  color: var(--light-text);
}

.button3{
 background: var(--primary);
  color: var(--light-text);
  border: 2px solid rgba(var(--primary2));
  border-radius: 20px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}
.button3:hover {
  background: var(--light-text);
  color: var(--primary);
}
/* Features Section */
.features-section {
  padding: 4rem 2rem;
  background: var(--primary-foreground);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.feature-card p {
  color: var(--parrafo);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 1200px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 2rem 1rem;
  }


}


.logos-slider {
  width: 100%;
  background: var(--background);
  overflow: hidden;
  padding: 2rem 0;
}

.logos-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 3rem;
  width: max-content;
}

.logos-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 3rem;
  width: max-content;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.logo-slide {
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: none;
  gap: 0.5rem;
}

.logo-slide img {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(10%);
  transition: filter 0.3s ease;
}

.logo-name {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-align: center;
  margin: 0;
}

.logo-slide:hover img {
  filter: grayscale(0%);
}

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

  100% {
    transform: translateX(-50%);
  }
}

.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

/* Stats Section */
.stats-container {
  padding: 4rem 2rem;
  background: var(--primary-foreground);
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stats-header h2 {
  font-size: 2.5rem;
  color: var(--text-description);
  margin: 0.5rem 0;
}

.stats-link {
  display: inline-block;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.stats-link:hover {
  text-decoration: underline;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.stat-icon {
  font-size: 2rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-description);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--parrafo);
  margin-top: 0.5rem;
}

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

@media (max-width: 768px) {
  .stats-container {
    padding: 2rem 1rem;
  }

  .stats-header h2 {
    font-size: 1.8rem;
  }


}

  .mission-section {
    background: linear-gradient(135deg, #0f1e3a 0%, #1a2f4a 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    margin: -8px;
  }

  .mission-section::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,10 600,50 T1200,50 L1200,0 L0,0 Z" fill="white" /></svg>');
    background-repeat: repeat-x;
    background-size: 600px 60px;
  }

  @keyframes wave {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(600px);
    }
  }

        .mission-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255, 165, 53, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .mission-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .mission-content {
            color: white;
        }

        .mission-label {
            display: inline-block;
            color: #ffa535;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
       
           
        }

        .mission-title {
            font-size: 48px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
            margin-top: 20px;
        }

        .mission-title .highlight {
            color: #ffa535;
        }

        .mission-description {
            font-size: 16px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 30px;
        }

        .mission-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: white;
            color: #0f1e3a;
            border: none;
            padding: 12px 28px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mission-button:hover {
            background: #ffa535;
            transform: translateX(5px);
        }

        .button-icon {
            font-size: 12px;
        }

        .mission-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .stat-box {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 16px;
            text-align: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

     
        .stat-value {
            font-size: 40px;
            font-weight: 800;
            color: #ffa535;
            margin-bottom: 10px;
        }

        .stat-value .plus,
        .stat-value .percent {
            font-size: 24px;
        }

        .stat-text {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.75);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .mission-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .mission-title {
                font-size: 32px;
            }

            .mission-stats {
                grid-template-columns: 1fr;
            }
        }


             .funcionalidades-section {
            padding: 80px 20px;
            background: #ffffff;
        }
        
        .funcionalidades-header {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .funcionalidades-badge {
            display: inline-block;
            background: #ffe4bc;
            color: var(--accent, #f1a83a);
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 15px;
            border: 2px solid #f1a83a;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .funcionalidades-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1a2332;
            margin-bottom: 10px;
        }
        
        .funcionalidades-subtitle {
            font-size: 1rem;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .funcionalidades-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .funcionalidad-card {
            background: #f8f9fa;
            border: 2px solid #e5e7eb;
            border-radius: 16px;
            padding: 40px 30px;
            text-align: left;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .funcionalidad-card:hover {
            border-color: var(--accent, #f1a83a);
            box-shadow: 0 12px 32px rgba(241, 168, 58, 0.15);
            transform: translateY(-6px);
        }
        
        .funcionalidad-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ffe4bc 0%, #ffd99d 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: var(--accent, #f1a83a);
            margin-bottom: 20px;
            transition: transform 0.3s ease;
        }
        
        .funcionalidad-card:nth-child(2) .funcionalidad-icon,
        .funcionalidad-card:nth-child(5) .funcionalidad-icon {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            color: #1e40af;
        }
        
        .funcionalidad-card:hover .funcionalidad-icon {
            transform: scale(1.1);
        }
        
        .funcionalidad-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #1a2332;
            margin-bottom: 12px;
            margin-top: 0;
        }
        
        .funcionalidad-card p {
            font-size: 0.95rem;
            color: #6b7280;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .funcionalidad-link {
            color: var(--accent, #f1a83a);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.3s ease;
        }
        
        .funcionalidad-link:hover {
            gap: 12px;
        }
        
        @media (max-width: 768px) {
            .funcionalidades-section {
                padding: 60px 20px;
            }
            
            .funcionalidades-header h2 {
                font-size: 2rem;
            }
            
            .funcionalidades-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }


        /* Right panel - Auth forms */
.auth-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: white;
}

.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-header {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    flex-direction: column;
    align-items: center;
}

.auth-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: #6b7280;
}

/* Tabs */
.tabs {
  width: 100%;
}

.modal {
  display: none;
  /* oculto por defecto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  margin-top: 10vh;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modalCrearusuario {
  display: none;
  position: fixed;
  z-index: 9999;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}


/* Tabs */
.tabs {
  width: 100%;
}

.tab-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
  border-radius: 0.375rem;
  padding: 0.25rem;
}

.tab-trigger {
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s;
}

.tab-trigger.active {
  background-color: var(--primary);
  color:var(--light-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-pane {
  display: none;
}

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




/* Form Group Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;

  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 154, 50, 0.1);
}

.password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.forgot-password {
  display: block;
  text-align: center;
    cursor: pointer;

  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: text-decoration 0.2s;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Button Styles */
.btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

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

.btn-cancelar {
  background-color: var(--muted-foreground);
  color: var(--light-text);
}

.btn-cancelar:hover {
  background-color: var(--muted-foreground-hover);
}

.error {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.escondido {
  display: none !important;
}



.footer {
  padding: 5rem 12% 1.5rem;
  position: relative;
  margin-top: 20px;
  background-color: var(--primary-foreground);
  color: var(--parrafo);
  justify-content: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.footer-social{
display: flex;
flex-direction: column;
align-items: center;
}

/* Logo */
.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-logoCPC {
  height: 80px;
  margin-bottom: 1rem;

  padding: 5px;
  border-radius: 20PX;
}

.footer-desc {
  max-width: 250px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Títulos */
.footer-links h4,
.footer-social h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

/* Grid de enlaces */
.links-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem 1.5rem;
}

.footer-links a {
  color: var(--parrafo);
  opacity: 0.8;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* Redes sociales */
.social-icons {
  display: flex;
  gap: 0.9rem;

}

.social-icons a {
  font-size: 1.4rem;
  padding: 8px;
  border-radius: 10%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  opacity: 0.85;
  color: var(--parrafo);
}

.social-icons a:hover {
  transform: scale(1.15);
  background: rgba(20, 20, 20, 0.9);
  color: var(--light-text);

}

/* Contacto */
.footer-contact p {
  margin: 0.2rem 0;
  opacity: 0.85;
  font-size: 0.9rem;
}
.footer-bottom{
  display: flex;
  flex-direction: column;
    /* align-content: center; */
    align-items: center;

}



        .ecosistemas-section {
            padding: 60px 20px;
            background: #f8f9fa;
        }

        .ecosistemas-header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .ecosistemas-badge {
            display: inline-block;
            background: #ffe4bc;
            color: var(--accent, #f1a83a);
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 15px;
            border: 2px solid #f1a83a;
        }

        .ecosistemas-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1a2332;
            margin-bottom: 15px;
        }

        .ecosistemas-link {
            color: var(--accent, #f1a83a);
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .ecosistemas-link:hover {
            gap: 8px;
        }

        .ecosistemas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .ecosistema-card {
            background: white;
            border-radius: 16px;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            /* cursor: pointer; */
            border: 2px solid transparent;
        }

        /* .ecosistema-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
            border-color: var(--accent, #f1a83a);
        } */

        .ecosistema-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: var(--muted-foreground);
            transition: transform 0.3s ease;
        }

        .ecosistema-card:hover .ecosistema-icon {
            transform: scale(1.1);
        }

        .ecosistema-icon.investigacion {
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        }

        .ecosistema-icon.academia {
            background: linear-gradient(135deg, #1a4d4d 0%, #20b2aa 100%);
        }

        .ecosistema-icon.sociedad {
            background: linear-gradient(135deg, #f1a83a 0%, #ffa500 100%);
        }

        .ecosistema-icon.sector {
            background: linear-gradient(135deg, #1e4d5a 0%, #2c5f7a 100%);
        }

        .ecosistema-icon.competitividad {
            background: linear-gradient(135deg, #f1a83a 0%, #ff7b42 100%);
        }

        .ecosistema-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: #1a2332;
            margin-bottom: 8px;
        }

        .ecosistema-count {
            font-size: 13px;
            color: #6b7280;
            margin: 0;}
        /* Estilos para el dropdown */
        .nav-dropdown {
          position: relative;
          display: inline-block;
        }

        .nav-dropdown .nav-button {
          display: flex;
          align-items: center;
          gap: 8px;
          cursor: pointer;
        }

        .nav-dropdown .nav-button i {
          transition: transform 0.3s ease;
          font-size: 12px;
        }

        .dropdown-menu {
          position: absolute;
          top: 100%;
          left: 0;
          background: white;
          border-radius: 12px;
          box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
          min-width: 280px;
          padding: 12px 0;
          opacity: 0;
          visibility: hidden;
          transform: translateY(-10px);
          transition: all 0.3s ease;
          z-index: 1000;
          margin-top: 12px;
          border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .nav-dropdown:hover .dropdown-menu {
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
        }

        .nav-dropdown:hover .nav-button i {
          transform: rotate(180deg);
        }

        .dropdown-menu a {
          display: block;
          padding: 14px 20px;
          color: var(--text-color, #333);
          text-decoration: none;
          font-size: 14px;
          transition: all 0.2s ease;
          border-left: 3px solid transparent;
        }

        .dropdown-menu a:hover {
          background-color: #f8f9fa;
          border-left-color: var(--orange, #f29a32);
          padding-left: 24px;
        }

        .dropdown-menu a:first-child {
          border-radius: 12px 12px 0 0;
        }

        .dropdown-menu a:last-child {
          border-radius: 0 0 12px 12px;
        }

        .dropdown-title {
          display: block;
          font-weight: 600;
          color: var(--primary-color, #1a2332);
          margin-bottom: 4px;
        }

        .dropdown-subtitle {
          display: block;
          font-size: 12px;
          color: var(--parrafo, #6b7280);
          font-weight: 400;
        }

        /* Pilares Section */
        .pilares-section {
          padding: 80px 20px;
          background: #ffffff;
        }

        .pilares-header {
          text-align: center;
          margin-bottom: 60px;
        }

        .pilares-header h2 {
          font-size: 2.5rem;
          font-weight: 700;
          color: #1a2332;
          margin: 0;
        }

        .pilares-container {
         display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 20px;
        }

        .pilar-group {
          margin-bottom: 60px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
        }

        .pilar-group-title {
          font-size: 1rem;
          font-weight: 700;
          color: #1a2332;
          letter-spacing: 0.5px;
          margin-bottom: 30px;
          padding-bottom: 15px;
          border-bottom: 2px solid #f1a83a;
          text-transform: uppercase;
        }

        .pilares-grid {
          display: grid;
          grid-template-columns: 1fr;
          gap: 20px;
        }

        .pilar-card {
          display: flex;
          border-radius: 16px;
          padding: 15px 10px;
          text-align: center;
          transition: all 0.3s ease;
          cursor: pointer;
        }
        .pilar-info{
display: flex;flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;


        }

        .pilar-card:hover {
          background-color: #cdd2dd;
        }

        .pilar-icon {
          color: var(--muted-foreground-hover);
          border-radius: 12px;
          display: flex;
          margin-right: 10px;
         align-items: flex-start;
    justify-content: flex-start;

          font-size: 32px;
          transition: transform 0.3s ease;
        }

        .pilar-card:hover .pilar-icon {
          transform: scale(1.1);
        }

        .pilar-label {
          font-size: 0.85rem;
          font-weight: 600;
          color: var(--orange, #f1a83a);
          text-transform: uppercase;
          margin-bottom: 8px;
          letter-spacing: 0.5px;
        }

        .pilar-card h4 {
          font-size: 1.1rem;
          font-weight: 700;
          color: #1a2332;
          margin: 0;
        }

        @media (max-width: 768px) {
          .pilares-section {
            padding: 60px 20px;
          }

          .pilares-header h2 {
            font-size: 2rem;
          }

          .pilares-grid {
            grid-template-columns: 1fr;
            gap: 15px;
          }

          .pilar-card {
            padding: 20px 15px;
          }

        
          .pilares-container{
grid-template-columns: 1fr  1fr        }
        }


        .unir-container{
            max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    justify-items: center;}

    .active {
    color: #ff8c42;
    font-weight: 600;
}

.nav-button.active {
  color: var(--naranja-color);
  border-bottom: 2px solid var(--naranja-color);
}

.nav-dropdown.active-parent > .nav-button {
    color: #ff8c42 !important;
}

.dropdown-menu a.active .dropdown-title{
    color: #ff8c42;
    font-weight: 600;
}


.step-button {
  background: hsl(var(--muted));
  color: var(--popover-foreground);
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  font-size: 15px;
  transition: 0.3s;
}


.step-button.active {
  background: var(--primary);
  color: var(--light-text);
  font-weight: 600;
} 






.tarjeta-activa {
    border-color: #2563eb !important;
    /* Azul intenso */
    background-color: #f8fafc !important;
    /* Azul muy clarito */
    box-shadow: 0 0 0 1px #2563eb;
    /* Refuerza el borde */
}