/* ═══════════════════════════════════════════════════════════════
   Llamada con Valentino Malacalza
   Mismo sistema que la agenda de Augusto Berti (tarjeta Arcadia, Poppins
   centrado, botón flotante), con los tokens de Trustoken y de su landing:
   fondo violeta noche, tarjeta blanca y el lila #A78BFA como único acento.
   Los nombres de las variables (--amarillo…) quedaron del sistema original:
   acá "amarillo" es el acento lila.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dmsans-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

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

:root {
  --amarillo: #a78bfa;         /* lila de Trustoken: botones, resaltados, selección */
  --amarillo-hondo: #9474f7;   /* hover de los botones */
  --amarillo-tenue: #e2d9fe;   /* días con lugar, selección */
  --amarillo-piel: #f4f0ff;    /* fondos suaves dentro de la tarjeta */
  --negro: #1c1233;            /* violeta noche: tinta fuerte, bordes elegidos */

  --tinta: #1c1233;
  --tinta-2: #3d3352;
  --tinta-3: #625a73;          /* 6:1 sobre blanco */
  --papel: #ffffff;
  --tenue: #f7f5fb;
  --linea: #ece8f3;
  --linea-2: #dcd6e8;

  /* la página (afuera de la tarjeta) */
  --fondo: #0b0816;
  --fondo-2: #130e22;
  --claro: #f5f3fa;
  --claro-2: rgba(245, 243, 250, 0.74);
  --claro-3: rgba(245, 243, 250, 0.56);
  --borde: rgba(245, 243, 250, 0.12);

  --curva: cubic-bezier(0.23, 1, 0.32, 1);
  --display: "Poppins", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --sombra-tarjeta: 0 1px 2px rgba(0, 0, 0, 0.2), 0 30px 70px -34px rgba(124, 92, 230, 0.55);
  --seccion: clamp(2.75rem, 6.5vw, 4.5rem); /* un solo ritmo entre secciones */
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--claro);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
a,
button,
label,
summary,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a,
button,
label,
summary {
  touch-action: manipulation;
}
a {
  color: inherit;
}
::selection {
  background: var(--amarillo);
  color: var(--negro);
}
:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 2px;
  border-radius: 6px;
}

