/* ==========================================================================
   SISTEMA DE DISEÑO — "EL CUADERNO CREATIVO" (Tactile Clay & Sketchbook)
   Paleta: Azul escuela confiable, Amarillo sol pastel, Naranja vibrante
   ========================================================================== */
:root {
  /* Paleta base (4–6 tonos intencionales) */
  --paper-sky: #f2f7ff;
  --paper-warm: #fffdf7;
  --white: #ffffff;

  --cobalt-ink: #173b8a;
  --cobalt-bright: #2563eb;
  --sky-pastel: #dbeafe;

  --sun-pastel: #fef3c7;
  --sun-butter: #fde68a;
  --amber-accent: #f59e0b;

  --tangerine-cta: #f96b2b;
  --tangerine-hover: #e05316;
  --tangerine-pastel: #ffedd5;

  --mint-check: #15803d;
  --whatsapp-green: #22c55e;
  --whatsapp-dark: #15803d;

  /* Texto con contraste AAA/AA (> 7:1 sobre fondos claros) */
  --ink-heading: #0f2557;
  --ink-body: #334155;
  --ink-muted: #52637a;

  /* Familias tipográficas */
  --font-display: 'Baloo 2', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Bordes y sombras táctiles (Claymorphism + Sticker) */
  --border-thick: 3px solid var(--cobalt-ink);
  --shadow-tactile: 0 6px 0 var(--cobalt-ink);
  --shadow-tactile-sm: 0 4px 0 var(--cobalt-ink);
  --shadow-tactile-hover: 0 3px 0 var(--cobalt-ink);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --ease-out-snappy: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET Y BASE (MOBILE FIRST)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-body);
  background-color: var(--paper-sky);
  /* Sutil textura de puntos estilo cuaderno infantil */
  background-image: radial-gradient(rgba(23, 59, 138, 0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  max-width: 68ch;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.25rem 0;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-intro__title {
  font-size: clamp(1.9rem, 1.35rem + 2.5vw, 2.75rem);
  margin-bottom: 0.6rem;
}

.section-intro__lead {
  font-size: 1.08rem;
  color: var(--ink-body);
}

/* ==========================================================================
   BOTONES TÁCTILES CON TRANSICIÓN SUAVE AL HACER HOVER
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: var(--border-thick);
  cursor: pointer;
  transition: transform 0.22s var(--ease-out-snappy),
              box-shadow 0.22s var(--ease-out-snappy),
              background-color 0.22s ease;
  text-align: center;
}

.btn--cta {
  background-color: var(--tangerine-cta);
  color: var(--white);
  box-shadow: var(--shadow-tactile);
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background-color: var(--tangerine-hover);
  transform: translateY(3px);
  box-shadow: var(--shadow-tactile-hover);
}

.btn--cta:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--cobalt-ink);
}

.btn--secondary {
  background-color: var(--sun-butter);
  color: var(--ink-heading);
  box-shadow: var(--shadow-tactile);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: #fcd34d;
  transform: translateY(3px);
  box-shadow: var(--shadow-tactile-hover);
}

.btn--nav {
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  font-size: 1rem;
  background-color: var(--sun-butter);
  color: var(--ink-heading);
  box-shadow: var(--shadow-tactile-sm);
}

.btn--nav:hover,
.btn--nav:focus-visible {
  background-color: #fcd34d;
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--cobalt-ink);
}

.btn--block {
  width: 100%;
}

/* Foco visible accesible con teclado */
a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--cobalt-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   FRANJA DE HORARIO Y NAVEGACIÓN
   ========================================================================== */
.top-schedule-bar {
  background-color: var(--cobalt-ink);
  color: var(--white);
  font-size: 0.88rem;
  padding: 0.55rem 0;
}

.top-schedule-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  text-align: center;
}

.top-schedule-bar i {
  color: var(--sun-butter);
  margin-right: 0.3rem;
}

.top-schedule-bar__pill {
  background-color: rgba(255, 255, 255, 0.16);
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-thick);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__badge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background-color: var(--tangerine-cta);
  color: var(--white);
  border: 2.5px solid var(--cobalt-ink);
  box-shadow: 0 3px 0 var(--cobalt-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-heading);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-weight: 700;
  color: var(--ink-heading);
  padding: 0.25rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  color: var(--tangerine-cta);
  border-bottom-color: var(--tangerine-cta);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero {
  padding: 2.75rem 0 4.5rem;
}

.hero__layout {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--sun-pastel);
  color: var(--ink-heading);
  border: 2.5px solid var(--cobalt-ink);
  box-shadow: 0 3px 0 var(--cobalt-ink);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.age-pill i {
  color: var(--tangerine-cta);
}

.hero__title {
  font-size: clamp(2.15rem, 1.5rem + 3.2vw, 3.6rem);
  margin-bottom: 1rem;
  color: var(--ink-heading);
}

.hero__subtitle {
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.28rem);
  color: var(--ink-body);
  margin-bottom: 1.5rem;
}

