/* ═══════════════════════════════════════════════════════════════
   EXCELENCIA SCHOOL — Landing Page CSS
   Diseño moderno, colores: Azul Navy + Cyan eléctrico
   ═══════════════════════════════════════════════════════════════ */

:root {
  --blue-950: #060d2e;
  --blue-900: #0a1a6b;
  --blue-800: #0f2d9e;
  --blue-700: #1a3fc4;
  --blue-600: #2557e7;
  --blue-500: #3b72f5;
  --cyan-500: #00c8e8;
  --cyan-400: #00deff;
  --cyan-300: #7ee8f8;
  --white: #ffffff;
  --ink-900: #0d1117;
  --ink-700: #1f2937;
  --ink-500: #4b5563;
  --ink-300: #9ca3af;
  --bg-light: #f0f4ff;
  --bg-lighter: #f7f9ff;
  --shadow-xl: 0 32px 72px rgba(10, 26, 107, 0.22);
  --shadow-lg: 0 20px 48px rgba(10, 26, 107, 0.16);
  --shadow-md: 0 10px 28px rgba(10, 26, 107, 0.12);
  --shadow-sm: 0 4px 14px rgba(10, 26, 107, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* ── Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: #f7f9ff;
  overflow-x: hidden;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-900));
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__left .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 0 rgba(0,222,255,0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,222,255,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(0,222,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,222,255,0); }
}

.topbar__right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__right span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar__right span::before {
  content: "•";
  color: var(--cyan-400);
  font-size: 0.7rem;
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,63,196,0.08);
  box-shadow: 0 2px 20px rgba(10,26,107,0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text-wrap {
  line-height: 1.2;
}

.brand__pretitle {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}

.brand__title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand__title span {
  color: var(--blue-700);
}

.brand__sub {
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 500;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--blue-700);
  background: rgba(26,63,196,0.07);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
  box-shadow: 0 6px 20px rgba(26,63,196,0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,63,196,0.5);
}

.btn--cyan {
  background: linear-gradient(135deg, var(--cyan-400), var(--cyan-500));
  color: var(--blue-950);
  box-shadow: 0 6px 20px rgba(0,200,232,0.4);
  font-weight: 800;
}

.btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,200,232,0.5);
}

.btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--blue-800);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--outline-blue {
  background: transparent;
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
}

.btn--outline-blue:hover {
  background: var(--blue-700);
  color: #fff;
}

.btn--small { padding: 9px 18px; font-size: 0.85rem; }

/* ── Botón Aula Virtual ──────────────────────────────────────── */
@keyframes aula-shine {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(250%) skewX(-15deg); }
}
@keyframes aula-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,232,0.5), 0 6px 20px rgba(0,200,232,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(0,200,232,0), 0 6px 20px rgba(0,200,232,0.4); }
}

.btn--aula {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00c8e8 0%, #0284c7 50%, #1a3fc4 100%);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid rgba(255,255,255,0.25);
  animation: aula-pulse 2.5s ease-in-out infinite;
}

.btn--aula::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: aula-shine 3s ease-in-out infinite;
}

.btn--aula svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.btn--aula:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0,200,232,0.55), 0 4px 12px rgba(26,63,196,0.4);
  animation: none;
  border-color: rgba(255,255,255,0.5);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  color: #fff;
  overflow: hidden;
  background: var(--blue-950);
}

/* Foto slider */
@keyframes heroSlide {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  animation: heroSlide 18s ease-in-out infinite;
}

.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(6,13,46,0.88)  0%,
    rgba(10,26,107,0.80) 55%,
    rgba(15,45,158,0.70) 100%);
  z-index: 1;
}

/* Grid decorativo de puntos */
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,200,232,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

/* Círculos decorativos */
.hero__orb1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,222,255,0.18), transparent 70%);
  top: -180px;
  right: -100px;
  pointer-events: none;
  z-index: 2;
}

.hero__orb2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,87,231,0.3), transparent 70%);
  bottom: -80px;
  left: 10%;
  pointer-events: none;
  z-index: 2;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,222,255,0.15);
  border: 1px solid rgba(0,222,255,0.3);
  color: var(--cyan-400);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  animation: pulse 1.5s infinite;
}

.hero__title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 3vw + 1rem, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.hero__title .highlight {
  color: var(--cyan-400);
  position: relative;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin: 0 0 20px;
  font-style: italic;
}

