/*
  Miss Lina English Teaching – Full Redesign
  ==========================================
  Palette: Mint Teal · Warm Yellow · Soft Navy
  Fonts: Fredoka (headings) · Nunito (body)
*/

/* ====== PAGE LOADER ====== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--mint-50, #f0faf9) 0%, var(--white, #ffffff) 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  animation: loaderFloat 3s ease-in-out infinite;
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.loader-logo {
  margin-bottom: 1.5rem;
}

.loader-star {
  font-size: 4rem;
  display: inline-block;
  animation: starPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.4));
}

@keyframes starPulse {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.loader-text {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.loader-word {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s ease forwards;
}

.loader-word:nth-child(1) {
  animation-delay: 0.3s;
}

.loader-word:nth-child(2) {
  animation-delay: 0.5s;
  color: var(--mint-700);
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-tagline {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-mid);
  opacity: 0;
  animation: fadeIn 0.5s ease 0.8s forwards;
  margin-bottom: 2rem;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.loader-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: dotBounce 0.6s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; background: var(--yellow-500, #ffc107); }
.dot:nth-child(2) { animation-delay: 0.15s; background: var(--mint-500, #4db6ac); }
.dot:nth-child(3) { animation-delay: 0.3s; background: var(--purple-400, #9575cd); }

@keyframes dotBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.loader-progress {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: var(--mint-200, #b2dfdb);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow-500, #ffc107), var(--mint-500, #4db6ac));
  border-radius: 3px;
  animation: progressFill 2s ease-in-out forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  50% { width: 60%; }
  100% { width: 100%; }
}

/* Responsive Loader */
@media (max-width: 600px) {
  .loader-star {
    font-size: 3rem;
  }
  
  .loader-word {
    font-size: 2rem;
  }
  
  .loader-tagline {
    font-size: 1rem;
  }
  
  .loader-progress {
    width: 150px;
    bottom: 2rem;
  }
}

/* ====== TOKENS ====== */
:root {
  --mint-100: #e0f2f1;
  --mint-300: #b2dfdb;
  --mint-500: #4db6ac;
  --mint-700: #00897b;

  --yellow-100: #fff9e6;
  --yellow-300: #ffe082;
  --yellow-500: #ffc107;
  --yellow-700: #ff8f00;

  --purple-100: #ede7f6;
  --purple-400: #9575cd;

  --navy: #263238;
  --navy-mid: #455a64;
  --navy-light: #78909c;

  --white: #ffffff;
  --off-white: #f8fffe;
  --bg-alt: #f0faf9;

  --font-h: 'Fredoka', sans-serif;
  --font-b: 'Nunito', sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(38, 50, 56, 0.07);
  --shadow-md: 0 8px 24px rgba(38, 50, 56, 0.12);
  --shadow-lg: 0 20px 48px rgba(38, 50, 56, 0.16);

  --t: all 0.3s cubic-bezier(.4, 0, .2, 1);

  --max-w: 1400px;
  --header-h: 72px;
}

/* ====== RESET ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  color: var(--navy);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-h);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
}

p {
  font-size: 1.05rem;
  color: var(--navy-mid);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--t);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ====== PERFORMANCE & ACCESSIBILITY ====== */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* Ripple effect */
.btn, .mobile-nav-whatsapp {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Keyboard navigation focus */
.keyboard-nav *:focus {
  outline: 2px solid var(--mint-500);
  outline-offset: 2px;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ====== MICRO-INTERACCIONES PREMIUM ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Efectos hover premium */
.btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tarjetas con efectos premium */
.method-card, .class-card, .testimonial-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-card:hover, .class-card:hover, .testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Efectos de entrada escalonados */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ====== UTILS ====== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-label {
  font-family: var(--font-b);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint-700);
  margin-bottom: .6rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--navy-light);
  max-width: 540px;
  margin: 0 auto;
}

.highlight-yellow {
  color: var(--yellow-700);
}

.highlight-mint {
  color: var(--mint-700);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}

.btn ion-icon {
  font-size: 1.25rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.2rem;
}

.btn-sm {
  padding: .55rem 1.25rem;
  font-size: .95rem;
}

.btn-primary {
  background: var(--yellow-500);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(255, 193, 7, .35);
}

.btn-primary:hover {
  background: var(--yellow-700);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 143, 0, .4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy-mid);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  padding: .55rem 1.3rem;
  font-size: 1rem;
}

