/* ========================================
   ULTRA MEJORA UI - Be One English
   Paleta Pastel Premium: Coral, Lavanda, Aqua, Menta
   ======================================== */

/* ---------- 1. VARIABLES ---------- */
:root {
  /* ----- Paleta principal pastel premium ----- */
  /* Coral-Rosa */
  --primary:       hsl(342, 65%, 76%);   /* #e0748f - coral rosado */
  --primary-soft:  hsl(342, 80%, 96%);   /* #fce9ef - rosa casi blanco */
  --primary-mid:   hsl(342, 55%, 88%);   /* #f0beca - rosa intermedio */
  --primary-dark:  hsl(342, 50%, 60%);   /* #c4546e - coral oscuro */

  /* Azul Polvo */
  --secondary:      hsl(200, 58%, 76%);  /* #82c7e0 - azul polvillo */
  --secondary-soft: hsl(200, 60%, 95%);  /* #e4f4fa - azul muy suave */
  --secondary-mid:  hsl(200, 50%, 85%);  /* #b4dbe9 */
  --secondary-dark: hsl(200, 48%, 54%);  /* #4ea8c8 - azul mÃ¡s saturado */

  /* Menta-Salvia */
  --accent:       hsl(148, 42%, 76%);    /* #90d4a8 - verde menta */
  --accent-soft:  hsl(148, 52%, 95%);    /* #e4f7ec */
  --accent-mid:   hsl(148, 38%, 85%);    /* #b9e5c8 */
  --accent-dark:  hsl(148, 38%, 52%);    /* #4fb878 */

  /* Lavanda */
  --lavender:       hsl(265, 50%, 80%);  /* #b89ed8 */
  --lavender-soft:  hsl(265, 60%, 96%);  /* #f0eafa */
  --lavender-dark:  hsl(265, 42%, 58%);  /* #8b6bbf */

  /* MelocotÃ³n */
  --peach:       hsl(25, 75%, 80%);      /* #f0a882 */
  --peach-soft:  hsl(25, 80%, 96%);      /* #fef0e8 */
  --peach-dark:  hsl(25, 60%, 60%);      /* #cb7d52 */

  /* Gradientes de marca */
  --grad-primary:   linear-gradient(135deg, var(--primary) 0%, var(--lavender) 100%);
  --grad-cool:      linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  --grad-warm:      linear-gradient(135deg, var(--primary) 0%, var(--peach) 100%);
  --grad-pastel:    linear-gradient(135deg, hsl(342,65%,93%) 0%, hsl(200,58%,93%) 50%, hsl(148,42%,93%) 100%);
  --grad-hero:      linear-gradient(135deg, hsla(342,65%,20%,0.75) 0%, hsla(265,50%,20%,0.45) 55%, hsla(200,58%,20%,0.2) 100%);

  /* Neutros */
  --bg:          hsl(270, 20%, 99%);     /* casi blanco con toque violeta */
  --surface:     #ffffff;
  --surface-alt: hsl(265, 30%, 97%);     /* lavanda muy suave */
  --text:        hsl(242, 24%, 26%);     /* azul oscuro casi negro */
  --text-light:  hsl(242, 16%, 52%);
  --muted:       hsla(242, 16%, 52%, 0.72);
  --stroke:      hsla(242, 20%, 50%, 0.09);
  --border:      hsla(242, 20%, 50%, 0.15);

  /* Radios */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Sombras pastel con tono color */
  --shadow-xs: 0 2px 8px hsla(342,50%,50%,0.06);
  --shadow-sm: 0 4px 16px hsla(342,50%,50%,0.10);
  --shadow-md: 0 8px 28px hsla(242,40%,30%,0.10);
  --shadow-lg: 0 20px 56px hsla(242,40%,30%,0.13);
  --shadow-glow-primary: 0 8px 32px hsla(342,65%,60%,0.22);
  --shadow-glow-secondary: 0 8px 32px hsla(200,58%,55%,0.22);

  /* Layout */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-full: 100%;

  /* Spacing (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;

  /* Typography */
  --font-family: 'Outfit', 'Quicksand', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.72rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.625rem;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
  --transition-base: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --transition-spring: 0.45s cubic-bezier(0.34,1.56,0.64,1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-x: hidden;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 3. CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* App Wrapper */
.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  width: 100%;
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }

/* ---------- 4. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

/* ---------- 5. IMAGES ---------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 11px var(--space-xl);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.12); }

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 36px hsla(342,65%,58%,0.32);
  color: white;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid hsla(342,50%,80%,0.5);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ---------- 7. CARDS ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: hsla(342,65%,76%,0.3);
}

.card:hover::before { opacity: 1; }

/* ---------- 8. GRID SYSTEM ---------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 9. FLEXBOX ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ---------- 10. SPACING ---------- */
.m-0 { margin: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* ---------- 11. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid hsla(342, 50%, 80%, 0.18);
  box-shadow: 0 2px 20px hsla(342, 50%, 50%, 0.06);
}

.top-bar {
  background: var(--grad-pastel);
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid hsla(342,65%,70%,0.15);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.top-bar ul {
  list-style: none;
}

.top-bar .contact-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.top-bar .social-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.top-bar li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-light);
}

