/* =========================================================
   EMOCIONAJE — Estilos
   ---------------------------------------------------------
   Los colores de la marca están acá abajo, en ":root".
   Si alguna vez querés ajustar un color, cambialo solo ahí.
   ========================================================= */

:root {
  /* Paleta de la marca */
  --turquesa: #45D2C6;
  --violeta: #9C62CD;
  --naranja: #FC8553;
  --azul: #6173D7;
  --lavanda: #7F80C8;          /* títulos grandes */
  --blanco: #FFFFFF;

  /* Tonos derivados para accesibilidad (mejor contraste sobre blanco) */
  --texto: #55569A;            /* texto largo: contraste 6.6:1 */
  --texto-fuerte: #3F4080;     /* negritas y etiquetas de formulario */
  --azul-boton: #5062C8;       /* fondo de botones: contraste 5.3:1 con blanco */
  --azul-boton-hover: #4252B3;
  --error: #C2410C;

  --fondo-suave: #F7F6FD;      /* lavanda muy clarito para alternar secciones */
  --borde: #E4E3F4;

  /* Forma y espacio */
  --radio: 24px;
  --radio-chico: 14px;
  --sombra: 0 10px 30px -12px rgba(97, 115, 215, .25);
  --ancho: 1160px;
  --menu-alto: 76px;

  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--menu-alto) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--lavanda);
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1, h2 { font-weight: 300; }
h3 { font-weight: 500; color: var(--texto-fuerte); font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--texto-fuerte); }

a { color: var(--azul-boton); text-underline-offset: 3px; }
a:hover { color: var(--azul-boton-hover); }

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

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 24px;
}

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saltar {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--azul-boton); color: #fff;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.saltar:focus { top: 12px; color: #fff; }
.saltar:hover { color: #fff; }

.etiqueta {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto);
}

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: .8em 1.8em;
  border-radius: 999px;
  font: 500 1rem/1.2 var(--fuente);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.boton--principal {
  background: var(--azul-boton);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(80, 98, 200, .6);
}
.boton--principal:hover { background: var(--azul-boton-hover); color: #fff; transform: translateY(-2px); }
.boton--secundario {
  background: transparent;
  color: var(--azul-boton);
  border-color: var(--borde);
}
.boton--secundario:hover { border-color: var(--azul); color: var(--azul-boton-hover); }
.boton--ancho { width: 100%; }
.boton[disabled] { opacity: .7; cursor: wait; transform: none; }

/* ---------- Menú fijo ---------- */
.encabezado {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--menu-alto);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.encabezado.con-sombra {
  border-bottom-color: var(--borde);
  box-shadow: 0 6px 24px -18px rgba(63, 64, 128, .4);
}
.encabezado__interior {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.marca {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--lavanda);
  font-size: 1.5rem; font-weight: 400; letter-spacing: .01em;
}
.marca:hover { color: var(--azul); }
.marca img { width: 44px; height: 44px; }

.menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 6px;
}
.menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--texto);
  text-decoration: none;
  font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.menu a:hover { background: var(--fondo-suave); color: var(--texto-fuerte); }
.menu a.activo { color: var(--texto-fuerte); background: var(--fondo-suave); }
.menu .menu__cta {
  background: var(--azul-boton); color: #fff; margin-left: 8px; padding: 10px 20px;
}
.menu .menu__cta:hover { background: var(--azul-boton-hover); color: #fff; }

.menu-boton {
  display: none;
  width: 48px; height: 48px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 12px;
  position: relative;
}
.menu-boton span {
  position: absolute; left: 12px; right: 12px; height: 2.5px;
  border-radius: 2px; background: var(--lavanda);
  transition: transform .3s, opacity .2s;
}
.menu-boton span:nth-child(1) { top: 16px; }
.menu-boton span:nth-child(2) { top: 23px; background: var(--violeta); }
.menu-boton span:nth-child(3) { top: 30px; background: var(--naranja); }
.menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-boton { display: block; }
  .menu {
    position: fixed; top: var(--menu-alto); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--borde);
    box-shadow: 0 20px 30px -20px rgba(63, 64, 128, .35);
    padding: 12px 24px 28px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .menu.abierto {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s, transform .25s;
  }
  .menu ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a { padding: 14px 16px; font-size: 1.05rem; border-radius: 14px; }
  .menu .menu__cta { margin: 10px 0 0; text-align: center; padding: 14px; }
}