/* resaltador: el amarillo de sus videos debajo de la palabra clave */
mark {
  color: inherit;
  background: linear-gradient(transparent 52%, var(--amarillo) 52%, var(--amarillo) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.12em;
  margin: 0 -0.06em;
}

/* ───────── barra ───────── */

.barra {
  background: var(--fondo);
  color: var(--claro);
  border-bottom: 1px solid var(--borde);
}
.barra__in {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marca {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
}
.marca i {
  font-style: normal;
  font-weight: 600;
  color: var(--amarillo);
  padding: 0 0.45em;
}
.marca span {
  font-weight: 500;
  color: var(--amarillo);
}
.barra .marca,
.pie a {
  padding-block: 0.8rem;
}

/* ───────── portada ───────── */

.portada {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(calc(100vh - 48px), 820px);
  min-height: min(calc(100svh - 48px), 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portada__sol {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 58%;
  width: min(900px, 165vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.2) 0%, rgba(124, 92, 230, 0.08) 55%, rgba(11, 8, 22, 0) 100%);
}
.escena {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  padding: clamp(1.1rem, 3.2vh, 1.9rem) 0 clamp(1.6rem, 4vh, 2.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.titulo {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.72rem, 4.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 21ch;
  text-wrap: balance;
}
.titulo em {
  display: block;
  font-style: normal;
}
/* en pantallas anchas, la frase resaltada entra en una sola línea */
@media (min-width: 900px) {
  .titulo {
    max-width: none;
  }
  .titulo em {
    white-space: nowrap;
  }
}
.titulo em span {
  color: #c4b5fd;
  background: linear-gradient(transparent 62%, rgba(167, 139, 250, 0.32) 62%, rgba(167, 139, 250, 0.32) 94%, transparent 94%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.1em;
}
/* el resaltador pasa una vez al cargar, como el subrayado de sus títulos */
@media (prefers-reduced-motion: no-preference) {
  .js .titulo em span {
    animation: resaltar 820ms 280ms cubic-bezier(0.65, 0, 0.35, 1) both;
  }
}
@keyframes resaltar {
  from {
    background-size: 0% 100%;
  }
}
.bajada {
  margin-top: 0.6rem;
  color: var(--claro-2);
  font-size: clamp(0.97rem, 1.5vw, 1.06rem);
  line-height: 1.45;
  max-width: 40ch;
  text-wrap: balance;
}
.confianza {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--tinta-3);
}
.confianza span + span::before {
  content: "·";
  margin: 0 0.6rem;
}
.confianza--2 {
  margin-top: 0.1rem;
}

/* ───────── tarjeta (formato Arcadia) ───────── */

.tarjeta {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: clamp(0.9rem, 2.4vh, 1.4rem);
  color: var(--tinta);
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 22px;
  padding: clamp(1rem, 4vw, 1.6rem) clamp(1rem, 4vw, 1.75rem) clamp(1.05rem, 4vw, 1.75rem);
  box-shadow: var(--sombra-tarjeta);
  text-align: left;
  overflow: hidden;
  scroll-margin-top: 1rem;
}
.progreso {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--amarillo-piel);
}
.progreso span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amarillo);
  border-radius: 0 4px 4px 0;
  transition: width 420ms var(--curva);
}
.tarjeta__arriba {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  margin: -0.3rem 0 0.35rem;
}
.volver {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tinta-3);
  padding: 0.2rem 0.4rem 0.2rem 0.1rem;
  border-radius: 8px;
  transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .volver:hover {
    color: var(--tinta);
  }
}
/* Volver, Cambiar y Quitar son chicos a la vista: el área de toque se agranda sin mover nada */
.volver,
.elegido button,
.adjunto--listo button,
.cal__flecha {
  position: relative;
}
.volver::after,
.elegido button::after,
.adjunto--listo button::after {
  content: "";
  position: absolute;
  inset: -9px -8px;
}
.cal__flecha::after {
  content: "";
  position: absolute;
  inset: -4px;
}
.volver svg {
  width: 16px;
  height: 16px;
}

.paso {
  animation: entrar 300ms var(--curva) both;
}
.paso--atras {
  animation-name: entrar-atras;
}
@keyframes entrar {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
  }
}
@keyframes entrar-atras {
  from {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .paso,
  .paso--atras {
    animation: none;
  }
}

.pregunta {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.12rem, 3vw, 1.36rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}
.pregunta:focus {
  outline: none;
}
.contexto {
  margin: 0.45rem auto 0;
  text-align: center;
  color: var(--tinta-3);
  font-size: 0.93rem;
  text-wrap: balance;
}

.opciones {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.opcion {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  background: var(--papel);
  border: 1px solid var(--linea-2);
  border-radius: 12px;
  padding: 0.62rem 0.95rem;
  min-height: 46px;
  box-shadow: 0 1px 2px rgba(20, 20, 18, 0.04);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 160ms var(--curva);
}
.opcion span {
  flex: 1;
  min-width: 0;
}
.opcion svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--tinta-2);
  transition:
    transform 200ms var(--curva),
    color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .opcion:hover {
    border-color: var(--negro);
    background: var(--amarillo-piel);
  }
  .opcion:hover svg {
    transform: translateX(3px);
    color: var(--negro);
  }
}
.opcion:active {
  transform: scale(0.98);
}
.opcion--marcada {
  border-color: var(--negro);
  background: var(--amarillo-tenue);
}

/* ───────── calendario ───────── */