.top-bar a {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.top-bar a:hover {
  color: var(--primary-dark);
}

.top-bar i {
  color: var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  height: 70px;
  padding: 0 var(--space-md);
  max-width: var(--container-xl);
  margin: 0 auto;
  gap: var(--space-md);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--text);
}

.site-logo img {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.nav-link {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-dropdown-toggle:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stroke);
  padding: var(--space-sm);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-soft);
}

.dropdown-item img {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.dropdown-item-info h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.dropdown-item-info p {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  margin: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .site-header { position: relative; z-index: 999; }
  .header-inner { position: relative; z-index: 999; }
  .mobile-menu-toggle { display: flex; z-index: 10001; position: relative; }
  .main-nav { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 0;
    box-shadow: none;
    display: none;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: var(--space-xl);
  }
  .nav-link { width: 100%; text-align: center; font-size: 1.5rem; padding: var(--space-lg); }
  .main-nav .btn { margin-top: var(--space-xl); font-size: 1.25rem; padding: var(--space-lg) var(--space-2xl); }
}

/* ---------- 12. HERO SECTION ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: var(--space-2xl) var(--space-md);
}

.hero-content .eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: var(--space-md);
  background: rgba(255,255,255,0.25);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.hero-content h1,
.hero-content h2,
.hero-content h3 {
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: var(--space-md);
  background: rgba(255,255,255,0.25);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: var(--font-size-4xl);
  color: #ffffff;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all var(--transition-spring);
}

.hero-dot.active {
  background: white;
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* ---------- 13. STATS SECTION ---------- */
.stats-section {
  padding: var(--space-3xl) 0;
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-pastel);
  opacity: 0.25;
  border-radius: inherit;
  pointer-events: none;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- 14. PILLARS SECTION ---------- */
.pillars-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  line-height: 1.65;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.pillar-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-pastel);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(342,65%,76%,0.3);
}

.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: var(--grad-cool);
  border-radius: 50%;
  font-size: 1.6rem;
  color: white;
  box-shadow: var(--shadow-glow-secondary);
  transition: all var(--transition-spring);
  position: relative;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 10px 28px hsla(200,58%,55%,0.35);
}

.pillar-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.pillar-description {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ---------- 15. COURSES SECTION ---------- */
.courses-section {
  padding: var(--space-3xl) 0;
  background: var(--surface);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.course-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: all var(--transition-base);
  display: block;
  box-shadow: var(--shadow-xs);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(342,65%,76%,0.3);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: block;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-image img {
  transform: scale(1.07);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.course-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--grad-primary);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px hsla(342,65%,58%,0.30);
}

.course-content {
  padding: var(--space-lg);
}

.course-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.course-description {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--secondary-dark);
  margin-bottom: var(--space-sm);
}

.intensive-features {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.intensive-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text);
  padding: var(--space-xs) 0;
}

.intensive-features li i {
  font-size: var(--font-size-xs);
}

@media (max-width: 992px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }
  .course-grid {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 576px) {
  .courses-grid { grid-template-columns: 1fr; }
  .course-grid article.card {
    padding: var(--space-lg) var(--space-md) !important;
  }
  .course-grid article.card > div:first-of-type {
    width: 80px !important;
    height: 80px !important;
  }
  .course-grid article.card > div:first-of-type i {
    font-size: 32px !important;
  }
  .course-grid article.card h3 {
    font-size: var(--font-size-lg) !important;
  }
  .course-grid article.card p {
    font-size: var(--font-size-sm) !important;
  }
  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- 16. TESTIMONIALS ---------- */
.testimonials-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid hsla(342,65%,76%,0.2);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md), inset 0 0 0 1px hsla(342,65%,76%,0.07);
  position: relative;
  overflow: hidden;
}

.testimonial-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.testimonial-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-pastel);
  opacity: 0.18;
  pointer-events: none;
  border-radius: inherit;
}

.testimonial-slide {
  text-align: center;
}