/* ---------- Decoraciones (olas, destellos, gotas) ---------- */
section { position: relative; }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.contenedor { position: relative; z-index: 1; }

.ola { width: 300px; height: 367px; }
.ola--arriba { top: calc(var(--menu-alto) - 70px); right: -40px; }
.ola--abajo  { bottom: -110px; left: -120px; transform: rotate(180deg); }
.ola--redes  { bottom: -100px; left: -110px; width: 260px; height: 318px; transform: rotate(180deg); }

.destello { color: var(--azul); }
.destello--1 { width: 24px; height: 24px; top: 20%; left: 54%; color: var(--lavanda); }
.destello--2 { width: 40px; height: 40px; top: 25%; left: 57%; }
.destello--3 { width: 18px; height: 18px; bottom: 16%; right: 40%; color: var(--lavanda); }
.destello--4 { width: 34px; height: 34px; top: 60px; right: 8%; color: var(--lavanda); }
.destello--5 { width: 38px; height: 38px; top: 26%; right: 12%; }
.destello--6 { width: 22px; height: 22px; top: 44%; right: 8%; color: var(--lavanda); }
.destello--7 { width: 30px; height: 30px; bottom: 70px; left: 4%; color: var(--lavanda); }

.gotas { width: 110px; height: 100px; }
.gotas--inicio   { bottom: 60px; right: 6%; }
.gotas--aquien   { bottom: 40px; left: 3%; }
.gotas--consulta { top: 90px; right: 4%; }

@media (max-width: 720px) {
  .ola { width: 170px; height: 208px; }
  .ola--arriba { right: -60px; top: calc(var(--menu-alto) - 50px); }
  .ola--abajo { left: -70px; bottom: -40px; }
  .ola--redes { width: 170px; height: 208px; left: -100px; bottom: -110px; }
  .destello--1, .destello--3, .gotas--inicio, .gotas--consulta { display: none; }
  .destello--2 { top: 16%; left: 6%; width: 28px; height: 28px; }
}

/* ---------- 1. Inicio ---------- */
.inicio {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--menu-alto) + 48px) 0 96px;
  overflow: hidden;
}
.inicio__grilla {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 56px;
}
.inicio h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: .5em;
}
.inicio h1 em {
  font-style: normal;
  color: var(--violeta);
  font-weight: 300;
}
.inicio__acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* Carta de bienvenida */
.bienvenida { max-width: 36em; }
.bienvenida p { font-size: 1.02rem; }
.bienvenida__saludo { font-size: 1.12rem; color: var(--texto-fuerte); }
.bienvenida__cierre {
  margin-top: 1.4em;
  font-size: 1.2rem; font-weight: 500; line-height: 1.5;
  color: var(--texto-fuerte);
}

/* Carrusel de fotos */
.carrusel { justify-self: center; width: min(100%, 440px); }
.carrusel__visor {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);
  touch-action: pan-y;
}
.carrusel__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s .7s;
}
.carrusel__slide.activo {
  opacity: 1; visibility: visible;
  transition: opacity .7s ease;
}
.carrusel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carrusel__slide--grafica img { object-fit: contain; }
.carrusel__controles {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 16px;
}
.carrusel__boton {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--borde);
  background: #fff;
  color: var(--azul-boton);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.carrusel__boton:hover { background: var(--fondo-suave); border-color: var(--azul); }
.carrusel__boton svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.carrusel__boton .ico-play { display: none; fill: currentColor; stroke: none; }
.carrusel__boton--pausa.pausado .ico-pausa { display: none; }
.carrusel__boton--pausa.pausado .ico-play { display: block; }
.carrusel__boton--pausa { margin-left: 8px; }
.carrusel__puntos { display: flex; align-items: center; }
.carrusel__punto {
  position: relative;
  width: 24px; height: 44px;
  border: 0; background: transparent; cursor: pointer; padding: 0;
}
.carrusel__punto::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #CFCDEA;
  transition: background-color .2s, transform .2s;
}
.carrusel__punto[aria-current="true"]::after { background: var(--azul-boton); transform: scale(1.3); }

@media (max-width: 860px) {
  .inicio { min-height: auto; padding-top: calc(var(--menu-alto) + 32px); }
  .inicio__grilla { grid-template-columns: 1fr; gap: 32px; }
  .carrusel { order: -1; width: min(100%, 320px); }
}

/* ---------- Secciones genéricas ---------- */
.seccion { padding: 112px 0; overflow: hidden; overflow: clip; }
.seccion--suave { background: var(--fondo-suave); }