.btn-instagram {
  background: linear-gradient(135deg, #f558a0, #e1306c, #833ab4);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(225, 48, 108, .35);
}

.btn-instagram:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(225, 48, 108, .45);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--yellow-100);
  transform: translateY(-2px);
}

/* ====== HEADER ====== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 200;
  background: rgba(248, 255, 254, .95);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--mint-300);
  transition: var(--t);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.logo-tagline {
  font-size: .7rem;
  font-weight: 600;
  color: var(--mint-700);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-top: -2px;
}

nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-mid);
}

.nav-link:hover {
  color: var(--mint-700);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 10001;
}

.hamburger:active {
  transform: scale(0.95);
}

.hamburger:hover span {
  background: var(--mint-700);
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: none;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  display: block;
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: var(--mint-500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  font-weight: 300;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(77, 182, 172, 0.3);
}

.mobile-nav-close:hover {
  background: var(--mint-700);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(77, 182, 172, 0.4);
}

.mobile-nav-content {
  padding: 80px 30px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-content h2 {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: left;
}

.mobile-nav-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-content ul li {
  margin-bottom: 0.5rem;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-content ul li a {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--mint-100);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  min-height: 52px;
}

.mobile-nav-content ul li a ion-icon {
  font-size: 1.2rem;
  color: var(--mint-700);
  flex-shrink: 0;
}

.mobile-nav-content ul li a:hover {
  background: var(--mint-300);
  color: var(--navy);
  transform: translateX(8px);
  border-left-color: var(--mint-500);
  box-shadow: 0 4px 12px rgba(77, 182, 172, 0.15);
}

.mobile-nav-content ul li a:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.mobile-nav-whatsapp {
  margin-top: auto;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--yellow-500);
  color: var(--navy);
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--t);
  box-shadow: 0 4px 12px rgba(255, 193, 7, .35);
  justify-content: center;
}

.mobile-nav-whatsapp ion-icon {
  font-size: 1.25rem;
}

.mobile-nav-whatsapp:hover {
  background: var(--yellow-700);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 143, 0, .4);
}

/* Responsive Mobile Nav */
@media (max-width: 768px) {
  .mobile-nav {
    width: 100%;
    right: 0;
  }
  
  .mobile-nav-content {
    padding: 60px 20px;
  }
  
  .mobile-nav-content h2 {
    font-size: 1.8rem;
  }
  
  .mobile-nav-content ul li a {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .mobile-nav-content {
    padding: 40px 15px;
  }
  
  .mobile-nav-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .mobile-nav-content ul li a {
    font-size: 0.95rem;
    padding: 0.75rem 0.875rem;
    min-height: 44px;
  }
  
  .mobile-nav-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  width: 100px; /* added fixed width */
  height: 100px; /* added fixed height */
}

.shape-1 {
  width: 450px;
  height: 450px;
  top: -120px;
  left: -100px;
  background: var(--mint-300);
}

.shape-2 {
  width: 350px;
  height: 350px;
  bottom: -80px;
  right: -60px;
  background: var(--yellow-300);
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  right: 25%;
  background: var(--purple-100);
  opacity: .4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Reserve space for CLS prevention */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--mint-100);
  color: var(--mint-700);
  border-radius: var(--r-full);
  padding: .4rem 1rem;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.trust-item {
  background: var(--white);
  border: 1.5px solid var(--mint-300);
  border-radius: var(--r-full);
  padding: .35rem .9rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy-mid);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-float {
  position: relative;
  width: 300px;
  height: 340px;
}

.hero-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.hero-avatar ion-icon {
  font-size: 5rem;
  color: var(--mint-500);
}

.hero-avatar span {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.floating-emoji {
  position: absolute;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.e1 {
  top: 5%;
  left: 5%;
}

.e2 {
  top: 5%;
  right: 5%;
}

.e3 {
  bottom: 5%;
  left: 5%;
}

.e4 {
  bottom: 5%;
  right: 5%;
}

/* Float animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.delay-1 {
  animation-delay: 1.2s;
}

.delay-2 {
  animation-delay: 2.4s;
}

.delay-3 {
  animation-delay: 3.6s;
}

/* ====== STATS BAR ====== */
.stats-bar {
  background: var(--navy);
  padding: 1.75rem 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: .5rem 1.5rem;
}

.stat-num {
  display: block;
  font-family: var(--font-h);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--yellow-500);
  line-height: 1;
}

.stat-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .2);
}

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-card {
  background: var(--mint-100);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.about-avatar ion-icon {
  font-size: 7rem;
  color: var(--mint-500);
}

.about-badges-stack {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: 100%;
}

.badge-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .9rem;
}

