@font-face {
  font-family: 'Inter';
  src: url('inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1f4d43;
  --brand-2: #2f6b5d;
  --brand-3: #173a33;
  --soft: #e3eeea;
  --soft-2: #f3f7f5;
  --ink: #1d2b27;
  --muted: #5d6b67;
  --line: #cfd8d4;
  --line-2: #e2e9e6;
  --white: #ffffff;
  --verde: #2f9a6a;
  --ambar: #d6a021;
  --rojo: #c9483b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 43, 39, .06), 0 12px 32px -12px rgba(29, 43, 39, .22);
  --max: 1140px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
b, strong { font-weight: 700; }
code, .cmd { font-family: 'Cascadia Mono', ui-monospace, Consolas, monospace; font-size: .88em; }

section[id], .formulario { scroll-margin-top: 72px; }
.contenedor { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.estrecho { max-width: 760px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--brand); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.antetitulo {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.entrada { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.centro { text-align: center; }
.centro .entrada { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  min-height: 48px;
}
.boton.principal { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 77, 67, .6); }
.boton.principal:hover { background: var(--brand-3); transform: translateY(-1px); }
.boton.secundario { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--line); }
.boton.secundario:hover { box-shadow: inset 0 0 0 2px var(--brand); }
.boton.claro { background: #fff; color: var(--brand); }
.boton.claro:hover { background: var(--soft); transform: translateY(-1px); }
.boton:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--ambar); outline-offset: 3px;
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.cabecera.con-borde { border-bottom-color: var(--line-2); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.marca .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.marca small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: 0; line-height: 1; margin-top: 2px; }
.cabecera nav { display: flex; align-items: center; gap: 26px; }
.cabecera nav a.enlace { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.cabecera nav a.enlace:hover { color: var(--brand); }
.cabecera .boton { padding: 10px 18px; min-height: 42px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--soft-2) 0%, #fff 100%); position: relative; overflow: hidden; overflow: clip; }
.hero .contenedor { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .entrada { margin: 22px 0 30px; }
.hero .acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.sellos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.sellos li { display: flex; align-items: center; gap: 8px; }
.sellos svg { flex: none; color: var(--brand); }

/* ---------- Maqueta del panel ---------- */
.escena { position: relative; }
.panel {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line-2);
  overflow: hidden; font-size: 14px; line-height: 1.4;
}
.panel-barra { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--brand); color: #fff; }
.panel-barra b { font-size: .95rem; }
.panel-barra span { font-size: .78rem; opacity: .8; }
.panel-pestanas { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line-2); }
.panel-pestanas span { padding: 8px 12px; font-size: .8rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.panel-pestanas span.activa { color: var(--brand); border-bottom-color: var(--brand); }
.panel-cuerpo { padding: 16px; display: grid; gap: 12px; }
.resultado { display: flex; align-items: baseline; justify-content: space-between; background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.resultado small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.resultado strong { font-size: 1.7rem; color: var(--brand); letter-spacing: -.02em; }
.resultado .dif { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 12px 12px 14px; }
.kpi .fila { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.kpi small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.kpi strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; margin-top: 2px; }
.kpi .meta { font-size: .72rem; color: var(--muted); }
.luz { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
.luz.v { background: var(--verde); box-shadow: 0 0 0 4px rgba(47, 154, 106, .16); }
.luz.a { background: var(--ambar); box-shadow: 0 0 0 4px rgba(214, 160, 33, .18); }
.luz.r { background: var(--rojo); box-shadow: 0 0 0 4px rgba(201, 72, 59, .16); }
.alertas { display: grid; gap: 8px; }
.alerta { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; padding: 10px 12px; border-radius: 10px; background: var(--soft-2); }
.alerta .luz { margin-top: 4px; }
.demo-etiqueta { text-align: center; font-size: .74rem; color: var(--muted); margin-top: 12px; }

.burbuja {
  position: absolute; left: -34px; bottom: -28px; width: 250px;
  background: #fff; border-radius: 16px; padding: 12px 14px; font-size: .8rem; line-height: 1.45;
  box-shadow: var(--shadow), 0 0 0 1px var(--line-2);
}
.burbuja .quien { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .75rem; color: var(--brand); margin-bottom: 4px; }
.burbuja .quien i { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-style: normal; color: #fff; font-size: .62rem; }

/* ---------- Secciones ---------- */
.seccion { padding: 96px 0; }
.seccion.suave { background: var(--soft-2); }
.seccion .cabeza { margin-bottom: 48px; }
.seccion .cabeza h2, .dos-col h2, .autor h2 { margin-bottom: 16px; }

/* Problema */
.dolores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dolor { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-2); }
.dolor .cita { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 12px; }
.dolor p { color: var(--muted); margin: 0; font-size: .98rem; }
.giro { margin-top: 44px; text-align: center; font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; max-width: 720px; margin-left: auto; margin-right: auto; }
.giro b { color: var(--brand); }

/* Cuatro preguntas */
.preguntas-mes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: q; }
.pregunta {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line-2);
}
.pregunta .luces { display: flex; gap: 6px; margin-bottom: 18px; }
.pregunta .luces .luz { box-shadow: none; opacity: .22; }
.pregunta .luces .luz.on { opacity: 1; }
.pregunta h3 { margin-bottom: 8px; }
.pregunta p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Lo que ves */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lista-valor { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.lista-valor li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.lista-valor .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.lista-valor b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.lista-valor span { color: var(--muted); font-size: .96rem; }

.tarjeta-plato { background: #fff; border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line-2); padding: 22px; font-size: 14px; }
.tarjeta-plato header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.tarjeta-plato header b { font-size: 1.05rem; }
.tarjeta-plato header span { font-size: .78rem; color: var(--muted); }
.tabla { width: 100%; border-collapse: collapse; }
.tabla td { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.tabla td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.tabla tr.total td { border-bottom: 0; padding-top: 12px; font-weight: 800; }
.barra-fc { margin-top: 16px; }
.barra-fc .rotulo { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.barra-fc .rotulo b { color: var(--verde); }
.barra-fc .pista { height: 10px; border-radius: 99px; background: var(--soft); position: relative; overflow: hidden; }
.barra-fc .pista i { position: absolute; inset: 0 auto 0 0; width: 28%; background: var(--verde); border-radius: 99px; }
.equilibrio { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--soft); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.equilibrio small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.equilibrio strong { font-size: 1.15rem; letter-spacing: -.01em; }

/* Ayudante */
.ayudante { background: var(--brand); color: #fff; }
.ayudante h2 { color: #fff; }
.ayudante .antetitulo { color: #b9d6cc; }
.ayudante .entrada { color: rgba(255, 255, 255, .8); }
.chat { background: var(--brand-3); border-radius: 20px; padding: 22px; display: grid; gap: 12px; font-size: .93rem; line-height: 1.5; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; }
.msg.tu { justify-self: end; background: #fff; color: var(--ink); border-bottom-right-radius: 4px; }
.msg.claude { background: rgba(255, 255, 255, .1); color: #fff; border-bottom-left-radius: 4px; }
.msg.claude ul { margin: 6px 0; padding-left: 18px; }
.msg.claude li { margin: 2px 0; }
.msg .adjunto { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; background: var(--soft); color: var(--brand); padding: 4px 9px; border-radius: 6px; margin-bottom: 6px; font-weight: 600; }
.msg .confirmar { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 700; color: #b9f0d6; }
.puntos-ayudante { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.puntos-ayudante li { display: flex; gap: 12px; align-items: flex-start; }
.puntos-ayudante svg { flex: none; margin-top: 3px; color: #b9f0d6; }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.paso { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.paso .n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; font-size: 1.05rem; }
.paso h3 { margin-bottom: 8px; }
.paso p { color: var(--muted); font-size: .96rem; margin: 0; }
.paso pre.cmd { background: var(--ink); color: #e9f2ee; border-radius: 10px; padding: 12px 14px; margin: 14px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .76rem; line-height: 1.55; }
.ritmo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.ritmo div { text-align: center; padding: 22px; border-radius: var(--radius); background: var(--soft); }
.ritmo strong { display: block; font-size: 1.9rem; letter-spacing: -.02em; color: var(--brand); line-height: 1.1; }
.ritmo span { font-size: .92rem; color: var(--muted); }

/* Coste */
.coste { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.coste th, .coste td { padding: 18px 22px; text-align: left; vertical-align: top; }
.coste th { background: var(--soft); color: var(--brand); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.coste td { border-top: 1px solid var(--line-2); }
.coste td small { display: block; color: var(--muted); font-size: .9rem; }
.coste td:last-child { font-weight: 700; white-space: nowrap; text-align: right; }
.coste th:last-child { text-align: right; }
.coste .gratis { color: var(--verde); }
.nota { color: var(--muted); font-size: .88rem; margin-top: 14px; }

/* Datos */
.datos { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--soft); border-radius: 22px; padding: 36px 40px; }
.datos .candado { width: 72px; height: 72px; border-radius: 20px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.datos h3 { font-size: 1.4rem; color: var(--brand); margin-bottom: 6px; }
.datos p { margin: 0; color: var(--ink); }

/* Autor */
.autor { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.foto {
  aspect-ratio: 4 / 5; border-radius: 22px; background: var(--brand); position: relative; overflow: hidden;
  display: grid; place-items: center; color: rgba(255, 255, 255, .65); font-size: .85rem; text-align: center; padding: 20px;
}
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto::before { content: ""; position: absolute; width: 120%; height: 70%; border-radius: 50%; background: var(--brand-2); opacity: .5; right: -40%; bottom: -20%; }
.foto span { position: relative; }
.autor blockquote { margin: 26px 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--brand); font-size: 1.12rem; font-weight: 500; }
.autor .firma { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.youtube { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 700; text-decoration: none; }

/* Formulario */
.captacion { background: var(--brand); color: #fff; position: relative; overflow: hidden; overflow: clip; }
.captacion::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: var(--brand-2); opacity: .5; right: -200px; top: -160px; }
.captacion::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); left: -60px; bottom: 40px; }
.captacion .contenedor { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.captacion h2 { color: #fff; }
.captacion .entrada { color: rgba(255, 255, 255, .85); margin-top: 16px; }
.incluye { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.incluye li { display: flex; gap: 12px; align-items: flex-start; }
.incluye svg { flex: none; margin-top: 3px; color: #b9f0d6; }
.manual-mini { display: flex; gap: 16px; align-items: center; margin-top: 30px; }
.portadilla { width: 74px; aspect-ratio: 210 / 297; background: #fff; border-radius: 4px; padding: 8px 7px; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .4); position: relative; overflow: hidden; flex: none; }
.portadilla i { display: block; height: 100%; background: var(--brand); border-radius: 2px; padding: 6px 5px; font-style: normal; color: #fff; font-size: 7px; font-weight: 800; line-height: 1.05; }
.manual-mini small { font-size: .9rem; color: rgba(255, 255, 255, .8); }

.formulario { background: #fff; color: var(--ink); border-radius: 22px; padding: 34px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.formulario h3 { font-size: 1.35rem; margin-bottom: 6px; }
.formulario .sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.campo label small { font-weight: 400; color: var(--muted); }
.campo input, .campo select {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); min-height: 48px;
}
.campo input:focus, .campo select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(31, 77, 67, .12); }
.campo input[aria-invalid="true"] { border-color: var(--rojo); }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 12px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.check a { color: var(--brand); }
.formulario .boton { width: 100%; margin-top: 8px; }
.formulario .boton[disabled] { opacity: .6; cursor: progress; }
.error { color: var(--rojo); font-size: .88rem; margin: 10px 0 0; min-height: 1.2em; }
.oculto-campo { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-mini { font-size: .76rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

.gracias { display: none; text-align: left; }
.formulario.enviado form { display: none; }
.formulario.enviado .gracias { display: block; }
.gracias .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); color: var(--verde); display: grid; place-items: center; margin-bottom: 16px; }
.gracias ol { padding-left: 20px; margin: 14px 0 20px; color: var(--ink); font-size: .95rem; }
.gracias ol li { margin-bottom: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.06rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); margin: -6px 0 22px; padding-right: 40px; }

/* Cierre */
.cierre { padding: 88px 0; text-align: center; }
.cierre h2 { margin-bottom: 14px; }
.cierre .entrada { margin: 0 auto 28px; }

/* Pie */
.pie { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 44px 0; font-size: .9rem; }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.pie a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie .marca { color: #fff; }
.pie .marca small { color: rgba(255, 255, 255, .6); }

/* Barra fija móvil */
.barra-movil {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  transform: translateY(140%); transition: transform .25s ease;
}
.barra-movil.visible { transform: translateY(0); }
.barra-movil .boton { width: 100%; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); }

/* Aparición */
.js .aparece { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .aparece.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; transition: none; }
  .boton, .barra-movil { transition: none; }
}

/* Páginas legales */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--brand); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal .fecha { color: var(--muted); font-size: .92rem; margin-bottom: 32px; }
.legal .pendiente { background: #fdf3e2; color: #7a4a00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--soft); color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .preguntas-mes { grid-template-columns: 1fr 1fr; }
  .autor { grid-template-columns: 260px 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .cabecera nav a.enlace { display: none; }
  .hero { padding: 36px 0 80px; }
  .hero .contenedor, .dos-col, .captacion .contenedor { grid-template-columns: 1fr; gap: 44px; }
  .escena { max-width: 520px; margin: 0 auto; width: 100%; }
  .burbuja { left: auto; right: 10px; bottom: -48px; }
  .seccion { padding: 72px 0; }
  .dolores, .pasos { grid-template-columns: 1fr; }
  .ritmo { grid-template-columns: 1fr; gap: 12px; }
  .autor { grid-template-columns: 1fr; gap: 32px; }
  .foto { max-width: 300px; }
  .datos { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
  .orden-movil { order: -1; }
  .barra-movil { display: block; }
  .pie { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .contenedor { padding: 0 16px; }
  .preguntas-mes { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 1.08rem; }
  .panel-cuerpo { padding: 12px; }
  .burbuja { position: relative; right: auto; bottom: auto; width: auto; margin: -10px 12px 0; }
  .hero .acciones .boton { width: 100%; }
  .fila-2 { grid-template-columns: 1fr; gap: 0; }
  .formulario { padding: 24px 20px; }
  .coste th, .coste td { padding: 14px; }
  .coste td:last-child { white-space: normal; }
  .marca small { display: none; }
  .cabecera .boton { padding: 9px 14px; }
}

.hero-etiqueta { text-align: right; margin-top: 16px; }
@media (max-width: 900px) { .hero-etiqueta { text-align: center; margin-top: 64px; } }
@media (max-width: 560px) { .hero-etiqueta { margin-top: 16px; } }

/* Lo que te toca a ti */
.habitos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.habito { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 22px; background: #fff; border-top: 4px solid var(--brand); }
.habito .cuando { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.habito strong { display: block; font-size: 2rem; letter-spacing: -.02em; color: var(--brand); line-height: 1.1; margin: 8px 0 12px; }
.habito h3 { margin-bottom: 6px; }
.habito p { color: var(--muted); font-size: .95rem; margin: 0; }
.aviso-habito { margin-top: 24px; background: #fdf3e2; border-radius: var(--radius); padding: 20px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.aviso-habito p { margin: 0; font-size: .98rem; }
.aviso-habito b { color: #7a4a00; }
@media (max-width: 1020px) { .habitos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1080px) { .cabecera nav a.enlace { display: none; } }
@media (max-width: 900px) { .aviso-habito { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .habitos { grid-template-columns: 1fr; } }

/* =========================================================
   Movimiento
   ========================================================= */
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Entrada de la portada */
@keyframes subir { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes entrarPanel { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes aparecerBurbuja { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes latir { 0%, 100% { box-shadow: 0 0 0 4px rgba(201, 72, 59, .16); } 50% { box-shadow: 0 0 0 9px rgba(201, 72, 59, .05); } }
.hero .antetitulo, .hero h1, .hero .entrada, .hero .acciones, .hero .sellos { animation: subir .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .08s; }
.hero .entrada { animation-delay: .18s; }
.hero .acciones { animation-delay: .28s; }
.hero .sellos { animation-delay: .38s; }
.escena .panel-flota { animation: entrarPanel .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
.escena .panel { animation: flotar 6s 1.3s ease-in-out infinite; }
.escena .burbuja { animation: aparecerBurbuja .5s 1.3s cubic-bezier(.2, .8, .3, 1.3) both; }
.escena .hero-etiqueta { animation: subir .6s 1.6s both; }
.luz.r { animation: latir 1.8s ease-in-out infinite; }

/* Aparición al hacer scroll, con escalonado */
.aparece { transition-delay: calc(var(--i, 0) * 90ms); }
.js .aparece.desde-izq { transform: translateX(-28px); }
.js .aparece.desde-der { transform: translateX(28px); }
.js .aparece.zoom { transform: scale(.94); }
.js .aparece.visto { transform: none; }

/* Barra del coste del plato */
.js .barra-fc .pista i { width: 0; transition: width 1.2s .3s cubic-bezier(.2, .7, .2, 1); }
.tarjeta-plato.visto .barra-fc .pista i { width: 28%; }

/* Conversación: mensaje a mensaje */
.js .chat .msg { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.chat.visto .msg { opacity: 1; transform: none; }
.chat.visto .msg:nth-child(1) { transition-delay: .1s; }
.chat.visto .msg:nth-child(2) { transition-delay: .9s; }
.chat.visto .msg:nth-child(3) { transition-delay: 1.7s; }
.chat.visto .msg:nth-child(4) { transition-delay: 2.3s; }

/* Foto: cortinilla */
.js .foto img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), transform 1.4s ease; transform: scale(1.08); }
.foto.visto img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Hábitos y pasos: el número crece al entrar */
.js .habito strong, .js .paso .n { transition: transform .5s cubic-bezier(.2, .8, .3, 1.4); transform: scale(.6); }
.habito.visto strong, .paso.visto .n { transform: scale(1); }

/* Botón principal con brillo suave */
.boton.principal { position: relative; overflow: hidden; }
.boton.principal::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-20deg); animation: brillo 4.5s 2s ease-in-out infinite; }
@keyframes brillo { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Transparencia */
.transparencia { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; border: 2px dashed var(--line); border-radius: 22px; padding: 26px 28px; background: #fff; }
.sello-cero { width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; transform: rotate(-8deg); }
.transparencia h3 { font-size: 1.3rem; color: var(--brand); margin-bottom: 6px; }
.transparencia p { margin: 0; }

/* Pista de deslizar (solo móvil) */
.desliza { display: none; }

/* =========================================================
   Móvil primero: carruseles y ajustes
   ========================================================= */
@media (max-width: 640px) {
  .hero { padding: 24px 0 56px; }
  .hero h1 { font-size: 2.15rem; }
  .hero .entrada { font-size: 1.05rem; margin: 16px 0 22px; }
  .sellos { gap: 8px 16px; font-size: .86rem; margin-top: 20px; }
  .seccion { padding: 60px 0; }
  .seccion .cabeza { margin-bottom: 28px; }
  h2 { font-size: 1.7rem; }
  .entrada { font-size: 1.02rem; }

  .carrusel {
    display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .carrusel::-webkit-scrollbar { display: none; }
  .carrusel > * { flex: 0 0 84%; scroll-snap-align: center; }
  .desliza { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: .8rem; color: var(--muted); }
  .desliza i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
  .desliza i.activo { background: var(--brand); width: 18px; border-radius: 4px; }

  .transparencia { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .sello-cero { width: 60px; height: 60px; font-size: 1.05rem; }
  .coste th, .coste td { padding: 12px; font-size: .92rem; }
  .giro { margin-top: 28px; }
  .foto { max-width: none; aspect-ratio: 4 / 4.4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chat .msg, .foto img, .habito strong, .paso .n { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .barra-fc .pista i { width: 28%; }
  .progreso { display: none; }
}

.nota-tecnica { display: block; margin-top: 8px; font-size: .84rem; color: var(--muted); }

/* =========================================================
   ¿Cuánto vale un punto?
   ========================================================= */
.calculadora { background: var(--brand); color: #fff; position: relative; overflow: hidden; overflow: clip; }
.calculadora::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: var(--brand-2); opacity: .45; left: -200px; top: -180px; }
.calculadora .contenedor { position: relative; }
.calculadora h2 { color: #fff; }
.calculadora .antetitulo { color: #b9d6cc; }
.calculadora .entrada { color: rgba(255, 255, 255, .85); }


.puntos-ejemplo { max-width: 620px; margin: 28px auto 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; padding: 26px 28px; }
.puntos-ejemplo h3 { color: #fff; font-size: 1.25rem; }
.puntos-ejemplo .sub { color: rgba(255, 255, 255, .75); margin: 4px 0 16px; font-size: .95rem; }
.puntos-ejemplo ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.puntos-ejemplo li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.puntos-ejemplo li span { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.puntos-ejemplo li span b { color: #fff; }
.puntos-ejemplo li em { font-style: normal; font-weight: 800; color: #b9f0d6; font-variant-numeric: tabular-nums; }
.puntos-ejemplo li i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.puntos-ejemplo li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #b9f0d6; border-radius: 99px; transition: width 1s cubic-bezier(.2, .7, .2, 1); }
.puntos-ejemplo.visto li i::after { width: var(--w); }
.puntos-ejemplo.visto li:nth-child(2) i::after { transition-delay: .15s; }
.puntos-ejemplo.visto li:nth-child(3) i::after { transition-delay: .3s; }
.puntos-ejemplo.visto li:nth-child(4) i::after { transition-delay: .45s; }
.puntos-ejemplo .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .3); }
.puntos-ejemplo .total span { color: rgba(255, 255, 255, .75); }
.puntos-ejemplo .total strong { font-size: 1.2rem; color: #fff; text-align: right; }
.puntos-ejemplo .nota { color: rgba(255, 255, 255, .7); font-size: .86rem; margin: 14px 0 0; }

/* Logo de tres puntos: un pequeño latido escalonado */
.marca .logo circle { animation: punto 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.marca .logo circle:nth-child(2) { animation-delay: .2s; }
.marca .logo circle:nth-child(3) { animation-delay: .4s; }
@keyframes punto { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }

@media (max-width: 640px) {
  .puntos-ejemplo { padding: 20px 18px; }
  .puntos-ejemplo .total { flex-direction: column; align-items: flex-start; }
  .puntos-ejemplo .total strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .puntos-ejemplo li i::after { width: var(--w); }
}
.js .puntos-ejemplo li i::after { width: 0; }
.js .puntos-ejemplo.visto li i::after { width: var(--w); }


/* ---------- Calculadora (diseño móvil primero) ---------- */
.calc { max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 26px; padding: 28px 24px 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); text-align: center; }
.calc-pregunta { margin: 0; font-weight: 700; font-size: .95rem; color: var(--muted); }
.calc-ventas { display: block; font-size: clamp(2.4rem, 11vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; color: var(--brand); line-height: 1.1; margin: 4px 0 14px; font-variant-numeric: tabular-nums; }
.calc-ventas::after { content: " / mes"; font-size: .38em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 12px; border-radius: 99px; margin: 0 0 18px; background: linear-gradient(to right, var(--brand) 0 var(--lleno, 17%), var(--soft) var(--lleno, 17%) 100%); cursor: pointer; touch-action: pan-y; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 6px 16px rgba(31, 77, 67, .35); }
.calc input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 6px 16px rgba(31, 77, 67, .35); }
.calc input[type="range"]::-moz-range-track { background: transparent; }
.calc input[type="range"]:focus-visible { outline: 3px solid var(--ambar); outline-offset: 8px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.chip { font: inherit; font-size: .9rem; font-weight: 700; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.calc-uno { background: var(--soft); border-radius: 20px; padding: 20px 16px; }
.calc-uno-txt { display: block; font-size: 1rem; }
.calc-uno strong { display: block; font-size: clamp(2.6rem, 12vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1.05; margin: 4px 0; font-variant-numeric: tabular-nums; }
.calc-uno-sub { font-size: .95rem; color: var(--muted); }
.calc-uno-sub b { color: var(--ink); }
.calc-tres { display: flex; align-items: center; gap: 16px; text-align: left; margin-top: 12px; background: var(--ink); color: #fff; border-radius: 20px; padding: 18px 18px; }
.calc-tres small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9d6cc; }
.calc-tres strong { display: block; font-size: 1.45rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-tres span:not(.tres-puntos) { font-size: .92rem; color: rgba(255, 255, 255, .75); }
.calc-tres span b { color: #fff; }
.tres-puntos { display: flex; gap: 6px; flex: none; }
.tres-puntos i { width: 14px; height: 14px; border-radius: 50%; background: #b9f0d6; animation: punto 2.4s ease-in-out infinite; }
.tres-puntos i:nth-child(2) { animation-delay: .2s; }
.tres-puntos i:nth-child(3) { animation-delay: .4s; }
.calc-uno strong.salto, .calc-tres strong.salto { animation: salto .25s ease; }
@keyframes salto { 50% { transform: scale(1.05); } }
.calc-frase { margin: 16px 0 0; font-weight: 600; color: var(--brand); }

/* Botón al final de una sección */
.cta-seccion { text-align: center; margin-top: 32px; }
.calculadora .cta-seccion .boton { box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5); }

@media (max-width: 640px) {
  .calc { padding: 22px 16px 18px; border-radius: 22px; }
  .chip { font-size: .85rem; padding: 8px 12px; }
  .calc-tres { gap: 12px; padding: 16px 14px; }
  .calc-tres strong { font-size: 1.25rem; }
  .cta-seccion .boton { width: 100%; }
}