.seccion__cabecera {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.seccion__cabecera--izq { text-align: left; margin-left: 0; }
.seccion__cabecera h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }

@media (max-width: 720px) {
  .seccion { padding: 80px 0; }
  .seccion__cabecera { margin-bottom: 40px; }
  .solo-escritorio { display: none; }
}

/* ---------- Abordaje ---------- */
.tarjetas {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.tarjeta {
  position: relative;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 30px 26px 26px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tarjeta::before {
  content: "";
  position: absolute; left: 26px; right: 26px; top: -1px;
  height: 4px; border-radius: 0 0 4px 4px;
  background: var(--color);
}
.tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: color-mix(in srgb, var(--color) 45%, white);
}
.tarjeta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  align-content: start;
}
.tarjeta__icono { color: var(--color); }
.tarjeta__icono svg {
  width: 34px; height: 34px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.tarjeta h3 { margin: 0; }
.tarjeta p { grid-column: 1 / -1; margin: 16px 0 0; font-size: .97rem; line-height: 1.65; }
.tarjeta ul {
  grid-column: 1 / -1;
  margin: 16px 0 0; padding: 0 0 0 1.15em;
  font-size: .97rem; line-height: 1.6;
}
.tarjeta li { margin-bottom: .5em; padding-left: .2em; }
.tarjeta li:last-child { margin-bottom: 0; }
.tarjeta li::marker { color: var(--color); }

.abordaje__subtitulo {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--texto);
}

/* Filas desplegables (detalle de cada propuesta) */
.abordaje__detalle { max-width: 860px; margin: 72px auto 0; }
.abordaje__ayuda { margin: 0 0 14px; text-align: center; font-size: .95rem; }
.detalles { border-top: 1px solid var(--borde); }
.detalle { border-bottom: 1px solid var(--borde); }
.detalle summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 8px;
  cursor: pointer; list-style: none;
  font-size: 1.15rem; font-weight: 500; line-height: 1.35;
  color: var(--texto-fuerte);
  border-radius: 12px;
  transition: color .2s, background-color .2s;
}
.detalle summary::-webkit-details-marker { display: none; }
.detalle summary::after {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237F80C8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s;
}
.detalle summary:hover { color: var(--azul-boton); }
.detalle[open] summary { color: var(--azul-boton); }
.detalle[open] summary::after { transform: rotate(180deg); }
.detalle__cuerpo { padding: 0 8px 32px; max-width: 46em; }
.detalle__cuerpo p { font-size: 1rem; }
.detalle__cuerpo h4 {
  margin: 1.8em 0 .5em;
  font-size: 1.05rem; font-weight: 600; line-height: 1.35;
  color: var(--texto-fuerte);
}
.detalle__cuerpo ul { margin: 0 0 1em; padding-left: 1.2em; }
.detalle__cuerpo li { margin-bottom: .5em; padding-left: .2em; }
.detalle__cuerpo li::marker { color: var(--naranja); }
.detalle summary small {
  display: block;
  margin-top: 2px;
  font-size: .88rem; font-weight: 400; line-height: 1.4;
  color: var(--texto);
}

/* Subtítulo de la sección */
.espacios__lema {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 300; line-height: 1.4;
  color: var(--texto-fuerte);
}

/* Puntos de las tarjetas: llevan a su detalle */
.tarjeta li a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--borde);
  text-decoration-thickness: 1.5px;
  transition: color .2s, text-decoration-color .2s;
}
.tarjeta li a:hover { color: var(--texto-fuerte); text-decoration-color: var(--color); }
.tarjeta li ul { margin: .6em 0 0; padding-left: 1.1em; font-size: .93rem; }
.tarjeta li li { margin-bottom: .35em; }

