/* VetHub · Propuesta C "Para negocios de mascotas"
   Base heredada de la propuesta B (encabezado, portada, marquesina, funciones, planes, preguntas, cierre y pie);
   las piezas nuevas están al final, bajo "Propuesta C". */

:root {
  --margen: 12px;            /* margen de los contenedores a sangre */
  --r-caja: 40px;            /* esquinas de los contenedores grandes */
  --ancho: 1240px;
  --lado: 40px;              /* canal lateral */
  --sec: clamp(96px, 12vw, 176px);  /* ritmo vertical entre secciones */
  --cab-alto: 72px;
}
@media (max-width: 1023px) { :root { --lado: 28px; --r-caja: 32px; } }
@media (max-width: 767px)  { :root { --lado: 16px; --margen: 8px; --r-caja: 28px; --cab-alto: 64px; } }

html { scroll-padding-top: 96px; }
body { overflow-x: clip; }
.contenedor { width: 100%; max-width: calc(var(--ancho) + var(--lado) * 2); margin: 0 auto; padding: 0 var(--lado); }
.saltar { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--tinta); color: #fff; font-weight: 700; }
.saltar:focus { top: 16px; }
.sec-cab { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-cab-centro { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }

/* Máscaras para el revelado por líneas */
.m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.m > .w { display: inline-block; will-change: transform; }

/* ─────────── Encabezado ─────────── */
.cab { position: fixed; z-index: 50; top: calc(var(--margen) + 8px); left: 0; right: 0; padding: 0 calc(var(--margen) + 16px); pointer-events: none; }
.cab-in { pointer-events: auto; position: relative; margin: 0 auto; max-width: 1400px; height: var(--cab-alto); display: flex; align-items: center; gap: 24px; padding: 0 12px 0 20px; border-radius: 999px; background: rgb(255 255 255 / 0); box-shadow: 0 0 0 1px rgb(37 4 11 / 0); transition: max-width .7s var(--ease), height .5s var(--ease), background-color .4s, box-shadow .4s, padding .5s var(--ease); }
.cab.is-compacta .cab-in { max-width: 1080px; height: 60px; background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px rgb(37 4 11 / .06), 0 12px 32px -16px rgb(37 4 11 / .28); }
.cab-logo { display: block; flex: none; padding: 6px 0; border-radius: 8px; }
.cab-logo img { height: 30px; width: auto; transition: height .5s var(--ease); }
.cab.is-compacta .cab-logo img { height: 26px; }
.cab-nav { display: flex; gap: 2px; margin: 0 auto; }
.cab-nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--tinta); transition: background-color .25s, color .25s; }
.cab-nav a:hover { background: rgb(255 255 255 / .75); color: var(--cereza); }
.cab.is-compacta .cab-nav a:hover { background: var(--rubor); }
.cab-nav a.is-actual { color: var(--cereza); }
.cab-nav a.is-actual::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--rojo); }
.cab-acc { display: flex; align-items: center; gap: 8px; flex: none; }
.cab-login { padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .9375rem; transition: color .25s; }
.cab-login:hover { color: var(--cereza); }
.cab-menu { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--t10); position: relative; flex: none; }
.cab-menu span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--tinta); transition: transform .45s var(--ease), top .45s var(--ease); }
.cab-menu span:first-child { top: 17px; }
.cab-menu span:last-child { top: 25px; }
.cab-menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.cab-menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-movil { pointer-events: auto; position: absolute; left: calc(var(--margen) + 16px); right: calc(var(--margen) + 16px); top: calc(var(--cab-alto) + 10px); padding: 10px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--t10), var(--sombra-alta); transform-origin: top center; }
.menu-movil nav { display: flex; flex-direction: column; }
.menu-movil a { padding: 14px 16px; border-radius: 18px; font-weight: 700; font-size: 1.125rem; }
.menu-movil a:hover { background: var(--rubor); color: var(--cereza); }
.menu-movil a:last-child { margin-top: 6px; border-top: 1px solid var(--t10); border-radius: 0 0 18px 18px; color: var(--cereza); }

@media (max-width: 1100px) { .cab-nav a { padding: 9px 10px; font-size: .875rem; } .cab-login { padding: 9px 8px; } }
@media (max-width: 1023px) {
  .cab-nav, .cab-login { display: none; }
  .cab-menu { display: block; }
  .cab-acc { margin-left: auto; }
  .cab.is-compacta .cab-in { max-width: 680px; }
}
@media (max-width: 767px) {
  .cab { padding: 0 calc(var(--margen) + 4px); top: calc(var(--margen) + 4px); }
  .cab-in { padding: 0 6px 0 16px; gap: 8px; }
  .cab-logo img { height: 25px; }
  .cab.is-compacta .cab-logo img { height: 24px; }
  .cab.is-compacta .cab-in { height: 56px; }
  .menu-movil { left: calc(var(--margen) + 4px); right: calc(var(--margen) + 4px); }
}

/* ─────────── Primera pantalla ─────────── */
.portada { --w: min(1120px, 100vw - 2 * var(--lado) - 2 * var(--margen) - 120px); --sale: calc(var(--w) * .609 * .42); padding: var(--margen) var(--margen) calc(var(--sale) + clamp(56px, 7vw, 96px)); }
.portada-caja { display: flow-root; position: relative; border-radius: var(--r-caja); background: var(--rubor); padding: clamp(132px, 15vh, 168px) var(--lado) 0; text-align: center; }
.portada-fondo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.portada-circulo { position: absolute; left: 50%; top: 52%; width: min(1180px, 120vw); aspect-ratio: 1; margin-left: calc(min(1180px, 120vw) / -2); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, rgb(255 255 255 / .85) 45%, rgb(255 255 255 / .55) 100%); }
.portada-anillo { position: absolute; left: 50%; top: 40%; width: min(1500px, 150vw); aspect-ratio: 1; margin-left: calc(min(1500px, 150vw) / -2); border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(255 46 85 / .14); }
.portada-texto { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.portada-etiqueta { height: 2.25rem; padding: 0 1rem 0 .75rem; gap: .625rem; background: #fff; box-shadow: 0 0 0 1px rgb(255 46 85 / .14), 0 6px 18px -10px rgb(208 18 58 / .35); font-size: .8125rem; }
.latido { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); }
.latido::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--rojo); animation: latido 1.6s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes latido { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.portada-titular { margin-top: 28px; font-size: clamp(2.75rem, 6.6vw, 6rem); max-width: 15ch; }
.portada-entradilla { margin-top: 26px; max-width: 40rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); }
.portada-botones { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.portada-botones .btn { height: 3.5rem; padding: 0 1.875rem; font-size: 1.0625rem; }
.portada-botones .btn-claro { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(37 4 11 / .16); }
.portada-botones .btn-claro:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--tinta); }
.portada-botones .btn-claro .ico { transition: transform .35s var(--ease); }
.portada-botones .btn-claro:hover .ico { transform: translateX(3px); }
.portada-nota { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--t70); }
.portada-nota .ico { width: 16px; height: 16px; color: var(--cereza); stroke-width: 2.5; }

