/* ============================================================
   COLEGIO EMANUEL · LANDING V2.0
   Fase 1 — Estructura base, Header y Portada
   Estilo: "Papel recortado" (craft / scrapbook)
   ============================================================ */

/* ---------- 1. Variables ---------- */
:root {
  /* Paleta principal */
  --azul: #00B0DF;
  --azul-hondo: #0090BC;
  --rosa: #E52357;
  --rosa-hondo: #B91B47;
  --rosa-boton: #D01C4F;
  --amarillo: #FFC107;
  --amarillo-hondo: #DFA400;

  /* Papel y tinta */
  --papel: #FBF3E4;
  --papel-claro: #FFFDF7;
  --papel-amarillo: #FFF6DB;
  --papel-verde: #E9F6EA;
  --papel-celeste: #E4F5FB;
  --papel-lila: #F3ECFA;
  --papel-rosa: #FFE9F0;
  --tinta: #2B2836;
  --tinta-profunda: #1A2530;
  --gris-texto: #5C5668;
  --wsp: #25D366;
  --wsp-hondo: #1EBE5A;

  /* Sombras de papel */
  --sombra-papel: 0 18px 40px rgba(43, 40, 54, 0.14), 0 2px 6px rgba(43, 40, 54, 0.06);
  --sombra-suave: 0 8px 20px rgba(43, 40, 54, 0.10);

  /* Tipografías */
  --fuente-titulo: 'Baloo 2', cursive;
  --fuente-texto: 'Quicksand', sans-serif;
  --fuente-manuscrita: 'Caveat', cursive;

  /* Medidas */
  --ancho-max: 1440px;
}

/* ---------- 2. Reset y base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente-texto);
  font-weight: 500;
  color: var(--tinta);
  line-height: 1.65;
  background: var(--papel-claro);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

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

/* ---------- 3. Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 40, 54, 0.06);
}

.cabecera__contenedor {
  max-width: var(--ancho-max);
  margin-inline: auto;
  padding: clamp(6px, 1vw, 12px) clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cabecera__logo img {
  height: clamp(35px, 3.5vw, 45px);
  width: auto;
}

.cabecera__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.6vw, 26px);
}

/* El logo adicional solo pertenece al panel móvil. */
.cabecera__nav-logo {
  display: none;
}

.cabecera__enlace {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  padding: 4px 2px;
  transition: color 0.25s ease;
}

.cabecera__icono-casa {
  height: clamp(18px, 1.6vw, 22px);
  width: auto;
}

.cabecera__enlace::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--amarillo);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.cabecera__enlace:hover {
  color: var(--rosa);
}

.cabecera__enlace:hover::after {
  transform: scaleX(1);
}

.cabecera__enlace:nth-child(2)::after { background: var(--rosa); }
.cabecera__enlace:nth-child(3)::after { background: var(--azul); }
.cabecera__enlace:nth-child(4)::after { background: var(--amarillo); }
.cabecera__enlace:nth-child(5)::after { background: var(--rosa); }

/* Botón WhatsApp del menú */
.cabecera__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: clamp(9px, 1vw, 12px) clamp(16px, 1.6vw, 22px);
  border-radius: 999px;
  background: var(--wsp);
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  box-shadow: 0 4px 0 var(--wsp-hondo), 0 10px 18px rgba(43, 40, 54, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cabecera__whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--wsp-hondo), 0 14px 22px rgba(43, 40, 54, 0.18);
}

.cabecera__whatsapp:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--wsp-hondo), 0 5px 10px rgba(43, 40, 54, 0.12);
}

.cabecera__whatsapp svg {
  width: clamp(16px, 1.4vw, 19px);
  height: auto;
  flex-shrink: 0;
}

/* Hamburguesa */
.cabecera__hamburguesa {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--papel-claro);
  border: 2px solid rgba(43, 40, 54, 0.1);
  border-radius: 12px;
}

.cabecera__linea {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--tinta);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cabecera__hamburguesa--activo .cabecera__linea:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.cabecera__hamburguesa--activo .cabecera__linea:nth-child(2) {
  opacity: 0;
}

