/* ==========================================================
   INTERLINGO - STYLES.CSS v5.0 — CONSOLIDADO Y OPTIMIZADO
   ✅ Menú móvil funcional (clases corregidas)
   ✅ Colores corporativos: Azul oscuro + Naranja
   ✅ Responsive completo
   ✅ Sin duplicaciones
   ========================================================== */

:root {
  /* ——— Colores Corporativos Interlingo ——— */
  --dark: #03152d;
  --dark-2: #062348;
  --blue: #075fc5;
  --blue-hover: #064fab;
  --orange: #ff5b00;
  --orange-2: #ff7a00;
  --text: #071b3a;
  --muted: #5a6678;
  --white: #ffffff;
  --border: #dce5f2;
  --bg: #f6f9fc;
  --green: #25a76f;

  /* ——— Sombras ——— */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(7, 27, 58, 0.08);
  --shadow-lg: 0 10px 25px rgba(7, 27, 58, 0.10);
  --shadow-xl: 0 20px 40px rgba(7, 27, 58, 0.14);
  --shadow: 0 18px 45px rgba(3, 21, 45, .12);
  --card-shadow: 0 8px 32px rgba(7, 27, 58, .07);

  /* ——— Layout ——— */
  --container: 1200px;
  --navbar-height: 84px;
  
  /* ——— Radii ——— */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius: 18px;

  /* ——— Transiciones ——— */
  --ease: .3s cubic-bezier(.4, 0, .2, 1);
  --ease-bounce: .5s cubic-bezier(.34, 1.56, .64, 1);

  /* ——— HERO ——— */
  --hero-bg-image: url("assets/img/hero/hero-back2.jpg");
}

/* ==========================================================
   RESET
   ========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img, picture, video, svg {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--ease);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   CONTENEDOR
   ========================================================== */
.container {
  width: min(100% - 60px, var(--container));
  margin-inline: auto;
}

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #061a33 0%, #0b2f5b 60%, #061a33 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 100px, var(--container));
  margin-inline: auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo:hover { opacity: 0.9; }

.nav-logo-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
}

/* Logo Text (animación rotativa) */
.nav-logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
  position: relative;
  height: 68px;
  overflow: hidden;
  min-width: 160px;
}

.nav-logo-text .rotate-item {
  display: block;
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(20px) rotateX(-90deg);
  transform-origin: center bottom;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  pointer-events: none;
}

.nav-logo-text .rotate-item.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  pointer-events: auto;
}

.nav-logo-text .logo-clases {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #57c1ff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  top: 14px;
}

.nav-logo-text .logo-interlingo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  top: 16px;
}

.nav-logo-text .logo-online-quito {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #25D366;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  top: 16px;
}

.nav-logo-text .logo-cursos {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f7931e;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 16px;
  overflow: hidden;
}

.logo-cursos .rotate-item {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f7931e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Desktop Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  padding: 6px 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #fff;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}

.nav-caret {
  font-size: 0.6rem;
  margin-left: 4px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

/* Dropdowns */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 6px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-content,
.nav-dropdown:focus-within .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.dropdown-link {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  font-size: 0.8rem;
  transition: all 0.15s ease;
  border-radius: 6px;
}

.dropdown-link:hover {
  background: var(--bg);
  color: var(--orange);
  padding-left: 18px;
}

/* ===== BOTÓN NAVBAR COMPACTO ===== */
.btn-navbar-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-navbar-sm::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 ease;
}

.btn-navbar-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, #ff8c42 0%, #ffaa33 100%);
  color: #fff;
}

.btn-navbar-sm:hover::before {
  left: 100%;
}

.btn-navbar-sm:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
}

.btn-navbar-sm .btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-navbar-sm:hover .btn-icon {
  transform: rotate(-10deg) scale(1.1);
}

.btn-navbar-sm span {
  line-height: 1;
}

