/* ═══════════════════════════════════════
   MONTESSORI DEL RÍO — Styles
   ═══════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --olive:   #6F7F6A;
  --olive-d: #5a6856;
  --olive-l: #8fa089;
  --gray:    #5F5F5F;
  --beige:   #EFEAE3;
  --white:   #FAF9F6;
  --accent:  #b5956a;

  --f-head: 'Quicksand', 'Poppins', sans-serif;
  --f-sub:  'Nunito', sans-serif;
  --f-body: 'Poppins', sans-serif;
  --f-label:'Montserrat', sans-serif;

  --nav-h: 106px;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(111,127,106,.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--white);
  color: var(--gray);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.section-eyebrow {
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #3d4a3a;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--olive); font-weight: 600; }

.section-body {
  font-family: var(--f-sub);
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--f-label);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}
.btn--primary:hover { background: var(--olive-d); border-color: var(--olive-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(111,127,106,.35); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.btn--outline:hover { background: var(--olive); color: #fff; }

.btn--nav {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
  padding: .55rem 1.3rem;
  font-size: .82rem;
}
.btn--nav:hover { background: var(--olive-d); }

.btn--full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111,127,106,.12);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(111,127,106,.15); }

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar__logo img { height: 78px; width: auto; object-fit: contain; }
.navbar__logo-fallback {
  display: none;
  align-items: center;
  gap: .5rem;
}
.logo-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--olive);
  color: #fff;
  border-radius: 50%;
  width: 52px; height: 52px;
  justify-content: center;
  font-size: .45rem;
  font-family: var(--f-label);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.1;
}
.logo-icon { font-size: .9rem; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.navbar__nav a {
  font-family: var(--f-label);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  padding: .5rem 1rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.navbar__nav a:hover { color: var(--olive); background: rgba(111,127,106,.08); }
.navbar__nav a.active {
  color: var(--olive);
  background: rgba(111,127,106,.12);
  box-shadow: 0 2px 10px rgba(111,127,106,.22), inset 0 -2px 0 var(--olive);
  border-radius: 8px;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--olive);
  border-radius: 2px;
  transition: all .3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(111,127,106,.12);
  gap: .25rem;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  font-family: var(--f-label);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray);
  padding: .65rem .75rem;
  border-radius: 8px;
}
.navbar__mobile a:hover { color: var(--olive); background: rgba(111,127,106,.08); }
.navbar__mobile .btn { margin-top: .75rem; text-align: center; }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Foto como columna izquierda del grid */
.hero__photo {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  z-index: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 10s ease;
}
.hero:hover .hero__photo img { transform: scale(1.04); }

/* Degradado: transparente izquierda → beige sólido derecha */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(239,234,227,0)   0%,
    rgba(239,234,227,0)   50%,
    rgba(239,234,227,.55) 68%,
    rgba(239,234,227,.92) 82%,
    rgba(239,234,227,1)   95%
  );
}

/* Columna izquierda vacía — oculta, ya no necesaria */
.hero__photo-col {
  display: none;
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  background: var(--beige);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 2rem;
}

.hero__brand {
  font-family: var(--f-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #3a3020;
  margin-bottom: .6rem;
}

.hero__eyebrow {
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--f-head);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: #3a3020;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: italic;
  color: var(--olive);
  font-family: 'Quicksand', cursive;
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero__divider::before, .hero__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(111,127,106,.3);
}
.hero__heart { color: var(--olive); font-size: 1.1rem; }

.hero__sub {
  font-family: var(--f-sub);
  font-size: 1.05rem;
  color: #5a5040;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero__cta .btn--ghost {
  color: var(--olive);
  border-color: var(--olive);
}
.hero__cta .btn--ghost:hover { background: var(--olive); color: #fff; }

.hero__contact {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-label);
  font-size: .95rem;
  font-weight: 600;
  color: var(--olive-d);
}
.hero__contact svg { flex-shrink: 0; }


/* ══════════════════════════════════════
   PILLARS STRIP
══════════════════════════════════════ */
.pillars {
  background: var(--white);
  border-bottom: 1px solid rgba(111,127,106,.12);
}
.pillars__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 2rem 2rem;
  gap: 0;
}
.pillar {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: 1;
  padding: .5rem 1.5rem;
}
.pillar__icon {
  width: 32px; height: 32px;
  color: var(--olive);
  flex-shrink: 0;
}
.pillar p {
  font-family: var(--f-sub);
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.45;
}
.pillar__sep {
  width: 1px;
  height: 40px;
  background: rgba(111,127,106,.2);
  flex-shrink: 0;
}