.cabecera__hamburguesa--activo .cabecera__linea:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------- 4. Portada ---------- */
.portada {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(48px, 8vh, 100px) clamp(20px, 5vw, 72px) clamp(72px, 9vh, 110px);
  overflow: hidden;
  /* Capas: lavado de papel + foto del aula */
  background-color: var(--papel);
  background-image:
    linear-gradient(rgba(255, 253, 247, 0.20), rgba(251, 243, 228, 0.10)),
    url('../assets/images/Aula infantil luminosa con ondas de color.png');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

@supports (min-height: 100svh) {
  .portada {
    min-height: 100svh;
  }
}

/* Grano de papel */
.portada::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* Borde festoneado inferior (papel recortado) */
.portada::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34px;
  background-image: radial-gradient(circle at 50% 0, transparent 17px, var(--papel-claro) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  z-index: 3;
  pointer-events: none;
}

/* Manchas de color difuminadas */
.portada__forma {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  z-index: 1;
  pointer-events: none;
}

.portada__forma--uno {
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 1;
  top: -110px;
  left: -70px;
  background: var(--amarillo);
  opacity: 0.35;
}

.portada__forma--dos {
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 1;
  bottom: 8%;
  right: -60px;
  background: var(--rosa);
  opacity: 0.22;
}

.portada__contenedor {
  position: relative;
  z-index: 2;
  max-width: var(--ancho-max);
  margin-inline: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
}

.portada__panel {
  display: flex;
  width: 45%;
  margin-top: 0;
}

/* --- Tarjeta de papel --- */
.portada__tarjeta {
  position: relative;
  flex: 1;
  background: var(--papel-claro);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 32px 32px 32px 12px;
  box-shadow: var(--sombra-papel);
  transform: rotate(-1.2deg);
  animation: papel-cae 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  --rot: -1.2deg;
}

/* Cintas adhesivas decorativas */
.portada__tarjeta::before,
.portada__tarjeta::after {
  content: '';
  position: absolute;
  width: clamp(96px, 12vw, 140px);
  height: clamp(28px, 3vw, 36px);
  border-radius: 2px;
  opacity: 0.88;
  box-shadow: 0 3px 8px rgba(43, 40, 54, 0.12);
  pointer-events: none;
}

.portada__tarjeta::before {
  top: -15px;
  left: 9%;
  transform: rotate(-4deg);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.95), rgba(255, 193, 7, 0.72));
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
  border-right: 2px dashed rgba(255, 255, 255, 0.55);
}

.portada__tarjeta::after {
  top: -13px;
  right: 10%;
  transform: rotate(3deg);
  background: linear-gradient(180deg, rgba(229, 35, 87, 0.85), rgba(229, 35, 87, 0.62));
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
}

.portada__saludo {
  display: inline-block;
  font-family: var(--fuente-manuscrita);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--rosa);
  transform: rotate(-2deg);
  margin-bottom: clamp(6px, 1vw, 12px);
  background: linear-gradient(transparent 62%, rgba(255, 193, 7, 0.35) 62%);
  animation: subir-suave 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.portada__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.5vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: clamp(10px, 1.4vw, 18px);
  animation: subir-suave 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.portada__anio {
  display: inline-block;
  background: var(--amarillo);
  color: var(--tinta);
  padding: 0 0.2em 0.06em;
  margin-top: 0.08em;
  border-radius: 16px;
  transform: rotate(-2deg);
  box-shadow: 0 5px 0 rgba(43, 40, 54, 0.10);
}

.portada__subtitulo {
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--rosa-hondo);
  margin-bottom: clamp(20px, 2.4vw, 30px);
  animation: subir-suave 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

/* --- Botones de papel --- */
.portada__botones {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
}

.portada__boton {
  --sombra-botón: var(--azul-hondo);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: clamp(13px, 1.5vw, 17px) clamp(18px, 2vw, 26px);
  border-radius: 999px;
  background: var(--azul);
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  box-shadow: none;
  transition: transform 0.3s ease !important, box-shadow 0.3s ease !important;
  animation: subir-suave 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.portada__boton:nth-child(1) { animation-delay: 0.5s; }
.portada__boton:nth-child(2) { animation-delay: 0.6s; }
.portada__boton:nth-child(3) { animation-delay: 0.7s; }

.portada__boton:hover {
  transform: scale(1.05) !important;
  box-shadow: none !important;
}

.portada__boton:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--sombra-botón), 0 6px 12px rgba(43, 40, 54, 0.12);
}

/* Rosa oscurecido para cumplir contraste WCAG 4.5:1 con texto claro */
.portada__boton--rosa {
  background: var(--rosa-boton);
  color: var(--papel-claro);
  --sombra-botón: var(--rosa-hondo);
}