/* Ticket de Horario en el Hero */
.schedule-ticket {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-tactile-sm);
  max-width: 520px;
}

.schedule-ticket__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background-color: var(--sky-pastel);
  color: var(--cobalt-ink);
  border: 2px solid var(--cobalt-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.schedule-ticket__details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.schedule-ticket__details strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-heading);
}

.schedule-ticket__details span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.schedule-ticket__price {
  background-color: var(--sun-butter);
  border: 2.5px solid var(--cobalt-ink);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 3px 0 var(--cobalt-ink);
}

.schedule-ticket__price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-heading);
  line-height: 1;
}

.schedule-ticket__price span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-heading);
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.hero__reassurance {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero__reassurance i {
  color: var(--mint-check);
  margin-right: 0.3rem;
}

/* Ilustración CSS: El Cuaderno en Blanco */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.notebook {
  position: relative;
  background-color: var(--paper-warm);
  border: var(--border-thick);
  border-radius: 18px 26px 26px 18px;
  box-shadow: 10px 10px 0 var(--cobalt-ink);
  padding: 1.75rem 1.5rem 1.75rem 2.5rem;
}

.notebook__spiral {
  position: absolute;
  left: -14px;
  top: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.notebook__spiral span {
  width: 24px;
  height: 12px;
  background-color: var(--sun-butter);
  border: 2.5px solid var(--cobalt-ink);
  border-radius: var(--radius-pill);
}

.notebook__page {
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(37, 99, 235, 0.14) 31px,
    rgba(37, 99, 235, 0.14) 32px
  );
}

.notebook__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.notebook__tag {
  background-color: var(--tangerine-pastel);
  color: var(--ink-heading);
  border: 2px solid var(--cobalt-ink);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
}

.notebook__handwriting {
  font-family: var(--font-hand);
  font-size: 1.85rem;
  line-height: 1.25;
  color: var(--cobalt-ink);
  margin-bottom: 1.35rem;
}

.notebook__doodles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.doodle-card {
  padding: 0.9rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 2.5px solid var(--cobalt-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-heading);
  text-align: center;
}

.doodle-card i {
  font-size: 1.35rem;
}

.doodle-card--sun {
  background-color: var(--sun-pastel);
}

.doodle-card--sun i {
  color: var(--amber-accent);
}

.doodle-card--sky {
  background-color: var(--sky-pastel);
}

.notebook__footer-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.notebook__footer-note i {
  color: var(--tangerine-cta);
}

.floating-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  background-color: var(--sun-butter);
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2.5px solid var(--cobalt-ink);
  box-shadow: var(--shadow-tactile-sm);
}

/* ==========================================================================
   2. METODOLOGÍA Y DIFERENCIADOR
   ========================================================================== */
.methodology {
  background-color: var(--paper-warm);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

.methodology__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.method-card {
  background-color: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow-tactile);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.method-card--sky {
  background-color: #f5f9ff;
}

.method-card--sun {
  background-color: #fffbeb;
}

.method-card--orange {
  background-color: #fff7ed;
}

.method-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.method-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  border: 2.5px solid var(--cobalt-ink);
  box-shadow: 0 3px 0 var(--cobalt-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: var(--white);
  color: var(--cobalt-ink);
}

.method-card--sun .method-card__icon {
  background-color: var(--sun-butter);
}

.method-card--orange .method-card__icon {
  background-color: var(--tangerine-cta);
  color: var(--white);
}

.method-card__pillar {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  background-color: var(--white);
  border: 2px solid var(--cobalt-ink);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
}

.method-card__title {
  font-size: 1.5rem;
}

.method-card__text {
  color: var(--ink-body);
  font-size: 1rem;
}

/* ==========================================================================
   3. NUESTROS PROGRAMAS (COMPARATIVA + HORARIO 2 A 4 PM)
   ========================================================================== */
.programs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.program-ticket {
  position: relative;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.5rem;
  box-shadow: var(--shadow-tactile);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.program-ticket--vacation {
  background-color: var(--paper-warm);
}

.program-ticket--regular {
  background-color: var(--white);
  border-width: 3.5px;
}

.program-ticket__flag {
  position: absolute;
  top: -16px;
  right: 22px;
  background-color: var(--tangerine-cta);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-pill);
  border: 2.5px solid var(--cobalt-ink);
  box-shadow: 0 3px 0 var(--cobalt-ink);
}

.program-ticket__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.program-ticket__duration {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--sky-pastel);
  color: var(--ink-heading);
  border: 2px solid var(--cobalt-ink);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
}