.portada-escena { position: relative; z-index: 3; width: var(--w); margin: clamp(56px, 7vw, 88px) auto calc(var(--sale) * -1); }
.portada-ventana { position: relative; }
.ventana-recorte { border-radius: 20px; }
.portada-ventana .vh-win { box-shadow: 0 0 0 1px rgb(37 4 11 / .06), 0 50px 100px -40px rgb(37 4 11 / .35), 0 20px 40px -24px rgb(208 18 58 / .25); }
.tag-portada { right: 2.5%; top: 16.5%; }
.flota { position: absolute; z-index: 4; }
.vaiven { animation: vaiven 7s ease-in-out infinite; }
.vaiven-b { animation-duration: 8.5s; animation-delay: -2s; }
.vaiven-c { animation-duration: 9.5s; animation-delay: -4s; }
@keyframes vaiven { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -14px, 0) rotate(1.2deg); } }
.flota-luna { left: -10.5%; top: -16%; width: 15.5%; }
.circ-foto { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #fff, 0 26px 50px -20px rgb(37 4 11 / .45); }
.circ-foto img { width: 100%; height: 100%; object-fit: cover; }
.insignia { position: absolute; right: -2%; bottom: 2%; width: 32%; height: auto; border-radius: 50%; box-shadow: 0 0 0 5px #fff, 0 8px 18px -8px rgb(37 4 11 / .4); }
.flota-cita { left: -11%; top: 55%; width: 25.9%; }
.flota-cita .vh-mini { box-shadow: 0 0 0 1px var(--t10), 0 30px 60px -28px rgb(37 4 11 / .45); }
.flota-wa { right: -11%; top: 44%; width: 28.6%; }
.flota-wa .vh-mini { box-shadow: 0 0 0 1px var(--t10), 0 30px 60px -28px rgb(37 4 11 / .45); }

@media (max-width: 1279px) {
  .portada { --w: min(1120px, 100vw - 2 * var(--lado) - 2 * var(--margen) - 40px); }
  .flota-luna { left: -3%; top: -9%; width: 13%; }
  .flota-cita { left: -3%; top: 60%; width: 24%; }
  .flota-wa { right: -3%; top: 34%; width: 27%; }
}
@media (max-width: 767px) {
  .portada { --w: calc(100vw - 2 * var(--margen) - 24px); --sale: calc(var(--w) * .76 * .4); }
  .portada-caja { padding: 112px 20px 0; }
  .portada-titular { margin-top: 22px; font-size: clamp(2.5rem, 11.4vw, 3.25rem); }
  .portada-entradilla { margin-top: 18px; }
  .portada-botones { margin-top: 28px; flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .portada-escena { margin-top: 76px; }
  .ventana-recorte { overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 1px rgb(37 4 11 / .06), 0 40px 70px -30px rgb(37 4 11 / .4); }
  .ventana-recorte .vh-fit { width: 125%; margin-left: -25%; }
  .portada-ventana .vh-win { box-shadow: none; border-radius: 0; }
  .tag-portada { right: 3%; top: 19%; height: 30px; font-size: 12px; padding: 0 12px 0 9px; }
  .flota-luna { left: -8px; top: -64px; width: 21%; }
  .insignia { box-shadow: 0 0 0 3px #fff; }
  .circ-foto { box-shadow: 0 0 0 4px #fff, 0 16px 30px -14px rgb(37 4 11 / .45); }
  .flota-cita, .flota-wa { display: none; }
}

/* ─────────── Marquesina ─────────── */
.marquesina { padding: 0 0 8px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.marq-fila { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-pista { display: flex; width: max-content; will-change: transform; }
.marq-grupo { display: flex; gap: 14px; padding-right: 14px; }
.marq-p { display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 28px 0 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--t10); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap; color: var(--tinta); }
.marq-p i { width: 44px; height: 44px; border-radius: 50%; background: var(--rubor); color: var(--cereza); display: grid; place-items: center; }
.marq-p i .ico { width: 22px; height: 22px; }
.marq-fila-b .marq-p { height: 56px; padding: 0 26px; font-size: 1.0625rem; font-weight: 700; background: var(--t5); box-shadow: none; }
.marq-fila-b .marq-p.es-rojo { background: var(--rojo); color: #fff; font-weight: 800; }
.marq-fila-b .marq-p.es-tinta { background: var(--tinta); color: #fff; }
.marq-fila-b .marq-p.es-foto, .marq-fila-b .marq-p.es-simbolo { width: 56px; padding: 0; overflow: hidden; background: var(--rubor); }
.marq-p.es-foto img { width: 100%; height: 100%; object-fit: cover; }
.marq-p.es-simbolo img { width: 100%; height: 100%; }
@media (max-width: 767px) {
  .marq-p { height: 52px; font-size: 1.0625rem; padding: 0 20px 0 8px; gap: 10px; }
  .marq-p i { width: 36px; height: 36px; }
  .marq-p i .ico { width: 18px; height: 18px; }
  .marq-fila-b .marq-p { height: 46px; padding: 0 20px; font-size: .9375rem; }
  .marq-fila-b .marq-p.es-foto, .marq-fila-b .marq-p.es-simbolo { width: 46px; }
  .marq-grupo { gap: 10px; padding-right: 10px; }
  .marquesina { gap: 10px; }
}

/* ─────────── Funciones ─────────── */
.funciones { padding: calc(var(--sec) * .75) 0 var(--sec); }
.func { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.func-lista { display: flex; flex-direction: column; gap: 4px; }
.func-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; width: 100%; padding: 20px 20px 20px 16px; border-radius: 24px; text-align: left; transition: background-color .4s; }
.func-item + .func-item::before { content: ''; position: absolute; left: 82px; right: 20px; top: -2px; height: 1px; background: var(--t10); transition: opacity .3s; }
.func-item.is-activa::before, .func-item.is-activa + .func-item::before { opacity: 0; }
.func-item:hover { background: var(--t5); }
.func-item.is-activa { background: var(--rubor); }
.func-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--t5); color: var(--t70); transition: background-color .4s, color .4s, transform .5s var(--ease); }
.func-item.is-activa .func-ico { background: var(--rojo); color: #fff; transform: scale(1.04); }
.func-cuerpo { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.func-nombre { font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t40); transition: color .3s; }
.func-item.is-activa .func-nombre { color: var(--cereza); }
.func-titulo { margin-top: 4px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; font-size: 1.25rem; color: var(--t70); transition: color .3s; }
.func-item.es-mayor .func-titulo { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.func-item:hover .func-titulo, .func-item.is-activa .func-titulo { color: var(--tinta); }
.func-mas { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.func-texto { overflow: hidden; min-height: 0; font-size: 1rem; line-height: 1.55; color: var(--t70); opacity: 0; transition: opacity .4s; }
.func-item.is-activa .func-mas { grid-template-rows: 1fr; }
.func-item.is-activa .func-texto { opacity: 1; transition-delay: .15s; padding-top: 8px; }
.func-barra { display: block; height: 3px; margin-top: 0; border-radius: 3px; background: rgb(255 46 85 / .16); overflow: hidden; opacity: 0; transition: opacity .3s, margin .5s var(--ease); }
.func-item.is-activa .func-barra { opacity: 1; margin-top: 16px; }
.func-barra i { display: block; height: 100%; background: var(--rojo); transform-origin: 0 50%; transform: scaleX(0); }

.func-escenario { position: sticky; top: 104px; height: min(640px, calc(100vh - 140px)); min-height: 520px; border-radius: var(--r-caja); background: var(--rubor); overflow: hidden; }
.func-simbolo { position: absolute; right: -14%; bottom: -22%; width: 72%; height: auto; opacity: .75; pointer-events: none; }
.func-panel { position: absolute; inset: 0; display: grid; place-items: center; visibility: hidden; }
.func-panel.is-activo { visibility: visible; }
.func-foto { position: absolute; left: 6%; top: 6%; width: 26%; max-width: 184px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #fff, 0 24px 44px -20px rgb(37 4 11 / .4); z-index: 2; }
.func-foto img { width: 100%; height: 100%; object-fit: cover; }
.func-mini { position: relative; width: min(440px, 68%); margin: 12% 0 0 16%; z-index: 1; }
.func-mini .vh-mini { box-shadow: 0 0 0 1px rgb(37 4 11 / .05), 0 40px 80px -36px rgb(37 4 11 / .45); }
.js .func-panel:not(.is-activo) { visibility: hidden; }
.incluye { margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--t10); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.incluye-t { font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; }
.incluye-l { display: flex; flex-wrap: wrap; gap: 10px; }
.incluye-l .pildora { height: 2.75rem; padding: 0 1.125rem 0 .875rem; font-size: .9375rem; gap: .5rem; color: var(--tinta); transition: box-shadow .3s, background-color .3s; }
.incluye-l .pildora .ico { width: 18px; height: 18px; color: var(--cereza); }
.incluye-l .pildora:hover { background: var(--rubor); box-shadow: inset 0 0 0 1px rgb(255 46 85 / .2); }
@media (max-width: 1023px) {
  .func { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .func-escenario { position: relative; top: 0; order: -1; height: auto; min-height: 0; aspect-ratio: 1 / .82; }
  .func-item { padding: 16px 14px 16px 10px; gap: 14px; grid-template-columns: 44px minmax(0, 1fr); }
  .func-item + .func-item::before { left: 68px; }
  .func-ico { width: 44px; height: 44px; }
}
@media (max-width: 767px) {
  .func-escenario { aspect-ratio: 1 / 1.02; border-radius: 28px; }
  .func-foto { width: 26%; left: 6%; top: 6%; box-shadow: 0 0 0 4px #fff, 0 16px 30px -14px rgb(37 4 11 / .4); }
  .func-mini { width: 78%; margin: 22% 0 0 12%; }
  .func-item.es-mayor .func-titulo, .func-titulo { font-size: 1.125rem; }
  .incluye { gap: 14px; }
  .incluye-l .pildora { height: 2.5rem; font-size: .875rem; }
}

/* ─────────── Planes ─────────── */
.planes { padding: 0 var(--margen); }
.planes-caja { position: relative; border-radius: var(--r-caja); background: var(--rubor); padding: var(--sec) 0; overflow: hidden; }
.planes-simbolo { position: absolute; left: -10%; top: -26%; width: min(640px, 60vw); height: auto; opacity: .6; pointer-events: none; }
.planes-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; max-width: 1160px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgb(37 4 11 / .05), var(--sombra); }
.plan-prueba { background: rgb(255 255 255 / .55); box-shadow: inset 0 0 0 1.5px #fff; margin: 28px 0; }
.plan-base { box-shadow: 0 0 0 2px var(--rojo), 0 40px 80px -40px rgb(208 18 58 / .55); padding-top: 44px; }
.plan-premium { margin: 28px 0; }
.plan-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--rojo); color: #fff; margin-bottom: 6px; }
.plan-insignia { position: absolute; top: 0; left: 32px; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--rojo); color: #fff; font-weight: 800; font-size: .8125rem; letter-spacing: -.005em; box-shadow: 0 10px 20px -10px rgb(255 46 85 / .8); }
.plan-nombre { font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.1; }
.plan-precio { display: flex; align-items: center; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--t10); }
.plan-precio b { font-weight: 800; font-size: clamp(3.25rem, 5vw, 4.25rem); letter-spacing: -.05em; line-height: 1; color: var(--tinta); }
.plan-precio span { font-weight: 600; font-size: .9375rem; line-height: 1.3; color: var(--t70); }
.plan-cond { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; }
.plan-lema { font-weight: 700; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; color: var(--tinta); }
.plan-premium .plan-cond { font-weight: 600; font-size: 1rem; color: var(--t70); padding-bottom: 16px; border-bottom: 1px solid var(--t10); }
.plan-lista { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.plan-lista li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.45; }
.plan-lista .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--cereza); stroke-width: 2.5; }
.plan-ayuda { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--rubor); font-size: .875rem; line-height: 1.5; color: #8a2238; font-weight: 500; }
.plan-ayuda .ico { width: 18px; height: 18px; margin-top: 1px; color: var(--cereza); }
.plan-btn { margin-top: auto; width: 100%; }
.plan-prueba .texto { margin-bottom: 8px; }
@media (max-width: 1023px) {
  .planes-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 28px; }
  .plan-prueba, .plan-premium { margin: 0; }
  .plan-base { order: -1; }
}
@media (max-width: 767px) {
  .plan { padding: 28px 22px 22px; border-radius: 24px; }
  .plan-base { padding-top: 36px; }
  .plan-insignia { left: 22px; }
}

/* ─────────── Preguntas ─────────── */
.preguntas { padding: var(--sec) var(--lado); }
.preguntas-col { max-width: 820px; margin: 0 auto; }
.preguntas-col > h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.faq { border-top: 1px solid var(--t10); }
.faq-i { border-bottom: 1px solid var(--t10); }
.faq-b { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; text-align: left; font-weight: 700; font-size: clamp(1.125rem, 1.8vw, 1.5rem); letter-spacing: -.02em; line-height: 1.3; transition: color .3s; border-radius: 12px; }
.faq-b:hover { color: var(--cereza); }
.faq-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--t20); color: var(--tinta); transition: background-color .45s var(--ease), box-shadow .45s, color .3s; }
.faq-ico .ico { width: 20px; height: 20px; stroke-width: 2.25; transition: transform .6s var(--ease); }
.faq-b:hover .faq-ico { box-shadow: inset 0 0 0 1.5px var(--rojo); color: var(--cereza); }
.faq-b[aria-expanded="true"] .faq-ico { background: var(--rojo); color: #fff; box-shadow: none; }
.faq-b[aria-expanded="true"] .faq-ico .ico { transform: rotate(135deg); }
.faq-r { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.faq-r > div { overflow: hidden; min-height: 0; }
.faq-r .texto { padding: 0 72px 30px 0; font-size: 1.0625rem; max-width: 62ch; transition: opacity .5s, transform .6s var(--ease); }
.js .faq-i:not(.is-abierta) .faq-r { grid-template-rows: 0fr; }
.js .faq-i:not(.is-abierta) .faq-r .texto { opacity: 0; transform: translateY(-8px); }
@media (max-width: 767px) {
  .faq-b { padding: 22px 0; gap: 16px; }
  .faq-ico { width: 40px; height: 40px; }
  .faq-r .texto { padding-right: 0; }
}

/* ─────────── Cierre ─────────── */
.cierre { padding: 0 var(--margen) var(--margen); }
.cierre-caja { position: relative; height: min(820px, 92vh); min-height: 560px; border-radius: var(--r-caja); overflow: hidden; background: var(--tinta); display: flex; align-items: flex-end; justify-content: center; }
.cierre-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; will-change: transform, clip-path; }
.cierre-degradado { position: absolute; inset: 0; background: linear-gradient(to top, rgb(37 4 11 / .95) 0%, rgb(37 4 11 / .86) 30%, rgb(37 4 11 / .62) 50%, rgb(37 4 11 / .16) 70%, rgb(37 4 11 / 0) 84%); }
.cierre-texto { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; color: #fff; padding: 0 var(--lado) clamp(40px, 5vw, 64px); max-width: 920px; }
.cierre-texto .titular-2 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.cierre-texto .entradilla { color: rgb(255 255 255 / .82); max-width: 34rem; }
.cierre-texto .btn { margin-top: 8px; height: 3.5rem; padding: 0 2rem; font-size: 1.0625rem; }
@media (max-width: 767px) {
  .cierre-caja { height: 640px; border-radius: 28px; }
  .cierre-foto { object-position: 42% 30%; }
  .cierre-texto .btn { width: 100%; }
}

/* ─────────── Pie ─────────── */
.pie { padding: 0 var(--margen) var(--margen); }
.pie-caja { position: relative; overflow: hidden; border-radius: var(--r-caja); background: var(--tinta); color: #fff; padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px) 32px; }
.pie-simbolo { position: absolute; right: -8%; top: -30%; width: min(560px, 60vw); height: auto; opacity: .045; pointer-events: none; }
.pie-arriba { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.pie-logo { height: 34px; width: auto; }
.pie-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.pie-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: rgb(255 255 255 / .78); transition: color .25s, background-color .25s; }
.pie-nav a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.pie-lema { position: relative; margin: clamp(72px, 10vw, 140px) 0 clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-size: clamp(3rem, 9.4vw, 9.5rem); max-width: 12ch; }
.pie-abajo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .875rem; color: rgb(255 255 255 / .6); }
.pie :focus-visible { outline-color: #fff; }
@media (max-width: 767px) {
  .pie-caja { border-radius: 28px; padding: 40px 20px 22px; }
  .pie-nav { margin: 0 -14px; }
  .pie-logo { height: 30px; }
}

/* ─────────── Estados iniciales (solo con JS listo) ─────────── */
.js [data-intro], .js [data-aparece] { opacity: 0; }
.js .portada-escena .flota, .js [data-tag] { opacity: 0; }
.js [data-ventana] { opacity: 0; }
.no-anim [data-intro], .no-anim [data-aparece], .no-anim .portada-escena .flota, .no-anim [data-tag], .no-anim [data-ventana] { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  .vaiven, .latido::after { animation: none !important; }
  .escena { position: relative; top: 0 !important; }
}
.js [data-lineas]:not(.partido) { visibility: hidden; }
.camino-nodo { fill: #fff; stroke: var(--t20); stroke-width: 2.5; transition: stroke .4s, fill .4s; }
.camino-nodo.is-hecho { fill: var(--rojo); stroke: var(--rojo); }
.pun { margin-left: -.1em; }


/* ═══════════════════════ Propuesta C · piezas nuevas ═══════════════════════ */

/* ─────────── Capturas reales del sistema (se amplían al pulsarlas) ─────────── */
.cap { position: relative; display: block; width: 100%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgb(37 4 11 / .07), var(--sombra-alta); cursor: zoom-in; text-align: left; transition: transform .5s var(--ease); }
.cap img { display: block; width: 100%; height: auto; }
.cap:hover { transform: translateY(-3px); }
.cap-barra { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: var(--t5); border-bottom: 1px solid var(--t10); }
.cap-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--t20); flex: none; }
.cap-barra b { margin: 0 auto; padding-right: 39px; font-weight: 600; font-size: 11.5px; color: var(--t70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-lupa { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tinta); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease); }
.cap-lupa .ico { width: 16px; height: 16px; }
.cap:hover .cap-lupa, .cap:focus-visible .cap-lupa { opacity: 1; transform: scale(1); }
@media (hover: none) { .cap-lupa { opacity: .92; transform: none; width: 32px; height: 32px; } }
.cap-rotulo { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--rojo); color: #fff; font-weight: 800; font-size: 12px; box-shadow: 0 8px 16px -8px rgb(208 18 58 / .7); }
.cap-falta { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 16px; background: repeating-linear-gradient(45deg, var(--t5), var(--t5) 12px, #fff 12px, #fff 24px); color: var(--t70); font-size: 13px; font-weight: 600; text-align: center; cursor: default; }
.cap-falta:hover { transform: none; }

/* ─────────── Encabezado: menú "Para tu negocio" ─────────── */
.cab-nav { align-items: center; }
.cab-desp { position: relative; }
.cab-desp-b { display: inline-flex; align-items: center; gap: 4px; padding: 9px 10px 9px 14px; border-radius: 999px; font-weight: 700; font-size: .9375rem; transition: background-color .25s, color .25s; }
.cab-desp-b .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cab-desp-b:hover, .cab-desp-b[aria-expanded="true"] { background: rgb(255 255 255 / .75); color: var(--cereza); }
.cab.is-compacta .cab-desp-b:hover, .cab.is-compacta .cab-desp-b[aria-expanded="true"] { background: var(--rubor); }
.cab-desp-b[aria-expanded="true"] .ico { transform: rotate(180deg); }
.cab-desp-menu { position: absolute; left: -8px; top: calc(100% + 12px); width: 372px; padding: 8px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--t10), var(--sombra-alta); display: flex; flex-direction: column; }
.cab-desp-menu[hidden] { display: none; }
.cab-nav .cab-desp-menu a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; color: var(--tinta); }
.cab-nav .cab-desp-menu a:hover { background: var(--rubor); color: var(--tinta); }
.cab-desp-menu i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--rubor); color: var(--cereza); transition: background-color .25s, color .25s; }
.cab-desp-menu a:hover i { background: var(--rojo); color: #fff; }
.cab-desp-menu b { display: block; font-weight: 800; font-size: .9375rem; line-height: 1.25; }
.cab-desp-menu small { display: block; font-weight: 500; font-size: .8125rem; color: var(--t70); line-height: 1.3; }
.menu-movil { max-height: calc(100dvh - var(--cab-alto) - 40px); overflow-y: auto; }
.menu-movil-t { padding: 12px 16px 4px; font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t40); }
.menu-movil a.es-sub { padding: 10px 16px 10px 28px; font-size: 1rem; }
@media (max-width: 1100px) { .cab-desp-b { padding: 9px 6px 9px 10px; font-size: .875rem; } }

/* ─────────── Primera pantalla: captura real con dos detalles ─────────── */
.portada { --w: min(1040px, 100vw - 2 * var(--lado) - 2 * var(--margen) - 220px); --sale: calc(var(--w) * .655 * .4); }
.portada-titular { margin-top: 0; font-size: clamp(2.375rem, 5vw, 4.5rem); max-width: 22ch; }
.portada-entradilla { max-width: 44rem; }
@media (max-width: 767px) { .br-ancho { display: none; } }
.portada-giros { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.portada-giros .pildora { height: 2.25rem; padding: 0 .875rem 0 .625rem; gap: .4rem; font-size: .8125rem; color: var(--tinta); background: rgb(255 255 255 / .72); box-shadow: inset 0 0 0 1px rgb(37 4 11 / .08); transition: background-color .25s, box-shadow .25s; }
.portada-giros .pildora .ico { width: 16px; height: 16px; color: var(--cereza); }
.portada-giros .pildora:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rojo); }
.portada-botones { margin-top: 28px; }
.portada-ventana .cap { border-radius: 18px; box-shadow: 0 0 0 1px rgb(37 4 11 / .06), 0 50px 100px -40px rgb(37 4 11 / .35), 0 20px 40px -24px rgb(208 18 58 / .25); }
.portada-ventana .cap:hover { transform: none; }
.flota .cap { box-shadow: 0 0 0 1px rgb(37 4 11 / .08), 0 30px 60px -28px rgb(37 4 11 / .5); }
.flota-agenda { left: -14%; top: 22%; width: 30%; }
.flota-reporte { right: -13%; top: 64%; width: 38%; }
@media (max-width: 1279px) {
  .portada { --w: min(1040px, 100vw - 2 * var(--lado) - 2 * var(--margen) - 150px); }
  .flota-agenda { left: -9%; width: 28%; }
  .flota-reporte { right: -9%; width: 36%; }
}
@media (max-width: 767px) {
  /* En celular, una pantalla a la vez: la captura y sus dos detalles pasan a una tira que se desliza */
  .portada { --sale: 0px; padding-bottom: 40px; }
  .portada-caja { padding-bottom: 28px; }
  .portada-titular { font-size: clamp(2.125rem, 9.6vw, 2.875rem); }
  .portada-giros { margin-top: 18px; }
  .portada-escena { width: auto; margin: 40px -20px 0; padding: 4px 20px 22px; display: flex; align-items: center; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .portada-escena::-webkit-scrollbar { display: none; }
  .portada-escena .portada-ventana, .portada-escena .flota { position: relative; left: auto; right: auto; top: auto; width: auto; flex: 0 0 88%; scroll-snap-align: center; transform: none !important; }
  .portada-escena .vaiven { animation: none; }
  .portada-ventana .cap, .flota .cap { border-radius: 14px; box-shadow: 0 0 0 1px rgb(37 4 11 / .08), 0 18px 30px -18px rgb(37 4 11 / .4); }
}

/* ─────────── Pestañas por tipo de negocio ─────────── */
.giros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.giro { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 7px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--t10); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.giro:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.giro[aria-selected="true"] { background: var(--tinta); color: #fff; box-shadow: none; }
.giro-foto { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; }
.giro-foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .giros { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(var(--lado) * -1) 20px; padding: 2px var(--lado); scrollbar-width: none; scroll-snap-type: x proximity; }
  .giros::-webkit-scrollbar { display: none; }
  .giro { height: 52px; padding: 0 18px 0 6px; font-size: .9375rem; scroll-snap-align: center; }
  .giro-foto { width: 40px; height: 40px; }
}

/* ─────────── 3 · Por tipo de negocio ─────────── */
.negocios { padding: var(--sec) 0 calc(var(--sec) * .55); }
.neg-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 48px 48px 56px; border-radius: var(--r-caja); background: var(--rubor); }
.neg-panel[hidden] { display: none; }
.neg-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.neg-mensaje { font-weight: 800; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(1.625rem, 2.6vw, 2.375rem); text-wrap: balance; }
.neg-lista { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.neg-lista li { display: inline-flex; align-items: center; gap: 6px; height: 2.25rem; padding: 0 .875rem 0 .625rem; border-radius: 999px; background: #fff; font-weight: 700; font-size: .875rem; }
.neg-lista .ico { width: 16px; height: 16px; color: var(--cereza); stroke-width: 2.5; }
.neg-texto .btn .ico { transition: transform .35s var(--ease); }
.neg-texto .btn:hover .ico { transform: translateX(3px); }
.neg-visual { position: relative; }
.neg-foto { width: 132px; aspect-ratio: 1; margin-bottom: 4px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #fff, 0 24px 44px -20px rgb(37 4 11 / .45); }
.neg-foto img { width: 100%; height: 100%; object-fit: cover; }
.neg-nota { margin-top: 28px; text-align: center; font-weight: 600; color: var(--t70); text-wrap: balance; }
.neg-nota a { display: inline-flex; align-items: center; gap: 6px; color: var(--cereza); font-weight: 800; }
.neg-nota a .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.neg-nota a:hover .ico { transform: translateX(3px); }
@media (max-width: 1023px) {
  .neg-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }
}
@media (max-width: 767px) {
  .neg-panel { padding: 24px 18px 20px; border-radius: 28px; gap: 26px; }
  .neg-texto .btn { width: 100%; white-space: normal; height: auto; min-height: 3.25rem; padding: .75rem 1rem; text-align: center; font-size: .9375rem; }
  .neg-texto .btn .ico { display: none; }
  .neg-foto { width: 96px; box-shadow: 0 0 0 4px #fff, 0 16px 30px -14px rgb(37 4 11 / .45); }
}

/* ─────────── 4 · Tareas del día ─────────── */
.tareas { padding: calc(var(--sec) * .55) 0; }
.tareas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tarea { display: flex; flex-direction: column; border-radius: var(--r-caja); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px var(--t10); }
.tarea-visual { position: relative; height: 280px; padding: 32px 32px 0; background: var(--rubor); overflow: hidden; }
.tarea-2 .tarea-visual, .tarea-3 .tarea-visual { background: var(--t5); }
.tarea-visual .cap { height: 100%; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgb(37 4 11 / .06), 0 30px 60px -30px rgb(37 4 11 / .4); }
.tarea-visual .cap img { height: 100%; object-fit: cover; object-position: 0 0; }
.tarea-visual .cap:hover { transform: none; }
.tarea-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 32px 32px; }
.tarea-situacion { font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-size: clamp(1.375rem, 2vw, 1.75rem); text-wrap: balance; }
.tarea-enlace { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cereza); }
.tarea-enlace .ico { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.tarea-enlace:hover .ico { transform: translateX(4px); }
.mini-chat { display: flex; flex-direction: column; gap: 8px; max-width: 380px; margin: 0 auto; }
.mc { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: .9375rem; font-weight: 500; line-height: 1.35; box-shadow: 0 8px 18px -12px rgb(37 4 11 / .35); }
.mc-cli { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; }
.mc-bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.mc-ok { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 7px 14px 7px 10px; background: var(--rojo); color: #fff; font-weight: 800; font-size: .8125rem; border-radius: 999px; box-shadow: 0 10px 20px -10px rgb(255 46 85 / .8); }
.mc-ok .ico { width: 16px; height: 16px; stroke-width: 2.5; }
@media (max-width: 767px) {
  .tareas-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tarea { border-radius: 28px; }
  .tarea-visual { height: 232px; padding: 20px 20px 0; }
  .tarea-texto { padding: 22px 22px 26px; }
}

/* ─────────── 5 · Chatbot ─────────── */
.chatbot { padding: calc(var(--sec) * .45) var(--margen); }
.chat-caja { position: relative; overflow: hidden; border-radius: var(--r-caja); background: var(--tinta); color: #fff; padding: clamp(64px, 8vw, 120px) 0; }
.chat-simbolo { position: absolute; left: -12%; bottom: -40%; width: min(640px, 60vw); height: auto; opacity: .05; pointer-events: none; }
.chat-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.chat-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.chat-texto .etiqueta { color: #FF8FA5; }
.chat-texto .entradilla { color: rgb(255 255 255 / .78); }
.chat-puntos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 4px 0 8px; }
.chat-puntos li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.chat-puntos i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: #fff; }
.chat-puntos .ico { width: 18px; height: 18px; }
.chat-puntos span { font-size: .9375rem; line-height: 1.45; color: rgb(255 255 255 / .7); }
.chat-puntos b { display: block; color: #fff; font-weight: 700; }
.chat-caja :focus-visible { outline-color: #fff; }
.chat-demo { display: flex; align-items: flex-end; justify-content: center; }
.chat-tel { flex: 0 1 360px; min-width: 0; border-radius: 28px; background: #fff; color: var(--tinta); box-shadow: 0 50px 90px -40px rgb(0 0 0 / .7); overflow: hidden; }
.chat-tel-cab { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--t10); }
.chat-tel-cab img { width: 40px; height: 40px; flex: none; }
.chat-tel-cab b { display: block; font-weight: 800; font-size: .9375rem; line-height: 1.2; }
.chat-tel-cab span { font-size: .75rem; color: var(--t70); font-weight: 600; }
.chat-hilo { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 24px; background: var(--t5); min-height: 392px; }
.burbuja { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .9375rem; line-height: 1.4; font-weight: 500; }
.burbuja.es-cli { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; }
.burbuja.es-bot { align-self: flex-start; background: #fff; box-shadow: 0 0 0 1px var(--t10); border-bottom-left-radius: 6px; }
.chat-cita { position: relative; z-index: 2; flex: 0 1 300px; min-width: 0; margin: 0 0 36px 16px; }
.chat-cita-t { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; margin: 0 0 -12px 16px; border-radius: 999px; background: var(--rojo); color: #fff; font-weight: 800; font-size: .8125rem; box-shadow: 0 10px 20px -10px rgb(255 46 85 / .8); }
.chat-cita-t .ico { width: 16px; height: 16px; }
.chat-cita .cap { box-shadow: 0 0 0 1px rgb(37 4 11 / .08), 0 40px 80px -30px rgb(0 0 0 / .8); }
@media (max-width: 1100px) {
  .chat-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 767px) {
  .chat-caja { border-radius: 28px; padding: 56px 0 48px; }
  .chat-puntos { grid-template-columns: minmax(0, 1fr); }
  .chat-texto .btn { width: 100%; }
  .chat-demo { flex-direction: column; align-items: center; }
  .chat-tel { flex: none; width: 100%; max-width: 380px; }
  .chat-hilo { min-height: 0; }
  .chat-cita { flex: none; width: min(300px, 84%); margin: -22px 0 0 auto; }
}

/* ─────────── 6 · Recorrido por negocio ─────────── */
.recorrido { padding: calc(var(--sec) * .75) 0 calc(var(--sec) * .6); }
.rec-panel[hidden] { display: none; }
.rec-pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rec-paso { display: flex; flex-direction: column; gap: 10px; padding: 32px 32px 0; border-radius: var(--r-caja); background: #fff; box-shadow: inset 0 0 0 1.5px var(--t10); overflow: hidden; }
.rec-paso:nth-child(2) { background: var(--rubor); box-shadow: none; }
.rec-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; background: var(--rojo); color: #fff; font-weight: 800; font-size: 1.125rem; }
.rec-titulo { font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-size: clamp(1.25rem, 1.7vw, 1.5rem); text-wrap: balance; }
.rec-visual { margin-top: auto; padding-top: 20px; height: 340px; display: flex; align-items: flex-end; }
.rec-visual .cap.es-ancha { height: auto; }
.rec-visual .cap.es-ancha img { height: auto; }
.rec-visual .cap { height: 100%; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgb(37 4 11 / .07), 0 30px 60px -30px rgb(37 4 11 / .4); }
.rec-visual .cap img { height: 100%; object-fit: cover; object-position: 0 0; }
.rec-visual .cap:hover { transform: none; }
.rec-cta { margin-top: 36px; display: flex; justify-content: center; }
@media (max-width: 1023px) {
  /* Una pantalla a la vez: los tres pasos se deslizan */
  .rec-pasos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--lado) * -1); padding: 0 var(--lado) 8px; scrollbar-width: none; }
  .rec-pasos::-webkit-scrollbar { display: none; }
  .rec-paso { scroll-snap-align: center; padding: 26px 24px 0; }
}
@media (max-width: 767px) {
  .rec-paso { border-radius: 28px; }
  .rec-visual { height: 300px; }
  .rec-cta .btn { width: 100%; }
}

/* ─────────── 7 · Funciones: la pieza del escenario es una captura ─────────── */
.func-pieza { position: relative; z-index: 1; width: 84%; }
.func-pieza .cap { box-shadow: 0 0 0 1px rgb(37 4 11 / .05), 0 40px 80px -36px rgb(37 4 11 / .45); max-height: 520px; }
.func-pieza .cap img { max-height: 520px; object-fit: cover; object-position: 0 0; }
.func-escenario { min-height: 480px; }
@media (max-width: 1023px) { .func-escenario { aspect-ratio: auto; height: 420px; } }
@media (max-width: 767px) { .func-escenario { height: 320px; } .func-pieza { width: 88%; } }

/* ─────────── 8 · Reportes ─────────── */
.reportes { padding: calc(var(--sec) * .4) 0 var(--sec); }
.rep-arriba { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; margin-bottom: 56px; }
.rep-arriba .sec-cab { margin-bottom: 0; align-items: flex-start; }
.rep-arriba .btn { margin-top: 6px; }
.rep-arriba .btn .ico { transition: transform .35s var(--ease); }
.rep-arriba .btn:hover .ico { transform: translateX(3px); }
.rep-visual { padding: 28px; border-radius: var(--r-caja); background: var(--rubor); }
.rep-pregunta { margin: 4px 4px 18px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-size: clamp(1.25rem, 2vw, 1.75rem); text-wrap: balance; }
.rep-preguntas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--t10); }
.rep-p { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--t10); }
.rep-p h3 { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.rep-p p { margin-top: 8px; font-size: .9375rem; color: var(--t70); line-height: 1.5; }
@media (max-width: 1023px) {
  .rep-arriba { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rep-preguntas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rep-visual { padding: 18px; border-radius: 28px; }
  .rep-preguntas { grid-template-columns: minmax(0, 1fr); }
  .rep-p { padding: 20px 0 22px; }
  .rep-arriba .btn { width: 100%; }
}

/* ─────────── 9 · Fidelidad y comunicación ─────────── */
.fidelidad { padding: 0 var(--margen); }
.fid-caja { border-radius: var(--r-caja); background: var(--rubor); padding: var(--sec) 0; }
.fid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fid { display: flex; flex-direction: column; gap: 8px; padding-bottom: 30px; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: var(--sombra); }
.fid-visual { height: 244px; padding: 24px 24px 0; margin-bottom: 14px; background: var(--t5); overflow: hidden; }
.fid-visual .cap { height: 100%; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px rgb(37 4 11 / .07), 0 24px 50px -28px rgb(37 4 11 / .4); }
.fid-visual .cap img { height: 100%; object-fit: cover; object-position: 0 0; }
.fid-visual .cap:hover { transform: none; }
.fid-titulo { padding: 0 28px; font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.2; }
.fid .texto { padding: 0 28px; }
.fid-nota { display: flex; gap: 10px; align-items: flex-start; max-width: 740px; margin: 36px auto 0; font-size: .9375rem; font-weight: 500; line-height: 1.5; color: #8a2238; }
.fid-nota .ico { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--cereza); }
@media (max-width: 1023px) { .fid-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
@media (max-width: 767px) { .fid-caja { border-radius: 28px; } .fid-visual { height: 212px; padding: 18px 18px 0; } .fid-titulo, .fid .texto { padding: 0 22px; } }

/* ─────────── 10 · Ejemplos por giro ─────────── */
.casos { padding: var(--sec) 0 calc(var(--sec) * .6); }
.casos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.caso { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px var(--t10); }
.caso-foto { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.caso-foto img { width: 100%; height: 100%; object-fit: cover; }
.caso-foto .pildora { position: absolute; left: 14px; top: 14px; }
.caso-texto { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 30px; }
.caso dl { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.caso dt { margin-top: 12px; font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t40); }
.caso dt:first-child { margin-top: 0; }
.caso dd { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 500; }
@media (max-width: 1023px) { .casos-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ─────────── 11 · Cómo empezar ─────────── */
.empezar { padding: calc(var(--sec) * .6) 0 var(--sec); }
.emp-pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.emp-paso { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 28px; background: var(--t5); }
.emp-num { margin-bottom: 14px; font-weight: 800; font-size: clamp(3.5rem, 6vw, 5.5rem); letter-spacing: -.06em; line-height: .85; color: var(--rojo); }
.emp-titulo { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; }
.emp-ayuda { margin-top: 20px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 28px; border-radius: 28px; background: var(--rubor); }
.emp-ayuda i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--rojo); color: #fff; }
.emp-ayuda p { font-size: 1rem; line-height: 1.5; color: #6b1a2c; }
.emp-ayuda b { color: var(--tinta); }
@media (max-width: 1023px) {
  .emp-pasos { grid-template-columns: minmax(0, 1fr); }
  .emp-paso { padding: 26px; }
  .emp-ayuda { grid-template-columns: 48px minmax(0, 1fr); }
  .emp-ayuda .btn { grid-column: 1 / -1; }
}

/* ─────────── 12 · Planes: comparación ─────────── */
.planes-caja > .contenedor { position: relative; }
.comp-marco { max-width: 1160px; margin: 28px auto 0; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgb(37 4 11 / .05), var(--sombra); overflow-x: auto; }
.comp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9375rem; }
.comp th, .comp td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--t10); line-height: 1.4; }
.comp thead th { font-weight: 800; font-size: 1rem; letter-spacing: -.02em; background: var(--t5); border-bottom: 0; }
.comp thead th:nth-child(3) { color: var(--cereza); }
.comp tbody th { width: 17%; font-weight: 800; white-space: nowrap; }
.comp td { width: 27.6%; color: var(--t70); }
.comp tbody tr:last-child th, .comp tbody tr:last-child td { border-bottom: 0; }
.planes-nota { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: .9375rem; font-weight: 500; line-height: 1.5; color: #8a2238; text-wrap: balance; }

/* ─────────── 14 · Cierre con dos botones ─────────── */
.cierre-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 767px) { .cierre-botones { width: 100%; flex-direction: column; } }

/* ─────────── Visor de capturas ─────────── */
.visor { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgb(37 4 11 / .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.visor[hidden] { display: none; }
.visor-lienzo { min-height: 0; overflow: auto; display: grid; place-items: center; padding: 72px 24px 8px; overscroll-behavior: contain; }
.visor-lienzo img { max-width: 100%; max-height: calc(100dvh - 168px); width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 40px 100px -30px #000; cursor: zoom-in; }
.visor.is-zoom .visor-lienzo { place-items: start center; }
.visor.is-zoom .visor-lienzo img { max-width: none; max-height: none; cursor: zoom-out; }
.visor-pie { padding: 10px 72px 22px; text-align: center; color: rgb(255 255 255 / .82); font-size: .9375rem; font-weight: 500; text-wrap: balance; }
.visor-x, .visor-nav { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); color: #fff; transition: background-color .25s; }
.visor-x:hover, .visor-nav:hover { background: rgb(255 255 255 / .28); }
.visor-x { right: 16px; top: 16px; }
.visor-nav { top: 50%; margin-top: -22px; }
.visor-ant { left: 16px; }
.visor-ant .ico { transform: rotate(180deg); }
.visor-sig { right: 16px; }
.visor-nav[hidden] { display: none; }
.visor :focus-visible { outline-color: #fff; }
@media (max-width: 767px) {
  .visor-lienzo { padding: 68px 10px 4px; }
  .visor-pie { padding: 8px 20px 18px; font-size: .875rem; }
  .visor-nav { top: auto; bottom: 72px; margin: 0; }
}

/* ─────────── Estados iniciales de las piezas nuevas ─────────── */
.js [data-burbuja], .js [data-chat-cita] { opacity: 0; }
.no-anim [data-burbuja], .no-anim [data-chat-cita] { opacity: 1 !important; }