.badge-pill ion-icon {
  font-size: 1.1rem;
}

.badge-green {
  background: var(--mint-300);
  color: var(--mint-700);
}

.badge-yellow {
  background: var(--yellow-300);
  color: var(--yellow-700);
}

.badge-pink {
  background: #fce4ec;
  color: #c2185b;
}

.section-title-left {
  margin-bottom: .75rem;
}

/* ====== METHODOLOGY ====== */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.method-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  text-align: center;
  border-bottom: 4px solid transparent;
}

.method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--mint-500);
}

.method-icon {
  font-size: 2.6rem;
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}

.method-icon-teal {
  background: var(--mint-100);
}

.method-icon-yellow {
  background: var(--yellow-100);
}

.method-icon-blue {
  background: #e3f2fd;
}

.method-icon-pink {
  background: #fce4ec;
}

.method-card h3 {
  margin-bottom: .5rem;
}

/* ====== CLASSES ====== */
.classes-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.class-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  flex: 1 1 280px;
  transition: var(--t);
  position: relative;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-featured {
  border: 2px solid var(--yellow-500);
}

.featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--yellow-500);
  color: var(--navy);
  font-weight: 700;
  font-size: .75rem;
  padding: .25rem .7rem;
  border-radius: var(--r-full);
  z-index: 1;
}

.class-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.header-yellow {
  background: var(--yellow-300);
}

.header-teal {
  background: var(--mint-300);
}

.header-purple {
  background: var(--purple-100);
}

.class-day {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.class-emoji {
  font-size: 1.8rem;
}

.class-card-body {
  padding: 1.5rem;
}

.class-age-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-full);
  padding: .25rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .85rem;
}

.class-card-body h3 {
  margin-bottom: .4rem;
}

.class-card-body p {
  font-size: .95rem;
  margin-bottom: 1.1rem;
}

.class-time-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  font-size: 1rem;
}

.class-time-row ion-icon {
  color: var(--mint-500);
  font-size: 1.15rem;
}

/* Included Box */
.included-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.included-box h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}

.included-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
}

.included-item ion-icon {
  color: var(--yellow-500);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ====== INSTAGRAM FEED ====== */
.ig-static-grid {
  display: block;
  min-height: 400px;
  max-width: 700px;
  margin: 0 auto;
}

.ig-static-grid iframe {
  min-height: 400px;
  height: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: block;
}

.lightwidget-widget {
  width: 100% !important;
  height: 400px !important;
  border: 0 !important;
  overflow: hidden !important;
  display: block !important;
}

.ig-card {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
}

.ig-card:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.ig-card-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--mint-100), var(--yellow-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ig-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(131, 58, 180, .82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  opacity: 0;
  transition: var(--t);
  color: white;
}

.ig-card:hover .ig-card-hover {
  opacity: 1;
}

.ig-card-hover ion-icon {
  font-size: 2.2rem;
}

.ig-card-hover span {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
}

/* ====== TESTIMONIALS ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 4px solid var(--mint-500);
  transition: var(--t);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint-500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stars {
  font-size: 1.1rem;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(135deg, var(--mint-700) 0%, var(--mint-500) 100%);
  padding: 5rem 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: .75rem;
}

.cta-section p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

/* ====== FOOTER ====== */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  color: var(--yellow-300);
  margin-bottom: 1.1rem;
}

.footer-links-col ul li {
  margin-bottom: .6rem;
}

.footer-links-col ul li a {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
}

.footer-links-col ul li a:hover {
  color: var(--yellow-300);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .7rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
}

.footer-contact-item ion-icon {
  color: var(--yellow-500);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .75);
}

.footer-contact-item a:hover {
  color: var(--yellow-300);
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

/* ====== REVEAL ANIMATION ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */

/* ── Tablet & small desktop (≤900px) ── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: 2; /* Imagen va después del texto */
    margin-top: 2rem;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1; /* Texto va primero */
  }

  .about-visual {
    order: 2; /* Imagen va después */
    margin-top: 2rem;
  }

  /* Methodology: stack photo above cards */
  .method-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .method-visual {
    order: -1;
  }

  .method-photo {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: unset;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA */
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-text {
    text-align: center;
  }
}