.cal {
  margin-top: 1rem;
}
.cal__cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.cal__mes {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
}
.cal__flechas {
  display: flex;
  gap: 0.5rem;
}
.cal__flecha {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--tinta-2);
  border: 1px solid var(--linea);
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .cal__flecha:hover:not(:disabled) {
    background: var(--amarillo-piel);
    border-color: var(--negro);
  }
}
.cal__flecha:disabled {
  opacity: 0.35;
  cursor: default;
}
.cal__flecha svg {
  width: 17px;
  height: 17px;
}
.cal__semana,
.cal__grilla {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.28rem;
}
.cal__semana span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tinta-3);
  padding: 0.15rem 0 0.3rem;
}
.cal__dia {
  position: relative;
  aspect-ratio: 1 / 0.82;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.97rem;
  color: #bdbab1;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    transform 160ms var(--curva);
}
button.cal__dia {
  color: var(--tinta);
  font-weight: 650;
  background: var(--amarillo-piel);
}
@media (hover: hover) and (pointer: fine) {
  button.cal__dia:hover {
    background: var(--amarillo-tenue);
  }
}
button.cal__dia:active {
  transform: scale(0.95);
}
button.cal__dia--elegido,
button.cal__dia--elegido:hover {
  background: var(--negro);
  color: #fff;
}
.cal__dia--hoy::after {
  content: "";
  position: absolute;
  bottom: 13%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.horarios {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--linea);
  animation: entrar 280ms var(--curva) both;
}
.horarios__t {
  font-weight: 650;
  font-size: 0.97rem;
  margin-bottom: 0.6rem;
  text-transform: none;
}
.horarios__t span {
  color: var(--tinta-3);
  font-weight: 500;
  white-space: nowrap;
}
.horarios__t span::before {
  content: "· ";
}
/* en el celular la aclaración va abajo, chica, para que el día entre en una línea */
@media (max-width: 600px) {
  .horarios__t span {
    display: block;
    font-size: 0.84rem;
  }
  .horarios__t span::before {
    content: none;
  }
  .horarios__t span::first-letter {
    text-transform: uppercase;
  }
}
.horarios__grilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.5rem;
}
.hora {
  border: 1px solid var(--linea-2);
  border-radius: 11px;
  padding: 0.6rem 0.4rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  background: var(--papel);
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 160ms var(--curva);
}
@media (hover: hover) and (pointer: fine) {
  .hora:hover {
    border-color: var(--negro);
    background: var(--amarillo-piel);
  }
}
.hora:active {
  transform: scale(0.97);
}
.hora--elegida {
  background: var(--amarillo);
  border-color: var(--negro);
}
.vacio {
  text-align: center;
  color: var(--tinta-3);
  font-size: 0.95rem;
  padding: 1rem 0 0.2rem;
}
.cargando {
  display: grid;
  place-items: center;
  min-height: 230px;
}

/* ───────── datos ───────── */

.elegido {
  margin: 0.8rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  font-size: 0.95rem;
  color: var(--tinta-2);
  text-align: center;
}
.elegido b {
  font-weight: 650;
  color: var(--tinta);
}
.elegido button {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tinta-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.1rem 0.2rem;
}
.campos {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.campo {
  display: grid;
  gap: 0.35rem;
}
.campo > span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tinta-2);
}
.entrada {
  width: 100%;
  background: var(--papel);
  border: 1px solid var(--linea-2);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 1.02rem;
  min-height: 48px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.entrada::placeholder {
  color: #aaa79e;
}
.entrada:focus {
  outline: none;
  border-color: var(--negro);
  box-shadow: 0 0 0 4px var(--amarillo-tenue);
}
.entrada[aria-invalid="true"] {
  border-color: #b3261e;
}
.tel {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--linea-2);
  border-radius: 12px;
  background: var(--papel);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.tel:focus-within {
  border-color: var(--negro);
  box-shadow: 0 0 0 4px var(--amarillo-tenue);
}
.tel__pais {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.75rem 0 0.95rem;
  border-right: 1px solid var(--linea);
  color: var(--tinta-2);
  font-weight: 600;
  font-size: 0.96rem;
}
.tel__pais svg {
  width: 22px;
  height: 15px;
  border-radius: 2px;
}
.tel .entrada {
  border: 0;
  box-shadow: none;
  min-height: 46px;
}
.trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.error {
  font-size: 0.86rem;
  color: #b3261e;
  font-weight: 600;
}
.error:empty {
  display: none;
}
.aviso {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--amarillo-piel);
  border: 1px solid var(--amarillo-tenue);
  color: var(--tinta);
  font-size: 0.93rem;
  font-weight: 550;
  text-align: left;
}
.aviso a {
  font-weight: 700;
  text-underline-offset: 3px;
}
.nota {
  margin-top: 0.7rem;
  text-align: center;
  color: var(--tinta-3);
  font-size: 0.86rem;
  line-height: 1.45;
  text-wrap: balance;
}