.hero__lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 24px;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stat__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan-400);
  line-height: 1;
}

.stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 2px;
}

/* ── Hero Card (formulario) ──────────────────────────────────── */
.hero__card {
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  animation: cardRise 0.8s ease 0.2s both;
}

.hero__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-700));
}

.card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

.card__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero__card h3 {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-900);
}

.hero__card .card__desc {
  margin: 0 0 20px;
  color: var(--ink-500);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ── Form ────────────────────────────────────────────────────── */
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form input,
.form select,
.form textarea {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font-size: 0.92rem;
  background: #fafbff;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(26,63,196,0.12);
  background: #fff;
}

.form .full { grid-column: span 2; }

.form__submit {
  grid-column: span 2;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(26,63,196,0.35);
  letter-spacing: 0.02em;
}

.form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,63,196,0.45);
}

/* ── Sections base ───────────────────────────────────────────── */
.section { padding: 90px 0; }
.section--white  { background: #fff; }
.section--light  { background: var(--bg-light); }
.section--lighter { background: var(--bg-lighter); }
.section--blue   {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: #fff;
}

.section__tag {
  display: inline-block;
  background: rgba(26,63,196,0.1);
  color: var(--blue-700);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section--blue .section__tag {
  background: rgba(0,222,255,0.15);
  color: var(--cyan-400);
}

.section__title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem);
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section--blue .section__title { color: #fff; }

.section__lead {
  font-size: 1.05rem;
  color: var(--ink-500);
  line-height: 1.75;
  max-width: 560px;
}

.section--blue .section__lead { color: rgba(255,255,255,0.75); }

.center { text-align: center; }
.center .section__lead { margin: 0 auto; }

/* ── About ───────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__list {
  list-style: none;
  padding: 0; margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--ink-700);
  line-height: 1.55;
}

.about__list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.image__frame {
  position: relative;
}

.image__frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 3px solid var(--cyan-500);
  opacity: 0.3;
}

.image__frame::after {
  content: "";
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  border-radius: 24px;
  opacity: 0.15;
  z-index: -1;
}

.image__card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.image__card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.image__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.image__badge .badge__icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.image__badge .badge__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.image__badge .badge__num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1;
}

.image__badge .badge__text {
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 600;
}

/* ── Features / Por qué ──────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,63,196,0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan-400));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-light), rgba(26,63,196,0.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature__icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 8px;
}

.feature__num span {
  color: var(--cyan-500);
}

.feature__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 8px;
}

.feature__text {
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ── Levels ──────────────────────────────────────────────────── */
.levels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.level-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(26,63,196,0.06);
}

.level-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.level-card__img {
  position: relative;
  overflow: hidden;
}

.level-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.level-card:hover .level-card__img img {
  transform: scale(1.05);
}

.level-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,107,0.55), transparent 60%);
}

.level-card__emoji {
  position: absolute;
  bottom: 16px; left: 20px;
  font-size: 2.2rem;
  z-index: 1;
}

.level-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.level-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.level-card__body h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-900);
}

.level-card__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.6;
  flex: 1;
}

.level-card__footer {
  padding: 0 24px 24px;
}

/* ── Schedule / Horario ──────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.schedule-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.schedule-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
}

.schedule-card__label {
  display: inline-block;
  background: var(--cyan-400);
  color: var(--blue-950);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.schedule-card__time {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.schedule-card__days {
  margin-top: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ── News ────────────────────────────────────────────────────── */
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(26,63,196,0.06);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card__img {
  position: relative;
  overflow: hidden;
}

.news-card__img img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-card__img img {
  transform: scale(1.06);
}

.news-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue-800);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card__body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-700);
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
}

.news-card__date {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-300);
  font-weight: 500;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 50%, var(--blue-800) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__orb1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,222,255,0.12), transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}

.cta__orb2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,63,196,0.25), transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.cta__title span { color: var(--cyan-400); }