.testimonial-quote {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  position: relative;
  padding: 0 var(--space-xl);
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 4rem;
  color: var(--primary-soft);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: var(--grad-primary) padding-box, var(--grad-primary) border-box;
  box-shadow: 0 4px 14px hsla(342,65%,58%,0.25);
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.testimonial-role {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  margin: 0;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

/* ---------- 17. CTA SECTION ---------- */
.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--grad-pastel);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(224,116,143,0.07)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

/* ---------- 18. FOOTER ---------- */
.site-footer {
  background: var(--text);
  color: white;
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo img {
  height: 35px;
  border-radius: var(--radius-sm);
}

.footer-description {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: var(--space-xs);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.5);
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 18. EVENTS GALLERY ---------- */
.events-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.event-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.event-carousel-slide {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.event-carousel-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.event-carousel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-carousel-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: white;
}

.event-carousel-info {
  padding: var(--space-xl);
  text-align: center;
}

.event-carousel-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.event-carousel-desc {
  font-size: var(--font-size-base);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.event-carousel-dots {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.event-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stroke);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.event-carousel-dot.active {
  background: var(--primary);
  transform: scale(1.4);
}

.carousel-nav {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.carousel-nav:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .event-carousel-image-wrapper { height: 220px; }
  .event-carousel-info { padding: var(--space-lg); }
  .event-carousel-title { font-size: var(--font-size-xl); }
}

@media (max-width: 480px) {
  .event-carousel { gap: var(--space-sm); }
  .event-carousel-image-wrapper { height: 180px; }
  .carousel-nav { width: 36px; height: 36px; }
}

/* ---------- 18.1 Photo Carousel ---------- */
.photo-carousel-card {
  overflow: hidden;
  padding: 0;
}

.photo-carousel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.photo-carousel-main {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.photo-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: var(--space-sm); }
.carousel-next { right: var(--space-sm); }

.photo-carousel-info {
  padding: var(--space-lg);
  flex: 1;
}

.photo-carousel-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.photo-carousel-event-icon {
  font-size: 1.25rem;
  color: var(--event-color, var(--primary));
}

.photo-carousel-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
}

.photo-carousel-description {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.photo-carousel-dots {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
}

.photo-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stroke);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.photo-carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .photo-carousel-main { height: 160px; }
}

@media (max-width: 480px) {
  .photo-carousel-main { height: 140px; }
}

/* ---------- 19. ANIMATIONS ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes fadeInDown {
  from { 
    opacity: 0; 
    transform: translateY(-30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes scaleIn {
  from { 
    opacity: 0; 
    transform: scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

.animate-fade-in { 
  animation: fadeIn 0.6s ease forwards; 
  overflow: hidden;
}
.animate-fade-in-up { 
  animation: fadeInUp 0.6s ease forwards; 
  overflow: hidden;
}
.animate-fade-in-down { 
  animation: fadeInDown 0.6s ease forwards; 
  overflow: hidden;
}
.animate-scale-in { 
  animation: scaleIn 0.6s ease forwards; 
  overflow: hidden;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ---------- 20. UTILITIES ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-light); }

.bg-primary { background: var(--primary-soft); }
.bg-secondary { background: var(--secondary-soft); }
.bg-accent { background: var(--accent-soft); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1200px) {
  :root {
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 1.75rem;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero {
    min-height: 450px;
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.35rem;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- 22. ACCESSIBILITY ---------- */
/* ========================================
   RESPONSIVE - Mobile First
   ======================================== */

/* Base mobile styles */
@media (max-width: 576px) {
  :root {
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
  }
  
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--space-md);
    max-width: 100%;
  }
  
  .section-header {
    padding: 0 var(--space-md);
  }
  
  .section-title {
    font-size: 1.5rem !important;
  }
  
  .section-subtitle {
    font-size: 0.95rem !important;
  }
  
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }
  p { font-size: 0.95rem; }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
}

/* Header responsive */
@media (max-width: 992px) {
  .header-inner {
    padding: var(--space-md);
  }
  
  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 2147483647;
    padding: var(--space-xl);
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    width: 100%;
  }
  
  .nav-links li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    font-size: var(--font-size-lg);
    display: block;
    padding: var(--space-md);
  }
  
  .main-nav .btn {
    margin-top: var(--space-md);
    font-size: var(--font-size-lg);
    padding: var(--space-md) var(--space-2xl);
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .site-logo img {
    height: 40px;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Hero responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: var(--space-lg);
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-eyebrow {
    font-size: 0.85rem;
  }
}

/* Grids responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* Top bar responsive */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .top-bar-content {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-sm);
  }
  
  .contact-list,
  .social-links {
    justify-content: center;
  }
}

/* Cards responsive */
@media (max-width: 576px) {
  .card {
    padding: var(--space-lg) var(--space-md);
    margin: 0 var(--space-sm);
  }
  
  .course-card {
    margin-bottom: var(--space-md);
  }
  
  .course-image {
    height: 140px !important;
  }
  
  .course-content {
    padding: var(--space-md);
  }
  
  .course-title {
    font-size: 1.1rem;
  }
  
  .course-description {
    font-size: 0.85rem;
  }
}

