/* AgendaGT — landing pública interactiva (v2).
   Los tokens de marca (--brand, --brand-mid, --brand-dark, --brand-rgb) se
   inyectan inline desde index.php con el color del superadmin. */
body.app-public main { padding: 0 !important; }
body.app-public main > .agt-footer { margin: 0 8px 8px !important; }

.lp-root {
  --ink: #14132b; --ink-soft: #3b3a55; --muted: #6b6a85; --faint: #a3a2bb;
  --bg: #f7f6fc; --surface: #fff; --surface-2: #fbfbff; --border: #e8e7f2;
  --ok: #16a34a; --ok-rgb: 22,163,74; --warn: #d97706; --bad: #dc2626; --bad-rgb: 220,38,38;
  --radius: 22px;
  font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.lp-root, .lp-root *, .lp-root *::before, .lp-root *::after { box-sizing: border-box; }
.lp-root h1, .lp-root h2, .lp-root h3, .lp-root h4 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.lp-root img { max-width: 100%; display: block; }
.lp-root a { text-decoration: none; }
.lp-root a:not(.lp-btn):not(.lp-fab) { color: inherit; }
.lp-root [hidden] { display: none !important; }
.lp-root p { margin: 0; }
.lp-root button { font-family: inherit; }
.lp-root :focus-visible { outline: 3px solid rgba(var(--brand-rgb), .45); outline-offset: 2px; border-radius: 10px; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Botones ───────────────────────────────────────────────────────────── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; border-radius: 999px; cursor: pointer; padding: 13px 26px; border: 1px solid transparent; transition: background .2s, transform .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.lp-btn .lucide { width: 17px; height: 17px; }
.lp-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(var(--brand-rgb), .5); }
.lp-btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.lp-btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.lp-btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.lp-btn-ghost:hover { border-color: rgba(var(--brand-rgb), .5); color: var(--brand); }
.lp-btn-sm { padding: 9px 18px; font-size: 13.5px; }
.lp-btn-lg { padding: 15px 30px; font-size: 16px; }
.lp-btn-block { width: 100%; }
.lp-btn-outline-brand { background: transparent; color: var(--brand); border-color: rgba(var(--brand-rgb), .4); }
.lp-btn-outline-brand:hover { background: rgba(var(--brand-rgb), .07); }
.lp-chipbtn { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: all .18s; }
.lp-chipbtn:hover { color: var(--brand); border-color: rgba(var(--brand-rgb), .45); }
.lp-chipbtn .lucide { width: 14px; height: 14px; }

/* ── Títulos ───────────────────────────────────────────────────────────── */
.lp-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: rgba(var(--brand-rgb), .09); border: 1px solid rgba(var(--brand-rgb), .18); padding: 6px 14px; border-radius: 999px; }
.lp-h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 700; }
.lp-h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 700; }
.lp-h1 .acc, .lp-h2 .acc { color: var(--brand); font-style: normal; }
.lp-sub { font-size: 17px; color: var(--muted); line-height: 1.6; }
.lp-sec { padding: 84px 0; }
.lp-sec-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-sec-head { text-align: center; margin-bottom: 40px; }
.lp-sec-head .lp-eyebrow { margin-bottom: 16px; }
.lp-sec-head .lp-sub { max-width: 660px; margin: 12px auto 0; }