/* ===== BOTÓN HAMBURGUESA ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== MENÚ MÓVIL (CLASES CORREGIDAS) ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #03152d 0%, #0a2540 100%);
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-menu-logo img {
  width: 32px;
  height: 32px;
}

.mobile-menu-logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-close:hover {
  background: rgba(255, 107, 53, 0.3);
  transform: rotate(90deg);
}

.mobile-close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-body {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links > li:last-child {
  border-bottom: none;
}

.mobile-nav-links a,
.mobile-nav-links .mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: #e2e8f0;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-links a:hover,
.mobile-nav-links .mobile-dropdown-toggle:hover,
.mobile-nav-links a.active {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  padding-left: 30px;
}

.mobile-nav-links .mobile-dropdown-toggle .mobile-caret {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: #94a3b8;
}

.mobile-nav-links .mobile-dropdown-toggle.active .mobile-caret {
  transform: rotate(180deg);
  color: #ff6b35;
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(0, 0, 0, 0.2);
}

.mobile-dropdown-menu.open {
  max-height: 500px;
}

.mobile-dropdown-menu a {
  padding: 12px 24px 12px 40px;
  font-size: 0.88rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-dropdown-menu a:hover {
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.08);
  padding-left: 46px;
}

.mobile-dropdown-menu a:last-child {
  border-bottom: none;
}

.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.mobile-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.mobile-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-login-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-social-links a:hover {
  background: rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  transform: translateY(-2px);
}

.mobile-social-links svg {
  width: 18px;
  height: 18px;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================
   BANNER VIDEO PRESENTACIÓN
   ========================================================== */
.video-banner {
  background: linear-gradient(135deg, #061a33 0%, #0b2f5b 60%, #ff7a00 100%);
  color: #fff;
  padding: 12px 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDownBanner 0.5s ease;
  display: block;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.video-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.video-banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #fff;
}

.video-icon {
  flex-shrink: 0;
  color: #ff7a00;
  animation: pulseIcon 2s ease-in-out infinite;
  width: 24px;
  height: 24px;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.video-banner-text strong {
  color: #ffcc00;
  font-weight: 700;
}

.video-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #fff;
  color: #ff7a00;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.video-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #ff7a00;
  color: #fff;
}

.video-banner-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.video-banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.video-banner-close svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================
   HERO
   ========================================================== */
/* ===== HERO - ESCRITORIO ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--dark);
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center right; /* Muestra la chica en desktop */
  background-repeat: no-repeat;
}

/* ===== HERO - MÓVIL (Parte oscura) ===== */
@media (max-width: 768px) {
  .hero {
    background-image: url('/assets/img/hero/hero-mobile.jpg'); /* Imagen más oscura o sin chica */
    background-position: center;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 21, 45, 0.7); /* Capa oscura adicional */
    z-index: 0;
  }
  
  .hero-inner {
    position: relative;
    z-index: 1;
  }
  
  .hero h1,
  .hero p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* Más sombra para legibilidad */
  }
}

/* Móvil muy pequeño */
@media (max-width: 480px) {
  .hero {
    background-position: 20% center; /* Ajuste fino para mostrar más la parte oscura */
  }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 36px;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

/* ==========================================================
   BOTONES GLOBALES
   ========================================================== */
.btn {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 30px;
  border-radius: 12px;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 700;
  transition: var(--ease);
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.btn-orange {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 91, 0, .28);
}

.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 91, 0, .38);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .7);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 14px 28px rgba(7, 95, 197, .20);
}

.btn-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-3px);
}

.btn-outline-dark {
  color: var(--text);
  border: 2px solid var(--border);
  background: #fff;
  min-height: 54px;
  font-size: .95rem;
}

.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ==========================================================
   HERO FEATURES
   ========================================================== */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 680px;
}

.hero-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.hero-feature-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.hero-feature-icon svg {
  width: 22px;
  height: 22px;
}

.hero-feature h3 {
  font-size: .95rem;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 700;
}