/* Intensive features responsive */
@media (max-width: 576px) {
  .intensive-features {
    padding-left: var(--space-sm);
  }
  
  .intensive-features li {
    font-size: 0.85rem;
    padding: var(--space-xs) 0;
  }
  
  .course-meta {
    font-size: 0.8rem !important;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  
  .course-meta span {
    display: block;
  }
}

/* Photo carousel responsive */
@media (max-width: 576px) {
  .photo-carousel-main img {
    height: 180px !important;
  }
  
  .photo-carousel-info {
    padding: var(--space-sm) !important;
  }
  
  .photo-carousel-info h3 {
    font-size: 1rem;
  }
  
  .photo-carousel-info p {
    font-size: 0.8rem;
  }
}

/* Testimonials responsive */
@media (max-width: 576px) {
  .testimonial-slide {
    padding: var(--space-md);
  }
  
  .testimonial-quote {
    font-size: 1rem !important;
    font-style: italic;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
}

/* CTA responsive */
@media (max-width: 576px) {
  .cta-section {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .cta-title {
    font-size: 1.5rem !important;
  }
  
  .cta-description {
    font-size: 0.95rem;
  }
  
  .cta-content {
    text-align: center;
  }
}

/* Footer responsive */
@media (max-width: 576px) {
  .site-footer {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
  }
  
  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .footer-logo img {
    height: 50px;
  }
  
  .footer-links {
    padding-left: 0;
    list-style: none;
  }
  
  .footer-links li {
    padding: var(--space-xs) 0;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 0.85rem;
  }
  
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
  }
}

/* Forms responsive */
@media (max-width: 576px) {
  .form-group {
    margin-bottom: var(--space-md);
  }
  
  input, textarea, select {
    padding: var(--space-sm) var(--space-md);
    font-size: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Tabs responsive */
@media (max-width: 576px) {
  .tab-list {
    flex-direction: column;
  }
  
  .tab-button {
    width: 100%;
    text-align: center;
  }
}

/* Journey timeline responsive */
@media (max-width: 576px) {
  .journey-steps {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .journey-step {
    width: 100%;
    text-align: center;
  }
}

/* FAQ responsive */
@media (max-width: 576px) {
  .faq-item {
    padding: var(--space-md);
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
}

/* Contact channels responsive */
@media (max-width: 576px) {
  .contact-channel {
    padding: var(--space-md);
    text-align: center;
  }
  
  .contact-channel i {
    font-size: 2rem !important;
  }
}

/* Floating WhatsApp responsive */
@media (max-width: 576px) {
  .floating-whatsapp {
    bottom: var(--space-md);
    right: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }
}

/* Pillar cards responsive */
@media (max-width: 576px) {
  .pillar-card {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
  }
  
  .pillar-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 auto var(--space-md);
  }
  
  .pillar-title {
    font-size: 1.1rem;
  }
  
  .pillar-description {
    font-size: 0.9rem;
  }
}

/* Stats responsive */
@media (max-width: 576px) {
  .stat-card {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
  }
  
  .stat-value {
    font-size: 2rem !important;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
}

/* Nav dropdown responsive */
@media (max-width: 992px) {
  .nav-dropdown {
    position: relative;
  }
  
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-md);
    display: none;
  }
  
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  
  .dropdown-item {
    padding: var(--space-sm) var(--space-md);
  }
  
  .dropdown-item img {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Page hero responsive */
@media (max-width: 576px) {
  .eyebrow {
    font-size: 0.8rem;
    margin-bottom: var(--space-sm);
    display: block;
  }
  
  .page-hero h1 {
    font-size: 1.75rem !important;
  }
  
  .page-hero p {
    font-size: 0.95rem;
  }
}

/* Utility classes for mobile */
@media (max-width: 576px) {
  .hidden-mobile {
    display: none !important;
  }
  
  .text-center-mobile {
    text-align: center;
  }
  
  .mt-mobile {
    margin-top: var(--space-md);
  }
  
  .mb-mobile {
    margin-bottom: var(--space-md);
  }
  
  .p-mobile {
    padding: var(--space-md);
  }
}

/* ========== MINIMUM 576px ========== */
@media (min-width: 576px) {
  .hidden-sm {
    display: none !important;
  }
}

/* ========== MINIMUM 768px ========== */
@media (min-width: 768px) {
  .hidden-md {
    display: none !important;
  }
}

/* ========== MINIMUM 992px ========== */
@media (min-width: 992px) {
  .hidden-lg {
    display: none !important;
  }
}

/* ========== MINIMUM 1200px ========== */
@media (min-width: 1200px) {
  .hidden-xl {
    display: none !important;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-sm);
  z-index: 9999;
  background: var(--primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space-sm);
}

/* GSAP animations */
.hero-slide,
.course-card,
.pillar-card,
.stat-card,
.testimonial-slide {
  will-change: transform, opacity;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ========== MOBILE MENU FIX ========== */
@media (max-width: 992px) {
  .main-nav { z-index: 2147483647 !important; }
  .main-nav.open { display: flex !important; align-items: center !important; justify-content: center !important; }
  .main-nav .btn { margin-top: var(--space-md); }
}
@media (max-width: 768px) {
  .main-nav { z-index: 2147483647 !important; }
  .main-nav.open { display: flex !important; }
}

/* ========== PROFESSORS ========== */
.professors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); max-width: 900px; margin: 0 auto; }
.professor-card { text-align: center; padding: var(--space-xl); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--stroke); box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.professor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.professor-avatar { width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-md); border: 3px solid; }
.professor-avatar i { font-size: 2.5rem; }
.professor-name { font-size: var(--font-size-xl); font-weight: 600; margin-bottom: var(--space-sm); }
.professor-level { display: inline-block; font-size: var(--font-size-sm); font-weight: 600; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-full); border: 1px solid; margin-bottom: var(--space-md); }
.professor-bio { font-size: var(--font-size-sm); color: var(--text-light); line-height: 1.6; margin-bottom: var(--space-md); }
.professor-levels { display: flex; justify-content: center; gap: var(--space-sm); }
.level-badge { display: inline-block; font-size: var(--font-size-sm); font-weight: 600; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-full); border: 1px solid; }
@media (max-width: 768px) { .professors-grid { grid-template-columns: 1fr; } }

/* ========== EXAMS ========== */
.exams-section { padding: var(--space-3xl) 0; background: var(--surface-alt); }
.exams-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }
.exam-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--stroke); overflow: hidden; transition: all var(--transition-base); box-shadow: var(--shadow-xs); }
.exam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.exam-image { height: 140px; display: flex; align-items: center; justify-content: center; }
.exam-image i { font-size: 3.5rem; }
.exam-content { padding: var(--space-lg); }
.exam-badge { display: inline-block; font-size: var(--font-size-xs); font-weight: 600; color: white; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-full); margin-bottom: var(--space-sm); }
.exam-title { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.exam-description { font-size: var(--font-size-sm); color: var(--text-light); line-height: 1.6; margin-bottom: var(--space-md); }
.exam-levels { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--font-size-sm); color: var(--text); margin-bottom: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--stroke); }
.exam-levels i { color: var(--primary); }
.exam-features { list-style: none; padding: 0; margin: 0 0 var(--space-lg); }
.exam-features li { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: var(--font-size-sm); color: var(--text); padding: var(--space-xs) 0; }
@media (max-width: 992px) { .exams-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .exams-grid { grid-template-columns: 1fr; } .exam-image { height: 120px; } .exam-image i { font-size: 3rem; } }

