/* Del cuaderno al orden: una hoja de cuaderno escolar (papel, renglones azules, margen rojo, lapicero azul)
   apoyada sobre el verde de la marca. Esa hoja es el único gesto llamativo; el resto es sobrio y legible. */
:root {
  --verde: #0B3B2C;
  --verde-2: #12523E;
  --verde-3: #1B6A50;
  --verde-noche: #072A1F;
  --oro: #D9AE4F;
  --oro-claro: #F1D592;
  --crema: #F6EDD6;
  --papel: #FCF9F0;
  --renglon: #C6D8EA;
  --margen: #E39A8F;
  --tinta: #1F4690;
  --rojo: #B3392D;
  --blanco: #FFFFFF;
  --fondo: #F3F6F2;
  --texto: #15241E;
  --texto-2: #4D5D56;
  --borde: #D9E2DC;
  --sobre-verde: #E7EFE9;
  --sobre-verde-2: #B9CCC2;
  --wa: #1F8A5B;
  --wa-oscuro: #146C46;
  --f-display: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-mano: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --renglon-h: 2.55rem;
  --ancho: 72rem;
  --radio: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--texto);
  font: 400 1.0625rem/1.6 var(--f-body);
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--oro); color: var(--verde-noche); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec--fondo { background: var(--fondo); }
.sec--verde { background: var(--verde); color: var(--sobre-verde); }
h1, h2, h3 { font-family: var(--f-display); color: inherit; margin: 0; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.015em; color: var(--verde); }
.sec--verde h2 { color: var(--blanco); }
h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; }
.intro { max-width: 40rem; display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.intro p { color: var(--texto-2); font-size: 1.125rem; }
.sec--verde .intro p { color: var(--sobre-verde-2); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .75rem 1.4rem; border-radius: 999px;
  font: 700 1.02rem/1.2 var(--f-body); text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.btn svg { flex: 0 0 auto; }
.btn--wa { background: var(--wa); color: var(--blanco); box-shadow: 0 10px 24px rgba(10, 60, 38, .28); }
.btn--wa:hover { background: var(--wa-oscuro); }
.btn--oro { background: var(--oro); color: var(--verde-noche); }
.btn--oro:hover { background: var(--oro-claro); }
.btn--linea { background: transparent; color: var(--verde); border: 2px solid var(--verde); }
.btn--linea:hover { background: var(--verde); color: var(--blanco); }
.enlace { font-weight: 700; color: var(--verde-3); text-underline-offset: .2em; }

/* ---------- cabecera ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--verde); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.marca { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--blanco); flex: 0 0 auto; }
.marca img { width: 2.9rem; height: 2.9rem; }
.marca span { font: 700 1.1rem/1 var(--f-display); letter-spacing: .02em; }
.marca small { display: block; font: 500 .66rem/1.3 var(--f-display); letter-spacing: .14em; color: var(--oro-claro); margin-top: .2rem; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--sobre-verde); text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav a:hover { color: var(--oro-claro); }
.top .btn { min-height: 2.75rem; padding: .5rem 1.1rem; font-size: .95rem; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 420px) { .marca small { display: none; } .top .btn span { display: none; } .top .btn { padding: .5rem .8rem; } }

/* ---------- portada ---------- */
.hero { background: var(--verde); color: var(--sobre-verde); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-texto { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { color: var(--blanco); font-weight: 700; font-size: clamp(2.35rem, 5.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.028em; }
.hero h1 .tachon { position: relative; white-space: nowrap; color: var(--oro-claro); }
.hero h1 .tachon::after { content: ""; position: absolute; left: -.04em; right: -.04em; top: 54%; height: .09em; background: var(--rojo); border-radius: 2px; transform: rotate(-3deg); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--sobre-verde); max-width: 34rem; }
.hechos { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.hechos li { display: flex; gap: .7rem; align-items: flex-start; color: var(--sobre-verde); }
.hechos svg { flex: 0 0 auto; margin-top: .2rem; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.hero-acciones .enlace { color: var(--oro-claro); }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .hero-texto { display: contents; }
  .hero h1 { order: 1; }
  .hero .lead { order: 2; }
  .cuaderno { order: 3; margin-block: .8rem 1rem; }
  .hechos { order: 4; }
  .hero-acciones { order: 5; }
}

/* ---------- la hoja de cuaderno ---------- */
.cuaderno {
  position: relative; margin: 0; min-width: 0;
  background: var(--papel);
  border-radius: 6px 12px 12px 6px;
  padding: 1.7rem clamp(1.1rem, 3vw, 2rem) 1.6rem 4.4rem;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .38), 0 3px 0 rgba(0, 0, 0, .06);
  transform: rotate(-1.1deg);
  color: var(--tinta);
}
.cuaderno::before { /* agujeros de anillado */
  content: ""; position: absolute; left: .9rem; top: 1.4rem; bottom: 1.4rem; width: 1.15rem;
  background: radial-gradient(circle at 50% 50%, var(--verde) 0 .42rem, transparent .46rem) 0 0 / 1.15rem 2.55rem repeat-y;
}
.cuaderno::after { /* margen rojo */
  content: ""; position: absolute; top: 0; bottom: 0; left: 3.35rem; width: 2px; background: var(--margen);
}
.cuaderno-titulo { font: 700 clamp(1.9rem, 3.4vw, 2.3rem)/1.1 var(--f-mano); color: var(--tinta); margin: 0 0 .5rem; transform: rotate(-.6deg); }
.cuaderno-ayuda { font: 400 .95rem/1.4 var(--f-body); color: var(--texto-2); margin-bottom: .6rem; }
.dolores {
  list-style: none; margin: 0; padding: 0;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--renglon-h) - 2px), var(--renglon) calc(var(--renglon-h) - 2px), var(--renglon) var(--renglon-h));
}
.dolores li { min-height: var(--renglon-h); }
.dolor { display: flex; align-items: center; gap: .85rem; min-height: var(--renglon-h); cursor: pointer; position: relative; }
.dolor input { position: absolute; opacity: 0; width: 1.4rem; height: 1.4rem; left: 0; margin: 0; cursor: pointer; }
.caja { flex: 0 0 auto; width: 1.35rem; height: 1.35rem; border: 2.4px solid var(--tinta); border-radius: 3px; position: relative; transform: rotate(-3deg); background: rgba(255, 255, 255, .6); }
.caja svg { position: absolute; left: -.2rem; top: -.55rem; width: 1.95rem; height: 1.95rem; overflow: visible; }
.caja path { fill: none; stroke: var(--tinta); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .28s ease-out; }
.dolor input:checked + .caja path { stroke-dashoffset: 0; }
.dolor input:focus-visible + .caja { outline: 3px solid var(--oro); outline-offset: 3px; }
.dolor-texto { font: 600 clamp(1.42rem, 2.6vw, 1.62rem)/1.05 var(--f-mano); color: var(--tinta); padding-block: .35rem; }
.dolor input:checked ~ .dolor-texto { text-decoration: underline; text-decoration-color: rgba(179, 57, 45, .55); text-decoration-thickness: .1em; text-underline-offset: .18em; }
.cuaderno-pie { display: grid; gap: .9rem; margin-top: 1.2rem; }
.cuaderno-estado { font: 700 1.02rem/1.4 var(--f-body); color: var(--verde); min-height: 1.4em; }
.cuaderno-pie .btn { width: 100%; }
.cuaderno-nota { font-size: .85rem; color: var(--texto-2); }
@media (max-width: 920px) { .cuaderno { transform: rotate(-.6deg); } }
@media (max-width: 420px) { .cuaderno { padding-left: 3.6rem; } .cuaderno::after { left: 2.85rem; } .cuaderno::before { left: .7rem; } }
@media (prefers-reduced-motion: reduce) { .caja path { transition: none; } }

/* ---------- ejemplos ---------- */
.pestanas { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.pestana { font: 700 1rem/1.2 var(--f-body); padding: .75rem 1.2rem; border-radius: 999px; border: 2px solid var(--borde); background: var(--blanco); color: var(--texto); cursor: pointer; }
.pestana[aria-selected="true"] { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
.panel { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.panel video, .panel .poster { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radio); background: var(--verde); object-fit: cover; box-shadow: 0 24px 50px rgba(11, 59, 44, .22); }
.panel-texto { display: grid; gap: 1.1rem; min-width: 0; max-width: 34rem; }
.panel-texto h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--verde); font-weight: 700; line-height: 1.15; }
.panel-texto .dolor-cita { font: 600 1.6rem/1.15 var(--f-mano); color: var(--tinta); }
.lista-ok { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.lista-ok li { display: flex; gap: .65rem; align-items: flex-start; }
.lista-ok svg { flex: 0 0 auto; margin-top: .25rem; }
.nota-demo { font-size: .88rem; color: var(--texto-2); }
.panel-botones { display: flex; flex-wrap: wrap; gap: .7rem; }
.lista-ok strong { color: var(--verde); }
@media (max-width: 760px) { .panel { grid-template-columns: minmax(0, 1fr); } .panel video, .panel .poster { max-width: 24rem; } }

/* ---------- rubros ---------- */
.buscador { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.buscar { position: relative; max-width: 30rem; }
.buscar input { width: 100%; min-height: 3.3rem; padding: .8rem 1rem .8rem 3rem; border-radius: 12px; border: 2px solid var(--borde); font: 400 1.05rem var(--f-body); color: var(--texto); background: var(--blanco); }
.buscar input:focus { border-color: var(--verde-3); outline: none; box-shadow: 0 0 0 3px rgba(217, 174, 79, .45); }
.buscar svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); }
.familias { display: flex; flex-wrap: wrap; gap: .5rem; }
.familia { font: 700 .92rem/1.2 var(--f-body); padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--borde); background: var(--blanco); color: var(--texto-2); cursor: pointer; }
.familia[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
.rubros { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--borde); }
.rubro { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; gap: .6rem 2rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--borde); }
.rubro-nombre { font: 600 1.05rem/1.3 var(--f-display); color: var(--verde); }
.rubro-familia { display: block; font: 400 .85rem/1.3 var(--f-body); color: var(--texto-2); margin-top: .2rem; }
.rubro-dolor { font: 600 1.45rem/1.15 var(--f-mano); color: var(--tinta); }
.rubro-beneficio { display: block; font: 400 .98rem/1.45 var(--f-body); color: var(--texto-2); margin-top: .35rem; }
.rubro .btn { min-height: 2.75rem; padding: .5rem 1.05rem; font-size: .95rem; white-space: nowrap; }
.rubros-pie { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; }
.rubros-cuenta { color: var(--texto-2); }
.sin-resultados { padding: 1.4rem 0; color: var(--texto-2); }
@media (max-width: 760px) {
  .rubro { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .rubro .btn { justify-self: start; }
}

/* ---------- tres caminos ---------- */
.caminos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--verde); }
.camino { padding: 1.6rem 1.6rem 1.8rem 0; display: grid; gap: .8rem; align-content: start; min-width: 0; }
.camino + .camino { padding-left: 1.6rem; border-left: 1px solid var(--borde); }
.camino h3 { font-size: 1.35rem; color: var(--verde); font-weight: 700; }
.camino .para { font-weight: 700; color: var(--texto); }
.camino dl { margin: 0; display: grid; gap: .55rem; }
.camino dt { font: 700 .88rem/1.3 var(--f-body); color: var(--verde-3); }
.camino dd { margin: 0; color: var(--texto-2); }
@media (max-width: 860px) {
  .caminos { grid-template-columns: minmax(0, 1fr); }
  .camino, .camino + .camino { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--borde); }
}
.ayudante { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); background: var(--fondo); border-radius: var(--radio); padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.ayudante h3 { font-size: 1.45rem; color: var(--verde); font-weight: 700; margin-bottom: 1.2rem; }
.pregunta { border: 0; margin: 0 0 1.2rem; padding: 0; }
.pregunta legend { font-weight: 700; margin-bottom: .55rem; padding: 0; }
.opciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opcion span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--borde); background: var(--blanco); font-weight: 700; font-size: .95rem; color: var(--texto-2); }
.opcion input:checked + span { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
.opcion input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.resultado { background: var(--blanco); border-radius: 12px; border: 2px solid var(--verde); padding: 1.4rem; display: grid; gap: .8rem; align-content: start; }
.resultado-etiqueta { font-size: .92rem; color: var(--texto-2); }
.resultado-nombre { font: 700 1.6rem/1.15 var(--f-display); color: var(--verde); }
@media (max-width: 860px) { .ayudante { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cómo trabajamos ---------- */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); counter-reset: paso; }
.paso { display: grid; gap: .7rem; align-content: start; position: relative; padding-top: 3.6rem; min-width: 0; }
.paso::before { counter-increment: paso; content: counter(paso); position: absolute; top: 0; left: 0; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--verde); color: var(--oro-claro); display: grid; place-items: center; font: 700 1.2rem/1 var(--f-display); }
.paso::after { content: ""; position: absolute; top: 1.35rem; left: 3.2rem; right: -1rem; height: 2px; background: var(--borde); }
.paso:last-child::after { display: none; }
.paso h3 { color: var(--verde); font-weight: 700; }
.paso p { color: var(--texto-2); }
@media (max-width: 860px) {
  .pasos { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .paso { padding-top: 0; padding-left: 3.8rem; }
  .paso::after { top: 3rem; bottom: -1.4rem; left: 1.32rem; right: auto; width: 2px; height: auto; }
}
.promesa { margin-top: clamp(2rem, 4vw, 3rem); font: 600 clamp(1.15rem, 2vw, 1.35rem)/1.4 var(--f-display); color: var(--verde); max-width: 44rem; }

/* ---------- todo el Perú ---------- */
.peru .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.peru-texto { display: grid; gap: 1.2rem; min-width: 0; }
.peru-texto p { color: var(--sobre-verde-2); font-size: 1.12rem; max-width: 34rem; }
.peru-texto .ciudades { color: var(--sobre-verde); }
.peru-mapa { width: 100%; max-width: 26rem; justify-self: center; }
.peru-mapa svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 860px) { .peru .wrap { grid-template-columns: minmax(0, 1fr); } .peru-mapa { max-width: 20rem; } }