.portada__boton--amarillo {
  background: var(--amarillo);
  --sombra-botón: var(--amarillo-hondo);
}

.portada__boton-icono {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 2.6vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--papel-claro);
}

.portada__boton-icono svg {
  width: 42%;
}

.portada__boton--azul .portada__boton-icono { color: var(--azul); }
.portada__boton--rosa .portada__boton-icono { color: var(--rosa-boton); }
.portada__boton--amarillo .portada__boton-icono { color: var(--amarillo-hondo); }

/* --- Figura: foto tipo polaroid --- */
.portada__figura {
  position: relative;
  width: 55%;
  min-width: 0;
  margin-top: -120px;
  --rot: 1.5deg;
  transform: rotate(var(--rot));
  animation: papel-cae 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

/* Cinta superior de la foto */
.portada__figura::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: clamp(100px, 12vw, 140px);
  height: clamp(28px, 3vw, 36px);
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0, 176, 223, 0.85), rgba(0, 176, 223, 0.6));
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
  box-shadow: 0 3px 8px rgba(43, 40, 54, 0.12);
  z-index: 2;
  pointer-events: none;
}

.portada__imagen {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 30px;
  border: clamp(10px, 1.2vw, 16px) solid var(--papel-claro);
  box-shadow: var(--sombra-papel);
}

.portada__etiqueta-figura {
  position: absolute;
  bottom: -18px;
  right: clamp(-8px, -1vw, 0px);
  background: var(--papel-claro);
  color: var(--rosa);
  font-family: var(--fuente-manuscrita);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1;
  padding: 0.35em 1em 0.45em;
  border: 3px dashed var(--rosa);
  border-radius: 999px;
  transform: rotate(3deg);
  box-shadow: var(--sombra-suave);
}

/* ---------- 5. Propuesta educativa ---------- */
.propuesta {
  position: relative;
  background: var(--papel-amarillo);
  padding: clamp(84px, 11vh, 130px) clamp(20px, 4vw, 64px) clamp(80px, 10vh, 120px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

/* Borde festoneado superior (papel recortado) */
.propuesta::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-amarillo) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.propuesta__contenido {
  max-width: 1200px;
  margin-inline: auto;
}

.propuesta__rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.propuesta__tarjeta {
  --acento: var(--rosa);
  position: relative;
  background: var(--papel-claro);
  padding: clamp(26px, 3vw, 38px);
  border-radius: 24px 24px 24px 10px;
  border-top: 6px solid var(--acento);
  border-right: 1px solid rgba(43, 40, 54, 0.06);
  border-bottom: 1px solid rgba(43, 40, 54, 0.06);
  border-left: 1px solid rgba(43, 40, 54, 0.06);
  box-shadow: var(--sombra-suave);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.propuesta__tarjeta:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--sombra-papel);
}

.propuesta__tarjeta--montessori { --acento: var(--azul); }
.propuesta__tarjeta--reggio { --acento: var(--rosa); }
.propuesta__tarjeta--valores { --acento: var(--amarillo); }
.propuesta__tarjeta--acompanamiento { --acento: var(--tinta); }

.propuesta__encabezado {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.propuesta__titulo-seccion,
.nosotros__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.propuesta__titulo-seccion mark,
.nosotros__titulo mark {
  background: var(--amarillo);
  color: var(--tinta);
  padding: 0 0.2em 0.06em;
  border-radius: 12px;
  display: inline-block;
  transform: rotate(-1.5deg);
}

.propuesta__descripcion,
.nosotros__parrafo {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--gris-texto);
  max-width: 58ch;
}

.propuesta__cabecera-tarjeta {
  display: flex;
  flex-direction: column; /* 🔥 Apila el icono y el título verticalmente */
  align-items: center;    /* 🔥 Centra ambos horizontalmente */
  text-align: center;     /* Centra el texto */
  gap: 12px;              /* Separación entre icono y título */
  margin-bottom: clamp(10px, 1.2vw, 14px);
}

.propuesta__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.15;
  margin: 0;
}

.propuesta__icono {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--acento);
}

.propuesta__texto {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--gris-texto);
}