/* ========== CLASS MODES ========== */
.class-modes-section { padding: var(--space-3xl) 0; background: var(--bg); }
.class-modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.class-mode-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--stroke); padding: var(--space-xl); text-align: center; box-shadow: var(--shadow-xs); transition: all var(--transition-base); }
.class-mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mode-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-lg); }
.mode-icon i { font-size: 1.8rem; }
.mode-title { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.mode-description { font-size: var(--font-size-sm); color: var(--text-light); line-height: 1.6; margin-bottom: var(--space-md); }
.mode-features { list-style: none; padding: 0; margin: 0 0 var(--space-lg); text-align: left; }
.mode-features li { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: var(--font-size-sm); color: var(--text); padding: var(--space-xs) 0; }
.mode-duration { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); font-size: var(--font-size-sm); color: var(--text-light); margin-bottom: var(--space-md); padding: var(--space-sm); background: var(--surface-alt); border-radius: var(--radius-md); }
.mode-duration i { color: var(--primary); }
@media (max-width: 992px) { .class-modes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .class-modes-grid { grid-template-columns: 1fr; } }

/* ========== MAP ========== */
.map-section { padding: var(--space-3xl) 0; background: var(--bg); }
.map-wrapper { max-width: 1000px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--stroke); }
.map-wrapper iframe { display: block; width: 100%; }
@media (max-width: 768px) { .map-wrapper iframe { height: 300px !important; } }

/* ========== WHATSAPP BUTTON ========== */
.floating-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; border: none; border-radius: var(--radius-full); padding: 14px 22px; font-size: var(--font-size-sm); font-weight: 600; text-decoration: none; box-shadow: 0 8px 28px rgba(37,211,102,0.4); transition: all var(--transition-base); cursor: pointer; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 40px rgba(37,211,102,0.5); color: #fff; }
.floating-whatsapp i { font-size: 1.4rem; }
.whatsapp-pulse { position: absolute; inset: -4px; border-radius: inherit; background: rgba(37,211,102,0.3); animation: waPulse 2s ease-in-out infinite; pointer-events: none; }
@keyframes waPulse { 0%,100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 0; } }
.whatsapp-label { display: inline; }
@media (max-width: 768px) { .floating-whatsapp { bottom: 84px; right: 16px; padding: 14px; border-radius: 50%; } .whatsapp-label { display: none; } }

/* ========== ADMIN PANEL ========== */
.admin-toggle-btn { position: fixed; bottom: 24px; left: 24px; z-index: 9998; width: 48px; height: 48px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-size: 1.1rem; cursor: pointer; box-shadow: 0 6px 20px rgba(224,143,165,0.35); transition: all var(--transition-base); display: flex; align-items: center; justify-content: center; }
.admin-toggle-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 10px 30px rgba(224,143,165,0.5); }
@media (max-width: 768px) { .admin-toggle-btn { bottom: 84px; left: 16px; width: 42px; height: 42px; font-size: 1rem; } }
.admin-stats-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); z-index: 99999; background: var(--surface); box-shadow: -8px 0 40px rgba(0,0,0,0.15); overflow-y: auto; animation: slideInR 0.35s ease; }
@keyframes slideInR { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.admin-stats-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg) var(--space-xl); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; position: sticky; top: 0; z-index: 1; }
.admin-stats-title { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-lg); font-weight: 700; }
.admin-stats-actions .btn-sm { padding: 6px 10px; font-size: var(--font-size-sm); background: rgba(255,255,255,0.2); border: none; color: white; border-radius: var(--radius-sm); cursor: pointer; }
.admin-stats-actions .btn-sm:hover { background: rgba(255,255,255,0.35); }
.admin-stats-body { padding: var(--space-xl); }
.admin-stat-card { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md); background: var(--surface-alt); border-radius: var(--radius-md); border: 1px solid var(--stroke); margin-bottom: var(--space-sm); }
.admin-stat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.admin-stat-card--primary { background: linear-gradient(135deg, rgba(224,143,165,0.1), rgba(142,202,230,0.1)); border-color: var(--primary); }
.admin-stat-card--total { background: linear-gradient(135deg, rgba(142,202,230,0.1), rgba(181,227,196,0.1)); border-color: var(--secondary); }
.admin-stat-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); background: var(--primary-soft); flex-shrink: 0; }
.admin-stat-card--primary .admin-stat-icon { background: var(--primary-soft); color: var(--primary); }
.admin-stat-card--total .admin-stat-icon { background: var(--secondary-soft); color: var(--secondary-dark); }
.admin-stat-info { display: flex; flex-direction: column; }
.admin-stat-value { font-size: var(--font-size-xl); font-weight: 800; color: var(--text); line-height: 1; }
.admin-stat-label { font-size: var(--font-size-xs); color: var(--text-light); margin-top: 2px; }
.admin-stat-dates { margin-top: var(--space-md); padding: var(--space-md); background: var(--surface-alt); border-radius: var(--radius-md); border: 1px solid var(--stroke); font-size: var(--font-size-xs); color: var(--text-light); }
.admin-stat-dates p { margin: 4px 0; font-size: var(--font-size-xs); }
.btn-clear-stats { width: 100%; margin-top: var(--space-md); padding: var(--space-sm) var(--space-md); font-size: var(--font-size-xs); color: var(--text-light); border: 1px dashed var(--border); background: transparent; border-radius: var(--radius-md); cursor: pointer; }
.btn-clear-stats:hover { color: #e53935; border-color: #e53935; background: rgba(229,57,53,0.05); }
.admin-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-3xl) var(--space-md); color: var(--text-light); }
.admin-loading i { font-size: 2rem; color: var(--primary); margin-bottom: var(--space-md); }
.admin-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-3xl) var(--space-md); text-align: center; color: var(--text-light); }
.admin-empty i { font-size: 3rem; color: var(--border); margin-bottom: var(--space-md); }
.admin-empty p { font-size: var(--font-size-sm); margin-bottom: var(--space-xs); }
.admin-section-title { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-sm); font-weight: 700; color: var(--text); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--stroke); }
.admin-section-title i { color: var(--primary); }