/* ---------- preguntas ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--borde); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.2rem 0; font: 600 1.1rem/1.35 var(--f-display); color: var(--verde); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--borde); display: grid; place-items: center; font: 600 1.2rem/1 var(--f-display); color: var(--verde-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.3rem; color: var(--texto-2); max-width: 44rem; }

/* ---------- consulta ---------- */
.consulta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.consulta-texto { display: grid; gap: 1.2rem; min-width: 0; position: sticky; top: 6rem; }
.consulta-texto p { color: var(--sobre-verde-2); font-size: 1.1rem; }
.burbuja-titulo { font-weight: 700; color: var(--oro-claro); font-size: .98rem; }
.burbuja { background: #DCF2E3; color: #0F2A1D; border-radius: 16px 16px 4px 16px; padding: 1rem 1.15rem; font: 400 .98rem/1.5 var(--f-body); white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 16px 34px rgba(0, 0, 0, .25); max-width: 30rem; }
.formulario { background: var(--papel); color: var(--texto); border-radius: var(--radio); padding: clamp(1.3rem, 3.5vw, 2.2rem); display: grid; gap: 1.3rem; box-shadow: 0 28px 60px rgba(0, 0, 0, .3); min-width: 0; }
.campo { display: grid; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo > label, .campo legend { font-weight: 700; color: var(--verde); padding: 0; }
.campo .opcional { font-weight: 400; color: var(--texto-2); }
.campo select, .campo textarea { width: 100%; min-height: 3.2rem; border-radius: 10px; border: 2px solid var(--borde); padding: .7rem .9rem; font: 400 1.02rem/1.45 var(--f-body); color: var(--texto); background: var(--blanco); }
.campo textarea { min-height: 7.5rem; resize: vertical; }
.campo select:focus, .campo textarea:focus { border-color: var(--verde-3); outline: none; box-shadow: 0 0 0 3px rgba(217, 174, 79, .45); }
.casillas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
.casilla { display: flex; gap: .55rem; align-items: center; font-size: .98rem; cursor: pointer; }
.casilla input { width: 1.2rem; height: 1.2rem; accent-color: var(--verde-3); margin: 0; flex: 0 0 auto; }
.formulario .btn { width: 100%; }
.formulario .nota { font-size: .86rem; color: var(--texto-2); }
@media (max-width: 920px) { .consulta .wrap { grid-template-columns: minmax(0, 1fr); } .consulta-texto { position: static; } }
@media (max-width: 460px) { .casillas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pie ---------- */
.pie { background: var(--verde-noche); color: var(--sobre-verde-2); padding-block: 3rem 6rem; }
.pie .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.pie h2 { font: 700 1rem/1.3 var(--f-display); color: var(--blanco); margin-bottom: .7rem; }
.pie p, .pie li { font-size: .98rem; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pie a { color: var(--sobre-verde); }
.pie .marca img { width: 3.6rem; height: 3.6rem; }
.pie .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.4rem; font-size: .88rem; color: #8FA79B; }
.numero { user-select: all; font-weight: 700; color: var(--blanco); }
@media (max-width: 760px) { .pie .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Atkinson dibuja el cero con barra; en horas y años se lee mejor el de Poppins */
.cifra { font-family: var(--f-display); font-weight: 500; letter-spacing: .01em; }

/* ---------- servicios: carta de servicios en tres columnas ---------- */
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--verde); }
.menu-col { padding: 1.6rem 1.6rem 1.8rem 0; min-width: 0; }
.menu-col + .menu-col { padding-left: 1.6rem; border-left: 1px solid var(--borde); }
.menu-col h3 { font-size: 1.05rem; color: var(--verde-3); font-weight: 700; margin-bottom: 1.1rem; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.menu li { display: grid; gap: .35rem; }
.menu strong { font: 700 1.12rem/1.3 var(--f-display); color: var(--verde); text-wrap: balance; }
.menu li p { color: var(--texto-2); font-size: .98rem; }
.menu .enlace { font-size: .95rem; justify-self: start; }
.menu-pie { margin-top: 1.8rem; color: var(--texto-2); font-weight: 700; }
@media (max-width: 860px) {
  .menu { grid-template-columns: minmax(0, 1fr); }
  .menu-col, .menu-col + .menu-col { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--borde); }
}

/* ---------- antes y después: hoja de cuaderno a la izquierda, pantalla a la derecha ---------- */
.lista-casos { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.2rem, 5vw, 3.6rem); counter-reset: caso; }
.caso { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.18fr); gap: .9rem 1.2rem; align-items: stretch; }
.caso-quien { grid-column: 1 / -1; font: 700 1.05rem/1.3 var(--f-display); color: var(--verde); display: flex; align-items: center; gap: .6rem; }
.caso-quien::before { counter-increment: caso; content: counter(caso); width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--verde); color: var(--oro-claro); display: grid; place-items: center; font: 700 .95rem/1 var(--f-display); }
.antes {
  position: relative; min-width: 0; color: var(--tinta);
  background: var(--papel); border-radius: 6px 12px 12px 6px;
  padding: 1.25rem 1.25rem 1.3rem 3.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14), 0 2px 0 rgba(0, 0, 0, .05);
  transform: rotate(-.8deg);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2.2rem - 2px), var(--renglon) calc(2.2rem - 2px), var(--renglon) 2.2rem);
  background-position: 0 1.1rem;
}
.antes::before { content: ""; position: absolute; left: .75rem; top: 1.2rem; bottom: 1.2rem; width: .95rem;
  background: radial-gradient(circle at 50% 50%, var(--fondo) 0 .34rem, transparent .38rem) 0 0 / .95rem 2.2rem repeat-y; }