/* ══════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════ */
.video-section {
  background: var(--beige);
  padding: 6rem 2rem;
}
.video-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.video-section__video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow), 0 0 0 8px rgba(111,127,106,.1);
}
.video-section__video video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.video-section__badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--olive);
  color: #fff;
  border-radius: 12px;
  padding: .75rem 1.1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.video-section__badge span {
  display: block;
  font-family: var(--f-head);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.video-section__badge small {
  font-family: var(--f-sub);
  font-size: .72rem;
  opacity: .85;
}

.quote {
  background: var(--white);
  border-left: 4px solid var(--olive);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.quote p {
  font-family: var(--f-sub);
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
}
.quote cite {
  display: block;
  margin-top: .5rem;
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 600;
  color: var(--olive);
  font-style: normal;
}


/* ══════════════════════════════════════
   PROGRAMS
══════════════════════════════════════ */
.programs {
  background: var(--white);
  padding: 6rem 2rem;
}
.programs__inner { max-width: 1200px; margin: 0 auto; }
.programs__header { text-align: center; margin-bottom: 3.5rem; }

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

.program-card {
  background: var(--beige);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(111,127,106,.2); }

.program-card--featured {
  background: #fff;
  outline: 2.5px solid var(--olive);
  outline-offset: -2.5px;
}

.program-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.program-card__img img { transition: transform .4s; }
.program-card:hover .program-card__img img { transform: scale(1.05); }

.program-card__age {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--olive);
  color: #fff;
  font-family: var(--f-label);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .3rem .8rem;
  border-radius: 20px;
}

.program-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.program-card__body h3 {
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #3d4a3a;
  margin-bottom: .6rem;
}
.program-card__body p {
  font-family: var(--f-sub);
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.program-card__body ul {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.program-card__body li {
  font-family: var(--f-sub);
  font-size: .85rem;
  color: var(--gray);
  padding-left: 1.2rem;
  position: relative;
}
.program-card__body li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-size: .6rem;
  top: .2rem;
}


/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.gallery { overflow: hidden; }
.gallery__inner {
  display: flex;
  height: 260px;
  gap: 4px;
}
.gallery__inner img {
  flex: 1;
  object-fit: cover;
  transition: flex .4s ease;
  cursor: pointer;
}
.gallery__inner img:hover { flex: 2.5; }


/* ══════════════════════════════════════
   ADMISSIONS / LEAD FORM
══════════════════════════════════════ */
.admissions {
  background: var(--olive);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.admissions::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.admissions::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.admissions__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.admissions__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}
.admissions__info-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-family: var(--f-sub);
  font-size: .95rem;
  color: rgba(239,234,227,.9);
}
.admissions__info-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; color: rgba(239,234,227,.7); }