.program-ticket--vacation .program-ticket__duration {
  background-color: var(--sun-pastel);
}

.program-ticket__price-badge {
  background-color: var(--sun-butter);
  color: var(--ink-heading);
  border: 2.5px solid var(--cobalt-ink);
  box-shadow: 0 3px 0 var(--cobalt-ink);
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.program-ticket__price-badge strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.program-ticket__price-badge span {
  font-size: 0.82rem;
  font-weight: 700;
}

.program-ticket__price-badge--featured {
  background-color: var(--tangerine-pastel);
}

.program-ticket__title {
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2rem);
  margin-bottom: 0.45rem;
}

.program-ticket__summary {
  font-size: 0.98rem;
  color: var(--ink-muted);
}

/* Bloque de horario dentro de cada programa */
.program-ticket__schedule {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--paper-sky);
  border: 2px dashed var(--cobalt-ink);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--ink-heading);
}

.program-ticket__schedule i {
  color: var(--tangerine-cta);
  font-size: 1.15rem;
}

.program-ticket__list-title {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  color: var(--ink-heading);
}

.program-ticket__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.program-ticket__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
}

.program-ticket__benefits i {
  color: var(--mint-check);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   4. CONOCE A LA TEACHER
   ========================================================================== */
.teacher {
  background-color: var(--paper-warm);
  border-top: var(--border-thick);
}

.teacher-showcase {
  background-color: var(--sun-pastel);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tactile);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.teacher-showcase__frame {
  width: 100%;
  max-width: 480px;
  flex-shrink: 0;
}

/* ==========================================================================
   CARRUSEL TÁCTIL DE FOTOS (Teacher Adhelí y Alumnos)
   ========================================================================== */
.teacher-carousel {
  position: relative;
  width: 100%;
  background-color: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 0 var(--cobalt-ink);
  overflow: hidden;
  user-select: none;
  display: flex;
  flex-direction: column;
}

.teacher-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #0b1c44;
  overflow: hidden;
}

.teacher-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-snappy);
  transform: scale(0.98);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.teacher-carousel__slide picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Slide 1 (Retrato) llena armónicamente el marco */
.teacher-carousel__slide:first-child img {
  object-fit: cover;
  object-position: center 25%;
}

/* Barra inferior de controles y subtítulo (debajo de la foto, sin tapar caras) */
.teacher-carousel__footer {
  padding: 0.85rem 1rem 1rem;
  background-color: var(--white);
  border-top: var(--border-thick);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.teacher-carousel__caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cobalt-ink);
  text-align: center;
  min-height: 1.5rem;
}

.teacher-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.carousel-btn {
  position: static;
  transform: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--sun-butter);
  border: 2px solid var(--cobalt-ink);
  color: var(--ink-heading);
  box-shadow: 0 2px 0 var(--cobalt-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.carousel-btn:hover {
  background-color: #fcd34d;
  transform: translateY(-2px);
}

.carousel-btn:active {
  transform: translateY(1px);
}

.carousel-dots {
  position: static;
  display: flex;
  gap: 8px;
  background-color: var(--paper-warm);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cobalt-ink);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--cobalt-ink);
  background-color: var(--white);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-dot.is-active {
  background-color: var(--tangerine-cta);
  transform: scale(1.25);
}

.teacher-showcase__badge {
  display: inline-block;
  background-color: var(--white);
  color: var(--ink-heading);
  border: 2px solid var(--cobalt-ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
}

.teacher-showcase__name {
  font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.teacher-showcase__paragraph {
  color: var(--ink-heading);
  font-size: 1.04rem;
  margin-bottom: 1rem;
}

.teacher-showcase__traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 1.75rem;
}

.trait-item {
  background-color: var(--white);
  border: 2px solid var(--cobalt-ink);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trait-item i {
  color: var(--tangerine-cta);
}

/* ==========================================================================
   5. FOOTER Y BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.site-footer {
  background-color: var(--cobalt-ink);
  color: var(--white);
  border-top: var(--border-thick);
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer__schedule {
  font-size: 0.95rem;
  color: var(--sun-butter);
  font-weight: 600;
}

.site-footer__copy {
  font-size: 0.88rem;
  color: var(--sky-pastel);
}

/* Botón Flotante de WhatsApp siempre visible */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 58px;
  padding: 0.75rem 1.15rem;
  background-color: var(--whatsapp-green);
  color: var(--ink-heading);
  border: var(--border-thick);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-tactile);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform 0.22s var(--ease-out-snappy),
              box-shadow 0.22s var(--ease-out-snappy),
              background-color 0.22s ease;
}