/* ---------- ULTRA MEJORA MOVIL (UI/UX) ---------- */
@media (max-width: 768px) {
  h1, .hero-title { font-size: calc(var(--font-size-3xl) * 0.9) !important; }
  h2 { font-size: calc(var(--font-size-2xl) * 0.95); }
  .btn { padding: calc(var(--space-md) * 0.9) calc(var(--space-xl) * 0.9); }
  .hero-content { padding: var(--space-xl) var(--space-md); }
  .main-nav.open .nav-link { font-size: 1.3rem; padding: var(--space-md); }
  .course-card .course-badge { right: 10px; top: 10px; font-size: var(--font-size-xs); }
}

@media (max-width: 480px) {
  .hero-nav .hero-dot { width: 14px; height: 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card { padding: var(--space-md); }
  h1, .hero-title { font-size: calc(var(--font-size-2xl) * 1.1) !important; }
}

/* ========== PALETA PREMIUM - TOQUES FINALES ========== */

/* Hero eyebrow badge mejorado */
.hero-eyebrow,
.hero-content .eyebrow {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.12em;
}

/* Secciones alternadas con fondo pastel suave */
.pillars-section  { background: var(--bg); }
.courses-section  { background: var(--surface); }
.stats-section    { background: var(--surface-alt); }
.testimonials-section { background: var(--bg); }
.events-section   { background: var(--surface); }
.exams-section    { background: var(--surface-alt); }
.class-modes-section { background: var(--bg); }

/* Professor cards renovadas */
.professor-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.professor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-pastel);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
}
.professor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.professor-card:hover::before { opacity: 1; }
.professor-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
  background: var(--grad-cool);
  box-shadow: var(--shadow-glow-secondary);
  border: none;
  position: relative;
}
.professor-avatar i { font-size: 2.5rem; color: white; }

/* Exam cards */
.exam-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}
.exam-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: hsla(342,65%,76%,0.35); }

/* Class mode cards */
.class-mode-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.class-mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.class-mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mode-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-lg);
  background: var(--grad-primary);
  box-shadow: var(--shadow-glow-primary);
}
.mode-icon i { font-size: 1.8rem; color: white; }

/* FAQ mejorado */
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}
.faq-item:hover { border-color: hsla(342,65%,76%,0.35); box-shadow: var(--shadow-sm); }
.faq-question { font-weight: 600; padding: var(--space-lg); cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-answer { padding: 0 var(--space-lg) var(--space-lg); color: var(--text-light); line-height: 1.7; font-size: var(--font-size-sm); }

/* Nav active indicator line */
.nav-link.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}
.nav-link { transition: all var(--transition-fast); border-radius: var(--radius-full); }

/* Footer bg refinamiento */
.site-footer { background: hsl(242, 24%, 18%); }

/* Map border */
.map-wrapper { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--stroke); }

/* Scrollbar pastel */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-mid); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========== DARK MODE ========== */
html.dark {
  --bg:          hsl(242, 20%, 12%);
  --surface:     hsl(242, 20%, 16%);
  --surface-alt: hsl(242, 20%, 20%);
  --text:        hsl(242, 10%, 92%);
  --text-light:  hsl(242, 8%, 70%);
  --stroke:      hsla(242, 40%, 80%, 0.08);
  --border:      hsla(242, 40%, 80%, 0.14);
  --shadow-xs: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.32);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.40);
  --shadow-lg: 0 20px 56px rgba(0,0,0,0.50);
}
html.dark .site-header { background: hsla(242, 20%, 14%, 0.92); }
html.dark .site-footer { background: hsl(242,20%,8%); }
html.dark .top-bar { background: hsl(242,20%,14%); border-color: hsla(342,50%,60%,0.12); }

