﻿/* ==========================================================================
   Colegio Montessori "Carmencita" · Landing de admisiones (premium · v1)
   Marca real (Instagram @colegio_montessori_carmencita):
   fucsia/magenta #e6097f · amarillo sol #ffc233  crema cálida #fff8f2
   acentos arcoíris de las manitas (coral/verde/azul/morado) usados CON MESURA
   Concepto: jardín feliz, blobs orgánicos, formas redondas, microinteracciones
   juguetonas pero elegantes. Display "Fredoka", body "Nunito".
   ========================================================================== */

:root {
  /* Marca */
  --fucsia: #e6097f;
  --fucsia-600: #d10a73;
  --fucsia-700: #b00861;
  --fucsia-soft: #ff5fae;
  --fucsia-tint: #ffe3f1;

  --sol: #ffc233;
  --sol-600: #ffb300;
  --sol-700: #f0a000;

  /* Acentos arcoíris (manitas) · con mesura */
  --coral: #ff7a59;
  --verde: #34c08a;
  --cielo: #36b3e6;
  --morado: #8b5cf6;

  /* Crema / marfil cálido */
  --cream: #fff8f2;
  --cream-2: #fdeee4;
  --cream-3: #fce4d9;

  /* Texto ciruela / ink cálido */
  --ink: #3a1430;
  --plum: #4a1f3d;
  --text: #4a1f3d;
  --muted: #8a6478;
  --muted-light: #c79bb4;

  --card: #ffffff;
  --line: rgba(58, 20, 48, 0.10);
  --line-soft: rgba(58, 20, 48, 0.06);
  --ring: rgba(230, 9, 127, 0.28);

  --shadow-sm: 0 6px 18px rgba(176, 8, 97, 0.08);
  --shadow: 0 20px 50px rgba(176, 8, 97, 0.14);
  --shadow-lg: 0 34px 90px rgba(176, 8, 97, 0.22);
  --shadow-fucsia: 0 18px 40px rgba(230, 9, 127, 0.32);
  --shadow-sol: 0 18px 40px rgba(255, 179, 0, 0.30);

  --radius-2xl: 40px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --content: 1200px;
  --font-display: "Fredoka", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.wrap {
  width: min(100% - 40px, var(--content));
  margin-inline: auto;
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 70px 0; }

/* ---------- Reveal on scroll (no-JS safe) ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.reveal-ready [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.reveal-ready [data-reveal][data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow--fucsia { color: var(--fucsia-700); background: var(--fucsia-tint); border: 1px solid rgba(230, 9, 127, 0.18); }
.eyebrow--sol    { color: var(--sol-700);    background: #fff3d6;          border: 1px solid rgba(255, 179, 0, 0.28); }
.eyebrow--verde  { color: #1f8a60;           background: #d9f6ea;          border: 1px solid rgba(52, 192, 138, 0.3); }
.eyebrow--light  { color: #fff;              background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.42); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sol);
  box-shadow: 0 0 0 4px rgba(255, 194, 51, 0.28);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 194, 51, 0.28); }
  50% { box-shadow: 0 0 0 7px rgba(255, 194, 51, 0.06); }
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; font-weight: 600; }

.grad-text {
  background: linear-gradient(100deg, var(--fucsia) 0%, var(--coral) 40%, var(--sol-600) 75%, var(--sol) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shimmer 6s linear infinite;
}
@keyframes grad-shimmer { to { background-position: -220% center; } }
@media (prefers-reduced-motion: reduce) { .grad-text { animation: none; } }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
.section-head--left { margin-inline: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--fucsia-soft) 0%, var(--fucsia) 50%, var(--fucsia-600) 100%);
  box-shadow: var(--shadow-fucsia);
}
.btn--primary:hover { transform: translateY(-3px) rotate(-0.5deg); box-shadow: 0 24px 50px rgba(230, 9, 127, 0.42); }
.btn--sun {
  color: #4a2a00;
  background: linear-gradient(135deg, #ffd36b, var(--sol) 55%, var(--sol-600));
  box-shadow: var(--shadow-sol);
}
.btn--sun:hover { transform: translateY(-3px) rotate(0.5deg); box-shadow: 0 24px 50px rgba(255, 179, 0, 0.4); }
.btn--ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-3px); }
.btn--ghost-dark {
  color: var(--fucsia-700);
  background: #fff;
  border: 1.5px solid var(--fucsia-tint);
  box-shadow: var(--shadow-sm);
}
.btn--ghost-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--fucsia-soft); }
.btn--block { width: 100%; }
.btn--lg { padding: 19px 34px; font-size: 1.08rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.site-header.is-stuck {
  background: rgba(255, 248, 242, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(176, 8, 97, 0.12);
  border-bottom: 1px solid rgba(230, 9, 127, 0.08);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  height: 52px; width: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 3px;
  box-shadow: 0 6px 18px rgba(176, 8, 97, 0.18);
  border: 2px solid var(--fucsia-tint);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.brand__text span { font-size: 0.78rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  color: var(--plum);
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--fucsia); }
.nav__cta {
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--fucsia-soft), var(--fucsia));
  box-shadow: 0 8px 22px rgba(230, 9, 127, 0.3);
  transition: transform 0.2s ease;
}
.nav__cta:hover { transform: translateY(-2px); }

/* ==========================================================================
   Hero · blobs orgánicos de marca (sin foto de fondo)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 88% -8%, var(--cream-3), transparent 60%),
    linear-gradient(170deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--ink);
  margin-top: -78px;
  padding-top: 78px;
}
/* dotted soft texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(230, 9, 127, 0.06) 1.4px, transparent 1.6px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
  pointer-events: none;
  z-index: -1;
}
/* floating organic blobs */
.hero__blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  filter: blur(2px);
  opacity: 0.9;
  will-change: transform;
}
.blob--1 {
  width: 480px; height: 460px;
  right: -120px; top: -90px;
  background: radial-gradient(circle at 35% 35%, var(--fucsia-soft), var(--fucsia) 70%);
  border-radius: 47% 53% 44% 56% / 54% 45% 55% 46%;
  opacity: 0.16;
  animation: float-blob 11s ease-in-out infinite;
}
.blob--2 {
  width: 320px; height: 300px;
  left: -110px; bottom: -80px;
  background: radial-gradient(circle at 40% 40%, #ffd874, var(--sol) 70%);
  border-radius: 56% 44% 59% 41% / 43% 57% 43% 57%;
  opacity: 0.22;
  animation: float-blob 13s ease-in-out infinite reverse;
}
.blob--3 {
  width: 180px; height: 180px;
  right: 26%; bottom: 8%;
  background: radial-gradient(circle at 40% 40%, #7fe0bd, var(--verde) 72%);
  border-radius: 50%;
  opacity: 0.16;
  animation: float-blob 9s ease-in-out infinite;
}
@keyframes float-blob {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0); }
  50% { transform: translateY(-26px) translateX(10px) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none !important; } }