/* Herramientas de Realidad Virtual */
.detalle__cuerpo .herramientas {
  list-style: none; margin: 1em 0 1.4em; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.detalle__cuerpo .herramientas li {
  margin: 0; padding: 18px 20px;
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  border-top: 4px solid var(--color);
  border-radius: 18px;
  font-size: .95rem; line-height: 1.55;
}
.herramientas strong { display: block; margin-bottom: 4px; }

.detalle__destacado {
  margin: 2em 0 0; padding: 26px 28px;
  background: var(--fondo-suave);
  border-left: 4px solid var(--violeta);
  border-radius: 20px;
}
.detalle__destacado h4 { margin-top: 0; }
.detalle__destacado > :last-child { margin-bottom: 0; }
.detalle__cuerpo .detalle__frase {
  margin: 1.4em 0;
  font-size: 1.25rem; font-weight: 300; line-height: 1.4;
  color: var(--texto-fuerte);
}

/* ¿Cuándo consultar? */
.cuando {
  position: relative;
  max-width: 1000px; margin: 96px auto 0; padding: 52px 48px 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: start;
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  border-radius: 32px;
}
.cuando::before {
  content: "";
  position: absolute; left: 48px; right: 48px; top: -1px;
  height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--turquesa), var(--violeta), var(--naranja));
}
.cuando h3 {
  margin-bottom: .5em;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300;
  color: var(--lavanda);
}
.cuando__intro .etiqueta { margin-bottom: .6rem; font-size: .95rem; letter-spacing: .02em; text-transform: none; }
.cuando__titulo { margin: 0 0 16px; font-size: 1.05rem; font-weight: 500; color: var(--texto-fuerte); }
.cuando__lista ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cuando__lista li { position: relative; padding-left: 30px; font-size: .97rem; line-height: 1.55; }
.cuando__lista li::before {
  content: "";
  position: absolute; left: 2px; top: .45em;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239C62CD' d='M12 0c.9 6.6 4.5 10.2 12 12-7.5 1.8-11.1 5.4-12 12-.9-6.6-4.5-10.2-12-12C7.5 10.2 11.1 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cuando__cierre {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--borde);
  text-align: center;
}
.cuando__cierre p { max-width: 36em; margin-left: auto; margin-right: auto; }
.cuando__cierre .cuando__invitacion {
  margin-top: 1.4em; margin-bottom: 1.2em;
  font-size: 1.35rem; font-weight: 300; line-height: 1.4;
  color: var(--texto-fuerte);
}

@media (max-width: 860px) {
  .cuando { grid-template-columns: 1fr; margin-top: 64px; padding: 40px 26px 32px; }
  .cuando::before { left: 26px; right: 26px; }
}
@media (max-width: 560px) {
  .detalle__cuerpo .herramientas { grid-template-columns: 1fr; }
  .detalle__destacado { padding: 22px 20px; }
}

/* ---------- Quiénes somos ---------- */
/* Collage de tres fotos: la del medio, más abajo */
.quienes__collage {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 960px; margin: 0 auto 72px;
  align-items: start;
}
.quienes__collage img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);
}
.quienes__collage img:nth-child(2) { margin-top: 56px; }

.quienes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.quienes__bloque {
  position: relative;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 44px 40px 36px;
}
.quienes__bloque::before {
  content: "";
  position: absolute; left: 40px; right: 40px; top: -1px;
  height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--turquesa), var(--violeta), var(--naranja));
}
.quienes h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .6em; }
.quienes__bloque > :last-child { margin-bottom: 0; }

.areas {
  list-style: none; margin: 1.4em 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.areas li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  font-size: .92rem; font-weight: 500;
  color: var(--texto-fuerte);
}
.areas li::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color);
}

@media (max-width: 860px) {
  .quienes { grid-template-columns: 1fr; }
  .quienes__bloque { padding: 36px 26px 28px; }
  .quienes__bloque::before { left: 26px; right: 26px; }
}
@media (max-width: 640px) {
  .quienes__collage { grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 44px; }
  .quienes__collage img { border-radius: 22px; }
  .quienes__collage img:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 0; aspect-ratio: 4 / 3; object-position: center 95%; }
}

/* ---------- Equipo ---------- */
.fundadora {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.fundadora__perfil {
  position: sticky; top: calc(var(--menu-alto) + 40px);
  text-align: center;
}
.fundadora__perfil h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: .15em; }
.fundadora__rol { margin: .9em auto 0; max-width: 18em; font-size: .97rem; }
.fundadora__texto h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: .6em; }
.fundadora__texto p { max-width: 38em; }
.fundadora__clave {
  margin: 1.4em 0;
  padding-left: 22px;
  border-left: 4px solid var(--turquesa);
  font-size: 1.2rem; font-weight: 300; line-height: 1.55;
  color: var(--texto-fuerte);
}
.fundadora__destacado {
  margin-top: 1.6em;
  font-size: 1.5rem; font-weight: 300; line-height: 1.3;
  color: var(--lavanda);
}

@media (max-width: 860px) {
  .fundadora { grid-template-columns: 1fr; gap: 32px; }
  .fundadora__perfil { position: static; }
}

.equipo-bloque { margin-top: 112px; }

