/* XHability - Diseño Ultra Moderno 2024 */

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;700;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  /* Paleta de colores principal */
  --primary: #0f3460;
  --secondary: #00b4d8;
  --accent: #4ccb6e;
  --success: #06d6a0;
  --dark: #1a1a2e;
  --light: #ffffff;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #0f3460 0%, #1e5f9e 100%);
  --gradient-secondary: linear-gradient(135deg, #00b4d8 0%, #90e0ef 100%);
  --gradient-accent: linear-gradient(135deg, #4ccb6e 0%, #65e686 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.14);
  --shadow-inset: inset 2px 2px 5px rgba(0,0,0,0.05), inset -2px -2px 5px rgba(255,255,255,0.3);
  
  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* Estilos base */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background-color: #f8faff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.container-fluid {
  padding: 0 50px;
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 0 20px;
  }
}

/* Header ultramoderno */
#header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#header.header-transparent {
  background: rgba(255, 255, 255, 0);
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.logo img {
  max-height: 50px;
  transition: all 0.3s ease;
}

/* Navegación moderna */
.nav-modern {
  display: flex;
  gap: 2rem;
}

.nav-modern-link {
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-modern-link:hover {
  color: var(--accent);
}

.nav-modern-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-modern-link:hover::after {
  width: 100%;
}

/* Hero section asimétrica */
.hero-asymmetric {
  height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  overflow: hidden;
}

.hero-content {
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #546e87;
  margin-bottom: 3rem;
  max-width: 90%;
}

/* Botones modernos */
.btn-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.btn-primary-modern {
  background: var(--gradient-primary);
  color: var(--light);
}

.btn-secondary-modern {
  background: var(--gradient-secondary);
  color: var(--dark);
}

.btn-accent-modern {
  background: var(--gradient-accent);
  color: var(--light);
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: all 0.5s ease;
  transform: skewX(-20deg);
}

.btn-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.btn-modern:hover::before {
  left: 200%;
}

/* Tarjetas Neumórficas para cursos */
.card-neomorphic {
  position: relative;
  background: #f0f4f8;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
  transition: box-shadow 0.4s ease;
  overflow: hidden;
  margin-bottom: 30px;
}

.card-neomorphic:hover {
  box-shadow: 10px 10px 20px #d1d9e6, -10px -10px 20px #ffffff;
  transform: none;
}

.card-neomorphic-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.card-neomorphic-image img {
  width: 100%;
  height: auto;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-neomorphic:hover .card-neomorphic-image img {
  transform: scale(1.1);
}

.card-neomorphic-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.card-neomorphic-category {
  display: inline-block;
  padding: 5px 15px;
  background: var(--gradient-secondary);
  color: var(--dark);
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 15px;
}

/* Efecto glassmorphism para secciones */
.glass-section {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

/* Tabs modernas */
.tabs-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-modern {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.tab-modern.active,
.tab-modern:hover {
  background: var(--gradient-primary);
  color: var(--light);
  box-shadow: var(--shadow-md);
}

/* Contadores animados */
.counter-modern {
  position: relative;
  text-align: center;
  padding: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #f0f4f8, #ffffff);
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
}

.counter-modern-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  font-size: 2rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--light);
  box-shadow: var(--shadow-md);
}

.counter-modern-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-modern-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #546e87;
}

/* Secciones curvas */
.curved-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.curve-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f8faff'/%3E%3C/svg%3E");
  background-size: cover;
  transform: rotateX(180deg);
  z-index: 1;
}

.curve-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f8faff'/%3E%3C/svg%3E");
  background-size: cover;
  z-index: 1;
}

/* Acordeón moderno */
.accordion-modern {
  margin-bottom: 30px;
}

.accordion-modern-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-modern-item.active {
  box-shadow: var(--shadow-md);
}

.accordion-modern-header {
  position: relative;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.accordion-modern-item.active .accordion-modern-header {
  border-left-color: var(--accent);
  background: var(--primary);
}

.accordion-modern-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.accordion-modern-item.active .accordion-modern-title {
  color: white !important;
}

.accordion-modern-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.accordion-modern-item.active .accordion-modern-icon {
  color: white !important;
}

.accordion-modern-icon::before,
.accordion-modern-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: all 0.3s ease;
}

.accordion-modern-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-modern-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

.accordion-modern-item.active .accordion-modern-icon::after {
  opacity: 0;
}

.accordion-modern-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8faff;
  opacity: 0;
  visibility: hidden;
}

.accordion-modern-item.active .accordion-modern-content {
  max-height: 500px;
  padding: 20px 30px;
  opacity: 1;
  visibility: visible;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* WhatsApp flotante moderno */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--light);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  color: var(--light) !important;
}

.float-whatsapp i {
  font-size: 30px;
}

/* Navegación flotante lateral */
.floating-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
  backdrop-filter: blur(10px);
  padding: 20px 10px;
  border-radius: var(--radius-full);
  background: var(--gradient-glass);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-nav-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.floating-nav-item:hover,
.floating-nav-item.active {
  background: var(--accent);
  transform: scale(1.3);
}

.floating-nav-tooltip {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  background: var(--dark);
  color: var(--light);
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-nav-item:hover .floating-nav-tooltip {
  opacity: 1;
  visibility: visible;
  right: 40px;
}

/* Galería inmersiva */
.immersive-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg) scale(1.05);
  z-index: 10;
}

.gallery-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item-image {
  transform: translateZ(20px);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: var(--light);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(10px);
}

.gallery-item:hover .gallery-item-overlay {
  padding-bottom: 40px;
}

.gallery-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--light);
}

.gallery-item-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--light);
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item-category {
  opacity: 1;
  transform: translateY(0);
}

