/* --- VARIABLES DE COLOR Y TEXTO --- */
:root {
  --color-text-main: #232837;
  --color-title: #217dbb;
  --color-title-glow: #b3d8fd44;
  --color-title-dark: #7ed6fc;
  --color-title-dark-glow: #4fc3f7;
  --color-bg-dark: #232837;
  --color-bg-darker: #181e2a;
  --color-shadow-dark: #10121a;
  --color-shadow-blue: #22304a;
  --color-shadow-glow: #7ed6fc88;
  --color-shadow-glow-dark: #4fc3f7;
  --color-link-dark: #7ed6fc;
  --color-link-light: #4a90e2;
}
html, body {
  color: var(--color-text-main);
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.card h2 {
  font-size: 2rem;
  color: var(--color-title);
  margin-bottom: 0.7rem;
  display: block;
  transition: color 0.3s, text-shadow 0.3s;
  text-shadow: 0 2px 8px var(--color-title-glow), 0 0 8px #fff8;
  position: relative;
  z-index: 2;
}
.card h2:hover {
  color: #217dbb;
  text-shadow: 0 4px 16px var(--color-shadow-glow), 0 2px 8px #e3e6ec;
}
.about h2 {
  position: relative;
  z-index: 1;
  color: var(--color-title);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px var(--color-title-glow), 0 0 8px #e3f2fd44;
}

/* --- BOTÓN MODO OSCURO EN TOPBAR --- */
.darkmode-topbar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(179, 216, 253, 0.15));
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
.darkmode-topbar:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(126, 214, 252, 0.25));
  border-color: rgba(126, 214, 252, 0.6);
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 214, 252, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}
.darkmode-topbar:active {
  transform: scale(0.95);
}
.darkmode-topbar:focus {
  outline: 2px solid #4fc3f7;
  outline-offset: 3px;
}
.darkmode-icon-topbar {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #e3f2fd 50%, #bbdefb 100%);
  box-shadow: 0 2px 8px rgba(100, 181, 246, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.darkmode-icon-topbar::before {
  content: '🌙';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.dark-mode .darkmode-icon-topbar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 2px 8px rgba(126, 214, 252, 0.5), inset 0 2px 4px rgba(126, 214, 252, 0.2), 0 0 12px rgba(255, 193, 7, 0.3);
  transform: rotate(180deg) scale(1.1);
}
.dark-mode .darkmode-icon-topbar::before {
  content: '☀️';
  filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.8));
}
/* --- ENFOQUE VISUAL ACCESIBLE (FOCUS) --- */
button:focus, .cta-btn:focus, a:focus, input:focus, textarea:focus, select:focus {
  outline: 2.5px solid #4fc3f7;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #b3d8fd44;
  transition: outline 0.2s, box-shadow 0.2s;
  z-index: 10;
}

/* --- SPINNER ANIMACIÓN ENVÍO FORMULARIO --- */
.form-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid #b3d8fd44;
  border-top: 3px solid #4fc3f7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 0.5rem;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- MODO OSCURO OPCIONAL (NO ACTIVADO POR DEFECTO) --- */

/* --- MODO OSCURO MEJORADO --- */
.dark-mode {
  background: var(--color-bg-darker) !important;
  color: #e3e6ec !important;
}

/* Forzar fondo oscuro en body y html */
.dark-mode,
.dark-mode html,
.dark-mode body,
body.dark-mode,
html.dark-mode body {
  background: #181e2a !important;
  color: #e3e6ec !important;
}

/* Layout y contenedores principales */
.dark-mode .layout,
.dark-mode #app,
.dark-mode .container {
  background: transparent !important;
}
.dark-mode .main-content,
.dark-mode .card,
.dark-mode .about,
.dark-mode .faq,
.dark-mode .contact,
.dark-mode .glass,
.dark-mode .footer-full {
  background: var(--color-bg-dark) !important;
  color: #e3e6ec !important;
  box-shadow: 0 2px 12px var(--color-shadow-dark), 0 0 8px var(--color-shadow-blue);
  border-color: var(--color-shadow-blue) !important;
}

