/* ===================================================
   ESCUELA DEL SOL — styles.css
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Variables ---------- */
:root {
  --orange:       #E8A020;
  --orange-dark:  #C8880A;
  --orange-light: #FAD98A;
  --orange-pale:  #FDF4DC;
  --orange-bg:    #F5C842;
  --white:        #ffffff;
  --gray-light:   #F0F2F5;
  --gray:         #666666;
  --dark:         #333333;
  --radius-btn:   25px;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --transition:   all 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Lora', serif; color: var(--dark); line-height: 1.65; font-size: 16px; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ---------- Utility ---------- */
.text-center  { text-align: center; }
.text-orange  { color: var(--orange); }
.text-white   { color: var(--white); }
.fw-bold      { font-weight: 700; }
.mt-10        { margin-top: 10px; }
.mt-20        { margin-top: 20px; }
.mt-30        { margin-top: 30px; }
.mb-10        { margin-bottom: 10px; }
.mb-20        { margin-bottom: 20px; }

/* ---------- Wrapper ---------- */
.wrap         { max-width: 900px;  margin: 0 auto; }
.wrap-wide    { max-width: 1200px; margin: 0 auto; }
.wrap-narrow  { max-width: 650px;  margin: 0 auto; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 70px;
}
.nav-desktop { margin-left: 157px; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-circle svg { width: 34px; height: 34px; }

.logo-texts { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name  { font-size: 1.05rem; font-weight: 700; color: var(--orange); letter-spacing: 0.4px; }
.logo-sub   { font-size: 0.6rem;  color: var(--orange); font-style: italic; }

/* Desktop nav */
.nav-desktop {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item { position: relative; }

.nav-link-cta {
  background: var(--orange);
  color: white !important;
  border-radius: 20px;
  padding: 5px 14px !important;
}
.nav-link-cta:hover { background: var(--orange-dark); color: white !important; }
.nav-mobile a.nav-link-cta {
  display: inline-block;
  margin: 4px 12px;
  text-align: center;
  border-radius: 20px;
}
.nav-link {
  display: inline-block;
  padding: 5px 8px;
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  color: var(--dark);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link .arrow { font-size: 0.6rem; margin-left: 2px; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding-top: 4px;
  background: var(--white);
  background-clip: padding-box;
  border-top: 3px solid var(--orange);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 200;
  border-radius: 0 0 6px 6px;
}
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.83rem;
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--orange-pale); color: var(--orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid #eee;
  overflow-y: auto;
  max-height: calc(100vh - 70px);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid #f2f2f2;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--orange); background: var(--orange-pale); }
.nav-mobile .mob-sub { background: var(--orange-pale); }
.nav-mobile .mob-sub a { padding-left: 40px; font-size: 0.83rem; color: var(--gray); }
.mob-parent-row { display: flex; align-items: stretch; border-bottom: 1px solid #f2f2f2; }
.mob-parent-row .mob-parent-link { flex: 1; border-bottom: none; }
.mob-toggle {
  display: flex;
  align-items: center;
  padding: 12px 22px;
  font-size: 0.9rem;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}
.mob-toggle:hover { color: var(--orange); background: var(--orange-pale); }

/* =====================================================
   BANNER (frase superior)
   ===================================================== */
.site-banner {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
}
.site-banner-text {
  display: inline-block;
  font-style: italic;
  animation: banner-marquee-loop 18s linear infinite;
}
@keyframes banner-marquee-loop {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: #c8c8c8;
  overflow: hidden;
  aspect-ratio: 1920 / 1000;
  max-height: 1000px;
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay-buttons {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* =====================================================
   BOTONES
   ===================================================== */
.btn {
  display: inline-block;
  padding: 9px 26px;
  border: 2px solid var(--orange);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  background: var(--orange);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background: var(--orange-light); border-color: var(--orange-light); color: var(--dark); }

.btn-filled  { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-filled:hover { background: var(--orange-light); border-color: var(--orange-light); color: var(--dark); }

.btn-white   { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-white:hover { background: var(--orange-light); border-color: var(--orange-light); color: var(--dark); }

.btn-block   { display: block; width: 100%; }
.btn-center  { margin: 0 auto; display: block; max-width: 260px; }

/* =====================================================
   SECCIONES GENÉRICAS
   ===================================================== */
.section { padding: 55px 20px; }
.section-sm { padding: 35px 20px; }
.section-orange      { background: var(--orange);      color: var(--white); }
.section-light-orange{ background: var(--orange-light);}
.section-pale        { background: var(--orange-pale); }
.section-gray        { background: var(--gray-light);  }
.section-white       { background: var(--white);       }

/* Headings de sección */
.sec-title {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.3;
}
.sec-title-sm {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
  color: var(--orange);
}
.sec-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
  margin-bottom: 14px;
}

/* =====================================================
   PAGE HEADER (banner interno de página)
   ===================================================== */
.page-header {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 40px 20px 30px;
}
.page-header h1 { font-size: 2rem; font-weight: 700; }
.page-header p  { margin-top: 6px; font-size: 0.95rem; }

/* =====================================================
   IMAGEN PLACEHOLDER
   ===================================================== */
.img-ph {
  background: #d8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  width: 100%;
}
.img-ph-hero   { aspect-ratio: 16/7; }
.img-ph-square { aspect-ratio: 1; }
.img-ph-land   { aspect-ratio: 4/3; }
.img-ph-tall   { aspect-ratio: 3/4; }

/* =====================================================
   NOTICIAS / NEWS CARDS
   ===================================================== */
.news-item {
  padding: 22px 30px;
  text-align: center;
}
.news-item p { font-size: 0.95rem; margin-bottom: 14px; }
.news-item .btn { min-width: 220px; }

.news-section { padding: 0; }
.news-row {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.news-row p { font-size: 0.95rem; max-width: 400px; }

/* =====================================================
   QUOTE BOX
   ===================================================== */
.quote-box {
  border: 3px solid var(--orange);
  border-radius: 8px;
  padding: 28px 24px;
  margin: 30px auto;
  max-width: 540px;
  position: relative;
  text-align: center;
}
.quote-box::before {
  content: '\201C\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
}
.quote-box p { font-style: italic; font-size: 0.9rem; line-height: 1.7; }
.quote-box cite { display: block; margin-top: 14px; font-weight: 600; color: var(--orange); font-style: normal; font-size: 0.85rem; }

/* =====================================================
   LOGO EN SECCIÓN (marca centrada)
   ===================================================== */
.inline-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
}
.inline-logo-circle {
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.inline-logo-circle svg { width: 30px; height: 30px; }
.inline-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--orange); letter-spacing: 1px; }

/* =====================================================
   BULLET LIST (por qué)
   ===================================================== */
.why-list { max-width: 500px; margin: 0 auto 24px; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.93rem;
  border-bottom: 1px solid #f0f0f0;
}
.why-list li::before {
  content: '';
  min-width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

/* =====================================================
   GRID DE FOTOS
   ===================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.photo-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.photo-grid img, .photo-grid .img-ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
}

.photo-mosaic {
  columns: 2;
  column-gap: 6px;
  padding: 20px;
}
.photo-mosaic img, .photo-mosaic .img-ph {
  width: 100%;
  margin-bottom: 6px;
  border-radius: 4px;
  break-inside: avoid;
}

/* =====================================================
   PROGRAMAS / TALLERES
   ===================================================== */
.program-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 20px;
  background: var(--white);
}
.program-tab {
  padding: 10px 16px;
  border: 2px solid var(--orange);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.program-tab:hover, .program-tab.active { background: var(--orange); color: white; }

.program-block { padding: 40px 20px; text-align: center; }
.program-block h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; color: var(--orange); }
.program-block p  { font-size: 0.9rem; max-width: 560px; margin: 0 auto 22px; }
.program-block img, .program-block .img-ph { max-width: 320px; margin: 0 auto; border-radius: 12px; }
.section-orange .program-block h2 { color: white; }

/* =====================================================
   HORARIOS
   ===================================================== */
.horario-section { max-width: 620px; margin: 0 auto; padding: 50px 20px; }
.horario-icon    { display: block; margin: 0 auto 20px; width: 80px; height: 80px; opacity: 0.85; }
.horario-nivel   { color: var(--orange); font-size: 1.2rem; font-weight: 700; margin: 28px 0 10px; letter-spacing: 1px; }
.horario-divider { border: none; border-top: 1px solid #ddd; margin: 20px 0; }
.horario-row     { margin-bottom: 18px; font-size: 0.95rem; }
.horario-row strong { display: block; font-weight: 600; }

/* =====================================================
   REFERENTES
   ===================================================== */
.referente-block {
  text-align: center;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: var(--white);
  border-top: 4px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(232,160,32,0.15);
}
.referente-block-sm { padding: 14px 12px; margin-bottom: 0; }
.referente-block-sm .referente-name { font-size: 13px; }
.referente-role  { font-family: 'Lora', serif; color: var(--orange); font-size: 16px; font-weight: 400; margin-bottom: 4px; }
.referente-name  { font-family: 'Lora', serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dark); }

/* =====================================================
   FORMULARIO EXALUMNOS
   ===================================================== */
.form-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 36px 28px;
  max-width: 420px;
  margin: 0 auto;
}
.form-card h3 { text-align: center; color: var(--orange); font-size: 1.25rem; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; }
.form-group label span.req { color: var(--orange); }
.form-control {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  background: #FAFAFA;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--orange); background: white; }
select.form-control { appearance: auto; }
textarea.form-control { height: 90px; resize: vertical; }
.form-submit  { width: 100%; padding: 12px; font-size: 1rem; }
.form-note    { text-align: center; font-size: 0.75rem; color: var(--gray); margin-top: 10px; }

/* =====================================================
   LIGHTBOX — galería de fotos
   ===================================================== */
.lightbox-img { cursor: zoom-in; transition: opacity 0.2s ease; }
.lightbox-img:hover { opacity: 0.9; }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay-img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 18px; right: 30px;
  color: white; font-size: 2.4rem; font-weight: 300;
  line-height: 1; cursor: pointer;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--orange);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid img:hover {
  transform: scale(1.18);
  box-shadow: 0 8px 24px rgba(232,160,32,0.4);
  position: relative;
  z-index: 5;
}
.gallery-grid-tall img { aspect-ratio: 10/11; }
#lectura .gallery-grid img { aspect-ratio: 3/4; }
#talleres-optativos .gallery-grid img { aspect-ratio: 2/3; }

/* =====================================================
   CARRUSEL de fotos
   ===================================================== */
.carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--orange);
  box-shadow: 0 8px 24px rgba(232,160,32,0.25);
}
.carousel-full {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.7); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s ease;
}
.carousel-dot.active { background: white; }

/* =====================================================
   60 AÑOS — badge circular
   ===================================================== */
.badge-60 {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 4px solid white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  color: white;
  line-height: 1.2;
}
.badge-60 .num { font-size: 3.5rem; font-weight: 800; }
.badge-60 .word { font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; }
.badge-60 .year { font-size: 1rem; font-weight: 600; }

/* =====================================================
   JARDIN — tabs de sección
   ===================================================== */
.section-tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
}
.section-tabs .btn { min-width: 220px; }

/* =====================================================
   ADMISIÓN — contacto
   ===================================================== */
.contact-icon-wrap {
  display: flex;
  justify-content: center;
  margin: 30px 0 10px;
}
.contact-icon-wrap svg { width: 80px; height: 80px; color: var(--orange); }

/* =====================================================
   VIDEO EMBED
   ===================================================== */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* =====================================================
   LA PLAZA — imagen con caption
   ===================================================== */
.img-caption { text-align: center; font-size: 0.82rem; color: var(--orange); margin-top: 8px; font-style: italic; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--orange);
  color: white;
  padding: 30px 30px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 80px;
  row-gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-address { margin-bottom: 0; text-align: left; }
.footer-address ul { display: inline-block; text-align: left; }
.footer-address ul li { font-size: 0.88rem; margin-bottom: 4px; position: relative; padding-left: 18px; }
.footer-address ul li::before { content: '•'; position: absolute; left: 0; }
.footer-center { text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--orange);
  border-radius: 10px;
  font-size: 1.15rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { opacity: 0.8; transform: scale(1.06); }
.footer-email { font-size: 0.88rem; margin-bottom: 6px; }
.footer-email a { color: white; text-decoration: underline; }
.footer-copy  { font-size: 0.75rem; opacity: 0.9; line-height: 1.5; margin: 0; }

@media (max-width: 700px) {
  .footer-inner { justify-content: center; text-align: center; }
  .footer-address { text-align: center; }
  .footer-center { width: 100%; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 940px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 900px) {
  #libreria-momo .gallery-grid { margin-top: 0 !important; }
}

@media (max-width: 600px) {
  .site-banner { font-size: 0.9rem; padding: 14px 16px; }
  .sec-title   { font-size: 1.45rem !important; }
  .page-header h1 { font-size: 1.6rem; }
  .hero-overlay-buttons {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    background: rgba(232,160,32,0.85);
  }
  .hero-badge { font-size: 1.2rem !important; padding: 8px 24px !important; }
  .hero { max-height: none; }
  .photo-mosaic { columns: 2; }
  .program-tabs { gap: 8px; }
  .program-tab  { font-size: 0.78rem; padding: 8px 12px; }
  .form-card    { padding: 24px 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .preguntas-img  { margin-bottom: -25px !important; }
  .preguntas-text { line-height: 1.4 !important; margin-top: 0 !important; }
  .comienzos-img { margin: 0 auto !important; }
  .causa-consecuencia { text-align: left !important; }
  .causa-consecuencia-row { justify-content: flex-start !important; }
  .causa-consecuencia-p { margin: 16px 0 0 !important; }
  .almuerzos-section { padding-top: 15px !important; }
  .hide-mobile { display: none !important; }
  .je-title { font-size: 22px !important; }
  .je-hero-next { padding-top: 18px !important; }
  .pp-list { column-count: 1 !important; }
  .pp-list span { text-align: left !important; }
  .proyecto-text, .programa-text { order: 1 !important; }
  .proyecto-img, .programa-img   { order: 2 !important; }
  .page-title-section { padding-bottom: 15px !important; }
}

@media (max-width: 480px) {
  /* Mapa hexagonal de Actividades Jardín: el texto superpuesto se achica
     para que no se salga de su hexágono cuando la imagen se achica */
  .hex-nav-label { font-size: 12px !important; line-height: 1.1 !important; }
  .hex-nav-label-campamentos { font-size: 10px !important; }
}

@media (min-width: 601px) and (max-width: 940px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 941px) {
  .photo-grid    { grid-template-columns: repeat(4, 1fr); }
  .photo-mosaic  { columns: 4; }
  .news-row      { flex-direction: row; justify-content: center; }
  .video-wrap    { aspect-ratio: 16/9; max-width: 500px; }
}