/* ---------- 6. Nosotros ---------- */
.nosotros {
  position: relative;
  background: var(--papel-verde);
  padding: clamp(84px, 11vh, 130px) clamp(20px, 4vw, 64px) clamp(80px, 10vh, 120px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

/* Borde festoneado superior (papel recortado) */
.nosotros::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-verde) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.nosotros__contenido {
  max-width: 1200px;
  margin-inline: auto;
}

.nosotros__rejilla {
  display: flex;
  align-items: flex-start; /* 🔥 Alinea el texto arriba, con la foto */
  gap: clamp(36px, 5vw, 72px);
}

.nosotros__texto {
  flex: 1;
}

.nosotros__figura {
  position: relative;
  flex: 1;
  min-width: 0;
  --rot: -1.5deg;
  transform: rotate(var(--rot));
  transition: transform 0.35s ease;
}

.nosotros__figura:hover {
  transform: rotate(0deg) translateY(-4px);
}

/* Cinta adhesiva de la foto */
.nosotros__figura::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: clamp(100px, 12vw, 140px);
  height: clamp(28px, 3vw, 36px);
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.92), rgba(255, 193, 7, 0.68));
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
  border-right: 2px dashed rgba(255, 255, 255, 0.55);
  box-shadow: 0 3px 8px rgba(43, 40, 54, 0.12);
  z-index: 2;
  pointer-events: none;
}

.nosotros__imagen {
  width: 100%;
  border-radius: 28px;
  border: clamp(10px, 1.2vw, 14px) solid var(--papel-claro);
  box-shadow: var(--sombra-papel);
}

/* ---------- 7. Utilidades compartidas ---------- */
.dato-confirmar {
  display: inline-block;
  background: rgba(255, 193, 7, 0.22);
  border: 2px dashed var(--amarillo-hondo);
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  line-height: 1.4;
  padding: 0.15em 0.7em;
  border-radius: 999px;
}

.boton-wsp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: clamp(14px, 1.5vw, 18px) clamp(26px, 3vw, 36px);
  border-radius: 999px;
  background: var(--wsp);
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  box-shadow: 0 5px 0 var(--wsp-hondo), 0 14px 26px rgba(43, 40, 54, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boton-wsp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--wsp-hondo), 0 18px 30px rgba(43, 40, 54, 0.18);
}

.boton-wsp:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--wsp-hondo), 0 6px 12px rgba(43, 40, 54, 0.12);
}

.boton-wsp svg {
  width: clamp(18px, 1.6vw, 21px);
  height: auto;
  flex-shrink: 0;
}

/* ---------- 8. Programas ---------- */
.programas {
  position: relative;
  background: var(--papel-celeste);
  padding: clamp(84px, 11vh, 130px) clamp(20px, 4vw, 64px) clamp(80px, 10vh, 120px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

/* Borde festoneado superior (papel recortado) */
.programas::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-celeste) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.programas__contenido {
  max-width: 1200px;
  margin-inline: auto;
}

.programas__encabezado {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.programas__titulo-seccion {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.programas__titulo-seccion mark {
  background: var(--amarillo);
  color: var(--tinta);
  padding: 0 0.2em 0.06em;
  border-radius: 12px;
  display: inline-block;
  transform: rotate(-1.5deg);
}

.programas__descripcion {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--gris-texto);
  max-width: 58ch;
}

.programas__rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.programa {
  display: flex;
  flex-direction: column;
  background: var(--papel-claro);
  border: 1px solid rgba(43, 40, 54, 0.06);
  border-radius: 26px 26px 26px 10px;
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programa:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-papel);
}

.programa__cabecera {
  padding: clamp(22px, 2.5vw, 30px);
  background: var(--papel-rosa);
}

.programa--prekinder .programa__cabecera { background: var(--papel-celeste); }
.programa--jardin .programa__cabecera { background: var(--papel-verde); }

.programa__edad {
  display: inline-block;
  background: var(--papel-claro);
  border: 2px dashed var(--tinta);
  border-radius: 999px;
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  padding: 0.35em 0.9em;
  margin-bottom: clamp(10px, 1.2vw, 14px);
}

.programa__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.programa__cuerpo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(18px, 2vw, 24px);
  padding: clamp(22px, 2.5vw, 30px);
}

.programa__texto {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--gris-texto);
}

.programa__boton {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw, 1rem);
  padding: clamp(10px, 1.1vw, 13px) clamp(18px, 1.8vw, 24px);
  border: 2px solid var(--tinta);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.programa__boton:hover {
  background: var(--tinta);
  color: var(--papel-claro);
  transform: translateY(-2px);
}

.programa__boton svg {
  width: clamp(15px, 1.3vw, 18px);
  height: auto;
}

