/* Dentmin · landing — ilustraciones de producto hechas en código (nombres y datos ficticios).
   Se basan en las pantallas reales del sistema: menú, «Hoy», odontograma, portal del paciente y página pública del dentista. */
.mk { font-size: 12px; line-height: 1.35; color: var(--ink); font-weight: 500; text-align: left; }
.mk * { box-sizing: border-box; }
.mk .ico { width: 14px; height: 14px; }

/* ---------- Avatares y chips ---------- */
.av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; flex: none; }
.av1 { background: linear-gradient(135deg, #2ec4b3, #137a74); }
.av2 { background: linear-gradient(135deg, #f4a62a, #e0702b); }
.av3 { background: linear-gradient(135deg, #8b6cf0, #5a46c8); }
.av4 { background: linear-gradient(135deg, #4f8cff, #2b5fd0); }
.av5 { background: linear-gradient(135deg, #ec5f7b, #c93a58); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.chip.ok { background: #dcf6ea; color: #0c7a4b; }
.chip.wait { background: #fff1d6; color: #9a5b00; }
.chip.live { background: var(--teal-700); color: #fff; }
.chip.pend { background: #e8eff0; color: #50696c; }
.chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9ff0e4; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(159, 240, 228, .8); } 80%, 100% { box-shadow: 0 0 0 7px rgba(159, 240, 228, 0); } }

/* ---------- Laptop con el sistema ---------- */
.dev-laptop { width: 580px; background: #0b2f31; border-radius: 20px; padding: 11px 11px 0; box-shadow: var(--shadow-2); position: relative; }
.dev-laptop::after { content: ""; display: block; height: 14px; margin: 0 -26px; background: linear-gradient(#dbe9e6, #b3cbc7); border-radius: 0 0 20px 20px; box-shadow: 0 18px 30px -16px rgba(7, 43, 45, .55); }
.dev-screen { border-radius: 10px 10px 0 0; overflow: hidden; background: #f3faf8; height: 372px; display: grid; grid-template-columns: 124px 1fr; }
.ap-side { background: linear-gradient(185deg, #0f5b56, #0a3d3f 70%); color: #c9ece6; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.ap-brand { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -.03em; padding: 0 4px 12px; }
.ap-brand svg { width: 22px; height: 22px; }
.ap-nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; font-size: 11px; font-weight: 600; }
.ap-nav .ico { width: 14px; height: 14px; opacity: .85; }
.ap-nav.on { background: rgba(255, 255, 255, .15); color: #fff; }
.ap-main { padding: 14px 14px 0; display: grid; align-content: start; gap: 10px; overflow: hidden; }
.ap-top { display: flex; justify-content: space-between; align-items: center; }
.ap-top b { font-size: 14px; letter-spacing: -.02em; }
.ap-top span { font-size: 10px; color: var(--ink-3); background: #fff; padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.ap-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ap-kpi { background: #fff; border-radius: 12px; padding: 8px 9px; box-shadow: 0 0 0 1px var(--line); }
.ap-kpi small { display: block; font-size: 9px; color: var(--ink-3); font-weight: 600; }
.ap-kpi strong { font-size: 16px; letter-spacing: -.03em; }
.ap-kpi.hl { background: linear-gradient(135deg, #1fb3a2, #0f7f78); color: #fff; box-shadow: none; }
.ap-kpi.hl small { color: #cdf5ef; }
.ap-cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; }
.ap-card { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 6px; align-content: start; }
.ap-card h5 { margin: 0 0 2px; font-size: 11px; font-weight: 800; letter-spacing: -.01em; display: flex; justify-content: space-between; }
.ap-card h5 em { font-style: normal; color: var(--teal-600); font-weight: 700; }
.ap-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 5px 0; border-top: 1px dashed var(--line); }
.ap-row:first-of-type { border-top: 0; }
.ap-row time { font-size: 10px; font-weight: 800; color: var(--teal-700); }
.ap-who { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ap-who > div { min-width: 0; }
.ap-who .av { width: 22px; height: 22px; font-size: 9px; }
.ap-who b, .ap-who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-who b { font-size: 11px; line-height: 1.15; }
.ap-who small { color: var(--ink-3); font-size: 9.5px; }
.ap-mini { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.ap-mini i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--mint-200); }
.ap-mini i:nth-child(1) { height: 38%; } .ap-mini i:nth-child(2) { height: 55%; } .ap-mini i:nth-child(3) { height: 44%; }
.ap-mini i:nth-child(4) { height: 72%; } .ap-mini i:nth-child(5) { height: 62%; } .ap-mini i:nth-child(6) { height: 100%; background: linear-gradient(#2ec4b3, #137a74); }
.ap-wa { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10px; padding: 6px 0; border-top: 1px dashed var(--line); }
.ap-wa:first-of-type { border-top: 0; }
.ap-wa b { font-size: 10.5px; display: block; }
.ap-wa small { color: var(--ink-3); font-size: 9px; }
.ap-wa span { background: #dcf6ea; color: #0c7a4b; font-weight: 800; font-size: 9px; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }

/* ---------- Celular ---------- */
.dev-phone { width: 250px; background: #0b2f31; border-radius: 40px; padding: 9px; box-shadow: var(--shadow-2); position: relative; }
.dev-phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 12px; background: #0b2f31; z-index: 3; }
.ph-screen { background: #f3faf8; border-radius: 32px; overflow: hidden; height: 486px; padding: 38px 14px 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ph-app { display: flex; align-items: center; justify-content: space-between; }
.ph-app b { font-size: 13px; letter-spacing: -.02em; }
.ph-app .av { width: 26px; height: 26px; }
.ph-hello small { color: var(--ink-3); font-size: 11px; display: block; }
.ph-hello strong { font-size: 18px; letter-spacing: -.035em; line-height: 1.1; }
.ph-next { background: linear-gradient(150deg, #1fb3a2, #0d5f5b); color: #fff; border-radius: 20px; padding: 14px; display: grid; gap: 10px; box-shadow: 0 16px 24px -14px rgba(13, 95, 91, .8); position: relative; overflow: hidden; }
.ph-next::after { content: ""; position: absolute; right: -26px; top: -26px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ph-next small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: #c6f4ee; }
.ph-date { display: flex; align-items: center; gap: 10px; }
.ph-day { background: #fff; color: var(--teal-800); border-radius: 12px; text-align: center; padding: 5px 9px; line-height: 1; }
.ph-day b { display: block; font-size: 19px; letter-spacing: -.04em; }
.ph-day span { font-size: 8.5px; font-weight: 800; letter-spacing: .08em; }
.ph-date strong { font-size: 15px; letter-spacing: -.02em; display: block; line-height: 1.15; }
.ph-date em { font-style: normal; font-size: 11px; color: #d4f7f2; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; position: relative; z-index: 1; }
.pb { display: grid; place-items: center; min-height: 34px; border-radius: 11px; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .18); color: #fff; }
.pb.solid { background: #fff; color: var(--teal-800); }
.pb.line { background: #fff; color: var(--teal-800); box-shadow: inset 0 0 0 1.5px var(--mint-300); }
.pb.dark { background: var(--teal-800); color: #fff; }
.ph-arrive { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 9px 11px; box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 11px; }
.ph-arrive .ico { width: 18px; height: 18px; color: var(--teal-600); }
.ph-arrive em { margin-left: auto; font-style: normal; background: var(--teal-700); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 10px; }
.ph-list { display: grid; gap: 6px; }
.ph-item { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 13px; padding: 8px 10px; box-shadow: 0 0 0 1px var(--line); font-size: 11px; font-weight: 700; }
.ph-item .ic { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-700); }
.ph-item small { display: block; color: var(--ink-3); font-weight: 500; font-size: 10px; }
.ph-item .go { margin-left: auto; color: var(--ink-3); }
.ph-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 2px 2px; border-top: 1.5px dashed var(--line); }
.ph-total b { font-size: 22px; letter-spacing: -.04em; color: var(--teal-800); }
.ph-quote { display: grid; gap: 0; background: #fff; border-radius: 16px; padding: 4px 12px; box-shadow: 0 0 0 1px var(--line); }
.ph-quote div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 11px; }
.ph-quote div:first-child { border-top: 0; }
.ph-quote span { font-weight: 800; }
.ph-ba { position: relative; height: 128px; border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, #cfe6e2, #eef8f6); box-shadow: 0 0 0 1px var(--line); }
.ph-ba .half { position: absolute; inset: 0 50% 0 0; background: linear-gradient(120deg, #d8cdb0, #c9b98d); display: grid; place-items: center; }
.ph-ba .after { position: absolute; inset: 0 0 0 50%; display: grid; place-items: center; background: linear-gradient(120deg, #f3fbf9, #dff3ef); }
.ph-ba svg { width: 56px; height: 56px; }
.ph-ba .half svg { color: #8a7a4a; } .ph-ba .after svg { color: var(--teal-500); }
.ph-ba .bar { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .25); }
.ph-ba .bar::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--teal-800); }
.ph-ba em { position: absolute; bottom: 7px; font-style: normal; font-size: 9px; font-weight: 800; background: rgba(0, 0, 0, .5); color: #fff; padding: 3px 8px; border-radius: 999px; }
.ph-ba em:first-of-type { left: 8px; } .ph-ba em:last-of-type { right: 8px; background: var(--teal-700); }
.ph-sec { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; margin-top: 2px; }
.ph-check { display: grid; gap: 5px; font-size: 11px; font-weight: 600; }
.ph-check li { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 11px; padding: 7px 9px; box-shadow: 0 0 0 1px var(--line); }
.ph-check .ok { width: 16px; height: 16px; border-radius: 50%; background: var(--teal-500); color: #fff; display: grid; place-items: center; flex: none; }
.ph-check .ok .ico { width: 10px; height: 10px; stroke-width: 3; }
.ph-check .no { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--mint-300); flex: none; }

/* ---------- Ventana de navegador ---------- */
.dev-browser { background: #fff; border-radius: 18px; box-shadow: var(--shadow-2), 0 0 0 1px rgba(10, 61, 63, .08); overflow: hidden; }
.br-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: linear-gradient(#eef6f4, #e3efec); border-bottom: 1px solid var(--line); }
.br-dots { display: flex; gap: 6px; }
.br-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c7d9d5; }
.br-dots i:nth-child(1) { background: #ff8e84; } .br-dots i:nth-child(2) { background: #ffcf6b; } .br-dots i:nth-child(3) { background: #6fdc9b; }
.br-url { flex: 1; background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 11px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; box-shadow: inset 0 0 0 1px var(--line); max-width: 380px; margin-inline: auto; }
.br-url .ico { width: 12px; height: 12px; color: var(--teal-600); }

/* ---------- Odontograma y plan ---------- */
.od-wrap { display: grid; grid-template-columns: 1.85fr 1fr; gap: 0; }
.od-main { padding: 18px 14px 14px; background: linear-gradient(#fff, #f6fbfa); }
.od-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.od-title b { font-size: 14px; letter-spacing: -.02em; }
.od-tabs { display: flex; gap: 4px; background: var(--mint-100); padding: 3px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.od-tabs span { padding: 4px 11px; border-radius: 999px; color: var(--teal-800); }
.od-tabs span.on { background: #fff; box-shadow: 0 1px 4px rgba(10, 61, 63, .15); }
.od-arch { display: grid; gap: 3px; }
.od-row { display: grid; grid-template-columns: repeat(16, 1fr); gap: 1px; }
.od-mid + .od-row, .od-row + .od-mid { margin-top: 0; }
.tooth { display: grid; justify-items: center; gap: 3px; font-size: 8.5px; font-weight: 700; color: var(--ink-3); }
.tooth svg { width: 100%; max-width: 32px; height: auto; fill: #fff; stroke: #9bb7b3; stroke-width: 1.3; overflow: visible; transition: stroke-width .2s; }
.tooth:hover svg { stroke-width: 2.4; }
.tooth.up svg { transform: scaleY(-1); }
.lg-falta { color: #9bb7b3; background: transparent; }
.tooth.caries svg { fill: #fde0e6; stroke: var(--rose); }
.tooth.resina svg { fill: #dce8ff; stroke: var(--blue); }
.tooth.corona svg { fill: #c9f2ea; stroke: var(--teal-600); }
.tooth.endo svg { fill: #e8e0fc; stroke: var(--violet); }
.tooth.plan svg { fill: #fff0d3; stroke: var(--amber); stroke-dasharray: 3 2.2; }
.tooth.falta svg { fill: transparent; stroke: #c3d3d0; stroke-dasharray: 2 2.6; }
.od-mid { height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); margin: 6px 0; }
.od-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 10px; font-weight: 600; color: var(--ink-2); }
.od-legend span { display: inline-flex; align-items: center; gap: 5px; }
.od-legend i { width: 10px; height: 10px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px currentColor; }
.lg-caries { color: var(--rose); background: #fde0e6; } .lg-resina { color: var(--blue); background: #dce8ff; } .lg-corona { color: var(--teal-600); background: #c9f2ea; }
.lg-endo { color: var(--violet); background: #e8e0fc; } .lg-plan { color: var(--amber); background: #fff0d3; }
.od-side { border-left: 1px solid var(--line); background: #fff; padding: 18px 16px; display: grid; gap: 10px; align-content: start; }
.od-side h5 { margin: 0; font-size: 13px; letter-spacing: -.02em; }
.pl-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 11px; }
.pl-item b { font-size: 11.5px; }
.pl-item small { grid-column: 1; color: var(--ink-3); font-size: 10px; }
.pl-item span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; color: var(--teal-800); }
.pl-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--ink); padding-top: 10px; font-weight: 800; }
.pl-total b { font-size: 20px; letter-spacing: -.04em; }
.pl-share { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border-radius: 12px; background: linear-gradient(180deg, #1bb09f, #0f7f78); color: #fff; font-weight: 800; font-size: 11.5px; }
.pl-note { font-size: 10px; color: var(--ink-3); text-align: center; }

/* ---------- Página pública del dentista ---------- */
.pp { background: #f3faf8; }
.pp-hero { background: linear-gradient(135deg, #0f5b56, #0a3d3f); color: #fff; padding: 24px 24px 54px; position: relative; overflow: hidden; }
.pp-hero::after { content: ""; position: absolute; right: -40px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 196, 179, .55), transparent 70%); }
.pp-hero .tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .14); padding: 4px 11px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.pp-hero h4 { margin: 12px 0 4px; font-size: 22px; line-height: 1.1; letter-spacing: -.035em; }
.pp-hero p { margin: 0; font-size: 11.5px; color: #c4e6e1; max-width: 32ch; }
.pp-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 0 18px 18px; margin-top: -34px; position: relative; z-index: 1; }
.pp-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; gap: 9px; align-content: start; }
.pp-card h5 { margin: 0; font-size: 12px; letter-spacing: -.01em; }
.pp-prof { display: flex; align-items: center; gap: 11px; }
.pp-prof .av { width: 46px; height: 46px; font-size: 15px; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--mint-300); }
.pp-prof b { display: block; font-size: 13px; letter-spacing: -.02em; }
.pp-prof small { color: var(--ink-3); font-size: 10.5px; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pp-tags span { background: var(--mint-100); color: var(--teal-800); font-weight: 700; font-size: 10px; padding: 4px 9px; border-radius: 999px; }
.pp-promo { background: linear-gradient(135deg, #fff4dc, #ffe7b3); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; color: #7a4a00; }
.pp-promo b { display: block; font-size: 11.5px; }
.pp-promo small { font-size: 10px; opacity: .85; }
.pp-promo strong { margin-left: auto; font-size: 17px; letter-spacing: -.04em; }
.pp-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.pp-days span { text-align: center; border-radius: 11px; padding: 6px 0; background: #f3faf8; font-size: 9.5px; font-weight: 700; color: var(--ink-3); line-height: 1.25; }
.pp-days span b { display: block; font-size: 14px; color: var(--ink); letter-spacing: -.03em; }
.pp-days span.on { background: var(--teal-700); color: #cdf5ef; } .pp-days span.on b { color: #fff; }
.pp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pp-slots span { text-align: center; padding: 7px 0; border-radius: 10px; font-size: 10.5px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.pp-slots span.on { background: var(--mint-100); box-shadow: inset 0 0 0 2px var(--teal-500); color: var(--teal-800); }
.pp-slots span.off { color: #b5c6c3; text-decoration: line-through; }
.pp-cta { display: grid; place-items: center; min-height: 38px; border-radius: 12px; background: linear-gradient(180deg, #1bb09f, #0f7f78); color: #fff; font-weight: 800; font-size: 11.5px; }
.pp-faq { display: grid; gap: 5px; font-size: 10.5px; font-weight: 600; }
.pp-faq div { display: flex; justify-content: space-between; padding: 7px 10px; background: #f3faf8; border-radius: 10px; }

/* ---------- Avisos flotantes ---------- */
.toast { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 34px -16px rgba(7, 43, 45, .5), 0 0 0 1px rgba(10, 61, 63, .07); font-size: 12px; font-weight: 700; line-height: 1.25; animation: floaty 7s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.toast small { display: block; font-weight: 500; color: var(--ink-3); font-size: 10.5px; }
.toast .ti { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-700); flex: none; }
.toast .ti .ico { width: 17px; height: 17px; }
.toast.t-amber .ti { background: #fff1d6; color: #b36b00; } .toast.t-blue .ti { background: #e2ecff; color: #2b5fd0; } .toast.t-rose .ti { background: #ffe3e9; color: #c93a58; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.ap-stack { display: grid; gap: 10px; align-content: start; }
.pp-stack { display: grid; gap: 14px; align-content: start; }