/* floating playful shapes (crayon dots / arco) */
.hero__doodle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: bob 6s ease-in-out infinite;
}
.hero__doodle--a { left: 4%; top: 30%; color: var(--coral); animation-delay: 0.4s; }
.hero__doodle--b { left: 46%; top: 12%; color: var(--cielo); animation-delay: 1.1s; }
.hero__doodle--c { right: 40%; bottom: 16%; color: var(--morado); animation-delay: 0.8s; }
.hero__doodle svg { width: 38px; height: 38px; opacity: 0.55; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) { .hero__doodle { animation: none; } }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: 64px 0 92px;
}
.hero__badge-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero__badge-logo img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--fucsia-tint);
}
.hero__badge-logo span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.86rem; color: var(--fucsia-700);
}
.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  font-weight: 700;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
}
.hero__lead {
  margin: 24px 0 0;
  max-width: 52ch;
  color: var(--plum);
  font-size: 1.18rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__urgency {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--fucsia-700);
  background: var(--fucsia-tint);
  border: 1px solid rgba(230, 9, 127, 0.18);
}
.hero__urgency .spark { animation: twinkle 1.7s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(1.22) rotate(18deg); opacity: 0.8; }
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1.5px dashed rgba(230, 9, 127, 0.2);
}
.hero__trust .stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--fucsia);
}
.hero__trust .stat span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Hero form ---------- */
.hero__form-wrap { position: relative; }
/* playful tilted ribbon behind the card */
.hero__form-wrap::before {
  content: "";
  position: absolute;
  inset: -14px -10px 18px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--sol) 0%, var(--coral) 100%);
  transform: rotate(-2.4deg);
  opacity: 0.18;
  z-index: 0;
}