.whatsapp-float i {
  font-size: 1.75rem;
}

.whatsapp-float__label {
  display: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background-color: #4ade80;
  transform: translateY(3px);
  box-shadow: var(--shadow-tactile-hover);
}

.whatsapp-float:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--cobalt-ink);
}

/* Respeto por usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   BREAKPOINTS (TABLET Y ESCRITORIO)
   ========================================================================== */
@media (min-width: 768px) {
  .section {
    padding: 5.5rem 0;
  }

  .site-nav {
    display: flex;
  }

  .hero {
    padding: 4rem 0 5.5rem;
  }

  .hero__layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
  }

  .hero__content {
    flex: 1.15;
  }

  .hero__stage {
    flex: 0.85;
    margin: 0;
  }

  .methodology__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-ticket {
    padding: 2.5rem 2.25rem;
  }

  .teacher-showcase {
    flex-direction: row;
    padding: 3rem;
    gap: 3rem;
  }

  .teacher-showcase__frame {
    flex: 1 1 420px;
    max-width: 480px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .whatsapp-float__label {
    display: inline;
  }
}

/* ==========================================================================
   AJUSTES ESPECÍFICOS PARA MÓVILES (Despejado, cómodo y sin sensación de aprieto)
   ========================================================================== */
@media (max-width: 767px) {
  /* Contenedores con más aire horizontal */
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  /* Header más limpio y sin quiebres de texto */
  .site-header__inner {
    min-height: 3.8rem;
    gap: 0.5rem;
  }

  .brand__badge {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .brand__name {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .site-header .btn--secondary {
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    min-height: 38px;
  }

  /* Hero: Título proporcionado que no invade la pantalla */
  .hero {
    padding: 1.75rem 0 3rem;
  }

  .hero__title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .age-pill {
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  /* Ticket de horario en Hero: Distribución en 2 filas limpias */
  .schedule-ticket {
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
    gap: 0.75rem;
    box-shadow: 4px 4px 0 var(--cobalt-ink);
  }

  .schedule-ticket__icon {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.15rem;
  }

  .schedule-ticket__details strong {
    font-size: 1.05rem;
  }

  .schedule-ticket__details span {
    font-size: 0.82rem;
  }

  .schedule-ticket__price {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.85rem;
    box-shadow: none;
    border-radius: var(--radius-sm);
  }

  .schedule-ticket__price strong {
    font-size: 1.25rem;
  }

  /* Botón CTA principal en móvil */
  .btn--cta {
    width: 100%;
    font-size: 1.08rem;
    min-height: 50px;
  }

  /* Libreta / Cuaderno en Hero */
  .notebook {
    padding: 1.5rem 1.15rem 1.5rem 1.75rem;
    box-shadow: 6px 6px 0 var(--cobalt-ink);
  }

  /* Tarjetas de Metodología */
  .method-card {
    padding: 1.35rem 1.15rem;
    gap: 0.65rem;
    box-shadow: 4px 4px 0 var(--cobalt-ink);
  }

  .method-card__title {
    font-size: 1.35rem;
  }

  /* Sección Teacher: Eliminar la sensación de caja dentro de caja */
  .teacher-showcase {
    padding: 1.25rem 1rem;
    gap: 1.5rem;
    box-shadow: 5px 5px 0 var(--cobalt-ink);
    border-radius: var(--radius-md);
  }

  .teacher-carousel {
    box-shadow: 4px 4px 0 var(--cobalt-ink);
    border-radius: var(--radius-sm);
  }

  .teacher-carousel__footer {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
  }

  .teacher-carousel__caption {
    font-size: 0.92rem;
    min-height: 1.3rem;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .teacher-showcase__name {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }

  .teacher-showcase__paragraph {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
  }

  .trait-item {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    gap: 0.45rem;
  }

  /* Tarjetas de programas / precios */
  .program-ticket {
    padding: 1.5rem 1.15rem;
    gap: 1.15rem;
    box-shadow: 5px 5px 0 var(--cobalt-ink);
  }

  /* Botón flotante de WhatsApp */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}
