/* =========================================================
   Propuesta MedicalCenter — sistema visual
   ========================================================= */
:root {
    --green: #009f48;
    --green-600: #00863d;
    --green-400: #2bbf6e;
    --green-200: #8fe3b6;
    --green-900: #0b3b2e;
    --mint: #e8f5ee;
    --mint-2: #d3ecde;
    --navy: #12263a;
    --ink: #1c2b27;
    --muted: #5f6f6a;
    --line: #e3e8e5;
    --bg: #ffffff;
    --tint: #f5f8f6;
    --amber: #a86a12;
    --amber-bg: #fdf3e1;
    --red: #b42318;
    --red-bg: #fde8e7;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(18, 38, 58, .04), 0 10px 30px rgba(18, 38, 58, .07);
    --shadow-lg: 0 30px 60px -20px rgba(18, 38, 58, .25);
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-600); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
code, .mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .88em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); font-weight: 400; }
.muted-light { color: #9db8ac; }
.small { font-size: .875rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow--light { color: #7fdcaa; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7fdcaa; box-shadow: 0 0 0 0 rgba(127, 220, 170, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(127, 220, 170, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 220, 170, 0); } }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; }
}

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--sans); border-radius: 999px; padding: 13px 24px; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 159, 72, .6); }
.btn--primary:hover { background: #00b352; }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.14); }
.btn--dark { background: var(--navy); color: #fff; }

/* ---------- progreso y topbar ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-200)); transform-origin: 0 50%; transform: scaleX(0); }
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.topbar.is-solid { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(18,38,58,.15); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.topbar__brand img { height: 40px; width: auto; }
.topbar__nav { display: flex; gap: 4px; margin-left: auto; }
.topbar__nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.topbar__nav a:hover { background: var(--mint); color: var(--green-600); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #0b3b2e 0%, #0d2f2a 45%, #12263a 100%); color: #e9f3ee; padding-bottom: 72px; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero__glow--a { width: 520px; height: 520px; background: rgba(0, 159, 72, .45); top: -180px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--b { width: 420px; height: 420px; background: rgba(43, 120, 190, .25); bottom: -200px; left: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.1); } }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 80px 56px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.02em; line-height: 1.05; color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: italic; background: linear-gradient(90deg, #8fe3b6, #5fd49a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: #c3d8ce; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero__meta { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 28px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__meta dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #86ab9b; }
.hero__meta dd { margin: 2px 0 0; font-weight: 600; color: #fff; font-size: .9rem; }

.hero__visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone--hero { width: 300px; height: 560px; background: #efeae2; border: 10px solid #0a1512; border-radius: 42px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); display: flex; flex-direction: column; overflow: hidden; position: relative; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.phone__notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #0a1512; border-radius: 14px; z-index: 2; }
.wa-head { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 36px 14px 12px; }
.wa-head img { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 3px; }
.wa-head b { display: block; font-size: .9rem; }
.wa-head small { font-size: .72rem; opacity: .85; }
.wa-ai { font-weight: 700; background: rgba(255,255,255,.18); border-radius: 5px; padding: 0 5px; }
.wa-chat { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: .84rem; color: #111; scrollbar-width: none; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.wa-chat p { margin: 0; padding: 8px 11px; border-radius: 12px; max-width: 86%; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.wa-chat .in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.wa-chat .out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.wa-chat .btns { display: flex; flex-wrap: wrap; gap: 6px; background: none; box-shadow: none; padding: 0; max-width: 100%; }
.wa-chat .btns span { background: #fff; color: #027eb5; border-radius: 10px; padding: 7px 10px; font-weight: 600; font-size: .78rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); transition: background .25s, color .25s, transform .25s; }
.wa-chat .btns span.tap { background: #027eb5; color: #fff; transform: scale(.95); }
.wa-qr { display: block; width: 116px; height: 116px; margin: 2px auto 8px; border-radius: 8px; padding: 7px; border: 1px solid #e3e8e5; position: relative; background: conic-gradient(from 90deg at 30% 30%, #12263a 25%, transparent 0) 0 0 / 24px 24px, repeating-conic-gradient(#12263a 0 25%, #fff 0 50%) 0 0 / 10px 10px; background-clip: content-box; }
.wa-qr::after { content: ''; position: absolute; inset: 44px; background: #fff url('https://medicalcenter.bo/wp-content/uploads/2021/05/cropped-logo-32x32.png') center/80% no-repeat; border-radius: 4px; }
.wa-chat u { color: #027eb5; }
.typing { display: flex; gap: 4px; padding: 12px 14px !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5a1; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; transform: translateY(-2px); } }
.float-card { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .8rem; animation: bob 7s ease-in-out infinite; opacity: 0; scale: .85; transition: opacity .5s var(--ease), scale .5s var(--ease); }
.float-card.is-on { opacity: 1; scale: 1; }
.float-card b { display: block; color: var(--navy); font-size: .85rem; }
.float-card small { color: var(--muted); }
.float-card--a { top: 28px; left: -36px; }
.float-card--b { bottom: 4px; right: -36px; animation-delay: -3s; }
.fc-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--mint); color: var(--green); font-weight: 800; }
.fc-ico--qr { background: var(--navy); color: #fff; font-size: .7rem; }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.stat { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat:first-child b { color: var(--green-200); }
.stat--link { text-decoration: none; transition: background .25s; border-radius: 20px 0 0 20px; }
.stat--link:hover { background: rgba(255,255,255,.06); }
.stat--link span { color: #c3d8ce; }
.stat > span { display: block; font-size: .82rem; color: #9fbdb0; }

/* ---------- secciones ---------- */
.sec { padding-block: 96px; }
.sec--tint { background: var(--tint); }
.sec--dark { background: linear-gradient(170deg, #0b3b2e, #12263a); color: #d6e6de; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 44px; }
.sec__num { font-family: var(--serif); font-size: 1rem; color: var(--green); border: 1px solid var(--mint-2); background: var(--mint); border-radius: 999px; padding: 4px 14px; margin-top: 8px; }
.sec--dark .sec__num { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--green-200); }
.sec h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.015em; margin-bottom: 14px; }
.sec__sub { font-size: 1.05rem; color: var(--muted); max-width: 72ch; margin: 0; }
.sec--dark .sec__sub { color: #b4cbc0; }
.sec--dark .sec__sub strong { color: #fff; }
.h3 { font-size: 1.2rem; margin: 56px 0 20px; }
.h4 { font-weight: 700; color: var(--navy); margin: 32px 0 12px; }

/* pilares */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar { border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--mint-2); }
.pillar__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--mint), #fff); border: 1px solid var(--mint-2); margin-bottom: 18px; transition: background .35s; }
.pillar__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar:hover .pillar__ico { background: var(--green); }
.pillar:hover .pillar__ico svg { stroke: #fff; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { font-size: .92rem; color: var(--muted); margin: 0; }
.principle { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px 28px; border-radius: 20px; background: linear-gradient(90deg, var(--mint), #f4faf7); border: 1px solid var(--mint-2); }
.principle p { margin: 0; color: var(--green-900); }
.principle__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: #fff; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* alcance */
.scope { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.scope__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.scope__item:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); }
.scope__item span { font: 700 .78rem var(--sans); color: var(--green); letter-spacing: .08em; }
.scope__item h4 { font-size: .98rem; margin: 8px 0 6px; }
.scope__item p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- demo del portal ---------- */
.demo { position: relative; padding: 28px; border-radius: 28px; background: radial-gradient(800px 300px at 20% 0%, var(--mint), transparent), linear-gradient(160deg, #f1f7f4, #eef2f6); border: 1px solid var(--line); }
.demo__tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.demo__tabs button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: .9rem; padding: 10px 20px; border-radius: 999px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.demo__tabs button[aria-selected="true"] { color: #fff; }
.demo__ink { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--green); transition: transform .4s var(--ease), width .4s var(--ease); box-shadow: 0 6px 16px -6px rgba(0,159,72,.6); }

.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; background: #f1f4f2; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.browser__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__bar em { font-style: normal; font-size: .78rem; color: var(--muted); background: #fff; border-radius: 8px; padding: 4px 16px; margin-left: 14px; flex: 1; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 440px; }
.app__side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; background: #fbfcfb; }
.app__side img { width: 130px; margin: 0 0 20px 8px; }
.app__side nav { display: flex; flex-direction: column; gap: 2px; }
.app__side nav a { font-size: .85rem; color: var(--muted); padding: 9px 12px; border-radius: 10px; }
.app__side nav a.on { background: var(--mint); color: var(--green-600); font-weight: 600; }
.app__user { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px 8px 0; border-top: 1px solid var(--line); }
.app__user i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; }
.app__user b { display: block; font-size: .82rem; color: var(--navy); }
.app__user small { font-size: .72rem; color: var(--muted); }
.panel { display: none; padding: 26px 30px; }
.panel.is-on { display: block; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.app__hello { font-size: 1.15rem; color: var(--navy); }
.app__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.app__top .app__hello { margin: 0; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, var(--green-900), #177052); margin-bottom: 16px; flex-wrap: wrap; }
.next small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #9fd8b9; }
.next b { display: block; font-size: 1.05rem; }
.next span:not(.pill) { font-size: .84rem; color: #cfe6da; }
.next__act { display: flex; align-items: center; gap: 8px; }
.next .mini { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--green); transform: translateY(-2px); }
.tile small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tile b { font-size: .95rem; color: var(--navy); }
.list { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.list__title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 16px 0; margin: 0; }
.row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.row:last-child { border-bottom: 0; }
.row > span:first-child { color: var(--muted); }
.row b { font-weight: 600; color: var(--navy); }
.row--h { background: #f7f9f8; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.row--h b { font-weight: 700; color: var(--muted); }
.mini { font: 600 .76rem var(--sans); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .2s, color .2s; }
.mini:hover { border-color: var(--green); color: var(--green-600); }
.mini--solid { background: var(--green); color: #fff; border-color: var(--green); }
.mini--solid:hover { background: var(--green-600); color: #fff; }
.mini:disabled { opacity: .6; cursor: default; }
.seg { display: inline-flex; background: #f1f4f2; border-radius: 10px; padding: 3px; font-size: .78rem; }
.seg span { padding: 5px 12px; border-radius: 8px; color: var(--muted); }
.seg .on { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.agenda { display: flex; flex-direction: column; gap: 8px; }
.slot { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.slot time { font-size: .8rem; color: var(--muted); padding-top: 10px; font-variant-numeric: tabular-nums; }
.appt { border-radius: 12px; padding: 10px 14px; font-size: .85rem; border-left: 4px solid; }
.appt b { display: block; color: var(--navy); }
.appt small { color: var(--muted); }
.appt--ok { background: var(--mint); border-color: var(--green); }
.appt--wait { background: var(--amber-bg); border-color: #e0a64a; }
.appt--free { background: #fff; border: 1px dashed var(--mint-2); border-left: 4px dashed var(--green-400); color: var(--green-600); font-weight: 600; }
.appt--block { background: repeating-linear-gradient(135deg, #f1f4f2 0 8px, #e8ecea 8px 16px); border-color: #94a3a0; color: var(--muted); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpis div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpis b { display: block; font-size: 1.4rem; color: var(--navy); font-family: var(--serif); font-weight: 500; }
.kpis small { font-size: .76rem; color: var(--muted); }
.c-wait { color: var(--amber) !important; }
.c-bad { color: var(--red) !important; }
.pay { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.pay__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0 0 20px; }
.pay__dl dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pay__dl dd { margin: 0; font-weight: 600; color: var(--navy); }
.pay__dl .big { font-size: 1.4rem; font-family: var(--serif); font-weight: 500; }
.pay__steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; color: var(--muted); }
.pay__steps li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.pay__steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; transition: all .3s; }
.pay__steps li.done { color: var(--navy); }
.pay__steps li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--green); }
.pay__steps li.now { color: var(--amber); font-weight: 600; }
.pay__steps li.now::before { border-color: #e0a64a; border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay__qr { text-align: center; }
.qr { width: 190px; height: 190px; border-radius: 14px; padding: 12px; border: 1px solid var(--line); margin-bottom: 8px; position: relative; background: conic-gradient(from 90deg at 30% 30%, var(--navy) 25%, transparent 0) 0 0 / 38px 38px, repeating-conic-gradient(var(--navy) 0 25%, #fff 0 50%) 0 0 / 16px 16px; background-clip: content-box; }
.qr::after { content: ''; position: absolute; inset: 72px; background: #fff url('https://medicalcenter.bo/wp-content/uploads/2021/05/cropped-logo-32x32.png') center/80% no-repeat; border-radius: 6px; }

.pill { display: inline-block; font-size: .74rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pill--ok { background: var(--mint); color: var(--green-600); }
.pill--wait { background: var(--amber-bg); color: var(--amber); }
.pill--bad { background: var(--red-bg); color: var(--red); }
.pill--mute { background: #f1f4f2; color: var(--muted); }
.next .pill--ok { background: rgba(255,255,255,.95); }

.design-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 40px; }
.palette { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sw { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: .76rem; transition: transform .3s var(--ease); }
.sw:hover { transform: translateY(-4px); }
.sw::before { content: ''; display: block; height: 72px; background: var(--c); }
.sw span, .sw code { display: block; padding: 0 12px; }
.sw span { padding-top: 10px; font-weight: 600; }
.sw code { padding-bottom: 10px; color: var(--muted); }

.ticks, .bullets { list-style: none; padding: 0; margin: 0; }
.ticks li, .bullets li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: .95rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23009f48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.bullets li::before { content: ''; position: absolute; left: 7px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.bullets--x li::before { width: 12px; height: 12px; left: 4px; top: .45em; background: linear-gradient(45deg, transparent 44%, #9aa5a1 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #9aa5a1 44% 56%, transparent 56%); border-radius: 0; }

/* ---------- arquitectura ---------- */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1.15fr) 60px minmax(0, 1fr); align-items: center; gap: 4px; padding: 32px; border-radius: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.arch__col { display: flex; flex-direction: column; gap: 10px; }
.arch__col--core { background: rgba(0, 159, 72, .12); border: 1px dashed rgba(143, 227, 182, .45); border-radius: 18px; padding: 18px; }
.arch__label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb3a3; font-weight: 700; margin: 0 0 2px; }
.arch__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arch__flow { position: relative; height: 2px; background: rgba(143, 227, 182, .25); overflow: hidden; }
.arch__flow i { position: absolute; top: -2px; width: 14px; height: 6px; border-radius: 4px; background: var(--green-200); box-shadow: 0 0 12px var(--green-200); animation: flow 2.4s linear infinite; }
.arch__flow i:nth-child(2) { animation-delay: .8s; }
.arch__flow i:nth-child(3) { animation-delay: 1.6s; }
@keyframes flow { from { left: -14px; } to { left: 100%; } }
@keyframes flowY { from { top: -14px; } to { top: 100%; } }
.node { text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 11px 14px; font-weight: 600; font-size: .88rem; color: #fff; }
.node small { display: block; font-weight: 400; font-size: .74rem; color: #9fbdb0; }
.node--core { background: var(--green); border-color: var(--green); padding-block: 18px; box-shadow: 0 10px 30px -10px rgba(0,159,72,.8); }
.node--core small { color: #d7f5e5; }
.node--btn { cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.node--btn:hover { transform: translateX(4px); border-color: var(--green-200); }
.node--btn.is-on { background: #fff; color: var(--navy); border-color: #fff; }
.node--btn.is-on small { color: var(--muted); }
.sysdetail { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; padding: 28px 32px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.sysdetail__head h3 { color: var(--navy) !important; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.sysdetail__head p { color: var(--muted); margin: 6px 0 0; }
.sysdetail ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.sysdetail li { position: relative; padding-left: 28px; font-size: .92rem; animation: fadeIn .45s var(--ease) both; animation-delay: var(--d); }
.sysdetail li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 6px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%23009f48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.h3--light { color: #fff; }
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stack__item { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,.04); transition: background .3s, border-color .3s; }
.stack__item:hover { background: rgba(255,255,255,.08); border-color: rgba(143,227,182,.4); }
.stack__item small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb3a3; }
.stack__item b { display: block; color: #fff; margin: 4px 0 8px; font-size: .98rem; }
.stack__item span { font-size: .74rem; color: var(--green-200); border: 1px solid rgba(143,227,182,.3); padding: 2px 8px; border-radius: 6px; }

/* ---------- bots ---------- */
.kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 4px; display: inline-flex; align-items: center; gap: 8px; }
.kicker--light { color: var(--green-200); }
.bots { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.bots__wa { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bots__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.bots__head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.bots__unit { text-align: right; }
.bots__unit b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.8rem; color: var(--green); line-height: 1; }
.bots__unit small { font-size: .78rem; color: var(--muted); }
.botgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.botc { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.botc:hover { transform: translateY(-3px); border-color: var(--green-400); box-shadow: var(--shadow); }
.botc input { position: absolute; opacity: 0; pointer-events: none; }
.botc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.botc__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--mint); transition: background .25s; }
.botc__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.botc__check { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); transition: all .25s; }
.botc b { font-size: .95rem; color: var(--navy); }
.botc small { font-size: .82rem; color: var(--muted); line-height: 1.45; flex: 1; }
.botc__price { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 6px; }
.botc:has(input:checked) { border-color: var(--green); background: linear-gradient(180deg, var(--mint), #fff); }
.botc:has(input:checked) .botc__ico { background: var(--green); }
.botc:has(input:checked) .botc__ico svg { stroke: #fff; }
.botc:has(input:checked) .botc__check { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--green); }
.botc:has(input:checked) .botc__price { color: var(--green-600); }
.botc:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.bots__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.bots__foot b { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--navy); }

.voice { position: relative; overflow: hidden; border-radius: 24px; padding: 30px; color: #d6e6de; background: radial-gradient(420px 260px at 100% 0%, rgba(0,159,72,.4), transparent), linear-gradient(160deg, var(--green-900), var(--navy)); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; border: 2px solid transparent; transition: border-color .3s; }
.voice.is-on { border-color: var(--green-200); }
.voice h3 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 4px 0 10px; }
.voice__desc { font-size: .92rem; color: #b4cbc0; }
.voice__call { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.voice__who { display: flex; gap: 12px; align-items: center; }
.voice__who b { display: block; color: #fff; font-size: .9rem; }
.voice__who small { color: #9fbdb0; font-size: .76rem; }
.voice__avatar { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); }
.voice__avatar::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-200); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.voice__avatar svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; margin: 14px 0 12px; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: linear-gradient(var(--green-200), var(--green)); height: 20%; animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -73ms); }
@keyframes wave { 0% { height: 15%; } 50% { height: 90%; } 100% { height: 35%; } }
.voice__line { margin: 0; font-size: .84rem; color: #e6f2ec; font-style: italic; display: flex; gap: 10px; align-items: flex-start; }
.voice__line span { font-style: normal; font-size: .66rem; font-weight: 800; background: var(--green-200); color: var(--green-900); border-radius: 6px; padding: 2px 6px; margin-top: 2px; }
.voice__list { list-style: none; padding: 0; margin: 0 0 20px; font-size: .88rem; flex: 1; }
.voice__list li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.voice__list li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--green-200); }
.voice__toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); cursor: pointer; font-weight: 600; color: #fff; }
.voice__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.voice__toggle b { margin-left: auto; color: var(--green-200); white-space: nowrap; }
.voice__toggle .switch { background: rgba(255,255,255,.25); }
.voice__toggle input:checked + .switch { background: var(--green); }
.voice__toggle input:checked + .switch::after { transform: translateX(18px); }
.voice__toggle input:focus-visible + .switch { outline: 3px solid var(--green-200); outline-offset: 2px; }

.line--bot { background: var(--mint); }
.line--bot:hover { background: var(--mint-2); }
.price__hint { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.lines, .opt, .comp, .third__item { background: #fff; }

/* ---------- CRM ---------- */
.sec--crm { background: radial-gradient(900px 400px at 85% 0%, rgba(0,159,72,.09), transparent), linear-gradient(180deg, #f3f8f5, #fff 40%); }
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; position: relative; overflow: hidden; }
.pain::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, #e0a64a, #f2c879); }
.pain__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--amber-bg); margin-bottom: 14px; }
.pain__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pain h4 { font-size: 1rem; margin-bottom: 6px; }
.pain p { font-size: .88rem; color: var(--muted); margin: 0; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.flow::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--mint-2) 0 8px, transparent 8px 14px); }
.flow__step { position: relative; text-align: center; padding: 0 6px; cursor: pointer; outline: none; }
.flow__n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: #fff; border: 2px solid var(--mint-2); font-family: var(--serif); font-size: 1.1rem; color: var(--green); transition: all .4s var(--ease); }
.flow__step b { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.flow__step p { font-size: .84rem; color: var(--muted); margin: 0; transition: color .3s; }
.flow__step.is-done .flow__n { background: var(--mint); border-color: var(--green-400); }
.flow__step.is-on .flow__n { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(0,159,72,.12); }
.flow__step.is-on p { color: var(--ink); }
.flow__step:focus-visible .flow__n { outline: 3px solid var(--green); outline-offset: 3px; }

.demo-cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 22px; border-radius: var(--radius); background: linear-gradient(120deg, var(--green-900), var(--navy)); color: #e9f3ee; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.demo-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.demo-cta__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(127, 220, 170, .16); color: #7fdcaa; }
.demo-cta__txt { display: flex; flex-direction: column; gap: 2px; }
.demo-cta__txt b { color: #fff; font-size: 1.05rem; }
.demo-cta__txt small { color: #b8d4c7; font-size: .88rem; }
.demo-cta__go { margin-left: auto; flex: none; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 10px 18px; font-size: .9rem; }
@media (max-width: 640px) { .demo-cta { flex-wrap: wrap; } .demo-cta__go { margin-left: 0; } }
.crm-demo { margin-top: 56px; }
.crm-demo__intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.crm-demo__intro h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.crm-demo__intro p { margin: 0; max-width: 60ch; color: var(--muted); font-size: .95rem; }
.crm { position: relative; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.crm__bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 18px; background: var(--navy); color: #fff; }
.crm__brand { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.crm__logo { font-size: .66rem; font-weight: 800; letter-spacing: .08em; background: var(--green); padding: 4px 7px; border-radius: 7px; }
.crm__pipes { display: flex; gap: 4px; background: rgba(255,255,255,.08); padding: 4px; border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.crm__pipes button { border: 0; background: none; color: #b8cbc3; font-weight: 600; font-size: .84rem; padding: 7px 14px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.crm__pipes button[aria-selected="true"] { background: #fff; color: var(--navy); }
.crm__stats { display: flex; gap: 22px; margin-left: auto; }
.crm__stats small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #8fb3a3; }
.crm__stats b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.crm__board { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(210px, 1fr)); gap: 12px; padding: 16px; overflow-x: auto; background: #f4f7f6; min-height: 470px; }
.kcol { display: flex; flex-direction: column; background: #eaf0ed; border-radius: 16px; padding: 10px; border: 2px dashed transparent; transition: background .2s, border-color .2s; }
.kcol.is-over { background: var(--mint); border-color: var(--green-400); }
.kcol--won { background: #e3f3ea; }
.kcol__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; padding: 4px 6px 10px; }
.kcol__dot { width: 9px; height: 9px; border-radius: 50%; background: hsl(var(--h) 60% 42%); }
.kcol__head b { font-size: .84rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcol__n { font-size: .72rem; font-weight: 700; background: #fff; color: var(--navy); border-radius: 999px; padding: 1px 8px; }
.kcol__head small { grid-column: 2 / 4; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.kcol__list { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 60px; }
.kcol__empty { margin: 0; flex: 1; display: grid; place-items: center; font-size: .78rem; color: #9aa9a3; border: 1.5px dashed #cdd8d3; border-radius: 12px; min-height: 70px; }
.kcard { background: #fff; border-radius: 13px; padding: 11px 12px 9px; box-shadow: 0 1px 2px rgba(18,38,58,.08), 0 2px 8px rgba(18,38,58,.04); cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: box-shadow .2s, transform .2s, opacity .2s; border: 1px solid transparent; }
.kcard:hover { box-shadow: 0 8px 20px -6px rgba(18,38,58,.2); transform: translateY(-2px); border-color: var(--mint-2); }
.kcard:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.kcard--in { animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--k) * 50ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.kcard--drop { animation: drop .5s var(--ease); }
@keyframes drop { 0% { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(0,159,72,.35); } 100% { transform: none; } }
.kcard--placeholder { opacity: .3; }
.kcard--ghost { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; cursor: grabbing; box-shadow: 0 24px 50px -12px rgba(18,38,58,.45); border-color: var(--green-400); }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; }
.kcard__top { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; }
.kcard__av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mint); color: var(--green-600); font-size: .68rem; font-weight: 800; }
.kcard__top b { display: block; font-size: .84rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard__top small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.kcard__foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.kcard__ch { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; }
.kcard__ch svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.kcard__ch--wa { background: #dcf8e6; color: #128c4a; }
.kcard__ch--call { background: #e8f0fb; color: #2759a5; }
.kcard__ch--portal { background: #f1f4f2; color: var(--muted); }
.kcard__who { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: #f1f4f2; color: var(--navy); }
.kcard__who--ia { background: linear-gradient(90deg, #e9e3ff, #dff1ff); color: #4b3fb5; }
.kcard__v { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.kcard__t { display: block; margin-top: 6px; font-size: .68rem; color: #9aa9a3; }

.crm__funnel { display: grid; gap: 6px; padding: 16px 20px 18px; border-top: 1px solid var(--line); }
.crm__funnel-t { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fbar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 28px; gap: 12px; align-items: center; font-size: .82rem; }
.fbar span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbar__track { height: 10px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.fbar__track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--green), var(--green-400)); transition: width .6s var(--ease); }
.fbar b { text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }

.drawer { position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; width: min(440px, 100%); background: #fff; border-left: 1px solid var(--line); box-shadow: -20px 0 50px -20px rgba(18,38,58,.3); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--ease); }
.drawer.is-on { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 10px; }
.drawer__who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.drawer__who b { display: block; color: var(--navy); }
.drawer__who small { color: var(--muted); font-size: .8rem; }
.drawer__avatar { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; font-size: .85rem; }
.drawer__close { border: 0; background: var(--tint); width: 34px; height: 34px; border-radius: 10px; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); }
.drawer__close:hover { background: var(--mint); color: var(--green-600); }
.drawer__meta { display: flex; justify-content: space-between; align-items: center; padding: 0 18px 12px; border-bottom: 1px solid var(--line); }
.drawer__val { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.drawer__body > section { flex-shrink: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.drawer__label { margin: 0 0 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drawer__contact dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.drawer__contact dt { font-size: .7rem; color: var(--muted); }
.drawer__contact dd { margin: 0; font-size: .85rem; font-weight: 600; color: var(--navy); }
.drawer__chat { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #efeae2; }
.handoff { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; background: linear-gradient(90deg, #ece7ff, #e3f2ff); font-size: .8rem; color: #3b3392; transition: background .3s; }
.handoff.is-human { background: var(--mint); color: var(--green-900); }
.mode-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6a5cf0; margin-right: 4px; animation: ping2 1.6s infinite; }
.handoff.is-human .mode-dot { background: var(--green); }
@keyframes ping2 { 50% { opacity: .35; } }
.chatbox { height: 210px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.cm { margin: 0; max-width: 85%; padding: 7px 10px; border-radius: 11px; font-size: .8rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.07); animation: pop .3s var(--ease); }
.cm--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.cm--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.cm--ia { background: #ecebff; }
.cm__tag { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5b4fd6; margin-bottom: 2px; }
.cm--out:not(.cm--ia) .cm__tag { color: var(--green-600); }
.cm--sys { align-self: center; max-width: 100%; background: rgba(255,255,255,.75); color: var(--muted); font-size: .7rem; padding: 4px 10px; border-radius: 999px; box-shadow: none; }
.cm--typing { display: flex; gap: 4px; padding: 10px 12px; }
.cm--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5a1; animation: blink 1s infinite; }
.cm--typing i:nth-child(2) { animation-delay: .15s; }
.cm--typing i:nth-child(3) { animation-delay: .3s; }
.chatin, .notein { display: flex; gap: 6px; padding: 8px; background: #fff; }
.chatin input, .notein input { flex: 1; min-width: 0; font: inherit; font-size: .84rem; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; outline: none; }
.chatin input:focus, .notein input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,159,72,.15); }
.chatin input:disabled { background: #f6f7f7; color: var(--muted); }
.notein { padding: 8px 0 0; }
.drawer__notes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 150px; overflow-y: auto; }
.drawer__notes li { background: #fffbea; border: 1px solid #f3e6b3; border-radius: 10px; padding: 8px 10px; animation: pop .3s var(--ease); }
.drawer__notes li p { margin: 0; font-size: .82rem; }
.drawer__notes li small { font-size: .7rem; color: var(--muted); }
.crm__toast { position: absolute; left: 50%; bottom: 18px; z-index: 6; transform: translate(-50%, 30px); opacity: 0; background: var(--navy); color: #fff; font-size: .86rem; font-weight: 600; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); transition: all .35s var(--ease); pointer-events: none; white-space: nowrap; }
.crm__toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.crm-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-2); }
.feat__ico { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green); }
.feat__ico svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h4 { font-size: .98rem; margin-bottom: 4px; }
.feat p { font-size: .86rem; color: var(--muted); margin: 0; }

.crm-offer { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 34px 38px; border-radius: 26px; color: #d6e6de; background: radial-gradient(500px 260px at 100% 0%, rgba(0,159,72,.4), transparent), linear-gradient(160deg, var(--green-900), var(--navy)); box-shadow: var(--shadow-lg); border: 2px solid transparent; transition: border-color .3s; }
.crm-offer.is-on { border-color: var(--green-200); }
.crm-offer h3 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 4px 0 14px; }
.crm-offer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.crm-offer__list li { position: relative; padding-left: 26px; }
.crm-offer__list li::before { content: ''; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.crm-offer__price { text-align: right; }
.crm-offer__price b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.6rem; color: #fff; line-height: 1; }
.crm-offer__price small { display: block; color: #9fbdb0; margin: 6px 0 16px; font-size: .84rem; }
.crm-offer__price .voice__toggle { display: inline-flex; }

/* calendario de citas */
.crm__views { display: flex; gap: 4px; background: rgba(255,255,255,.08); padding: 4px; border-radius: 12px; }
.crm__views button { border: 0; background: none; color: #b8cbc3; font-weight: 700; font-size: .84rem; padding: 7px 14px; border-radius: 9px; cursor: pointer; transition: background .25s, color .25s; }
.crm__views button[aria-selected="true"] { background: var(--green); color: #fff; }
.crm__pipes[hidden], .crm__stats[hidden], .crm__board[hidden], .crm__funnel[hidden] { display: none; }
.cal { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 560px; background: #f4f7f6; }
.cal[hidden] { display: none; }
.cal__main { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0; }
.cal__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal__nav { display: flex; align-items: center; gap: 10px; }
.cal__nav b { font-size: .92rem; color: var(--navy); min-width: 210px; text-align: center; }
.cal__nav .mini { font-size: 1rem; padding: 3px 11px; }
.cal__filters { display: flex; gap: 6px; flex-wrap: wrap; }
.cal__filters .chip { padding: 5px 12px; font-size: .78rem; display: inline-flex; align-items: center; gap: 6px; }
.cal__dot { width: 9px; height: 9px; border-radius: 50%; background: hsl(var(--h) 62% 45%); flex-shrink: 0; }
.cal__dot--lg { width: 14px; height: 14px; margin-top: 4px; }
.cal__scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.cal__grid { display: grid; grid-template-columns: 52px repeat(6, minmax(104px, 1fr)); min-width: 680px; }
.cal__corner, .cal__day { background: #fff; border-bottom: 1px solid var(--line); }
.cal__day { padding: 8px 6px; text-align: center; border-left: 1px solid var(--line); }
.cal__day b { display: block; font-size: .8rem; color: var(--navy); }
.cal__day small { font-size: .7rem; color: var(--muted); }
.cal__day.is-today b, .cal__day.is-today small { color: var(--green-600); }
.cal__day.is-today { box-shadow: inset 0 -3px 0 var(--green); }
.cal__hour { font-size: .7rem; color: var(--muted); padding: 6px 6px 0; text-align: right; border-bottom: 1px solid #eef2f0; font-variant-numeric: tabular-nums; }
.cal__cell { min-height: 52px; padding: 3px; border-left: 1px solid #eef2f0; border-bottom: 1px solid #eef2f0; display: flex; flex-direction: column; gap: 3px; }
.cal__cell.is-off { background: repeating-linear-gradient(135deg, #f7f9f8 0 6px, #f0f3f2 6px 12px); }
.appt2 { text-align: left; border: 0; border-left: 3px solid hsl(var(--h) 62% 45%); background: hsl(var(--h) 60% 95%); border-radius: 7px; padding: 4px 6px; cursor: pointer; font: inherit; transition: transform .15s, box-shadow .15s; animation: pop .3s var(--ease); }
.appt2:hover { transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(18,38,58,.3); }
.appt2 b { display: block; font-size: .72rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt2 small { display: block; font-size: .64rem; color: var(--muted); }
.appt2--pendiente { border-left-style: dashed; background: var(--amber-bg); }
.appt2--atendida { opacity: .55; }
.appt2.is-sel { box-shadow: 0 0 0 2px hsl(var(--h) 62% 45%); }
.cal__detail { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 64px; display: flex; align-items: center; }
.cal__detail p { margin: 0; font-size: .85rem; }
.cal__det { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; width: 100%; animation: pop .3s var(--ease); }
.cal__det > div b { display: block; color: var(--navy); }
.cal__det > div small { color: var(--muted); font-size: .8rem; }
.cal__det dl { grid-column: 2; margin: 6px 0 0; display: flex; gap: 22px; flex-wrap: wrap; }
.cal__det dt { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cal__det dd { margin: 0; font-size: .84rem; font-weight: 600; color: var(--navy); }
.cal__ai { display: flex; flex-direction: column; border-left: 1px solid var(--line); background: #fff; min-width: 0; }
.cal__ai-head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #ece7ff, #e3f2ff); }
.cal__ai-head b { display: block; color: #3b3392; font-size: .9rem; }
.cal__ai-head small { color: #5b4fd6; font-size: .74rem; }
.cal__ai-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #6a5cf0; color: #fff; font-size: .72rem; font-weight: 800; }
.cal__chat { flex: 1; min-height: 220px; max-height: 360px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: #f7f7fb; }
.cal__chat .cm--out { background: #d9fdd3; }
.cal__chips { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 4px; }
.cal__chip { text-align: left; font: 600 .78rem var(--sans); color: #4b3fb5; background: #f3f1ff; border: 1px solid #e0dbff; border-radius: 10px; padding: 7px 10px; cursor: pointer; transition: background .2s; }
.cal__chip:hover { background: #e7e3ff; }
.cal__ai .chatin { border-top: 1px solid var(--line); }
@media screen and (max-width: 1080px) {
    .cal { grid-template-columns: minmax(0, 1fr); }
    .cal__ai { border-left: 0; border-top: 1px solid var(--line); }
}
@media screen and (max-width: 560px) {
    .cal__nav b { min-width: 0; font-size: .82rem; }
    .crm__views { width: 100%; }
    .crm__views button { flex: 1; }
}

.kcard__case { color: #5b4fd6; font-weight: 700; }
.drawer__cita { grid-column: 1 / -1; }
.drawer__cita dd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cal__deal { grid-column: 2; justify-self: start; margin-top: 8px; }

/* ---------- infraestructura ---------- */
.infra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.infra__big { display: flex; gap: 22px; align-items: center; padding: 36px; border-radius: 24px; background: linear-gradient(135deg, var(--green-900), #145a43); color: #fff; box-shadow: var(--shadow-lg); }
.infra__big svg { flex-shrink: 0; width: 56px; height: 56px; fill: none; stroke: var(--green-200); stroke-width: 1.5; stroke-linecap: round; }
.infra__big p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; }

/* ---------- cronograma ---------- */
.gantt { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; overflow-x: auto; background: #fff; box-shadow: var(--shadow); }
.gantt__scale, .gantt__row { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-width: 760px; align-items: center; }
.gantt__scale { grid-template-columns: 260px repeat(8, minmax(0, 1fr)); font-size: .74rem; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.gantt__scale span:not(:first-child) { padding-left: 6px; border-left: 1px solid var(--line); }
.gantt__row { padding: 5px 0; border-radius: 8px; transition: background .2s; }
.gantt__row:hover { background: var(--tint); }
.gantt__row p { margin: 0; font-size: .88rem; padding-right: 12px; }
.gantt__track { display: grid; grid-template-columns: repeat(var(--q), minmax(0, 1fr)); height: 24px; background: repeating-linear-gradient(90deg, transparent 0 calc(200% / var(--q) - 1px), var(--line) 0 calc(200% / var(--q))); }
.gantt__track i { position: relative; border-radius: 7px; background: linear-gradient(90deg, var(--green), var(--green-400)); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) var(--d); }
.gantt.in .gantt__track i { transform: none; }
.gantt__row:nth-last-child(-n+2) .gantt__track i { background: linear-gradient(90deg, var(--navy), #2c4a66); }
.gantt__track i:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: .72rem; padding: 4px 10px; border-radius: 6px; white-space: nowrap; font-style: normal; }

/* ---------- documentación ---------- */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: #fff; }
.card h3 { font-size: 1.1rem; margin-bottom: 20px; }
.training { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.tr__top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; margin-bottom: 6px; }
.tr__top b { color: var(--navy); white-space: nowrap; }
.tr__bar { height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden; }
.tr__bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, var(--green), var(--green-400)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.training.in .tr__bar i { transform: none; }
.tr--sum { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }

/* ---------- SLA ---------- */
.sla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.sla__item { background: #fff; border: 1px solid var(--line); border-top: 4px solid; border-radius: 16px; padding: 22px; }
.sla--0 { border-top-color: var(--red); }
.sla--1 { border-top-color: #e0a64a; }
.sla--2 { border-top-color: #2f6fca; }
.sla--3 { border-top-color: #9aa5a1; }
.sla__sev { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.sla__item p { font-size: .88rem; color: var(--muted); margin: 8px 0 14px; min-height: 2.8em; }
.sla__item dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sla__item dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sla__item dd { margin: 0; font-weight: 600; color: var(--navy); font-size: .9rem; }

/* ---------- cumplimiento ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .86rem; color: var(--muted); transition: all .2s; }
.chip i { font-style: normal; margin-left: 6px; background: var(--tint); color: var(--navy); border-radius: 999px; padding: 1px 8px; font-size: .76rem; }
.chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip.is-on i { background: rgba(255,255,255,.15); color: #fff; }
.comp { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.comp__row { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) 150px minmax(0, 1.4fr); gap: 16px; align-items: center; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: .9rem; transition: background .2s; animation: fadeIn .35s var(--ease); }
.comp__row:last-child { border-bottom: 0; }
.comp__row:hover { background: var(--tint); }
.comp__n { font-family: ui-monospace, Menlo, monospace; font-size: .82rem; color: var(--green-600); font-weight: 700; }
.comp__row b { font-weight: 600; color: var(--navy); }
.comp__row p { margin: 0; color: var(--muted); font-size: .86rem; }

/* ---------- económica ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lines { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.line { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); transition: background .2s; }
.line:last-child { border-bottom: 0; }
.line:hover { background: var(--tint); }
.line__n { font-family: ui-monospace, Menlo, monospace; font-size: .78rem; color: #a4b1ac; }
.line__txt b { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); }
.line__txt small { display: block; font-size: .8rem; color: var(--muted); }
.line__bar { display: block; height: 3px; margin-top: 7px; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--green-200)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.lines.in .line__bar { transform: none; }
.line__v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy); }
.opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .25s, background .25s; }
.opt:hover { border-color: var(--green-400); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #d5dcd9; transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.opt input:checked + .switch { background: var(--green); }
.opt input:checked + .switch::after { transform: translateX(18px); }
.opt input:focus-visible + .switch { outline: 3px solid var(--green); outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--green); background: var(--mint); }
.opt b { display: block; font-size: .92rem; color: var(--navy); }
.opt small { font-size: .8rem; color: var(--muted); }
.opt__v { font-weight: 700; color: var(--green-600); white-space: nowrap; }

.price__sum { position: sticky; top: 92px; }
.sum { border-radius: 24px; padding: 30px; color: #d6e6de; background: radial-gradient(400px 200px at 100% 0%, rgba(0,159,72,.35), transparent), linear-gradient(160deg, var(--green-900), var(--navy)); box-shadow: var(--shadow-lg); }
.sum__label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8fb3a3; margin: 0 0 6px; font-weight: 700; }
.sum__total { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.6rem); color: #fff; margin: 0; font-variant-numeric: tabular-nums; }
.sum__note { font-size: .85rem; color: var(--green-200); margin: 4px 0 20px; }
.sum__tax { margin: 0 0 26px; padding: 16px 0; border-block: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 6px; font-size: .86rem; }
.sum__tax div { display: flex; justify-content: space-between; gap: 12px; }
.sum__tax dd { margin: 0; font-variant-numeric: tabular-nums; color: #fff; }
.sum__cuota { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.sum__cuota span { display: block; font-size: .85rem; color: #b4cbc0; }
.sum__cuota b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--green-200); margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.sum__cuota small { font-size: .78rem; color: #9fbdb0; }
.sum__link { display: inline-block; margin-top: 14px; font-size: .86rem; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.sum__link:hover { color: var(--green-200); border-color: var(--green-200); }
.cuotas__intro { margin-bottom: 22px; }
.cuotas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: c; }
.cuota { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cuota:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-400); }
.cuota header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cuota__mes { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--mint); padding: 3px 10px; border-radius: 999px; }
.cuota header b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cuota p { margin: 0; font-size: .88rem; color: var(--ink); flex: 1; }
.cuota__bar { height: 6px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.cuota__bar i { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: 6px; background: linear-gradient(90deg, var(--green), var(--green-400)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.cuotas.in .cuota__bar i { transform: none; }
.cuota small { font-size: .78rem; color: var(--muted); }
.cuota small strong { color: var(--green-600); }
.cuota:last-child { background: linear-gradient(160deg, var(--green-900), var(--navy)); border-color: transparent; }
.cuota:last-child p, .cuota:last-child header b { color: #fff; }
.cuota:last-child small { color: #9fbdb0; }
.cuota:last-child small strong { color: var(--green-200); }
.cuota:last-child .cuota__bar { background: rgba(255,255,255,.12); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 14px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--hi { border: 2px solid var(--green); box-shadow: 0 16px 40px -12px rgba(0,159,72,.3); }
.plan__badge { position: absolute; top: -12px; left: 26px; background: var(--green); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan h4 { font-size: 1.05rem; }
.plan__price { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin: 10px 0 2px; }
.plan__price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.plan__hours { font-size: .85rem; color: var(--green-600); font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan ul { padding-left: 18px; margin: 0; font-size: .9rem; color: #3b4a45; }
.plan li { margin-bottom: 6px; }
.plan li::marker { color: var(--green); }
.third { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.third__item { border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.third__item b { display: block; color: var(--navy); margin-bottom: 6px; }
.third__item p { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.tag { display: inline-block; font-size: .74rem; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; }

/* ---------- lista de selección ---------- */
.checklist { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.checklist__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.checklist__head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 4px; }
.checklist__head p { margin: 0; font-size: .9rem; color: var(--muted); max-width: 52ch; }
.checklist__acts { display: flex; gap: 6px; }
.ckgroup { border: 1px solid var(--line); border-radius: 16px; margin: 14px 0 0; padding: 6px 14px 8px; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.ckgroup.is-on { border-color: var(--mint-2); box-shadow: 0 0 0 3px var(--mint); }
.ckgroup__head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 8px 0 10px; float: left; }
.ckgroup__head + * { clear: both; }
.ckgroup__head .ck__txt b { font-size: 1.02rem; font-weight: 700; }
.ckgroup__demo { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: .78rem; font-weight: 600; color: var(--green-600); text-decoration: none; border-bottom: 1px solid currentColor; }
.ckgroup__v { text-align: right; font-variant-numeric: tabular-nums; }
.ckgroup__v b { display: block; font-size: 1rem; color: var(--navy); white-space: nowrap; }
.ckgroup__v small { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ckgroup.is-on .ckgroup__v small { color: var(--green-600); }
.ckgroup .ck { border-top: 1px dashed var(--line); border-radius: 0; margin: 0; padding-inline: 0 0; }
.ckgroup .ck.is-on { background: none; }
.ck--solo { grid-template-columns: minmax(0, 1fr) auto; padding-left: 36px !important; }
.ck__main input:indeterminate + .ck__box { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--green); }
.ck { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; transition: background .2s; }
.ck:hover { background: var(--tint); }
.ck.is-on { background: linear-gradient(90deg, var(--mint), transparent 70%); }
.ck__main { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.ck__main input { position: absolute; opacity: 0; pointer-events: none; }
.ck__box { width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 2px solid #c6d1cc; background: #fff; transition: all .2s; }
.ck__main input:checked + .ck__box { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--green); }
.ck__main input:focus-visible + .ck__box { outline: 3px solid var(--green); outline-offset: 2px; }
.ck__txt b { display: block; font-size: .92rem; color: var(--navy); font-weight: 600; }
.ck__txt small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.ck__req { display: block; font-style: normal; font-size: .72rem; color: var(--amber); margin-top: 2px; }
.ck__ver { display: inline-flex; align-items: center; gap: 3px; font: 600 .78rem var(--sans); color: var(--green-600); background: #fff; border: 1px solid var(--mint-2); border-radius: 999px; padding: 5px 11px; cursor: pointer; white-space: nowrap; transition: all .2s; }
.ck__ver:hover { background: var(--green); border-color: var(--green); color: #fff; }
.ck__v { min-width: 84px; text-align: right; font-weight: 700; font-size: .9rem; color: #9aa9a3; font-variant-numeric: tabular-nums; transition: color .2s; }
.ck.is-on .ck__v { color: var(--navy); }
.sum__count { font-size: .8rem; color: #9fbdb0; margin: -14px 0 18px; }

.go-list { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .86rem; color: var(--green-600); text-decoration: none; border-bottom: 1px solid currentColor; }
.go-list:hover { color: var(--green); }
.go-list--light { color: var(--green-200); }
.go-list--light:hover { color: #fff; }
.voice__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.voice__foot b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.voice__foot small { font-size: .76rem; color: #9fbdb0; }
.botc { cursor: default; }

.backpill { position: fixed; z-index: 45; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem var(--sans); color: #fff; background: var(--green); border: 0; border-radius: 999px; padding: 13px 22px; box-shadow: 0 16px 40px -10px rgba(0,159,72,.7); cursor: pointer; transition: transform .3s var(--ease), opacity .3s; white-space: nowrap; }
.backpill.is-on { transform: translate(-50%, 0); opacity: 1; }
.backpill:hover { background: var(--green-600); }
.flash { animation: flash 2.2s var(--ease); }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px rgba(0,159,72,.55), 0 0 0 12px rgba(0,159,72,.12); } 100% { box-shadow: 0 0 0 0 rgba(0,159,72,0); } }

.mobtotal { display: none; }
@media screen and (max-width: 1080px) {
    .mobtotal { position: fixed; z-index: 44; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, var(--green-900), var(--navy)); box-shadow: 0 16px 40px -10px rgba(18,38,58,.6); transform: translateY(130%); transition: transform .35s var(--ease); }
    .mobtotal.is-on { transform: none; }
    .mobtotal small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb3a3; }
    .mobtotal b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-right: 8px; font-variant-numeric: tabular-nums; }
    .mobtotal span { font-size: .78rem; color: var(--green-200); }
    .mobtotal button { flex-shrink: 0; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: 700 .82rem var(--sans); padding: 10px 14px; cursor: pointer; }
    .checklist { scroll-margin-bottom: 90px; }
    #economica .price { padding-bottom: 70px; }
}

/* ---------- firma y pie ---------- */
.sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding: 44px 48px; margin-bottom: 72px; border-radius: 28px; background: radial-gradient(500px 250px at 90% 0%, rgba(0,159,72,.35), transparent), linear-gradient(160deg, var(--green-900), var(--navy)); color: #d4e8de; }
.sign .eyebrow { margin-bottom: 8px; }
.sign__name { font-family: var(--serif); font-size: 1.8rem; color: #fff; margin: 0; }
.sign__contact { color: #a9c4b8; margin: 0; }
.sign__line { width: 260px; max-width: 100%; text-align: center; }
.sign__line span { display: block; border-bottom: 1px solid rgba(255,255,255,.4); height: 56px; margin-bottom: 6px; }
.sign__line small { color: #a9c4b8; }
.foot { border-top: 1px solid var(--line); background: var(--tint); }
.foot__in { display: flex; align-items: center; gap: 24px; padding-block: 28px; font-size: .82rem; color: var(--muted); }
.foot img { height: 44px; width: auto; }
.foot p { margin: 0; }

/* ---------- responsive ---------- */
@media screen and (max-width: 1080px) {
    .hero__in { grid-template-columns: minmax(0, 1fr); padding-block: 56px 40px; }
    .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scope { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sla, .third, .cuotas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .price { grid-template-columns: minmax(0, 1fr); }
    .price__sum { position: static; }
    .design-notes, .infra, .bots, .crm-offer { grid-template-columns: minmax(0, 1fr); }
    .pains, .crm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .crm-offer__price { text-align: left; }
    .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .flow::before { top: 20px; bottom: 20px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--mint-2) 0 8px, transparent 8px 14px); }
    .flow__step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 14px; text-align: left; padding: 8px 0; }
    .flow__n { grid-row: span 2; margin: 0; }
    .arch { grid-template-columns: minmax(0, 1fr); padding: 20px; }
    .arch__flow { width: 2px; height: 36px; margin: 0 auto; }
    .arch__flow i { width: 6px; height: 14px; left: -2px; animation-name: flowY; }
}
@media screen and (max-width: 860px) {
    .topbar__nav { display: none; }
    .topbar__in .btn { margin-left: auto; }
    .sec { padding-block: 64px; }
    .sec__head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sec__num { justify-self: start; margin: 0; }
    .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
    .demo { padding: 14px; border-radius: 20px; }
    .app { grid-template-columns: minmax(0, 1fr); }
    .app__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
    .app__side img, .app__user { display: none; }
    .app__side nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .app__side nav a { white-space: nowrap; }
    .panel { padding: 20px 16px; }
    .tiles, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pay { grid-template-columns: minmax(0, 1fr); }
    .pay__qr { order: -1; }
    .qr { margin-inline: auto; }
    .sysdetail { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 16px; }
    .sysdetail ul { grid-template-columns: minmax(0, 1fr); }
    .two { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 24px; }
    .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .comp__row { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 12px; }
    .comp__row .pill { grid-column: 2; justify-self: start; }
    .comp__row p { grid-column: 2; }
    .principle { grid-template-columns: minmax(0, 1fr); }
    .principle__tag { justify-self: start; }
    .sign { padding: 32px 24px; }
    .foot__in { flex-direction: column; text-align: center; }
    .float-card--a { left: -4px; top: 24px; }
    .float-card--b { right: -4px; bottom: 0; }
}
@media screen and (max-width: 560px) {
    .wrap { padding-inline: 16px; }
    .pillars, .scope, .stack, .sla, .third, .tiles, .botgrid, .cuotas, .pains, .crm-feats { grid-template-columns: minmax(0, 1fr); }
    .checklist { padding: 18px; }
    .ck { grid-template-columns: minmax(0, 1fr) auto; }
    .ck__ver { grid-column: 1; justify-self: start; margin-left: 36px; }
    .ck__v { grid-row: 1; grid-column: 2; min-width: 0; }
    .ckgroup { padding-inline: 12px; }
    .ck--solo { grid-template-columns: minmax(0, 1fr); padding-left: 36px !important; }
    .ck--solo .ck__ver { margin-left: 0; }
    .checklist__acts { flex-wrap: wrap; }
    .crm__stats { margin-left: 0; width: 100%; justify-content: space-between; }
    .fbar { grid-template-columns: 100px minmax(0, 1fr) 24px; }
    .crm-offer { padding: 26px 22px; }
    .crm-offer__price b { font-size: 2.1rem; }
    .bots__wa, .voice { padding: 22px; }
    .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .row { grid-template-columns: 56px minmax(0, 1fr); }
    .row > :nth-child(n+3) { grid-column: 2; justify-self: start; }
    .row--h { display: none; }
    .phone--hero { width: 270px; height: 500px; }
    .float-card { font-size: .72rem; padding: 8px 10px; }
    .stat { padding: 20px; }
    .line { grid-template-columns: minmax(0, 1fr) auto; }
    .line__n { display: none; }
    .infra__big { flex-direction: column; align-items: flex-start; padding: 28px; }
}

/* ---------- impresión / PDF ---------- */
@page { size: A4; margin: 12mm; }
@media print {
    html { scroll-behavior: auto; }
    body { font-size: 10.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .crm-demo, .demo-cta, .flow__step p, .topbar, .progress, .hero__cta, .demo__tabs, .filters, .opt, .h4, .price__hint, .voice__toggle, #pay-sim, .float-card, .hero__glow { display: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .gantt__track i, .tr__bar i, .line__bar, .cuota__bar i { transform: none !important; }
    .sum__link { display: none; }
    .hero { break-after: page; padding-bottom: 40px; }
    .hero__in { padding-block: 40px 30px; }
    .phone--hero { height: 470px; }
    .sec { padding-block: 32px; }
    .sec__head { margin-bottom: 24px; }
    .app { display: block; min-height: 0; }
    .app__side { display: none; }
    .panel { display: block !important; border-top: 1px solid var(--line); break-inside: avoid; }
    .price { grid-template-columns: minmax(0, 1fr); }
    .price__sum { position: static; }
    .pillar, .card, .sla__item, .plan, .scope__item, .stack__item, .comp__row, .line, .sum, .botc, .voice, .cuota, .pain, .feat, .crm-offer, .sysdetail, .arch, .sign, .gantt, .infra { break-inside: avoid; }
    .sec__head, .h3 { break-after: avoid; }
    .sign { margin-bottom: 0; }
}

/* ---------- agendar cita sin registro (demo guiada) ---------- */
.bk { max-width: 640px; margin: 0 auto; }
.bk__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(120deg, var(--green-900), #177052); color: #fff; }
.bk__bar b { font-size: 1rem; }
.bk__bar small { margin-left: auto; font-size: .72rem; color: #9fd8b9; }
.bk__back { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.bk__prog { height: 4px; border-radius: 4px; background: var(--mint); margin: 10px 0 16px; overflow: hidden; }
.bk__prog i { display: block; height: 100%; background: var(--green); transition: width .4s var(--ease); }
.bk__body { display: flex; flex-direction: column; gap: 10px; animation: fadeIn .35s var(--ease); }
.bk__h { margin: 8px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bk__lead { margin: 0 0 4px; font-size: 1.02rem; color: var(--navy); }
.bk__lead--c { text-align: center; }
.bk__btn { font: 700 .9rem var(--sans); color: #fff; background: var(--green); border: 0; border-radius: 12px; padding: 12px 22px; cursor: pointer; transition: background .2s; }
.bk__btn:hover { background: var(--green-600); }
.bk__btn:disabled { opacity: .5; cursor: default; }
.bk__btn--wide { width: 100%; margin-top: 4px; }
.bk__user { display: flex; align-items: center; gap: 12px; }
.bk__user i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--green-600); font-weight: 700; }
.bk__user b { display: block; color: var(--navy); font-size: .95rem; }
.bk__user a, .bk__alt a { font-size: .8rem; color: var(--green-600); cursor: pointer; font-weight: 600; }
.bk__hero { border-radius: 18px; padding: 26px 20px; text-align: center; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(43,191,110,.45), transparent 55%), linear-gradient(135deg, var(--green-900), var(--green-600)); }
.bk__hero p { font: 600 1.35rem var(--serif); margin: 0 0 14px; }
.bk__hero .bk__btn { background: #fff; color: var(--green-600); }
.bk__icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bk__icons span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .82rem; color: var(--navy); font-weight: 600; }
.bk__icons i { font-style: normal; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--mint); font-size: 1.4rem; }
.bk__item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, transform .2s; }
.bk__item:hover { border-color: var(--green); transform: translateX(3px); }
.bk__item b { color: var(--navy); font-size: .92rem; }
.bk__item small { display: block; color: var(--muted); font-size: .78rem; }
.bk__item--static { display: block; cursor: default; }
.bk__item--static:hover { transform: none; }
.bk__chev { font-style: normal; margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.1rem; flex: none; }
.bk__search { padding: 11px 14px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.bk__doc > i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--green-600); font-weight: 700; font-size: .8rem; flex: none; }
.bk__doc span b { display: block; }
.bk__doc span small { color: var(--green-600); font-weight: 600; }
.bk__doc--head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.bk__doc--head b { color: var(--navy); font-size: .92rem; }
.bk__doc--head em { margin-left: auto; font-style: normal; text-align: right; font-weight: 700; color: var(--green-600); font-size: .85rem; }
.bk__hours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bk__hours span { font-size: .72rem; color: var(--muted); padding: 6px; border-radius: 8px; background: var(--tint); text-align: center; }
.bk__hours b { display: block; color: var(--green-600); font-size: .74rem; }
.bk__days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk__days button { border: 1px solid var(--line); border-radius: 12px; background: var(--tint); padding: 8px 4px; cursor: pointer; color: var(--muted); }
.bk__days button small { display: block; font-size: .72rem; text-transform: uppercase; }
.bk__days button b { font-size: 1.3rem; color: var(--navy); }
.bk__days button.on { background: var(--green-900); border-color: var(--green-900); color: #9fd8b9; }
.bk__days button.on b { color: #fff; }
.bk__fichas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk__fichas button { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 6px; cursor: pointer; text-align: center; transition: border-color .2s; }
.bk__fichas button:hover, .bk__fichas button.on { border-color: var(--green); background: var(--mint); }
.bk__fichas small { display: block; font-size: .7rem; color: var(--muted); }
.bk__fichas b { display: block; font-size: 1.25rem; color: var(--green-600); }
.bk__fichas span { font-size: .78rem; color: var(--navy); font-weight: 600; }
.bk__empty { padding: 18px; border-radius: 12px; background: var(--tint); text-align: center; color: var(--muted); font-size: .88rem; }
.bk__svc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; cursor: pointer; }
.bk__svc input { width: 20px; height: 20px; accent-color: var(--green); }
.bk__svc b { color: var(--navy); font-size: .9rem; }
.bk__svc span { margin-left: auto; font-weight: 700; color: var(--green-600); font-size: .9rem; }
.bk__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--navy); color: #fff; }
.bk__foot small { display: block; font-size: .74rem; color: #b8c8d6; }
.bk__foot b { font-size: 1.15rem; }
.bk__notice { padding: 12px 14px; border-radius: 12px; background: var(--mint); color: var(--green-900); font-size: .88rem; border-left: 4px solid var(--green); }
.bk__field { display: flex; flex-direction: column; gap: 4px; }
.bk__field span { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bk__field input { font: 500 .95rem var(--sans); padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); min-width: 0; }
.bk__field input:focus { outline: 2px solid var(--green-200); border-color: var(--green); }
.bk__grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bk__found { font-size: .86rem; color: var(--green-600); }
.bk__found--new { color: var(--amber); }
.bk__alt { margin: 0; text-align: center; font-size: .8rem; color: var(--muted); }
.bk__ticket { border-radius: 18px; padding: 18px; color: #fff; background: linear-gradient(135deg, var(--green-900), #177052); }
.bk__ticket-doc { background: #fff; border-radius: 14px; padding: 14px; text-align: center; color: var(--navy); }
.bk__ticket-doc i { font-style: normal; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; background: var(--mint); color: var(--green-600); font-weight: 700; }
.bk__ticket-doc b { display: block; }
.bk__ticket-doc small { color: var(--green-600); font-weight: 600; }
.bk__ticket ul { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.bk__ticket-tot { text-align: center; border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; }
.bk__ticket-tot b { display: block; font-size: 1.5rem; }
.bk__ticket-tot small { display: block; font-size: .72rem; color: #9fd8b9; text-transform: uppercase; letter-spacing: .08em; }
.bk__ticket-tot strong { font: 600 1.4rem var(--serif); }
.bk__warn { padding: 10px 14px; border-radius: 10px; background: var(--red-bg); color: var(--red); font-size: .84rem; border-left: 4px solid var(--red); }
.bk__tip { padding: 10px 14px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-size: .84rem; }
.bk__qr { display: flex; flex-direction: column; align-items: center; }
.bk__qr small { color: var(--muted); font-size: .78rem; }
.bk__qrbtns { display: flex; justify-content: center; gap: 8px; }
.bk__done { text-align: center; padding: 20px 10px; }
.bk__done i { font-style: normal; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; }
.bk__done b { display: block; font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.bk__done p { color: var(--muted); font-size: .88rem; }
@media screen and (max-width: 560px) {
    .bk__hours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bk__fichas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bk__grid2 { grid-template-columns: minmax(0, 1fr); }
}