/* ── Cards / íconos ───────────────────────────────────────────────────── */
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 4px 20px -10px rgba(20,19,43,.08); }
.lp-ico { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.lp-ico .lucide { width: 21px; height: 21px; }
.lp-ico-tint-teal { background: rgba(13,148,136,.1); color: #0d9488; }
.lp-ico-tint-pink { background: rgba(219,39,119,.1); color: #db2777; }
.lp-ico-tint-amber { background: rgba(217,119,6,.1); color: #d97706; }
.lp-ico-tint-indigo { background: rgba(79,70,229,.1); color: #4f46e5; }
.lp-ico-tint-green { background: rgba(22,163,74,.1); color: #16a34a; }
.lp-ico-tint-blue { background: rgba(37,99,235,.1); color: #2563eb; }
.lp-pchip { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: var(--brand); background: rgba(var(--brand-rgb), .1); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.lp-pchip .lucide { width: 12px; height: 12px; }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.lp-hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 46% 40% at 8% 12%, rgba(var(--brand-rgb), .12), transparent 65%), radial-gradient(ellipse 40% 45% at 92% 60%, rgba(var(--brand-rgb), .10), transparent 65%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 40px; align-items: center; }
.lp-hero h1 { margin: 18px 0 18px; }
.lp-hero .lp-sub { max-width: 480px; }
.lp-hero-ctas { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.lp-hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 13px; color: var(--muted); font-weight: 600; }
.lp-hero-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero-ticks .lucide { width: 15px; height: 15px; color: var(--ok); }

.hs { position: relative; }
.hs-stage { position: relative; display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: center; background: linear-gradient(160deg, rgba(var(--brand-rgb), .07), rgba(var(--brand-rgb), .02)); border: 1px solid rgba(var(--brand-rgb), .16); border-radius: 26px; padding: 22px; }
.hs-phone { position: relative; height: 440px; background: #fff; border: 7px solid #14132b; border-radius: 34px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(20,19,43,.4); }
.hs-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 84px; height: 18px; background: #14132b; border-radius: 0 0 12px 12px; z-index: 3; }
.hs-top { padding: 26px 14px 10px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.hs-biz { display: flex; align-items: center; gap: 8px; }
.hs-biz i.av { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; }
.hs-biz b { font-size: 12.5px; display: block; line-height: 1.1; }
.hs-biz small { font-size: 10px; color: var(--muted); }
.hs-prog { display: flex; gap: 4px; margin-top: 10px; }
.hs-prog i { flex: 1; height: 4px; border-radius: 9px; background: #e7e6f3; transition: background .3s; }
.hs-prog i.on { background: var(--brand); }
.hs-view { position: relative; height: calc(100% - 86px); }
.hs-pane { position: absolute; inset: 0; padding: 14px; opacity: 0; transform: translateX(22px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.hs-pane.on { opacity: 1; transform: none; }
.hs-pane.off { transform: translateX(-22px); }
.hs-lbl { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.hs-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 12px; padding: 9px 10px; margin-bottom: 8px; background: #fff; transition: all .25s; }
.hs-opt b { font-size: 12px; display: block; }
.hs-opt small { font-size: 10.5px; color: var(--muted); }
.hs-opt .pr { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--ink-soft); }
.hs-opt.sel { border-color: var(--brand); background: rgba(var(--brand-rgb), .07); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.hs-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 11.5px; color: #fff; flex-shrink: 0; }
.hs-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hs-days span { text-align: center; padding: 6px 0; border-radius: 9px; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); background: #f5f4fb; transition: all .25s; }
.hs-days span small { display: block; font-size: 8.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.hs-days span.x { opacity: .4; }
.hs-days span.sel { background: var(--brand); color: #fff; }
.hs-days span.sel small { color: rgba(255,255,255,.8); }
.hs-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.hs-slots span { text-align: center; padding: 8px 0; border: 1.5px solid var(--border); border-radius: 10px; font-size: 11px; font-weight: 800; color: var(--ink-soft); transition: all .25s; }
.hs-slots span.busy { color: var(--faint); text-decoration: line-through; background: #fafafd; }
.hs-slots span.sel { border-color: var(--brand); color: var(--brand); background: rgba(var(--brand-rgb), .08); }
.hs-sum { border: 1px solid var(--border); border-radius: 12px; padding: 4px 10px; background: var(--surface-2); }
.hs-sum div { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; padding: 6px 0; }
.hs-sum div + div { border-top: 1px dashed var(--border); }
.hs-sum span { color: var(--muted); font-weight: 600; }
.hs-field { margin-top: 10px; border: 1.5px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 12px; font-weight: 700; min-height: 34px; }
.hs-field small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; }
.hs-caret { display: inline-block; width: 1.5px; height: 12px; background: var(--brand); vertical-align: -2px; animation: hsBlink 1s steps(2) infinite; }
@keyframes hsBlink { 50% { opacity: 0; } }
.hs-cta { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 12px; transition: transform .15s; }
.hs-cta.press { transform: scale(.93); }
.hs-cta .lucide { width: 14px; height: 14px; }
.hs-done { text-align: center; padding-top: 18px; }
.hs-check { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(var(--ok-rgb), .55); }
.hs-check .lucide { width: 28px; height: 28px; }
.hs-done h4 { font-size: 16px; }
.hs-done p { font-size: 11px; color: var(--muted); margin: 4px 0 12px; }
.hs-tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--brand-rgb), .25); border: 2px solid rgba(var(--brand-rgb), .7); pointer-events: none; opacity: 0; transform: scale(.6); transition: left .5s ease, top .5s ease, opacity .25s; z-index: 4; }
.hs-tap.show { opacity: 1; }
.hs-tap.down { animation: hsTap .35s ease; }
@keyframes hsTap { 50% { transform: scale(.4); } 100% { transform: scale(.6); } }

.hs-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hs-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; box-shadow: 0 16px 40px -22px rgba(20,19,43,.3); }
.hs-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hs-panel-h b { font-size: 13px; }
.hs-panel-h small { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.hs-ag { display: flex; flex-direction: column; gap: 6px; }
.hs-ag div { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; font-size: 11.5px; }
.hs-ag div > span { color: var(--muted); font-weight: 700; font-size: 10.5px; }
.hs-ag div > p { border-radius: 9px; padding: 7px 9px; background: #f5f4fb; color: var(--ink-soft); font-weight: 700; min-height: 30px; border-left: 3px solid #d9d8ea; }
.hs-ag div > p small { font-weight: 600; color: var(--muted); }
.hs-ag div > p.free { background: transparent; border: 1.5px dashed var(--border); color: var(--faint); font-weight: 600; }
.hs-ag div > p.new { background: rgba(var(--brand-rgb), .1); border-left-color: var(--brand); color: var(--ink); animation: hsIn .5s ease; }
@keyframes hsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hs-toasts { display: flex; flex-direction: column; gap: 8px; min-height: 124px; }
.hs-toast { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; box-shadow: 0 14px 30px -16px rgba(20,19,43,.35); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s, transform .4s; }
.hs-toast.show { opacity: 1; transform: none; }
.hs-toast .ti { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.hs-toast .ti svg { width: 17px; height: 17px; }
.hs-toast b { font-size: 12px; display: block; }
.hs-toast small { font-size: 11px; color: var(--muted); display: block; line-height: 1.35; }
.hs-toast em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--faint); font-weight: 700; align-self: flex-start; }
.hs-ti-tg { background: #229ed9; }
.hs-ti-wa { background: #22c55e; }
.hs-ti-bell { background: var(--brand); }
.hs-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.hs-steps { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; list-style: none; margin: 0; padding: 0; }
.hs-steps li { font-size: 11.5px; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; transition: all .25s; }
.hs-steps li.on { color: #fff; background: var(--brand); border-color: var(--brand); }
.hs-steps li.done { color: var(--brand); border-color: rgba(var(--brand-rgb), .35); }

/* ── Strip ─────────────────────────────────────────────────────────────── */
.lp-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 34px -18px rgba(20,19,43,.14); margin-top: 40px; position: relative; z-index: 2; }
.lp-strip > div { display: flex; gap: 14px; padding: 22px 26px; align-items: flex-start; }
.lp-strip > div + div { border-left: 1px solid var(--border); }
.lp-strip b { font-size: 14.5px; display: block; margin-bottom: 3px; }
.lp-strip p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── Tipos de negocio ─────────────────────────────────────────────────── */
.lp-biz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lp-biz .lp-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.lp-biz .lp-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -16px rgba(20,19,43,.18); }
.lp-biz b { font-size: 15px; }
.lp-biz p { font-size: 12.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.lp-biz .lp-go { align-self: flex-end; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.lp-biz .lp-go .lucide { width: 15px; height: 15px; }
.lp-biz .lp-card:hover .lp-go { color: var(--brand); }

/* ── Pasos ─────────────────────────────────────────────────────────────── */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-step { position: relative; padding-top: 17px; }
.lp-step-num { position: absolute; top: 0; left: 22px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; background: var(--brand); color: #fff; border: 3px solid var(--bg); box-shadow: 0 8px 18px -6px rgba(var(--brand-rgb), .5); }
.lp-step .lp-card { display: flex; gap: 14px; align-items: flex-start; padding: 30px 22px 22px; height: 100%; }
.lp-step b { font-size: 16px; display: block; margin-bottom: 5px; }
.lp-step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.lp-step-arrow { position: absolute; right: -19px; top: 54px; color: rgba(var(--brand-rgb), .55); z-index: 2; }
.lp-step-arrow .lucide { width: 20px; height: 20px; }

/* ── PRUÉBALO AHORA ───────────────────────────────────────────────────── */
.pd { display: grid; grid-template-columns: 1fr 300px; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(20,19,43,.28); overflow: hidden; }
.pd-main { padding: 24px 26px 26px; min-width: 0; }
.pd-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); grid-column: 1 / -1; font-size: 12px; color: var(--muted); font-weight: 700; }
.pd-bar .lp-dot { width: 9px; height: 9px; border-radius: 50%; }
.pd-bar .url { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-steps { display: flex; gap: 6px; margin-bottom: 20px; list-style: none; padding: 0; }
.pd-steps li { flex: 1; min-width: 0; }
.pd-steps button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: 11.5px; font-weight: 800; text-align: left; }
.pd-steps button:disabled { cursor: default; }
.pd-steps button i { display: block; width: 100%; height: 5px; border-radius: 9px; background: #e7e6f3; transition: background .3s; }
.pd-steps li.on button, .pd-steps li.done button { color: var(--ink); }
.pd-steps li.on button i, .pd-steps li.done button i { background: var(--brand); }
.pd-steps li.on button span { color: var(--brand); }
.pd-steps span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pd-h { font-size: 19px; margin-bottom: 4px; }
.pd-p { font-size: 13px; color: var(--muted); margin-bottom: 16px !important; }
.pd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pd-opt { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; color: var(--ink); }
.pd-opt:hover { border-color: rgba(var(--brand-rgb), .5); transform: translateY(-1px); }
.pd-opt[aria-pressed="true"] { border-color: var(--brand); background: rgba(var(--brand-rgb), .06); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.pd-opt b { display: block; font-size: 14px; }
.pd-opt small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.pd-opt .pr { margin-left: auto; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.pd-opt .lp-ico { width: 40px; height: 40px; border-radius: 12px; }
.pd-opt .lp-ico .lucide { width: 19px; height: 19px; }
.pd-av { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.pd-days { display: flex; gap: 3px; margin-top: 6px; }
.pd-days em { font-style: normal; font-size: 9.5px; font-weight: 800; width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.pd-days em.no { background: #f1f0f7; color: var(--faint); }
.pd-dt { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.pd-cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pd-cal-h b { font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.pd-cal-h button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-soft); }
.pd-cal-h button:disabled { opacity: .35; cursor: default; }
.pd-cal-h .lucide { width: 16px; height: 16px; }
.pd-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pd-cal .dw { text-align: center; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; padding-bottom: 2px; }
.pd-cal button { height: 36px; border-radius: 10px; border: 0; background: #f5f4fb; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); cursor: pointer; position: relative; transition: background .15s, color .15s; }
.pd-cal button:hover:not(:disabled):not([aria-pressed="true"]) { background: rgba(var(--brand-rgb), .14); }
.pd-cal button:disabled { background: transparent; color: #c9c8db; cursor: default; }
.pd-cal button.hol { color: var(--bad); background: rgba(var(--bad-rgb), .06); text-decoration: line-through; }
.pd-cal button.today::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); }
.pd-cal button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.pd-cal button[aria-pressed="true"]::after { background: #fff; }
.pd-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 11px; color: var(--muted); font-weight: 600; }
.pd-legend span { display: inline-flex; align-items: center; gap: 5px; }
.pd-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pd-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; max-height: 262px; overflow-y: auto; padding: 2px; }
.pd-slots button { padding: 10px 4px; border-radius: 11px; border: 1.5px solid var(--border); background: #fff; font-weight: 800; font-size: 12.5px; color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.pd-slots button:hover:not(:disabled):not([aria-pressed="true"]) { border-color: rgba(var(--brand-rgb), .55); color: var(--brand); }
.pd-slots button:disabled { color: #c4c3d8; text-decoration: line-through; background: #fafafd; cursor: default; }
.pd-slots button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.pd-empty { font-size: 13px; color: var(--muted); padding: 22px 14px; text-align: center; border: 1.5px dashed var(--border); border-radius: 14px; }
.pd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-form .full { grid-column: 1 / -1; }
.pd-f label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.pd-f input { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
.pd-f input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14); }
.pd-f input[aria-invalid="true"] { border-color: var(--bad); }
.pd-f .err { display: none; font-size: 12px; color: var(--bad); margin-top: 5px; font-weight: 600; }
.pd-f .err.show { display: block; }
.pd-chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); cursor: pointer; border: 1px dashed rgba(var(--brand-rgb), .35); background: rgba(var(--brand-rgb), .04); border-radius: 12px; padding: 11px 13px; }
.pd-chk input { margin-top: 2px; accent-color: var(--brand); width: 16px; height: 16px; flex-shrink: 0; }
.pd-chk small { display: block; color: var(--muted); font-size: 11.5px; }
.pd-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; }
.pd-nav .lp-btn { padding: 11px 22px; font-size: 14px; }
.pd-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.pd-note .lucide { width: 14px; height: 14px; }
.pd-side { background: var(--surface-2); border-left: 1px solid var(--border); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.pd-side h4 { font-size: 15px; }
.pd-sum { display: flex; flex-direction: column; }
.pd-sum div { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 13px; }
.pd-sum div + div { border-top: 1px dashed var(--border); }
.pd-sum .lucide { width: 16px; height: 16px; color: var(--faint); flex-shrink: 0; margin-top: 1px; }
.pd-sum div.ok .lucide { color: var(--brand); }
.pd-sum span { display: block; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pd-sum b { display: block; font-weight: 700; color: var(--ink); }
.pd-sum b.ph { color: var(--faint); font-weight: 600; }
.pd-total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 12px; font-size: 13px; color: var(--muted); font-weight: 700; }
.pd-total b { font-family: 'Space Grotesk', sans-serif; font-size: 22px; color: var(--ink); }
.pd-done { text-align: center; max-width: 520px; margin: 4px auto 0; }
.pd-done .hs-check { width: 66px; height: 66px; }
.pd-done h3 { font-size: 23px; margin-bottom: 6px; }
.pd-done > p { font-size: 14px; color: var(--muted); }
.pd-code { display: inline-block; margin: 12px 0 18px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .08em; padding: 6px 14px; border-radius: 10px; background: rgba(var(--brand-rgb), .08); color: var(--brand); }
.pd-after { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.pd-after div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.pd-after div.show { opacity: 1; transform: none; }
.pd-after .lp-ico { width: 36px; height: 36px; border-radius: 10px; }
.pd-after .lp-ico .lucide { width: 17px; height: 17px; }
.pd-after b { font-size: 13.5px; display: block; }
.pd-after small { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; }
.pd-demo-tag { display: flex; justify-content: center; margin-top: 14px; }
.pd-demo-tag span { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; color: var(--warn); background: rgba(217,119,6,.08); border: 1px solid rgba(217,119,6,.2); padding: 6px 12px; border-radius: 999px; }
.pd-demo-tag .lucide { width: 14px; height: 14px; }

/* ── POR DENTRO ───────────────────────────────────────────────────────── */
.md-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.md-tab { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: all .18s; }
.md-tab .lucide { width: 16px; height: 16px; }
.md-tab:hover { color: var(--brand); border-color: rgba(var(--brand-rgb), .45); }
.md-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(var(--brand-rgb), .6); }
.md-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: 0 24px 50px -30px rgba(20,19,43,.25); }
.md-panel[hidden] { display: none; }
.md-txt h3 { font-size: 22px; margin: 12px 0 8px; }
.md-txt > p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.md-txt ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
.md-txt li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.md-txt li .lucide { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.md-hint { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand); }
.md-hint .lucide { width: 14px; height: 14px; }
.md-sim { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 16px; min-width: 0; }
.md-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.md-row + .md-row { margin-top: 10px; }
.md-seg { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.md-seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; color: var(--muted); cursor: pointer; }
.md-seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.md-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.md-kpis div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px; min-width: 0; }
.md-kpis small { display: block; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-kpis b { font-family: 'Space Grotesk', sans-serif; font-size: 18px; display: block; margin-top: 2px; white-space: nowrap; }
.md-toast { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: #fff; border: 1px solid rgba(var(--brand-rgb), .3); border-radius: 12px; padding: 9px 12px; display: none; gap: 8px; align-items: center; }
.md-toast.show { display: flex; animation: hsIn .35s ease; }
.md-toast .lucide { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.md-sw { position: relative; width: 38px; height: 22px; border-radius: 999px; border: 0; background: #d9d8ea; cursor: pointer; flex-shrink: 0; transition: background .2s; padding: 0; }
.md-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.md-sw[aria-checked="true"] { background: var(--brand); }
.md-sw[aria-checked="true"]::after { transform: translateX(16px); }

/* Agenda */
.ag-grid { display: grid; grid-template-columns: 40px repeat(3, 1fr); gap: 0 6px; position: relative; }
.ag-head { font-size: 11.5px; font-weight: 800; text-align: center; padding-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
.ag-head i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ag-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-hours { display: flex; flex-direction: column; }
.ag-hours span { height: 44px; font-size: 10px; color: var(--muted); font-weight: 700; }
.ag-col { position: relative; height: 264px; background: repeating-linear-gradient(#fff 0 43px, var(--border) 43px 44px); border-radius: 10px; border: 1px solid var(--border); }
.ag-blk { position: absolute; left: 3px; right: 3px; border-radius: 8px; padding: 5px 7px; text-align: left; border: 0; cursor: pointer; font-size: 11px; line-height: 1.25; color: var(--ink); background: rgba(var(--brand-rgb), .13); border-left: 3px solid var(--brand); overflow: hidden; transition: transform .15s, box-shadow .15s, background .2s; }
.ag-blk:hover { transform: scale(1.02); box-shadow: 0 6px 16px -8px rgba(20,19,43,.4); }
.ag-blk b { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-blk small { color: var(--muted); font-size: 10px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-blk.st-completada { background: rgba(var(--ok-rgb), .14); border-left-color: var(--ok); }
.ag-blk.st-cancelada { background: #f1f0f6; border-left-color: #b9b8cc; color: var(--faint); text-decoration: line-through; }
.ag-blk.cur { box-shadow: 0 0 0 2px var(--ink); }
.ag-blk.dim { opacity: .25; }
.ag-det { margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ag-det .who { flex: 1; min-width: 160px; }
.ag-det b { font-size: 13.5px; display: block; }
.ag-det small { font-size: 12px; color: var(--muted); }
.ag-st { font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.ag-st.st-confirmada { background: rgba(var(--brand-rgb), .12); color: var(--brand); }
.ag-st.st-completada { background: rgba(var(--ok-rgb), .12); color: var(--ok); }
.ag-st.st-cancelada { background: #eeedf4; color: var(--muted); }
.ag-cnt { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 10px; }
.ag-cnt b { color: var(--ink); }

/* Clientes */
.cl-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 12px; }
.cl-search { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; font-family: inherit; margin-bottom: 8px; outline: none; background: #fff; }
.cl-search:focus { border-color: var(--brand); }
.cl-list { display: flex; flex-direction: column; gap: 5px; }
.cl-list button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 7px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; color: var(--ink); }
.cl-list button:hover { background: #fff; border-color: var(--border); }
.cl-list button[aria-pressed="true"] { background: #fff; border-color: var(--brand); }
.cl-list b { font-size: 12.5px; display: block; }
.cl-list small { font-size: 10.5px; color: var(--muted); display: block; }
.cl-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; flex-shrink: 0; }
.cl-exp { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; min-width: 0; }
.cl-exp-h { display: flex; gap: 10px; align-items: center; }
.cl-exp-h .cl-av { width: 40px; height: 40px; font-size: 14px; }
.cl-exp-h b { font-size: 15px; display: block; }
.cl-exp-h small { font-size: 12px; color: var(--muted); }
.cl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.cl-stats div { background: var(--surface-2); border-radius: 10px; padding: 7px 8px; }
.cl-stats small { font-size: 9.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; display: block; }
.cl-stats b { font-size: 13px; }
.cl-tl { display: flex; flex-direction: column; gap: 0; max-height: 170px; overflow-y: auto; }
.cl-tl div { display: flex; gap: 10px; padding: 7px 0; font-size: 12.5px; border-top: 1px dashed var(--border); }
.cl-tl div:first-child { border-top: 0; }
.cl-tl .lucide { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.cl-tl div.note .lucide { color: var(--warn); }
.cl-tl div.fresh { animation: hsIn .4s ease; }
.cl-tl small { color: var(--muted); display: block; font-size: 11px; }
.cl-add { display: flex; gap: 6px; margin-top: 10px; }
.cl-add input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; font-family: inherit; outline: none; }
.cl-add input:focus { border-color: var(--brand); }
.cl-add button { padding: 8px 12px; font-size: 12.5px; }

/* Equipo */
.eq-people { display: flex; gap: 8px; flex-wrap: wrap; }
.eq-people button { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.eq-people button[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.eq-people .cl-av { width: 26px; height: 26px; font-size: 10.5px; }
.eq-role { font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.eq-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 12px; }
.eq-week button { padding: 8px 0; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-size: 11.5px; font-weight: 800; color: var(--faint); }
.eq-week button[aria-pressed="true"] { border-color: var(--brand); background: rgba(var(--brand-rgb), .09); color: var(--brand); }
.eq-hours { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); font-weight: 700; flex-wrap: wrap; }
.eq-hours select { border: 1px solid var(--border); border-radius: 9px; padding: 6px 8px; font-family: inherit; font-size: 12.5px; background: #fff; color: var(--ink); }
.eq-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.eq-out div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.eq-out small { display: block; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.eq-out b { font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.eq-com { margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.eq-com label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.eq-com input[type=range] { width: 100%; accent-color: var(--brand); margin: 8px 0 4px; }
.eq-com p { font-size: 12px; color: var(--muted); }
.eq-com p b { color: var(--ink); }

/* Sedes */
.sd-list { display: flex; flex-direction: column; gap: 8px; }
.sd-item { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.sd-item .lp-ico { width: 36px; height: 36px; border-radius: 10px; }
.sd-item .lp-ico .lucide { width: 17px; height: 17px; }
.sd-item div.t { flex: 1; min-width: 0; }
.sd-item b { font-size: 13px; display: block; }
.sd-item small { font-size: 11.5px; color: var(--muted); display: block; }
.sd-item.off { opacity: .55; }
.sd-item.locked { border-style: dashed; }
.sd-prev { margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.sd-prev-h { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.sd-prev-o { display: flex; gap: 8px; flex-wrap: wrap; }
.sd-prev-o span { font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 10px; border: 1.5px solid var(--border); animation: hsIn .3s ease; }
.sd-lim { margin-top: 10px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.sd-lim .lucide { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }

/* Reseñas */
.rs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rs-list { display: flex; flex-direction: column; gap: 7px; }
.rs-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px; display: flex; gap: 8px; align-items: flex-start; }
.rs-item div.t { flex: 1; min-width: 0; }
.rs-item b { font-size: 12px; }
.rs-item p { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-top: 2px !important; }
.rs-stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; }
.rs-stars .no { color: #dcdbe8; }
.rs-home { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.rs-home-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rs-home-h b.avg { font-family: 'Space Grotesk', sans-serif; font-size: 28px; }
.rs-home-h small { font-size: 11px; color: var(--muted); display: block; }
.rs-cards { display: flex; flex-direction: column; gap: 6px; }
.rs-cards div { border-radius: 10px; background: var(--surface-2); padding: 8px 10px; font-size: 11.5px; animation: hsIn .3s ease; }
.rs-cards div i { font-style: normal; color: var(--muted); display: block; margin-top: 2px; }
.rs-flow { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
.rs-flow span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.rs-flow .lucide { width: 13px; height: 13px; color: var(--faint); }

/* Tu página */
.hp-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 12px; }
.hp-ctrl { display: flex; flex-direction: column; gap: 6px; }
.hp-ctrl .lbl { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.hp-tg { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12.5px; font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px 8px; }
.hp-tg span { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; }
.hp-tg .md-sw { flex-shrink: 0; }
.hp-tg .lp-pchip { font-size: 8.5px; padding: 2px 6px; font-style: normal; }
.hp-sw { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-sw button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; box-shadow: 0 0 0 1px var(--border); }
.hp-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.hp-prev { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; min-width: 0; --hpc: var(--brand); }
.hp-url { font-size: 10.5px; color: var(--muted); font-weight: 700; text-align: center; padding: 6px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; height: 292px; overflow: hidden; }
.hp-sec { border-radius: 10px; animation: hsIn .3s ease; }
.hp-hero { background: var(--hpc); color: #fff; padding: 14px 12px; transition: background .3s; }
.hp-hero b { font-size: 14px; display: block; font-family: 'Space Grotesk', sans-serif; }
.hp-hero small { font-size: 10.5px; opacity: .85; }
.hp-hero span { display: inline-block; margin-top: 8px; background: #fff; color: var(--hpc); font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.hp-blk { border: 1px solid var(--border); padding: 8px 10px; }
.hp-blk h5 { font-size: 10.5px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; color: var(--hpc); transition: color .3s; font-family: 'DM Sans', sans-serif; }
.hp-items { display: flex; gap: 6px; }
.hp-items i { flex: 1; height: 22px; border-radius: 6px; background: #f1f0f7; display: block; }
.hp-items i.c { width: 22px; flex: none; border-radius: 50%; }

/* Reportes */
.rp-chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding: 10px 6px 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.rp-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 2px; min-width: 0; }
.rp-bar i { display: block; border-radius: 5px 5px 0 0; background: var(--brand); transition: height .45s ease; min-height: 2px; }
.rp-bar i.c { background: rgba(var(--brand-rgb), .3); border-radius: 0; }
.rp-x { display: flex; gap: 6px; padding: 4px 6px 0; }
.rp-x span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 700; color: var(--muted); min-width: 0; overflow: hidden; }
.rp-leg { display: flex; gap: 12px; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 6px; }
.rp-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); margin-right: 4px; vertical-align: -1px; }
.rp-leg i.c { background: rgba(var(--brand-rgb), .3); }
.rp-log { margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 4px 12px; }
.rp-log div { display: flex; gap: 8px; align-items: center; padding: 7px 0; font-size: 12px; }
.rp-log div + div { border-top: 1px dashed var(--border); }
.rp-log .lucide { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.rp-log span { flex: 1; min-width: 0; color: var(--ink-soft); }
.rp-log small { color: var(--faint); font-weight: 700; white-space: nowrap; }
.rp-sel { border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; font-family: inherit; font-size: 12px; font-weight: 700; background: #fff; color: var(--ink); }

/* ── Funciones ────────────────────────────────────────────────────────── */
.lp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-feat { padding: 20px; display: flex; flex-direction: column; gap: 9px; transition: transform .2s, box-shadow .2s; }
.lp-feat:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -16px rgba(20,19,43,.18); }
.lp-feat-h { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.lp-feat .lp-ico { width: 38px; height: 38px; border-radius: 11px; }
.lp-feat .lp-ico .lucide { width: 18px; height: 18px; }
.lp-feat b { font-size: 14.5px; }
.lp-feat p { font-size: 12.8px; color: var(--muted); line-height: 1.55; }

/* ── Multi-dispositivo (capturas reales) ──────────────────────────────── */
.lp-app { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.lp-app-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.lp-app-list > div { display: flex; gap: 12px; align-items: flex-start; }
.lp-app-list .lp-ico { width: 36px; height: 36px; border-radius: 10px; }
.lp-app-list .lp-ico .lucide { width: 17px; height: 17px; }
.lp-app-list b { font-size: 14.5px; display: block; margin-bottom: 2px; }
.lp-app-list p { font-size: 13px; color: var(--muted); }
.lp-devices { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 26px; }
.lp-frame-pc { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 26px 55px -22px rgba(20,19,43,.3); overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-mock-bar .lp-url { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; }
.lp-shot { display: block; width: 100%; height: auto; }
.lp-frame-phone { position: absolute; right: -6px; bottom: 0; width: 168px; border: 5px solid #14132b; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 22px 46px -16px rgba(20,19,43,.35); }

/* ── Planes ───────────────────────────────────────────────────────────── */
.lp-ptog { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -14px 0 26px; }
.lp-seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; box-shadow: 0 4px 14px -8px rgba(20,19,43,.15); }
.lp-seg button { border: 0; background: transparent; border-radius: 999px; cursor: pointer; padding: 7px 16px; font-size: 12.5px; font-weight: 800; color: var(--muted); transition: all .18s; display: inline-flex; align-items: center; gap: 6px; }
.lp-seg button:hover { color: var(--ink); }
.lp-seg button.on { background: var(--brand); color: #fff; }
.lp-seg button em { font-style: normal; font-size: 10px; background: rgba(var(--ok-rgb), .14); color: var(--ok); padding: 2px 7px; border-radius: 999px; }
.lp-seg button.on em { background: rgba(255,255,255,.22); color: #fff; }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.lp-plan { display: flex; flex-direction: column; padding: 28px; position: relative; transition: transform .2s; }
.lp-plan:hover { transform: translateY(-3px); }
.lp-plan.pop { border-color: rgba(var(--brand-rgb), .45); box-shadow: 0 24px 50px -20px rgba(var(--brand-rgb), .35); }
.lp-plan-pop-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; background: var(--brand); color: #fff; padding: 5px 14px; border-radius: 999px; box-shadow: 0 8px 18px -6px rgba(var(--brand-rgb), .5); white-space: nowrap; }
.lp-plan b.pn { font-size: 16.5px; display: block; margin-top: 14px; }
.lp-plan .pdsc { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; min-height: 36px; }
.lp-price { margin: 16px 0 4px; min-height: 66px; }
.lp-price .v { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; color: var(--ink); }
.lp-price .per { font-size: 13px; color: var(--muted); font-weight: 600; }
.lp-price small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.lp-price small.save { color: var(--ok); font-weight: 700; }
.lp-plan ul { list-style: none; margin: 18px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp-plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.lp-plan li .lucide { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.lp-lims { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 4px; }
.lp-lim { background: rgba(var(--brand-rgb), .05); border: 1px solid rgba(var(--brand-rgb), .14); border-radius: 10px; padding: 8px 10px; text-align: center; }
.lp-lim.wide { grid-column: 1 / -1; }
.lp-lim b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.lp-lim span { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 1px; }
.lp-plan-note { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.lp-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.lp-faq-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .25s; }
.lp-faq-item.open { border-color: rgba(var(--brand-rgb), .4); }
.lp-faq-q { display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; padding: 17px 18px; font-weight: 700; font-size: 14.5px; text-align: left; background: none; border: none; color: var(--ink); }
.lp-faq-q .lp-q-ico { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: rgba(var(--brand-rgb), .1); color: var(--brand); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; }
.lp-faq-q .lucide { width: 15px; height: 15px; margin-left: auto; color: var(--muted); transition: transform .3s ease; flex-shrink: 0; }
.lp-faq-item.open .lp-faq-q .lucide { transform: rotate(180deg); }
.lp-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s ease; }
.lp-faq-item.open .lp-faq-a { grid-template-rows: 1fr; }
.lp-faq-a-in { overflow: hidden; }
.lp-faq-a-in > div { padding: 0 18px 18px 56px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Contacto ─────────────────────────────────────────────────────────── */
.lp-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.lp-contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.lp-contact-info > div { display: flex; gap: 13px; align-items: center; }
.lp-contact-info .lp-ico { width: 40px; height: 40px; border-radius: 12px; }
.lp-contact-info .lp-ico .lucide { width: 18px; height: 18px; }
.lp-contact-info b { font-size: 14.5px; display: block; word-break: break-word; }
.lp-contact-info span { font-size: 13px; color: var(--muted); }
.lp-form { padding: 30px; }
.lp-form > b { font-size: 18px; font-family: 'Space Grotesk', sans-serif; display: block; }
.lp-form > p { font-size: 13px; color: var(--muted); margin: 6px 0 20px; }
.lp-field { margin-bottom: 14px; }
.lp-field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.lp-field label i { color: var(--bad); font-style: normal; }
.lp-field input, .lp-field textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
.lp-field input:focus, .lp-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14); }
.lp-field textarea { resize: vertical; min-height: 96px; }
.lp-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-msg { margin-top: 14px; font-size: 13.5px; font-weight: 600; border-radius: 12px; padding: 12px 14px; display: none; }
.lp-msg.ok { display: block; background: rgba(var(--ok-rgb), .1); color: #15803d; border: 1px solid rgba(var(--ok-rgb), .25); }
.lp-msg.err { display: block; background: rgba(var(--bad-rgb), .08); color: #b91c1c; border: 1px solid rgba(var(--bad-rgb), .22); }
.lp-msg a { color: inherit; text-decoration: underline; }

/* ── CTA final ────────────────────────────────────────────────────────── */
.lp-final { position: relative; overflow: hidden; border-radius: 28px; padding: 54px 40px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-mid)); box-shadow: 0 30px 60px -30px rgba(var(--brand-rgb), .6); }
.lp-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 40%), radial-gradient(circle at 85% 90%, rgba(255,255,255,.12), transparent 45%); pointer-events: none; }
.lp-final > * { position: relative; }
.lp-final h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.lp-final p { opacity: .9; margin: 12px auto 26px !important; max-width: 560px; font-size: 16px; line-height: 1.6; }
.lp-final .lp-btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.lp-final .lp-btn-primary:hover { background: #f4f3ff; }
.lp-final .lp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.lp-final .lp-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.lp-final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FAB WhatsApp ─────────────────────────────────────────────────────── */
.lp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: #22c55e; color: #fff !important; font-weight: 800; font-size: 13px; padding: 12px 18px; border-radius: 999px; box-shadow: 0 14px 32px -10px rgba(34,197,94,.55); transition: transform .2s; }
.lp-fab svg { width: 18px; height: 18px; }
.lp-fab:hover { transform: translateY(-2px); }

/* ── Reveal ───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .lp-root *, .lp-root *::before, .lp-root *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lp-feats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero { padding: 44px 0 40px; }
  .hs-stage { max-width: 640px; margin: 0 auto; }
  .lp-biz { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: 1fr; gap: 26px; }
  .lp-step-arrow { display: none; }
  .pd { grid-template-columns: 1fr; }
  .pd-side { border-left: 0; border-top: 1px solid var(--border); }
  .md-panel { grid-template-columns: 1fr; }
  .lp-feats { grid-template-columns: repeat(2, 1fr); }
  .lp-app { grid-template-columns: 1fr; }
  .lp-plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .lp-faq { grid-template-columns: 1fr; }
  .lp-contact { grid-template-columns: 1fr; }
  .lp-strip { grid-template-columns: 1fr; }
  .lp-strip > div + div { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-sec { padding: 56px 0; }
  .lp-hero { padding: 64px 0 30px; }
  .lp-hero-ctas .lp-btn { flex: 1 1 auto; }
  .hs-stage { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .hs-phone { height: 400px; max-width: 280px; width: 100%; margin: 0 auto; }
  .hs-side .hs-panel:first-child { display: none; }
  .hs-toasts { min-height: 0; }
  .hs-toast:not(.show) { display: none; }
  .lp-biz, .lp-feats { grid-template-columns: 1fr; }
  .lp-2col { grid-template-columns: 1fr; }
  .pd-main { padding: 18px 16px 20px; }
  .pd-side { padding: 18px 16px; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-dt { grid-template-columns: 1fr; }
  .pd-form { grid-template-columns: 1fr; }
  .pd-steps span { font-size: 10px; }
  .pd-slots { grid-template-columns: repeat(4, 1fr); }
  .md-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 18px; padding: 2px 16px 6px; scrollbar-width: none; }
  .md-tabs::-webkit-scrollbar { display: none; }
  .md-tab { flex-shrink: 0; }
  .md-panel { padding: 18px 14px; gap: 18px; }
  .md-kpis { grid-template-columns: repeat(2, 1fr); }
  .cl-wrap, .rs-wrap, .hp-wrap { grid-template-columns: 1fr; }
  .cl-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .cl-list button { flex-shrink: 0; width: auto; }
  .hp-ctrl { display: grid; grid-template-columns: 1fr 1fr; }
  .hp-ctrl .lbl, .hp-ctrl .hp-sw { grid-column: 1 / -1; }
  .lp-frame-phone { width: 120px; }
  .lp-final { padding: 40px 20px; border-radius: 22px; }
  .lp-faq-a-in > div { padding-left: 18px; }
  .lp-fab span { display: none; }
  .lp-fab { padding: 13px; }
}

/* ── Recomendador de plan (colaboradores + servicios) ── */
.lp-rec { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin: 0 auto 26px; max-width: 1080px; }
.lp-rec-in, .lp-rec-out { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.lp-rec-in { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lp-rec-sl label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.lp-rec-v { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 12px; }
.lp-rec-v b { font-family: 'Space Grotesk', 'DM Sans', sans-serif; font-size: 2.3rem; line-height: 1; color: var(--ink); letter-spacing: -1px; }
.lp-rec-v span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.lp-rec-sl input[type=range] { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--brand) var(--p), var(--border) var(--p)); }
.lp-rec-sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); box-shadow: 0 2px 8px rgba(var(--brand-rgb), .35); }
.lp-rec-sl input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); }
.lp-rec-sl input[type=range]:focus-visible { box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .2); }
.lp-rec-out { border-color: rgba(var(--brand-rgb), .5); background: rgba(var(--brand-rgb), .05); display: flex; flex-direction: column; justify-content: center; }
.lp-rec-eb { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.lp-rec-name { font-family: 'Space Grotesk', 'DM Sans', sans-serif; font-size: 1.35rem; color: var(--ink); margin: 6px 0 4px; }
.lp-rec-txt { color: var(--muted); font-size: .9rem; margin: 0; }
.lp-rec .lp-rec-go { margin-top: 10px; align-self: flex-start; font-weight: 700; font-size: .88rem; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.lp-rec-go svg { width: 15px; height: 15px; }
.lp-plan.lp-rec-on { outline: 2px solid var(--brand); outline-offset: 3px; }
.lp-plan.lp-rec-flash { animation: lpRecFlash 1.2s ease; }
@keyframes lpRecFlash { 0%, 100% { transform: none; } 30% { transform: translateY(-6px); box-shadow: 0 28px 60px -22px rgba(var(--brand-rgb), .55); } }
@media (max-width: 900px) { .lp-rec { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lp-rec-in { grid-template-columns: 1fr; gap: 18px; padding: 18px; } .lp-rec-out { padding: 18px; } .lp-rec-v b { font-size: 2rem; } }
@media (prefers-reduced-motion: reduce) { .lp-plan.lp-rec-flash { animation: none; } }