/* ========== DARK MODE TOGGLE ========== */
.dark-mode-toggle {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9997;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}
.dark-mode-toggle:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) { .dark-mode-toggle { bottom: 84px; right: 72px; width: 38px; height: 38px; } }

/* ========== PROMO BANNER ========== */
.promo-banner {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--grad-primary);
  color: white;
  text-align: center;
  padding: 10px var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  box-shadow: 0 3px 16px hsla(342,65%,50%,0.22);
}
.promo-banner-cta {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-fast);
}
.promo-banner-cta:hover { background: rgba(255,255,255,0.35); color: white; }
.promo-banner-close {
  background: none; border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
  line-height: 1;
  transition: color var(--transition-fast);
}
.promo-banner-close:hover { color: white; }
@media (max-width: 480px) {
  .promo-banner { font-size: var(--font-size-xs); padding: 8px var(--space-md); }
}

/* ========== TRUST BADGES ========== */
.trust-badges-section {
  background: var(--surface);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--stroke);
}
.trust-badges-label {
  text-align: center;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  transition: transform var(--transition-spring);
}
.trust-badge-item:hover { transform: translateY(-4px); }
.trust-badge-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  transition: all var(--transition-base);
}
.trust-badge-item:hover .trust-badge-icon { transform: scale(1.1); }
.trust-badge-name {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}
@media (max-width: 576px) {
  .trust-badges-row { gap: var(--space-md); }
  .trust-badge-icon { width: 44px; height: 44px; font-size: 1.2rem; }
}

/* ========== HOW IT WORKS ========== */
.how-section {
  padding: var(--space-3xl) 0;
  background: var(--grad-pastel);
  position: relative;
  overflow: hidden;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}
.how-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}
.how-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.how-step-number {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 800;
  box-shadow: var(--shadow-glow-primary);
}
.how-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin: var(--space-lg) auto var(--space-md);
  box-shadow: var(--shadow-glow-primary);
  transition: all var(--transition-spring);
}
.how-card:hover .how-icon { transform: scale(1.08) rotate(-4deg); }
.how-title { font-size: var(--font-size-lg); font-weight: 700; margin-bottom: var(--space-sm); }
.how-desc { font-size: var(--font-size-sm); color: var(--text-light); line-height: 1.65; }
.how-connector {
  position: absolute;
  top: 50%;
  right: calc(-var(--space-2xl) / 2 - 4px);
  width: var(--space-2xl);
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.35;
}
@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .how-connector { display: none; }
}

/* ========== EXIT INTENT POPUP ========== */
.popup-overlay {
  position: fixed; inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
  animation: fadeIn 0.3s ease;
}
.popup-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 440px; width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border-top: 4px solid var(--primary);
}
.popup-close {
  position: absolute; top: var(--space-md); right: var(--space-md);
  background: var(--surface-alt); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.popup-close:hover { background: var(--primary-soft); color: var(--primary-dark); }
.popup-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: white;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-glow-primary);
}
.popup-title { font-size: var(--font-size-2xl); font-weight: 700; margin-bottom: var(--space-md); }
.popup-subtitle { font-size: var(--font-size-base); color: var(--text-light); margin-bottom: var(--space-xl); line-height: 1.65; }
.popup-actions { display: flex; flex-direction: column; gap: var(--space-md); align-items: center; }
.popup-cta { width: 100%; }
.popup-skip { background: none; border: none; cursor: pointer; color: var(--text-light); font-size: var(--font-size-sm); text-decoration: underline; }
.popup-skip:hover { color: var(--text); }

/* ========== IMAGE PROMO POPUP ========== */
.promo-popup-overlay {
  position: fixed; inset: 0;
  z-index: 100001;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  animation: fadeIn 0.3s ease;
}
.promo-popup-card {
  position: relative;
  max-width: 500px;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
.promo-popup-image {
  width: 100%;
  display: block;
}
.promo-popup-actions {
  padding: var(--space-lg);
  display: flex;
  justify-content: center;
}
.promo-popup-cta {
  width: 100%;
}

/* ========== BOTTOM MOBILE NAV ========== */
.bottom-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  background: var(--surface);
  border-top: 1px solid var(--stroke);
  box-shadow: 0 -4px 20px hsla(242,40%,20%,0.10);
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 4px 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--font-size-xs);
  font-weight: 600;
  flex: 1;
  transition: color var(--transition-fast);
}
.bottom-nav-item i { font-size: 1.2rem; }
.bottom-nav-item:hover { color: var(--primary); }
.bottom-nav-highlight {
  background: var(--grad-primary);
  color: white !important;
  border-radius: var(--radius-lg);
  margin: -4px 4px;
  padding: 8px 12px;
  box-shadow: var(--shadow-glow-primary);
}
.bottom-nav-highlight:hover { color: white !important; }
@media (max-width: 768px) {
  .bottom-mobile-nav { display: flex; }
  body { padding-bottom: 72px; }
}