/* ───────── botones ───────── */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1.3rem;
  border-radius: 13px;
  background: var(--amarillo);
  color: var(--negro);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 16px 32px -22px rgba(20, 20, 18, 0.7);
  transition:
    transform 160ms var(--curva),
    background-color 160ms ease,
    opacity 160ms ease;
}
.boton svg {
  width: 18px;
  height: 18px;
  transition: transform 200ms var(--curva);
}
@media (hover: hover) and (pointer: fine) {
  .boton:hover:not(:disabled) {
    background: var(--amarillo-hondo);
  }
  .boton:hover:not(:disabled) svg {
    transform: translateX(3px);
  }
}
.boton:active:not(:disabled) {
  transform: scale(0.97);
}
.boton:disabled {
  opacity: 0.6;
  cursor: default;
}
.boton--cta {
  width: auto;
  padding-inline: 1.6rem;
}
.boton--negro {
  background: var(--negro);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .boton--negro:hover:not(:disabled) {
    background: #2a1b4a;
  }
}
.boton--linea {
  background: var(--papel);
  border: 1px solid var(--linea-2);
  box-shadow: none;
  font-weight: 600;
  min-height: 48px;
  font-size: 0.97rem;
}
@media (hover: hover) and (pointer: fine) {
  .boton--linea:hover:not(:disabled) {
    background: var(--amarillo-piel);
    border-color: var(--negro);
  }
}
.boton--verde {
  background: #1f9d55;
  color: #fff;
}
.girando {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(20, 20, 18, 0.25);
  border-top-color: var(--negro);
  animation: girar 600ms linear infinite;
}
@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

/* pantallas bajas: la tarjeta entera tiene que entrar en la primera pantalla */
@media (max-width: 600px), (max-height: 760px) {
  .barra__in {
    height: 44px;
  }
  .portada {
    min-height: calc(100vh - 44px);
    min-height: calc(100svh - 44px);
  }
  .escena {
    padding-top: 0.85rem;
  }
  .titulo {
    font-size: clamp(1.6rem, 4.4vw, 2.15rem);
  }
  .bajada {
    margin-top: 0.45rem;
  }
  .tarjeta {
    margin-top: 0.8rem;
  }
  .opciones {
    gap: 0.375rem;
    margin-top: 0.75rem;
  }
  .opcion {
    min-height: 46px;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
  }
  .confianza {
    margin-top: 0.6rem;
  }
}