.hero-feature p {
  font-size: .85rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

/* ==========================================================
   OFERTAS
   ========================================================== */
.offers {
  padding: 80px 0 60px;
  background: #fff;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.offer-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  transition: var(--ease);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(7, 27, 58, .1);
}

.offer-card.orange-card { border-color: #ffd9c6; }
.offer-card.blue-card { border-color: #cfe0f8; }

.offer-label {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.offer-label.orange { background: linear-gradient(180deg, var(--orange-2), var(--orange)); }
.offer-label.blue { background: var(--blue); }

.offer-card h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.offer-card h2 span { color: var(--orange); }

.offer-card p {
  color: #4e5b6e;
  line-height: 1.6;
  margin-bottom: 22px;
}

.offer-list {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c2d45;
  font-size: .96rem;
  font-weight: 500;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: .72rem;
}

.check.green { background: var(--green); }
.check.blue { background: var(--blue); }

.offer-button {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  font-size: 1rem;
  padding: 16px 24px;
}

.offer-visual {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.offer-visual.orange-bg { background: #ffe6d9; color: var(--orange); }
.offer-visual.blue-bg { background: #e6f0ff; color: var(--blue); }

.offer-visual svg {
  width: 80px;
  height: 80px;
}

/* ==========================================================
   TESTIMONIOS
   ========================================================== */
.testimonials {
  padding: 80px 0 60px;
  background: var(--bg);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--orange);
  margin: 16px auto 0;
  border-radius: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  box-shadow: var(--card-shadow);
  transition: var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(7, 27, 58, .1);
}

.student-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
}

.testimonial-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 700;
}

.stars {
  color: #ffb400;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: .95rem;
  line-height: 1.65;
  color: #2e3d54;
  margin: 0;
  font-style: italic;
}

.section-action {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================
   STATS
   ========================================================== */
.stats {
  padding: 80px 0;
  background: #fff;
}

.stats-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat-item {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.stat-item:hover { background: rgba(255, 255, 255, .04); }
.stat-item:last-child { border-right: 0; }

.stat-item svg {
  width: 42px;
  height: 42px;
  color: var(--orange);
}

.stat-item strong {
  display: block;
  color: #ffb13c;
  font-size: 1.35rem;
  font-weight: 800;
}

.stat-item span {
  display: block;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}

/* ==========================================================
   CTA FINAL
   ========================================================== */
.final-cta {
  padding: 40px 0 80px;
  background: #fff;
}

.cta-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius);
  color: #fff;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 91, 0, .12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.cta-box p {
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}

.cta-box .btn {
  min-height: 62px;
  min-width: 250px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer p {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 400px;
  margin: 0;
}

.footer h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links-list, 
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li { margin-bottom: 12px; }

.footer-links-list a {
  display: inline-block;
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  transition: var(--ease);
}

.footer-links-list a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-contact-list li { margin-bottom: 14px; }

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
}

.footer-contact-list a:hover {
  color: var(--orange);
}

.footer-icon {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom > span {
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
}

.footer-legal a:hover {
  color: var(--orange);
}

.footer-legal .separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, .3);
}

/* ==========================================================
   WHATSAPP FLOTANTE
   ========================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 990;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .35);
  animation: whatsapp-entrance 0.6s var(--ease-bounce) 1s backwards;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 211, 102, .5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes whatsapp-entrance {
  from { opacity: 0; transform: scale(0) rotate(-180deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* ==========================================================
   SISTEMA DE ANUNCIOS
   ========================================================== */
.ad-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.ad-close-btn:hover {
  background: rgba(255, 59, 48, 0.9);
  transform: rotate(90deg) scale(1.1);
}

.ad-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Modal de bienvenida */
.ad-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 20px;
}

.ad-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ad-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 450px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ad-modal-overlay.active .ad-modal {
  transform: scale(1) translateY(0);
}

.ad-modal-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.ad-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-modal-content {
  padding: 24px;
  text-align: center;
}

.ad-modal-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #03152d;
  margin: 0 0 12px 0;
}

.ad-modal-content p {
  font-size: 0.95rem;
  color: #4e5b6e;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.ad-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.ad-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

/* Banner de scroll */
.ad-scroll-banner {
  position: fixed;
  z-index: 998;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  width: calc(100% - 40px);
  overflow: hidden;
  animation: adSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ad-position-bottom-right { bottom: 100px; right: 20px; }
.ad-position-bottom-left { bottom: 100px; left: 20px; }
.ad-position-top-right { top: 100px; right: 20px; }
.ad-position-top-left { top: 100px; left: 20px; }

@keyframes adSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ad-scroll-content { display: flex; flex-direction: column; }

.ad-scroll-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, #075fc5 0%, #3498db 100%);
}

.ad-scroll-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-scroll-text { padding: 16px; }

.ad-scroll-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #03152d;
  margin: 0 0 8px 0;
}

.ad-scroll-text p {
  font-size: 0.85rem;
  color: #4e5b6e;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

.ad-cta-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  width: 100%;
}

.ad-cta-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Banner final */
.ad-final-banner {
  padding: 30px 0;
  margin: 40px 0;
}

.ad-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid #ff6b35;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.ad-banner-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.ad-banner-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.ad-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-banner-text { flex: 1; }

.ad-banner-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #03152d;
  margin: 0 0 8px 0;
}