/* ========== SKELETON LOADERS ========== */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--stroke) 0%, var(--surface-alt) 50%, var(--stroke) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.skeleton-image { height: 200px; border-radius: 0; }
.skeleton-body { padding: var(--space-lg); }
.skeleton-title { height: 24px; margin-bottom: var(--space-sm); border-radius: var(--radius-sm); }
.skeleton-text { height: 14px; margin-bottom: 8px; border-radius: var(--radius-sm); }
.skeleton-text.short { width: 60%; }

/* ========== COURSE DETAIL PAGE ========== */
.course-detail-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.cd-hero-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.cd-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--course-color, var(--primary)), var(--lavender));
}

.cd-hero-visual {
  background: linear-gradient(135deg, color-mix(in srgb, var(--course-color, var(--primary)) 12%, white), color-mix(in srgb, var(--course-color, var(--primary)) 22%, white));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-xl);
  min-height: 280px;
}

.cd-icon-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--course-color, var(--primary)), var(--lavender));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: white;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--course-color, var(--primary)) 35%, transparent);
}

.cd-level-badge {
  background: white;
  color: var(--course-color, var(--primary));
  border: 2px solid var(--course-color, var(--primary));
  border-radius: var(--radius-full);
  padding: 5px 18px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cd-hero-body {
  padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cd-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cd-desc {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

.cd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--stroke);
}

.cd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.cd-stat i {
  font-size: 1.2rem;
  color: var(--course-color, var(--primary));
  margin-bottom: 4px;
}

.cd-stat strong {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text);
}

.cd-stat span {
  font-size: var(--font-size-xs);
  color: var(--text-light);
}

.cd-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.cd-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text);
}

.cd-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--course-color, var(--primary)), var(--lavender));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.cd-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cd-cta {
  gap: var(--space-sm);
}

/* Otros cursos sugeridos */
.cd-other-courses {
  margin-top: var(--space-2xl);
}

.cd-other-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.cd-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.cd-other-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.cd-other-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.cd-other-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cd-other-card strong { font-size: var(--font-size-sm); font-weight: 700; display: block; }
.cd-other-card span { font-size: var(--font-size-xs); color: var(--text-light); }

.cd-other-arrow {
  margin-left: auto;
  color: var(--text-light);
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.cd-other-card:hover .cd-other-arrow { transform: translateX(4px); color: var(--primary); }

/* Responsive cd-hero-card */
@media (max-width: 768px) {
  .cd-hero-card { grid-template-columns: 1fr; }
  .cd-hero-visual { min-height: 200px; }
  .cd-hero-body { padding: var(--space-xl); }
  .cd-stats { grid-template-columns: repeat(3, 1fr); }
  .cd-features { grid-template-columns: 1fr; }
  .cd-other-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cd-stats { grid-template-columns: 1fr; gap: var(--space-sm); }
  .cd-actions { flex-direction: column; }
  .cd-actions .btn { width: 100%; text-align: center; }
}

/* ========== INTENSIVE LIST PAGE ========== */
.intensive-list-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

/* Level progress track */
.level-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-3xl);
  overflow-x: auto;
  padding: var(--space-md) 0;
}

.level-track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
  flex-shrink: 0;
}

.level-track-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
  transition: transform var(--transition-spring);
}

.level-track-dot:hover { transform: scale(1.15); }

.level-track-label {
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.level-track-line {
  position: absolute;
  top: 28px;
  left: 56px;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  z-index: 1;
}

/* Intensive cards grid */
.intensive-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.intensive-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.intensive-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--level-color, var(--primary));
}

.intensive-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--level-color, var(--primary)) 30%, var(--stroke));
}

.intensive-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.intensive-card-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--level-color, var(--primary)) 14%, white);
  border: 1.5px solid color-mix(in srgb, var(--level-color, var(--primary)) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--level-color, var(--primary));
  flex-shrink: 0;
}

.intensive-level-pill {
  display: inline-block;
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.intensive-card-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.intensive-card-desc {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.intensive-card-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--text-light);
}

.intensive-card-meta i {
  color: var(--level-color, var(--primary));
  margin-right: 4px;
}

.intensive-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.intensive-card-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text);
}

.intensive-card-features i {
  color: var(--level-color, var(--primary));
  font-size: 0.9rem;
  flex-shrink: 0;
}

.intensive-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.intensive-wa-btn {
  gap: var(--space-xs);
  background: var(--level-color, var(--primary)) !important;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--level-color, var(--primary)) 35%, transparent) !important;
}

.intensive-wa-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.01) !important;
}

.intensive-detail-link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.intensive-detail-link:hover { color: var(--level-color, var(--primary)); }
.intensive-detail-link i { font-size: 0.8rem; transition: transform var(--transition-fast); }
.intensive-detail-link:hover i { transform: translateX(3px); }

@media (max-width: 768px) {
  .intensive-cards-grid { grid-template-columns: 1fr; }
  .level-track-line { width: 40px; }
}

@media (max-width: 480px) {
  .level-track { gap: 0; }
  .level-track-line { width: 24px; }
  .level-track-dot { width: 44px; height: 44px; font-size: 1rem; }
  .intensive-card-actions { flex-direction: column; }
  .intensive-wa-btn { width: 100%; }
}