@media (max-width: 600px) {
  .portada {
    min-height: 0;
    justify-content: flex-start;
  }
  .portada__sol {
    top: 210px;
  }
}
/* en compu, main.js fija la posición centrada de arranque (misma razón) */
.portada--fija {
  justify-content: flex-start;
}
@media (pointer: coarse) and (max-width: 600px) {
  .cal__dia {
    aspect-ratio: 1;
  }
  /* con dos filas de horarios, el paso entra entero en un celular común */
  .cal {
    margin-top: 0.75rem;
  }
  .horarios {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

/* ───────── listo (página de gracias) ───────── */

.listo {
  text-align: center;
}
.tilde {
  width: 64px;
  height: 64px;
  margin: 0.4rem auto 1rem;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--negro);
  display: grid;
  place-items: center;
  animation: latido 480ms var(--curva) both;
}
.tilde svg {
  width: 30px;
  height: 30px;
}
.tilde path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: trazo 420ms 200ms var(--curva) forwards;
}
@keyframes latido {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
}
@keyframes trazo {
  to {
    stroke-dashoffset: 0;
  }
}
.detalle {
  margin: 1.2rem 0 1.1rem;
  border-top: 1px solid var(--linea);
  text-align: left;
}
.detalle div {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--linea);
  font-size: 0.96rem;
}
.detalle dt {
  color: var(--tinta-3);
}
.detalle dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.acciones {
  display: grid;
  gap: 0.6rem;
}

/* ═══════════════ secciones de la página ═══════════════ */

.ancho {
  width: min(1080px, 100% - 2.4rem);
  margin-inline: auto;
}
.ancho--angosto {
  width: min(720px, 100% - 2.4rem);
}
.bloque {
  padding: var(--seccion) 0;
}
.bloque--tenue {
  background: var(--fondo-2);
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.3vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead {
  margin-top: 0.8rem;
  font-size: clamp(0.99rem, 1.5vw, 1.07rem);
  line-height: 1.65;
  color: var(--claro-2);
  text-wrap: pretty;
}
.centrado {
  text-align: center;
  margin-inline: auto;
}
.etiqueta {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--claro-3);
}

/* quién te atiende: centrado, la cara grande en círculo (como pidió José para presentar personas) */
.quien {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
}
.quien__foto {
  width: clamp(150px, 26vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--fondo);
  box-shadow: 0 0 0 1px var(--borde), 0 24px 60px -30px rgba(167, 139, 250, 0.6);
}
.quien__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.quien__nombre {
  margin-top: 1.2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.quien__rol {
  margin-top: 0.4rem;
  font-weight: 600;
  color: #c4b5fd;
}
.quien .lead {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

/* qué vemos en la llamada: tres ideas centradas, sin cajas ni números */
.temas {
  list-style: none;
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}
.temas li {
  padding: 0.4rem clamp(1rem, 3vw, 2rem);
}
.temas li + li {
  border-left: 1px solid var(--borde);
}
.temas b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: balance;
}
.temas p {
  margin: 0.45rem auto 0;
  max-width: 28ch;
  color: var(--claro-2);
  font-size: 0.97rem;
  line-height: 1.55;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .temas {
    grid-template-columns: 1fr;
  }
  .temas li {
    padding: 1.1rem 0;
  }
  .temas li + li {
    border-left: 0;
    border-top: 1px solid var(--borde);
  }
}

/* preguntas frecuentes */
.faq {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--borde);
}
.faq details {
  border-bottom: 1px solid var(--borde);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0.1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq__mas {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
}
.faq__mas::before,
.faq__mas::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms var(--curva);
}
.faq__mas::after {
  transform: rotate(90deg);
}
.faq details[open] .faq__mas::after {
  transform: rotate(0deg);
}
.faq details p {
  padding: 0 0.1rem 1.15rem;
  color: var(--claro-2);
  max-width: 60ch;
}

/* cierre: el lila a lo ancho, con tinta violeta noche */
.cierre {
  background: var(--amarillo);
  color: var(--negro);
  padding: var(--seccion) 0;
}
.cierre__in {
  text-align: center;
}
.cierre .h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.cierre .lead {
  color: var(--tinta);
  margin-bottom: 1.5rem;
}

/* pie */
.pie {
  background: #07050e;
  color: var(--claro-3);
  padding: 1.8rem 0 calc(1.8rem + env(safe-area-inset-bottom));
  font-size: 0.86rem;
}
.pie__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.marca--pie {
  color: #fff;
}
.pie a {
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .pie__in {
    flex-direction: column;
    text-align: center;
  }
}

