/* ==========================================================================
   landing.css — DermaLuxe, a la manera de una página de producto
   ==========================================================================
   Tres ideas sostienen todo:
   1. Contraste: negro cálido para lo que impresiona (portada, Visítanos)
      y crema para lo que se lee (servicios, la cita). El cambio de fondo
      marca el ritmo.
   2. Escala: titulares enormes y apretados, texto chico y gris. La
      jerarquía se ve antes de leerse.
   3. Poco recorrido: cuatro bloques y la cita en una hoja. Antes había
      escenas atadas al scroll que hacían la página de 17 pantallas en el
      teléfono; se sacaron el 4 de octubre para que se lea de un vistazo.
   ========================================================================== */

@font-face {
  font-family: 'Figtree';
  src: url('../fuentes/Figtree.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
}

/* La serifa itálica es el contraste: una o tres palabras dentro de un
   titular sans, nunca un párrafo. Solo existe en 400 e itálica. */
@font-face {
  font-family: 'Serifa';
  src: url('../fuentes/InstrumentSerif-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --negro: #0B0A08;          /* negro cálido: el puro se ve azul junto al oro */
  --negro-2: #16130F;
  --negro-3: #221D17;
  --crema: #F6F2E9;
  --blanco: #FBFAF7;
  --papel: #FFFFFF;
  --tinta: #1D1A15;
  --gris: #6E675C;           /* texto secundario sobre claro: 5.2:1 */
  --gris-oscuro: #A39A8C;    /* texto secundario sobre negro: 7.4:1 */
  --linea: #E6DFD1;
  --oro: #DABC66;
  --oro-texto: #846513;
  --oro-claro: #F1DDA0;
  --rojo: #B24435;

  --oro-grad: linear-gradient(100deg, #F6E3A9 0%, #DABC66 45%, #B48A2E 100%);
  --curva: cubic-bezier(.22,.8,.2,1);
  --lado: max(16px, env(safe-area-inset-left));
  --ancho: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--tinta);
  background: var(--negro);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--papel); padding: 10px 16px; border-radius: 12px; }
.saltar:focus { top: 12px; }

.contenedor { width: min(var(--ancho), 100% - 2 * var(--lado)); margin-inline: auto; }
.contenedor-angosto { --ancho: 860px; }

/* ----------------------------- Tipografía ---------------------------- */
.antetitulo {
  margin: 0 0 14px;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--gris-oscuro);
}
.antetitulo-oro { color: var(--oro-texto); }
.seccion-negra .antetitulo-oro, .ficha .antetitulo-oro { color: var(--oro); }

.titulo-seccion {
  margin: 0;
  font-size: clamp(2.25rem, 5.6vw, 4.5rem);
  line-height: 1.04; font-weight: 700; letter-spacing: -0.035em;
}
.tenue { color: var(--gris); }
.tenue-oscuro { color: var(--gris-oscuro); }

/* Peso 400 fijo y sin síntesis: dentro de un titular en 700 el navegador
   la engordaría a mano, y una serifa con negrita falsa se ve de boda. */
.serifa {
  font-family: 'Serifa', Georgia, serif;
  font-style: italic; font-weight: 400; font-synthesis: none;
  letter-spacing: -0.01em; font-size: 1.08em;
  /* La itálica sobresale a la derecha: este aire evita que choque con lo
     que sigue (el «!» del saludo) y que el degradado le corte la punta. */
  padding-right: 0.08em;
}
.titulo-pie { margin: 14px 0 0; font-size: 19px; }

