/* ==========================================================================
   Landing — longevidad activa · Lic. Bettiana Schmidt

   Paleta sacada de su logo (beige, arena y el gris topo del nombre) más el
   verde pistacho que pidió ella. Tipografía también del logo: serif para los
   títulos y Montserrat para el texto.

   Pensada para el celular primero y para lectores de todas las edades:
   letra grande, contraste alto, botones de dedo y nada que se mueva solo.
   ========================================================================== */

:root {
  /* del logo */
  --arena: #CCC6BA;
  --beige: #B4A896;
  --topo: #948B8C;
  --crema: #F7F4EE;
  --papel: #FFFFFF;

  /* pistacho: el claro para fondos y detalles, el oscuro para botones y
     texto chico, que con el claro no llega al contraste mínimo */
  --pistacho: #A9C47F;
  --pistacho-claro: #E7EDD8;
  --verde: #5A7532;
  --verde-hondo: #48602A;

  --tinta: #3A3536;
  --suave: #5F5859;
  --linea: rgba(90, 83, 84, .18);

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;

  --radio: 16px;
  --sombra: 0 1px 2px rgba(58, 53, 54, .06), 0 10px 28px rgba(58, 53, 54, .08);
  --ancho: 1120px;
  --lado: 20px;
  --barra: 66px;
  --fija: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barra) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--fija);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; }
p { margin: 0; }
a { color: inherit; }
b { font-weight: 600; }

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

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tinta); color: var(--crema); padding: 10px 16px; border-radius: 8px;
}
.saltar:focus { top: 12px; }

/* ---------- piezas comunes ---------- */
.envase { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--lado); }
.envase.angosto { max-width: 760px; }

.seccion { padding: 64px 0; }