.admissions__form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.admissions__form h3 {
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #3d4a3a;
  margin-bottom: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--gray);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid #ddd5c8;
  border-radius: 10px;
  font-family: var(--f-sub);
  font-size: .9rem;
  color: var(--gray);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(111,127,106,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-disclaimer {
  font-family: var(--f-sub);
  font-size: .72rem;
  color: #aaa;
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success svg {
  width: 52px; height: 52px;
  color: var(--olive);
  margin: 0 auto 1rem;
  stroke-width: 2.5;
}
.form-success h4 {
  font-family: var(--f-head);
  font-size: 1.2rem;
  color: #3d4a3a;
  margin-bottom: .5rem;
}
.form-success p {
  font-family: var(--f-sub);
  font-size: .9rem;
  color: var(--gray);
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: #2e3a2b;
  color: rgba(239,234,227,.8);
  padding: 4rem 2rem 0;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand p {
  font-family: var(--f-sub);
  font-size: .88rem;
  line-height: 1.7;
  margin-top: .75rem;
  color: rgba(239,234,227,.7);
}
.footer__logo-wrap { margin-bottom: .75rem; }

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(239,234,227,.8);
  transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--olive); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }

.footer__links h4,
.footer__contact h4 {
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(239,234,227,.5);
  margin-bottom: 1rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__links a {
  font-family: var(--f-sub);
  font-size: .88rem;
  color: rgba(239,234,227,.75);
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }

.footer__contact p {
  font-family: var(--f-sub);
  font-size: .88rem;
  color: rgba(239,234,227,.75);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.footer__contact a { color: rgba(239,234,227,.75); transition: color .2s; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: center;
}
.footer__bottom p {
  font-family: var(--f-sub);
  font-size: .78rem;
  color: rgba(239,234,227,.4);
  text-align: center;
}
.footer__bottom a { color: rgba(239,234,227,.55); transition: color .2s; }
.footer__bottom a:hover { color: rgba(239,234,227,.9); }


/* ══════════════════════════════════════
   WHATSAPP FAB
══════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.5); }
.whatsapp-fab svg { width: 30px; height: 30px; }


/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .22s; }
.fade-up-d3 { animation-delay: .34s; }
.fade-up-d4 { animation-delay: .46s; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ── Tablet ancho ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__content { padding: 3rem 2.5rem; }
  .programs__grid { gap: 1.25rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .video-section__inner { gap: 3rem; }
}

/* ── Tablet / teléfono grande ── */
@media (max-width: 768px) {
  :root { --nav-h: 72px; }

  /* Navbar */
  .navbar__nav, .btn--nav { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__inner { padding: 0 1.25rem; }
  .navbar__logo img { height: 56px; }

  /* Hero: imagen arriba (corta) + contenido beige abajo */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
    background: var(--beige);
  }
  .hero__photo {
    position: relative;
    height: 58vh;
    flex-shrink: 0;
  }
  .hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero__photo-overlay {
    background:
      linear-gradient(to left,  rgba(250,249,246,.92) 0%, rgba(250,249,246,.55) 45%, transparent 85%),
      linear-gradient(to bottom, transparent 40%,     rgba(239,234,227,.7) 75%,  rgba(239,234,227,1) 100%);
  }
  .hero__photo-col { display: none; }
  .hero__content {
    position: relative;
    z-index: 1;
    min-height: auto;
    margin-top: -175px;
    padding: 8px 1.5rem 2.5rem;
    background: linear-gradient(to bottom, transparent 0, transparent 120px, var(--beige) 155px, var(--beige) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: flex-start;
  }
  .hero__divider { display: none; }
  .hero__contact { display: none; }
  .hero__cta { justify-content: flex-end; }
  .hero__title { font-size: 2rem; line-height: 1.18; }
  .hero__sub { font-size: .95rem; }

  /* Pillars — 2 columnas */
  .pillars__inner {
    flex-wrap: wrap;
    gap: .75rem;
    padding: 1.25rem 1.25rem;
  }
  .pillar {
    flex: 1 1 calc(50% - 1.5rem);
    padding: .4rem .5rem;
    gap: .6rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .pillar p { font-size: .78rem; }
  .pillar__sep { display: none; }

  /* Video section */
  .video-section { padding: 3.5rem 1.5rem; }
  .video-section__inner { grid-template-columns: 1fr; gap: 2rem; }
  .video-section__video { max-width: 480px; margin: 0 auto; width: 100%; }

  /* Programs */
  .programs { padding: 3.5rem 1.5rem; }
  .programs__grid { grid-template-columns: 1fr; max-width: 100%; margin: 0; }
  .program-card__img { height: 200px; }

  /* Gallery — scroll horizontal */
  .gallery__inner {
    height: 200px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }
  .gallery__inner img {
    flex: 0 0 72vw;
    height: 100%;
    scroll-snap-align: start;
    border-radius: 10px;
  }
  .gallery__inner img:hover { flex: 0 0 72vw; }

  /* Admissions */
  .admissions { padding: 3.5rem 1.5rem; }
  .admissions__inner { grid-template-columns: 1fr; gap: 2rem; }
  .admissions__form { padding: 1.75rem 1.5rem; }

  /* Footer */
  .footer { padding: 3rem 1.5rem 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__brand p { font-size: .84rem; }
}

/* ── Teléfono chico ── */
@media (max-width: 480px) {
  :root { --nav-h: 66px; }

  .navbar__logo img { height: 48px; }

  /* Hero */
  .hero__title { font-size: 1.85rem; }
  .hero__brand { font-size: 1rem; }
  .hero__sub { font-size: .9rem; }
  .hero__cta { flex-direction: column; gap: .75rem; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* Pillars — 1 columna */
  .pillar { flex: 1 1 100%; flex-direction: row; justify-content: center; }

  /* Títulos */
  .section-title { font-size: 1.6rem; }

  /* Gallery */
  .gallery__inner { height: 185px; }
  .gallery__inner img { flex: 0 0 80vw; }

  /* Programs */
  .program-card__body { padding: 1.25rem; }

  /* Admissions form */
  .admissions__form { padding: 1.25rem 1rem; }
  .admissions__form h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }

  /* Footer */
  .footer__social a { width: 34px; height: 34px; }

  /* WhatsApp FAB más chico */
  .whatsapp-fab { width: 50px; height: 50px; bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}