.oro-degradado {
  background: var(--oro-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ------------------------------ Botones ------------------------------ */
.pildora {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 980px;
  font-size: 17px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .3s var(--curva), background-color .3s, box-shadow .3s;
}
.pildora:active { transform: scale(.97); }
.pildora-oro { background: var(--oro); color: var(--negro); }
.pildora-oro:hover { background: var(--oro-claro); }
.pildora-negra { background: var(--tinta); color: #fff; }
.pildora-negra:hover { background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pildora-chica { min-height: 34px; padding: 0 16px; font-size: 14px; }

.enlace-flecha { font-size: 17px; font-weight: 500; text-decoration: none; }
.enlace-flecha::after { content: ' ›'; }
.enlace-flecha:hover { text-decoration: underline; }
.enlace-claro { color: var(--oro-claro); }

:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }

/* ------------------------------- Barra ------------------------------- */
.barra {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(11,10,8,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.barra-dentro {
  width: min(var(--ancho), 100% - 2 * var(--lado)); margin-inline: auto;
  height: 52px; display: flex; align-items: center; gap: 24px;
}
.barra-logo img { width: 112px; height: auto; }
.barra-nav { display: none; gap: 28px; margin-left: auto; }
.barra-nav a { color: #E8E3D9; font-size: 13px; text-decoration: none; opacity: .82; transition: opacity .2s; }
.barra-nav a:hover { opacity: 1; }
.barra .pildora { margin-left: auto; }
/* Sobre las secciones claras la barra se vuelve clara: un vidrio oscuro
   encima de crema se ve gris sucio. */
.barra { transition: background-color .4s, border-color .4s; }
.barra.clara { background: rgba(251,250,247,.76); border-bottom-color: rgba(0,0,0,.07); }
.barra.clara .barra-nav a { color: var(--tinta); }
.barra.clara .barra-logo img { filter: brightness(.82) saturate(1.2); }
@media (min-width: 760px) {
  .barra-nav { display: flex; }
  .barra .pildora { margin-left: 0; }
}

/* ------------------------------ Portada ------------------------------
   Una pantalla: la foto llena el fondo, oscurecida para que se lea el
   titular, y se acerca despacio al entrar. */
.portada {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--negro); color: #fff;
}
.portada-medio { position: absolute; inset: 0; }
.portada-medio img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: brightness(.42); animation: acercar 2.4s var(--curva) both;
}
.portada-medio::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,8,.35) 0%, rgba(11,10,8,0) 40%, rgba(11,10,8,.6) 100%);
}
.portada-texto {
  position: relative; z-index: 2; text-align: center;
  padding: 110px var(--lado) 72px;
  animation: entrar 1.4s var(--curva) both;
}
.titular-gigante {
  margin: 0;
  font-size: clamp(4.4rem, 15vw, 10.5rem);
  line-height: .92; font-weight: 750; letter-spacing: -0.055em;
}
.portada-sub {
  max-width: 32ch; margin: 26px auto 34px;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem); line-height: 1.35; color: #E8E3D9;
}
.portada-acciones { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
@media (max-width: 700px) {
  /* En vertical la foto se recorta mucho: se corre hacia el monograma. */
  .portada-medio img { object-position: 18% 50%; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(30px); } }
@keyframes acercar { from { opacity: 0; transform: scale(1.12); } }

/* ------------------------------ Secciones ---------------------------- */
.seccion { padding-block: clamp(96px, 13vw, 170px); }
.seccion-clara { background: var(--crema); }
.seccion-blanca { background: var(--blanco); }
.seccion-negra { background: var(--negro); color: #F3EFE7; }
.encabezado { margin-bottom: clamp(40px, 6vw, 72px); }
.encabezado-fila { display: flex; align-items: end; justify-content: space-between; gap: 24px; }

/* -------------------------------- Bento ------------------------------ */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.tesela {
  position: relative; overflow: hidden;
  min-height: 420px; padding: 0; border: 0;
  border-radius: 30px; text-align: left;
  background: var(--papel);
  isolation: isolate;
}
.tesela-foto { cursor: pointer; color: #fff; background: var(--negro-2); }
.tesela-foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--curva);
}
.tesela-foto::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,10,8,.55) 0%, rgba(11,10,8,0) 38%, rgba(11,10,8,0) 55%, rgba(11,10,8,.72) 100%);
}
.tesela-foto:hover img { transform: scale(1.05); }
.tesela-texto { position: absolute; inset: 0; padding: 28px 30px; display: flex; flex-direction: column; }
.tesela-ante { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.86); }
.tesela-ante-oro { color: var(--oro); }
.tesela-titulo {
  margin-top: 6px; max-width: 16ch;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em;
}
.tesela-mas {
  position: absolute; right: 22px; bottom: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 24px; font-weight: 400; line-height: 1;
  transition: transform .4s var(--curva), background-color .3s;
}
.tesela-foto:hover .tesela-mas { transform: rotate(90deg); background: rgba(255,255,255,.32); }