/* botón que acompaña al bajar */
.flotante {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 220ms ease,
    transform 320ms var(--curva);
}
.flotante--visible {
  opacity: 1;
  transform: none;
}
.flotante--visible .flotante__boton {
  pointer-events: auto;
}
.flotante__boton {
  width: min(420px, 100%);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .flotante {
    transition: opacity 150ms ease;
    transform: none;
  }
}

/* páginas simples (gracias, conectar, privacidad) */
.simple {
  min-height: calc(100svh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.4rem, 5vh, 3rem) 1rem 3rem;
}
.simple .tarjeta {
  margin-top: 0;
}
.texto {
  width: min(720px, 100% - 2.4rem);
  margin: clamp(2rem, 6vh, 3.5rem) auto 4rem;
}
.texto h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}
.texto h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.6rem 0 0.4rem;
}
.texto p {
  color: var(--claro-2);
}

/* ───────── preguntas por camino (oct 2026) ───────── */

.opcion span {
  display: grid;
  gap: 0.12rem;
}
.opcion span b {
  font-weight: 600;
}
.opcion span small {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--tinta-3);
  line-height: 1.35;
}
/* selección múltiple: casilla a la izquierda, sin flecha */
.opcion__caja {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--linea-2);
  display: grid;
  place-items: center;
  background: var(--papel);
  transition: background-color 150ms ease, border-color 150ms ease;
}
.opcion__caja svg {
  width: 15px;
  height: 15px;
  color: var(--negro);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 150ms ease, transform 200ms var(--curva);
}
.opcion--multiple.opcion--marcada .opcion__caja {
  background: var(--amarillo);
  border-color: var(--negro);
}
.opcion--multiple.opcion--marcada .opcion__caja svg {
  opacity: 1;
  transform: none;
}
.campos--pregunta {
  margin-top: 0.9rem;
  gap: 0.6rem;
}
.entrada--larga {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}
.entrada--otra {
  margin-top: 0.6rem;
  min-height: 70px;
  resize: vertical;
  line-height: 1.45;
}
.boton--seguir {
  margin-top: 0.75rem;
}
[data-err="paso"]:not(:empty) {
  margin-top: 0.5rem;
}
/* adjunto del camino de ARCA */
.adjunto {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--linea-2);
  border-radius: 12px;
  background: var(--tenue);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .adjunto:hover {
    border-color: var(--negro);
    background: var(--amarillo-piel);
  }
}
.adjunto:active {
  background: var(--amarillo-piel);
}
.adjunto svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--tinta-2);
}
.adjunto span {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}
.adjunto b {
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adjunto small {
  font-size: 0.82rem;
  color: var(--tinta-3);
}
.adjunto input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.adjunto--subiendo {
  pointer-events: none;
  background: var(--amarillo-piel);
}
.adjunto--listo {
  cursor: default;
  background: var(--amarillo-piel);
  border-color: var(--amarillo-tenue);
}
.adjunto--listo button {
  flex: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tinta-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.2rem 0.3rem;
}

/* ───────── WhatsApp de cualquier país y hora de otra zona (30/10) ───────── */

.campo__t {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tinta-2);
}
.tel__pais {
  position: relative;
  padding: 0 0.55rem 0 0.8rem;
  gap: 0;
}
.tel__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.tel__bandera {
  font-size: 1.15rem;
  line-height: 1;
}
.tel__flecha {
  width: 14px;
  height: 14px;
  margin-left: 0.1rem;
  color: var(--tinta-3);
}
/* el select nativo va encima del chip, invisible: en el celular abre el selector del teléfono */
.tel__pais select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
}
.hora small {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--tinta-3);
}
.hora--elegida small {
  color: var(--tinta-2);
}
.horarios__nota {
  margin: -0.35rem 0 0.6rem;
  font-size: 0.84rem;
  color: var(--tinta-3);
}
.elegido__local {
  color: var(--tinta-3);
}
.detalle__local {
  display: block;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--tinta-3);
}