/* ── Mobile landscape & below (≤768px) ── */
@media (max-width: 768px) {

  nav,
  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .ig-static-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-divider {
    display: none;
  }

  .classes-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .class-card {
    max-width: 100%;
  }

  .methods-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .ig-static-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
  }

  .badge-location {
    display: none;
  }
}

/* ====== FLOATING WHATSAPP BUTTON ====== */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .5);
  z-index: 9999;
  transition: var(--t);
}

.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, .6);
}

.fab-tooltip {
  position: absolute;
  right: 72px;
  background: var(--navy);
  color: white;
  font-family: var(--font-h);
  font-size: .9rem;
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.fab-whatsapp:hover .fab-tooltip {
  opacity: 1;
}

/* ====== HERO PHOTO ====== */
.hero-img-wrapper {
  position: relative;
  display: inline-block;
}

.hero-photo {
  width: 100%;
  max-width: 520px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-img-badge {
  position: absolute;
  background: white;
  border-radius: var(--r-full);
  padding: .45rem 1.1rem;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.badge-kids {
  bottom: -16px;
  left: 16px;
}

.badge-location {
  top: 16px;
  right: -16px;
}

.badge-location ion-icon {
  color: var(--mint-700);
}

/* ====== ABOUT PHOTO ====== */
.about-img-container {
  position: relative;
}

.about-photo {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-img-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: calc(100% - 2rem);
}

/* ====== METHODOLOGY LAYOUT WITH PHOTO ====== */
.method-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: stretch;
  /* both columns same height */
}

.method-visual {
  display: flex;
  /* make the container a flex box */
  flex-direction: column;
}

.method-photo {
  width: 100%;
  flex: 1;
  /* expand to fill available column height */
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  min-height: 320px;
  /* fallback minimum */
  display: block;
}

/* Gallery Carousel - Instagram Stories Format */
.gallery-bento {
  display: flex;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 1200px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.gallery-bento::-webkit-scrollbar {
  height: 8px;
}

.gallery-bento::-webkit-scrollbar-track {
  background: var(--mint-100);
  border-radius: 10px;
}

.gallery-bento::-webkit-scrollbar-thumb {
  background: var(--mint-500);
  border-radius: 10px;
}

.gallery-bento::-webkit-scrollbar-thumb:hover {
  background: var(--mint-700);
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--t);
  aspect-ratio: 9/16; /* Instagram Stories vertical format */
  width: 280px;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--t);
}

.gallery-item.g-big {
  width: 320px;
  height: auto;
}

.gallery-item.g-sm1,
.gallery-item.g-sm2,
.gallery-item.g-sm3,
.gallery-item.g-sm4 {
  width: 280px;
  height: auto;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 1.5rem;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 1;
  transform: translateY(0);
  transition: var(--t);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

/* Responsive for Instagram Stories Carousel */
@media (max-width: 900px) {
  .gallery-bento {
    gap: 1rem;
    max-width: 100%;
  }

  .gallery-item.g-big {
    width: 280px;
  }

  .gallery-item.g-sm1,
  .gallery-item.g-sm2,
  .gallery-item.g-sm3,
  .gallery-item.g-sm4 {
    width: 240px;
  }
}

@media (max-width: 540px) {
  .gallery-bento {
    gap: 0.8rem;
    padding: 0.5rem;
  }

  .gallery-item.g-big,
  .gallery-item.g-sm1,
  .gallery-item.g-sm2,
  .gallery-item.g-sm3,
  .gallery-item.g-sm4 {
    width: 200px;
  }

  .gallery-overlay {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

/* ====== FAQ ====== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--t);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.faq-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--mint-700);
  transition: transform .3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ====== CTA SECTION WITH IMAGE ====== */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-text {
  text-align: left;
}

.cta-img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ====== FOOTER SOCIAL ICONS ====== */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--t);
}

.footer-social a:hover {
  background: var(--yellow-500);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ====== RESPONSIVE ADDITIONS ====== */
@media (max-width: 1000px) {
  .method-layout {
    grid-template-columns: 1fr;
  }

  .method-visual {
    order: -1;
  }



  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-text {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-photo {
    aspect-ratio: 16/10;
  }



}

/* ====== ONLINE CLASSES ====== */
.online-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.online-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-bottom: 4px solid var(--mint-400);
  transition: var(--t);
}

.online-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.online-card-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.online-card h3 {
  margin-bottom: .5rem;
  font-size: 1.2rem;
}

/* ====== SPARKLE CANVAS ====== */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}