.tesela-dato {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; background: var(--negro); color: #fff;
}
.dato-numero { font-size: clamp(8rem, 16vw, 13rem); line-height: .8; font-weight: 750; letter-spacing: -0.06em; }
.dato-texto { margin-top: 18px; max-width: 22ch; font-size: 19px; line-height: 1.3; color: var(--gris-oscuro); }

.tesela-tecno {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--negro); color: #fff;
}
.tecno-texto { padding: 30px 30px 0; display: flex; flex-direction: column; }
.tecno-titulo { margin-top: 6px; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.tecno-sub { margin-top: 10px; max-width: 34ch; color: var(--gris-oscuro); }
.tesela-tecno img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: 50% 35%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px; }
  .tesela { min-height: 0; }
  .t-faciales   { grid-column: span 4; grid-row: span 2; }
  .t-laser      { grid-column: span 2; grid-row: span 2; }
  .t-corporales { grid-column: span 3; grid-row: span 2; }
  .t-dato       { grid-column: span 3; }
  .t-postop     { grid-column: span 3; }
  .t-aclarados  { grid-column: span 3; grid-row: span 2; }
  .t-tecno      { grid-column: span 3; grid-row: span 2; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .t-faciales { grid-column: span 6; }
  .t-laser    { grid-column: span 6; }
}
/* En el teléfono, de a dos y más bajas: una tarjeta por pantalla hacía de
   los servicios cuatro pantallas de scroll. Faciales, aclarados y la del
   láser van a lo ancho para que la grilla no quede con huecos. */
@media (max-width: 759px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tesela { min-height: 220px; border-radius: 24px; }
  .t-faciales { grid-column: span 2; min-height: 280px; }
  .t-aclarados, .t-tecno { grid-column: span 2; }
  .tesela-texto { padding: 18px; }
  .tesela-ante { font-size: 13px; }
  .tesela-titulo { font-size: 1.2rem; }
  .t-faciales .tesela-titulo, .t-aclarados .tesela-titulo { font-size: 1.6rem; }
  .tesela-mas { right: 14px; bottom: 14px; width: 30px; height: 30px; font-size: 20px; }
  .tesela-dato { padding: 18px; }
  .dato-numero { font-size: 5.5rem; }
  .dato-texto { margin-top: 10px; font-size: 14px; }
  .tecno-texto { padding: 22px 22px 0; }
  .tesela-tecno img { min-height: 180px; }
}

/* ------------------------------ Solicitud ---------------------------- */
.paso { border: 0; margin: 0 0 56px; padding: 0; min-width: 0; }
.paso-titulo {
  display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 22px;
  font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -0.03em;
}
.paso-num {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; letter-spacing: 0;
  background: var(--tinta); color: #fff;
}

.opciones-servicio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .opciones-servicio { grid-template-columns: repeat(3, 1fr); } }
.servicio-op { position: relative; cursor: pointer; }
.servicio-op input { position: absolute; opacity: 0; pointer-events: none; }
.servicio-caja {
  display: flex; flex-direction: column; overflow: hidden; height: 100%;
  border-radius: 22px; background: var(--papel);
  box-shadow: 0 0 0 1px var(--linea);
  transition: box-shadow .25s, transform .3s var(--curva);
}
.servicio-caja img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.servicio-caja span { padding: 14px 16px 16px; font-weight: 600; line-height: 1.25; }
.servicio-op:hover .servicio-caja { transform: translateY(-2px); }
.servicio-op input:checked + .servicio-caja { box-shadow: 0 0 0 2.5px var(--tinta), 0 12px 30px rgba(0,0,0,.08); }
.servicio-op input:focus-visible + .servicio-caja { outline: 3px solid var(--oro); outline-offset: 3px; }