/* Cards en modo oscuro - estilo idéntico a .about */
.dark-mode .services .card,
.dark-mode .services .card.glass,
.dark-mode .services .card.neumorph {
  background: var(--color-bg-dark) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(34, 48, 74, 0.2), 
              0 0 0 1px rgba(255,255,255,0.05) inset, 
              0 0 24px rgba(126, 214, 252, 0.03) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

.dark-mode .services .card:hover,
.dark-mode .services .card.glass:hover,
.dark-mode .services .card.neumorph:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              0 4px 12px rgba(34, 48, 74, 0.3), 
              0 0 0 1px rgba(255,255,255,0.08) inset, 
              0 0 32px rgba(126, 214, 252, 0.05) inset !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.dark-mode .card h2,
.dark-mode .about h2,
.dark-mode .faq h2,
.dark-mode .contact h2 {
  color: var(--color-title-dark) !important;
  text-shadow: 0 2px 8px var(--color-title-dark-glow), 0 0 8px var(--color-title-dark);
}
.dark-mode .card h2:hover {
  color: #fff !important;
  text-shadow: 0 4px 16px var(--color-title-dark), 0 2px 8px var(--color-title-dark-glow);
}
.dark-mode .about p,
.dark-mode .faq-list p,
.dark-mode .card p,
.dark-mode .contact-info,
.dark-mode .courses .course,
.dark-mode main li {
  color: #e3e6ec !important;
  text-shadow: none !important;
}
.dark-mode .faq-list details[open] {
  background: var(--color-bg-darker) !important;
  box-shadow: 0 2px 8px var(--color-shadow-blue);
}
/* --- JUSTIFICAR TEXTOS --- */
.main-content p,
.card p,
.about p,
.faq-list p,
.contact-info,
.courses .course,
main li {
  text-align: justify;
  text-justify: inter-word;
}
@media (max-width: 700px) {
  html, body {
    font-size: 15px;
  }
  .main-content {
    margin-top: 110px;
    padding: 0 0.2rem;
  }
  main {
    padding: 0.7rem 0.2rem;
    gap: 1.1rem;
    max-width: 100vw;
  }
  .card, .about, .contact, .faq {
    border-radius: 12px;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    min-width: 0;
  }
  .faq-list details {
    padding: 0.5rem 0.5rem;
    font-size: 0.98rem;
  }
  .contact-form {
    max-width: 98vw;
    padding: 0 0.2rem;
  }
  .contact-form input, .contact-form textarea {
    font-size: 1rem;
    padding: 0.6rem 0.7rem;
  }
  .cta-section h2 {
    font-size: 1.2rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.7rem 1.1rem;
  }
  .footer-full {
    padding: 1.2rem 0 0.7rem 0;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .footer-links {
    gap: 0.7rem;
    font-size: 0.98rem;
  }
  .footer-brand {
    font-size: 1rem;
  }
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 0.4rem;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}
/* --- FAQ --- */
.faq {
  margin-bottom: 2.5rem;
}
.faq-list details {
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px #b3d8fd22;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: box-shadow 0.3s, background 0.3s;
}
.faq-list details[open] {
  background: #fafdff;
  box-shadow: 0 4px 16px #b3d8fd33;
}
.faq-list summary {
  font-weight: 700;
  color: #3a5a7a;
  font-size: 1.08rem;
  outline: none;
}
.faq-list p {
  color: #232837;
  margin: 0.7rem 0 0 0;
  font-size: 1rem;
}

/* --- FORMULARIO DE CONTACTO MEJORADO --- */
.contact-form {
  max-width: 420px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1.5px solid #b3d8fd44;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fafdff;
  color: #232837;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4fc3f7;
  box-shadow: 0 0 0 2px #b3d8fd44;
}
.form-error {
  color: #e74c3c;
  font-size: 0.93rem;
  min-height: 1.1em;
}
.form-success {
  color: #27ae60;
  font-size: 1.05rem;
  margin-top: 0.7rem;
  min-height: 1.1em;
}

/* --- BOTONES DE CONTACTO MEJORADOS --- */
.contact-buttons-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-btn {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-btn:hover svg {
  transform: scale(1.1) rotate(5deg);
}

.contact-btn span {
  font-family: 'Montserrat', sans-serif;
}

/* Botón WhatsApp */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e, #075e54);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Botón Email */
.btn-email {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.btn-email:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.btn-email:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive para botones */
@media (max-width: 600px) {
  .contact-buttons-container {
    flex-direction: column;
  }
  
  .contact-btn {
    min-width: 100%;
  }
  
  .contact-btn span {
    font-size: 0.9rem;
  }
}

/* --- PIE DE PÁGINA COMPLETO --- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 24px #25d36644;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.5s ease;
}
.whatsapp-float img {
  width: 36px;
  height: 36px;
  display: block;
}
.whatsapp-float:hover {
  box-shadow: 0 8px 32px #25d36688;
  transform: scale(1.08);
}
@media (max-width: 700px) {
  .footer-content { flex-direction: column; gap: 1.2rem; }
  .footer-links { justify-content: center; }
}
/* --- CTA DESTACADOS --- */
.cta-section {
  text-align: center;
  margin: 2.5rem 0 2rem 0;
}
.cta-section h2 {
  font-size: 1.7rem;
  color: #3a5a7a;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}
/* Unificar efecto glass/azul en todos los CTA */
.cta-btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 2rem;
  border: none;
  background: linear-gradient(90deg, #3a5a7a 0%, #7ed6fc 100%);
  color: #fff;
  box-shadow: 0 4px 24px #b3d8fd33, 0 0 8px #fff8 inset;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #7ed6fc 0%, #3a5a7a 100%);
  box-shadow: 0 8px 32px #7ed6fc55, 0 0 16px #fff8 inset;
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
  .cta-buttons { flex-direction: column; gap: 1rem; }
  .cta-btn { width: 100%; }
}
/* --- FONDO: LUCES DIFUSAS ANIMADAS --- */
body::after {
  content: '';
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.13;
  filter: blur(60px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -60px;
  background: radial-gradient(circle, #7ed6fc 0%, #fff 80%);
  animation-name: moveLight2;
  animation-duration: 22s;
}
body::after {
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -60px;
  background: radial-gradient(circle, #7ed6fc 0%, #fff 80%);
  opacity: 0.13;
  animation-name: moveLight2;
  animation-duration: 22s;
}
@keyframes moveLight2 {
  0% { right: -100px; bottom: -60px; }
  50% { right: 55vw; bottom: 60vh; }
  100% { right: -100px; bottom: -60px; }
}

/* --- FONDO: LUCES DIFUSAS ANIMADAS --- */
/* --- RESET & BASE --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: #f8fafc;
  color: #232837;
  font-size: 15px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* --- LOGO --- */
.logo-sym {
  height: 44px;
  width: 44px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(224, 229, 236, 0.6), 0 1.5px 0 rgba(179, 198, 231, 0.4);
  background: rgba(255, 255, 255, 0.9);
  margin-right: 1rem;
  object-fit: contain;
  border: none;
  padding: 4px;
}

/* --- LIQUID GLASS BASE (MEJORADO) --- */
.glass, .card, .course, .topbar, .topbar-links a, .contact, .about, .main-content, .services, .courses, .footer, .input, .select {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 24px 0 rgba(31, 38, 135, 0.08), 0 1.5px 6px #b3d8fd22, 0 0 0 1px rgba(255,255,255,0.35) inset, 0 0 16px 0 rgba(79,195,247,0.05) inset;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow 0.3s, background 0.3s, border 0.3s;
  overflow: hidden;
}
.topbar {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 4px 32px #e3e6ec, 0 0 32px #ffffff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 2px solid #f3f6fb;
  padding: 1.2rem 2vw 1.5rem 2vw;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  margin: 0;
  box-sizing: border-box;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand-info h2 {
  margin: 0;
  color: #7ed6fc;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.role {
  color: #4fc3f7;
  font-size: 0.9rem;
  margin: 0;
}
.topbar-links {
  display: flex;
  gap: 1.2rem;
  margin-right: 80px;
}
.topbar-links a {
  color: #4a90e2;
  background: #fff;
  box-shadow: 0 2px 8px #e3e6ec, 0 0 8px #ffffff inset;
  border: 1.5px solid #f3f6fb;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 18px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.topbar-links a:hover, .topbar-links a.active {
  background: #f3f6fb;
  color: #232837;
  box-shadow: 0 4px 24px #e3e6ec, 0 0 16px #ffffff inset;
  transform: translateY(-2px) scale(1.08) skewX(-6deg);
  border-color: #b3d8fd44;
}
.topbar-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 16px #10121a, 0 2px 8px #355c7d;
  border: 2px solid #22304a;
  background: #232837;
  margin-bottom: 0;
  transition: box-shadow 0.4s, transform 0.4s;
}
.avatar:hover {
  box-shadow: 0 0 32px #4fc3f7, 0 4px 16px #355c7d;
  transform: scale(1.08) rotate(-6deg);
}

/* --- MAIN CONTENT --- */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  margin-top: 90px;
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3a5a7a;
  text-shadow: 0 4px 24px #e3e6ec, 0 2px 8px #b3d8fd44;
  background: none;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  gap: 2rem;
}
.glass {
  background: linear-gradient(135deg, #232837 60%, #181e2a 100%);
  box-shadow: 8px 8px 24px #10121a, -8px -8px 24px #22304a;
  border: 1.5px solid #22304a;
  border-radius: 20px;
  padding: 1.3rem 1.2rem;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #4fc3f755 0%, transparent 80%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
  animation: glass-glow 4s infinite alternate;
}
@keyframes glass-glow {
  0% { opacity: 0.7; transform: scale(1) translateY(0); }
  100% { opacity: 1; transform: scale(1.2) translateY(12px); }
}
.card {
  border-radius: 2.2rem;
  padding: 2.1rem 1.5rem 1.5rem 1.5rem;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s, border 0.3s;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.32);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13), 0 2px 18px #b6d0f7, 0 0 0 2px #e3f0ff inset;
  border: 1.5px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.card::before {
  content: "";
  position: absolute;
  top: -30px; left: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #7ed6fc55 0%, transparent 80%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.card:hover {
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.16), 0 4px 24px #7ed6fc44 inset, 0 2px 0 #b3d8fd22;
  background: rgba(255,255,255,0.44);
  border-color: #b3d8fd44;
}
.card .icon {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 2px 8px #b6d0f7);
  z-index: 2;
  position: relative;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.about {
  text-align: center;
  background: rgba(255,255,255,0.13);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.09), 0 2px 8px #b3d8fd22, 0 0 0 1px rgba(255,255,255,0.28) inset, 0 0 24px 0 rgba(79,195,247,0.05) inset;
  border-radius: 18px;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.about::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  width: 110px; height: 110px;
  background: radial-gradient(circle, #e3f2fdcc 0%, transparent 80%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
.about h2 {
  position: relative;
  z-index: 1;
  color: var(--color-title);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px var(--color-title-glow), 0 0 8px #e3f2fd44;
}
.about p {
  position: relative;
  z-index: 1;
  color: #232837;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* === MISIÓN, VISIÓN Y VALORES === */
.mvv-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem auto 4rem auto;
  padding: 0 2rem;
  max-width: 1300px;
}

.mvv-card {
  position: relative;
  min-height: 400px;
  padding: 2rem 2rem 2.5rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  overflow: visible;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.mvv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.5s ease;
}

.mvv-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.mvv-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 10px 25px rgba(0, 0, 0, 0.1);
}

.mvv-card:hover::before {
  opacity: 1;
}

.mvv-card:hover::after {
  width: 300px;
  height: 300px;
  opacity: 0.4;
}

/* === MVV CARDS MODO OSCURO === */
.dark-mode .mvv-card {
  background: var(--color-bg-dark) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(34, 48, 74, 0.2), 
              0 0 0 1px rgba(255,255,255,0.05) inset, 
              0 0 24px rgba(126, 214, 252, 0.03) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #e3e6ec !important;
}

.dark-mode .mvv-card:hover {
  background: var(--color-bg-dark) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              0 4px 12px rgba(34, 48, 74, 0.3), 
              0 0 0 1px rgba(255,255,255,0.08) inset, 
              0 0 32px rgba(126, 214, 252, 0.05) inset !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

.dark-mode .mvv-card::after {
  background: radial-gradient(circle, rgba(126, 214, 252, 0.15), transparent 70%) !important;
}

.dark-mode .mvv-title {
  color: #7ed6fc !important;
}

.dark-mode .mvv-description {
  color: #e3e6ec !important;
}

.mvv-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: -50px;
  position: relative;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: mvvIconFloat 3s ease-in-out infinite;
}

@keyframes mvvIconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.mvv-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: inherit;
  filter: blur(10px);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: -1;
}

.mvv-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 60%);
  pointer-events: none;
}

.mvv-icon svg {
  width: 50px;
  height: 50px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.4s ease;
}

.mvv-card:hover .mvv-icon {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.2);
  animation: none;
}

.mvv-card:hover .mvv-icon::before {
  opacity: 0.6;
  inset: -10px;
}

.mvv-card:hover .mvv-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Misión - Verde Azulado */
.mvv-icon-mision {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.mvv-mision .mvv-card::before {
  background: linear-gradient(135deg, #14b8a6, #0d9488, #0891b2, #14b8a6);
  background-size: 300% 300%;
  animation: mvvBorderGlow 3s ease infinite;
}

.mvv-mision:hover .mvv-icon-mision {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  box-shadow: 
    0 20px 45px rgba(20, 184, 166, 0.4),
    0 10px 20px rgba(20, 184, 166, 0.3),
    0 0 0 8px rgba(20, 184, 166, 0.1);
}

/* Visión - Coral/Rojo */
.mvv-icon-vision {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

.mvv-vision .mvv-card::before {
  background: linear-gradient(135deg, #f87171, #ef4444, #dc2626, #f87171);
  background-size: 300% 300%;
  animation: mvvBorderGlow 3s ease infinite;
}

.mvv-vision:hover .mvv-icon-vision {
  background: linear-gradient(135deg, #fca5a5, #f87171);
  box-shadow: 
    0 20px 45px rgba(248, 113, 113, 0.4),
    0 10px 20px rgba(248, 113, 113, 0.3),
    0 0 0 8px rgba(248, 113, 113, 0.1);
}

/* Valores - Naranja/Dorado */
.mvv-icon-valores {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mvv-valores .mvv-card::before {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706, #fbbf24);
  background-size: 300% 300%;
  animation: mvvBorderGlow 3s ease infinite;
}

.mvv-valores:hover .mvv-icon-valores {
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  box-shadow: 
    0 20px 45px rgba(251, 191, 36, 0.4),
    0 10px 20px rgba(251, 191, 36, 0.3),
    0 0 0 8px rgba(251, 191, 36, 0.1);
}

@keyframes mvvBorderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.mvv-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.mvv-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: currentColor;
  transition: all 0.4s ease;
}

.mvv-card:hover .mvv-title {
  color: #64748b;
  letter-spacing: 4px;
  transform: scale(1.05);
}

.mvv-card:hover .mvv-title::after {
  width: 60px;
}

.mvv-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
  transition: all 0.4s ease;
  opacity: 0.9;
}

.mvv-card:hover .mvv-description {
  color: #475569;
  opacity: 1;
  transform: translateY(-3px);
  letter-spacing: 0.03em;
}

/* =============================================
   CONTADOR DE ESTADÍSTICAS
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 5rem 2rem;
  margin: 3rem 0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Stats section en modo oscuro */
.dark-mode .stats-section {
  background: var(--color-bg-dark) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(34, 48, 74, 0.2), 
              0 0 0 1px rgba(255,255,255,0.05) inset, 
              0 0 24px rgba(126, 214, 252, 0.03) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.dark-mode .stats-section::before {
  background: 
    radial-gradient(circle at 20% 50%, rgba(126, 214, 252, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%) !important;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.03), rgba(139, 92, 246, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(6, 182, 212, 0.15),
    0 10px 25px rgba(139, 92, 246, 0.1);
  border-color: rgba(6, 182, 212, 0.4);
}

.stat-card:hover::before {
  opacity: 1;
}

/* === STAT CARDS MODO OSCURO === */
.dark-mode .stat-card {
  background: var(--color-bg-dark) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(34, 48, 74, 0.2), 
              0 0 0 1px rgba(255,255,255,0.05) inset, 
              0 0 24px rgba(126, 214, 252, 0.03) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #e3e6ec !important;
}

.dark-mode .stat-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              0 4px 12px rgba(34, 48, 74, 0.3), 
              0 0 0 1px rgba(255,255,255,0.08) inset, 
              0 0 32px rgba(126, 214, 252, 0.05) inset !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

.dark-mode .stat-card::before {
  background: linear-gradient(135deg, rgba(126, 214, 252, 0.08), rgba(139, 92, 246, 0.08)) !important;
}

.dark-mode .stat-number {
  color: #7ed6fc !important;
}

.dark-mode .stat-plus {
  color: #7ed6fc !important;
}

.dark-mode .stat-label {
  color: #b0c4de !important;
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  box-shadow: 
    0 8px 20px rgba(6, 182, 212, 0.25),
    0 4px 10px rgba(139, 92, 246, 0.15);
}

.stat-icon svg {
  width: 35px;
  height: 35px;
  color: #fff;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 
    0 15px 35px rgba(6, 182, 212, 0.35),
    0 8px 18px rgba(139, 92, 246, 0.25);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.2rem;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.stat-plus {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-left: 0.2rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.stat-card:hover .stat-label {
  color: #1e293b;
  letter-spacing: 2px;
}

/* =============================================
   SECCIÓN DE TESTIMONIOS
   ============================================= */
.testimonials-section {
  padding: 4rem 1.5rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

/* Testimonials section en modo oscuro */
.dark-mode .testimonials-section {
  background: var(--color-bg-dark) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(34, 48, 74, 0.2), 
              0 0 0 1px rgba(255,255,255,0.05) inset, 
              0 0 24px rgba(126, 214, 252, 0.03) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.dark-mode .testimonials-title {
  background: linear-gradient(135deg, #7ed6fc, #06b6d4, #b084ff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .testimonials-subtitle {
  color: #b0c4de !important;
}

.testimonials-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 auto 1.2rem;
  padding: 0;
  background: linear-gradient(135deg, #0891b2, #06b6d4, #8b5cf6, #7c3aed);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.8px;
  display: block;
  width: 100%;
  animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.testimonials-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: #475569;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  font-weight: 500;
  max-width: 750px;
  line-height: 1.7;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  letter-spacing: 0.2px;
}

.testimonials-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 60px;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}

.testimonials-wrapper {
  overflow: visible;
  border-radius: 12px;
  width: 100%;
  position: relative;
  padding: 1.5rem 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  gap: 0;
  width: 100%;
  align-items: center;
}

.testimonial-card {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0.5rem;
}

.testimonial-split-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 320px;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.testimonial-split-layout:hover {
  transform: translateY(-8px) scale(1.01);
}

/* Tarjetas de testimonios en modo oscuro */
.dark-mode .testimonial-split-layout {
  background: rgba(35, 40, 55, 0.6) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              0 2px 8px rgba(34, 48, 74, 0.3), 
              0 0 0 1px rgba(255,255,255,0.05) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.dark-mode .testimonial-split-layout:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 
              0 4px 12px rgba(34, 48, 74, 0.4), 
              0 0 0 1px rgba(255,255,255,0.08) inset !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 
    0 20px 60px rgba(6, 182, 212, 0.18),
    0 12px 30px rgba(139, 92, 246, 0.12);
}

.testimonial-image-side {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 12px 0 0 12px;
  height: 320px;
  width: 380px;
}

.testimonial-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
  filter: grayscale(0%) brightness(1);
}

.testimonial-split-layout:hover .testimonial-image-side img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.image-frame {
  display: none;
}

.testimonial-content-side {
  padding: 2.8rem 3.2rem 2.8rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  position: relative;
  gap: 1rem;
  overflow: visible;
  box-sizing: border-box;
  border-radius: 0 12px 12px 0;
  height: 320px;
}

.testimonial-content-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #06b6d4, #8b5cf6, #7c3aed);
  background-size: 100% 200%;
  animation: borderFlow 3s ease infinite;
  transition: all 0.4s ease;
}

@keyframes borderFlow {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

.testimonial-split-layout:hover .testimonial-content-side::before {
  width: 6px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.testimonial-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.28);
  flex-shrink: 0;
}

.testimonial-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.testimonial-split-layout:hover .testimonial-icon {
  transform: rotate(360deg) scale(1.08);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.38);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.star {
  font-size: 1.15rem;
  color: #e2e8f0;
  transition: all 0.3s ease;
}

.star.filled {
  color: #fbbf24;
  filter: drop-shadow(0 1.5px 4px rgba(251, 191, 36, 0.4));
}

.testimonial-split-layout:hover .star.filled {
  animation: starPop 0.5s ease-in-out;
}

.star:nth-child(1) { animation-delay: 0s; }
.star:nth-child(2) { animation-delay: 0.1s; }
.star:nth-child(3) { animation-delay: 0.2s; }
.star:nth-child(4) { animation-delay: 0.3s; }
.star:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.testimonial-company {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  padding: 0;
  line-height: 1.35;
  background: linear-gradient(135deg, #0891b2, #06b6d4, #8b5cf6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  word-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.testimonial-split-layout:hover .testimonial-company {
  letter-spacing: 0.5px;
}

.testimonial-service {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 1rem 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  transition: all 0.3s ease;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.testimonial-split-layout:hover .testimonial-service {
  color: #475569;
  letter-spacing: 0.9px;
}

.testimonial-quote {
  position: relative;
  padding: 1.5rem 1.7rem;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98), rgba(248, 250, 252, 0.95));
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #06b6d4, #8b5cf6) 1;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  overflow: visible;
  min-height: 85px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.testimonial-split-layout:hover .testimonial-quote {
  background: linear-gradient(135deg, rgba(240, 249, 255, 1), rgba(248, 250, 252, 1));
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.15);
  transform: translateX(4px);
  border-left-width: 4px;
}

.quote-mark {
  position: absolute;
  top: 4px;
  left: 9px;
  width: 24px;
  height: 24px;
  color: rgba(6, 182, 212, 0.3);
}

.testimonial-quote p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin: 0;
  padding: 0;
  font-style: italic;
  font-weight: 500;
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.testimonial-verified svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.testimonial-split-layout:hover .testimonial-verified {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38);
}

/* === ELEMENTOS INTERNOS DE TESTIMONIOS EN MODO OSCURO === */
.dark-mode .testimonial-content-side {
  background: rgba(26, 26, 46, 0.6) !important;
  color: #e3e6ec !important;
}

.dark-mode .testimonial-content-side::before {
  background: linear-gradient(180deg, #7ed6fc, #b084ff, #8b5cf6) !important;
}

.dark-mode .testimonial-quote {
  background: rgba(35, 40, 55, 0.5) !important;
  border-image: linear-gradient(180deg, #7ed6fc, #b084ff) 1 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .testimonial-split-layout:hover .testimonial-quote {
  background: rgba(35, 40, 55, 0.7) !important;
  box-shadow: 0 6px 18px rgba(126, 214, 252, 0.2) !important;
}

.dark-mode .testimonial-quote p {
  color: #e3e6ec !important;
}

.dark-mode .quote-mark {
  color: rgba(126, 214, 252, 0.3) !important;
}

.dark-mode .testimonial-company {
  color: #7ed6fc !important;
}

.dark-mode .testimonial-service {
  color: #b0c4de !important;
}

.dark-mode .testimonial-split-layout:hover .testimonial-service {
  color: #94b3d4 !important;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(6, 182, 212, 0);
}

.testimonial-nav:hover {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  border-color: transparent;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.35);
}

.testimonial-nav svg {
  width: 24px;
  height: 24px;
  color: #475569;
  transition: color 0.3s ease;
}

.testimonial-nav:hover svg {
  color: #ffffff;
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.testimonial-dot:hover {
  background: #94a3b8;
  transform: scale(1.2);
}

.testimonial-dot.active {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 1rem;
    margin: 2rem 0;
  }
  
  .testimonials-title {
    font-size: 2rem;
  }
  
  .testimonials-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .testimonials-carousel {
    padding: 0 50px;
  }
  
  .testimonial-split-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .testimonial-image-side {
    height: 200px;
  }
  
  .image-frame {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  
  .testimonial-content-side {
    padding: 1.5rem 1.2rem;
  }
  
  .testimonial-icon {
    width: 36px;
    height: 36px;
  }
  
  .testimonial-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .testimonial-company {
    font-size: 1.2rem;
  }
  
  .testimonial-service {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .testimonial-quote {
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
  }
  
  .testimonial-quote p {
    font-size: 0.85rem;
  }
  
  .quote-mark {
    width: 20px;
    height: 20px;
  }
  
  .star {
    font-size: 1rem;
  }
  
  .testimonial-verified {
    font-size: 0.7rem;
    padding: 0.45rem 0.9rem;
  }
  
  .testimonial-verified svg {
    width: 12px;
    height: 12px;
  }
  
  .testimonial-nav {
    width: 40px;
    height: 40px;
  }
  
  .testimonial-nav svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 3rem 1rem;
    margin: 2rem 0;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
  
  .stat-plus {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .mvv-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .mvv-card {
    padding: 2.5rem 2rem;
  }
  
  .mvv-header {
    font-size: 1.8rem;
  }
  
  .mvv-text {
    font-size: 1rem;
  }
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem 1.5rem;
  margin-top: 1.5rem;
  max-height: none;
  overflow: visible;
}
.course {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 #e3f0ff, 0 1.5px 8px 0 #b6d0f7;
  padding: 1.1rem 1.2rem;
  font-weight: 700;
  color: #1976d2;
  font-size: 1.08rem;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
}
.course:hover {
  box-shadow: 0 4px 18px 0 #b6d0f7, 0 2.5px 16px 0 #1976d2;
  transform: translateY(-2px) scale(1.03);
}
.contact {
  background: rgba(255,255,255,0.13);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.09), 0 2px 8px #b3d8fd22, 0 0 0 1px rgba(255,255,255,0.28) inset, 0 0 24px 0 rgba(79,195,247,0.05) inset;
  padding: 1.3rem 1.2rem;
  text-align: center;
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  position: relative;
  overflow: hidden;
}
.contact-info {
  font-size: 1.1rem;
  color: #4a90e2;
  margin-bottom: 0.5rem;
  text-align: center;
}
.contact-info a {
  display: inline-block;
  text-align: center;
}
footer {
  text-align: center;
  padding: 1.2rem 0 0.7rem 0;
  color: #b3bfc9;
  font-size: 0.95rem;
  background: #fff;
  margin-top: 2rem;
  box-shadow: 0 -2px 32px #e3e6ec;
}

/* --- SOCIAL ICONS --- */
.icon-social {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px #b3d8fd99) invert(70%) sepia(100%) saturate(400%) hue-rotate(170deg);
  opacity: 0.8;
  transition: opacity 0.2s, filter 0.2s, transform 0.2s;
}
.icon-social:hover {
  opacity: 1;
  filter: drop-shadow(0 0 16px #7ed6fc) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg);
  transform: scale(1.18) rotate(-8deg);
}

/* --- ANIMACIONES SCROLL --- */
.scroll-animate {
  opacity: 0 !important;
  transform: translateY(80px) scale(0.9) !important;
  filter: blur(10px) brightness(0.85) !important;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform, filter;
}
.scroll-animate.show {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0) brightness(1) !important;
}

/* Animación específica para cards de servicio */
.services .scroll-animate {
  transform: translateY(100px) scale(0.85) !important;
  filter: blur(15px) brightness(0.8) !important;
}
.services .scroll-animate.show {
  transform: translateY(0) scale(1) !important;
  filter: blur(0) brightness(1) !important;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
  background: #f3f6fb;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #e3e6ec 0%, #b3d8fd44 100%);
  border-radius: 8px;
  box-shadow: 0 0 8px #e3e6ec;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2vw 1rem 2vw;
    gap: 1rem;
  }
  .topbar-links {
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  .main-content {
    margin-top: 150px;
  }
}
@media (max-width: 700px) {
  .course {
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    box-shadow: 0 6px 24px 0 rgba(31, 38, 135, 0.08), 0 1.5px 6px #b3d8fd22, 0 0 0 0.7px rgba(255,255,255,0.18) inset, 0 0 12px 0 rgba(79,195,247,0.03) inset;
    padding: 0.8rem 0.7rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s, color 0.3s, border 0.3s;
    cursor: pointer;
    color: #4a90e2;
    font-weight: 600;
    border: 0.7px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px) saturate(110%);
    -webkit-backdrop-filter: blur(10px) saturate(110%);
    position: relative;
    overflow: hidden;
    font-size: 0.98rem;
  }
  .course:hover {
    box-shadow: 0 8px 24px #b3d8fd22, 0 0 16px #ffffff;
    background: rgba(243,246,251,0.9);
    color: #232837;
    border-color: #b3d8fd22;
    transform: scale(1.02) rotate(-2deg);
  }
}

/* --- NEUMORPHISM PROFUNDO --- */
.neumorph {
  background: #fafdff !important;
  border-radius: 2rem;
  box-shadow:
    12px 12px 32px #e3e6ec,
    -12px -12px 32px #ffffff,
    0 1.5px 0 #fff8 inset,
    0 0 0 2px #fafdff inset;
  transition: box-shadow 0.3s, background 0.3s;
}
.neumorph:hover {   
  background: #ffffff !important;
  box-shadow:
    18px 18px 48px #e3e6ec,
    -18px -18px 48px #ffffff,
    0 2px 0 #fff8 inset,
    0 0 0 2.5px #fafdff inset;
}

/* --- NEUMORPH MODO OSCURO --- */
.dark-mode .neumorph {
  background: var(--color-bg-dark) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(34, 48, 74, 0.2),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 24px rgba(126, 214, 252, 0.03) inset !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #e3e6ec !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
}
.dark-mode .neumorph:hover {
  background: var(--color-bg-dark) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(34, 48, 74, 0.3),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 32px rgba(126, 214, 252, 0.05) inset !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

/* --- TOPBAR MODO OSCURO --- */
body.dark-mode .topbar,
.dark-mode .topbar,
body.dark-mode nav.topbar,
.dark-mode nav.topbar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  color: #e3e6ec !important;
  border-bottom: 2px solid #2d3561 !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.9), 0 0 40px rgba(45, 53, 97, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Botones de navegación del topbar en modo oscuro */
.dark-mode .topbar-links a {
  background: rgba(45, 53, 97, 0.7) !important;
  color: #7ed6fc !important;
  border: 1.5px solid rgba(126, 214, 252, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 8px rgba(126, 214, 252, 0.15) inset !important;
}

.dark-mode .topbar-links a:hover,
.dark-mode .topbar-links a.active {
  background: rgba(126, 214, 252, 0.25) !important;
  color: #fff !important;
  border-color: #7ed6fc !important;
  box-shadow: 0 4px 16px rgba(126, 214, 252, 0.5), 0 0 20px rgba(126, 214, 252, 0.3) inset !important;
}

/* Marca y logo en modo oscuro */
.dark-mode .brand-info h2 {
  color: #7ed6fc !important;
  text-shadow: 0 0 10px rgba(126, 214, 252, 0.4) !important;
}

.dark-mode .role {
  color: #4fc3f7 !important;
}

/* Sección izquierda del topbar en modo oscuro */
.dark-mode .topbar-left {
  color: #e3e6ec !important;
}

/* Logo en modo oscuro */
.dark-mode .logo-sym {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 16px rgba(126, 214, 252, 0.4), 
              0 0 0 1px rgba(126, 214, 252, 0.3),
              inset 0 1px 0 rgba(126, 214, 252, 0.2) !important;
}

/* Área social del topbar en modo oscuro */
.dark-mode .topbar-social a {
  opacity: 0.9;
}

.dark-mode .topbar-social a:hover {
  opacity: 1;
}
.dark-mode .darkmode-topbar {
  background: linear-gradient(135deg, rgba(35, 40, 55, 0.9), rgba(22, 33, 62, 0.8));
  border-color: rgba(126, 214, 252, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(126, 214, 252, 0.3), 0 0 16px rgba(255, 193, 7, 0.15);
}
.dark-mode .darkmode-topbar:hover {
  background: linear-gradient(135deg, rgba(35, 40, 55, 1), rgba(22, 33, 62, 0.95));
  border-color: rgba(126, 214, 252, 0.7);
  box-shadow: 0 6px 20px rgba(126, 214, 252, 0.4), inset 0 1px 2px rgba(126, 214, 252, 0.4), 0 0 24px rgba(255, 193, 7, 0.25);
  transform: scale(1.12) translateY(-2px);
}

/* --- MEJORAS VISUALES MODO OSCURO --- */
.dark-mode .card h2,
.dark-mode .about h2,
.dark-mode .faq h2,
.dark-mode .contact h2 {
  color: #7ed6fc !important;
  text-shadow: 0 2px 8px #4fc3f7, 0 0 8px #7ed6fc55;
}
.dark-mode .card h2:hover {
  color: #fff !important;
  text-shadow: 0 4px 16px #7ed6fc, 0 2px 8px #4fc3f7;
}
.dark-mode .about p,
.dark-mode .card p,
.dark-mode .contact-info,
.dark-mode main li {
  color: #e3e6ec !important;
  text-shadow: none !important;
}

/* Estilos específicos para tarjetas de cursos en dark mode */
.dark-mode .courses .course {
  background: rgba(35, 40, 55, 0.8) !important;
  color: #e3eaf7 !important;
  box-shadow: 0 4px 16px rgba(34, 48, 74, 0.4),
              0 0 0 1px rgba(126, 214, 252, 0.2),
              inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
  border: 1px solid rgba(126, 214, 252, 0.25) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .courses .course:hover {
  background: rgba(35, 40, 55, 0.95) !important;
  box-shadow: 0 6px 24px rgba(34, 48, 74, 0.5),
              0 0 0 1px rgba(126, 214, 252, 0.35),
              inset 0 1px 0 rgba(126, 214, 252, 0.15),
              0 4px 16px rgba(33, 198, 251, 0.25) !important;
  border-color: rgba(126, 214, 252, 0.4) !important;
  transform: translateY(-3px) scale(1.03) !important;
}

/* Estilos específicos para FAQ en dark mode */
.dark-mode .faq-list details {
  background: rgba(35, 40, 55, 0.6) !important;
  border: 1px solid rgba(126, 214, 252, 0.2) !important;
  box-shadow: 0 2px 8px rgba(34, 48, 74, 0.3),
              inset 0 1px 0 rgba(126, 214, 252, 0.08) !important;
}
.dark-mode .faq-list details[open] {
  background: rgba(35, 40, 55, 0.85) !important;
  border-color: rgba(126, 214, 252, 0.3) !important;
  box-shadow: 0 4px 16px rgba(34, 48, 74, 0.4),
              0 0 0 1px rgba(126, 214, 252, 0.25),
              inset 0 1px 0 rgba(126, 214, 252, 0.12) !important;
}
.dark-mode .faq-list summary {
  color: #7ed6fc !important;
  text-shadow: 0 1px 6px rgba(126, 214, 252, 0.4) !important;
}
.dark-mode .faq-list p {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Estilos específicos para Contáctanos en dark mode */
.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
  background: rgba(35, 40, 55, 0.7) !important;
  border: 1.5px solid rgba(126, 214, 252, 0.25) !important;
  color: #e3eaf7 !important;
  box-shadow: inset 0 1px 0 rgba(126, 214, 252, 0.08) !important;
}
.dark-mode .contact-form input::placeholder,
.dark-mode .contact-form textarea::placeholder {
  color: rgba(227, 234, 247, 0.5) !important;
}
.dark-mode .contact-form input:focus,
.dark-mode .contact-form textarea:focus {
  background: rgba(35, 40, 55, 0.9) !important;
  border-color: rgba(126, 214, 252, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(126, 214, 252, 0.15),
              inset 0 1px 0 rgba(126, 214, 252, 0.12) !important;
}
.dark-mode .form-error {
  color: #ff6b9d !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .form-success {
  color: #4ade80 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.dark-mode .btn-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e, #075e54) !important;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.dark-mode .btn-email {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.dark-mode .btn-email:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.dark-mode .contact-info {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .contact-info a {
  color: #7ed6fc !important;
  text-shadow: 0 1px 6px rgba(126, 214, 252, 0.4) !important;
}

/* Estilos específicos para Footer en dark mode */
.dark-mode .footer_responsivo {
  background: rgba(26, 26, 46, 0.95) !important;
  border-top: 1px solid rgba(126, 214, 252, 0.2) !important;
  box-shadow: 0 -4px 24px rgba(34, 48, 74, 0.4),
              inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
}
.dark-mode .footer-brand div {
  color: #7ed6fc !important;
  text-shadow: 0 2px 8px rgba(126, 214, 252, 0.4),
               0 0 16px rgba(33, 198, 251, 0.3) !important;
}
.dark-mode .footer-brand img {
  background: rgba(35, 40, 55, 0.8) !important;
  box-shadow: 0 2px 12px rgba(126, 214, 252, 0.3),
              inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
  border: 1px solid rgba(126, 214, 252, 0.2) !important;
}
.dark-mode .footer-links a {
  color: #7ed6fc !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .footer-links a:hover {
  color: #a5b4fc !important;
  text-shadow: 0 1px 8px rgba(165, 180, 252, 0.6) !important;
}
.dark-mode .footer-social a {
  background: rgba(35, 40, 55, 0.8) !important;
  border: 1px solid rgba(126, 214, 252, 0.25) !important;
  box-shadow: 0 2px 8px rgba(34, 48, 74, 0.4),
              inset 0 1px 0 rgba(126, 214, 252, 0.08) !important;
}
.dark-mode .footer-social a:hover {
  background: rgba(35, 40, 55, 0.95) !important;
  border-color: rgba(126, 214, 252, 0.4) !important;
  box-shadow: 0 4px 16px rgba(126, 214, 252, 0.3),
              inset 0 1px 0 rgba(126, 214, 252, 0.15) !important;
  transform: translateY(-2px) scale(1.08) !important;
}
.dark-mode .footer-social img {
  filter: brightness(1.2) drop-shadow(0 1px 4px rgba(126, 214, 252, 0.3)) !important;
}
.dark-mode .footer-copy {
  color: rgba(227, 234, 247, 0.6) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

/* --- ANIMACIONES SUTILES EN ICONOS Y TÍTULOS --- */
.card .icon {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s cubic-bezier(.4,1.4,.6,1), filter 0.3s;
}
.card:hover .icon {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 0 12px #7ed6fc88);
}
.card h2 {
  transition: color 0.3s, text-shadow 0.3s, letter-spacing 0.3s;
}
.card:hover h2 {
  letter-spacing: 1.5px;
  text-shadow: 0 6px 24px #7ed6fc88, 0 2px 8px #e3e6ec;
}

/* --- TRANSICIÓN SUAVE MODO OSCURO/CLARO --- */
body, .main-content, .card, .about, .faq, .contact, .glass, .footer-full, .faq-list details, .courses .course, .topbar {
  transition: background 0.5s cubic-bezier(.4,1.4,.6,1), color 0.5s, box-shadow 0.5s, border-color 0.5s;
}

/* === PANTALLA DE CARGA PROFESIONAL === */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  max-width: 400px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: contentFloat 6s ease-in-out infinite;
}

.loading-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.loading-logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 
    0 10px 30px rgba(43, 76, 127, 0.3),
    0 4px 16px rgba(43, 76, 127, 0.2);
  animation: logoFloat 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

.loading-logo-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 32px;
  z-index: -1;
  opacity: 0.1;
  animation: ringPulse 3s ease-in-out infinite;
}

.loading-brand {
  margin-bottom: 40px;
}

.loading-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2B4C7F;
  margin: 0 0 8px 0;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #2B4C7F 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
}

.loading-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.loading-progress {
  margin-top: 30px;
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.loading-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 2px;
  animation: loadingProgress 2s ease-in-out infinite;
}

.loading-text {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
  animation: textPulse 2s ease-in-out infinite;
}

/* Animaciones */
@keyframes contentFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes logoFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    box-shadow: 
      0 10px 30px rgba(43, 76, 127, 0.3),
      0 4px 16px rgba(43, 76, 127, 0.2);
  }
  50% { 
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
      0 20px 40px rgba(43, 76, 127, 0.4),
      0 8px 24px rgba(43, 76, 127, 0.3);
  }
}

@keyframes ringPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.1;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.2;
  }
}

@keyframes titleGlow {
  0%, 100% { 
    text-shadow: 0 0 0 rgba(43, 76, 127, 0);
  }
  50% { 
    text-shadow: 0 0 20px rgba(43, 76, 127, 0.3);
  }
}

@keyframes loadingProgress {
  0% { 
    width: 0%;
    transform: translateX(-100%);
  }
  50% { 
    width: 70%;
    transform: translateX(0%);
  }
  100% { 
    width: 100%;
    transform: translateX(100%);
  }
}

@keyframes textPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* === PESTAÑAS DE TIPO DE CURSO === */
.course-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 30px 0;
  padding: 0 20px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(43, 76, 127, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tab-btn:hover {
  background: rgba(43, 76, 127, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tab-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #2B4C7F;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.tab-btn.active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(6, 182, 212, 0.15) 25%,
    rgba(59, 130, 246, 0.25) 50%,
    rgba(99, 102, 241, 0.15) 75%,
    transparent 100%
  );
  animation: tabShine 2s ease-in-out infinite;
  pointer-events: none;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  animation: tabUnderline 2s ease-in-out infinite;
}

/* Pestañas en modo oscuro */
.dark-mode .tab-btn {
  background: rgba(45, 53, 97, 0.7) !important;
  border-color: rgba(126, 214, 252, 0.3) !important;
  color: #b3d8fd !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.dark-mode .tab-btn:hover {
  background: rgba(45, 53, 97, 0.9) !important;
  border-color: rgba(126, 214, 252, 0.5) !important;
  color: #7ed6fc !important;
  box-shadow: 0 4px 12px rgba(126, 214, 252, 0.3) !important;
}

.dark-mode .tab-btn.active {
  background: rgba(126, 214, 252, 0.15) !important;
  border-color: #7ed6fc !important;
  color: #7ed6fc !important;
  box-shadow: 0 4px 16px rgba(126, 214, 252, 0.4) !important;
}

@keyframes tabShine {
  0%, 100% {
    transform: translateX(-100%) skewX(-15deg);
    opacity: 0;
  }
  50% {
    transform: translateX(100%) skewX(-15deg);
    opacity: 1;
  }
}

@keyframes tabUnderline {
  0%, 100% {
    transform: scaleX(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.tab-icon {
  font-size: 1.1rem;
}

.tab-text {
  font-weight: inherit;
}

/* === ETIQUETAS DE TIPO DE CURSO === */
.slide-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.virtual-badge {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  color: white;
}

.presencial-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: white;
}

/* Botón deshabilitado */
.btn-details.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* === CARRUSEL VIRTUAL ANIMADO === */
.virtual-carousel-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.virtual-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 15px 10px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.8) 100%);
  border-radius: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

/* Barra de navegación virtual en modo oscuro */
.dark-mode .virtual-nav {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(45, 53, 97, 0.9) 100%) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(126, 214, 252, 0.1) !important;
  border: 1px solid rgba(126, 214, 252, 0.2) !important;
}

.virtual-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(43, 76, 127, 0.4);
  background: rgba(43, 76, 127, 0.8);
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.virtual-nav-btn:hover {
  background: rgba(43, 76, 127, 0.9);
  border-color: rgba(43, 76, 127, 0.6);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(43, 76, 127, 0.3);
}

.virtual-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Botones de navegación virtual en modo oscuro */
.dark-mode .virtual-nav-btn {
  background: rgba(126, 214, 252, 0.2) !important;
  border-color: rgba(126, 214, 252, 0.4) !important;
  color: #7ed6fc !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.dark-mode .virtual-nav-btn:hover {
  background: rgba(126, 214, 252, 0.3) !important;
  border-color: #7ed6fc !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(126, 214, 252, 0.4) !important;
}

/* === NAVEGACIÓN CARRUSEL PRESENCIAL === */
.presencial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 15px 10px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.8) 100%);
  border-radius: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

/* Barra de navegación presencial en modo oscuro */
.dark-mode .presencial-nav {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(45, 53, 97, 0.9) 100%) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(126, 214, 252, 0.1) !important;
  border: 1px solid rgba(126, 214, 252, 0.2) !important;
}

.presencial-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(43, 76, 127, 0.3);
  background: rgba(248, 250, 252, 0.9);
  color: #2B4C7F;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(43, 76, 127, 0.1);
}

.presencial-nav-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(43, 76, 127, 0.5);
  color: #2B4C7F;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(43, 76, 127, 0.2);
}

.presencial-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Botones de navegación presencial en modo oscuro */
.dark-mode .presencial-nav-btn {
  background: rgba(126, 214, 252, 0.2) !important;
  border-color: rgba(126, 214, 252, 0.4) !important;
  color: #7ed6fc !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.dark-mode .presencial-nav-btn:hover {
  background: rgba(126, 214, 252, 0.3) !important;
  border-color: #7ed6fc !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(126, 214, 252, 0.4) !important;
}

.presencial-sections-container {
  position: relative;
  overflow: visible;
  border-radius: 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presencial-section {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presencial-section.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: all;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presencial-section.prev {
  transform: translateX(-100px);
}

.presencial-section.slide-in-right {
  animation: slideInFromRight 0.5s ease-out forwards;
}

.presencial-section.slide-in-left {
  animation: slideInFromLeft 0.5s ease-out forwards;
}





.virtual-indicators {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-indicators {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.indicator {
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(43, 76, 127, 0.8);
  border: 2px solid rgba(43, 76, 127, 0.6);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  text-align: center;
  min-width: fit-content;
}

.indicator:hover {
  background: rgba(43, 76, 127, 0.9);
  border-color: rgba(43, 76, 127, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 76, 127, 0.3);
}

.indicator.active {
  background: linear-gradient(135deg, #2B4C7F 0%, #3b82f6 100%);
  border-color: #2B4C7F;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(43, 76, 127, 0.4);
  transform: translateY(-2px);
}

/* Indicadores en modo oscuro */
.dark-mode .indicator {
  background: rgba(45, 53, 97, 0.7) !important;
  border-color: rgba(126, 214, 252, 0.3) !important;
  color: #b3d8fd !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.dark-mode .indicator:hover {
  background: rgba(45, 53, 97, 0.9) !important;
  border-color: rgba(126, 214, 252, 0.5) !important;
  color: #7ed6fc !important;
  box-shadow: 0 4px 12px rgba(126, 214, 252, 0.3) !important;
}

.dark-mode .indicator.active {
  background: linear-gradient(135deg, rgba(126, 214, 252, 0.25) 0%, rgba(79, 195, 247, 0.35) 100%) !important;
  border-color: #7ed6fc !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(126, 214, 252, 0.5) !important;
}

.virtual-sections-container {
  position: relative;
  overflow: visible;
  border-radius: 20px;
  min-height: 500px;
}

.virtual-section {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.virtual-section.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: all;
  z-index: 2;
}

.virtual-section.prev {
  transform: translateX(-100px);
}

/* Animación de entrada suave */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.virtual-section.slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

.virtual-section.slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

/* === BARRA DE PROGRESO DISCRETA === */
.auto-progress-container {
  margin-top: 15px;
  padding: 8px 0;
}

.auto-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(43, 76, 127, 0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.auto-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(43, 76, 127, 0.6) 0%, rgba(59, 130, 246, 0.7) 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
  opacity: 0.8;
}

.auto-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 2px 2px 0;
}

/* Revelar contenido después del loader */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  margin-top: 90px;
}

@keyframes fadeInContent {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTopbar {
  from { 
    opacity: 0;
    transform: translateY(-20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFooter {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFloat {
  from { 
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to { 
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- SCROLL TO TOP FLOTANTE --- */
#scrollToTopBtn {
  position: fixed;
  right: 22px;
  bottom: 160px;
  z-index: 210;
  background: linear-gradient(135deg, #7ed6fc 60%, #3a5a7a 100%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 24px #7ed6fc44;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s, box-shadow 0.3s;
}
#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}
#scrollToTopBtn span {
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

/* === AULA VIRTUAL DESTACADA === */
.aula-virtual-destacada {
  margin: 2.5rem auto 2rem auto;
  max-width: 900px;
  min-width: 340px;
  padding: 3.2rem 2.5rem 2.5rem 2.5rem;
  border-radius: 2.5rem;
  background: rgba(255,255,255,0.65);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 1.5px 8px 0 #b6d0f7;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.25);
  position: relative;
  transition: box-shadow 0.3s, background 0.3s;
  overflow: hidden;
}
.aula-virtual-destacada:hover {
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.22), 0 2.5px 16px 0 #b6d0f7;
  background: rgba(255,255,255,0.80);
}
.aula-virtual-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.aula-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 8px #b6d0f7);
  animation: aula-icon-pop 1.2s cubic-bezier(.5,1.8,.5,1.1) infinite alternate;
}
@keyframes aula-icon-pop {
  0% { transform: scale(1) rotate(-2deg); }
  100% { transform: scale(1.12) rotate(4deg); }
}
.aula-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #18406b;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px #b6d0f7, 0 1px 0 #fff, 0 0 2px #1976d2;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}
.aula-desc {
  font-size: 1.18rem;
  color: #1a2636;
  margin-bottom: 2.2rem;
  text-align: justify;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px #e3f0ff;
}
.aula-desc b {
  color: #1976d2;
  font-weight: 900;
  text-shadow: 0 1px 8px #b6d0f7, 0 0 2px #21c6fb;
}
.aula-btn {
  display: inline-block;
  padding: 1.1rem 2.7rem;
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #18406b 0%, #21c6fb 100%);
  border: none;
  border-radius: 2.2rem;
  box-shadow: 0 2px 16px 0 #b6d0f7, 0 1.5px 8px 0 #18406b;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.25s, box-shadow 0.25s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.aula-btn:hover, .aula-btn:focus {
  background: linear-gradient(90deg, #21c6fb 0%, #18406b 100%);
  box-shadow: 0 4px 24px 0 #21c6fb, 0 2.5px 16px 0 #18406b;
  transform: scale(1.06) translateY(-2px);
}
.aula-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(.4,2,.6,1), height 0.4s cubic-bezier(.4,2,.6,1);
  z-index: 0;
}
.aula-btn:active::after {
  width: 180%;
  height: 400%;
}
.aula-btn:focus {
  outline: 2.5px solid #1976d2;
  outline-offset: 2px;
}
/* Dark mode */
.dark-mode .aula-virtual-destacada {
  background: rgba(26, 26, 46, 0.7) !important;
  box-shadow: 0 8px 32px 0 rgba(34, 48, 74, 0.4), 
              0 0 0 1px rgba(126, 214, 252, 0.15),
              inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
  border: 1.5px solid rgba(126, 214, 252, 0.2) !important;
  backdrop-filter: blur(16px);
}
.dark-mode .aula-virtual-destacada:hover {
  background: rgba(26, 26, 46, 0.85) !important;
  box-shadow: 0 12px 40px 0 rgba(34, 48, 74, 0.5), 
              0 0 0 1px rgba(126, 214, 252, 0.25),
              inset 0 1px 0 rgba(126, 214, 252, 0.15),
              0 4px 24px 0 rgba(33, 198, 251, 0.2) !important;
}
.dark-mode .aula-title {
  color: #7ed6fc !important;
  text-shadow: 0 2px 12px rgba(33, 198, 251, 0.6), 
               0 0 20px rgba(126, 214, 252, 0.4),
               0 1px 2px rgba(0, 0, 0, 0.8) !important;
}
.dark-mode .aula-desc {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .aula-desc b {
  color: #7ed6fc !important;
  text-shadow: 0 1px 8px rgba(126, 214, 252, 0.6), 
               0 0 12px rgba(33, 198, 251, 0.4) !important;
}
.dark-mode .aula-btn {
  background: linear-gradient(135deg, #21c6fb 0%, #7928ca 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px 0 rgba(33, 198, 251, 0.4), 
              0 2px 12px 0 rgba(121, 40, 202, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.dark-mode .aula-btn:hover, 
.dark-mode .aula-btn:focus {
  background: linear-gradient(135deg, #7928ca 0%, #21c6fb 100%) !important;
  box-shadow: 0 6px 28px 0 rgba(33, 198, 251, 0.5), 
              0 4px 16px 0 rgba(121, 40, 202, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
body.dark .aula-btn:hover, body.dark .aula-btn:focus {
  background: linear-gradient(90deg, #1976d2 60%, #21c6fb 100%);
  box-shadow: 0 4px 24px 0 #1976d2, 0 2.5px 16px 0 #21c6fb;
}

/* === ONBOARDING SECTION === */
.onboarding-section {
  margin: 3rem auto 2.5rem auto;
  max-width: 1000px;
  min-width: 340px;
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 1.5px 8px 0 #d4e4ff;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.onboarding-section:hover {
  box-shadow: 0 12px 45px 0 rgba(31, 38, 135, 0.24), 0 2.5px 16px 0 #b8d7ff;
  background: rgba(255,255,255,0.85);
  transform: translateY(-4px);
}
.onboarding-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.onboarding-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(118, 75, 162, 0.3);
  margin: 0 auto 1.5rem auto;
  position: relative;
  animation: onboarding-pulse 2.5s ease-in-out infinite;
}
@keyframes onboarding-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(118, 75, 162, 0.3); }
  50% { transform: scale(1.08); box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6), 0 4px 12px rgba(118, 75, 162, 0.5); }
}
.onboarding-icon {
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.onboarding-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #5847d4;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 16px rgba(102, 126, 234, 0.5), 0 1px 2px rgba(88, 71, 212, 0.3);
}
.onboarding-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(102, 126, 234, 0.1);
}
.onboarding-content {
  position: relative;
  z-index: 1;
}
.onboarding-intro {
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2d3748;
}
.onboarding-intro p {
  margin: 0;
}
.onboarding-intro strong {
  color: #667eea;
  font-weight: 700;
}
.onboarding-online-badge {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 1.5rem;
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.onboarding-online-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  animation: badge-glow 4s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-10%, -10%) scale(1.1); opacity: 0.8; }
}
.onboarding-online-badge:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 28px rgba(102, 126, 234, 0.25), 0 2px 12px rgba(118, 75, 162, 0.2);
  border-color: rgba(102, 126, 234, 0.5);
}
.badge-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(118, 75, 162, 0.3);
  position: relative;
  z-index: 1;
  animation: badge-icon-spin 8s linear infinite;
}
@keyframes badge-icon-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.badge-icon svg {
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.badge-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.badge-content h4 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
}
.badge-content strong {
  color: #667eea;
  font-weight: 700;
}
.onboarding-objectives {
  margin-bottom: 2.5rem;
}
.onboarding-objectives h3 {
  font-size: 1.8rem;
  color: #2d3748;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
}
.onboarding-objectives h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}
.objective-card {
  background: rgba(255,255,255,0.95);
  border-radius: 1.5rem;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(118, 75, 162, 0.08);
  border: 2px solid rgba(102, 126, 234, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, background 0.3s, border-color 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.objective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.6s;
}
.objective-card:hover::before {
  left: 100%;
}
.objective-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 36px rgba(102, 126, 234, 0.25), 0 4px 16px rgba(118, 75, 162, 0.2);
  background: rgba(255,255,255,1);
  border-color: rgba(102, 126, 234, 0.4);
}
.objective-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  margin: 0 auto 1.5rem auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, box-shadow 0.3s;
  position: relative;
}
.objective-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.objective-card:hover .objective-icon {
  transform: scale(1.2) rotate(360deg);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.35) 0%, rgba(118, 75, 162, 0.35) 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.objective-card:hover .objective-icon::after {
  opacity: 0.3;
}
.objective-icon svg {
  color: #667eea;
  position: relative;
  z-index: 1;
}
.objective-card h4 {
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.objective-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}
.onboarding-benefits {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
  border-radius: 1.5rem;
  padding: 1.5rem 1.8rem 1.2rem 1.8rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(102, 126, 234, 0.25);
  position: relative;
  overflow: hidden;
}
.onboarding-benefits::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 60%);
  animation: benefits-pulse 6s ease-in-out infinite;
}
@keyframes benefits-pulse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, 5%); }
}
.onboarding-benefits h3 {
  font-size: 1.6rem;
  color: #2d3748;
  margin-bottom: 1rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  z-index: 1;
}
.onboarding-benefits h3::before {
  content: '✨';
  margin-right: 0.4rem;
  font-size: 1.3rem;
}
.onboarding-benefits h3::after {
  content: '✨';
  margin-left: 0.4rem;
  font-size: 1.3rem;
}
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  color: #2d3748;
  line-height: 1.4;
  padding: 0.4rem 0.5rem;
  border-radius: 0.6rem;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  z-index: 1;
}
.benefits-list li:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(8px);
}
.benefits-list li svg {
  flex-shrink: 0;
  color: #667eea;
  stroke-width: 3;
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}
.onboarding-cta {
  text-align: center;
  margin-top: 2rem;
}
.onboarding-btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 2rem;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(118, 75, 162, 0.3);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.onboarding-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.onboarding-btn:hover::before {
  left: 100%;
}
.onboarding-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.6), 0 4px 16px rgba(118, 75, 162, 0.5);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.onboarding-btn:active {
  transform: translateY(-1px) scale(1.02);
}
/* Dark mode */
.dark-mode .onboarding-section {
  background: rgba(26, 26, 46, 0.75) !important;
  box-shadow: 0 8px 32px 0 rgba(34, 48, 74, 0.4), 
              0 0 0 1px rgba(126, 214, 252, 0.15),
              inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
  border: 1.5px solid rgba(126, 214, 252, 0.2) !important;
  backdrop-filter: blur(16px);
}
.dark-mode .onboarding-section:hover {
  background: rgba(26, 26, 46, 0.9) !important;
  box-shadow: 0 12px 45px 0 rgba(34, 48, 74, 0.5), 
              0 0 0 1px rgba(126, 214, 252, 0.25),
              inset 0 1px 0 rgba(126, 214, 252, 0.15),
              0 4px 24px 0 rgba(102, 126, 234, 0.3) !important;
}
.dark-mode .onboarding-title {
  color: #a5b4fc !important;
  text-shadow: 0 2px 12px rgba(102, 126, 234, 0.6), 
               0 0 20px rgba(165, 180, 252, 0.4),
               0 1px 2px rgba(0, 0, 0, 0.8) !important;
}
.dark-mode .onboarding-subtitle {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .onboarding-intro {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .onboarding-intro strong {
  color: #7ed6fc !important;
  text-shadow: 0 1px 8px rgba(126, 214, 252, 0.6) !important;
}
.dark-mode .onboarding-online-badge {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(121, 40, 202, 0.15) 100%) !important;
  border: 2px solid rgba(102, 126, 234, 0.3) !important;
  box-shadow: inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
}
.dark-mode .onboarding-online-badge:hover {
  border-color: rgba(126, 214, 252, 0.5) !important;
  box-shadow: 0 8px 28px rgba(102, 126, 234, 0.3), 
              inset 0 1px 0 rgba(126, 214, 252, 0.15) !important;
}
.dark-mode .badge-content h4 {
  color: #a5b4fc !important;
  background: linear-gradient(135deg, #7ed6fc 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dark-mode .badge-content p {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .badge-content strong {
  color: #7ed6fc !important;
  text-shadow: 0 1px 8px rgba(126, 214, 252, 0.6) !important;
}
.dark-mode .onboarding-objectives h3 {
  color: #e3eaf7 !important;
  text-shadow: 0 2px 8px rgba(102, 126, 234, 0.4) !important;
}
.dark-mode .objective-card {
  background: rgba(35, 40, 55, 0.7) !important;
  border: 2px solid rgba(102, 126, 234, 0.25) !important;
  box-shadow: 0 6px 20px rgba(34, 48, 74, 0.3), 
              inset 0 1px 0 rgba(126, 214, 252, 0.08) !important;
}
.dark-mode .objective-card:hover {
  background: rgba(35, 40, 55, 0.95) !important;
  border-color: rgba(126, 214, 252, 0.4) !important;
  box-shadow: 0 12px 36px rgba(102, 126, 234, 0.35), 
              inset 0 1px 0 rgba(126, 214, 252, 0.15) !important;
}
.dark-mode .objective-card h4 {
  color: #a5b4fc !important;
  text-shadow: 0 1px 6px rgba(102, 126, 234, 0.4) !important;
}
.dark-mode .objective-card p {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .onboarding-benefits {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(121, 40, 202, 0.12) 100%) !important;
  border: 2px solid rgba(102, 126, 234, 0.3) !important;
  box-shadow: inset 0 1px 0 rgba(126, 214, 252, 0.1) !important;
}
.dark-mode .onboarding-benefits h3 {
  color: #e3eaf7 !important;
  text-shadow: 0 2px 8px rgba(102, 126, 234, 0.4) !important;
}
.dark-mode .benefits-list li {
  color: #e3eaf7 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.dark-mode .benefits-list li:hover {
  background: rgba(102, 126, 234, 0.15) !important;
}
.dark-mode .onboarding-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5), 
              0 2px 8px rgba(118, 75, 162, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
.dark-mode .onboarding-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.7), 
              0 4px 16px rgba(118, 75, 162, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* === MODAL ONBOARDING === */
.onboarding-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
  pointer-events: none;
}
.onboarding-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.onboarding-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  padding: 20px;
}
.onboarding-modal-overlay.active .onboarding-modal {
  transform: scale(1);
}
.onboarding-modal .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 1;
}
.onboarding-modal .modal-close:hover {
  background: #f1f5f9;
  color: #667eea;
  transform: rotate(90deg);
}
.onboarding-modal .modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}
.onboarding-modal .modal-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5847d4;
  margin: 0 0 0.5rem;
  padding-right: 2rem;
}
.onboarding-modal .modal-body {
  padding: 1.5rem 2rem;
}
.onboarding-request-form .form-group {
  margin-bottom: 1.2rem;
}
.onboarding-request-form label {
  display: block;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.onboarding-request-form input,
.onboarding-request-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.onboarding-request-form input:focus,
.onboarding-request-form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.onboarding-request-form textarea {
  resize: vertical;
  min-height: 100px;
}
.onboarding-request-form .form-note {
  font-size: 0.85rem;
  color: #64748b;
  font-style: italic;
  margin-top: 0.5rem;
}
.onboarding-request-form .error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
  font-weight: 600;
}
.onboarding-request-form .error-message.show {
  display: block;
}
.onboarding-request-form input.error,
.onboarding-request-form textarea.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}
.onboarding-request-form input.error:focus,
.onboarding-request-form textarea.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.onboarding-modal .modal-footer {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}
.onboarding-modal .btn-submit {
  flex: 1;
  min-width: 180px;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.onboarding-modal .btn-email-onb {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.onboarding-modal .btn-email-onb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.onboarding-modal .btn-whatsapp-onb {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.onboarding-modal .btn-whatsapp-onb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.onboarding-modal .btn-light {
  background: #f1f5f9;
  color: #475569;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 120px;
}
.onboarding-modal .btn-light:hover {
  background: #e2e8f0;
}
/* Dark mode */
body.dark .onboarding-modal {
  background: #1e293b;
}
body.dark .onboarding-modal .modal-header {
  border-bottom-color: rgba(102, 126, 234, 0.3);
}
body.dark .onboarding-modal .modal-header h2 {
  color: #a5b4fc;
}
body.dark .onboarding-modal .modal-header p {
  color: #94a3b8;
}
body.dark .onboarding-request-form label {
  color: #e2e8f0;
}
body.dark .onboarding-request-form input,
body.dark .onboarding-request-form textarea {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}
body.dark .onboarding-request-form input:focus,
body.dark .onboarding-request-form textarea:focus {
  border-color: #667eea;
  background: #3b4a5f;
}
body.dark .onboarding-modal .btn-light {
  background: #334155;
  color: #cbd5e0;
}
body.dark .onboarding-modal .btn-light:hover {
  background: #475569;
}
@media (max-width: 600px) {
  .onboarding-modal {
    max-width: 95%;
  }
  .onboarding-modal .modal-header {
    padding: 1.5rem 1rem 0.8rem;
  }
  .onboarding-modal .modal-body {
    padding: 1rem;
  }
  .onboarding-modal .modal-footer {
    flex-direction: column;
    padding: 1rem;
  }
  .onboarding-modal .btn-submit {
    width: 100%;
    min-width: auto;
  }
}
body.dark .badge-content h4 {
  color: #e2e8f0;
}
body.dark .badge-content p {
  color: #cbd5e0;
}
body.dark .badge-content strong {
  color: #a5b4fc;
}
body.dark .onboarding-objectives h3 {
  color: #e2e8f0;
}
body.dark .objective-card {
  background: rgba(45, 55, 72, 0.85);
  border: 2px solid rgba(102, 126, 234, 0.3);
}
body.dark .objective-card:hover {
  background: rgba(45, 55, 72, 1);
  border-color: rgba(102, 126, 234, 0.5);
}
body.dark .objective-card h4 {
  color: #e2e8f0;
}
body.dark .objective-card p {
  color: #cbd5e0;
}
body.dark .onboarding-benefits {
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.3);
}
body.dark .onboarding-benefits h3 {
  color: #e2e8f0;
}
body.dark .benefits-list li {
  color: #e2e8f0;
}
body.dark .onboarding-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5), 0 2px 8px rgba(118, 75, 162, 0.4);
}
body.dark .onboarding-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.7), 0 4px 16px rgba(118, 75, 162, 0.6);
}

