/* Importar Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Variables de colores */
:root {
  --primary-dark: #0a0a0f;
  --secondary-dark: #12121f;
  --primary-blue: #003366;
  --accent-blue: #0066cc;
  --accent-light-blue: #00a8ff;
  --accent-cyan: #00ffff;
  --text-light: #e0e0e0;
  --text-white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  --gradient-secondary: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  --shadow-glow: 0 0 15px rgba(0, 168, 255, 0.5);
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
img{
  background-size: contain;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fondo de partículas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--primary-dark);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 168, 255, 0.2);
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  text-shadow: var(--shadow-glow);
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--accent-cyan);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Navegación */
.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav a:hover {
  color: var(--accent-cyan);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Main content */
.main-content {
  margin-top: 80px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.2), rgba(0, 10, 20, 0.8));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 168, 255, 0.1), transparent 70%);
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero .line1, .hero .line2, .hero .line3, .hero .line4, .hero .line5 {
  display: block;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.hero .line1 { color: var(--accent-cyan); }
.hero .line2 { color: var(--accent-light-blue); }
.hero .line3 { color: var(--accent-blue); }
.hero .line4 { color: var(--text-light); }
.hero .line5 { color: var(--accent-cyan); }

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-light);
}

/* Botones */
.btn-primary {
  display: inline-block;
  background: var(--gradient-secondary);
  color: var(--text-white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 168, 255, 0.4);
  color: var(--text-white);
}

.btn-calendar {
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* Secciones generales */
h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--accent-cyan);
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.content-box, .origen-text, .educacion-texto {
  background: rgba(18, 18, 31, 0.7);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(0, 168, 255, 0.2);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
}

.content-box p, .origen-text p, .educacion-texto p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.content-box strong, .origen-text strong, .educacion-texto strong {
  color: var(--accent-cyan);
}

.content-box em, .origen-text em {
  color: var(--accent-light-blue);
  font-style: italic;
}

/* Pilares tecnológicos */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tech-card {
  background: rgba(18, 18, 31, 0.7);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 255, 0.2);
  backdrop-filter: blur(10px);
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 168, 255, 0.3);
  border-color: var(--accent-cyan);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.tech-card h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-cyan);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Clientes */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.cliente {
  background: rgba(18, 18, 31, 0.7);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cliente:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

.cliente img {
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

.btn-ver-mas {
  background: var(--gradient-secondary);
  color: var(--text-white);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ver-mas:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

/* Modales */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--secondary-dark);
  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 800px;
  border-radius: 15px;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  max-height: 80vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.modal-logo {
  text-align: center;
  margin-bottom: 20px;
}

.modal-logo img {
  max-width: 150px;
  height: auto;
}

.modal h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.modal p {
  margin-bottom: 25px;
  line-height: 1.7;
}

.btn-link {
  display: inline-block;
  background: var(--gradient-secondary);
  color: var(--text-white);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 168, 255, 0.4);
  color: var(--text-white);
}

/* Sección educativa */

.fases-wrapper {
  margin-top: 50px;
}

.fases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.fase-card {
  background: rgba(18, 18, 31, 0.7);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.fase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary);
}

.fase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 168, 255, 0.3);
}

.fase-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  color: var(--text-white);
  border-radius: 50%;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.fase-card h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-cyan);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Contacto */
.contact-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.contact-note {
  margin-top: 30px;
  font-style: italic;
  color: var(--accent-light-blue);
}

/* Footer */
.footer {
  background: var(--secondary-dark);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 168, 255, 0.2);
}

.footer p {
  margin: 0;
  color: var(--text-light);
}

/* Media Queries para Responsividad */

/* Media Queries para Responsividad */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .nav.active {
    max-height: 300px;
  }
  
  .nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  .nav li {
    margin: 10px 0;
    text-align: center;
  }
  
  /* AJUSTES ESPECÍFICOS PARA EL HERO */
  .main-content {
    margin-top: 60px; /* Reducir espacio del header */
  }
  
  .hero {
    min-height: 80vh;
    padding: 30px 0;
    justify-content: center;
  }
  
  .hero .container {
    padding-top: 30px; /* Empujar contenido hacia arriba */
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .modal-content {
    width: 95%;
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 70vh;
    padding: 20px 0;
  }
  
  .hero .container {
    padding-top: 10px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .btn-primary {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .content-box, .origen-text, .educacion-texto {
    padding: 20px;
  }
  
  .tech-grid, .clientes-grid, .fases-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos específicos para enlaces externos */
.btn-primary[target="_blank"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary[target="_blank"]::after {
  content: "↗";
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.btn-primary[target="_blank"]:hover::after {
  transform: translate(2px, -2px);
}

/* Asegurar que los enlaces sean clickeables en móviles */
.btn-primary {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
}

/* Mejorar la accesibilidad táctil en móviles */
@media (max-width: 768px) {
  .btn-primary {
    min-height: 44px; /* Tamaño mínimo recomendado para botones táctiles */
    padding: 12px 24px;
  }
}


/* Estilos específicos para ARGSOFT */

/* Botón de navegación */
.btn-nav {
  background: var(--gradient-secondary);
  color: var(--text-white) !important;
  padding: 8px 20px !important;
  border-radius: 20px;
  margin-left: 10px;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Botón secundario */
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Botón grande */
.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Section subtitle */
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Target audience box */
.target-audience {
  margin-top: 50px;
  text-align: center;
}

.target-audience h3 {
  color: var(--accent-cyan);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Background dark section */
.bg-dark {
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(10px);
}

/* Product modules */
.product-module {
  margin-bottom: 80px;
}

.module-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.module-text h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-cyan);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.module-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.module-text ul {
  list-style: none;
  padding: 0;
}

.module-text li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.module-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.module-tag {
  background: rgba(0, 168, 255, 0.2);
  padding: 10px 15px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-light-blue);
  font-size: 0.9rem;
  margin-top: 20px;
}

.visual-placeholder {
  background: rgba(18, 18, 31, 0.7);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.visual-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.2);
}

.visual-icon {
  width: 60px;
  height: 60px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: rgba(18, 18, 31, 0.7);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0, 168, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 168, 255, 0.3);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent-cyan);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  color: var(--accent-cyan);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.team-role {
  color: var(--accent-light-blue);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.team-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact section */
.contact-section {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.3), rgba(0, 10, 20, 0.8));
}

/* Footer content */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent-cyan);
  margin-bottom: 15px;
  font-family: 'Orbitron', sans-serif;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .module-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-nav {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .module-text h3 {
    font-size: 1.5rem;
  }
  
  .visual-placeholder {
    height: 200px;
    padding: 30px 15px;
  }
  
  .visual-icon {
    width: 50px;
    height: 50px;
  }
}

/* Estilos para las imágenes de los módulos - ACTUALIZADO */
.visual-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 168, 255, 0.2);
  background: rgba(18, 18, 31, 0.7);
  cursor: pointer;
}