.tira-dias {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin-inline: calc(-1 * var(--lado)); padding: 4px var(--lado) 10px;
}
.tira-dias::-webkit-scrollbar { display: none; }
.dia {
  flex: 0 0 76px; height: 96px; border: 0; cursor: pointer; scroll-snap-align: start;
  border-radius: 20px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.dia small { font-size: 13px; color: var(--gris); text-transform: capitalize; }
.dia strong { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.dia[aria-checked="true"] { background: var(--tinta); color: #fff; box-shadow: none; }
.dia[aria-checked="true"] small { color: rgba(255,255,255,.7); }
.dia-mes {
  flex: 0 0 auto; align-self: center; padding: 0 4px 0 6px;
  font-size: 13px; font-weight: 700; color: var(--oro-texto); text-transform: uppercase; letter-spacing: .06em;
  writing-mode: vertical-rl; transform: rotate(180deg);
}

.franjas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.franja { cursor: pointer; }
.franja input { position: absolute; opacity: 0; pointer-events: none; }
.franja-caja {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 22px; border-radius: 22px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea);
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.franja-caja svg { color: var(--oro-texto); margin-bottom: 10px; }
.franja-caja strong { font-size: 22px; letter-spacing: -0.02em; }
.franja-caja small { font-size: 15px; color: var(--gris); }
.franja input:checked + .franja-caja { background: var(--tinta); color: #fff; box-shadow: none; }
.franja input:checked + .franja-caja svg { color: var(--oro); }
.franja input:checked + .franja-caja small { color: rgba(255,255,255,.7); }
.franja input:focus-visible + .franja-caja { outline: 3px solid var(--oro); outline-offset: 3px; }

.campo { margin-bottom: 12px; }
.campo input {
  width: 100%; height: 60px; padding: 0 20px;
  font: inherit; font-size: 18px; color: var(--tinta);
  border: 0; border-radius: 18px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea);
  transition: box-shadow .2s;
}
.campo input::placeholder { color: #9A9184; }
.campo input:focus { outline: none; box-shadow: 0 0 0 2.5px var(--tinta); }
.campo.con-error input { box-shadow: 0 0 0 2px var(--rojo); }

.error { margin: 10px 0 0; min-height: 0; font-size: 15px; font-weight: 500; color: var(--rojo); }
.error:empty { margin: 0; }

/* El resumen se pega abajo mientras se elige: siempre se ve qué se va a
   mandar y el botón para mandarlo. */
.resumen {
  position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 12px 12px 22px; border-radius: 24px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 50px rgba(0,0,0,.12);
}
.resumen-texto { margin: 0; font-weight: 600; line-height: 1.25; }
.resumen-texto.incompleto { color: var(--gris); font-weight: 500; }
.resumen .pildora { flex: none; }
@media (max-width: 520px) {
  .resumen { padding: 10px 10px 10px 16px; gap: 10px; }
  .resumen-texto { font-size: 14px; }
  .resumen .pildora { min-height: 44px; padding: 0 16px; font-size: 15px; }
}
.aviso { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--gris); }
.solicitar-acciones { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.solicitar .encabezado { text-align: center; margin-bottom: 32px; }
.siguenos { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,.08);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.siguenos p { flex-basis: 100%; margin: 0; text-align: center; font-size: 15px; color: var(--gris); }
.siguenos a { display: inline-flex; align-items: center; gap: 8px; color: var(--tinta); font-weight: 600; text-decoration: none; }
.siguenos a:hover { text-decoration: underline; }
.siguenos svg { width: 22px; height: 22px; }
.saludo-redes { font-size: 16px !important; }
.saludo-redes a { color: var(--oro-texto); font-weight: 600; }

.saludo { text-align: center; padding: 40px 0; outline: none; animation: entrar .9s var(--curva) both; }
.saludo-marca { color: var(--oro-texto); display: grid; place-items: center; margin-bottom: 18px; }
.saludo-titulo { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.saludo p { max-width: 36ch; margin: 0 auto 28px; font-size: 19px; color: var(--gris); }

/* ------------------------------ Visítanos ---------------------------- */
.visitanos { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .visitanos { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.datos { margin: 40px 0 32px; display: grid; gap: 22px; }
.datos div { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.datos dt { font-size: 13px; font-weight: 600; color: var(--gris-oscuro); margin-bottom: 4px; }
.datos dd { margin: 0; font-size: 19px; }
.datos a { text-decoration: none; color: var(--oro-claro); }
.redes { display: flex; gap: 12px; }
.redes a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--negro-3); color: #F3EFE7; transition: background-color .2s, color .2s;
}
.redes a:hover { background: var(--oro); color: var(--negro); }
.mapa { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--negro-2); }
/* El mapa de Google no tiene modo oscuro embebido: se invierte y se le
   devuelve el tono para que no sea un rectángulo blanco en la escena negra. */
.mapa iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.35) brightness(.95); }

/* -------------------------------- Pie -------------------------------- */
.pie { background: var(--negro); color: var(--gris-oscuro); border-top: 1px solid rgba(255,255,255,.07); }
.pie-dentro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px calc(28px + env(safe-area-inset-bottom)); font-size: 13px; }
.pie p { margin: 0; }

/* -------------------------------- Ficha ------------------------------ */
.ficha {
  width: min(760px, 100% - 24px); max-height: calc(100svh - 48px);
  padding: 0; border: 0; border-radius: 32px; overflow: hidden;
  background: var(--negro-2); color: #F3EFE7;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}
.ficha::backdrop { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ficha[open] { animation: hoja .55s var(--curva); }
.ficha[open]::backdrop { animation: velo .4s ease; }
@keyframes hoja { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@keyframes velo { from { opacity: 0; } }
.ficha-hoja { max-height: calc(100svh - 48px); overflow-y: auto; }
.ficha-cerrar {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ficha-foto { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ficha-cuerpo { padding: 32px clamp(24px, 5vw, 48px) 40px; }
.ficha-titulo { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.ficha-intro { margin: 0 0 24px; font-size: 19px; color: var(--gris-oscuro); max-width: 46ch; }
.ficha-lista { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0; }
.ficha-lista li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 17px; }
.ficha .pildora-negra { background: var(--oro); color: var(--negro); }
.ficha .pildora-negra:hover { background: var(--oro-claro); }

/* -------------------------- Hoja de solicitud -------------------------
   La misma hoja de la ficha, pero clara como la sección del formulario. */
/* clip y no hidden: un dialog con hidden igual se deja correr desde código
   (los scrollIntoView del formulario), y la hoja quedaba desplazada. */
.hoja-solicitud { background: var(--crema); color: var(--tinta); overflow: clip; }
.hoja-solicitud .antetitulo-oro { color: var(--oro-texto); }
.hoja-cuerpo { padding: 28px clamp(20px, 5vw, 48px) 24px; }
.hoja-titulo { margin: 0 56px 32px 0; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.hoja-solicitud .paso { margin-bottom: 36px; scroll-margin-top: 24px; }
.hoja-solicitud .saludo { padding: 8px 0 24px; }

/* ---------------------------- Apariciones ---------------------------- */
.aparece { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--curva), transform 1.1s var(--curva); }
.aparece.visible { opacity: 1; transform: none; }
.bento .aparece:nth-child(2) { transition-delay: .08s; }
.bento .aparece:nth-child(3) { transition-delay: .04s; }
.bento .aparece:nth-child(4) { transition-delay: .12s; }

/* --------------------------- Sin movimiento ---------------------------
   Quien pidió menos movimiento recibe la misma página, ya armada: las
   escenas dejan de ser largas y todo está en su lugar desde el inicio. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
}
}