/* Media queries */
@media (max-width: 992px) {
  .hero-asymmetric {
    grid-template-columns: 1fr;
    height: auto;
    padding-top: 100px;
    grid-template-rows: auto;
    padding-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content {
    text-align: center;
    padding: 20px 0 10px;
    grid-row: 1;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    float: none;
  }
  
  .hero-title {
    font-size: 3rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  
  .hero-subtitle {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }
  
  .hero-content .d-flex {
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
    display: flex;
  }
  
  .hero-visual {
    min-height: auto;
    padding: 20px 0 30px;
    clip-path: none;
    grid-row: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
    float: none;
  }
  
  .video-container {
    width: 90%;
    margin: 0 auto;
    max-width: 500px;
    display: flex;
    justify-content: center;
  }
  
  h2 {
    font-size: 2.5rem !important;
    text-align: center;
  }
  
  .btn-modern {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .floating-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  
  .counter-modern {
    margin-bottom: 30px;
  }
  
  /* Ajustes adicionales para botones en móviles */
  .hero-content .d-flex {
    flex-wrap: wrap;
    gap: 10px !important;
    justify-content: center;
  }
  
  .btn-modern {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .hero-visual {
    padding: 10px 15px 30px;
    text-align: center;
  }
}

/* Ajustes para dispositivos muy pequeños */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    width: 100%;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
  }
  
  .btn-modern {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  
  .hero-content, .hero-visual {
    padding-left: 0;
    padding-right: 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  
  /* Ajuste específico para forzar el centrado del contenido */
  .hero-asymmetric {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* Espacio vertical reducido entre elementos */
  .hero-title {
    margin-bottom: 0.7rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: 2rem !important;
  }
  
  .hero-visual {
    padding: 5px 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .video-container {
    width: 100%;
    margin: 0 auto;
  }
  
  /* Ajustes específicos para los botones en hero */
  .hero-content .d-flex {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 8px !important;
  }
  
  .hero-content .btn-modern {
    width: 200px;
    margin: 0 auto;
    text-align: center;
    display: block;
  }
}

/* Animaciones */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

/* Partículas de fondo */
.particles-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes particleAnimation {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-1000px) rotate(720deg); }
}

/* Sección de contacto moderna */
.contact-modern {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.contact-form-container {
  padding: 40px;
}

.contact-form-input {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 20px;
  background: #f0f4f8;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-inset);
}

.contact-form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--secondary);
}

.contact-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-image-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.contact-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer moderno */
.footer-modern {
  background: var(--gradient-dark);
  color: var(--light);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-modern p {
  color: white !important;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-heading {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: white !important;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

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

.footer-links li {
  margin-bottom: 12px;
  color: white !important;
}

.footer-links a {
  color: white !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--light);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  background: var(--accent);
  transform: translateY(-5px);
  color: var(--light) !important;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: white !important;
}

.footer-bottom p, .footer-bottom a {
  color: white !important;
}

/* Sección de Impacto */
.impact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.impact-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 0 auto 30px;
    border-radius: var(--radius-full);
}

.impact-stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.impact-stat-card {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.impact-stat-card.accent {
    background: linear-gradient(135deg, #f5f7fa 0%, #ebf1f8 100%);
}

.impact-stat-card.secondary {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
}

.stat-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-stat-card.accent .stat-number {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-stat-card.secondary .stat-number {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    opacity: 0.8;
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    opacity: 0.2;
    z-index: 1;
    transition: all 0.4s ease;
}

.impact-stat-card:hover .stat-icon {
    transform: scale(1.2);
    opacity: 0.3;
}

.stat-bg-shape {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s ease;
}

.impact-stat-card.accent .stat-bg-shape {
    background: var(--secondary);
}

.impact-stat-card.secondary .stat-bg-shape {
    background: var(--accent);
}

.impact-stat-card:hover .stat-bg-shape {
    transform: scale(1.2);
}

/* Añadir estilos específicos para odometer */
.odometer {
    font-size: inherit;
    font-family: inherit;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}

@media (max-width: 992px) {
    .impact-stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .impact-stat-card {
        width: 100%;
        max-width: 400px;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .impact-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Estilos para los logos de clientes */
.client-logo-link {
  display: block;
  text-align: center;
  transition: all 0.3s ease;
}

.client-logo-img {
  max-height: 100px;
  max-width: 90%;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.5s ease;
}

.client-logo-link:hover .client-logo-img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* Para asegurar que la sección se vea bien en móviles */
@media (max-width: 576px) {
  .client-logo-img {
    max-height: 80px;
  }
}

/* El media query para la vista móvil del hero ya está aplicado arriba */

/* Ajusta el diseño en modo móvil para que el video aparezca debajo del texto */
@media (max-width: 991px) {
    .hero-asymmetric {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .hero-content {
        text-align: center;
        padding: 40px 20px;
        grid-row: 1;
    }
    .hero-visual {
        min-height: 400px;
        padding: 30px 0;
        clip-path: none;
        grid-row: 2;
    }
    .video-container {
        width: 95%;
    }
}

/* Estilos para el slider principal - Incorporados del archivo en la raíz */
/* Nuevo slider simplificado y funcional */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 5px solid #00c2cb;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Botones de navegación */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots de navegación */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #00c2cb;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 50vh;
    }
}

/* Estilos adicionales para el video-container e iframe */
.video-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  z-index: 5;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .video-container {
    width: 90%;
    margin: 0 auto;
    max-width: 500px;
    display: block;
  }
  
  /* Resto del código... */
}

@media (max-width: 480px) {
  .video-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
  }
  
  /* Resto del código... */
} 