/* === FOOTER MINIMALISTA HORIZONTAL === */
.footer_responsivo {
  width: 100%;
  background: #f8fbff;
  box-shadow: 0 2px 24px 0 #e3f0ff, 0 1.5px 8px 0 #b6d0f7;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.7rem 0 0.7rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.footer-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto 0.2rem auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px 0 #b6d0f7;
  background: #fff;
  object-fit: contain;
}
.footer-brand div {
  font-size: 1.18rem;
  color: #18406b;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px #e3f0ff;
}
.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #1976d2;
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #21c6fb;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e3f0ff;
  box-shadow: 0 2px 8px 0 #b6d0f7;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.footer-social a:hover {
  background: #d0eaff;
  box-shadow: 0 4px 16px 0 #21c6fb;
  transform: translateY(-2px) scale(1.08);
}
.footer-social img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 4px #b6d0f7);
}
.footer-copy {
  color: #b0b8c9;
  font-size: 1rem;
  margin: 0.7rem 0 0.2rem 0;
  text-align: center;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .footer-brand img {
    width: 44px;
    height: 44px;
  }
  .footer-brand div {
    font-size: 1.05rem;
  }
  .footer-links a {
    font-size: 0.98rem;
  }
}

/* === HERO SECTION DESTACADA (MEJORADA) === */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 220px;
  padding: 1.5rem 0 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.22);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13), 0 2px 18px #b6d0f7;
  border-radius: 0 0 2.5rem 2.5rem;
  overflow: hidden;
  z-index: 10;
  margin-bottom: 2.2rem;
}
.hero-section .hero-blobs {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-section .hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px) brightness(1.1);
  opacity: 0.22;
  animation: hero-blob-move 18s ease-in-out infinite alternate;
}
.hero-section .hero-blob1 {
  width: 180px; height: 180px;
  left: -60px; top: -40px;
  background: radial-gradient(circle, #7ed6fc 0%, #21c6fb 100%);
  animation-delay: 0s;
}
.hero-section .hero-blob2 {
  width: 120px; height: 120px;
  right: 10vw; top: 30px;
  background: radial-gradient(circle, #ffb86c 0%, #ff6bcb 100%);
  animation-delay: 2s;
}
.hero-section .hero-blob3 {
  width: 90px; height: 90px;
  left: 40vw; bottom: -30px;
  background: radial-gradient(circle, #1976d2 0%, #21c6fb 100%);
  animation-delay: 4s;
}
@keyframes hero-blob-move {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.15); }
}
.hero-bg-anim {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background: linear-gradient(120deg, #7ed6fc 0%, #f8fbff 100%);
  opacity: 0.8;
  filter: blur(18px) brightness(1.09);
  animation: hero-bg-move 16s ease-in-out infinite alternate;
}
@keyframes hero-bg-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  max-width: 700px;
  width: 100%;
  padding: 0 2rem;
  margin: 0 auto;
}
.hero-text {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
}
.hero-text h1 {
  font-size: 1.7rem;
  font-weight: 900;
  color: #18406b;
  margin: 0 0 0.3rem 0;
  line-height: 1.13;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 12px #b6d0f7, 0 1px 0 #fff, 0 0 2px #1976d2;
}
.hero-gradient {
  background: linear-gradient(90deg, #1976d2 40%, #21c6fb 60%, #ff6bcb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px #b6d0f7);
}
.hero-text p {
  font-size: 1rem;
  color: #2a2a2a;
  margin-bottom: 0.7rem;
  line-height: 1.4;
  text-shadow: 0 1px 6px #e3f0ff;
}
.hero-cta {
  display: block;
  margin: 0.7rem auto 0 auto;
  padding: 1rem 2.7rem;
  font-size: 1.13rem;
  border: none;
  border-radius: 2.5rem;
  background: linear-gradient(90deg, #29405a 0%, #7ed6fc 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 24px 0 #b6d0f7, 0 2.5px 16px 0 #29405a;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s, filter 0.22s;
  outline: none;
  cursor: pointer;
  border: 2.5px solid #e3f0ff;
}
.hero-cta::before {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, #fff 0%, #7ed6fc 100%);
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
  border-radius: 2.5rem;
  filter: blur(2px);
}
.hero-cta:hover, .hero-cta:focus {
  background: linear-gradient(90deg, #29405a 0%, #7ed6fc 100%);
  box-shadow: 0 8px 32px 0 #7ed6fc, 0 4px 24px 0 #29405a;
  transform: scale(1.08) translateY(-3px);
  filter: brightness(1.12) drop-shadow(0 0 12px #7ed6fc88);
  outline: 2.5px solid #7ed6fc;
}
.hero-img {
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-img img {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  box-shadow: 0 2px 12px 0 #b6d0f7;
  background: #fff;
  object-fit: contain;
  border: 2.5px solid #e0e5ec;
  transition: box-shadow 0.3s, transform 0.3s;
}
.hero-img img:hover {
  box-shadow: 0 6px 24px #21c6fb, 0 2px 8px #b6d0f7;
  transform: scale(1.08) rotate(-6deg);
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 0 1rem;
    max-width: 98vw;
  }
  .hero-img {
    margin-top: 0.7rem;
  }
  .hero-img img {
    width: 44px;
    height: 44px;
  }
  .hero-section {
    padding: 1rem 0 0.7rem 0;
  }
  .hero-text h1 {
    font-size: 1.1rem;
  }
}

/* === TEXTO CON GRADIENTE ANIMADO === */
.gradient-animated {
  background: linear-gradient(90deg, #1976d2 0%, #21c6fb 25%, #7ed6fc 45%, #b86cff 65%, #ff6bcb 85%, #ffb86c 100%);
  background-size: 350% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px #b6d0f7);
  animation: gradient-move 2.8s linear infinite alternate;
}
@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* === CARRUSEL DESTACADO === */
.carousel-section { padding: 1.5rem 0 2.2rem 0; }

/* Título principal del carrusel */
.carousel-main-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 2rem 0;
  background: linear-gradient(135deg, #2dd4ff 0%, #7b5bff 50%, #ff6bcb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 16px rgba(45, 212, 255, 0.3);
  filter: drop-shadow(0 2px 8px rgba(123, 91, 255, 0.2));
  letter-spacing: 1px;
  position: relative;
  animation: title-glow 3s ease-in-out infinite alternate;
}

/* Título del carrusel en modo oscuro */
.dark-mode .carousel-main-title {
  background: linear-gradient(135deg, #7ed6fc 0%, #b084ff 50%, #ff8bd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(126, 214, 252, 0.5));
}

.carousel-main-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #2dd4ff 0%, #7b5bff 50%, #ff6bcb 100%);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(45, 212, 255, 0.4);
}

@keyframes title-glow {
  0% { filter: drop-shadow(0 2px 8px rgba(123, 91, 255, 0.2)) brightness(1); }
  100% { filter: drop-shadow(0 4px 16px rgba(45, 212, 255, 0.4)) brightness(1.1); }
}
.carousel-wrapper { position: relative; width: 100%; max-width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 0 1rem; }
.carousel-container { width: 100%; max-width: 1100px; overflow: visible; }
.carousel-track { display: flex; gap: 1rem; list-style: none; padding: 0 12px; margin: 0; transition: none; width: 100%; justify-content: center; align-items: stretch; }
.carousel-slide { box-sizing: border-box; min-width: 320px; width: 320px; flex-shrink: 0; padding: 1.25rem 1.25rem; border-radius: 20px; background: linear-gradient(180deg, #0f3b73 0%, #0a2b58 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 0.6rem; min-height: 430px; max-width: 360px; overflow: hidden; position: relative; border: 1px solid rgba(45, 212, 255, 0.15); backdrop-filter: blur(10px); }

.carousel-slide { 
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease; 
  position: relative;
  z-index: 1;
}

.carousel-slide:hover,
.carousel-slide.active:hover { 
  transform: translateY(-12px) !important; 
  box-shadow: 0 35px 65px rgba(8, 20, 48, 0.25), 0 15px 30px rgba(45, 212, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(45, 212, 255, 0.2) !important;
  z-index: 100 !important;
  position: relative;
}

.carousel-slide .slide-title { color: #fff; margin-top: 0.35rem; font-size: 1.02rem; font-weight: 800; position: relative; }
.carousel-slide .slide-title::after { content: ""; display: block; height: 3px; width: 62%; max-width: 180px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, #2dd4ff 0%, #7b5bff 100%); }
.carousel-slide .slide-header { display: flex; align-items: center; justify-content: flex-start; width: calc(100% + 2.5rem); margin: -1.25rem -1.25rem 0 -1.25rem; padding: 0.4rem 1.2rem; border-top-left-radius: 20px; border-top-right-radius: 20px; background: linear-gradient(90deg, #2dd4ff 0%, #7b5bff 70%); font-size: 0.95rem; font-weight: 900; box-shadow: 0 2px 8px rgba(45, 212, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.1); line-height: 1.2; text-align: left; height: 42px; }
.carousel-slide .slide-title { font-size: 0.96rem; font-weight: 800; line-height: 1.25; margin: 0.2rem 0 0 0; }
.carousel-slide .slide-list { font-size: 0.92rem; margin: 0.28rem 0 0 0; padding-left: 1.05rem; color: rgba(255,255,255,0.95); max-height: 180px; overflow: auto; }
.carousel-slide .slide-list li { margin-bottom: 0.26rem; }
.slide-actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; justify-content: center; margin-top: 0.6rem; }
.btn-details { display: inline-flex; align-items: center; gap: 10px; padding: 0.62rem 1.08rem; background: #ffffff; color: #0a2b58; border: none; border-radius: 24px; font-weight: 800; font-size: 0.97rem; cursor: pointer; text-decoration: none; box-shadow: 0 8px 22px rgba(3,18,44,0.16); }
.btn-details::before { content: none; }
.btn-details .icon-bag { width: 44px; height: 44px; border-radius: 50%; display: inline-block; flex: 0 0 44px; position: relative; background: linear-gradient(135deg, #2dd4ff 0%, #18c6f3 50%, #0ea5e9 100%); box-shadow: 0 8px 20px rgba(24,198,243,0.45), inset 0 2px 4px rgba(255,255,255,0.2); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 2px solid rgba(255,255,255,0.3); }
.btn-details .icon-bag::after { content: "🛒"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.btn-details .icon-bag:hover { transform: scale(1.25) rotate(5deg); box-shadow: 0 12px 28px rgba(24,198,243,0.6), 0 0 0 4px rgba(45,212,255,0.3), inset 0 2px 6px rgba(255,255,255,0.3); animation: pulse-glow 0.8s ease infinite alternate; }
.btn-details .icon-bag:hover::after { animation: bag-shake 0.6s ease infinite; }

/* Efecto de brillo pulsante */
@keyframes pulse-glow { 0% { filter: brightness(1); } 100% { filter: brightness(1.15) saturate(1.2); } }
/* Sacudida sutil del emoji */
@keyframes bag-shake { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
.btn-details:hover { transform: translateY(-2px); }

.carousel-btn { display: none; }

.carousel-dots { display: none; }

/* Visual polish: sombra más suave y separación uniforme */
.carousel-slide { margin: 0 12px; box-shadow: 0 25px 50px rgba(8, 20, 48, 0.18), 0 8px 16px rgba(45, 212, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1); }

.carousel-track { align-items: stretch; }

/* Small screens: single column, centered and slightly taller */
@media (max-width: 900px) {
  .carousel-track { padding: 0 8px; }
  .carousel-slide { min-width: 85vw; width: 85vw; max-width: none; min-height: 460px; margin: 10px 0; }
  .carousel-slide .slide-header { margin-left: -1.25rem; margin-right: -1.25rem; width: calc(100% + 2.5rem); padding: 0.35rem 1rem; font-size: 0.85rem; }
  
  .carousel-main-title {
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
  }
  
  .carousel-main-title::after {
    width: 80px;
    height: 3px;
  }
}

/* === VIRTUAL INFO TAGS === */
.virtual-info-tags {
  display: block;
  width: 100%;
  clear: both;
  margin: 3rem 0 2rem 0;
  padding: 0 2rem;
  text-align: center;
}

.virtual-info-tags .info-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === PRESENCIAL INFO TAGS === */
.presencial-info-tags {
  display: block;
  width: 100%;
  clear: both;
  margin: 3rem 0 2rem 0;
  padding: 0 2rem;
  text-align: center;
}

.presencial-info-tags .info-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.info-tag {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.92) 50%,
    rgba(241, 245, 249, 0.88) 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 28px;
  padding: 1rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0c4a6e;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 20px rgba(14, 165, 233, 0.12),
    0 4px 10px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  flex-shrink: 0;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  overflow: visible;
  cursor: pointer;
}

.info-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.info-tag::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.12) 0%, 
    rgba(59, 130, 246, 0.08) 50%,
    rgba(99, 102, 241, 0.06) 100%);
  border-radius: 30px;
  z-index: -1;
  filter: blur(4px);
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}

.info-tag:hover {
  background: linear-gradient(135deg, 
    rgba(240, 249, 255, 0.98) 0%, 
    rgba(224, 242, 254, 0.95) 50%,
    rgba(219, 234, 254, 0.92) 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 10px 24px rgba(6, 182, 212, 0.15),
    0 5px 12px rgba(14, 165, 233, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.info-tag:hover::before {
  opacity: 0.6;
}

.info-tag:hover::after {
  opacity: 0.4;
  filter: blur(6px);
}

.info-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 3px 10px rgba(6, 182, 212, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
}

.info-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transition: all 0.35s ease;
}

.info-tag:hover .info-icon {
  transform: scale(1.15) rotate(180deg);
  box-shadow: 
    0 6px 18px rgba(6, 182, 212, 0.4),
    0 0 0 3px rgba(6, 182, 212, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.info-tag:hover .info-icon::before {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(255, 255, 255, 1);
}

.info-text {
  white-space: nowrap;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.35s ease;
  position: relative;
}

.info-tag:hover .info-text {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.025em;
}

/* Virtual tags specific styles */
.virtual-info-tags .info-tag {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.92) 50%,
    rgba(241, 245, 249, 0.88) 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 28px;
  color: #0c4a6e;
  padding: 1rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 
    0 8px 20px rgba(14, 165, 233, 0.12),
    0 4px 10px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.virtual-info-tags .info-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.virtual-info-tags .info-tag::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.12) 0%, 
    rgba(59, 130, 246, 0.08) 50%,
    rgba(99, 102, 241, 0.06) 100%);
  border-radius: 30px;
  z-index: -1;
  filter: blur(4px);
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}

.virtual-info-tags .info-tag .info-text {
  white-space: nowrap;
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.virtual-info-tags .info-tag:hover {
  background: linear-gradient(135deg, 
    rgba(240, 249, 255, 0.98) 0%, 
    rgba(224, 242, 254, 0.95) 50%,
    rgba(219, 234, 254, 0.92) 100%);
  box-shadow: 
    0 10px 24px rgba(6, 182, 212, 0.15),
    0 5px 12px rgba(14, 165, 233, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px) scale(1.01);
}

.virtual-info-tags .info-tag:hover::before {
  opacity: 0.6;
}

.virtual-info-tags .info-tag:hover::after {
  opacity: 0.4;
  filter: blur(6px);
}

/* Dark mode styles */
.dark-mode .info-tag {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.92) 50%,
    rgba(51, 65, 85, 0.88) 100%);
  box-shadow: 
    0 8px 20px rgba(6, 182, 212, 0.2),
    0 4px 10px rgba(14, 165, 233, 0.15),
    inset 0 1px 0 rgba(56, 189, 248, 0.15);
}

.dark-mode .info-tag::before {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  opacity: 0.7;
}

.dark-mode .info-tag::after {
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.25) 0%, 
    rgba(59, 130, 246, 0.2) 50%,
    rgba(99, 102, 241, 0.15) 100%);
}

.dark-mode .info-tag .info-text {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .info-tag:hover {
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.98) 0%, 
    rgba(51, 65, 85, 0.95) 50%,
    rgba(71, 85, 105, 0.92) 100%);
  box-shadow: 
    0 12px 28px rgba(6, 182, 212, 0.25),
    0 6px 16px rgba(14, 165, 233, 0.2),
    inset 0 2px 0 rgba(56, 189, 248, 0.25),
    0 0 0 4px rgba(6, 182, 212, 0.12);
}

.dark-mode .info-tag:hover::before {
  opacity: 0.9;
}

.dark-mode .info-tag:hover::after {
  opacity: 0.8;
  filter: blur(10px);
}

.dark-mode .info-icon {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  box-shadow: 
    0 3px 10px rgba(6, 182, 212, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dark-mode .info-tag:hover .info-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  box-shadow: 
    0 6px 18px rgba(59, 130, 246, 0.5),
    0 0 0 3px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dark-mode .virtual-info-tags .info-tag {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.92) 50%,
    rgba(51, 65, 85, 0.88) 100%);
  box-shadow: 
    0 6px 18px rgba(6, 182, 212, 0.2),
    0 3px 10px rgba(14, 165, 233, 0.15),
    inset 0 1px 0 rgba(56, 189, 248, 0.15);
}

.dark-mode .virtual-info-tags .info-tag::before {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  opacity: 0.7;
}

.dark-mode .virtual-info-tags .info-tag::after {
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.25) 0%, 
    rgba(59, 130, 246, 0.2) 50%,
    rgba(99, 102, 241, 0.15) 100%);
}

.dark-mode .virtual-info-tags .info-tag .info-text {
  background: linear-gradient(135deg, #7dd3fc 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .virtual-info-tags .info-tag:hover {
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.98) 0%, 
    rgba(51, 65, 85, 0.95) 50%,
    rgba(71, 85, 105, 0.92) 100%);
  box-shadow: 
    0 10px 24px rgba(6, 182, 212, 0.25),
    0 5px 14px rgba(14, 165, 233, 0.2),
    inset 0 2px 0 rgba(56, 189, 248, 0.25),
    0 0 0 4px rgba(6, 182, 212, 0.12);
}

.dark-mode .virtual-info-tags .info-tag:hover::before {
  opacity: 0.9;
}

.dark-mode .virtual-info-tags .info-tag:hover::after {
  opacity: 0.8;
  filter: blur(10px);
}

/* Responsive design */
@media (max-width: 1200px) {
  .info-tags-grid,
  .virtual-info-tags .info-tags-grid {
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .info-tag {
    min-width: 240px;
    font-size: 0.88rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .presencial-info-tags,
  .virtual-info-tags {
    margin: 2rem 0;
    padding: 0 0.5rem;
  }
  
  .info-tags-grid,
  .virtual-info-tags .info-tags-grid {
    gap: 0.8rem;
    justify-content: center;
    padding-bottom: 0.5rem;
  }
  
  .info-tag {
    min-width: 0;
    width: 100%;
    font-size: 0.85rem;
    padding: 0.9rem 1.3rem;
    flex-direction: row;
    text-align: left;
    gap: 0.7rem;
    border-radius: 24px;
  }
  
  .info-tag::before,
  .info-tag::after {
    border-radius: 24px;
  }
  
  .info-text {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
  }
  
  .virtual-info-tags .info-tag {
    max-width: 100%;
    width: 100%;
    font-size: 0.8rem;
    padding: 0.85rem 1.2rem;
    min-width: unset;
    border-radius: 22px;
  }
  
  .virtual-info-tags .info-tag::before,
  .virtual-info-tags .info-tag::after {
    border-radius: 22px;
  }
  
  .virtual-info-tags .info-tags-grid {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  
  .info-icon {
    width: 28px;
    height: 28px;
  }
  
  .info-icon::before {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .info-tag {
    width: 100%;
    padding: 0.9rem 1.3rem;
    font-size: 0.85rem;
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .virtual-info-tags .info-tag {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.85rem 1.2rem;
  }
  
  .info-tags-grid,
  .virtual-info-tags .info-tags-grid {
    gap: 0.7rem;
  }
}


/* Ultima actualizaci�n: 2025-11-19 16:54:37 */