.programa__enlace {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--tinta);
  padding: clamp(10px, 1.1vw, 13px) clamp(18px, 1.8vw, 24px);
  border: 2px solid var(--tinta);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.programa__enlace:hover {
  background: var(--tinta);
  color: var(--papel-claro);
  transform: translateY(-2px);
}

.programa__enlace svg {
  width: clamp(15px, 1.3vw, 18px);
  height: auto;
}

/* ---------- 9. Talleres de verano ---------- */
.talleres {
  position: relative;
  background: var(--papel-lila);
  padding: clamp(84px, 11vh, 130px) clamp(20px, 4vw, 64px) clamp(80px, 10vh, 120px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

/* Borde festoneado superior (papel recortado) */
.talleres::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-lila) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.talleres__contenido {
  max-width: 760px;
  margin-inline: auto;
}

.talleres__tarjeta {
  position: relative;
  background: var(--papel-claro);
  text-align: center;
  padding: clamp(36px, 5vw, 60px) clamp(28px, 4vw, 56px);
  border-radius: 32px 32px 32px 12px;
  box-shadow: var(--sombra-papel);
  transform: rotate(-0.8deg);
}

/* Cintas adhesivas decorativas */
.talleres__tarjeta::before,
.talleres__tarjeta::after {
  content: '';
  position: absolute;
  width: clamp(90px, 11vw, 130px);
  height: clamp(26px, 2.8vw, 34px);
  border-radius: 2px;
  opacity: 0.88;
  box-shadow: 0 3px 8px rgba(43, 40, 54, 0.12);
  pointer-events: none;
}

.talleres__tarjeta::before {
  top: -14px;
  left: 10%;
  transform: rotate(-4deg);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.95), rgba(255, 193, 7, 0.72));
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
  border-right: 2px dashed rgba(255, 255, 255, 0.55);
}

.talleres__tarjeta::after {
  top: -12px;
  right: 10%;
  transform: rotate(3deg);
  background: linear-gradient(180deg, rgba(0, 176, 223, 0.85), rgba(0, 176, 223, 0.6));
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
}

.talleres__icono {
  width: clamp(64px, 8vw, 92px);
  height: auto;
  margin: 0 auto clamp(14px, 2vw, 20px);
}

.talleres__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.talleres__texto {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--gris-texto);
  margin-bottom: clamp(24px, 3vw, 32px);
}

.talleres__texto .dato-confirmar {
  display: block;
  margin: 12px auto 0;
  max-width: fit-content;
}

/* ---------- 10. Admisión ---------- */
.admision {
  position: relative;
  background: var(--papel-rosa);
  padding: clamp(84px, 11vh, 130px) clamp(20px, 4vw, 64px) clamp(80px, 10vh, 120px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

/* Borde festoneado superior (papel recortado) */
.admision::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-rosa) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.admision__contenido {
  max-width: 1200px;
  margin-inline: auto;
  text-align: center;
}

.admision__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.admision__pasos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(32px, 4vw, 48px);
  text-align: left;
}

.admision__paso {
  --num: var(--azul);
  background: var(--papel-claro);
  border: 1px solid rgba(43, 40, 54, 0.06);
  border-radius: 22px 22px 22px 8px;
  padding: clamp(24px, 2.6vw, 32px);
  box-shadow: var(--sombra-suave);
  transition: transform 0.3s ease;
}

.admision__paso:hover {
  transform: translateY(-5px) rotate(-0.5deg);
}

.admision__paso:nth-child(2) { --num: var(--rosa); }
.admision__paso:nth-child(3) { --num: var(--amarillo); }
.admision__paso:nth-child(4) { --num: var(--tinta); }

.admision__numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 4vw, 52px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--num);
  color: var(--papel-claro);
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  margin-bottom: clamp(14px, 1.6vw, 18px);
  box-shadow: 0 4px 0 rgba(43, 40, 54, 0.15);
}

.admision__paso:nth-child(3) .admision__numero {
  color: var(--tinta);
}

.admision__paso-titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  margin-bottom: 8px;
}

.admision__paso-texto {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  color: var(--gris-texto);
}

/* ---------- 11. Footer ---------- */
.pie {
  position: relative;
  background: var(--tinta-profunda);
  color: #D7D4DC;
  padding: clamp(84px, 10vh, 120px) clamp(20px, 4vw, 64px) clamp(24px, 3vh, 36px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

/* Borde festoneado superior (papel recortado) */
.pie::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--tinta-profunda) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.pie__contenido {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
}

.pie__rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(36px, 4vw, 56px);
  margin-bottom: clamp(40px, 5vw, 56px);
}