.cta p {
  margin: 0 0 32px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #07102a;
  color: #94a3b8;
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__brand-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.footer__brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.footer__brand-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.footer__social a:hover {
  background: var(--blue-800);
  border-color: var(--blue-600);
}

.footer__social a svg {
  width: 16px; height: 16px;
  fill: #94a3b8;
  transition: fill 0.2s;
}

.footer__social a:hover svg { fill: #fff; }

.footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.footer a {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer a:hover { color: var(--cyan-400); }

.footer a::before {
  content: "›";
  color: var(--blue-600);
  font-weight: 700;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer__contact-icon {
  width: 32px; height: 32px;
  background: rgba(26,63,196,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: var(--cyan-400);
  stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.footer__contact-text {
  line-height: 1.4;
  color: #94a3b8;
}

.footer__contact-text strong {
  display: block;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer__bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #475569;
}

.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__bottom-left span {
  color: var(--cyan-500);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes cardRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__copy { animation: heroRise 0.8s ease 0.05s both; }

/* ── Hamburger (mobile) ──────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 2px solid rgba(26,63,196,0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  order: 3;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue-800);
  border-radius: 999px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__cta-mobile  { display: none; }
.nav__cta-desktop { display: inline-flex; }

/* ── Wave Divider ────────────────────────────────────────────── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── Doodle Pattern (iconos educativos SVG generados) ────────── */
.section--white,
.section--lighter {
  position: relative;
}

.section--white::before,
.section--lighter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 420'%3E%3Cg fill='none' stroke='%231a3fc4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.08'%3E%3Cg transform='translate(55,50) rotate(-12)'%3E%3Cpolygon points='0,-15 22,-5 0,5 -22,-5'/%3E%3Cline x1='0' y1='5' x2='0' y2='20'/%3E%3Cline x1='15' y1='-1' x2='15' y2='12'/%3E%3Cpath d='M-14,10 C-14,18 -7,22 0,22 C7,22 14,18 14,10'/%3E%3C/g%3E%3Cg transform='translate(180,62)'%3E%3Ccircle r='22'/%3E%3Cellipse rx='10' ry='22'/%3E%3Cline x1='-22' y1='0' x2='22' y2='0'/%3E%3Cpath d='M-20,-11 C-10,-7 10,-7 20,-11'/%3E%3Cpath d='M-20,11 C-10,7 10,7 20,11'/%3E%3C/g%3E%3Cg transform='translate(330,55)'%3E%3Cpath d='M0,-16 C-5,-18 -20,-18 -26,-14 L-26,18 C-20,15 -5,15 0,18'/%3E%3Cpath d='M0,-16 C5,-18 20,-18 26,-14 L26,18 C20,15 5,15 0,18'/%3E%3Cline x1='0' y1='-16' x2='0' y2='18'/%3E%3C/g%3E%3Cg transform='translate(470,50) rotate(15)'%3E%3Crect x='-5' y='-28' width='10' height='44' rx='1'/%3E%3Cpolygon points='-5,16 5,16 0,28'/%3E%3Crect x='-5' y='-33' width='10' height='5'/%3E%3Cline x1='-5' y1='-22' x2='5' y2='-22'/%3E%3C/g%3E%3Cg transform='translate(580,60) rotate(-8)'%3E%3Crect x='-38' y='-9' width='76' height='18' rx='2'/%3E%3Cline x1='-28' y1='-9' x2='-28' y2='-3'/%3E%3Cline x1='-18' y1='-9' x2='-18' y2='2'/%3E%3Cline x1='-8' y1='-9' x2='-8' y2='-3'/%3E%3Cline x1='2' y1='-9' x2='2' y2='2'/%3E%3Cline x1='12' y1='-9' x2='12' y2='-3'/%3E%3Cline x1='22' y1='-9' x2='22' y2='2'/%3E%3Cline x1='32' y1='-9' x2='32' y2='-3'/%3E%3C/g%3E%3Cg transform='translate(78,175) rotate(25)'%3E%3Ccircle cx='-9' cy='-16' r='7'/%3E%3Ccircle cx='9' cy='-16' r='7'/%3E%3Cline x1='-5' y1='-10' x2='0' y2='22'/%3E%3Cline x1='5' y1='-10' x2='0' y2='22'/%3E%3C/g%3E%3Cg transform='translate(240,172)'%3E%3Ccircle cx='-16' cy='0' r='13'/%3E%3Ccircle cx='16' cy='0' r='13'/%3E%3Cline x1='-3' y1='-2' x2='3' y2='-2'/%3E%3Cline x1='-36' y1='-8' x2='-29' y2='-4'/%3E%3Cline x1='29' y1='-4' x2='36' y2='-8'/%3E%3C/g%3E%3Cg transform='translate(410,168)'%3E%3Crect x='-18' y='-22' width='36' height='40' rx='8'/%3E%3Cpath d='M-10,-22 C-10,-30 10,-30 10,-22'/%3E%3Cline x1='-18' y1='-5' x2='18' y2='-5'/%3E%3Crect x='-8' y='-5' width='16' height='10' rx='3'/%3E%3C/g%3E%3Cg transform='translate(560,172) rotate(8)'%3E%3Cline x1='-7' y1='-24' x2='-7' y2='0'/%3E%3Cline x1='7' y1='-24' x2='7' y2='0'/%3E%3Cpath d='M-7,0 L-20,22 A5,5 0 0,0 20,22 L7,0 Z'/%3E%3Cline x1='-11' y1='-27' x2='11' y2='-27'/%3E%3C/g%3E%3Cg transform='translate(55,290) rotate(-5)'%3E%3Cpolygon points='0,-30 28,12 -28,12'/%3E%3Cline x1='0' y1='-20' x2='18' y2='12'/%3E%3Cline x1='0' y1='-10' x2='9' y2='12'/%3E%3C/g%3E%3Cg transform='translate(210,288)'%3E%3Ccircle cx='0' cy='-14' r='5'/%3E%3Cline x1='-4' y1='-10' x2='-14' y2='22'/%3E%3Cline x1='4' y1='-10' x2='14' y2='22'/%3E%3Cline x1='-9' y1='7' x2='9' y2='7'/%3E%3C/g%3E%3Cg transform='translate(380,285)'%3E%3Ccircle r='22'/%3E%3Ccircle r='2'/%3E%3Cline x1='0' y1='-15' x2='0' y2='-2'/%3E%3Cline x1='0' y1='-2' x2='10' y2='6'/%3E%3C/g%3E%3Cg transform='translate(530,282) rotate(25)'%3E%3Ccircle cx='0' cy='-9' r='16'/%3E%3Cline x1='11' y1='4' x2='24' y2='22'/%3E%3C/g%3E%3Cg transform='translate(80,385) rotate(10)'%3E%3Cpath d='M-20,-2 C-22,-18 -8,-28 8,-24 C24,-20 28,0 18,14 C8,26 -20,22 -20,-2 Z'/%3E%3Ccircle cx='-8' cy='-14' r='3.5'/%3E%3Ccircle cx='8' cy='-20' r='3.5'/%3E%3Ccircle cx='18' cy='-6' r='3.5'/%3E%3Ccircle cx='14' cy='10' r='3.5'/%3E%3C/g%3E%3Cg transform='translate(255,380)'%3E%3Crect x='-18' y='-25' width='36' height='48' rx='3'/%3E%3Crect x='-9' y='-30' width='18' height='10' rx='4'/%3E%3Cline x1='-12' y1='-10' x2='12' y2='-10'/%3E%3Cline x1='-12' y1='0' x2='12' y2='0'/%3E%3Cline x1='-12' y1='10' x2='5' y2='10'/%3E%3C/g%3E%3Cg transform='translate(430,378) rotate(-5)'%3E%3Cpolygon points='0,-26 10,-12 5,26 0,32 -5,26 -10,-12'/%3E%3Cpolygon points='-12,-28 12,-28 10,-12 -10,-12'/%3E%3C/g%3E%3Cg transform='translate(565,380)'%3E%3Ccircle cy='-16' r='10'/%3E%3Cline x1='0' y1='-6' x2='0' y2='22'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 640px 420px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

.section--white > .container,
.section--lighter > .container {
  position: relative;
  z-index: 1;
}

/* Doodle blanco para secciones oscuras */
.section--blue,
.cta {
  position: relative;
}

.section--blue::before,
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 420'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.13'%3E%3Cg transform='translate(55,50) rotate(-12)'%3E%3Cpolygon points='0,-15 22,-5 0,5 -22,-5'/%3E%3Cline x1='0' y1='5' x2='0' y2='20'/%3E%3Cline x1='15' y1='-1' x2='15' y2='12'/%3E%3Cpath d='M-14,10 C-14,18 -7,22 0,22 C7,22 14,18 14,10'/%3E%3C/g%3E%3Cg transform='translate(180,62)'%3E%3Ccircle r='22'/%3E%3Cellipse rx='10' ry='22'/%3E%3Cline x1='-22' y1='0' x2='22' y2='0'/%3E%3Cpath d='M-20,-11 C-10,-7 10,-7 20,-11'/%3E%3Cpath d='M-20,11 C-10,7 10,7 20,11'/%3E%3C/g%3E%3Cg transform='translate(330,55)'%3E%3Cpath d='M0,-16 C-5,-18 -20,-18 -26,-14 L-26,18 C-20,15 -5,15 0,18'/%3E%3Cpath d='M0,-16 C5,-18 20,-18 26,-14 L26,18 C20,15 5,15 0,18'/%3E%3Cline x1='0' y1='-16' x2='0' y2='18'/%3E%3C/g%3E%3Cg transform='translate(470,50) rotate(15)'%3E%3Crect x='-5' y='-28' width='10' height='44' rx='1'/%3E%3Cpolygon points='-5,16 5,16 0,28'/%3E%3Crect x='-5' y='-33' width='10' height='5'/%3E%3Cline x1='-5' y1='-22' x2='5' y2='-22'/%3E%3C/g%3E%3Cg transform='translate(580,60) rotate(-8)'%3E%3Crect x='-38' y='-9' width='76' height='18' rx='2'/%3E%3Cline x1='-28' y1='-9' x2='-28' y2='-3'/%3E%3Cline x1='-18' y1='-9' x2='-18' y2='2'/%3E%3Cline x1='-8' y1='-9' x2='-8' y2='-3'/%3E%3Cline x1='2' y1='-9' x2='2' y2='2'/%3E%3Cline x1='12' y1='-9' x2='12' y2='-3'/%3E%3Cline x1='22' y1='-9' x2='22' y2='2'/%3E%3Cline x1='32' y1='-9' x2='32' y2='-3'/%3E%3C/g%3E%3Cg transform='translate(78,175) rotate(25)'%3E%3Ccircle cx='-9' cy='-16' r='7'/%3E%3Ccircle cx='9' cy='-16' r='7'/%3E%3Cline x1='-5' y1='-10' x2='0' y2='22'/%3E%3Cline x1='5' y1='-10' x2='0' y2='22'/%3E%3C/g%3E%3Cg transform='translate(240,172)'%3E%3Ccircle cx='-16' cy='0' r='13'/%3E%3Ccircle cx='16' cy='0' r='13'/%3E%3Cline x1='-3' y1='-2' x2='3' y2='-2'/%3E%3Cline x1='-36' y1='-8' x2='-29' y2='-4'/%3E%3Cline x1='29' y1='-4' x2='36' y2='-8'/%3E%3C/g%3E%3Cg transform='translate(410,168)'%3E%3Crect x='-18' y='-22' width='36' height='40' rx='8'/%3E%3Cpath d='M-10,-22 C-10,-30 10,-30 10,-22'/%3E%3Cline x1='-18' y1='-5' x2='18' y2='-5'/%3E%3Crect x='-8' y='-5' width='16' height='10' rx='3'/%3E%3C/g%3E%3Cg transform='translate(560,172) rotate(8)'%3E%3Cline x1='-7' y1='-24' x2='-7' y2='0'/%3E%3Cline x1='7' y1='-24' x2='7' y2='0'/%3E%3Cpath d='M-7,0 L-20,22 A5,5 0 0,0 20,22 L7,0 Z'/%3E%3Cline x1='-11' y1='-27' x2='11' y2='-27'/%3E%3C/g%3E%3Cg transform='translate(55,290) rotate(-5)'%3E%3Cpolygon points='0,-30 28,12 -28,12'/%3E%3Cline x1='0' y1='-20' x2='18' y2='12'/%3E%3Cline x1='0' y1='-10' x2='9' y2='12'/%3E%3C/g%3E%3Cg transform='translate(210,288)'%3E%3Ccircle cx='0' cy='-14' r='5'/%3E%3Cline x1='-4' y1='-10' x2='-14' y2='22'/%3E%3Cline x1='4' y1='-10' x2='14' y2='22'/%3E%3Cline x1='-9' y1='7' x2='9' y2='7'/%3E%3C/g%3E%3Cg transform='translate(380,285)'%3E%3Ccircle r='22'/%3E%3Ccircle r='2'/%3E%3Cline x1='0' y1='-15' x2='0' y2='-2'/%3E%3Cline x1='0' y1='-2' x2='10' y2='6'/%3E%3C/g%3E%3Cg transform='translate(530,282) rotate(25)'%3E%3Ccircle cx='0' cy='-9' r='16'/%3E%3Cline x1='11' y1='4' x2='24' y2='22'/%3E%3C/g%3E%3Cg transform='translate(80,385) rotate(10)'%3E%3Cpath d='M-20,-2 C-22,-18 -8,-28 8,-24 C24,-20 28,0 18,14 C8,26 -20,22 -20,-2 Z'/%3E%3Ccircle cx='-8' cy='-14' r='3.5'/%3E%3Ccircle cx='8' cy='-20' r='3.5'/%3E%3Ccircle cx='18' cy='-6' r='3.5'/%3E%3Ccircle cx='14' cy='10' r='3.5'/%3E%3C/g%3E%3Cg transform='translate(255,380)'%3E%3Crect x='-18' y='-25' width='36' height='48' rx='3'/%3E%3Crect x='-9' y='-30' width='18' height='10' rx='4'/%3E%3Cline x1='-12' y1='-10' x2='12' y2='-10'/%3E%3Cline x1='-12' y1='0' x2='12' y2='0'/%3E%3Cline x1='-12' y1='10' x2='5' y2='10'/%3E%3C/g%3E%3Cg transform='translate(430,378) rotate(-5)'%3E%3Cpolygon points='0,-26 10,-12 5,26 0,32 -5,26 -10,-12'/%3E%3Cpolygon points='-12,-28 12,-28 10,-12 -10,-12'/%3E%3C/g%3E%3Cg transform='translate(565,380)'%3E%3Ccircle cy='-16' r='10'/%3E%3Cline x1='0' y1='-6' x2='0' y2='22'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 640px 420px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

.section--blue > .container,
.cta__content {
  position: relative;
  z-index: 1;
}

/* ── Collage Nosotros ────────────────────────────────────────── */
.about__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about__gallery-main img,
.about__gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.about__gallery-main:hover img,
.about__gallery-side:hover img {
  transform: scale(1.04);
}

.about__gallery-main,
.about__gallery-side {
  overflow: hidden;
  border-radius: 0;
}

/* ── Galería ─────────────────────────────────────────────────── */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
  margin-top: 48px;
  grid-template-areas:
    "a b c"
    "d e f";
}

.galeria__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,46,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.galeria__item:hover img  { transform: scale(1.07); }
.galeria__item:hover::after { opacity: 1; }

.galeria__item--a { grid-area: a; }
.galeria__item--b { grid-area: b; }
.galeria__item--c { grid-area: c; }
.galeria__item--d { grid-area: d; }
.galeria__item--e { grid-area: e; }
.galeria__item--f { grid-area: f; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 560px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .about__gallery { grid-template-columns: repeat(3, 1fr); height: 280px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .levels__grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
    grid-template-areas:
      "a b"
      "c d"
      "e f";
  }
}

@media (max-width: 768px) {
  .topbar { display: none; }

  .header__inner { flex-wrap: nowrap; position: relative; }
  .nav-toggle { display: flex; }
  .nav__cta-desktop { display: none; }
  .nav__cta-mobile  { display: inline-flex; width: 100%; justify-content: center; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-top: 2px solid var(--blue-700);
    box-shadow: 0 10px 30px rgba(10,26,107,0.15);
    padding: 12px 20px 16px;
    z-index: 100;
  }

  .nav--open { display: flex; }

  .nav__link {
    padding: 13px 4px;
    border-bottom: 1px solid #f0f4ff;
    border-radius: 0;
    font-size: 1rem;
  }

  .nav__link:last-of-type { border-bottom: none; }
  .nav__cta-mobile { margin-top: 12px; }

  .section { padding: 64px 0; }
  .hero { padding: 60px 0 80px; }
  .hero__stats { gap: 16px; }

  .features__grid { grid-template-columns: 1fr; }
  .levels__grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 220px); height: auto; }
  .galeria__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
    grid-template-areas:
      "a b"
      "c d"
      "e f";
  }

  .form { grid-template-columns: 1fr; }
  .form .full { grid-column: span 1; }
  .form__submit { grid-column: span 1; }

  .news__head { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 12px; }
  .stat:not(:last-child)::after { display: none; }
  .hero__actions { flex-direction: column; }
}
