/* ═══════════════════════════════════════════════════════════
   Infancia Colombia — hoja de estilos
   Escrita mobile-first: primero el teléfono, luego se amplía.

   Los colores salen del logo de la organización: el arcoíris con
   las tres franjas de la bandera de Colombia sobre un bebé
   gateando. Amarillo, azul y rojo son los del dibujo, tomados
   pixel a pixel; los demás tonos se derivan de esos tres para
   que todo combine y quede legible.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Los tres colores del logo, exactos */
  --amarillo:     #FCF250;
  --azul:         #414F9E;
  --rojo:         #D73832;
  --piel:         #EFC7A6;

  /* Derivados, para contraste y profundidad */
  --amarillo-osc: #E3D62F;
  --azul-osc:     #2C3670;
  --azul-hondo:   #1C2350;
  --rojo-osc:     #B82A25;

  /* Neutros cálidos, con un dejo del amarillo del logo */
  --crema:        #FFFBF0;
  --crema-honda:  #FAF0DC;
  --tinta:        #1E2140;
  --tinta-suave:  #4E5476;
  --blanco:       #FFFFFF;

  /* WhatsApp conserva su verde: la gente lo reconoce al instante */
  --whatsapp:     #25D366;

  /* Tipografía */
  --titular: "Fraunces", Georgia, serif;
  --cuerpo:  "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Medidas */
  --ancho-max: 1180px;
  --radio:       18px;
  --radio-chico: 10px;
  --sombra:      0 10px 30px rgba(28, 35, 80, .10);
  --sombra-alta: 0 18px 50px rgba(28, 35, 80, .20);
  --alto-encabezado: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--alto-encabezado);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--cuerpo);
  font-size: 1.125rem;      /* 18px: este público lee en el celular */
  line-height: 1.65;
  color: var(--tinta);
  background: var(--blanco);
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--titular);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
a { color: var(--azul-osc); }

:focus-visible {
  outline: 3px solid var(--rojo);
  outline-offset: 3px;
  border-radius: 4px;
}

.salto-contenido {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--azul-osc);
  color: var(--blanco);
  padding: .75rem 1.25rem;
  z-index: 999;
}
.salto-contenido:focus { left: 0; }

.contenedor {
  width: 100%;
  max-width: var(--ancho-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.contenedor--angosto { max-width: 760px; }

/* ─────────── Tipografía de sección ─────────── */

.antetitulo {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rojo-osc);
  margin-bottom: .5rem;
}
.antetitulo--claro { color: var(--amarillo); }

.titulo {
  font-size: clamp(1.85rem, 5.5vw, 2.9rem);
  color: var(--azul-osc);
  max-width: 22ch;
  margin-bottom: .75rem;
}
.titulo--claro { color: var(--blanco); }

.subtitulo {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--azul-osc);
  margin-top: 3.5rem;
}

.parrafo-guia {
  font-size: 1.2rem;
  color: var(--tinta-suave);
  max-width: 62ch;
}
/* En el celular el texto va alineado a la izquierda: un párrafo largo centrado
   es bastante más difícil de leer. Se centra solo cuando hay ancho de sobra. */
.parrafo-guia--centrado { margin-inline: auto; }

.seccion { padding: 4rem 0; }
.seccion--crema { background: var(--crema); }

/* ─────────── Botones ─────────── */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }

/* Amarillo del logo con texto azul oscuro: contraste muy alto y alegre */
.boton--principal {
  background: var(--amarillo);
  color: var(--azul-hondo);
  box-shadow: 0 8px 20px rgba(227, 214, 47, .45);
}
.boton--principal:hover { background: #FFF77A; }

.boton--fantasma {
  background: transparent;
  border-color: var(--azul);
  color: var(--azul-osc);
}
.boton--fantasma:hover { background: rgba(65, 79, 158, .1); }

.boton--fantasma-claro {
  border-color: rgba(255, 255, 255, .75);
  color: var(--blanco);
}
.boton--fantasma-claro:hover { background: rgba(255, 255, 255, .16); }

.boton--wa {
  background: var(--whatsapp);
  color: #06301D;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
}
.boton--wa:hover { background: #33E074; }

.boton--grande { font-size: 1.15rem; padding: 1rem 2rem; min-height: 56px; }
.boton--bloque { width: 100%; }

.icono-wa { width: 22px; height: 22px; fill: currentColor; flex: none; }

.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--azul-osc);
  border-bottom: 2px solid rgba(65, 79, 158, .3);
  padding-bottom: 2px;
  transition: border-color .18s ease, gap .18s ease;
}
.enlace-flecha:hover { border-color: var(--rojo); gap: .7rem; }
.enlace-flecha svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ─────────── Encabezado ─────────── */