.pie__logo {
  width: auto;
  height: clamp(52px, 5vw, 68px);
  margin-bottom: clamp(14px, 1.6vw, 18px);
}

.pie__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: var(--amarillo);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.pie__titulo--marca {
  color: var(--papel-claro);
}

.pie__texto {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #B9B5C2;
  max-width: 34ch;
  margin-bottom: 20px;
}

.pie__redes {
  display: flex;
  gap: clamp(10px, 1.2vw, 14px);
}

.pie__red {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 3.6vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.pie__red:hover {
  background: var(--amarillo);
  transform: translateY(-3px);
}

.pie__red img {
  width: clamp(18px, 1.6vw, 21px);
  height: auto;
  filter: brightness(0) invert(1);
}

.pie__red:hover img {
  filter: brightness(0);
}

/* TikTok es negro: se invierte para verse sobre fondo oscuro */
.pie__red--tiktok img {
  filter: brightness(0) invert(1);
}

.pie__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.pie__enlace {
  display: inline-block;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #C9C5D1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.pie__enlace:hover {
  color: var(--amarillo);
  transform: translateX(4px);
}

.pie__lista--contacto {
  gap: clamp(14px, 1.6vw, 18px);
}

.pie__dato {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #C9C5D1;
}

.pie__dato img {
  width: clamp(18px, 1.6vw, 21px);
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.pie__dato svg.pie__icono-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.pie__dato a {
  color: var(--papel-claro);
  font-weight: 700;
  transition: color 0.2s ease;
}

.pie__dato a:hover {
  color: var(--wsp);
}

.pie .dato-confirmar {
  background: rgba(255, 193, 7, 0.14);
  border-color: rgba(255, 193, 7, 0.6);
  color: #F0E6C8;
}

.pie__barra {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.pie__copyright {
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  color: #8D8A96;
}

/* Fondo oscuro: contorno de foco visible en amarillo */
.pie :focus-visible {
  outline-color: var(--amarillo);
}

/* ---------- 11b. Subpáginas ---------- */
.pagina {
  position: relative;
  background: var(--papel-claro);
  padding: clamp(100px, 13vh, 150px) clamp(20px, 4vw, 64px) clamp(80px, 10vh, 120px);
  scroll-margin-top: clamp(80px, 10vh, 100px);
}

.pagina::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 34px;
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-claro) 18px);
  background-size: 36px 34px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.pagina--verano {
  background: var(--papel-lila);
}

.pagina--verano::before {
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-lila) 18px);
}

.pagina--admision {
  background: var(--papel-rosa);
}

.pagina--admision::before {
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-rosa) 18px);
}

.pagina--programa {
  background: var(--papel-celeste);
}

.pagina--programa::before {
  background-image: radial-gradient(circle at 50% 100%, transparent 17px, var(--papel-celeste) 18px);
}

.pagina__contenido {
  max-width: 860px;
  margin-inline: auto;
}

.pagina__saludo {
  font-family: var(--fuente-manuscrita);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--rosa);
  margin-bottom: 8px;
}

.pagina__titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: clamp(14px, 2vw, 20px);
}

.pagina__titulo mark {
  background: var(--amarillo);
  color: var(--tinta);
  padding: 0 0.2em 0.06em;
  border-radius: 12px;
  display: inline-block;
  transform: rotate(-1.5deg);
}

.pagina__descripcion {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--gris-texto);
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.pagina__subtitulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  margin: clamp(34px, 5vw, 48px) 0 clamp(16px, 2vw, 22px);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pagina__subtitulo::after {
  content: '';
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--amarillo) 0 14px, transparent 14px 24px);
}

.pagina__subtitulo-nota {
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: var(--gris-texto);
}

.pagina__acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(32px, 5vw, 48px);
}

.pagina__opciones {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 640px;
  margin-top: clamp(10px, 2vw, 16px);
}

.pagina__opcion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 20px);
  min-height: 72px;
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.15;
  color: var(--tinta);
  text-decoration: none;
}

.pagina__opcion-icono {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 50%;
  background: var(--acento);
  color: var(--papel-claro);
}

.pagina__opcion-icono svg {
  width: clamp(16px, 1.6vw, 20px);
  height: auto;
}