.antes::after { content: ""; position: absolute; top: 0; bottom: 0; left: 2.55rem; width: 2px; background: var(--margen); }
.etiqueta { display: inline-block; font: 700 .72rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 4px; }
.etiqueta--antes { background: var(--rojo); color: var(--blanco); transform: rotate(-2deg); }
.etiqueta--despues { background: var(--oro); color: var(--verde-noche); justify-self: start; }
.mano { font: 600 clamp(1.3rem, 2.2vw, 1.5rem)/1.25 var(--f-mano); color: var(--tinta); margin-top: .9rem; }
.garabato { list-style: none; margin: .7rem 0 0; padding: 0; font: 500 1.18rem/2.2rem var(--f-mano); color: var(--tinta); opacity: .8; }
.garabato li:nth-child(2) { text-decoration: line-through; text-decoration-color: rgba(179, 57, 45, .6); }
.burbujas { display: grid; gap: .45rem; margin-top: .9rem; }
.burbujas span { justify-self: start; background: var(--blanco); border: 1px solid var(--borde); border-radius: 12px 12px 12px 3px; padding: .35rem .75rem; font: 400 .92rem/1.4 var(--f-body); color: var(--texto); box-shadow: 0 2px 4px rgba(0, 0, 0, .05); }
.flecha { align-self: center; justify-self: center; color: var(--verde-3); display: grid; }
.flecha svg { width: 2.4rem; height: 2.4rem; }
.despues { min-width: 0; background: var(--verde); color: var(--sobre-verde); border-radius: var(--radio); padding: 1.25rem; display: grid; gap: .9rem; align-content: start; box-shadow: 0 24px 50px rgba(11, 59, 44, .22); }
.despues > p { color: var(--sobre-verde); font-size: 1.02rem; }
.ventana { background: #0A2B20; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; font: 400 .86rem/1.4 var(--f-body); color: var(--sobre-verde); }
.ventana-barra { display: flex; align-items: center; gap: .38rem; padding: .5rem .7rem; background: rgba(255, 255, 255, .06); }
.ventana-barra i { width: .55rem; height: .55rem; border-radius: 50%; background: #3F6B5A; }
.ventana-barra i:first-child { background: #B3392D; }
.ventana-barra i:nth-child(2) { background: #D9AE4F; }
.ventana-barra b { margin-left: .4rem; font: 600 .8rem/1 var(--f-display); color: var(--sobre-verde-2); }
.mini { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mini th { text-align: left; font: 700 .72rem/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--oro-claro); padding: .5rem .7rem .3rem; }
.mini td { padding: .42rem .7rem; border-top: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.mini td:last-child, .mini th:last-child { text-align: right; }
.mini em { font-style: normal; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; font-size: .74rem; }
.mini .ok { background: var(--wa); color: var(--blanco); }
.mini .alerta { background: var(--rojo); color: var(--blanco); }
.mini-boton { margin: .7rem; background: var(--wa); color: var(--blanco); font-weight: 700; text-align: center; padding: .5rem .7rem; border-radius: 8px; font-size: .86rem; }
.mini-boton--oro { background: var(--oro); color: var(--verde-noche); margin: .6rem 0 0; }
.estado-ok { margin: 0 .7rem .7rem; padding: .45rem .6rem; border-radius: 8px; background: rgba(31, 138, 91, .22); color: #CFEFD9; font-size: .82rem; font-weight: 700; }
.formulario-mini { padding: .7rem; display: grid; gap: .5rem; }
.formulario-mini > div:not(.mini-boton):not(.estado-ok) { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem .6rem; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.formulario-mini span { color: var(--sobre-verde-2); }
.formulario-mini b { color: var(--blanco); font-weight: 600; text-align: right; }
.formulario-mini .estado-ok { margin: .2rem 0 0; }
.ventana--chat .mensaje { margin: .8rem; background: #DCF2E3; color: #0F2A1D; border-radius: 12px 12px 12px 3px; padding: .7rem .85rem; font-size: .9rem; line-height: 1.5; max-width: 22rem; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: .7rem .7rem .3rem; }
.kpi { background: rgba(255, 255, 255, .06); border-radius: 8px; padding: .55rem .6rem; min-width: 0; }
.kpi b { display: block; font: 700 1.15rem/1.1 var(--f-display); color: var(--blanco); white-space: nowrap; }
.kpi span { font-size: .74rem; color: var(--sobre-verde-2); }
.casos-pie { margin-top: clamp(2.2rem, 5vw, 3.4rem); display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--borde); padding-top: 1.8rem; }
.casos-pie p { font: 600 1.15rem/1.4 var(--f-display); color: var(--verde); max-width: 32rem; }
@media (max-width: 860px) {
  .caso { grid-template-columns: minmax(0, 1fr); }
  .flecha { transform: rotate(90deg); }
  .antes { transform: rotate(-.4deg); }
}
@media (max-width: 420px) { .antes { padding-left: 2.9rem; } .antes::after { left: 2.15rem; } .antes::before { left: .6rem; } }