.lead-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.lead-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--fucsia), var(--coral) 35%, var(--sol) 70%, var(--verde));
}
.lead-card__head { margin-bottom: 18px; }
.lead-card__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fucsia-700);
  background: var(--fucsia-tint);
  padding: 6px 13px; border-radius: 999px;
}
.lead-card h2 { font-size: 1.55rem; margin: 14px 0 6px; font-weight: 700; }
.lead-card__helper { color: var(--muted); font-size: 0.94rem; margin: 0; }
.lead-card--teaser {
  display: grid;
  gap: 18px;
}
.lead-card--teaser .lead-card__head { margin-bottom: 0; }

body.modal-open { overflow: hidden; }
.lead-modal[hidden] { display: none !important; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 12, 28, 0.72);
  backdrop-filter: blur(10px);
}
.lead-modal__panel {
  width: min(720px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.18s ease;
}
.lead-modal.is-open .lead-modal__panel { transform: translateY(0) scale(1); }
.lead-modal__panel .lead-card__head { padding-right: 48px; }
.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fucsia-tint);
  color: var(--fucsia-700);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lead-modal__close:hover {
  background: var(--fucsia);
  color: #fff;
  transform: rotate(4deg);
}

.lead-form { display: grid; gap: 14px; margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--text);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #c4a3b6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--fucsia);
  background: #fff;
  box-shadow: 0 0 0 3px var(--ring);
}
.math-row { display: grid; grid-template-columns: 1fr 110px; gap: 14px; align-items: end; }
.math-question { margin: 0; font-size: 0.88rem; color: var(--muted); align-self: center; }
.form-note { margin: 2px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.form-feedback { margin: 0; font-size: 0.92rem; font-weight: 700; }
.form-feedback[data-status="success"] { color: #1f9d55; }
.form-feedback[data-status="error"] { color: #d9544d; }
.honey-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   Marquee alegre
   ========================================================================== */
.marquee {
  background: linear-gradient(90deg, var(--fucsia) 0%, var(--fucsia-600) 100%);
  padding: 18px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 11px;
  color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.marquee__item svg { width: 20px; height: 20px; color: var(--sol); flex: 0 0 auto; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ==========================================================================
   Feature cards · propuesta educativa
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--accent, var(--fucsia));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.feature:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scaleX(1); }
.feature__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 20px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--accent, var(--fucsia));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent, var(--fucsia)) 38%, transparent);
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
.feature p { color: var(--muted); margin: 0; }
.feature--fucsia { --accent: var(--fucsia); }
.feature--sol    { --accent: var(--sol-600); }
.feature--verde  { --accent: var(--verde); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats {
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(255, 194, 51, 0.22), transparent 60%),
    linear-gradient(135deg, var(--fucsia) 0%, var(--fucsia-700) 100%);
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card { text-align: center; padding: 14px; }
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: #fff;
}
.stat-card span { color: #ffe0ef; font-size: 0.96rem; display: block; margin-top: 8px; }
.phone-line { display: inline-block; white-space: nowrap; font-weight: 800; }

/* ==========================================================================
   Galería · feed de Instagram
   ========================================================================== */
.gallery-band {
  background:
    radial-gradient(800px 420px at 12% 0%, var(--cream-3), transparent 60%),
    var(--cream);
}
.ig-head {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 8px;
}
.ig-head img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(176, 8, 97, 0.2);
}
.ig-handle { font-family: var(--font-display); font-weight: 600; color: var(--fucsia-700); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ig-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ig-card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow); }
.ig-card__media { position: relative; overflow: hidden; }
.ig-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ig-card:hover .ig-card__media img { transform: scale(1.06); }
.ig-card__media--content {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 30px;
}
.ig-card__media--montessori {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.65), transparent 28%),
    linear-gradient(135deg, #ffe3f1 0%, #fff8f2 45%, #d9f6ea 100%);
}
.ig-card__media--ambiente {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(135deg, #fff3d6 0%, #fff8f2 50%, #e3f5ff 100%);
}
.ig-card__media--familia {
  background:
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #ffe3f1 0%, #fff8f2 50%, #fff3d6 100%);
}
.ig-card__media--ubicacion {
  background:
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #d9f6ea 0%, #fff8f2 50%, #ffe3f1 100%);
}
.ig-card__poster {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: var(--ink);
}
.ig-card__poster img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}
.ig-card__poster strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.02;
  color: var(--fucsia-700);
}
.ig-card__poster span {
  max-width: 22ch;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}