.ad-banner-text p {
  font-size: 0.95rem;
  color: #4e5b6e;
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.ad-banner-text .ad-cta-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ==========================================================
   FORMULARIO BANNER LATERAL
   ========================================================== */
/* ============================================ */
/* FORMULARIO BANNER LATERAL (ESTILO TARJETA)   */
/* ============================================ */
.form-banner-card {
  position: fixed;
  z-index: 997;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 340px; /* Reducido de 380px */
  width: calc(100% - 40px);
  overflow: hidden;
  animation: formBannerSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-banner-left {
  bottom: 50px;
  left: 20px;
}

.form-banner-right {
  bottom: 50px;
  right: 20px;
}

/* Imagen superior más pequeña */
.form-banner-image {
  width: 100%;
  height: 130px; /* Reducido de 160px */
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

/* Cuerpo del formulario con menos padding */
.form-banner-body {
  padding: 18px; /* Reducido de 24px */
  max-height: 450px; /* Reducido de 500px */
  overflow-y: auto;
}

/* Título más pequeño */
.form-banner-title {
  font-size: 1.15rem; /* Reducido de 1.3rem */
  font-weight: 700;
  color: #03152d;
  margin: 0 0 16px 0; /* Reducido de 20px */
  text-align: center;
  line-height: 1.3;
}

.form-banner-title .highlight {
  color: #ff6b35;
  font-weight: 800;
  font-size: 1.3rem; /* Reducido de 1.5rem */
}

/* Formulario con menos espacio */
.form-banner-form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Reducido de 12px */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; /* Reducido de 12px */
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 12px; /* Reducido de 10px 14px */
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.85rem; /* Reducido de 0.9rem */
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

/* Toggle buttons más pequeños */
.toggle-btn {
  padding: 8px; /* Reducido de 10px */
  background: #f8f9fa;
  border: none;
  font-size: 0.8rem; /* Reducido de 0.85rem */
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

/* Phone input más pequeño */
.phone-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.phone-prefix {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.phone-input input {
  border: none;
  background: transparent;
  flex: 1;
  padding: 8px 0;
  font-size: 0.85rem;
}

/* Botón enviar más pequeño */
.btn-submit {
  width: 100%;
  padding: 12px; /* Reducido de 14px */
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem; /* Reducido de 1rem */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

/* Mensajes más pequeños */
.form-message {
  padding: 8px 12px; /* Reducido de 10px 14px */
  border-radius: 8px;
  font-size: 0.8rem; /* Reducido de 0.85rem */
  font-weight: 500;
  display: none;
}

.form-required-note {
  font-size: 0.7rem; /* Reducido de 0.75rem */
  color: #999;
  margin: 0;
}
.form-banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.form-banner-close:hover {
  background: rgba(255, 59, 48, 0.9);
  transform: rotate(90deg) scale(1.1);
}

.form-banner-close svg {
  width: 18px;
  height: 18px;
}

.form-banner-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.form-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-banner-body {
  padding: 24px;
  max-height: 500px;
  overflow-y: auto;
}

.form-banner-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #03152d;
  margin: 0 0 20px 0;
  text-align: center;
  line-height: 1.3;
}

.form-banner-title .highlight {
  color: #ff6b35;
  font-weight: 800;
  font-size: 1.5rem;
}

.form-banner-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff6b35;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder { color: #999; }

.form-group input[readonly] {
  background: #e9ecef;
  cursor: not-allowed;
}

.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.toggle-btn {
  padding: 10px;
  background: #f8f9fa;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.toggle-btn:hover { background: #e9ecef; }

.toggle-btn.active {
  background: #2196F3;
  color: #fff;
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 14px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.phone-input:focus-within {
  border-color: #ff6b35;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.phone-prefix {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.phone-input input {
  border: none;
  background: transparent;
  flex: 1;
  padding: 10px 0;
  font-size: 0.9rem;
}

.phone-input input:focus {
  outline: none;
  box-shadow: none;
}

.form-hidden-fields {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.form-hidden-fields.visible {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px;
}

.form-hidden-fields .form-group {
  animation: slideDown 0.4s ease forwards;
}

.form-hidden-fields .form-group:nth-child(1) { animation-delay: 0.1s; }
.form-hidden-fields .form-group:nth-child(2) { animation-delay: 0.2s; }
.form-hidden-fields .form-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-message {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
}

.form-message.error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.form-message.success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

.form-required-note {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline; }

.form-group input.error-field,
.form-group select.error-field {
  border-color: #c33 !important;
  background: #fff5f5 !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-action { display: none; }
  
  .hero-inner { 
    grid-template-columns: 1fr; 
    min-height: auto; 
    padding: 70px 0 56px; 
  }
  
  .offer-grid, .testimonial-grid { grid-template-columns: 1fr; }
  
  .stats-box { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .15); }
  
  .cta-box { grid-template-columns: 1fr; text-align: center; }
  .cta-box .btn { width: 100%; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Banner video responsive */
  .video-banner { padding: 10px 0; }
  
  .video-banner-content {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    position: relative;
  }
  
  .video-banner-text {
    font-size: 0.85rem;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding-right: 30px;
  }
  
  .video-icon { width: 20px; height: 20px; }
  
  .video-banner-btn {
    margin: 0;
    align-self: flex-start;
    font-size: 0.85rem;
    padding: 6px 16px;
  }
  
  .video-banner-close {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 24px;
    height: 24px;
  }
  
  .video-banner-close svg { width: 14px; height: 14px; }

  /* Anuncios responsive */
  .ad-scroll-banner {
    max-width: calc(100% - 30px);
    right: 15px !important;
    left: 15px !important;
  }

  .ad-position-bottom-right,
  .ad-position-bottom-left { bottom: 90px; }

  .ad-scroll-image { height: 120px; }

  .ad-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .ad-banner-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .ad-banner-image { width: 100px; height: 100px; }

  /* Formulario banner responsive */
  .form-banner-card {
    max-width: calc(100% - 30px);
    left: 15px !important;
    right: 15px !important;
    bottom: 90px;
  }
  
  .form-banner-body { padding: 20px; }
  .form-banner-title { font-size: 1.2rem; }
  .form-banner-title .highlight { font-size: 1.3rem; }
  .form-banner-image { height: 140px; }
}

/* Ocultar menú móvil en desktop */
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-backdrop {
    display: none !important;
  }
}

/* Móvil (≤ 700px) */
@media (max-width: 700px) {
  .container { width: min(100% - 32px, var(--container)); }
  
  .nav-logo-text {
    height: 60px;
    min-width: 140px;
  }
  
  .nav-logo-text .logo-cursos { font-size: 0.55rem; }
  
  .hero-inner { padding: 56px 0 48px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-features { grid-template-columns: 1fr; }
  
  .btn { width: 100%; }
  
  .offer-card { grid-template-columns: 1fr; text-align: center; }
  .offer-visual { margin: 0 auto; }
  .offer-list li { justify-content: center; }
  
  .testimonial-card { grid-template-columns: 1fr; text-align: center; }
  .student-img { margin: 0 auto; }
  .stars { display: flex; justify-content: center; }
  
  .stats-box { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .stat-item:last-child { border-bottom: 0; }
  
  .cta-box { padding: 36px 28px; }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  
  .footer-brand { align-items: center; }
  .footer-logo-link { justify-content: center; }
  .footer p { margin: 0 auto; }
  .footer-links-list a:hover { transform: none; }
  .footer-contact-list a { justify-content: center; }
  
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
  }
  
  .footer-legal { justify-content: center; }

  .whatsapp-float { 
    right: 16px; 
    bottom: 16px; 
    width: 56px; 
    height: 56px; 
  }

  /* Anuncios móvil */
  .ad-modal { max-width: 90%; }
  .ad-modal-image { height: 140px; }
  .ad-modal-content h3 { font-size: 1.2rem; }
  .ad-modal-content p { font-size: 0.9rem; }

  /* Formulario banner móvil */
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .form-banner-title { font-size: 1.1rem; }
  .form-banner-title .highlight { font-size: 1.2rem; }

  /* Video banner móvil pequeño */
  .video-banner { padding: 8px 0; }
  .video-banner-text { font-size: 0.8rem; line-height: 1.3; gap: 8px; }
  .video-banner-btn { font-size: 0.8rem; padding: 5px 12px; }
}

@media (max-width: 480px) {
  .nav-action .btn-navbar-sm span { display: none; }
  .nav-action .btn-navbar-sm::after {
    content: "$25";
    font-size: 0.7rem;
  }

  .ad-modal-content { padding: 20px; }
  .ad-scroll-text { padding: 12px; }
  .ad-banner-content { padding: 20px 16px; }
  .ad-banner-image { width: 80px; height: 80px; }

  .form-banner-body { padding: 16px; }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}