.ojo {
  font-family: var(--sans); font-weight: 600;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--verde-hondo); margin-bottom: 14px;
}
/* sobre el arena de la portada hace falta un verde más oscuro para el contraste */
.portada .ojo { color: #3E5322; }

h2 { font-size: clamp(34px, 9vw, 54px); margin-bottom: 22px; max-width: 18ch; }
h3 { font-size: 28px; }

.intro, .parrafo { font-size: 18px; color: var(--suave); max-width: 38em; }
.parrafo + .parrafo { margin-top: 14px; }
.intro { margin-bottom: 30px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  font: 600 17px/1.2 var(--sans);
  color: #fff; background: var(--verde);
  border: 2px solid var(--verde); border-radius: 999px;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { background: var(--verde-hondo); border-color: var(--verde-hondo); }
.btn:active { transform: scale(.98); }
.btn-borde { background: transparent; color: var(--verde); }
.btn-borde:hover { background: var(--verde); color: #fff; }
.btn-chico { min-height: 44px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.btn-ancho { width: 100%; }
.btn-grande { min-height: 64px; font-size: 19px; }
.ico { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- barra superior ---------- */
.barra {
  position: sticky; top: 0; z-index: 50;
  height: var(--barra);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--lado);
  background: rgba(247, 244, 238, .95);
  border-bottom: 1px solid var(--linea);
}
@supports (backdrop-filter: blur(8px)) {
  .barra { background: rgba(247, 244, 238, .84); backdrop-filter: blur(10px); }
}
.marca { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.marca-n { font-family: var(--serif); font-size: 23px; color: var(--topo); }
.marca-s { white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }

/* ---------- portada ---------- */
.portada { background: var(--arena); color: var(--tinta); position: relative; overflow: hidden; }
.portada-foto { margin: 0; position: relative; height: 56vh; min-height: 330px; max-height: 540px; overflow: hidden; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.portada-foto::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to bottom, rgba(204, 198, 186, 0), var(--arena));
}
.portada-txt { padding: 0 var(--lado) 50px; margin-top: -50px; position: relative; }
.portada h1 { font-size: clamp(44px, 12.4vw, 80px); max-width: 11ch; }
.bajada { margin-top: 20px; font-size: 19px; color: #4A4445; max-width: 34em; }
.bajada b { color: var(--tinta); }
.portada .btn { flex: 1 1 220px; }
.portada .btn-borde { background: rgba(255, 255, 255, .35); }
.portada .btn-borde:hover { background: var(--verde); }
.credencial { margin-top: 24px; font-size: 14px; color: #4F4849; }

/* forma orgánica de fondo, como las manchas del logo */
.portada::before {
  content: ""; position: absolute; z-index: 0;
  width: 520px; height: 420px; right: -180px; bottom: -160px;
  background: var(--beige); opacity: .45;
  border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%;
}
.portada-foto, .portada-txt { z-index: 1; }

/* ---------- dos columnas con foto ---------- */
.dos { display: grid; gap: 36px; }
.foto-alta { margin: 0; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; background: var(--arena); }
.foto-alta img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- es para vos ---------- */
.lista-paravos { list-style: none; margin: 0; padding: 0; }
.lista-paravos li {
  position: relative; padding: 16px 0 16px 50px;
  border-top: 1px solid var(--linea); font-size: 18px; line-height: 1.5;
}
.lista-paravos li:last-child { border-bottom: 1px solid var(--linea); }
.lista-paravos li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pistacho-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%235A7532' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.nota { margin-top: 22px; font-size: 18px; color: var(--suave); }
.paravos .foto-alta { display: none; }

/* ---------- servicios ---------- */
.servicios { background: var(--papel); }
.tarjetas { display: grid; gap: 20px; margin-top: 8px; }
.tarjeta {
  background: var(--crema); border-radius: var(--radio); padding: 28px 22px 24px;
  display: flex; flex-direction: column; border-top: 5px solid var(--pistacho);
}
.tarjeta + .tarjeta { border-top-color: var(--beige); }
.tarjeta-n {
  font: 600 15px/1 var(--sans);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tinta); color: var(--crema); margin-bottom: 16px;
}
.tarjeta-sub { margin-top: 8px; color: var(--suave); font-size: 18px; }
.lista { list-style: none; padding: 0; margin: 20px 0 0; }
.lista li { position: relative; padding-left: 26px; margin-bottom: 14px; font-size: 17px; line-height: 1.55; }
.lista li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--pistacho);
}
.entrega {
  margin: 8px 0 20px; padding: 14px 16px; border-left: 4px solid var(--beige);
  background: rgba(180, 168, 150, .14); font-size: 16px; font-weight: 500;
}
.precio { font-family: var(--serif); font-size: 44px; line-height: 1; margin: 4px 0 18px; }
.precio small { font-family: var(--sans); font-size: 16px; color: var(--suave); margin-left: 8px; }
.tarjeta .btn { margin-top: auto; }

/* ---------- escalas de la valoración ---------- */
.escalas {
  margin-top: 20px; padding: 28px 22px; border-radius: var(--radio);
  background: var(--crema); border: 1px solid var(--linea);
}
.escalas h3 { font-size: 26px; margin-bottom: 12px; }
.escalas-txt { font-size: 17px; color: #4F4849; }
.escalas-lista { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.escalas-lista li {
  background: var(--papel); border-radius: 12px; padding: 16px 18px;
  border-left: 5px solid var(--pistacho);
}
.escalas-lista b { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; line-height: 1.2; }
.escalas-lista span { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--verde); margin-top: 4px; }
.escalas-lista p { font-size: 16px; line-height: 1.5; color: #4F4849; margin-top: 8px; }

.casa {
  margin-top: 20px; padding: 28px 22px; border-radius: var(--radio);
  background: var(--pistacho-claro);
  display: grid; gap: 22px;
}
.casa h3 { font-size: 26px; margin-bottom: 12px; }
.casa p:not(.ojo) { font-size: 17px; color: #4F4849; }

/* ---------- galería ---------- */
.galeria { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.galeria figure { margin: 0; }
.galeria figure:first-child { grid-column: 1 / -1; }
.galeria img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); background: var(--arena); }
.galeria figure:first-child img { aspect-ratio: 4 / 3; object-position: 50% 45%; }
.galeria figcaption { margin-top: 10px; font-size: 15px; color: var(--suave); line-height: 1.4; }
.cita { margin: 36px 0 0; padding: 0 0 0 22px; border-left: 4px solid var(--pistacho); }
.cita p { font-family: var(--serif); font-size: clamp(25px, 6.4vw, 34px); line-height: 1.3; }

/* ---------- turno ---------- */
.turno { background: var(--pistacho-claro); }
.turno .intro { color: #4F4849; }

.reserva, .listo, .agenda-externa {
  background: var(--papel); color: var(--tinta);
  border-radius: 20px; padding: 24px 18px; box-shadow: var(--sombra);
}
.agenda-externa { padding: 0; overflow: hidden; }
.agenda-externa iframe { display: block; width: 100%; height: 760px; border: 0; }

.paso { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.paso legend { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; margin-bottom: 16px; padding: 0; }
.paso-n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; background: var(--verde); color: #fff; flex-shrink: 0;
}

.opciones { display: grid; gap: 10px; }
.opciones-fila { grid-template-columns: 1fr 1fr; margin: 6px 0 18px; }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcion span {
  display: block; padding: 16px 18px 16px 52px; border: 2px solid var(--linea); border-radius: 12px;
  background: var(--crema); transition: border-color .15s, background-color .15s; position: relative; height: 100%;
}
.opcion span::before {
  content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--topo); background: #fff;
}
.opcion b { display: block; font-size: 17px; }
.opcion small { display: block; font-size: 14px; color: var(--suave); margin-top: 2px; }
.opcion input:checked + span { border-color: var(--verde); background: var(--pistacho-claro); }
.opcion input:checked + span::before { border: 7px solid var(--verde); }
.opcion input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }
.opcion-chica span { padding: 14px 12px 14px 44px; display: flex; align-items: center; }
.opcion-chica span::before { left: 14px; width: 20px; height: 20px; }
.opcion-chica b { font-size: 15px; line-height: 1.3; }

/* días: tira que se desliza de costado */
.dias {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden;
  padding: 4px 2px 12px; margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  scroll-snap-type: x proximity; scroll-padding-inline: 18px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.dia {
  flex: 0 0 auto; width: 84px; min-height: 92px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 2px solid var(--linea); border-radius: 12px; background: var(--crema);
  font: inherit; color: var(--tinta); cursor: pointer; padding: 8px 4px;
}
.dia .d-sem { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); font-weight: 600; }
.dia .d-num { font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.dia .d-mes { font-size: 13px; color: var(--suave); }
.dia[aria-checked="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }
.dia[aria-checked="true"] .d-sem, .dia[aria-checked="true"] .d-mes { color: rgba(255, 255, 255, .85); }

.horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.horas .franja { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--suave); margin-top: 6px; }
.horas .franja:first-child { margin-top: 0; }
.hora {
  min-height: 54px; border: 2px solid var(--linea); border-radius: 12px; background: var(--crema);
  font: 600 18px/1 var(--sans); color: var(--tinta); cursor: pointer;
}
.hora[aria-checked="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }
.vacio, .cargando { grid-column: 1 / -1; color: var(--suave); font-size: 16px; }

.campo { display: block; margin-bottom: 16px; }
.campo span { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.campo small { font-weight: 400; color: var(--suave); }
.campo input, .campo textarea {
  width: 100%; font: 400 18px/1.4 var(--sans); color: var(--tinta);
  padding: 14px 16px; border: 2px solid var(--linea); border-radius: 12px; background: #fff;
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--verde); }
.campo textarea { resize: vertical; min-height: 96px; }

.resumen-turno:not(:empty) {
  margin: 0 0 16px; padding: 16px 18px; border-radius: 12px;
  background: var(--pistacho-claro); font-size: 17px; line-height: 1.45;
}
.error { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #F6E3E3; color: #8A2E2E; font-weight: 600; font-size: 16px; }
.aclara { margin-top: 12px; text-align: center; font-size: 14px; color: var(--suave); }

.listo { text-align: center; }
.listo:focus { outline: none; }
.listo-tilde {
  width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: var(--verde); color: #fff;
}
.listo h3 { margin-bottom: 10px; }
.listo > p { color: var(--suave); margin-bottom: 20px; }
.listo-pago { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--linea); }
.listo-pago p { margin-bottom: 14px; font-size: 16px; }
.enlace { margin-top: 18px; background: none; border: 0; font: 600 16px var(--sans); color: var(--verde); text-decoration: underline; cursor: pointer; padding: 10px; }

/* ---------- pagar ---------- */
.pagos { display: grid; gap: 12px; }
.pago {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px;
}
.pago > div { flex: 1 1 220px; }
.pago b { display: block; font-size: 18px; }
.pago small { display: block; font-size: 15px; color: var(--suave); margin-top: 2px; }
.pago .monto small { font-family: var(--sans); font-size: 15px; color: var(--suave); margin-left: 6px; display: inline; }
.pago .monto { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--tinta); margin-top: 8px; display: block; }
.pago .btn { flex: 1 1 100%; }
.seguro { margin-top: 18px; font-size: 14px; color: var(--suave); }

/* ---------- quién ---------- */
.quien { background: var(--papel); }
/* cara en círculo: ella prefiere que no se la vea de cuerpo entero */
.foto-circulo {
  margin: 0 auto; width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--pistacho); box-shadow: 0 0 0 12px var(--pistacho-claro); background: #E9E4DA;
}
.foto-circulo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.datos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; }
.datos div { background: var(--crema); border-radius: 12px; padding: 14px 16px; }
.datos dt { font-size: 13px; color: var(--suave); }
.datos dd { margin: 2px 0 0; font-family: var(--serif); font-size: 26px; }

/* ---------- preguntas ---------- */
details { border-top: 1px solid var(--linea); }
details:last-of-type { border-bottom: 1px solid var(--linea); }
summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-size: 18px; font-weight: 600; line-height: 1.4;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 400; background: var(--pistacho-claro); color: var(--verde);
}
details[open] summary::after { content: "–"; }
details p { padding: 0 0 22px; color: var(--suave); font-size: 17px; }

/* ---------- dónde ---------- */
.donde { background: var(--papel); }
.mapa { border-radius: var(--radio); overflow: hidden; background: var(--arena); aspect-ratio: 4 / 3; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- pie ---------- */
.pie { background: #5A5354; color: rgba(247, 244, 238, .8); padding: 40px 0 36px; font-size: 15px; }
.pie p + p { margin-top: 6px; }
.pie-n { font-family: var(--serif); color: var(--crema); font-size: 26px; }
.pie a { color: var(--pistacho); }

/* ---------- WhatsApp flotante (celular) ----------
   Va abajo a la derecha, donde la busca todo el mundo. (Estuvo a la izquierda
   mientras el sitio vivía en Netlify: ahí el cartel "Powered by Netlify" va fijo
   en esa esquina y la tapaba. En Cloudflare no hay cartel.) */
.fija {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
}
.fija .btn:not(.btn-wa) { display: none; }
.btn-wa { background: #1F8F4E; border-color: #1F8F4E; }
.btn-wa:hover { background: #197A42; border-color: #197A42; }
.fija .btn-wa {
  width: 60px; height: 60px; min-height: 0; padding: 0; border-radius: 50%;
  font-size: 0; box-shadow: 0 6px 18px rgba(31, 143, 78, .35);
}
.fija .btn-wa .ico { width: 32px; height: 32px; }

/* ---------- aparición al hacer scroll ----------
   Solo si main.js cargó (pone la clase .js en <html>). Sin JS todo se ve. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visto { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet y compu
   ========================================================================== */
@media (min-width: 760px) {
  :root { --lado: 40px; }
  body { font-size: 19px; padding-bottom: 0; }
  .seccion { padding: 96px 0; }
  .fija { display: none; }

  .portada { display: grid; grid-template-columns: 1fr 1fr; height: min(calc(100vh - var(--barra)), 820px); min-height: 620px; }
  .portada-foto { height: auto; max-height: none; order: 2; }
  .portada-foto::after { inset: 0 auto 0 0; width: 26%; height: auto; background: linear-gradient(to right, var(--arena), rgba(204, 198, 186, 0)); }
  .portada-txt { margin: 0; align-self: center; padding: 60px 24px 60px max(var(--lado), calc((100vw - var(--ancho)) / 2 + var(--lado))); }
  .portada .btn { flex: 0 0 auto; }
  .portada::before { right: auto; left: -160px; bottom: -200px; width: 640px; height: 520px; }

  .dos { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
  .quien .dos { grid-template-columns: .8fr 1.2fr; }
  .foto-circulo { width: min(340px, 100%); }
  .paravos .foto-alta { display: block; }

  .tarjetas { grid-template-columns: 1fr 1fr; gap: 24px; }
  .escalas { padding: 36px 32px; margin-top: 24px; }
  .escalas-lista { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tarjeta { padding: 36px 32px 32px; }
  .casa { grid-template-columns: 1fr auto; align-items: end; padding: 36px; gap: 36px; }

  .galeria { grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: start; }
  .galeria figure:first-child { grid-column: auto; }
  .galeria figure:first-child img { aspect-ratio: 4 / 5; }

  .reserva, .listo { padding: 36px; }
  .dias { margin: 0 -36px; padding-left: 36px; padding-right: 36px; scroll-padding-inline: 36px; }
  .horas { grid-template-columns: repeat(4, 1fr); }
  .pago .btn { flex: 0 0 auto; }
}

/* Solo se apaga lo que se mueve de verdad; los estados de hover quedan. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition-duration: .01s; }
}