.visual-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 168, 255, 0.4);
  border-color: var(--accent-cyan);
}

.module-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  display: block;
  transition: all 0.4s ease;
  background: rgba(10, 10, 15, 0.5);
  padding: 10px;
}

.visual-container:hover .module-image {
  transform: scale(1.02);
}

/* Label debajo de la imagen */
.image-label {
  padding: 15px;
  text-align: center;
  background: rgba(18, 18, 31, 0.9);
  border-top: 1px solid rgba(0, 168, 255, 0.2);
}

.label-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.image-label span {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 5px;
}

.image-label small {
  color: var(--text-light);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Efecto de borde luminoso */
.visual-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-light-blue), var(--accent-blue));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.visual-container:hover::before {
  opacity: 1;
  animation: border-glow 2s ease-in-out infinite alternate;
}

/* Modales para imágenes ampliadas */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  backdrop-filter: blur(10px);
  padding: 20px;
  overflow: auto;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: 2% auto;
  background: var(--secondary-dark);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--accent-cyan);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--accent-cyan);
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 168, 255, 0.3);
  transform: scale(1.1);
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.modal-caption {
  padding: 20px;
  background: rgba(18, 18, 31, 0.9);
  border-top: 1px solid rgba(0, 168, 255, 0.3);
}

.modal-caption h4 {
  color: var(--accent-cyan);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.modal-caption p {
  color: var(--text-light);
  margin: 0;
}

/* Responsive para imágenes */
@media (max-width: 768px) {
  .module-image {
    height: 200px;
  }
  
  .image-label {
    padding: 12px;
  }
  
  .label-icon {
    width: 25px;
    height: 25px;
  }
  
  .image-label span {
    font-size: 0.9rem;
  }
  
  .image-label small {
    font-size: 0.75rem;
  }
  
  /* Modal en móvil */
  .modal-content {
    max-width: 95%;
    margin: 5% auto;
  }
  
  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 2rem;
    width: 40px;
    height: 40px;
  }
  
  .modal-caption {
    padding: 15px;
  }
  
  .modal-caption h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .module-image {
    height: 180px;
  }
  
  .visual-container {
    margin: 0 10px;
  }
  
  .modal-content {
    max-width: 98%;
    margin: 10% auto;
  }
}

/* Animaciones para el modal */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  animation: modalFadeIn 0.3s ease-out;
}

/* Sección de Aliados */
.aliados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.aliado-card {
  background: rgba(18, 18, 31, 0.7);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0, 168, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.aliado-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.aliado-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 168, 255, 0.3);
  border-color: var(--accent-cyan);
}

.aliado-card:hover::before {
  transform: scaleX(1);
}

.aliado-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(0, 168, 255, 0.3);
  transition: all 0.3s ease;
}

.aliado-card:hover .aliado-logo {
  border-color: var(--accent-cyan);
  transform: scale(1.05);
}

.aliado-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
}

.placeholder-logo {
  font-size: 3rem;
  color: var(--accent-cyan);
}

.aliado-card h4 {
  color: var(--accent-cyan);
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.aliado-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.aliados-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: rgba(18, 18, 31, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(0, 168, 255, 0.2);
}

.aliados-cta p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Efectos de partículas para las tarjetas */
.aliado-card {
  position: relative;
}

.aliado-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-light-blue), var(--accent-blue));
  border-radius: 17px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aliado-card:hover::after {
  opacity: 0.3;
  animation: card-glow 2s ease-in-out infinite alternate;
}

@keyframes card-glow {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.4;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .aliados-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .aliado-card {
    padding: 25px 15px;
  }
  
  .aliado-logo {
    width: 100px;
    height: 100px;
  }
  
  .placeholder-logo {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .aliados-grid {
    grid-template-columns: 1fr;
  }
  
  .aliado-card {
    padding: 20px 15px;
  }
  
  .aliados-cta {
    padding: 20px;
  }
}