/* Foto con marco de colores (Analía): retrato vertical, o iniciales si no hay foto */
.persona__foto {
  width: 148px; height: 148px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from var(--giro, 0deg), var(--turquesa), var(--violeta), var(--naranja), var(--turquesa));
}
.persona__foto--grande { width: 220px; height: 220px; margin-bottom: 24px; padding: 7px; }
.persona__foto--retrato {
  width: min(calc(100% - 28px), 300px); height: auto;
  aspect-ratio: 4 / 5;
  margin: 14px auto 38px;
  border-radius: 32px; padding: 0;
  background: none;
  /* tres cintas de colores lisos, como las del logo: turquesa, violeta y naranja */
  box-shadow: 0 0 0 4px var(--naranja), 0 0 0 8px var(--violeta), 0 0 0 12px var(--turquesa);
}
.persona__foto img,
.persona__iniciales {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
}
.persona__foto.persona__foto--retrato img { border-radius: 32px; border-width: 4px; object-position: center 20%; }
.persona__iniciales {
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--color) 20%, white);
  color: var(--texto-fuerte);
  font-size: 2.3rem; font-weight: 300; letter-spacing: .04em;
}
.persona__foto--grande .persona__iniciales { font-size: 3.4rem; }
.persona__profesion {
  margin: 0 0 .8em;
  font-size: .88rem; font-weight: 500; line-height: 1.45;
  color: var(--azul-boton);
}

/* Presentación del equipo: dos fotos y un texto, sin fichas individuales */
.equipo__bajada { font-size: 1.1rem; color: var(--texto-fuerte); }
.equipo__fotos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 880px; margin: 0 auto 72px;
  align-items: start;
}
.equipo__fotos figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 28px; overflow: hidden;
  background: #fff;
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);
}
.equipo__fotos figure:nth-child(2) { margin-top: 56px; }
.equipo__fotos img { width: 100%; height: 100%; object-fit: cover; }
.equipo__texto { max-width: 38em; margin: 0 auto; text-align: center; }
.equipo__texto > :last-child { margin-bottom: 0; }
.equipo__texto .equipo__lema {
  margin: 1.6em 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 300; line-height: 1.35;
  color: var(--texto-fuerte);
}
@media (max-width: 640px) {
  .equipo__fotos { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .equipo__fotos figure:nth-child(2) { margin-top: 0; }
}

/* Fotos dentro de un detalle desplegable */
.detalle__fotos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 1.6em 0 1.2em;
}
.detalle__fotos figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--borde);
}
.detalle__fotos img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 480px) { .detalle__fotos { grid-template-columns: 1fr; } }

/* ---------- Página de privacidad ---------- */
.boton--chico { min-height: 44px; padding: .5em 1.4em; font-size: .95rem; }
.legal { padding: calc(var(--menu-alto) + 56px) 0 96px; }
.legal__contenedor { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .2em; }
.legal__fecha { margin-bottom: 2em; font-size: .95rem; }
.legal h2 {
  margin: 2em 0 .5em;
  font-size: 1.3rem; font-weight: 500; line-height: 1.35;
  color: var(--texto-fuerte);
}
.legal ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal li { margin-bottom: .5em; padding-left: .2em; }
.legal li::marker { color: var(--naranja); }
.legal__cierre { margin-top: 3em; }
.pie--simple { padding: 28px 0; }
.pie--simple p { margin: 0; }