.pagina__volver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-family: var(--fuente-texto);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--tinta);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.pagina__volver:hover {
  color: var(--rosa);
  transform: translateX(-3px);
}

.pagina__volver svg {
  width: 18px;
  height: auto;
}

.pagina__bloque {
  background: var(--papel-claro);
  padding: clamp(26px, 3vw, 36px);
  border-radius: 24px 24px 24px 10px;
  border-top: 6px solid var(--acento, var(--azul));
  box-shadow: var(--sombra-suave);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.pagina__bloque-titulo {
  font-family: var(--fuente-titulo);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  margin-bottom: clamp(10px, 1.2vw, 14px);
}

.pagina__bloque-texto {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--gris-texto);
}

.pagina__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pagina__lista li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--gris-texto);
}

.pagina__lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 4px 4px 4px 1px;
  background: var(--amarillo);
  transform: rotate(-8deg);
}

/* ---------- 12. Animaciones ---------- */
@keyframes papel-cae {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(var(--rot, 0deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
}

@keyframes subir-suave {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aparición al hacer scroll (solo con JS activo) */
.js .aparece {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--retraso, 0s);
}

.js .aparece.aparece--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .portada__tarjeta,
  .portada__figura,
  .portada__saludo,
  .portada__titulo,
  .portada__subtitulo,
  .portada__boton {
    animation: none;
  }

  .js .aparece {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .propuesta__tarjeta:hover,
  .programa:hover,
  .admision__paso:hover,
  .pagina__opcion:hover,
  .pie__enlace:hover,
  .pie__red:hover,
  .cabecera__whatsapp:hover,
  .boton-wsp:hover,
  .programa__boton:hover,
  .nosotros__figura:hover {
    transform: none;
  }
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 900px) {
  .cabecera__hamburguesa {
    display: flex;
    position: fixed;
    top: 22px;
    right: clamp(20px, 4vw, 64px);
    z-index: 1101;
  }

  .cabecera__nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 100px 24px 36px;
    background: #fff;
    overflow-y: auto;
  }

  .cabecera__nav--visible {
    display: flex;
  }

  .cabecera__nav-logo {
    display: block;
  }

  .cabecera__enlace {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 4px;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .cabecera__nav-logo {
    position: absolute;
    top: 22px;
    left: 50%;
    display: block;
    width: 132px;
    transform: translateX(-50%);
  }

  .cabecera__nav-logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .cabecera__enlace::after {
    bottom: 4px;
    width: 42px;
  }

  .cabecera__whatsapp {
    justify-content: center;
    margin-top: 8px;
  }

  .portada__contenedor {
    flex-direction: column-reverse;
    gap: clamp(44px, 8vw, 64px);
  }

  .nosotros__rejilla {
    flex-direction: column;
    gap: clamp(44px, 8vw, 64px);
  }

  .portada__panel,
  .portada__figura,
  .nosotros__figura {
    width: 100%;
    max-width: 540px;
  }

  .portada__figura,
  .nosotros__figura {
    align-self: center;
  }

  .portada__figura {
    margin-top: 0;
  }

  .portada__etiqueta-figura {
    right: 8px;
  }
}

body.menu-abierto {
  overflow: hidden;
}

@media (max-width: 480px) {
  .portada__tarjeta {
    border-radius: 26px 26px 26px 10px;
  }

  .portada__boton {
    gap: 10px;
  }

  .pie__red {
    width: 44px;
  }

  .pie__enlace {
    padding-block: 6px;
  }
}

/* Botón flotante */
.whatsapp-flotante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.whatsapp-flotante svg { width: 32px; height: 32px; fill: #FFFFFF; }
.whatsapp-flotante:hover { transform: scale(1.1); }

/* Globo de texto */
.whatsapp-tooltip {
  position: absolute;
  bottom: 75px;
  right: 0;
  background-color: #FFFFFF;
  color: #333;
  font-family: var(--fuente-texto), sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
  
  /* 🔥 Animación de saltito */
  animation: saltito 2s ease-in-out infinite;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 20px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: #FFFFFF;
}

@media (max-width: 480px) {
  .whatsapp-flotante { width: 55px; height: 55px; bottom: 20px; right: 20px; }
  .whatsapp-flotante svg { width: 28px; height: 28px; }
  .whatsapp-tooltip { font-size: 0.85rem; padding: 6px 12px; bottom: 70px; }
}
@keyframes saltito {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