.encabezado {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(65, 79, 158, .14);
}

.encabezado__fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--alto-encabezado);
  gap: 1rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--azul-osc);
}
.marca__logo { width: auto; height: 42px; flex: none; }
.marca__texto {
  font-family: var(--titular);
  font-size: 1.15rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.marca__texto strong { font-weight: 700; }
.marca__texto span {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--cuerpo);
  font-weight: 800;
  color: var(--rojo-osc);
}

.hamburguesa {
  width: 46px; height: 46px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 0 11px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburguesa span {
  height: 2.5px;
  background: var(--azul-osc);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: var(--alto-encabezado) 0 auto 0;
  background: var(--blanco);
  border-bottom: 1px solid rgba(65, 79, 158, .16);
  box-shadow: var(--sombra);
  padding: 1rem 1.25rem 1.5rem;
  display: grid;
  gap: .25rem;
  transform: translateY(-130%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  max-height: calc(100dvh - var(--alto-encabezado));
  overflow-y: auto;
}
.menu.abierto { transform: translateY(0); }
.menu a {
  padding: .7rem .25rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--tinta);
  border-bottom: 1px solid rgba(65, 79, 158, .1);
}
.menu a:hover { color: var(--azul); }
.menu__wa { margin-top: .85rem; border-bottom: 0; }

/* ─────────── Hero ─────────── */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}

.hero__fondo { position: absolute; inset: 0; z-index: -2; }
/* El <picture> también necesita la altura, o el <img> con height:100% se queda
   con su altura natural y la foto no alcanza a cubrir toda la sección. */
.hero__fondo picture { display: block; width: 100%; height: 100%; }
.hero__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(28, 35, 80, .28) 0%,
    rgba(28, 35, 80, .58) 45%,
    rgba(28, 35, 80, .90) 100%);
}

.hero__eslogan {
  font-family: var(--titular);
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--amarillo);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.carrusel { position: relative; }

.carrusel__pista {
  display: grid;
  min-height: 8.5em;
}
.carrusel__mensaje {
  grid-area: 1 / 1;
  margin: 0;
  font-family: var(--titular);
  font-weight: 500;
  font-size: clamp(1.55rem, 6vw, 3.1rem);
  line-height: 1.16;
  color: var(--blanco);
  max-width: 17ch;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  /* El mensaje que sale se desvanece rápido; el que entra espera a que el
     anterior ya no esté, para que nunca se lean dos frases superpuestas. */
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.carrusel__mensaje strong { color: var(--amarillo); font-weight: 700; }
.carrusel__mensaje.activo {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .45s ease .3s, transform .45s ease .3s, visibility 0s .3s;
}

.carrusel__controles {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.4rem;
}
.carrusel__flecha {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .12);
  color: var(--blanco);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .2s ease, border-color .2s ease;
}
.carrusel__flecha:hover { background: rgba(255, 255, 255, .28); border-color: var(--blanco); }
.carrusel__flecha svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}

.carrusel__puntos { display: flex; gap: .5rem; }
.carrusel__puntos button {
  width: 11px; height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background-color .25s ease, width .25s ease;
}
.carrusel__puntos button[aria-selected="true"] {
  background: var(--amarillo);
  width: 30px;
  border-radius: 6px;
}

.hero__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero__acciones .boton--fantasma {
  border-color: rgba(255, 255, 255, .8);
  color: var(--blanco);
}
.hero__acciones .boton--fantasma:hover { background: rgba(255, 255, 255, .16); }

.onda {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
}
.onda--hero path { fill: var(--blanco); }

/* ─────────── Cifras ─────────── */

.cifras { padding: 3.5rem 0; background: var(--blanco); }
.cifras__titulo {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--azul-osc);
  text-align: center;
  margin-bottom: 2.25rem;
}

.cifras__lista {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.cifra {
  background: var(--crema);
  border: 1px solid rgba(65, 79, 158, .14);
  border-radius: var(--radio);
  padding: 1.5rem 1.35rem;
  border-top: 4px solid var(--rojo);
}
.cifra__numero {
  display: block;
  font-family: var(--titular);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--azul);
  margin-bottom: .4rem;
  font-variant-numeric: tabular-nums;
}
.cifra__texto { font-size: 1rem; color: var(--tinta-suave); line-height: 1.5; }

