/*
 * Wonder School · estilos base compartidos (menú, botones, pie de página).
 * Antes vivían dentro de index.html; ahora los usan el inicio y las landings.
 */
/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1a6de8;
  --blue-dark: #1e3a8a;
  --blue-mid:  #2563eb;
  --red:       #dc2626;
  --green:     #15803d;
  --green-mid: #16a34a;
  --text-dark: #0d1b3e;
  --text-body: #374151;
  --muted:     #4b5563;
  --white:     #ffffff;
  --heading:   'Prompt', sans-serif;
  --body:      'DM Sans', sans-serif;
  --radius:    18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  background: #f5f8ff;
  color: var(--text-body);
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ===== SECTION THEMES ===== */
.light {
  background:
    radial-gradient(ellipse 700px 500px at 0% 0%,   rgba(219,234,254,0.8) 0%, transparent 65%),
    radial-gradient(ellipse 500px 400px at 100% 80%, rgba(191,219,254,0.5) 0%, transparent 60%),
    linear-gradient(160deg, #eef4ff 0%, #f8fbff 60%, #eef4ff 100%);
}

.dark {
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(26,109,232,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 90% 75%, rgba(30,58,138,0.14) 0%, transparent 55%),
    linear-gradient(145deg, #040e1e 0%, #0a1b3a 40%, #0c2050 100%);
  color: var(--white);
}

.dark .section-title { color: var(--white); }
.dark .section-sub   { color: rgba(255,255,255,0.78); }
.dark .section-label { color: #60a5fa; }
.dark .muted-text    { color: rgba(255,255,255,0.75); }

/* ===== GLASS CARDS ===== */
.glass-light {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 8px 32px rgba(14,50,120,0.08);
  border-radius: var(--radius);
}

.glass-dark {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border-radius: var(--radius);
}

/* ===== CONTAINER & LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section   { padding: 80px 0; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-family: var(--heading);
  font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

.section-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.12; color: var(--text-dark);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem; color: var(--muted);
  font-weight: 300; max-width: 520px; line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px;
  font-family: var(--heading); font-weight: 600;
  font-size: 0.9rem; cursor: pointer; border: none;
  transition: all 0.22s ease; white-space: nowrap;
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,109,232,0.35);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,109,232,0.42); }

.btn-green {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21,128,61,0.38);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,128,61,0.46); }

.btn-outline-light {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  border: 1.5px solid rgba(59,130,246,0.22);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.95); border-color: var(--blue); color: var(--blue); }

.btn-outline-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }

.icon-wa { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(26,109,232,0.1);
  box-shadow: 0 2px 20px rgba(14,50,120,0.06);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 66px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-family: var(--heading); font-weight: 400;
  font-size: 0.87rem; color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.nav-portal {
  color: var(--blue); font-weight: 600;
  border: 1px solid rgba(26,109,232,0.35);
  border-radius: 6px; padding: 5px 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-links a.nav-portal:hover {
  background: rgba(26,109,232,0.08); border-color: var(--blue);
}
.mobile-menu a.nav-portal {
  color: var(--blue); font-weight: 600;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); border-radius: 2px; transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  border-top: 1px solid rgba(26,109,232,0.08);
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px; font-family: var(--heading);
  font-size: 0.93rem; color: var(--text-body);
  border-bottom: 1px solid rgba(26,109,232,0.06); font-weight: 400;
}
.mobile-menu a:hover { color: var(--blue); background: rgba(219,234,254,0.25); }
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
}

/* ── Anchor scroll offset (nav sticky 66px) ── */
#adultos, #kids, #certificaciones, #nosotros, #pasos, #contacto {
  scroll-margin-top: 72px;
}


/* ===== PROOF STRIP ===== */
.proof-strip { padding: 20px 0; }
.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.proof-item {
  position: relative;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.proof-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 45, 0.62);
  z-index: 1;
}
.proof-info {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(10,28,80,0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 8px 11px;
}
.proof-info-top {
  display: flex; align-items: center; gap: 9px;
}
.proof-icon-wrap {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.proof-icon-wrap.gold  { background: rgba(245,158,11,0.15);  color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.proof-icon-wrap.blue  { background: rgba(96,165,250,0.15);  color: #60a5fa; border: 1px solid rgba(96,165,250,0.25); }
.proof-icon-wrap.green { background: rgba(52,211,153,0.15);  color: #34d399; border: 1px solid rgba(52,211,153,0.25); }
.proof-icon-wrap.violet{ background: rgba(167,139,250,0.15); color: #a78bfa; border: 1px solid rgba(167,139,250,0.25); }
.proof-stat {
  font-family: var(--heading); font-weight: 600;
  font-size: 1.4rem; color: #fff; line-height: 1;
}
.proof-label { font-size: 0.72rem; color: rgba(255,255,255,0.75); font-weight: 300; line-height: 1.3; }
.proof-div { display: none; }
@media (max-width: 640px) {
  .proof-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-item { min-height: 160px; }
}

/* ===== PROGRAM CARDS (light bg) ===== */
.programs-header { text-align: center; margin-bottom: 44px; }
.programs-header .section-sub { margin: 0 auto; }
.programs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.prog-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 32px rgba(14,50,120,0.09);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.22s, box-shadow 0.22s; position: relative; overflow: hidden;
}
.prog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 52px rgba(14,50,120,0.14); }
.prog-card.featured {
  background: linear-gradient(145deg, rgba(219,234,254,0.75) 0%, rgba(255,255,255,0.8) 100%);
  border: 1.5px solid rgba(26,109,232,0.28);
}
.prog-badge {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; font-family: var(--heading); font-size: 0.68rem;
  font-weight: 700; padding: 4px 10px; border-radius: 100px; letter-spacing: 0.06em;
}
.prog-name { font-family: var(--heading); font-weight: 700; font-size: 1.35rem; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.prog-icon { font-size: 1.6rem; line-height: 1; }
.prog-desc { font-size: 0.87rem; color: var(--muted); font-weight: 300; line-height: 1.65; }
.prog-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.prog-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; font-weight: 300; color: var(--text-body);
}
.prog-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: 7px;
}
.prog-price {
  border-top: 1px solid rgba(26,109,232,0.1);
  padding-top: 16px; display: flex; flex-direction: column; gap: 0;
}
.price-main { font-family: var(--heading); font-weight: 700; font-size: 1.5rem; color: var(--text-dark); }
.price-note { font-size: 0.79rem; color: var(--muted); font-weight: 300; }
.price-green { color: #15803d; font-weight: 500; }
.price-gold  { color: #b45309; font-weight: 500; }

/* ===== KIDS (dark bg) ===== */
.kids-header { text-align: center; margin-bottom: 44px; }
.kids-header .section-sub { margin: 0 auto; }
.kids-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.kids-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.11) 0%, rgba(14,50,120,0.40) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.14);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 32px 22px;
  text-align: center; transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
}
.kids-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, rgba(20,60,140,0.48) 100%);
  box-shadow: 0 22px 52px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.16);
}
.kids-svg-wrap {
  width: 64px; height: 64px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.kids-age {
  display: inline-block;
  background: rgba(96,165,250,0.2);
  color: #93c5fd; font-family: var(--heading);
  font-size: 0.82rem; font-weight: 700;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 10px; letter-spacing: 0.06em;
}
.kids-age-big {
  font-family: var(--heading); font-weight: 800; color: #fff;
  font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.04em;
}
.kids-age-big span { font-size: 0.42em; font-weight: 600; letter-spacing: 0; color: #93c5fd; margin-left: 4px; }
.kids-tag {
  display: inline-block; margin-top: 10px;
  font-family: var(--heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fcd34d; background: rgba(252,211,77,0.12); border: 1px solid rgba(252,211,77,0.3);
  padding: 3px 10px; border-radius: 100px;
}
.kids-name {
  font-family: var(--heading); font-weight: 600; font-size: 0.8rem; color: #93c5fd;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 10px 0 8px;
}
.kids-price {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(26,109,232,0.22) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 8px 32px rgba(0,0,0,0.28);
}
.kp-head {
  font-family: var(--heading); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #93c5fd; margin-bottom: 14px;
}
.kp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; align-items: end; }
.kp-item { display: flex; flex-direction: column; gap: 2px; }
.kp-item + .kp-item { border-left: 1px solid rgba(255,255,255,0.12); }
.kp-big { font-family: var(--heading); font-weight: 800; font-size: 2.2rem; color: #fff; letter-spacing: -0.03em; line-height: 1.05; }
.kp-mid { font-family: var(--heading); font-weight: 700; font-size: 1.3rem; color: #fff; line-height: 1.2; }
.kp-sub { font-size: 0.78rem; color: rgba(255,255,255,0.68); }
@media (max-width: 600px) {
  .kp-row { grid-template-columns: 1fr 1fr; }
  .kp-item:first-child { grid-column: 1 / -1; }
  .kp-item + .kp-item { border-left: 0; }
  .kp-item:last-child { border-left: 1px solid rgba(255,255,255,0.12); }
}
.kids-desc { font-size: 0.84rem; color: rgba(255,255,255,0.78); font-weight: 300; margin-bottom: 14px; line-height: 1.65; }
.kids-schedule {
  font-family: var(--heading); font-size: 0.88rem;
  font-weight: 600; color: #93c5fd;
  background: rgba(96,165,250,0.15); border-radius: 8px;
  padding: 6px 10px; display: inline-block;
}

/* ===== PRECIOS ===== */
/* Lo que se escanea es la cuota mensual. La matrícula va aparte, una sola
   vez, y el total del semestre queda pequeño para quien lo busque. */
.price-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.price-tile {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(26,109,232,0.06); border: 1px solid rgba(26,109,232,0.14);
}
.price-tile.hot { background: rgba(26,109,232,0.1); border-color: rgba(26,109,232,0.3); }
.pt-label {
  font-family: var(--heading); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.pt-amount {
  font-family: var(--heading); font-weight: 800; font-size: clamp(1.4rem, 5.6vw, 1.75rem);
  letter-spacing: -0.03em; white-space: nowrap; line-height: 1.15; color: var(--text-dark);
}
.pt-amount small { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 2px; }
.pt-meta { font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.price-mat {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-top: 12px; padding: 10px 2px 0; border-top: 1px dashed rgba(26,109,232,0.2);
  font-size: 0.84rem; color: var(--text-body); font-weight: 400;
}
.price-mat strong { font-family: var(--heading); font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.price-total { font-size: 0.74rem; color: var(--muted); font-weight: 300; margin-top: 4px; padding: 0 2px; }
.price-cash {
  display: inline-flex; align-self: flex-start; margin-top: 10px;
  font-family: var(--heading); font-size: 0.72rem; font-weight: 600;
  color: #15803d; background: rgba(22,163,74,0.1); border-radius: 100px; padding: 4px 11px;
}
/* Variante sobre las tarjetas oscuras de niños */
.kids-card .price-block { margin-top: 16px; text-align: left; display: flex; flex-direction: column; }
.kids-card .price-tile { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.kids-card .pt-label { color: #93c5fd; }
.kids-card .pt-amount { color: #fff; }
.kids-card .pt-amount small, .kids-card .pt-meta, .kids-card .price-total { color: rgba(255,255,255,0.65); }
.kids-card .price-mat { color: rgba(255,255,255,0.8); border-top-color: rgba(255,255,255,0.18); }
.kids-card .price-mat strong { color: #fff; }

/* ===== CERT (light bg) ===== */
.cert-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: stretch;
}
.cert-side-wrap {
  display: flex; flex-direction: column; gap: 20px;
  justify-content: space-between;
}
.cert-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 12px 48px rgba(14,50,120,0.1);
  border-radius: var(--radius); padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cert-card .section-label { display: block; margin-bottom: 10px; }
.cert-card .section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 22px 0 28px; }
.cert-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; font-weight: 300; color: var(--text-body); line-height: 1.5; }
.check-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0; color: var(--blue); font-size: 10px; font-weight: 700;
}
.cert-img-side { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1; min-height: 0; }
.cert-img-side img {
  width: 100%; height: 100%; border-radius: 24px;
  object-fit: cover;
  filter: drop-shadow(0 24px 48px rgba(26,80,200,0.18));
}
.cert-price-box {
  box-sizing: border-box;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 18px; padding: 22px 24px;
  display: flex; align-items: center;
  border: 1px solid rgba(96,165,250,0.3);
  box-shadow: 0 4px 20px rgba(26,80,200,0.10);
}
.cert-price-box .price-left { display: flex; flex-direction: column; gap: 2px; }
.cert-price-box .price-tag { font-size: 0.7rem; font-family: var(--heading); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.cert-price-box .price { font-family: var(--heading); font-weight: 800; font-size: 1.9rem; color: var(--text-dark); line-height: 1; }
.cert-price-box .label { font-size: 0.8rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
@media (max-width: 768px) {
  .cert-inner { grid-template-columns: 1fr; grid-template-rows: auto; gap: 28px; }
  .cert-card { padding: 28px 22px; }
  .cert-side-wrap {
    flex-direction: row; align-items: center; gap: 14px;
  }
  .cert-price-box { order: 1; flex: 1 1 55%; }
  .cert-img-side  { order: 2; flex: 0 0 38%; }
  .cert-img-side img { width: 100%; height: auto; }
}

/* ===== WHY SECTION (dark bg) ===== */
.why-header { margin-bottom: 28px; text-align: center; }
.why-header .section-sub { margin: 0 auto; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.why-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.10) 0%, rgba(10,30,90,0.45) 100%);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-color: rgba(255,255,255,0.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.10);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.22s, border-color 0.22s, background 0.22s, box-shadow 0.22s;
  display: flex; flex-direction: column; gap: 12px;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,0.35);
  background: linear-gradient(145deg, rgba(255,255,255,0.14) 0%, rgba(16,44,120,0.52) 100%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.15);
}
.why-svg { width: 52px; height: 52px; flex-shrink: 0; margin-bottom: 4px; }
.why-title { font-family: var(--heading); font-weight: 600; font-size: 1rem; color: #fff; }
.why-desc { font-size: 0.84rem; color: rgba(255,255,255,0.75); font-weight: 300; line-height: 1.65; }

/* ===== TESTIMONIOS (light bg) ===== */
.testi-header { text-align: center; margin-bottom: 44px; }
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px;
}
.testi-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 28px rgba(14,50,120,0.08);
  border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.testi-stars { display: flex; gap: 2px; }
.testi-stars span { color: #f59e0b; font-size: 15px; }
.testi-text { font-size: 0.91rem; color: var(--text-body); font-weight: 300; line-height: 1.75; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(26,109,232,0.2);
  box-shadow: 0 2px 8px rgba(14,50,120,0.1);
}
.testi-name { font-family: var(--heading); font-weight: 600; font-size: 0.87rem; color: var(--text-dark); }
.testi-source { font-size: 0.72rem; color: var(--muted); }
.google-row { text-align: center; margin-top: 36px; }
.google-pill {
  display: inline-flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  border-radius: 18px; padding: 16px 28px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.google-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
}
.google-pill-logo { flex-shrink: 0; }
.google-pill-divider { width: 1px; height: 36px; background: rgba(0,0,0,0.08); flex-shrink: 0; }
.google-pill-info { display: flex; flex-direction: column; gap: 4px; }
.google-pill-stars { display: flex; gap: 2px; }
.google-pill-stars svg { color: #f59e0b; }
.google-pill-score { font-family: var(--heading); font-weight: 700; font-size: 0.95rem; color: var(--text-dark); line-height: 1; }
.google-pill-cta { font-size: 0.72rem; color: var(--muted); }

/* ===== FORM (dark bg) ===== */
.form-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.form-copy .section-sub { max-width: 380px; }
.form-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.11) 0%, rgba(12,35,100,0.45) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.14);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 12px 48px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 36px 30px;
}
.form-card form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--heading); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.7);
}
.form-input, .form-select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px; padding: 12px 14px;
  font-family: var(--body); font-size: 0.9rem;
  font-weight: 300; color: #fff; outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus, .form-select:focus {
  border-color: rgba(96,165,250,0.6);
  background: rgba(255,255,255,0.14);
}
.form-select { cursor: pointer; }
.form-select option { background: #0b1e42; color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-success {
  display: none; text-align: center; padding: 20px;
  color: #86efac; font-family: var(--heading); font-weight: 600;
}

@media (max-width: 768px) {
  .form-inner { grid-template-columns: 1fr; gap: 36px; }
  .form-row   { grid-template-columns: 1fr; }
}

/* ===== STEPS (light bg) ===== */
.steps-header { text-align: center; margin-bottom: 44px; }
.steps-header .section-sub { margin: 0 auto; text-align: center; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; position: relative; margin-top: 44px;
}
.steps-line {
  position: absolute; top: 26px;
  left: calc(16.66% + 14px); right: calc(16.66% + 14px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  opacity: 0.2;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 6px 18px rgba(26,109,232,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-weight: 700; font-size: 1.2rem; color: #fff;
  position: relative; z-index: 1;
}
.step-title { font-family: var(--heading); font-weight: 600; font-size: 0.96rem; color: var(--text-dark); }
.step-desc { font-size: 0.84rem; color: var(--muted); font-weight: 300; line-height: 1.65; }
@media (max-width: 600px) { .steps-grid { grid-template-columns: 1fr; } .steps-line { display: none; } }

/* ===== VIDEO ===== */
.video-section { padding: 80px 0; text-align: center; }
.video-block { text-align: center; margin-bottom: 80px; }
.video-header { margin-bottom: 36px; }
.video-wrap {
  position: relative; max-width: 860px; margin: 0 auto;
  aspect-ratio: 16/9; border-radius: 20px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== MAPA ===== */
.map-section { padding: 72px 0; }
.map-header { text-align: center; margin-bottom: 36px; }
.map-inner {
  display: grid; grid-template-columns: 1fr 1.8fr; gap: 32px; align-items: stretch;
}
.map-info {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 32px rgba(14,50,120,0.09);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.map-info-row { display: flex; align-items: flex-start; gap: 12px; }
.map-info-row svg { flex-shrink: 0; margin-top: 2px; }
.map-info-label { font-family: var(--heading); font-weight: 700; font-size: 0.78rem; color: var(--blue); letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.map-info-val { font-size: 0.88rem; color: var(--text-body); font-weight: 300; line-height: 1.5; }
.map-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 32px rgba(14,50,120,0.12); min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 768px) {
  .map-inner { grid-template-columns: 1fr; }
  .map-frame { min-height: 280px; }
}

/* ===== INSTAGRAM BTN ===== */
.btn-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff; box-shadow: 0 4px 16px rgba(188,24,136,0.35);
}
.btn-instagram:hover { opacity: 0.9; transform: translateY(-2px); }

/* ===== CTA FINAL (gradient blue) ===== */
.cta-section {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0; text-align: center;
}
.cta-section .section-title { color: #fff; margin: 0 auto 12px; max-width: 480px; }
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.82); margin-bottom: 32px; font-weight: 300; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact {
  display: flex; justify-content: center; gap: 28px;
  margin-top: 36px; flex-wrap: wrap;
}
.cta-contact-item { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: rgba(255,255,255,0.80); }
.cta-contact-item svg { color: rgba(255,255,255,0.6); flex-shrink: 0; }

/* ===== FOOTER (dark bg) ===== */
.footer-section { padding: 48px 0 24px; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.footer-logo img { height: 36px; width: auto; margin-bottom: 12px; }
.footer-about { font-size: 0.83rem; color: rgba(255,255,255,0.5); font-weight: 300; line-height: 1.65; }
.footer-col-title {
  font-family: var(--heading); font-weight: 600; font-size: 0.77rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links li a { font-size: 0.84rem; color: rgba(255,255,255,0.5); font-weight: 300; transition: color 0.2s; }
.footer-links li a:hover { color: #93c5fd; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px; display: flex;
  justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-copy  { font-size: 0.78rem; color: rgba(255,255,255,0.35); font-weight: 300; }
.footer-cert  { font-size: 0.75rem; color: rgba(255,255,255,0.35); font-weight: 300; }
.footer-dev {
  width: 100%; text-align: center; margin-top: 14px;
  font-size: 0.7rem; color: rgba(255,255,255,0.18); font-weight: 300;
}
.footer-dev a {
  color: rgba(255,255,255,0.28); text-decoration: none;
  transition: color 0.2s; font-weight: 400;
}
.footer-dev a:hover { color: rgba(96,165,250,0.7); }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 100%);
  box-shadow: 0 6px 22px rgba(21,128,61,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 99; transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 27px; height: 27px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .cta-section { padding: 52px 0; }
  .cta-actions .btn { flex: 1; justify-content: center; min-width: 200px; }
  .video-section { padding: 52px 0; }
  .video-block { margin-bottom: 52px; }
  .map-section { padding: 52px 0; }
  .programs-grid { grid-template-columns: 1fr; }
  #nosotros .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .section-title { font-size: 1.55rem; }
  .section-sub { font-size: 0.88rem; }
  .kids-grid { grid-template-columns: 1fr; }
  .prog-card { padding: 24px 20px; }
  .prog-badge { position: static; align-self: flex-start; margin-bottom: -6px; }
  .kids-card { padding: 24px 18px; }
  .video-section { padding: 40px 0; }
  .video-block { margin-bottom: 44px; }
  .map-section { padding: 40px 0; }
  .cta-section { padding: 44px 0; }
}
