/* Chatbot IA · sistema visual "Curvas" (solo página de inicio, por ahora)
   · Base blanca, interfaz en tinta azulada (Geist liviana, titulares grandes a la izquierda)
   · Secciones que alternan: blanco → celeste pálido → cian vivo
   · La marca vive en los FONDOS: degradado celeste/cian/azul + grano + patrón de curvas geométricas
     (ondas, rejilla deformada, cintas). Sin círculos ni orbes: todo rectángulo redondeado.
   · Texto sobre color: solo sobre las zonas profundas del degradado (contraste ≥ 4.5:1). */

@import url("curvas-base.css");


/* ---------- héroe ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(40px, 6.1vw, 88px); line-height: 1.01; letter-spacing: -.05em; max-width: 24ch; text-wrap: balance; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--t2); max-width: 46ch; text-wrap: pretty; }
.lead b { color: var(--ink); font-weight: 400; }
.hero-act { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--t2); list-style: none; padding: 0; }
.meta li { display: inline-flex; align-items: center; gap: 7px; } .meta .i { width: 16px; height: 16px; color: var(--sky); stroke-width: 2.2; }

/* escenario: la conversación se convierte en un turno de la agenda */
.stage { margin-top: clamp(36px, 5vw, 64px); border-radius: 28px; min-height: clamp(520px, 50vw, 620px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 56px); }
.chatcard { justify-self: end; width: min(100%, 480px); padding: 16px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 40px 70px -34px rgba(3,40,56,.7); }
.ch-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.ch-head .ico { width: 38px; height: 38px; border-radius: 10px; } .ch-head .ico img { width: 22px; filter: brightness(0) invert(1); }
.ch-head b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; } .ch-head small { font-size: 12.5px; color: var(--ok); font-weight: 500; }
.chat { display: grid; gap: 10px; padding: 16px 2px 4px; min-height: 340px; align-content: start; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(12px); animation: sube 520ms var(--out) forwards; }
.msg.in { justify-self: start; background: var(--ice-2); border-bottom-left-radius: 4px; }
.msg.out { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg .slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .slots span { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-variant-numeric: tabular-nums; }
.m1 { animation-delay: 1500ms; } .m2 { animation-delay: 2400ms; } .m3 { animation-delay: 3500ms; } .m4 { animation-delay: 4500ms; }
@keyframes sube { to { opacity: 1; transform: none; } }
.agenda { justify-self: start; position: relative; width: min(100%, 560px); padding: clamp(14px, 2vw, 20px); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 40px 70px -34px rgba(3,40,56,.7); }
.ag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .ag-top b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 6px; background: var(--ice-2); color: var(--t2); }
.mini { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.mini .h { padding: 7px 4px; text-align: center; font-size: 12px; font-weight: 500; color: var(--t2); background: var(--ice); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); } .mini .h:first-child { border-left: 0; }
.mini .t { font-size: 11px; color: var(--t3); padding: 6px 6px 0 0; text-align: right; height: 64px; font-variant-numeric: tabular-nums; }
.mini .c { position: relative; height: 64px; border-left: 1px solid var(--line); border-top: 1px solid #edf3f6; }
.ev { position: absolute; z-index: 2; left: 3px; right: 3px; top: 4px; bottom: 4px; border-radius: 10px; padding: 4px 6px; font-size: 11px; line-height: 1.25; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 38%, white); background: color-mix(in srgb, var(--c) 20%, white); }
.ev b { display: block; font-weight: 500; } .ev span { color: var(--t2); white-space: nowrap; }
.ev.nuevo { --c: #1fb5a0; background: linear-gradient(140deg, #0a8466, #0b7f96); color: #fff; border-color: rgba(255,255,255,.5); opacity: 0; transform: scale(.94); animation: entra 600ms var(--out) 5200ms forwards; box-shadow: 0 10px 24px -8px rgba(14,143,166,.6); } .ev.nuevo span { color: rgba(255,255,255,.88); }
@keyframes entra { to { opacity: 1; transform: none; } }
.toast { position: absolute; right: -14px; top: -18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13.5px; box-shadow: 0 20px 40px -18px rgba(3,40,56,.8); opacity: 0; transform: translateY(8px); animation: sube 520ms var(--out) 5600ms forwards; }
.toast .ico { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, #56d28a, #18b093); } .toast .ico .i { width: 17px; height: 17px; stroke-width: 2.2; } .toast b { display: block; font-weight: 500; line-height: 1.2; } .toast small { color: rgba(255,255,255,.75); }

/* entrada del héroe: titular palabra por palabra, luego texto, botones y escenario */
.js .hero h1.split .wi { display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(6px); animation: asoma 760ms var(--out) forwards; animation-delay: calc(var(--n) * 55ms + 80ms); }
@keyframes asoma { to { opacity: 1; transform: none; filter: none; } }
.js .hero .lead, .js .hero .hero-act { opacity: 0; transform: translateY(14px); animation: sube 700ms var(--out) forwards; }
.js .hero .lead { animation-delay: 620ms; } .js .hero .hero-act { animation-delay: 760ms; }
.js .hero .stage { opacity: 0; transform: translateY(32px) scale(.985); animation: sube 900ms var(--out) 900ms forwards; }
.agenda .toast { animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .hero h1.split .wi, .js .hero .lead, .js .hero .hero-act, .js .hero .stage { opacity: 1; transform: none; filter: none; animation: none; }
  .stage.bg-vivid::before { animation: none; }
}

/* ---------- secciones ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec.tight { padding-block: clamp(48px, 6vw, 80px); }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { font-size: var(--h2); line-height: 1.03; letter-spacing: -.048em; max-width: 18ch; text-wrap: balance; }
.head p { color: var(--t2); font-size: clamp(16px, 1.6vw, 18.5px); max-width: 42ch; text-wrap: pretty; }
.head p b { color: var(--ink); font-weight: 400; }
.on-color .head h2 { color: #fff; } .on-color .head p { color: rgba(255,255,255,.92); } .on-color .head p b { color: #fff; }
.rv { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--out), transform 700ms var(--out); transition-delay: var(--d, 0ms); }
.rv.on { opacity: 1; transform: none; }

/* demo: probalo con tu rubro */
.demo { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.demo h2 { font-size: clamp(32px, 4.8vw, 62px); line-height: 1.03; letter-spacing: -.048em; max-width: 13ch; text-wrap: balance; }
.demo .lead { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: 400 15px var(--sans); letter-spacing: -.01em; color: var(--ink); cursor: pointer; transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--out); }
.chip .i { width: 18px; height: 18px; stroke: url(#gMarca); transition: stroke 160ms ease; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); } .chip[aria-pressed="true"] .i { stroke: #fff; }
@media (hover: hover) and (pointer: fine) { .chip:hover:not([aria-pressed="true"]) { border-color: var(--ink); } }
.demo-panel { position: relative; border-radius: 28px; padding: clamp(20px, 4vw, 52px); display: grid; place-items: center; min-height: 540px; }
.demo-panel .chatcard { justify-self: center; width: min(100%, 400px); }
.chat.live { min-height: 400px; transition: opacity 160ms ease, filter 160ms ease; } .chat.live.swap { opacity: 0; filter: blur(2px); }
.typing { justify-self: start; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 14px; border-bottom-left-radius: 4px; background: var(--ice-2); }
.typing.out { justify-self: end; background: var(--ink); border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 2px; background: #6f95a4; animation: punto 900ms ease-in-out infinite; } .typing.out i { background: #9fc3d0; }
.typing i:nth-child(2) { animation-delay: 120ms; } .typing i:nth-child(3) { animation-delay: 240ms; }
.demo-note { margin-top: 14px; font-size: 13px; color: var(--t2); }

/* un día de tu negocio */
.day { position: relative; }
.day-line { position: relative; height: 100px; }
.day-line svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.day-line path { fill: none; stroke: url(#gMarca2); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2400ms var(--inout); }
.day.on .day-line path { stroke-dashoffset: 0; }
.node { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 6px; background: #fff; border: 2px solid var(--sky); transform: scale(.6); opacity: 0; transition: transform 400ms var(--out), opacity 300ms ease, background 700ms ease, border-color 700ms ease; transition-delay: calc(var(--i) * 360ms + 300ms); }
.day.done .node { transition-delay: 0s; }
.day-line path.pn { stroke: #8cf5cf; stroke-width: 2.2; opacity: 0; transition: stroke-dashoffset 2400ms var(--inout), opacity 800ms ease; filter: drop-shadow(0 0 4px rgba(140,245,207,.55)); }
#dia[data-fase="3"] .day-line path.pn { opacity: 1; }
.node { box-shadow: 0 0 0 0 rgba(140,245,207,0); transition: transform 400ms var(--out), opacity 300ms ease, background 700ms ease, border-color 700ms ease, box-shadow 700ms ease; transition-delay: calc(var(--i) * 360ms + 300ms); }
#dia[data-fase="3"] .node { background: #06302f; border-color: #8cf5cf; box-shadow: 0 0 0 4px rgba(140,245,207,.16); }
#dia[data-fase="3"] .node[style*="--i:3"] { background: #8cf5cf; border-color: #fff; box-shadow: 0 0 0 5px rgba(140,245,207,.3), 0 0 18px rgba(140,245,207,.65); }
.day.on .node { transform: none; opacity: 1; }
.moments { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mom { display: flex; flex-direction: column; gap: 10px; min-height: 290px; padding: 22px 20px; border-radius: 20px; background: var(--ice); opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--out), transform 600ms var(--out); transition-delay: calc(var(--i) * 360ms + 500ms); }
.day.on .mom { opacity: 1; transform: none; }
.mom time { font-size: 36px; font-weight: 300; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.mom h3 { font-size: 18px; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; margin-top: 8px; }
.mom p { color: var(--t2); font-size: 14.5px; }
.mom .tag { margin-top: auto; align-self: flex-start; background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(8,32,42,.06); }
.mom.now { background: linear-gradient(160deg, var(--deep), #0b6385); color: #fff; } .mom.now h3, .mom.now time { color: #fff; } .mom.now p { color: rgba(255,255,255,.92); }

/* explorador de funciones */
.xp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.xp-list { display: grid; gap: clamp(64px, 11vw, 150px); padding-block: 6vh 14vh; }
.xp-g { opacity: 1; }
.xp-g h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.048em; margin-bottom: 26px; max-width: 14ch; text-wrap: balance; }
.xp-g ul { list-style: none; padding: 0; display: grid; gap: 22px; }
.xp-g li b { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.xp-g li b .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; } .xp-g li b .ico .i { width: 18px; height: 18px; }
.xp-g li > span { display: block; color: #2a4550; font-size: 16.5px; margin: 6px 0 0 46px; max-width: 46ch; text-wrap: pretty; }
.xp-vis { position: sticky; top: 96px; height: min(640px, calc(100vh - 128px)); border-radius: 28px; }
.xp-ui { display: grid; place-items: center; padding: 28px; }
.xp-vis .xp-ui { position: absolute; inset: 0; opacity: 0; transform: translateY(10px) scale(.985); filter: blur(3px); transition: opacity 260ms var(--out), transform 260ms var(--out), filter 260ms var(--out); pointer-events: none; }
.xp-vis .xp-ui.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.ucard { width: min(100%, 420px); padding: 18px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 40px 70px -34px rgba(3,40,56,.7); display: grid; gap: 10px; }
.ucard .ut { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 500; letter-spacing: -.01em; padding-bottom: 6px; } .ucard .ut small { font-weight: 400; color: var(--t3); font-size: 12.5px; }
.bub { max-width: 90%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(10px); }
.bub.in { justify-self: start; background: var(--ice-2); border-bottom-left-radius: 4px; } .bub.bot { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bub.own { justify-self: start; background: #e3f6ee; border-bottom-left-radius: 4px; } .bub.own small { display: block; font-size: 11.5px; color: var(--ok); font-weight: 500; margin-bottom: 2px; }
.xp-ui.on .bub, .xp-g .bub { animation: sube 480ms var(--out) forwards; animation-delay: calc(var(--k, 0) * 380ms + 120ms); }
.xp-vis .xp-ui:not(.on) .bub { animation: none; opacity: 0; }
.step-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--ice); font-size: 14.5px; } .step-row i { font-style: normal; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); } .step-row b { margin-left: auto; font-weight: 500; }
.slotrow { display: flex; gap: 8px; flex-wrap: wrap; } .slotrow span { padding: 7px 12px; border-radius: 10px; background: var(--ice); font-size: 13.5px; font-variant-numeric: tabular-nums; } .slotrow span.sel { color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); }
.rules { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line); margin-top: 4px; } .rules span { font-size: 12.5px; padding: 4px 9px; border-radius: 6px; background: var(--ice-2); color: var(--t2); }
.staff { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--ice); font-size: 14.5px; } .staff i { width: 10px; height: 28px; border-radius: 4px; background: var(--c); } .staff small { color: var(--t3); display: block; font-size: 12.5px; } .staff b { font-weight: 500; }
.seg2 { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--ice-2); font-size: 12.5px; font-weight: 400; } .seg2 span { padding: 4px 10px; border-radius: 6px; color: var(--t2); } .seg2 span.on { background: var(--ink); color: #fff; }
.u-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .u-kpis div { padding: 10px 12px; border-radius: 10px; background: var(--ice); font-size: 12.5px; color: var(--t2); } .u-kpis b { display: block; font-size: 26px; font-weight: 300; letter-spacing: -.04em; color: var(--ink); }
.sent-note { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #e3f6ee; color: #0b5c3e; font-size: 13.5px; }
.sent-note .i { width: 16px; height: 16px; stroke-width: 2.2; }

/* tablero (sección vívida) */
.board { padding: clamp(14px, 2.4vw, 26px); border-radius: 28px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 50px 90px -40px rgba(2,30,44,.75); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .board-top b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--ice-2); font-size: 13px; } .seg span { padding: 6px 14px; border-radius: 10px; color: var(--t2); } .seg span.on { background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 14px 16px; border-radius: 14px; background: var(--ice); } .kpi small { font-size: 12.5px; color: var(--t2); } .kpi b { display: block; font-size: 30px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.week { display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.week .h { padding: 8px 6px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--t2); background: var(--ice); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); } .week .h:first-child { border-left: 0; }
.week .t { font-size: 11px; color: var(--t3); padding: 6px 8px 0 0; text-align: right; height: 46px; font-variant-numeric: tabular-nums; }
.week .c { position: relative; height: 46px; border-left: 1px solid var(--line); border-top: 1px solid #edf3f6; }
.week .ev { top: auto; bottom: auto; left: 4px; right: 4px; border-radius: 10px; padding: 3px 7px; z-index: 2; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 52%, white), color-mix(in srgb, var(--c) 34%, white)); border-color: color-mix(in srgb, var(--c) 75%, white); box-shadow: 0 6px 14px -9px color-mix(in srgb, var(--c) 85%, transparent); }.js .board .ev { opacity: 0; transform: scale(.95); transition: opacity 420ms var(--out), transform 420ms var(--out); }
.js .board.go .ev { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .board .ev { opacity: 1; transform: none; transition: none; } }

/* cómo funciona: tres pasos, cada uno con su escena animada */
.pasos { display: grid; gap: 30px; }
.paso { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(12px, 1.6vw, 18px); border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(8,32,42,.04), 0 40px 70px -48px rgba(10,106,90,.55); }
.paso:not(:last-child)::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 30px; margin-left: -1px; background: linear-gradient(#22c98f, #0e93a8); opacity: .8; }
.paso:nth-child(even) .paso-t { order: 2; }
.paso-t { padding: clamp(10px, 2.4vw, 36px); }
.paso-t .n { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-size: 21px; font-weight: 500; color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); box-shadow: 0 14px 24px -14px rgba(10,132,102,.8); }
.paso-t h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -.045em; margin: 26px 0 12px; max-width: 14ch; }
.paso-t p { color: var(--t2); font-size: 16.5px; max-width: 40ch; }
.paso-v { border-radius: 20px; min-height: 360px; display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); }
.pv { width: min(100%, 410px); }
.pv-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .pv-h b { font-weight: 500; letter-spacing: -.01em; } .pv-h small { color: var(--t3); font-size: 12.5px; }
.pv-bar { height: 6px; border-radius: 3px; background: var(--ice-2); overflow: hidden; } .pv-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #22c98f, #0e93a8); transition: width 2400ms var(--inout) 300ms; }
.paso.go .pv-bar i { width: 100%; }
.pv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.pv-list li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--ice); }
.pv-list .ck { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 10px; display: grid; place-items: center; background: var(--ice-2); color: transparent; transition: background 300ms ease, color 300ms ease, transform 300ms var(--out); transition-delay: calc(var(--k) * 420ms + 500ms); }
.pv-list .ck .i { width: 15px; height: 15px; stroke-width: 2.6; }
.paso.go .pv-list .ck { background: linear-gradient(140deg, #22c98f, #0e93a8); color: #fff; }
.pv-list b { font-weight: 500; font-size: 14.5px; } .pv-list small { color: var(--t2); font-size: 12.5px; grid-column: 2; }
.pv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ice); }
.pv-row .fb { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; } .pv-row .fb .i { width: 18px; height: 18px; stroke: url(#gMarca); }
.est { display: inline-grid; } .est i { grid-area: 1 / 1; font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 6px; white-space: nowrap; justify-self: end; }
.est .e0 { background: var(--ice-2); color: var(--t2); } .est .e1 { background: #dcf5ea; color: #0b5c3e; opacity: 0; transform: scale(.9); }
.paso.go .est .e0 { opacity: 0; transition: opacity 300ms ease 1400ms; } .paso.go .est .e1 { opacity: 1; transform: none; transition: opacity 400ms ease 1500ms, transform 400ms var(--out) 1500ms; }
.pv-num { font-size: 13px; color: var(--t2); padding-left: 2px; font-variant-numeric: tabular-nums; }
.pb { max-width: 90%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(8px); }
.pb.in { justify-self: start; background: var(--ice-2); border-bottom-left-radius: 4px; } .pb.bot { justify-self: end; color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); border-bottom-right-radius: 4px; }
.paso.go .pb { animation: sube 480ms var(--out) forwards; animation-delay: calc(var(--k) * 600ms + 2200ms); }
.pv-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ice); font-size: 14px; } .pv-link span { color: var(--t2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-link em { font-style: normal; font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 10px; background: var(--ink); color: #fff; flex: none; }
.pv-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; } .pv-cal span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 11.5px; background: var(--ice); color: var(--t2); font-variant-numeric: tabular-nums; transition: background 300ms ease, color 300ms ease, transform 300ms var(--out); transition-delay: calc(var(--k) * 130ms + 600ms); }
.paso.go .pv-cal .l { background: linear-gradient(140deg, #22c98f, #0e93a8); color: #fff; }
.pv-k { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pv-k div { padding: 10px 12px; border-radius: 14px; background: var(--ice); font-size: 12.5px; color: var(--t2); } .pv-k b { display: block; font-size: 26px; font-weight: 300; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.paso-v { transition: transform 450ms var(--out); }
@media (hover: hover) and (pointer: fine) { .paso:hover .paso-v { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .pv-bar i { width: 100%; transition: none; } .pb { opacity: 1; transform: none; animation: none !important; } .est .e0 { opacity: 0; } .est .e1 { opacity: 1; transform: none; } .pv-list .ck, .pv-cal .l { transition: none; } }

/* planes (sección celeste) */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 940px; margin-inline: auto; }
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(10,106,130,.5); }
.plan h3 { font-size: 26px; font-weight: 300; } .plan .desc { color: var(--t2); font-size: 15px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 30px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); } .price b { font-size: 68px; font-weight: 300; letter-spacing: -.06em; line-height: 1; } .price span { color: var(--t2); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 13px; align-content: start; margin-bottom: 32px; flex: 1; } .plan li { display: flex; gap: 10px; font-size: 15.5px; } .plan li .i { width: 18px; height: 18px; margin-top: 3px; stroke: url(#gMarca); stroke-width: 2.2; }
.plan .btn-primary, .plan .btn-secondary { width: 100%; }
.plan.pro { color: #fff; box-shadow: 0 40px 70px -36px rgba(8,90,150,.8); }
.plan.pro h3, .plan.pro .price b { color: #fff; } .plan.pro .desc, .plan.pro .price span { color: rgba(255,255,255,.9); } .plan.pro .price { border-color: rgba(255,255,255,.3); } .plan.pro li .i { stroke: #fff; }
.plan .badge { position: absolute; top: 24px; right: 24px; font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 10px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5); }

/* preguntas */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 80px); align-items: start; }
.faq-grid h2 { font-size: var(--h2); line-height: 1.04; letter-spacing: -.048em; max-width: 12ch; text-wrap: balance; }
.faq-grid > div:first-child p { color: var(--t2); margin-top: 18px; max-width: 34ch; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 19px; letter-spacing: -.02em; transition: color 150ms ease; }
.faq summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq summary:hover { color: var(--deep); } }
.faq summary .i { color: var(--sky); transition: transform 300ms var(--out); } .faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--t2); font-size: 16px; max-width: 60ch; }

/* llamado final */
.final { border-radius: 28px; min-height: clamp(400px, 46vw, 540px); display: grid; place-content: center; text-align: center; padding: clamp(40px, 6vw, 88px) 24px; }
.final h2 { color: #fff; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.01; letter-spacing: -.05em; max-width: 14ch; margin-inline: auto; text-wrap: balance; }
.final p { color: rgba(255,255,255,.94); margin: 20px auto 0; max-width: 46ch; font-size: clamp(16px, 1.6vw, 19px); }
.final .ctas { justify-content: center; margin-top: 32px; }

/* contacto */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; align-items: start; }
.panel { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r); background: var(--ice); }
.panel.white { background: #fff; border: 1px solid var(--line); }
.contact-info h3 { font-size: var(--h3-l); margin-bottom: 10px; line-height: 1.15; } .contact-info > p { color: var(--t2); font-size: 16px; }
.ways { display: grid; gap: 10px; margin-top: 30px; }
.way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; text-decoration: none; transition: transform 200ms var(--out); }
@media (hover: hover) { a.way:hover { transform: translateY(-2px); } }
.way b { display: block; font-size: 15px; font-weight: 500; } .way small { color: var(--t2); font-size: 14px; }
.form { display: grid; gap: 16px; } .form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; } .form label span { color: var(--t3); font-weight: 400; }
.field { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 15.5px var(--sans); color: var(--ink); background: var(--ice); border: 1px solid transparent; border-radius: 14px; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.field::placeholder { color: #86a0ab; }
.field:hover { border-color: var(--line-2); }
.field:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(34,201,143,.22); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233d5762' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea.field { min-height: 130px; resize: vertical; }
.form .err { display: none; font-size: 13px; color: var(--bad); margin-top: 6px; } .form .bad .err { display: block; } .form .bad .field { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; } .form-foot small { color: var(--t3); font-size: 13.5px; max-width: 40ch; } .form-foot small a { color: var(--deep); }
.sent { display: none; text-align: center; padding: 30px 10px; } .sent.on { display: grid; gap: 12px; justify-items: center; animation: sube 500ms var(--out) both; }
.sent h3 { font-size: var(--h3-l); } .sent p { color: var(--t2); max-width: 42ch; }

/* pie: el nombre vuelve a todo el ancho */

/* ventas y estadísticas */
.vs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.vs-list { display: grid; gap: 28px; }
.vs-list li { list-style: none; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.vs-list .ico { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.vs-list h3 { font-size: var(--h3-m); font-weight: 400; letter-spacing: -.03em; color: #fff; margin-bottom: 6px; line-height: 1.2; } .vs-list p { color: #fff; font-size: 15.5px; max-width: 44ch; }
/* el patrón de esta sección se apaga detrás de los textos y queda alrededor del panel */
#ventas.bg-vivid::before { -webkit-mask-image: radial-gradient(60% 55% at 88% 78%, #000 0%, rgba(0,0,0,.1) 80%); mask-image: radial-gradient(60% 55% at 88% 78%, #000 0%, rgba(0,0,0,.1) 80%); }
#ventas .head h2, #ventas .head p, .vs-list h3, .vs-list p { text-shadow: 0 1px 16px rgba(2,48,68,.5); }
.dash { padding: clamp(16px, 2.2vw, 24px); border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(2,30,44,.8); display: grid; gap: 14px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .dash-top b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.dash-top .seg span { padding: 5px 12px; }
.dk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dk div { padding: 12px 14px; border-radius: 14px; background: var(--ice); font-size: 12.5px; color: var(--t2); } .dk b { display: block; font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px; }
.dk em { font-style: normal; font-size: 12px; color: var(--ok); font-weight: 500; }
.dg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dc { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); } .dc h4 { font-size: 13px; font-weight: 500; color: var(--t2); margin-bottom: 10px; letter-spacing: 0; }
.dc.wide { grid-column: span 2; }
.area svg { width: 100%; height: auto; display: block; overflow: visible; }
.area .ln { fill: none; stroke: url(#gMarca2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1600ms var(--inout) 200ms; }
.area .fl { fill: url(#gArea); opacity: 0; transition: opacity 900ms ease 900ms; }
.area .pt { fill: #fff; stroke: var(--sky); stroke-width: 2; opacity: 0; transition: opacity 300ms ease 1500ms; }
.dash.on .area .ln { stroke-dashoffset: 0; } .dash.on .area .fl { opacity: 1; } .dash.on .area .pt { opacity: 1; }
.area .ax { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--t3); margin-top: 6px; }
.bl { display: grid; gap: 9px; } .bl li { list-style: none; font-size: 13px; }
.bl .t { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; } .bl .t b { font-weight: 500; font-variant-numeric: tabular-nums; } .bl .t span { color: var(--t2); }
.bl .bar { height: 7px; border-radius: 4px; background: var(--ice-2); overflow: hidden; } .bl .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #22c98f, var(--sky), #0e93a8); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--out); transition-delay: calc(var(--i, 0) * 90ms + 500ms); }
.dash.on .bl .bar i { transform: none; }
.cols { display: flex; align-items: flex-end; gap: 6px; height: 74px; } .cols i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #22c98f, #0e93a8); height: var(--h); transform: scaleY(0); transform-origin: bottom; transition: transform 700ms var(--out); transition-delay: calc(var(--i, 0) * 60ms + 600ms); opacity: .9; } .cols i.mx { background: linear-gradient(180deg, var(--teal), #0e8f84); opacity: 1; }
.dash.on .cols i { transform: none; }
.cols-lab { display: flex; justify-content: space-between; font-size: 11px; color: var(--t3); margin-top: 6px; }
.cobros { display: grid; gap: 6px; } .cobros div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--ice); font-size: 12.5px; } .cobros span { color: var(--t2); } .cobros b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.csv { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; }
.csv .i { width: 14px; height: 14px; }
.js .dash:not(.on) .area .ln, .js .dash:not(.on) .area .fl, .js .dash:not(.on) .area .pt { }

/* CRM de ejemplo: ventana con tres zonas (chats · conversación · ficha), en el estilo de la página */
.crm-stage { border-radius: 28px; padding: clamp(40px, 4.5vw, 64px) clamp(14px, 3vw, 40px) clamp(18px, 3vw, 40px); }
.crm-wrap { position: relative; }
.hot { position: absolute; top: -14px; z-index: 3; padding: 6px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); box-shadow: 0 12px 22px -10px rgba(3,40,56,.7); white-space: nowrap; }
.hot.h1 { left: 18px; } .hot.h2 { left: calc(300px + 18px); } .hot.h3 { right: 18px; }
.crm-win { border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(3,40,56,.6), 0 0 0 1px rgba(8,32,42,.06); }
.crm-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.crm-top span { padding: 6px 13px; border-radius: 10px; font-size: 13.5px; color: var(--t2); } .crm-top .on { background: var(--ink); color: #fff; }
.crm-top em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--t3); }
.crm-3 { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; min-height: 620px; }
.cl { background: var(--ice); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.cl-q { margin: 12px 12px 8px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--t3); }
.cl-f { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; } .cl-f span { font-size: 12px; padding: 4px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--t2); } .cl-f .on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cl-i { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background 160ms ease, transform 160ms var(--out); }
.cl-i:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .cl-i:hover { background: rgba(255,255,255,.7); } }
.cl-i[aria-pressed="true"] { background: #fff; box-shadow: 0 8px 20px -12px rgba(10,106,130,.5); }
.cav { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 500; font-size: 13px; background: linear-gradient(140deg, var(--a1, #0a8466), var(--a2, #0b7f96)); }
.cl-i .tx { min-width: 0; flex: 1; } .cl-i .nm { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; } .cl-i .nm time { font-size: 11.5px; font-weight: 400; color: var(--t3); }
.cl-i .pv { display: block; font-size: 12.5px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cl-i .tg { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.cn { margin-left: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 6px; background: linear-gradient(140deg, #0a8466, #0b7f96); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; align-self: center; }
.pill-s { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--ice-2); color: var(--t2); } .pill-s.g { background: #e3f6ee; color: #0b5c3e; } .pill-s.y { background: #fff1d6; color: #7a4d00; } .pill-s.b { background: #d9f3ee; color: #0a5f55; }
.cc { display: flex; flex-direction: column; min-width: 0; transition: opacity 160ms ease, filter 160ms ease; } .cc.swap, .cp.swap { opacity: 0; filter: blur(2px); }
.cc-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.cc-h b { font-size: 16px; font-weight: 500; letter-spacing: -.02em; } .cc-h small { color: var(--t3); font-size: 13px; }
.cc-h .estado { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 10px; background: var(--ice-2); font-size: 12.5px; } .estado span { padding: 5px 11px; border-radius: 10px; color: var(--t2); } .estado .on { background: linear-gradient(140deg, #0a8466, #0b7f96); color: #fff; }
.cc-m { flex: 1; display: grid; gap: 8px; align-content: start; padding: 16px 18px; background-image: radial-gradient(rgba(10,133,123,.09) 1px, transparent 1.2px); background-size: 18px 18px; }
.cm { max-width: 78%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(10px); animation: sube 480ms var(--out) forwards; animation-delay: calc(var(--k, 0) * 320ms); }
.cm small { display: block; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.cm.in { justify-self: start; background: var(--ice-2); border-bottom-left-radius: 4px; }
.cm.bot { justify-self: end; color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); border-bottom-right-radius: 4px; } .cm.bot small { color: rgba(255,255,255,.85); }
.cm.own { justify-self: end; background: #e3f6ee; color: #0b3d2b; border-bottom-right-radius: 4px; } .cm.own small { color: #0b5c3e; }
.cm.sys { justify-self: center; max-width: 92%; background: #fff; border: 1px dashed var(--line-2); color: var(--t2); font-size: 12.5px; padding: 6px 12px; border-radius: 10px; }
.cm.track { justify-self: end; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -16px rgba(10,106,130,.5); }
.cm.track b { display: block; font-weight: 500; font-size: 13px; margin-bottom: 8px; }
.cm.track ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; } .cm.track li { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--ice-2); color: var(--t3); }
.cm.track li.d { animation: luz2 400ms ease forwards; animation-delay: calc(var(--k, 0) * 600ms + var(--base, 1200ms)); }
@keyframes luz2 { to { background: #e3f6ee; color: #0b5c3e; } }
.cc-c { padding: 12px 16px 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cc-c .inp { padding: 10px 14px; border-radius: 14px; background: var(--ice); color: var(--t3); font-size: 14px; }
.cc-c .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .cc-c .row span { font-size: 12.5px; padding: 5px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); } .cc-c .row label { margin-left: auto; font-size: 12.5px; color: var(--t2); }
.cp { background: var(--ice); border-left: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: opacity 160ms ease, filter 160ms ease; }
.cp-h { display: flex; align-items: center; gap: 12px; } .cp-h .cav { width: 48px; height: 48px; border-radius: 14px; font-size: 16px; } .cp-h b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.02em; } .cp-h small { color: var(--t3); font-size: 12.5px; }
.cp .tg { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-k { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .cp-k div { padding: 10px 12px; border-radius: 14px; background: #fff; font-size: 12px; color: var(--t2); } .cp-k b { display: block; font-size: 19px; font-weight: 300; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cp-r { display: grid; gap: 6px; font-size: 13px; } .cp-r div { display: flex; justify-content: space-between; gap: 10px; } .cp-r span { color: var(--t2); } .cp-r b { font-weight: 500; text-align: right; }
.cp h4 { font-size: 12px; font-weight: 500; color: var(--t2); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.cp-n { padding: 10px 12px; border-radius: 14px; background: #fff; font-size: 13px; color: var(--t2); min-height: 52px; }
.cp-hist { display: grid; gap: 6px; } .cp-hist div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 12.5px; } .cp-hist span { color: var(--t2); }
.cp-b { display: flex; gap: 8px; margin-top: auto; } .cp-b span { flex: 1; text-align: center; font-size: 12.5px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); } .cp-b span.p { background: var(--ink); border-color: var(--ink); color: #fff; }
.crm-cap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 56px); padding: 0; }
.crm-cap li { list-style: none; } .crm-cap .ico { margin-bottom: 18px; } .crm-cap h3 { font-size: 20px; font-weight: 400; letter-spacing: -.03em; margin-bottom: 8px; line-height: 1.2; } .crm-cap p { color: var(--t2); font-size: 15px; }
@media (max-width: 1100px) { .crm-3 { grid-template-columns: 250px minmax(0, 1fr); } .cp { display: none; } .hot.h3 { display: none; } .hot.h2 { left: calc(250px + 18px); } .crm-cap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .crm-3 { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cl { border-right: 0; border-bottom: 1px solid var(--line); } .cl-q, .cl-f { display: none; }
  .cl-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; } .cl-i { min-width: 230px; flex: none; border-top: 0; border-right: 1px solid var(--line); scroll-snap-align: start; }
  .hot, .crm-top em { display: none; } .cm { max-width: 90%; } .crm-stage { padding-top: 18px; } .crm-cap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cm { opacity: 1; transform: none; animation: none; } .cm.track li.d { animation: none; background: #e3f6ee; color: #0b5c3e; } .cc, .cp { transition: none; } }

/* chat interactivo del héroe */
.chatcard #chatHero { height: 360px; min-height: 0; overflow-y: auto; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; align-content: start; }
.sugs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 2px 0; }
.sugs button { font: 400 12.5px var(--sans); padding: 5px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms var(--out); }
.sugs button:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .sugs button:hover { border-color: var(--ink); background: var(--ice); } }
.chat-in { display: flex; gap: 8px; margin-top: 10px; }
.chat-in input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ice); font: 400 14.5px var(--sans); color: var(--ink); outline: none; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.chat-in input:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(34,201,143,.22); }
.chat-in button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--out), background 160ms ease; }
.chat-in button:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .chat-in button:hover { background: #17404f; } }
.sugs button:disabled, .chat-in input:disabled { opacity: .55; cursor: not-allowed; }
.chat-note { margin: 8px 2px 0; font-size: 12px; color: var(--t3); }

/* ventana de turnos del chat: se abre al tocar un botón y reproduce el flujo real, en pasos simples */
.tp { width: min(460px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: transparent; color: var(--ink); font-family: var(--sans); overflow: visible; }
.tp::backdrop { background: rgba(3,40,56,.42); backdrop-filter: blur(3px); }
.tp[open] { animation: tp-in 320ms var(--out); }
.tp-body { overscroll-behavior: contain; }
.tp[open]::backdrop { animation: tp-fondo 260ms ease; }
@keyframes tp-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes tp-fondo { from { opacity: 0; } }
.tp-card { display: flex; flex-direction: column; gap: 14px; max-height: calc(100dvh - 28px); padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 40px 80px -30px rgba(3,40,56,.75); }
.tp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tp-head small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ok); }
.tp-head h3 { font-size: var(--h3-m); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; margin-top: 2px; }
.tp-x { width: 34px; height: 34px; flex: none; border: 0; border-radius: 10px; background: var(--ice); color: var(--t2); font-size: 22px; line-height: 1; cursor: pointer; transition: background 160ms ease; }
.tp-prog { display: flex; gap: 6px; } .tp-prog[hidden] { display: none; }
.tp-prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background 240ms ease; } .tp-prog i.on { background: linear-gradient(90deg, #22c98f, #0e93a8); }
.tp-body { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; padding: 2px; animation: tp-paso 260ms var(--out); }
@keyframes tp-paso { from { opacity: 0; transform: translateX(10px); } }
.tp-q { font-size: 13px; color: var(--t3); margin-top: 6px; } .tp-q:first-child { margin-top: 0; }
.tp-lista { display: grid; gap: 8px; }
.tp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.tp-row b { display: block; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; } .tp-row small { font-size: 12.5px; color: var(--t3); }
.tp-row em { font-style: normal; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tp-chips, .tp-acc { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chip { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 400 14px var(--sans); cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.tp-row[aria-checked="true"], .tp-chip[aria-checked="true"], .tp-dia[aria-checked="true"], .tp-hora[aria-checked="true"] { border-color: var(--ink); background: var(--ice-2); box-shadow: inset 0 0 0 1px var(--ink); }
.tp-dias { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.tp-horas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tp-dia, .tp-hora { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.tp-dia b, .tp-hora b { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tp-dia small, .tp-hora small { font-size: 11.5px; color: var(--t3); }
.tp-dia:disabled, .tp-hora:disabled { cursor: not-allowed; opacity: .5; }
.tp-hora:disabled b { text-decoration: line-through; }
@media (hover: hover) and (pointer: fine) { .tp-row:not(:disabled):hover, .tp-chip:hover, .tp-dia:not(:disabled):hover, .tp-hora:not(:disabled):hover { border-color: var(--ink); } }
.tp-res { margin: 0; padding: 4px 14px; border-radius: 14px; background: var(--ice); }
.tp-res div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); } .tp-res div:last-child { border-bottom: 0; }
.tp-res dt { font-size: 13px; color: var(--t3); } .tp-res dd { font-size: 14px; font-weight: 500; text-align: right; }
.tp-nota { font-size: 12.5px; color: var(--t3); }
.tp-tur { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 13px; border-radius: 14px; border: 1px solid var(--line); }
.tp-tur b { display: block; font-size: 14.5px; font-weight: 500; } .tp-tur small { font-size: 12.5px; color: var(--t3); }
.tp-acc button { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 400 12.5px var(--sans); cursor: pointer; }
.tp-acc button.bad { color: var(--bad); border-color: #efc1c6; }
.tp-vacio { font-size: 14.5px; color: var(--t2); padding: 8px 0; }
.tp-foot { display: flex; gap: 8px; justify-content: flex-end; padding-top: 2px; }
.tp-foot button { min-height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; transition: transform 160ms var(--out), background 160ms ease; }
.tp-foot button:active { transform: scale(.97); }
.tp-foot .tp-pri { margin-left: auto; border-color: var(--ink); background: var(--ink); color: #fff; }
.tp-pri:disabled { opacity: .45; cursor: not-allowed; }
.tp-pri.bad { background: var(--bad); border-color: var(--bad); }
@media (hover: hover) and (pointer: fine) { .tp-x:hover { background: var(--ice-2); } .tp-foot button:not(:disabled):hover { background: var(--ice); } .tp-foot .tp-pri:not(:disabled):hover { background: #17404f; } .tp-foot .tp-pri.bad:not(:disabled):hover { background: #b93d4c; } }
@media (max-width: 560px) { .tp-card { padding: 16px; } .tp-foot button { flex: 1; } .tp-foot .tp-pri { margin-left: 0; } .tp-dia small { font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) { .tp[open], .tp[open]::backdrop, .tp-body { animation: none; } .tp-prog i { transition: none; } }

/* destellos plateados: al pasar el cursor por un patrón, los trazos brillan apenas */
.brillo { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 350ms ease; background-image: var(--pat, url(patrones/ondas-b.svg)); background-size: cover; background-position: center; background-repeat: no-repeat; filter: brightness(1.42) drop-shadow(0 0 1.1px rgba(214,238,246,.82)); mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(180px 180px at var(--sx, 50%) var(--sy, 50%), #000 0%, rgba(0,0,0,.35) 45%, transparent 100%); mask-image: radial-gradient(180px 180px at var(--sx, 50%) var(--sy, 50%), #000 0%, rgba(0,0,0,.35) 45%, transparent 100%); }
.bg-vivid.hov > .brillo { opacity: .66; }
@media (hover: none) { .brillo { display: none; } }
/* un día que cambia de color: amanece, mediodía, tarde, noche */
#dia { isolation: isolate; overflow: clip; }
.day-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.day-bg i { position: absolute; inset: 0; opacity: 0; transition: opacity 1100ms ease; }
.day-bg i[data-f="0"] { background: linear-gradient(180deg, #fff 0%, #e8f7ef 100%); }
.day-bg i[data-f="1"] { background: linear-gradient(180deg, #fff 0%, #d9f2fa 100%); }
.day-bg i[data-f="2"] { background: linear-gradient(180deg, #fff 0%, #d2eddb 100%); }
.day-bg i[data-f="3"] { background: linear-gradient(180deg, #0a5d52 0%, #052a2d 100%); }
#dia[data-fase="0"] .day-bg i[data-f="0"], #dia[data-fase="4"] .day-bg i[data-f="0"], #dia[data-fase="1"] .day-bg i[data-f="1"], #dia[data-fase="2"] .day-bg i[data-f="2"], #dia[data-fase="3"] .day-bg i[data-f="3"] { opacity: 1; }
#dia .head h2, #dia .head p, #dia .head p b { transition: color 700ms ease; }
#dia[data-fase="3"] .head h2, #dia[data-fase="3"] .head p, #dia[data-fase="3"] .head p b { color: #fff; }
.mom { transition: opacity 600ms var(--out), transform 600ms var(--out), box-shadow 300ms ease; transition-delay: calc(var(--i, 0) * 360ms + 500ms); }
.day.done .mom { transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .day.on .mom:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(3,40,56,.55); } }
@media (prefers-reduced-motion: reduce) { .day-bg i { transition: none; } .chatcard #chatHero { scroll-behavior: auto; } }
/* panel de ventas interactivo */
.area { position: relative; }
.area .hit { fill: transparent; cursor: pointer; }
.area .gl { stroke: var(--sky); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity 200ms ease; }
.area svg.has-act .gl { opacity: .7; }
.area .pt { transform-box: fill-box; transform-origin: center; transition: opacity 300ms ease 1500ms, transform 200ms var(--out), fill 200ms ease; }
.area .pt.act { transform: scale(1.7); fill: #22c98f; stroke: #fff; }
.area .tip { position: absolute; top: 28px; transform: translateX(-50%) translateY(6px); display: grid; gap: 1px; padding: 7px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 180ms ease, transform 180ms var(--out), left 220ms var(--out); z-index: 3; }
.area .tip.on { opacity: 1; transform: translateX(-50%); } .area .tip b { font-weight: 500; } .area .tip span { color: #b9ecd9; font-size: 12px; }
.area .ax span { cursor: pointer; transition: color 160ms ease, font-weight 160ms ease; } .area .ax span.act { color: var(--ink); font-weight: 600; }
.bl li { cursor: pointer; border-radius: 10px; transition: opacity 200ms ease, transform 200ms var(--out); outline: none; }
.bl li.dim { opacity: .42; } .bl li.act { transform: translateX(3px); }
.bl li.act .bar { height: 9px; margin-top: -1px; } .bl .bar { transition: height 200ms ease; }
.bl li .t span::after { content: ""; } .bl li.act .t span::after { content: " · " attr(data-p); color: var(--deep); font-weight: 500; }
.bl li:focus-visible { box-shadow: 0 0 0 2px var(--sky); }
.cols i { position: relative; cursor: pointer; outline: none; transition: transform 700ms var(--out) calc(var(--i, 0) * 60ms + 600ms), filter 160ms ease, opacity 160ms ease; }
.cols:has(i.act) i:not(.act) { opacity: .45; }
.cols i.act { filter: saturate(1.4) brightness(1.08); opacity: 1; }
.cols i::after { content: attr(data-t); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); padding: 5px 9px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms var(--out); z-index: 4; }
.cols i.act::after { opacity: 1; transform: translateX(-50%); }
.cols i:first-child::after { left: 0; transform: translateY(4px); } .cols i:first-child.act::after { transform: none; }
.cols i:last-child::after { left: auto; right: 0; transform: translateY(4px); } .cols i:last-child.act::after { transform: none; }
.cobros div { transition: background 160ms ease, transform 160ms var(--out); } @media (hover: hover) { .cobros div:hover { background: var(--ice-2); transform: translateX(3px); } }
.cols-lab span { text-align: center; flex: 1; }
@media (prefers-reduced-motion: reduce) { .area .tip, .bl li, .cols i { transition: none; } }
/* planes: al pasar el cursor se elevan y un destello recorre la tarjeta */
.plan { transition: opacity 700ms var(--out), transform 450ms var(--out), box-shadow 400ms ease, border-color 250ms ease; }
.plan::before { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 38%; background: linear-gradient(100deg, transparent, rgba(34,201,143,.2), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; transition: transform 1000ms var(--out), opacity 300ms ease; }
.plan.pro::before { background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent); }
.plan li .i { transition: transform 300ms var(--out); }
.plan .btn-primary, .plan .btn-secondary { transition: transform 160ms var(--out), background 200ms ease, border-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-8px); border-color: #7fd8bd; box-shadow: 0 50px 80px -40px rgba(10,106,90,.65); }
  .plan.pro:hover { border-color: transparent; box-shadow: 0 60px 90px -36px rgba(8,120,100,.9); }
  .plan:hover::before { transform: skewX(-18deg) translateX(520%); opacity: 1; }
  .plan:hover li .i { transform: scale(1.22); }
  .plan.pro:hover .bg-vivid.fill { transform: scale(1.05); }
}
.plan .bg-vivid.fill { transition: transform 900ms var(--out); }
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } .plan::before { display: none; } }
/* calendario con vistas: mes, semana y día */
.seg.tabs3 { position: relative; }
.seg.tabs3 button { position: relative; z-index: 1; padding: 6px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--t2); font: inherit; cursor: pointer; transition: color 220ms ease, transform 160ms var(--out); }
.seg.tabs3 button:active { transform: scale(.96); } .seg.tabs3 button[aria-selected="true"] { color: #fff; }
.seg.tabs3 .ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 10px; background: var(--ink); transition: transform 340ms var(--out), width 340ms var(--out); }
#bTitulo { display: inline-block; transition: opacity 140ms ease, transform 140ms var(--out); } #bTitulo.cambia { opacity: 0; transform: translateY(-4px); }
.kpi small { display: inline-block; transition: opacity 140ms ease; }
.views { position: relative; overflow: hidden; transition: height 400ms var(--out); border-radius: 14px; }
.vista[hidden] { display: none; }
.vista.saliendo { opacity: 0; transform: translateX(calc(var(--dir, 1) * -14px)) scale(.99); filter: blur(2px); transition: opacity 170ms ease, transform 170ms ease, filter 170ms ease; }
.vista.entrando { animation: vista-in 400ms var(--out) both; }
@keyframes vista-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18px)); } }
.vista .vacio { padding: 64px 24px; text-align: center; color: var(--t2); background: var(--ice); border-radius: 14px; }
.week.dia { grid-template-columns: 52px repeat(3, minmax(0, 1fr)); }
.board .ev.pop { animation: pop-ev 420ms var(--out) both; animation-delay: calc(var(--n, 0) * 55ms + 120ms); }
@keyframes pop-ev { from { opacity: 0; transform: scale(.9) translateY(6px); } to { opacity: 1; transform: none; } }
.week .h[data-d] { cursor: pointer; transition: background 160ms ease, color 160ms ease; } @media (hover: hover) { .week .h[data-d]:hover { background: var(--ice-2); color: var(--ink); } } .week .h[data-d]:focus-visible { outline-offset: -3px; }
.mes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mh { text-align: center; font-size: 12px; font-weight: 500; color: var(--t2); padding: 4px 0 2px; }
.md { display: flex; flex-direction: column; justify-content: space-between; min-height: 52px; padding: 6px 9px; border: 0; border-radius: 14px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: color-mix(in srgb, #22c98f calc(var(--q, 0) * 1%), #f1f8f7); animation: pop-ev 380ms var(--out) both; animation-delay: calc(var(--n, 0) * 11ms); transition: transform 160ms var(--out), box-shadow 160ms ease; }
.md b { font-weight: 500; font-size: 14px; } .md small { font-size: 11.5px; color: var(--t2); }
.md.fuera { cursor: default; background: transparent; color: #a5b9c0; font-size: 13px; }
.md.hoy { box-shadow: inset 0 0 0 2px var(--blue); }
.md[data-cerrado] { cursor: default; background: repeating-linear-gradient(135deg, #f1f8f7, #f1f8f7 6px, #e6f0f0 6px, #e6f0f0 12px); }
@media (hover: hover) and (pointer: fine) { .md[data-d]:not([data-cerrado]):hover { transform: translateY(-3px); box-shadow: 0 12px 20px -12px rgba(10,106,90,.6); } }
.md:active { transform: scale(.96); }
@media (max-width: 720px) { .md { min-height: 44px; padding: 5px 6px; } .md small { display: none; } .mes { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .views, .vista.saliendo, .seg.tabs3 .ind { transition: none; } .vista.entrando, .board .ev.pop, .md { animation: none; } }
/* ---------- responsive ---------- */
.bg-vivid-m { border-radius: 20px; margin-top: 24px; background:
  radial-gradient(70% 90% at 100% 0%, rgba(52,211,153,.7), transparent 62%),
  radial-gradient(60% 80% at 0% 100%, rgba(25,194,138,.7), transparent 66%),
  linear-gradient(160deg, #08634f 0%, #0a6b66 50%, #0b6385 100%); }
.xp-g > .xp-ui { display: none; }
.pat-ondas { --pat: url(patrones/ondas-b.svg); } .bg-ice.pat-ondas { --pat: url(patrones/ondas-t.svg); }
.links a.act { color: var(--ink); position: relative; }
.links a.act::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #22c98f, var(--sky), #0e93a8); }
@media (max-width: 1020px) {
  .links { display: none; } .acts { margin-left: auto; } .menu-btn { display: grid; } .acts .ghost { display: none; }
  .menu-mobile { display: grid; overflow: hidden; max-height: 0; transition: max-height 400ms var(--out); }
  .top.open .menu-mobile { max-height: 460px; padding-bottom: 14px; } .top.open { background: #fff; border-color: var(--line); }
  .menu-mobile a { padding: 13px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .hero-row, .head, .faq-grid, .contact, .demo { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; gap: 14px; }
  .stage { grid-template-columns: minmax(0, 1fr); } .chatcard, .agenda { justify-self: center; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paso { grid-template-columns: minmax(0, 1fr); } .paso:nth-child(even) .paso-t { order: 0; } .paso::after { display: none; } .paso-v { min-height: 0; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } .day-line { display: none; } .mom { min-height: 0; opacity: 1; transform: none; transition: none; }
  .xp { grid-template-columns: minmax(0, 1fr); } .xp-vis { display: none; } .xp-list { padding-block: 0; gap: 56px; } .xp-g { opacity: 1; }
  .xp-g > .xp-ui { display: grid; }
  .demo-panel { min-height: 0; }
  .vs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .moments { grid-template-columns: minmax(0, 1fr); }
  .dg, .dk { grid-template-columns: minmax(0, 1fr); } .dc.wide { grid-column: auto; }
  .cobros div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .form .two { grid-template-columns: minmax(0, 1fr); }
  .week { grid-template-columns: 40px repeat(3, minmax(0, 1fr)); } .week .x { display: none; }
  .mini { grid-template-columns: 38px repeat(5, minmax(0, 1fr)); } .toast { position: static; width: fit-content; margin: 0 0 12px auto; }
  .ctas .btn-primary, .ctas .btn-secondary { flex: 1 1 100%; }
}
@media (max-width: 560px) { .acts .btn-primary { display: none; } .btn-sm { white-space: nowrap; } .chat { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .msg, .toast, .ev.nuevo, .bub, .mom, .node { opacity: 1; transform: none; animation: none !important; transition: none; }
  .curve path, .day-line path { stroke-dashoffset: 0; transition: none; }
  .xp-vis .xp-ui { transition: opacity 200ms ease; transform: none; }
  .area .ln { stroke-dashoffset: 0; transition: none; } .area .fl, .area .pt { opacity: 1; transition: none; }
  .bl .bar i, .cols i { transform: none; transition: none; }
}

/* enlace de reserva dentro del chat: el cliente lo toca y el turno se agenda solo */
.lnk { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 9px 10px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; box-shadow: 0 10px 20px -12px rgba(0,0,0,.55); transition: transform 160ms var(--out), box-shadow 200ms ease; animation: sube 420ms var(--out) both; }
div.lnk { cursor: default; }
.lnk .ln-i { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(140deg, #0a8466, #0b7f96); }
.lnk .ln-i .i { width: 17px; height: 17px; stroke: #fff; }
.lnk .ln-t { min-width: 0; } .lnk .ln-t b { display: block; font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; } .lnk .ln-t small { display: block; font-size: 11.5px; color: var(--t3); }
.lnk em { margin-left: auto; flex: none; font-style: normal; font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 10px; background: var(--ink); color: #fff; transition: background 200ms ease, color 200ms ease; }
button.lnk:not(.visto):not(.press) em { animation: lnk-pulso 1.6s ease-in-out infinite; }
@keyframes lnk-pulso { 50% { box-shadow: 0 0 0 5px rgba(34,201,143,.35); } }
.lnk.press { transform: scale(.97); box-shadow: 0 0 0 3px rgba(140,245,207,.75); }
.lnk.visto em { background: #dcf5ea; color: #0b5c3e; }
@media (hover: hover) and (pointer: fine) { button.lnk:not(.visto):hover { transform: translateY(-1px); } }
.lnk.tapm { animation: sube 420ms var(--out) 2400ms both, lnk-toque 800ms ease 3600ms both; }
.lnk.tapm em { animation: lnk-abierto 300ms ease 3950ms both; }
@keyframes lnk-toque { 35% { transform: scale(.97); box-shadow: 0 0 0 3px rgba(140,245,207,.75); } 100% { transform: none; box-shadow: 0 10px 20px -12px rgba(0,0,0,.55); } }
@keyframes lnk-abierto { to { background: #dcf5ea; color: #0b5c3e; } }
.msg.ok { justify-self: center; max-width: 96%; display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: #e3f6ee; color: #0b3d2b; border-radius: 14px; font-size: 13.5px; line-height: 1.35; }
.msg.ok .i { width: 16px; height: 16px; flex: none; stroke: #0b7a52; stroke-width: 2.4; }
.chip.extra { animation: sube 380ms var(--out) both; animation-delay: calc(var(--n, 0) * 55ms); }
.chip.extra[hidden] { display: none; }
.chip.mas { border-style: dashed; color: var(--t2); } .chip.mas .i { stroke-width: 2.2; }

/* un día de tu negocio: el cuadrado de la línea se pinta de negro con la tarjeta que mirás */
#dia .node { transition: transform 400ms var(--out), opacity 300ms ease, background 350ms ease, border-color 350ms ease, box-shadow 350ms ease; }
#dia .node.hv:not([style*="--i:3"]) { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(8,32,42,.14); transform: scale(1.18); transition-delay: 0s; }
#dia[data-fase="3"] .node.hv:not([style*="--i:3"]) { box-shadow: 0 0 0 4px rgba(140,245,207,.28); border-color: #8cf5cf; }

/* en marcha en tres pasos: las escenas se repiten, con una pausa antes de volver a empezar */
.paso.rst .paso-v *, .paso.rst .paso-v *::before, .paso.rst .paso-v *::after { transition: none !important; animation: none !important; }
/* solo se repite lo de adentro del campo blanco: la tarjeta (.ucard) queda fija y no vuelve a aparecer en cada vuelta */
.paso .paso-v .ucard > * { transition: opacity 320ms ease; } .paso.fade .paso-v .ucard > * { opacity: 0; }

/* CRM interactivo */
.cl-q { display: block; width: calc(100% - 24px); font: 400 13px var(--sans); color: var(--ink); outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.cl-q::placeholder { color: var(--t3); } .cl-q:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(34,201,143,.22); }
.cl-f button { font: 400 12px var(--sans); padding: 4px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--t2); cursor: pointer; transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--out); }
.cl-f button:active { transform: scale(.95); } .cl-f button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .cl-f button:not(.on):hover { border-color: var(--ink); } }
.cl-vacio { padding: 26px 16px; text-align: center; font-size: 13px; color: var(--t3); }
.cl-i.nuevo { animation: sube 380ms var(--out) both; animation-delay: calc(var(--n, 0) * 50ms); opacity: 0; transform: translateY(8px); }
.cc-h .estado { cursor: pointer; } .estado span { transition: background 200ms ease, color 200ms ease; }
.cc-c .inp { display: flex; gap: 8px; padding: 0; background: none; }
.cc-c .inp input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 14px; border: 1px solid transparent; background: var(--ice); color: var(--ink); font: 400 14px var(--sans); outline: none; transition: border-color 150ms ease, background 150ms ease; }
.cc-c .inp input:focus { border-color: var(--sky); background: #fff; }
.cc-c .inp button { width: 40px; flex: none; border: 0; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; } .cc-c .inp button .i { width: 17px; height: 17px; }
.cc-c .row button { font: 400 12.5px var(--sans); padding: 5px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: transform 160ms var(--out), border-color 160ms ease, background 160ms ease; }
.cc-c .row button:active, .cc-c .row button.tocado { transform: scale(.94); background: var(--ice-2); }
@media (hover: hover) and (pointer: fine) { .cc-c .row button:hover { border-color: var(--ink); } }
.cc-c .row label { cursor: pointer; display: inline-flex; align-items: center; gap: 7px; user-select: none; }
.cc-c .row label i { width: 30px; height: 17px; border-radius: 10px; background: var(--line-2); position: relative; transition: background 200ms ease; }
.cc-c .row label i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform 200ms var(--out); }
.cc-c .row label.on i { background: #12a38f; } .cc-c .row label.on i::after { transform: translateX(13px); }
.cm.nv { animation-delay: 0ms; }
.cp-b span { cursor: default; }
.crm-cur { position: absolute; z-index: 20; left: 0; top: 0; width: 22px; height: 22px; margin: -2px 0 0 -4px; pointer-events: none; opacity: 0; transition: transform 850ms cubic-bezier(.45,.05,.2,1), opacity 300ms ease; filter: drop-shadow(0 4px 6px rgba(3,40,56,.4)); }
.crm-cur.on { opacity: 1; }
.crm-cur svg { width: 22px; height: 22px; display: block; }
.crm-cur::after { content: ""; position: absolute; left: -9px; top: -9px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #22c98f; opacity: 0; transform: scale(.3); }
.crm-cur.clic::after { animation: crm-clic 520ms ease-out; }
@keyframes crm-clic { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .crm-cur { display: none; } .lnk { animation: none !important; } .lnk.tapm em { background: #dcf5ea; color: #0b5c3e; } .chip.extra, .cl-i.nuevo { animation: none; opacity: 1; transform: none; } }
@media (max-width: 760px) { .crm-cur { display: none; } }
.cl-q.foco { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(34,201,143,.22); }

/* ---------- móvil: la agenda se desplaza en lugar de ocultar días; la grilla del héroe deja legibles los turnos ---------- */
@media (max-width: 720px) {
  .views { overflow-x: auto; overflow-y: hidden; }
  .week { grid-template-columns: 40px repeat(5, minmax(70px, 1fr)); min-width: 430px; }
  .week .x { display: block; }
}
@media (max-width: 560px) {
  .mini .ev { padding: 3px 4px; font-size: 10px; } .mini .ev span { display: none; }
}

/* ---------- escritorio: la tarjeta del chat entra completa en el alto de la pantalla (el área de mensajes se achica si hace falta) ---------- */
@media (min-width: 1021px) {
  .chatcard #chatHero { height: clamp(220px, calc(100svh - 352px), 360px); }
}

/* CRM de ejemplo: pestañas, etiquetas, contactos y ficha interactivos */
.crm-top button { font: 400 13.5px var(--sans); padding: 6px 13px; border-radius: 10px; border: 0; background: transparent; color: var(--t2); cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.crm-top button.on { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .crm-top button:not(.on):hover { background: var(--ice-2); } }
.crm-v { min-height: 620px; padding: 18px; background: var(--ice); }
.crm-v[hidden], .crm-3[hidden] { display: none; }
.crm-tab { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 13.5px; }
.crm-tab th { text-align: left; font-weight: 500; font-size: 12px; color: var(--t3); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.crm-tab td { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--t2); vertical-align: middle; }
.crm-tab td:first-child { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.crm-tab tbody tr { cursor: pointer; transition: background 160ms ease; } .crm-tab tbody tr:hover, .crm-tab tbody tr:focus-visible { background: var(--ice); outline: none; }
.crm-eti { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.crm-eti button { display: grid; gap: 6px; justify-items: start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; cursor: pointer; text-align: left; transition: transform 160ms var(--out), border-color 160ms ease; }
.crm-eti button:hover { border-color: var(--ink); } .crm-eti button:active { transform: scale(.98); }
.crm-eti b { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); } .crm-eti small { color: var(--t3); font-size: 12.5px; }
.crm-pie { margin: 14px 2px 0; font-size: 12.5px; color: var(--t3); }
.cl-tag { margin: 0 12px 8px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--t2); display: flex; align-items: center; gap: 6px; }
.cl-tag[hidden] { display: none; } .cl-tag button { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--t3); font-size: 12px; }
.cp-tags .pill-s { font-family: inherit; cursor: pointer; border: 1px solid transparent; }
.cp-tags .pill-s.add { background: #fff; border: 1px dashed var(--line-2); color: var(--t2); }
.cp-add { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 14px; background: #fff; } .cp-add[hidden], .cp-full[hidden] { display: none; }
.cp-add .pill-s { cursor: pointer; border: 0; font-family: inherit; }
.cp-n { width: 100%; border: 1px solid transparent; resize: vertical; font: 400 13px var(--sans); outline: none; } .cp-n:focus { border-color: var(--sky); }
.cp-full { display: grid; gap: 6px; } .cp-full div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 12.5px; } .cp-full span { color: var(--t2); }
.cp-b button { flex: 1; text-align: center; font: 400 12.5px var(--sans); padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: border-color 160ms ease; }
.cp-b button:hover { border-color: var(--ink); } .cp-b button.p { background: var(--ink); border-color: var(--ink); color: #fff; }
.cc.bloq .cc-c { opacity: .45; pointer-events: none; }
@media (max-width: 760px) { .crm-v { min-height: 0; padding: 12px; } .crm-tab th:nth-child(n+4), .crm-tab td:nth-child(n+4) { display: none; } }

/* ============ menú y pie compartidos: inicio, rubros, guías y precios ============ */
/* menú centrado entre la marca y los botones */
@media (min-width: 1021px) {
  .top .bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .top .links { margin: 0; justify-content: center; }
  .top .acts { justify-self: end; }
}
.links a[aria-current="page"] { color: var(--ink); }
/* pie: grupos de enlaces centrados */
.pie-top { justify-content: center; }
.pie nav { flex-direction: column; align-items: center; justify-content: center; gap: 14px; max-width: none; text-align: center; }
.pie small { text-align: center; }
.pie-g { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.pie-rubros, .pie-guias { margin-top: 14px; }
.pie-legal a, .pie-rubros a, .pie-guias a { font-size: 13.5px; color: rgba(255,255,255,.78); }
/* en el celular, los enlaces del pie tienen alto suficiente para tocarlos */
@media (max-width: 640px) { .pie-g { gap: 2px 22px; } .pie-g a { padding: 9px 0; } }

/* ============ escala de títulos ============
   Un solo juego de tamaños para todo el sitio. Para un título nuevo, usar una de estas variables en vez de un número suelto. */
:root {
  --h2: clamp(32px, 4.8vw, 62px);      /* título de sección */
  --h3-xl: clamp(26px, 2.8vw, 36px);   /* subtítulo destacado */
  --h3-l: clamp(22px, 2vw, 26px);      /* título de bloque o tarjeta grande */
  --h3-m: 21px;                        /* título de tarjeta */
  --h3-s: 18px;                        /* título de tarjeta chica */
  /* escala de radios: 6 · 10 · 14 · 20 · 28 (más 999px para píldoras y 50% para círculos) */
  --r: 20px; --r-sm: 14px;
}