.cifras__fuente {
  font-size: .85rem;
  color: var(--tinta-suave);
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}
.cifras__fuente cite { font-style: italic; }

/* ─────────── Nosotros ─────────── */

.nosotros { display: grid; gap: 2rem; margin-top: 1.5rem; }
.nosotros__foto { margin: 0; }
.nosotros__foto img { border-radius: var(--radio); box-shadow: var(--sombra); }
.nosotros__foto figcaption {
  font-size: .9rem;
  color: var(--tinta-suave);
  margin-top: .6rem;
  font-style: italic;
}

.fundadora {
  margin-top: 3rem;
  background: linear-gradient(150deg, var(--azul) 0%, var(--azul-hondo) 100%);
  color: #DFE3F5;
  border-radius: var(--radio);
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--sombra-alta);
}
.fundadora h3 { color: var(--blanco); font-size: 1.65rem; margin-bottom: .2rem; }
.fundadora__cargo {
  color: var(--amarillo);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem;
}
.fundadora p { color: #D3D8EE; font-size: 1.02rem; }
.fundadora em { color: var(--blanco); }
.fundadora .enlace-flecha {
  color: var(--blanco);
  border-color: rgba(255, 255, 255, .4);
}
.fundadora .enlace-flecha:hover { border-color: var(--amarillo); }

.fundadora__retrato {
  width: 128px; height: 128px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--amarillo);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

/* ─────────── Tarjetas ─────────── */

.tarjetas { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }

.tarjeta {
  background: var(--blanco);
  border: 1px solid rgba(65, 79, 158, .16);
  border-radius: var(--radio);
  padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.tarjeta h4 { font-size: 1.2rem; color: var(--azul-osc); margin-bottom: .35rem; }
.tarjeta p { margin: 0; font-size: 1rem; color: var(--tinta-suave); }
.tarjeta__icono {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--crema-honda);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.tarjeta__icono svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--azul);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.tarjeta-foto {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.tarjeta-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tarjeta-foto__cuerpo { padding: 1.35rem; }
.tarjeta-foto h4 { font-size: 1.15rem; color: var(--azul-osc); }
.tarjeta-foto p { margin: 0; font-size: .98rem; color: var(--tinta-suave); }

/* ─────────── Pestañas (Bebés) ─────────── */

.pestanas { margin-top: 2.5rem; }

/* Se envuelven en varias líneas en vez de desplazarse en horizontal: en un
   celular angosto, una pestaña que queda fuera de pantalla no se ve nunca. */
.pestanas__botones {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.75rem;
}
.pestanas__botones button {
  padding: .7rem 1.25rem;
  min-height: 46px;
  border: 2px solid rgba(65, 79, 158, .28);
  border-radius: 999px;
  background: var(--blanco);
  font: inherit;
  font-size: .98rem;
  font-weight: 700;
  color: var(--tinta-suave);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pestanas__botones button[aria-selected="true"] {
  background: var(--azul);
  border-color: var(--azul);
  color: var(--blanco);
}

.pestanas__panel:focus-visible { outline-offset: 8px; }

.panel-doble { display: grid; gap: 1.75rem; align-items: center; }
.panel-doble__foto { margin: 0; }
.panel-doble__foto img {
  width: 100%;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.panel-doble__texto h3 { font-size: 1.5rem; color: var(--azul-osc); }
.panel-doble__texto .boton { margin-top: 1.25rem; }

.panel-doble__ilustracion {
  background: var(--blanco);
  border: 1px solid rgba(65, 79, 158, .16);
  border-radius: var(--radio);
  padding: 1.5rem;
  text-align: center;
}
.cuna-svg { width: 100%; height: auto; }
.cuna-svg__marco  { fill: none; stroke: var(--azul); stroke-width: 4; }
.cuna-svg__colchon{ fill: var(--crema-honda); }
.cuna-svg__barrotes line { stroke: var(--azul); stroke-width: 3.5; stroke-linecap: round; opacity: .5; }
.cuna-svg__borde  { stroke: var(--azul); stroke-width: 5; stroke-linecap: round; }
.cuna-svg__cuerpo { fill: var(--amarillo); }
.cuna-svg__cabeza { fill: var(--piel); }
.cuna-svg__ojos   { fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; }
.cuna-svg__bebe { animation: respirar 4s ease-in-out infinite; transform-origin: 150px 118px; }
@keyframes respirar {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}
.pie-ilustracion {
  margin: 1rem 0 0;
  font-size: .92rem;
  font-weight: 700;
  color: var(--azul-osc);
}

.lista-chulos { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.lista-chulos li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  color: var(--tinta-suave);
}
.lista-chulos li::before {
  content: "";
  position: absolute;
  left: 0; top: .38em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2350' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lista-chulos li strong { color: var(--tinta); }
.lista-chulos--clara li { color: #D3D8EE; }
.lista-chulos--clara li strong { color: var(--blanco); }

/* ─────────── Chequeo ─────────── */

.chequeo {
  background:
    radial-gradient(120% 90% at 15% 0%, var(--azul) 0%, transparent 58%),
    var(--azul-hondo);
  padding: 4rem 0;
  color: #D3D8EE;
  text-align: center;
}
.chequeo .titulo { margin-inline: auto; }
.chequeo__intro { max-width: 52ch; margin-inline: auto; font-size: 1.05rem; }

.chequeo__caja {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra-alta);
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  text-align: left;
  overflow: hidden;
  position: relative;
}

.chequeo__progreso {
  position: absolute;
  top: 0; left: 0;
  height: 5px;
  width: 100%;
  background: var(--crema-honda);
}
.chequeo__progreso span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rojo);
  transition: width .35s ease;
}

.chequeo__contador {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rojo-osc);
  margin-bottom: .5rem;
}
.chequeo__pregunta {
  font-family: var(--titular);
  font-size: clamp(1.3rem, 4.5vw, 1.75rem);
  color: var(--azul-osc);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}

.chequeo__botones { display: flex; gap: .75rem; }
.chequeo__botones .boton { flex: 1; }
.boton--si {
  background: var(--azul);
  color: var(--blanco);
}
.boton--si:hover { background: #4E5CB4; }
.boton--no {
  background: var(--blanco);
  border-color: var(--azul);
  color: var(--azul-osc);
}
.boton--no:hover { background: rgba(65, 79, 158, .1); }

.resultado__marcador {
  font-family: var(--titular);
  font-size: 2.6rem;
  color: var(--azul);
  line-height: 1;
  margin-bottom: .35rem;
}
.resultado__titulo { font-size: 1.45rem; color: var(--azul-osc); margin-bottom: .5rem; }
.resultado__texto { color: var(--tinta-suave); }
.resultado__lista { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: .7rem; }
.resultado__lista li {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  color: var(--tinta);
}
.resultado__lista li::before {
  content: "!";
  position: absolute;
  left: 0; top: .1em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #FBDDDB;
  color: var(--rojo-osc);
  font-weight: 800;
  font-size: .85rem;
  display: grid; place-items: center;
}
.resultado__acciones { display: grid; gap: .65rem; margin-top: 1.5rem; }
.resultado__nota {
  font-size: .88rem;
  color: var(--tinta-suave);
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(65, 79, 158, .16);
}

/* ─────────── Niñez ─────────── */

.citas { display: grid; gap: 1.75rem; margin-top: 2.5rem; }

.cita {
  position: relative;
  margin: 0;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  isolation: isolate;
}
.cita img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cita::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 35, 80, .12) 0%, rgba(28, 35, 80, .90) 72%);
}
.cita figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.5rem 1.35rem;
}
.cita blockquote {
  margin: 0 0 .6rem;
  font-family: var(--titular);
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  line-height: 1.3;
  color: var(--blanco);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.cita blockquote::before { content: "\201C"; }
.cita blockquote::after  { content: "\201D"; }
.cita cite {
  font-style: normal;
  font-size: .88rem;
  font-weight: 700;
  color: var(--amarillo);
}

/* ─────────── Cada bebé en su cuna ─────────── */

.cuna {
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-hondo) 100%);
  color: #D3D8EE;
  padding: 4rem 0;
}
.cuna__rejilla { display: grid; gap: 2rem; align-items: center; }
.cuna__foto { margin: 0; }
.cuna__foto img {
  border-radius: var(--radio);
  box-shadow: var(--sombra-alta);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.cuna__texto p { color: #D3D8EE; }
.cuna__acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ─────────── Noticias ─────────── */

.noticias { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }

.noticia {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.75rem 1.5rem;
  border-left: 5px solid var(--rojo);
  box-shadow: var(--sombra);
  transition: transform .25s ease;
}
.noticia:hover { transform: translateY(-3px); }
.noticia__meta {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rojo-osc);
  margin-bottom: .5rem;
}
.noticia h3 { font-size: 1.3rem; color: var(--azul-osc); }
.noticia p { font-size: 1rem; color: var(--tinta-suave); }

/* ─────────── Contacto ─────────── */

.contacto {
  position: relative;
  isolation: isolate;
  padding: 4.5rem 0;
  text-align: center;
  overflow: hidden;
}
.contacto__fondo { position: absolute; inset: 0; z-index: -2; }
.contacto__fondo picture { display: block; width: 100%; height: 100%; }
.contacto__fondo img { width: 100%; height: 100%; object-fit: cover; }
.contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 35, 80, .90), rgba(28, 35, 80, .95));
}
.contacto .titulo { margin-inline: auto; }
.contacto__texto { color: #D3D8EE; max-width: 52ch; margin: 0 auto 1.75rem; }
.contacto__nota { color: #A7AECC; font-size: .9rem; margin-top: 1.25rem; }
.contacto .boton--wa { max-width: 420px; margin-inline: auto; }

/* ─────────── Pie ─────────── */

.pie { background: var(--tinta); color: #B4BAD6; padding: 3rem 0 2rem; }
.pie__rejilla { display: grid; gap: 2rem; padding-bottom: 2rem; }
.marca--pie { color: var(--blanco); }
.pie__eslogan { margin-top: .85rem; font-size: .95rem; }

.pie__enlaces { display: grid; gap: .55rem; }
.pie__enlaces a { color: #B4BAD6; text-decoration: none; font-weight: 600; }
.pie__enlaces a:hover { color: var(--blanco); }

.pie__contacto p {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8B92B4;
  margin-bottom: .3rem;
}
.pie__contacto a {
  color: var(--whatsapp);
  font-family: var(--titular);
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 700;
}

.pie__aviso {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 1.5rem;
  font-size: .88rem;
  color: #9AA1C0;
  max-width: 75ch;
}
.pie__legal { font-size: .82rem; color: #949BC0; margin: 0; }

/* ─────────── WhatsApp flotante ─────────── */

.wa-flotante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .22s ease;
}
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 30px; height: 30px; fill: #06301D; }

/* ─────────── Aparición al hacer scroll ─────────── */

.revelar {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.revelar.visible { opacity: 1; transform: none; }

/* ═══════════ Pantallas medianas ═══════════ */

@media (min-width: 700px) {
  .parrafo-guia--centrado { text-align: center; }
  .cifras__lista  { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .tarjetas--que  { grid-template-columns: repeat(2, 1fr); }
  .tarjetas--fotos{ grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .noticias       { grid-template-columns: repeat(2, 1fr); }
  .panel-doble    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .fundadora      { grid-template-columns: auto 1fr; align-items: start; padding: 2.5rem; gap: 2rem; }
  .cuna__rejilla  { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .nosotros       { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
  .pie__rejilla   { grid-template-columns: 1.4fr 1fr 1fr; }
  .chequeo__caja  { padding: 2.5rem; }
  .seccion        { padding: 5.5rem 0; }
  .resultado__acciones { grid-template-columns: 1fr 1fr; }
}

/* ═══════════ Escritorio ═══════════ */

@media (min-width: 1000px) {
  :root { --alto-encabezado: 80px; }

  .hamburguesa { display: none; }
  .marca__logo { height: 52px; }

  .menu {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .menu a { padding: .35rem 0; border-bottom: 0; font-size: 1rem; }
  .menu__wa { margin-top: 0; padding: .65rem 1.35rem; min-height: 44px; font-size: .95rem; }

  .hero { min-height: 88vh; padding: 7rem 0 7rem; }
  .cifras__lista { grid-template-columns: repeat(4, 1fr); }
  .tarjetas--que { grid-template-columns: repeat(3, 1fr); }
  .tarjetas--fotos { grid-template-columns: repeat(4, 1fr); }
  .citas { grid-template-columns: 1fr 1fr; }
  .cita figcaption { padding: 2rem 1.75rem; }
  .onda { height: 90px; }
  .fundadora__retrato { width: 160px; height: 160px; }
}

/* ═══════════ Movimiento reducido ═══════════
   Si la persona pidió menos animación en su sistema, la respetamos. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .revelar { opacity: 1; transform: none; }
  .carrusel__mensaje.activo { transform: none; }
}

/* ═══════════ Impresión ═══════════ */

@media print {
  .encabezado, .wa-flotante, .carrusel__controles, .hero__acciones { display: none; }
  .hero::before, .cita::after { background: none; }
  body { font-size: 11pt; }
}