.ig-card__tag {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.74rem; color: #fff;
  background: rgba(58, 20, 48, 0.55);
  backdrop-filter: blur(6px);
}
.ig-card figcaption {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  font-size: 0.92rem; color: var(--muted);
}
.ig-card figcaption svg { width: 18px; height: 18px; color: var(--fucsia); flex: 0 0 auto; }
.gallery-cta { text-align: center; margin-top: 44px; }

/* ==========================================================================
   Two-col panels cálidos
   ========================================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--line-soft);
}
.panel--fucsia {
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(255, 194, 51, 0.2), transparent 60%),
    linear-gradient(150deg, var(--fucsia) 0%, var(--fucsia-700) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}
.panel--light { background: var(--card); box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.55rem; margin-bottom: 22px; font-weight: 700; }
.panel--fucsia h3 { color: #fff; }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.panel li { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; }
.panel li svg { width: 22px; height: 22px; margin-top: 3px; flex: 0 0 auto; }
.panel--fucsia li svg { color: var(--sol); }
.panel--light li svg { color: var(--fucsia); }
.panel--fucsia li span { color: #ffe6f2; }
.panel--light li span { color: var(--plum); }

/* ==========================================================================
   Proceso de admisión · steps
   ========================================================================== */
.process-band {
  background:
    radial-gradient(700px 380px at 85% 100%, var(--cream-3), transparent 60%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.4rem;
  color: #fff;
  margin-bottom: 20px;
}
.step:nth-child(1) .step__num { background: linear-gradient(135deg, var(--fucsia-soft), var(--fucsia)); }
.step:nth-child(2) .step__num { background: linear-gradient(135deg, #ffd36b, var(--sol-600)); color: #4a2a00; }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, #7fe0bd, var(--verde)); }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.step__arrow {
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light);
  z-index: 2;
}
.step:last-child .step__arrow { display: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 6px 4px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(230, 9, 127, 0.4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--fucsia-tint);
  color: var(--fucsia-700);
  transition: transform 0.25s ease;
}
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__body p { margin: 0 0 12px; }
.faq-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

/* ==========================================================================
   Final CTA alegre
   ========================================================================== */
.final-cta { position: relative; overflow: hidden; }
.cta-box {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 64px 56px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(640px 360px at 18% 0%, rgba(255, 211, 107, 0.4), transparent 55%),
    radial-gradient(640px 360px at 90% 110%, rgba(255, 95, 174, 0.5), transparent 55%),
    linear-gradient(120deg, var(--fucsia) 0%, var(--fucsia-600) 100%);
  color: #fff;
  box-shadow: var(--shadow-fucsia);
}
.cta-box::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; max-width: 780px; margin: 0 auto; font-weight: 700; }
.cta-box p { font-size: 1.12rem; margin: 18px auto 30px; max-width: 600px; color: #ffe0ef; }
.cta-box__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(160deg, var(--plum) 0%, var(--ink) 100%);
  color: #e9d6e2;
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; background: #fff; padding: 3px;
  border: 2px solid var(--fucsia-soft);
}
.footer-brand strong { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; }
.footer-col p { margin: 16px 0 0; font-size: 0.95rem; max-width: 40ch; color: #d6bccd; }
.footer-col h4 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem; margin: 0 0 14px; }
.footer-col a, .footer-col span { display: block; color: #e9d6e2; font-size: 0.95rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--sol); }
.footer-col--contact a { display: flex; align-items: flex-start; gap: 10px; }
.footer-col--contact svg { width: 18px; height: 18px; color: var(--sol); flex: 0 0 auto; margin-top: 2px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: 0.86rem; color: #b78fa6;
}

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  padding: 16px;
  border-radius: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--fucsia-soft), var(--fucsia));
  box-shadow: 0 14px 34px rgba(176, 8, 97, 0.4);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; }
  .hero__doodle { display: none; }
  .features { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step__arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .cta-box { padding: 44px 26px; }
  .panel { padding: 30px 26px; }
  .lead-modal {
    align-items: end;
    padding: 10px;
  }
  .lead-modal__panel {
    max-height: calc(100dvh - 20px);
    border-radius: 24px 24px 18px 18px;
    padding: 28px 22px 24px;
  }
  .lead-card--teaser { padding: 26px; }
  body { padding-bottom: 86px; }
}