/* ---------- Redes ---------- */
.redes { text-align: center; }
.redes__interior { max-width: 760px; }
.redes h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.redes__lista {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
}
.red {
  display: flex; flex-direction: column; align-items: center;
  width: 220px;
  padding: 32px 20px 26px;
  background: #fff;
  border-radius: var(--radio);
  text-decoration: none;
  color: var(--texto);
  border: 1px solid var(--borde);
  transition: transform .3s, box-shadow .3s;
}
.red:hover { transform: translateY(-5px); box-shadow: var(--sombra); color: var(--texto); }
.red__icono {
  display: grid; place-items: center;
  width: 88px; height: 88px;
  margin-bottom: 16px;
  border-radius: 28px;
  color: #fff;
}
.red__icono--ig { background: linear-gradient(140deg, var(--naranja), var(--violeta)); }
.red__icono--in { background: linear-gradient(140deg, var(--turquesa), var(--azul)); }
.red__icono svg {
  width: 44px; height: 44px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.red__nombre { font-size: 1.15rem; font-weight: 500; color: var(--texto-fuerte); }
.red__usuario { font-size: .92rem; }

/* ---------- 6. Formulario ---------- */
.consulta__grilla {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.consulta__nota { font-size: .95rem; }

.datos {
  list-style: none; margin: 28px 0 24px; padding: 0;
  display: grid; gap: 16px;
}
.datos li { display: flex; align-items: flex-start; gap: 14px; font-size: .97rem; line-height: 1.5; }
.datos__icono {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--borde);
  color: var(--azul-boton);
}
.datos__icono svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.datos strong {
  font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.datos a { overflow-wrap: anywhere; }

.formulario-caja {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--sombra);
}
.formulario__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.campo { margin-bottom: 18px; }
.campo label {
  display: block;
  margin-bottom: 6px;
  font-size: .92rem; font-weight: 500;
  color: var(--texto-fuerte);
}
.campo input[type="text"],
.campo input[type="email"],
.campo input[type="tel"],
.campo input[type="number"],
.campo select,
.campo textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: 400 1rem/1.5 var(--fuente);
  color: var(--texto-fuerte);
  background: #fff;
  border: 1.5px solid #CFCDEA;
  border-radius: var(--radio-chico);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.campo select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237F80C8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}
.campo textarea { resize: vertical; min-height: 130px; }
.campo input::placeholder, .campo textarea::placeholder { color: #6E6FA6; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 4px rgba(97, 115, 215, .18);
}
.campo input[aria-invalid="true"],
.campo select[aria-invalid="true"],
.campo textarea[aria-invalid="true"] { border-color: var(--error); }
.campo [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 65, 12, .15); }

.campo__error {
  margin: 6px 0 0;
  font-size: .87rem;
  color: var(--error);
  min-height: 0;
}
.campo__error:empty { display: none; }

.campo--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  margin: 8px 0 24px;
}
.campo--check input {
  width: 22px; height: 22px; margin: 3px 0 0;
  accent-color: var(--azul-boton);
  cursor: pointer;
}
.campo--check label { font-weight: 400; font-size: .9rem; line-height: 1.55; color: var(--texto); cursor: pointer; margin: 0; }
.campo--check .campo__error { grid-column: 2; }

.campo--oculto { display: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.formulario__estado { margin: 14px 0 0; font-size: .92rem; text-align: center; }
.formulario__estado:empty { display: none; }
.formulario__estado.es-error { color: var(--error); }

.gracias { text-align: center; padding: 32px 8px; }
.gracias:focus { outline: none; }
.gracias__destello {
  width: 56px; height: 56px; margin: 0 auto 18px;
  color: var(--violeta);
  animation: brillar 2.4s ease-in-out infinite;
}
.gracias h3 { font-size: 2rem; font-weight: 300; color: var(--lavanda); }
@keyframes brillar {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.15) rotate(12deg); }
}

@media (max-width: 960px) {
  .consulta__grilla { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px) {
  .formulario-caja { padding: 26px 20px; border-radius: 22px; }
  .formulario__fila { grid-template-columns: 1fr; }
}

/* ---------- 7. Pie ---------- */
.pie {
  background: #fff;
  border-top: 1px solid var(--borde);
  padding: 64px 0 28px;
  font-size: .95rem;
}
.pie__grilla {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.pie__marca { display: flex; align-items: center; gap: 16px; }
.pie__marca img { width: 72px; height: 72px; }
.pie__marca strong { font-size: 1.5rem; font-weight: 400; color: var(--lavanda); }
.pie__titulo {
  font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--texto-fuerte);
  margin-bottom: 1em;
}
.pie p { margin-bottom: .6em; }
.pie__redes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pie a { color: var(--texto); }
.pie a:hover { color: var(--azul-boton); }
.pie__legal {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--borde);
  font-size: .85rem;
}
.pie__legal p { margin: 0; }

@media (max-width: 760px) {
  .pie__grilla { grid-template-columns: 1fr; gap: 28px; }
  .pie { padding-bottom: 100px; }
}

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #1FA855;   /* verde WhatsApp con buen contraste */
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .25s, box-shadow .25s;
}
.whatsapp:hover { transform: scale(1.07); color: #fff; }
.whatsapp svg { width: 32px; height: 32px; }

/* ---------- Animación de aparición al hacer scroll ---------- */
.js .aparecer {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--demora, 0s);
}
.js .aparecer.visible { opacity: 1; transform: none; }

/* Respeto por quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .aparecer { opacity: 1; transform: none; }
}
