*{box-sizing:border-box}
:root{--brand:#0f766e;--ink:#0f172a;--muted:#64748b;--bg:#f8fafc;--card:#fff;--line:#e2e8f0;--ok:#0f766e;--warn:#d97706;--bad:#dc2626;--wa:#25d366}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}
a{color:var(--brand)}
img{max-width:100%}
.wrap{max-width:1080px;margin:0 auto;padding:0 1rem}
.narrow{max-width:640px}
.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.7rem;padding-bottom:.7rem;flex-wrap:wrap}
.topbar nav{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.topbar nav a{text-decoration:none;color:var(--ink);font-weight:500}
.logo{font-weight:800;font-size:1.35rem;text-decoration:none;color:var(--ink)}
.logo span{color:var(--brand)}
.btn{display:inline-block;background:var(--brand);color:#fff!important;border:0;border-radius:10px;padding:.8rem 1.3rem;font-weight:700;font-size:1rem;cursor:pointer;text-decoration:none;text-align:center}
.btn:hover{filter:brightness(.92)}
.btn-sm{padding:.45rem .9rem;font-size:.9rem}
.btn-wa{background:var(--wa);color:#063d1c!important}
.btn-ghost{background:#fff;color:var(--ink)!important;border:1px solid var(--line)}
.btn-danger{background:var(--bad)}
.btn-block{display:block;width:100%}
.hero{background:linear-gradient(160deg,#ecfdf5,#f0f9ff);padding:3.5rem 0 3rem}
.hero h1{font-size:clamp(1.9rem,4.5vw,3rem);line-height:1.15;margin:0 0 1rem}
.hero p{font-size:1.15rem;color:#334155;max-width:720px}
.hero .btn{font-size:1.15rem;padding:1rem 1.8rem;margin-top:.8rem}
section{padding:2.5rem 0}
h2{font-size:1.7rem;margin:0 0 1rem}
.grid{display:grid;gap:1rem}
.g3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.g2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1.2rem}
.card h3{margin:.1rem 0 .4rem}
.price{font-size:1.9rem;font-weight:800}
.price small{font-size:.9rem;color:var(--muted);font-weight:500}
.badge{display:inline-block;padding:.15rem .6rem;border-radius:99px;font-size:.78rem;font-weight:700;background:#e2e8f0;color:#334155}
.badge-ok{background:#ecfdf5;color:#0f766e}.badge-warn{background:#fef3c7;color:#92400e}.badge-bad{background:#fee2e2;color:#991b1b}.badge-brand{background:var(--brand);color:#fff}
label{display:block;font-weight:600;margin:.8rem 0 .25rem}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=url],select,textarea{width:100%;padding:.65rem .75rem;border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:#fff}
input[type=color]{width:60px;height:40px;border:1px solid #cbd5e1;border-radius:9px;padding:2px;background:#fff}
input:focus,select:focus,textarea:focus{outline:2px solid var(--brand);outline-offset:1px}
.help{font-size:.85rem;color:var(--muted);margin:.2rem 0 0}
.alert{padding:.8rem 1rem;border-radius:10px;margin:1rem 0;border:1px solid}
.alert-ok{background:#ecfdf5;border-color:#99d5ce}.alert-err{background:#fef2f2;border-color:#fca5a5}.alert-info{background:#eff6ff;border-color:#93c5fd}.alert-warn{background:#fffbeb;border-color:#fcd34d}
.plan-opt{display:block;border:2px solid var(--line);border-radius:12px;padding:.9rem;margin:.5rem 0;cursor:pointer;background:#fff}
.plan-opt input{margin-right:.5rem}
.plan-opt:has(input:checked){border-color:var(--brand);background:#f0fdfa}
.srv-row{display:grid;grid-template-columns:1.2fr 1.6fr .8fr auto;gap:.5rem;margin:.4rem 0;align-items:start}
@media(max-width:640px){.srv-row{grid-template-columns:1fr 1fr}.srv-row input:nth-child(2){grid-column:1/-1}}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:1.5rem;align-items:start}
@media(max-width:860px){.split{grid-template-columns:1fr}}
.sticky{position:sticky;top:5rem}
.preview{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.08)}
.preview-head{background:var(--brand);color:#fff;padding:1.2rem}
.preview-head h3{margin:0;font-size:1.25rem}
.preview-body{padding:1rem}
.svc{display:flex;gap:.75rem;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:.8rem;margin:.5rem 0;background:#fff}
.svc-info{flex:1;min-width:0}
.svc-info strong{display:block}
.svc-info span{font-size:.88rem;color:var(--muted)}
.svc-price{font-weight:700;white-space:nowrap}
.svc.sel{border-color:var(--brand);background:#f0fdfa}
.qty{width:70px!important;padding:.4rem!important}
.total-box{background:var(--ink);color:#fff;border-radius:12px;padding:1rem;margin:1rem 0;display:flex;justify-content:space-between;align-items:center;font-size:1.2rem}
.total-box b{font-size:1.6rem}
table.t{width:100%;border-collapse:collapse;background:#fff;font-size:.93rem}
table.t th,table.t td{border-bottom:1px solid var(--line);padding:.55rem .6rem;text-align:left;vertical-align:top}
table.t th{background:#f1f5f9;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:#475569}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.kpi{font-size:2rem;font-weight:800}
.kpi-l{color:var(--muted);font-size:.85rem}
.tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin:1rem 0}
.tabs a{padding:.5rem 1rem;border-radius:99px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:600}
.tabs a.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.steps{counter-reset:s;list-style:none;padding:0}
.steps li{counter-increment:s;position:relative;padding:.2rem 0 1rem 2.8rem}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:2rem;height:2rem;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;display:grid;place-items:center}
.switch{position:relative;display:inline-flex;align-items:center;gap:.4rem}
.center{text-align:center}
.mt{margin-top:1rem}
.small{font-size:.85rem}
.muted{color:var(--muted)}
.mono{font-family:ui-monospace,Consolas,monospace;word-break:break-all;background:#f1f5f9;padding:.3rem .5rem;border-radius:6px}
.footer{border-top:1px solid var(--line);padding:1.5rem 0;color:var(--muted);font-size:.9rem;text-align:center;margin-top:2rem}
.vitrina-hero{background:var(--brand);color:#fff;padding:2rem 0 2.2rem}
.vitrina-hero h1{margin:0 0 .3rem;font-size:clamp(1.6rem,4vw,2.4rem)}
.vitrina-hero p{margin:0;opacity:.92}
pre.msg{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:#f1f5f9;border-radius:10px;padding:.8rem;font-size:.9rem}
/* Stepper de cantidad y desglose del cotizador */
.svc-side{display:flex;flex-direction:column;align-items:flex-end;gap:.4rem}
.svc-sub{display:block;color:var(--brand)!important;font-weight:600;min-height:1.1em}
.stepper{display:inline-flex;align-items:stretch;border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;background:#fff}
.stepper button{width:38px;border:0;background:#f1f5f9;font-size:1.25rem;font-weight:700;cursor:pointer;color:var(--ink);touch-action:manipulation}
.stepper button:hover{background:#e2e8f0}
.stepper button:active{background:var(--brand);color:#fff}
.stepper .qty{width:52px!important;text-align:center;border:0!important;border-left:1px solid #cbd5e1!important;border-right:1px solid #cbd5e1!important;border-radius:0!important;padding:.45rem 0!important;-moz-appearance:textfield}
.stepper .qty::-webkit-outer-spin-button,.stepper .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.svc:not(.sel) .stepper{opacity:.7}
.total-det{display:block}
.td-row{display:flex;justify-content:space-between;gap:1rem;font-size:.95rem;padding:.2rem 0;opacity:.95}
.td-total{border-top:1px solid rgba(255,255,255,.3);margin-top:.4rem;padding-top:.6rem;font-size:1.15rem;opacity:1}
.td-total b{font-size:1.6rem}
.mod-head,.mod-row{display:grid;grid-template-columns:3.2rem 1.6fr 10rem;gap:.6rem;align-items:center}
.mod-head{font-size:.78rem;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-top:.5rem}
.mod-row{margin:.35rem 0;padding:.5rem .6rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.mod-row.off{opacity:.65;background:#f8fafc}
.mod-chk{margin:0;display:flex;justify-content:center}.mod-chk input{width:1.2rem;height:1.2rem}
.mod-monto{display:flex;align-items:center;gap:.3rem}.mod-monto span{font-weight:600;color:#475569}.mod-monto input{text-align:right}
.mod-prev{grid-column:2/-1;font-size:.8rem;color:#0f766e;background:#ecfdf5;border-radius:999px;padding:.1rem .6rem;justify-self:start}
.mod-row.off .mod-prev{color:#64748b;background:#f1f5f9}
@media(max-width:640px){.mod-head,.mod-row{grid-template-columns:3rem 1fr}.mod-head span:nth-child(3){display:none}.mod-monto{grid-column:2}}
.vitrina-info{margin-top:.6rem;font-size:.95rem;display:flex;flex-direction:column;gap:.35rem;align-items:flex-start}
.vitrina-info .ico{width:1em;height:1em;vertical-align:-.12em;margin-right:.35rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vitrina-info details{background:rgba(255,255,255,.18);border-radius:10px;padding:.3rem .8rem;text-align:left;max-width:100%}
.vitrina-info summary{cursor:pointer;font-weight:600}.vitrina-info ul{margin:.4rem 0 .2rem;padding-left:1.1rem}
.intencion{display:grid;gap:.4rem;margin:.6rem 0}.intencion label{display:flex;gap:.5rem;align-items:flex-start;margin:0;font-weight:500;padding:.55rem .7rem;border:1px solid #cbd5e1;border-radius:10px;cursor:pointer}
.intencion label.on{border-color:#0f766e;background:#ecfdf5}
.cot-code{font-size:.9rem;color:#475569;margin:.4rem 0}.cot-code b{font-family:ui-monospace,Consolas,monospace;color:#0f172a}
.pago-box{margin:.8rem 0;border:1px dashed #94a3b8;border-radius:10px;padding:.5rem .8rem;background:#f8fafc}
.pago-box summary{cursor:pointer;font-weight:600}.pago-box pre{white-space:pre-wrap;word-break:break-word;font:inherit;margin:.5rem 0}.mod-row input[type=text]:last-child{grid-column:2}}
.pago-dl{display:grid;grid-template-columns:max-content 1fr;gap:.25rem .9rem;margin:.6rem 0}.pago-dl dt{color:#64748b;font-size:.9rem}.pago-dl dd{margin:0;font-weight:600;word-break:break-word}
.pago-cod{margin:.5rem 0;padding:.5rem .7rem;background:#ecfdf5;border-radius:8px;font-size:.92rem}.pago-cod b{font-family:ui-monospace,Consolas,monospace}
.tabla-wrap{overflow-x:auto}.tabla-cot{width:100%;border-collapse:collapse;font-size:.92rem}.tabla-cot th,.tabla-cot td{padding:.45rem .5rem;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}.tabla-cot th{font-size:.8rem;color:#64748b;text-transform:uppercase}
/* Horario de atención, fotos de servicios, lightbox y comprobante */
.badge-horario{display:inline-block;margin-top:.7rem;padding:.3rem .8rem;border-radius:999px;font-size:.9rem;font-weight:700}
.badge-horario.abierto{background:#ecfdf5;color:#0f766e}
.badge-horario.cerrado{background:#fef3c7;color:#92400e}
.svc-thumb{flex:0 0 auto;width:64px;height:64px;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f1f5f9;cursor:zoom-in}
.svc-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.svc-thumb:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.lightbox{position:fixed;inset:0;z-index:50;background:rgba(15,23,42,.88);display:flex;align-items:center;justify-content:center;padding:1rem;cursor:zoom-out}
.lightbox[hidden]{display:none}
.lightbox img{max-width:min(96vw,900px);max-height:88vh;border-radius:12px;background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lightbox-x{position:absolute;top:.8rem;right:.8rem;width:2.6rem;height:2.6rem;border-radius:50%;border:0;background:#fff;font-size:1.2rem;cursor:pointer}
.comp-box{margin-top:.8rem;padding:.7rem .8rem;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
.comp-box[hidden]{display:none}
.comp-box input[type=file]{width:100%;margin-top:.4rem}
/* Fotos en el editor de servicios (mi-cuenta) */
.srv-edit{border:1px solid var(--line);border-radius:12px;padding:.7rem;margin:.6rem 0;background:#fff}
.srv-edit .srv-row{margin:0}
.srv-foto{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin-top:.6rem;padding-top:.6rem;border-top:1px dashed var(--line)}
.srv-foto .miniatura{width:64px;height:64px;border-radius:10px;object-fit:cover;border:1px solid var(--line);background:#f1f5f9}
.srv-foto .miniatura[hidden]{display:none}
.srv-foto input[type=file]{flex:1;min-width:12rem}
/* Horarios (mi-cuenta) */
.hor-row{display:grid;grid-template-columns:7.5rem 1fr 1fr;gap:.6rem;align-items:center;margin:.3rem 0;padding:.4rem .6rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.hor-row.off{opacity:.6;background:#f8fafc}
.hor-row label{margin:0;font-weight:600;text-transform:capitalize}
.hor-row .hor-tiempos{display:contents}
.hor-row.off input[type=time]{pointer-events:none}
@media(max-width:560px){.hor-row{grid-template-columns:1fr 1fr}.hor-row label{grid-column:1/-1}}
/* 2FA guiado */
.qr-box{width:220px;max-width:100%;border:1px solid var(--line);border-radius:12px;padding:.4rem;background:#fff}
.qr-box svg{display:block;width:100%;height:auto}
.clave-2fa{font-family:ui-monospace,Consolas,monospace;font-size:1.15rem;letter-spacing:.08em;word-break:break-all;background:#f1f5f9;padding:.5rem .7rem;border-radius:8px;display:inline-block}
.split-2fa{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;align-items:start}
@media(max-width:640px){.split-2fa{grid-template-columns:1fr}}
.aviso-2fa{border-left:4px solid var(--brand);background:#f0fdfa;padding:.8rem 1rem;border-radius:0 10px 10px 0;margin:1rem 0}
/* Kit QR, cartel imprimible, directorio y estudio de fotos */
.cartel{display:none}
@media print{
  body.printing-qr > *:not(#print-root){display:none!important}
  body.printing-qr #print-root .cartel{display:block;text-align:center;padding:2cm 1cm;font-family:system-ui,sans-serif}
  body.printing-qr .cartel h1{font-size:2.6rem;margin:0 0 1rem}
  body.printing-qr .cartel-qr{width:14cm;max-width:100%;margin:0 auto}
  body.printing-qr .cartel-qr svg{width:100%;height:auto}
  body.printing-qr .cartel-txt{font-size:1.8rem;font-weight:700;margin:1.2rem 0 .4rem}
  body.printing-qr .cartel-url{font-size:1.2rem;color:#475569}
}
.foto-estudio{margin-top:.6rem;padding:.7rem;border:1px dashed #94a3b8;border-radius:10px;background:#f8fafc}
.foto-estudio[hidden]{display:none}
.fe-opciones{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.fe-op{border:2px solid #e2e8f0;border-radius:10px;padding:.4rem;background:#fff;cursor:pointer;display:block;margin:0;font-weight:500}
.fe-op.on{border-color:var(--brand);background:#f0fdfa}
.fe-op img{width:100%;height:auto;border-radius:8px;display:block;margin-bottom:.3rem}
.fe-op small{display:block;color:#64748b}
@media(max-width:560px){.fe-opciones{grid-template-columns:1fr}}
.dir-filtros{display:grid;grid-template-columns:2fr 1fr auto;gap:.6rem;align-items:end;margin:1rem 0}
@media(max-width:640px){.dir-filtros{grid-template-columns:1fr}}
.dir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem}
.dir-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.dir-foto{aspect-ratio:4/3;background:var(--brand);display:flex;align-items:center;justify-content:center;color:#fff;font-size:2.6rem;font-weight:800}
.dir-foto img{width:100%;height:100%;object-fit:cover;display:block}
.dir-body{padding:.8rem;display:flex;flex-direction:column;gap:.3rem;flex:1}
.dir-body h3{margin:0;font-size:1.05rem}
.dir-body .btn{margin-top:auto}
.details-avanz{margin-top:1rem}.details-avanz summary{cursor:pointer;color:#64748b;font-size:.9rem}

/* ===== Pulido general (apple-design): respuesta inmediata, enfoque visible, tipografía por tamaño ===== */
.topbar{background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px)}
.btn{transition:transform .12s ease-out,box-shadow .2s ease,background-color .2s ease}
.btn:active{transform:scale(.97)}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 55%,#fff);outline-offset:2px}
.card{transition:box-shadow .25s ease,transform .25s ease}
.dir-card{transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}
.dir-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px -14px rgba(15,23,42,.35)}
.svc{transition:border-color .15s ease,background-color .15s ease}
h1,.hero h1{letter-spacing:-.02em;line-height:1.1}
h2{letter-spacing:-.012em;line-height:1.2}
.hero .btn-ghost{margin-left:.4rem}
.hero-nota{font-size:.9rem;opacity:.85;margin:.9rem 0 0}
section{scroll-margin-top:4.5rem}
@media(prefers-reduced-transparency:reduce){.topbar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* ===== Demostrador en smartphone ===== */
.demo-sec{padding:3rem 0}
.demo-wrap{display:grid;grid-template-columns:1fr auto;gap:3rem;align-items:center}
.demo-texto h2{margin:.6rem 0 .5rem;font-size:clamp(1.6rem,3vw,2.2rem)}
.demo-pasos{padding-left:1.2rem;margin:1.2rem 0;display:grid;gap:.6rem}
.demo-col{display:flex;flex-direction:column;align-items:center;gap:1.1rem}
@media(max-width:900px){.demo-wrap{grid-template-columns:1fr;gap:2rem}.demo-texto{text-align:left}}

.phone{position:relative;width:min(86vw,340px);aspect-ratio:9/19;background:#0f172a;border:10px solid #0f172a;border-radius:3rem;
  box-shadow:0 0 0 1.5px #94a3b8,0 0 0 3.5px #1e293b,inset 0 0 0 1px #475569,0 45px 70px -25px rgba(15,23,42,.6),0 22px 30px -18px rgba(15,23,42,.45)}
@media(min-width:900px){.phone{width:360px}}
.pb{position:absolute;width:3px;background:linear-gradient(#475569,#1e293b);border-radius:2px}
.pb-mute{left:-13px;top:14%;height:3.2%}.pb-up{left:-13px;top:20%;height:7%}.pb-down{left:-13px;top:29%;height:7%}
.pb-pwr{right:-13px;top:24%;height:11%}
.screen{position:absolute;inset:0;border-radius:2.3rem;overflow:hidden;background:#fff;container-type:inline-size;--tinta:#0f172a;isolation:isolate}
.screen[data-tema=oscuro]{--tinta:#fff}
.ui{position:absolute;inset:0;font-size:4.2cqw;line-height:1.25;color:#0f172a;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.demo-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:2.3rem;display:block}
.statusbar{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:.9em 1.6em 0;font-weight:700;font-size:.82em;color:var(--tinta);transition:color .3s ease}
.sb-der{display:inline-flex;gap:.35em;align-items:center}
.island{position:absolute;top:.55em;left:50%;transform:translateX(-50%);width:31%;height:1.75em;background:#000;border-radius:2em;z-index:6;display:flex;justify-content:flex-end;align-items:center;padding-right:.5em}
.lente{width:.7em;height:.7em;border-radius:50%;background:radial-gradient(circle at 35% 35%,#334155 0,#0b1220 55%,#000 100%);box-shadow:0 0 0 .12em #111827}
.home-ind{position:absolute;bottom:.55em;left:50%;transform:translateX(-50%);width:34%;height:.32em;border-radius:1em;background:#0f172a;opacity:.85;z-index:6}

.scene{position:absolute;inset:0;padding:3.4em .9em 1.6em;display:flex;flex-direction:column;gap:.55em;overflow:hidden;opacity:0;transform:translateY(.6em) scale(.985);transition:opacity .35s ease,transform .45s cubic-bezier(.2,.8,.2,1);pointer-events:none;background:#fff}
.scene.on{opacity:1;transform:none}
.scene small{display:block;font-size:.78em;color:#64748b}
.hdr{margin:-3.4em -.9em .2em;padding:3.4em .9em .7em;color:#fff;position:relative}
.hdr b{display:block;font-size:1.15em}.hdr small{color:rgba(255,255,255,.85)}
.hdr-brand{background:#0f766e}
.hor{display:inline-block;margin-top:.45em;padding:.15em .6em;border-radius:99px;background:#ecfdf5;color:#0f766e;font-size:.72em;font-weight:700}
/* paso 1 */
.ig-top{display:flex;gap:.55em;align-items:center}.ig-top b{display:block}
.ig-av{width:2.1em;height:2.1em;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f59e0b,#ec4899,#8b5cf6);font-size:.95em}
.ig-img{position:relative;aspect-ratio:1.25;border-radius:.9em;background:linear-gradient(160deg,#fb923c,#e11d48 70%);display:grid;place-items:center}
.ig-ico{font-size:3.6em;filter:drop-shadow(0 .2em .4em rgba(0,0,0,.25))}
.ig-sticker{position:absolute;bottom:.7em;left:50%;transform:translateX(-50%) scale(.9);background:#fff;border-radius:.7em;padding:.35em .75em;font-size:.72em;font-weight:700;white-space:nowrap;box-shadow:0 .3em 1em rgba(0,0,0,.25);opacity:0;transition:opacity .3s ease,transform .45s cubic-bezier(.2,.8,.2,1)}
.s0.go .ig-sticker{opacity:1;transform:translateX(-50%) scale(1)}
.ig-txt{margin:0;font-size:.82em}
.o-sep{display:flex;align-items:center;gap:.6em;color:#64748b;font-size:.75em}.o-sep::before,.o-sep::after{content:"";flex:1;height:1px;background:#e2e8f0}
.qr-mini{display:flex;gap:.8em;align-items:center;border:1px solid #e2e8f0;border-radius:.9em;padding:.6em;opacity:.35;transform:scale(.97);transition:opacity .4s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.s0.go2 .qr-mini{opacity:1;transform:none}
.qr-mini-img{width:5.6em;flex:0 0 auto}.qr-mini-img svg{display:block;width:100%;height:auto}
.qr-mini b{display:block}
.urlbar{margin-top:auto;margin-bottom:.7em;display:flex;gap:.5em;align-items:center;background:#f1f5f9;border-radius:99px;padding:.55em .9em;font-size:.8em}
.url-typed{display:inline-block;overflow:hidden;white-space:nowrap;max-width:0}
.s0.go2 .url-typed{animation:tipear 1.5s steps(28) forwards}
@keyframes tipear{to{max-width:20em}}
/* paso 2 */
.c-card{display:grid;grid-template-columns:3.6em 1fr auto;gap:.65em;align-items:center;border:1.5px solid #e2e8f0;border-radius:.9em;padding:.5em;transition:border-color .2s ease,background-color .2s ease,transform .2s ease}
.c-card.sel{border-color:#0f766e;background:#f0fdfa;transform:scale(1.015)}
.c-foto{width:2.25em;height:2.25em;border-radius:.45em;display:grid;place-items:center;font-size:1.6em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.f1{background:linear-gradient(145deg,#fbbf24,#b45309)}.f2{background:linear-gradient(145deg,#94a3b8,#334155)}.f3{background:linear-gradient(145deg,#5eead4,#0f766e)}
.c-info b{display:block;font-size:.95em}
.c-precio{font-weight:800;font-size:.95em;text-align:right}
.chk{display:block;font-style:normal;margin:.15em 0 0 auto;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;border-radius:50%;background:#0f766e;color:#fff;font-size:.8em;transform:scale(0);transition:transform .3s cubic-bezier(.2,1.2,.4,1)}
.c-card.sel .chk{transform:scale(1)}
.barra-total{margin-top:auto;margin-bottom:.5em;display:flex;justify-content:space-between;align-items:center;background:#0f172a;color:#fff;border-radius:1.1em;padding:.7em .9em}
.barra-total small{color:#94a3b8}.barra-total b{font-size:1.35em;font-variant-numeric:tabular-nums}
.btn-fake{background:#0f766e;border-radius:.8em;padding:.5em .9em;font-weight:700;font-size:.9em}
/* paso 3 */
.resumen-t{font-size:1.3em;font-weight:800;margin-top:.2em}
.cod-chip{align-self:flex-start;background:#ecfdf5;color:#0f766e;border-radius:99px;padding:.25em .8em;font-size:.85em;opacity:0;transform:translateY(.4em);transition:opacity .35s ease .15s,transform .45s cubic-bezier(.2,.8,.2,1) .15s}
.s2.go .cod-chip{opacity:1;transform:none}
.cod-chip b{font-family:ui-monospace,Consolas,monospace}
.lineas{display:grid;gap:.45em;border:1px solid #e2e8f0;border-radius:.9em;padding:.7em .8em}
.lineas div{display:flex;justify-content:space-between;gap:.6em;font-size:.88em}
.lineas .sub{color:#64748b;border-top:1px dashed #e2e8f0;padding-top:.4em}
.total-grande{background:#0f766e;color:#fff;border-radius:1em;padding:.8em 1em;display:flex;justify-content:space-between;align-items:center}
.total-grande small{color:#ccfbf1;font-size:.85em}.total-grande b{font-size:1.7em;font-variant-numeric:tabular-nums}
.btn-wa-fake{margin-top:auto;margin-bottom:.6em;background:#25d366;color:#fff;font-weight:800;text-align:center;border-radius:.9em;padding:.8em;font-size:.92em}
.s2.go .btn-wa-fake{animation:latido 1.4s ease-in-out .8s 2}
@keyframes latido{50%{transform:scale(1.04);box-shadow:0 .4em 1.2em rgba(37,211,102,.55)}}
/* paso 4 */
.s3{background:#efeae2;padding-bottom:1.4em}
.hdr-wa{background:#075e54;display:flex;gap:.55em;align-items:center}.hdr-wa b{font-size:1em}
.wa-back{font-size:1.6em;line-height:1;margin-right:-.1em}
.wa-av{width:2.1em;height:2.1em;border-radius:50%;background:#128c7e;display:grid;place-items:center}
.chat{display:flex;flex-direction:column;gap:.5em;flex:1}
.burbuja{max-width:90%;padding:.45em .6em .3em;border-radius:.7em;font-size:.74em;line-height:1.3;box-shadow:0 1px .5px rgba(0,0,0,.13);opacity:0;transform:translateY(.7em) scale(.97);transition:opacity .3s ease,transform .4s cubic-bezier(.2,.8,.2,1)}
.burbuja p{margin:0 0 .4em}
.burbuja.show{opacity:1;transform:none}
.burbuja.out{align-self:flex-end;background:#d9fdd3;border-top-right-radius:.15em}
.burbuja.in{align-self:flex-start;background:#fff;border-top-left-radius:.15em}
.hora{display:block;text-align:right;font-size:.8em;color:#667781}
.adj{display:flex;gap:.55em;align-items:center;flex-wrap:wrap}.adj small{font-size:.9em}
.adj-ico{width:2.2em;height:2.2em;border-radius:.5em;background:#fff;display:grid;place-items:center}
.adj .hora{flex:1 0 100%}
/* controles externos */
.demo-ctrl{display:flex;flex-direction:column;gap:.7rem;align-items:center;width:100%;max-width:380px}
.demo-pills{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center}
.pill{border:1px solid rgba(15,23,42,.1);background:rgba(255,255,255,.75);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#0f172a;border-radius:99px;padding:.4rem .85rem;font-size:.82rem;font-weight:600;cursor:pointer;box-shadow:0 4px 14px -8px rgba(15,23,42,.4);transition:transform .12s ease-out,background-color .2s ease,color .2s ease}
.pill:active{transform:scale(.96)}
.pill[aria-current=true]{background:#0f172a;color:#fff}
.demo-fila{display:flex;gap:.7rem;align-items:center;width:100%}
.demo-prog{flex:1;height:5px;border-radius:99px;background:rgba(15,23,42,.1);overflow:hidden}
.demo-prog i{display:block;height:100%;background:var(--brand);transform-origin:left;transform:scaleX(0)}
.pill-ctl{min-width:5.2rem}
@media(prefers-reduced-motion:reduce){.scene{transform:none}.url-typed{max-width:20em}.ig-sticker{opacity:1;transform:translateX(-50%)}.qr-mini{opacity:1;transform:none}.burbuja{transform:none}}
.form-centro{max-width:680px;margin:0 auto}

/* ===== UX global: entrada suave, toasts, spinner, modales, pestañas ===== */
@keyframes vy-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
body>*:not(.topbar):not(.footer):not(script):not(style):not(.vy-toasts):not(.vy-modal){animation:vy-in .7s cubic-bezier(.22,.7,.2,1) backwards}
.vy-toasts{position:fixed;right:1rem;bottom:1rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem;align-items:flex-end;max-width:calc(100vw - 2rem);pointer-events:none}
.vy-toast{pointer-events:auto;display:flex;align-items:center;gap:.65rem;min-width:15rem;max-width:24rem;padding:.7rem .8rem .7rem .7rem;border-radius:14px;background:rgba(15,23,42,.92);color:#fff;box-shadow:0 10px 30px rgba(15,23,42,.28);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);font-size:.92rem;line-height:1.35;animation:vy-toast-in .35s cubic-bezier(.22,.7,.2,1)}
.vy-toast.saliendo{opacity:0;transform:translateY(8px);transition:opacity .25s,transform .25s}
.vy-toast-ico{flex:none;width:1.5rem;height:1.5rem;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:.85rem;background:var(--ok)}
.vy-toast-err .vy-toast-ico{background:var(--bad)}.vy-toast-info .vy-toast-ico{background:#2563eb}
.vy-toast-tx{flex:1}
.vy-toast-x{flex:none;background:none;border:0;color:#cbd5e1;font-size:1.2rem;line-height:1;cursor:pointer;padding:.1rem .3rem;border-radius:6px}
.vy-toast-x:hover{color:#fff;background:rgba(255,255,255,.12)}
@keyframes vy-toast-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media (max-width:520px){.vy-toasts{left:.75rem;right:.75rem;align-items:stretch}.vy-toast{max-width:none}}
.vy-spin{display:inline-block;width:.95em;height:.95em;margin-right:.5em;vertical-align:-.12em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:vy-spin .7s linear infinite}
@keyframes vy-spin{to{transform:rotate(360deg)}}
.btn:disabled,button:disabled{cursor:not-allowed;opacity:.75}
.btn-guardado,.btn-guardado:disabled{background:#0f766e!important;border-color:#0f766e!important;color:#fff!important;opacity:1}
.campo-error{border-color:var(--bad)!important;box-shadow:0 0 0 3px rgba(220,38,38,.18)!important;outline:none}

.vy-modal{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .2s}
.vy-modal[hidden]{display:none}
.vy-modal.abierto{opacity:1}
.vy-modal-box{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 2rem);overflow:auto;background:#fff;border-radius:20px;padding:1.4rem 1.4rem 1.2rem;box-shadow:0 24px 70px rgba(15,23,42,.35);transform:translateY(14px) scale(.98);transition:transform .25s cubic-bezier(.22,.7,.2,1)}
.vy-modal.abierto .vy-modal-box{transform:none}
.vy-modal-box.ancho{max-width:760px}
.vy-modal-box h2,.vy-modal-box h3{margin-top:0;padding-right:2rem}
.vy-modal-x{position:absolute;top:.7rem;right:.7rem;width:2.1rem;height:2.1rem;border-radius:50%;border:0;background:#f1f5f9;font-size:1.3rem;line-height:1;cursor:pointer;color:#334155}
.vy-modal-x:hover{background:#e2e8f0}
.vy-modal-abierto{overflow:hidden}
.comp-vista{border:1px solid var(--line);border-radius:12px;background:#f8fafc;min-height:12rem;display:grid;place-items:center;overflow:hidden;margin:.8rem 0}
.comp-vista img{max-width:100%;max-height:55vh;display:block}
.comp-vista iframe{width:100%;height:55vh;border:0;background:#fff}
.comp-meta{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;align-items:baseline}
.comp-meta .tot{font-size:1.35rem;font-weight:700}
.ret-stats{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:.8rem 0}
.ret-stats div{background:#f1f5f9;border-radius:12px;padding:.7rem .8rem}
.ret-stats b{display:block;font-size:1.3rem}
.ret-perdida{margin:.6rem 0;padding-left:1.1rem}
.modal-acciones{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.modal-acciones .btn{flex:1;min-width:11rem;text-align:center}

.tabs-nav{display:flex;gap:.3rem;overflow-x:auto;margin:1.2rem 0 1rem;padding:.3rem;background:#e8edf3;border-radius:14px;scrollbar-width:none}
.tabs-nav::-webkit-scrollbar{display:none}
.tabs-nav [role=tab]{flex:1 0 auto;border:0;background:transparent;font:inherit;font-weight:600;font-size:.92rem;color:#475569;padding:.6rem .95rem;border-radius:10px;cursor:pointer;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}
.tabs-nav [role=tab]:hover{color:var(--ink)}
.tabs-nav [role=tab][aria-selected=true]{background:#fff;color:var(--brand);box-shadow:0 1px 3px rgba(15,23,42,.16)}
.tabs-nav .n{display:inline-block;min-width:1.2rem;padding:0 .35rem;margin-left:.35rem;border-radius:99px;background:#f59e0b;color:#fff;font-size:.72rem;line-height:1.2rem;text-align:center}
.tab-panel{animation:vy-in .35s cubic-bezier(.22,.7,.2,1) backwards}
.tab-panel[hidden]{display:none}
.tab-panel section{scroll-margin-top:5rem}
.resumen-top{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin:.8rem 0}
.asist{background:linear-gradient(135deg,#f0fdfa,#eff6ff);border:1px solid #99f6e4;border-radius:14px;padding:.9rem 1rem;margin-bottom:1rem}
.asist .row{gap:.5rem;align-items:flex-end}
.asist select{max-width:19rem}
.pago-aviso{background:#fffbeb;border:2px solid #f59e0b;border-radius:14px;padding:.9rem 1rem;margin:.8rem 0}
.pago-aviso .cod{font-size:1.4rem;font-weight:800;letter-spacing:.04em;color:#b45309}
.btn-wa-final{background:#0f766e;border-color:#0f766e;color:#fff;font-weight:700;font-size:1.05rem;padding:.9rem 1.2rem}
.btn-wa-final:hover{background:#115e59;border-color:#115e59;color:#fff}
.comp-ok{display:inline-block;margin-top:.5rem;padding:.4rem .7rem;border-radius:10px;background:#ecfdf5;border:1px solid #99d5ce;color:#0f766e;font-weight:600;font-size:.92rem}
@media (prefers-reduced-motion:reduce){body>*,.tab-panel,.vy-toast,.vy-modal,.vy-modal-box{animation:none!important;transition:none!important}.vy-spin{animation-duration:1.6s}}
.campo-msg{color:#b91c1c;font-size:.88rem;margin:.25rem 0 0;font-weight:600}

.adm-cuenta{display:inline-block;position:relative}
.adm-cuenta>summary{list-style:none;cursor:pointer}.adm-cuenta>summary::-webkit-details-marker{display:none}
.adm-cuenta[open]>summary{background:#e2e8f0}
.adm-cuenta-box{margin-top:.4rem;padding:.7rem;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.12);min-width:17rem}

/* ---- Explorar: barra de búsqueda tipo píldora + tarjetas uniformes ---- */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.exp-barra{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:0;margin:1.2rem 0 1.4rem;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.35rem .35rem .35rem .5rem;box-shadow:0 10px 30px -18px rgba(15,23,42,.35)}
.exp-seg{display:flex;align-items:center;gap:.5rem;margin:0;padding:.2rem 1rem;border-left:1px solid var(--line);min-width:0;cursor:text}
.exp-seg:first-child{border-left:0}
.exp-seg select{cursor:pointer}
.exp-seg input,.exp-seg select{width:100%;min-width:0;margin:0;border:0!important;background:transparent;box-shadow:none!important;padding:.55rem 0;font-size:1rem;color:var(--ink);outline:0;-webkit-appearance:none;appearance:none;text-overflow:ellipsis}
.exp-seg select{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right .1rem center;padding-right:1.4rem}
.exp-seg:focus-within{border-radius:999px;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--brand) 45%,#fff)}
.exp-ico{flex:none;color:var(--muted)}
.exp-acc{display:flex;gap:.4rem;padding-left:.4rem}
.exp-acc .btn{border-radius:999px;white-space:nowrap}
@media(max-width:820px){
  .exp-barra{grid-template-columns:1fr;border-radius:22px;padding:.5rem}
  .exp-seg,.exp-seg:first-child{border-left:0;border-bottom:1px solid var(--line);padding:.3rem .8rem}
  .exp-acc{padding:.6rem .3rem .2rem}
  .exp-acc .btn{flex:1}
}
.dir-foto{overflow:hidden}
.dir-foto img{aspect-ratio:4/3;object-fit:cover}
.dir-body .btn{border-radius:999px}
/* ---- Botones: tamaño y tipografía idénticos en todos los estados ---- */
.btn,.btn-sm,.btn-wa-final,button[type="submit"]{font-size:.92rem;font-weight:600;line-height:1.2;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;white-space:nowrap;box-sizing:border-box}
.btn-block{display:flex}
.btn .vy-spin,button[type="submit"] .vy-spin{flex:none}form[data-ajax] button[type="submit"]{min-width:165px}

/* ---- Mis Cotizaciones: acciones y etiqueta de intención ---- */
.cot-acc{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;min-width:11rem}
.cot-acc-form{display:contents}
.cot-acc .btn{padding:.42rem .85rem;font-size:.84rem;min-height:34px;margin:0}
.cot-int{display:inline-block;margin-top:.2rem;font-size:.78rem;white-space:nowrap;color:var(--muted);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.tabla-cot td{vertical-align:top}/* Auditoría visual: [hidden] siempre gana sobre display de botones; etiqueta de intención sin partir palabras */
[hidden]{display:none!important}
.cot-int{display:inline-block;margin-top:.2rem;font-size:.78rem;font-weight:500;color:var(--muted);white-space:nowrap}
.tabla-cot td.mono{min-width:8.5rem}
.cot-acc .btn{white-space:nowrap}

/* Mi plan y pagos (mi-cuenta) */
.plan-resumen{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}
.plan-resumen .kpi{font-size:1.5rem}
.plan-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:.8rem}
.plan-card{position:relative;display:flex;flex-direction:column;gap:.35rem;background:#fff;border:1.5px solid #e2e8f0;border-radius:18px;padding:1.2rem;transition:border-color .2s,box-shadow .2s,transform .2s}
.plan-card:hover{box-shadow:0 10px 28px -16px rgba(15,23,42,.35)}
.plan-card.sel{border-color:var(--brand);box-shadow:0 0 0 3px #ecfdf5}
.plan-card.dest{border-color:#99d5ce}
.plan-card h3{margin:0;font-size:1.02rem;letter-spacing:-.01em}
.plan-card .precio{font-size:1.8rem;font-weight:700;letter-spacing:-.03em;color:var(--ink)}
.plan-card .precio small{font-size:.82rem;font-weight:500;color:#64748b}
.plan-card .ahorro{display:inline-block;align-self:flex-start;background:#ecfdf5;color:#0f766e;border:1px solid #99d5ce;border-radius:99px;padding:.15rem .6rem;font-size:.78rem;font-weight:600}
.plan-card form{margin-top:auto;padding-top:.6rem}
.plan-card .btn{width:100%}
.plan-card:active{transform:scale(.995)}
@media (prefers-reduced-motion:reduce){.plan-card{transition:none}}

/* Pagos de suscripción: código #PAG-XXXX */
.pago-cod{border:1.5px solid #99d5ce;background:#f8fffd}
.cod-fila{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:.2rem 0 .9rem}
.cod-grande{font-size:2.1rem;font-weight:700;letter-spacing:-.02em;color:#0f766e}
.cp-estado.ok{color:#0f766e;font-weight:600}
.pag-fila{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.pag-busca{display:flex;gap:.5rem;flex-wrap:wrap;margin:.8rem 0}.pag-busca input{flex:1;min-width:220px;max-width:420px}
#modal-pagocomp .mc-vista img{max-width:100%;max-height:60vh;display:block;margin:auto}
#modal-pagocomp .mc-vista iframe{width:100%;height:60vh;border:0}

/* Código de pago #PAG-XXXX: nunca partir el último dígito en dos líneas */
table.t th.cod-pago,table.t td.cod-pago{white-space:nowrap;word-break:normal;overflow-wrap:normal}
table.t td.cod-pago{min-width:6.5rem}

/* Panel admin: modal de decisión, filtros y alta gratuita */
.dec-lista{display:grid;grid-template-columns:max-content 1fr;gap:.35rem 1rem;margin:.6rem 0;padding:.8rem 1rem;background:#f8fafc;border:1px solid var(--line);border-radius:12px}
.dec-lista dt{color:#64748b;font-size:.85rem}.dec-lista dd{margin:0;font-weight:600;word-break:break-word}
.dec-impacto{margin:.6rem 0 0;font-size:.92rem;color:#334155;line-height:1.5}
.filtros-est .fc{opacity:.75;font-weight:500}
.cortesia-form{max-width:760px}
.cortesia-form .campo-error{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.15)}

/* ===== Fase 14: métricas rápidas, filas de ítems con 📷, inventario, importador y switches ===== */
.met-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1rem 0}
@media(max-width:900px){.met-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.met{background:#fff;border:1px solid var(--line);border-radius:16px;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.2rem;min-width:0}
.met-l{font-size:.78rem;font-weight:600;color:var(--muted);letter-spacing:.01em}
.met-v{font-size:1.6rem;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-weight:700}
.met-v i{font-style:normal;color:#94a3b8;margin:0 .3rem;font-weight:400}
.met-v small{font-size:.8rem;font-weight:500;color:var(--muted)}
.met-s{font-size:.78rem;color:var(--muted)}
.met-alerta{border-color:#fcd34d;background:#fffbeb}.met-alerta .met-v{color:#b45309}

/* Fila de ítem: 📷 | nombre | descripción | precio | × (📷 y × comparten tamaño exacto) */
.srv-edit .srv-row{display:grid;grid-template-columns:42px minmax(0,1.2fr) minmax(0,1.6fr) minmax(0,.8fr) 42px;gap:.5rem;align-items:center}
.srv-edit .srv-row .cam,.srv-edit .srv-row .quitar{width:42px;height:42px;min-width:42px;min-height:42px;padding:0;font-size:1.1rem;line-height:1;border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:var(--ink)!important;flex:none}
.srv-edit .srv-row .cam:hover,.srv-edit .srv-row .quitar:hover{background:#f1f5f9}
.srv-edit .srv-row .cam:focus-visible,.srv-edit .srv-row .quitar:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.srv-edit .srv-row .quitar{color:#991b1b!important}
@media(max-width:640px){
  .srv-edit .srv-row{grid-template-columns:42px minmax(0,1fr) 42px}
  .srv-edit .srv-row .cam{grid-column:1;grid-row:1}
  .srv-edit .srv-row .srv-n{grid-column:2;grid-row:1}
  .srv-edit .srv-row .quitar{grid-column:3;grid-row:1}
  .srv-edit .srv-row .srv-d,.srv-edit .srv-row .srv-p{grid-column:1/-1}
}
.srv-foto:not(:has(.miniatura:not([hidden]))){display:none}
.srv-inv{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-top:.55rem}
.srv-inv select{width:auto;min-width:15rem}
.srv-stock{display:inline-flex;align-items:center;gap:.5rem;font-weight:500;font-size:.9rem;margin:0}
.srv-stock[hidden]{display:none}
.srv-stock input{width:6.5rem}

/* Importador de catálogo */
.import-box{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 1rem;overflow:hidden}
.import-box>summary{cursor:pointer;padding:.85rem 1rem;font-weight:700;list-style:none}
.import-box>summary::-webkit-details-marker{display:none}
.import-box[open]>summary{border-bottom:1px solid var(--line);background:#f8fafc}
.import-body{padding:1rem}
.import-pasos{margin:0 0 .6rem;padding-left:1.2rem}.import-pasos li{margin:.3rem 0}
.imp-res{margin-top:.8rem;padding:.7rem .9rem;border-radius:10px}
.imp-res.ok{background:#ecfdf5;color:#0f766e;border:1px solid #99d5ce}.imp-res.err{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.imp-res ul{margin:.4rem 0 0;padding-left:1.1rem}

/* Vitrina pública: stock */
.badge-stock{display:inline-block;margin-left:.4rem;padding:.1rem .55rem;border-radius:99px;font-size:.72rem;font-weight:700;vertical-align:middle}
.badge-agotado{background:#fee2e2;color:#991b1b}
.badge-ultimas{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.svc.agotado{opacity:.6}.svc.agotado .stepper,.svc.agotado .svc-price{opacity:.5}
.svc.agotado label{cursor:not-allowed!important}

/* Switches tipo iOS (tamaño fijo: no cambian de dimensión al encender/apagar) */
.vy-switch{position:relative;display:inline-block;width:51px;height:31px;flex:0 0 51px;margin:0;cursor:pointer;vertical-align:middle}
.vy-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.vy-switch .vy-sw-pista{position:absolute;inset:0;border-radius:31px;background:#cbd5e1;transition:background-color .22s ease}
.vy-switch .vy-sw-pista::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(15,23,42,.3);transition:transform .22s cubic-bezier(.3,.7,.4,1)}
.vy-switch input:checked+.vy-sw-pista{background:var(--brand)}
.vy-switch input:checked+.vy-sw-pista::after{transform:translateX(20px)}
.vy-switch input:focus-visible+.vy-sw-pista{outline:2px solid var(--brand);outline-offset:2px}
.vy-switch input:disabled+.vy-sw-pista{opacity:.55}
.t td.vy-sw-celda{width:130px;min-width:130px;text-align:center}
@media(prefers-reduced-motion:reduce){.vy-switch .vy-sw-pista,.vy-switch .vy-sw-pista::after{transition:none}}
.badge-stock{margin-left:0;margin-top:.15rem}
.srv-edit .srv-row .cam{font-size:1.3rem}

/* La barra superior de VitrinaYa conserva siempre el verde oficial, aunque el cliente elija otro color de marca */
.topbar{--brand:#0f766e;--marca:#0f766e}

/* La etiqueta de stock siempre ocupa su propia línea (antes "Agotado" quedaba pegada a la descripción) */
.svc-info .badge-stock{display:table}

/* Importador colapsable animado + botón de archivo */
.import-head{display:flex;width:100%;justify-content:space-between;align-items:center;gap:.5rem;background:none;border:0;font:inherit;font-weight:700;padding:.85rem 1rem;cursor:pointer;text-align:left;color:inherit}
.import-head:focus-visible{outline:2px solid #0f766e;outline-offset:-2px}
.import-chev{transition:transform .35s ease}
.import-box.abierto .import-chev{transform:rotate(180deg)}
.import-box.abierto .import-head{background:#f8fafc}
.import-anim{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .35s ease,opacity .35s ease,visibility 0s linear .35s;visibility:hidden}
.import-box.abierto .import-anim{grid-template-rows:1fr;opacity:1;visibility:visible;border-top:1px solid var(--line);transition-delay:0s}
.import-anim-in{overflow:hidden;min-height:0}
.file-nativo{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.file-btn{cursor:pointer}
.file-nombre{font-size:.85rem;color:#64748b;max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-nombre.lleno{color:#0f766e;background:#ecfdf5;border:1px solid #99d5ce;border-radius:999px;padding:.2rem .7rem}
@media (prefers-reduced-motion:reduce){.import-anim,.import-chev{transition:none}}

.imp-acciones{gap:.6rem;align-items:stretch}
.imp-acciones .btn{box-sizing:border-box;min-height:44px;padding:0 1rem;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;margin:0;line-height:1.2;white-space:nowrap}
.imp-acciones .file-nombre{flex:0 0 auto;width:fit-content;order:5;max-width:100%;margin-right:100%}
@media (max-width:600px){.imp-acciones .btn{flex:1 1 100%}}

.mod-nombre{font-weight:600;line-height:1.3;overflow-wrap:anywhere}

/* Planes comerciales y promociones */
.precio-tachado{color:var(--muted);font-weight:500;font-size:.62em;margin-right:.25rem}
.precio-final{font-weight:800}
.badge-promo{background:#fef3c7;color:#92400e;font-size:.7rem;vertical-align:middle;white-space:nowrap}
.promo-banner{display:flex;flex-wrap:wrap;gap:.5rem .7rem;align-items:center;justify-content:center;background:linear-gradient(90deg,#ecfdf5,#fef3c7);border:1px solid #99d5ce;border-radius:14px;padding:.75rem 1rem;margin:.8rem 0;font-size:.95rem}
.promo-chip{background:#0f766e;color:#fff;border-radius:999px;padding:.15rem .7rem;font-weight:700;font-size:.82rem}
.plan-card{display:flex;flex-direction:column;gap:.35rem}.plan-card .btn{margin-top:auto;align-self:flex-start}
.plan-dest{border:2px solid var(--brand);box-shadow:0 8px 28px rgba(15,118,110,.15)}

/* Chat de ayuda + buzón (abajo a la izquierda; los toasts viven a la derecha) */
.vy-chat{position:fixed;left:1rem;bottom:1rem;z-index:900;font-size:.94rem}
.vy-chat-fab{width:52px;height:52px;border-radius:50%;border:0;background:#0f766e;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(15,23,42,.22);transition:transform .2s ease,background .2s ease}
.vy-chat-fab:hover{background:#115e59}.vy-chat-fab:active{transform:scale(.94)}
.vy-chat-fab:focus-visible,.vy-chat-x:focus-visible,.vy-chip:focus-visible,.vy-tipo:focus-visible,.vy-chat-tabs button:focus-visible{outline:2px solid #0f766e;outline-offset:2px}
.vy-chat.abierto .vy-chat-fab{display:none}
.vy-chat-panel{position:absolute;left:0;bottom:0;width:min(350px,calc(100vw - 2rem));height:650px;max-height:calc(100vh - 50px);display:flex;flex-direction:column;background:rgba(255,255,255,.97);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 18px 50px rgba(15,23,42,.22);overflow:hidden;animation:vy-chat-in .22s ease}
.vy-chat-panel[hidden]{display:none}
@keyframes vy-chat-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.vy-chat-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;background:#0f766e;color:#fff;padding:.8rem 1rem}
.vy-chat-tit{display:flex;flex-direction:column;line-height:1.25}.vy-chat-tit span{font-size:.78rem;opacity:.85}
.vy-chat-x{background:rgba(255,255,255,.16);border:0;color:#fff;width:32px;height:32px;border-radius:50%;font-size:1.3rem;line-height:1;cursor:pointer}
.vy-chat-tabs{display:flex;gap:.3rem;padding:.5rem .6rem 0;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.vy-chat-tabs button{flex:1;border:0;background:none;padding:.55rem .4rem;font:inherit;font-weight:600;color:#64748b;border-bottom:2px solid transparent;cursor:pointer}
.vy-chat-tabs button.on{color:#0f766e;border-bottom-color:#0f766e}
.vy-chat-vista{display:flex;flex-direction:column;min-height:0;flex:1;overflow:auto}
.vy-chat-vista[hidden]{display:none}
.vy-chat-log{flex:1 1 auto;overflow:auto;padding:.8rem;display:flex;flex-direction:column;gap:.5rem;min-height:140px;max-height:260px}
.vy-m{max-width:88%;padding:.55rem .75rem;border-radius:14px;line-height:1.4;overflow-wrap:anywhere}
.vy-m p{margin:0}
.vy-m-bot{background:#f1f5f9;color:#0f172a;border-bottom-left-radius:4px;align-self:flex-start}
.vy-m-yo{background:#0f766e;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.vy-m-acc{display:flex;flex-direction:column;gap:.4rem;margin-top:.6rem}
.vy-btn-wa,.vy-btn-alt{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.4rem .9rem;border-radius:999px;font:inherit;font-weight:600;text-decoration:none;text-align:center;cursor:pointer}
.vy-btn-wa{background:var(--wa,#25d366);color:#fff;border:0}
.vy-btn-alt{background:#ecfdf5;color:#0f766e;border:1px solid #99d5ce}
.vy-chat-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:.2rem .8rem .6rem}
.vy-chip{background:#fff;border:1px solid #99d5ce;color:#0f766e;border-radius:999px;padding:.35rem .7rem;font:inherit;font-size:.82rem;text-align:left;cursor:pointer;line-height:1.3}
.vy-chip:hover{background:#ecfdf5}
.vy-chat-in{display:flex;gap:.4rem;padding:.6rem .8rem .8rem;border-top:1px solid #e2e8f0}
.vy-chat-in input{flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:999px;padding:.55rem .9rem;font:inherit;font-size:16px}
.vy-chat-send,.vy-fb-send{background:#0f766e;color:#fff;border:0;border-radius:999px;padding:.55rem 1rem;font:inherit;font-weight:600;cursor:pointer;min-height:40px}
.vy-chat-send:hover,.vy-fb-send:hover{background:#115e59}.vy-fb-send:disabled{opacity:.6;cursor:wait}
.vy-fb{display:flex;flex-direction:column;gap:.6rem;padding:.8rem}
.vy-fb[hidden]{display:none}
.vy-fb-tipos{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem}
.vy-tipo{display:flex;flex-direction:column;align-items:center;gap:.15rem;border:1px solid #cbd5e1;background:#fff;border-radius:14px;padding:.5rem .2rem;font:inherit;font-size:.8rem;font-weight:600;color:#334155;cursor:pointer}
.vy-tipo-e{font-size:1.25rem}
.vy-tipo.on{border-color:#0f766e;background:#ecfdf5;color:#0f766e;box-shadow:0 0 0 1px #0f766e inset}
.vy-fb-c{display:flex;flex-direction:column;gap:.2rem;font-size:.82rem;font-weight:600;color:#334155}
.vy-fb-c input,.vy-fb-c textarea{border:1px solid #cbd5e1;border-radius:12px;padding:.55rem .7rem;font:inherit;font-size:16px;font-weight:400;resize:vertical;max-width:100%}
.vy-fb-c .campo-error{border-color:#dc2626}
.vy-fb-err{color:#b91c1c;font-weight:500;min-height:0}.vy-fb-err:empty{display:none}
.vy-fb-cont{align-self:flex-end;color:#64748b;margin-top:-.3rem}
.vy-fb-ok{padding:1.4rem 1rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem}
.vy-fb-ok[hidden]{display:none}.vy-fb-ok p{margin:0;color:#475569}
.vy-fb-check{width:44px;height:44px;border-radius:50%;background:#ecfdf5;color:#0f766e;display:grid;place-items:center;font-size:1.4rem;font-weight:700}
@media (max-width:480px){.vy-chat{left:.6rem;bottom:.6rem}.vy-chat-panel{width:calc(100vw - 1.2rem)}}
@media print{.vy-chat{display:none!important}}
@media (prefers-reduced-motion:reduce){.vy-chat-panel{animation:none}.vy-chat-fab{transition:none}}
.fb-lista{display:grid;gap:.7rem}.fb-item .fb-msg{margin:.6rem 0 .3rem;overflow-wrap:anywhere;white-space:normal}

/* Panel Dudas: acordeón */
.vy-chat-vista{overflow:hidden}
.vy-acc{flex:1 1 auto;min-height:0;overflow-y:auto;padding:.6rem .7rem;display:flex;flex-direction:column;gap:.45rem;overscroll-behavior:contain}
.vy-acc-i{border:1px solid #e2e8f0;border-radius:14px;background:#fff;transition:border-color .25s ease,box-shadow .25s ease}
.vy-acc-i.abierto{border-color:#99d5ce;box-shadow:0 4px 14px rgba(15,118,110,.1)}
.vy-acc-h{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.6rem;background:none;border:0;padding:.7rem .85rem;font:inherit;font-weight:600;line-height:1.3;text-align:left;color:#0f172a;cursor:pointer;border-radius:14px}
.vy-acc-h:focus-visible{outline:2px solid #0f766e;outline-offset:-2px}
.vy-acc-ch{flex:none;color:#0f766e;font-size:1.1rem;transition:transform .3s ease}
.vy-acc-i.abierto .vy-acc-ch{transform:rotate(180deg)}
.vy-acc-p{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .3s ease,opacity .3s ease,visibility 0s linear .3s}
.vy-acc-i.abierto .vy-acc-p{grid-template-rows:1fr;opacity:1;visibility:visible;transition-delay:0s}
.vy-acc-in{overflow:hidden;min-height:0;padding:0 .85rem;display:flex;flex-direction:column;gap:.55rem;align-items:flex-start;color:#334155;line-height:1.45}
.vy-acc-in p{margin:0;overflow-wrap:anywhere}
.vy-acc-i.abierto .vy-acc-in{padding-bottom:.85rem}
.vy-acc-in .vy-btn-alt{min-height:36px}
.vy-acc-i.vy-hl{animation:vy-hl 1.6s ease}
@keyframes vy-hl{0%,60%{box-shadow:0 0 0 3px rgba(15,118,110,.35)}100%{box-shadow:0 4px 14px rgba(15,118,110,.1)}}
.vy-res{position:relative;margin:0 .7rem .5rem;padding:.7rem 2rem .75rem .85rem;background:#f1f5f9;border-radius:14px;color:#0f172a;line-height:1.4;max-height:42%;overflow:auto;animation:vy-chat-in .2s ease}
.vy-res[hidden]{display:none}.vy-res p{margin:0}
.vy-res-x{position:absolute;top:.35rem;right:.4rem;width:28px;height:28px;border:0;border-radius:50%;background:rgba(15,23,42,.08);font-size:1.1rem;line-height:1;cursor:pointer;color:#334155}
.vy-res-x:focus-visible{outline:2px solid #0f766e}
.vy-chat-in{flex:none}
@media (prefers-reduced-motion:reduce){.vy-acc-p,.vy-acc-ch,.vy-acc-i{transition:none}.vy-acc-i.vy-hl,.vy-res{animation:none}}
.vy-chat-panel{padding:0;margin:0}

/* Asistente: 350 x 650 (mismo tamaño que el teléfono de la portada), la lista ocupa todo el alto disponible */
.vy-chat-vista{flex:1 1 auto;min-height:0}
.vy-acc{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto}
@media (max-width:479px){.vy-chat-panel{width:calc(100vw - 1.2rem);height:650px;max-height:calc(100vh - 1.2rem)}}
.met-lista{margin:.5rem 0 0;padding:0;list-style:none;display:grid;gap:.35rem;counter-reset:m}.met-lista li{display:flex;justify-content:space-between;gap:.7rem;counter-increment:m;border-bottom:1px solid #f1f5f9;padding-bottom:.3rem}.met-lista li span{overflow-wrap:anywhere}.met-lista li span::before{content:counter(m) '. ';color:#64748b}.met-lista b{color:#0f766e}

/* Asistente: diagnóstico de cuenta y guía para visitantes */
.vy-diag{display:flex;flex-direction:column;gap:.45rem;padding:.15rem 0 .35rem}
.vy-diag-t{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b}
.vy-dx{padding:.75rem .85rem;border-radius:14px;border:1px solid #99d5ce;background:#ecfdf5;color:#0f172a;line-height:1.4}
.vy-dx p{margin:0 0 .55rem;overflow-wrap:anywhere}
.vy-dx-warn{background:#fffbeb;border-color:#fcd34d}
.vy-dx-bad{background:#fef2f2;border-color:#fca5a5}
.vy-dx-info{background:#f8fafc;border-color:#cbd5e1}
.vy-dx-b{display:flex;flex-wrap:wrap;gap:.4rem}
.vy-dx-b .vy-btn-alt{min-height:36px;background:#fff}
.vy-diag-mas{display:flex;flex-direction:column;gap:.45rem}
.vy-diag-mas[hidden]{display:none}
.vy-diag-tg{align-self:flex-start;background:none;border:0;padding:.2rem .1rem;font:inherit;font-size:.86rem;font-weight:600;color:#0f766e;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.vy-diag-tg:focus-visible{outline:2px solid #0f766e;border-radius:6px}
.vy-guia{display:grid;gap:.5rem}
.vy-guia-b{display:flex;flex-direction:column;gap:.1rem;padding:.8rem .95rem;border-radius:14px;border:1px solid #99d5ce;background:#fff;color:#0f172a;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.vy-guia-b span{font-size:.86rem;color:#475569}
.vy-guia-b:hover{box-shadow:0 4px 14px rgba(15,118,110,.14)}
.vy-guia-b:active{transform:scale(.985)}
.vy-guia-b:focus-visible{outline:2px solid #0f766e;outline-offset:2px}
.vy-guia-p{background:#0f766e;border-color:#0f766e;color:#fff}
.vy-guia-p span{color:#d1fae5}
@media (prefers-reduced-motion:reduce){.vy-guia-b{transition:none}}
.met-lista .js-descartar{margin-left:.5rem;background:none;border:0;padding:.1rem .3rem;font:inherit;font-size:.78rem;color:#64748b;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.met-lista .js-descartar:hover{color:#dc2626}
.met-lista .js-descartar:disabled{opacity:.5;cursor:default}

/* ---- Admin · Capacidad y proyección ---- */
.cap-diag{display:flex;gap:1rem;align-items:flex-start;border-left:6px solid var(--border,#cbd5e1)}
.cap-luz{flex:0 0 auto;width:18px;height:18px;border-radius:50%;margin-top:.35rem;background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.25)}
.cap-titulo{font-size:1.35rem;font-weight:800;letter-spacing:-.01em}
.cap-acc{margin:.5rem 0 0;padding-left:1.2rem;font-size:.9rem}
.cap-acc li{margin:.25rem 0}
.cap-verde{border-left-color:#0f766e}.cap-verde .cap-luz{background:#0f766e;box-shadow:0 0 0 5px rgba(15,118,110,.2)}
.cap-ambar{border-left-color:#d97706}.cap-ambar .cap-luz{background:#d97706;box-shadow:0 0 0 5px rgba(217,119,6,.2)}
.cap-rojo{border-left-color:#dc2626}.cap-rojo .cap-luz{background:#dc2626;box-shadow:0 0 0 5px rgba(220,38,38,.2)}
.cap-t-ambar{color:#b45309;font-weight:700}.cap-t-rojo{color:#b91c1c;font-weight:700}
#sim-tabla th[scope=row]{text-align:left;white-space:nowrap}
#sim input[type=range]{width:100%;margin:.4rem 0}

/* Capacidad: alineación de controles */
.cap-fila{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.cap-fila input{width:9rem;max-width:100%;margin:0}
.cap-btn{min-width:11.5rem;justify-content:center;text-align:center;white-space:nowrap;margin:0}
.cap-fila .small{margin:0}
.sim-cols{align-items:stretch}
.sim-col{display:flex;flex-direction:column;justify-content:flex-start}
.sim-col label{display:block;min-height:3.6rem}
.sim-col input[type=number]{width:9rem;max-width:100%}
@media (max-width:700px){.sim-col label{min-height:0}}

/* Capacidad: fila compacta del límite de disco (input fijo, botón estable, nota a la derecha) */
.cap-fila{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.cap-fila input#cap-gb{width:120px;flex:0 0 120px;max-width:120px;margin:0}
.cap-fila .cap-btn{flex:0 0 auto}
.cap-fila .cap-nota{flex:1 1 14rem;margin:0;text-align:right}
@media (max-width:600px){.cap-fila .cap-nota{text-align:left}}

/* Seguridad del SuperAdmin */
.badge-2fa-nav{display:inline-block;margin-left:.25rem;padding:.05rem .5rem;border-radius:99px;font-size:.7rem;font-weight:600;background:#ecfdf5;color:#0f766e;border:1px solid #99d5ce}
.tabs a.on .badge-2fa-nav{background:#fff}
.fuerza{display:flex;align-items:center;gap:.6rem;margin:.4rem 0 .2rem}
.fuerza-barra{flex:0 0 120px;height:6px;border-radius:99px;background:#e5e7eb;overflow:hidden}
.fuerza-barra i{display:block;height:100%;width:0;border-radius:99px;transition:width .25s ease,background .25s ease}
@media (prefers-reduced-motion:reduce){.fuerza-barra i{transition:none}}

/* SEO: preguntas frecuentes de la portada (details accesible, sin JS) */
.faq-sec{padding:2.5rem 0}
.faq-item{border:1px solid #e2e8f0;border-radius:12px;background:#fff;margin:.6rem 0;padding:0 1rem}
.faq-item summary{cursor:pointer;list-style:none;padding:.9rem 0;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary h3{margin:0;font-size:1.02rem;font-weight:600}
.faq-item summary::after{content:"+";font-size:1.3rem;color:#0f766e;flex:none}
.faq-item[open] summary::after{content:"−"}
.faq-item p{margin:0 0 1rem;color:#475569}

/* Respaldos: tarjetas alineadas y botones de tamaño fijo (sin efecto acordeón) */
.badge-bk-nav{display:inline-block;margin-left:.25rem;padding:.05rem .5rem;border-radius:99px;font-size:.7rem;font-weight:600;background:#fffbeb;color:#92400e;border:1px solid #fcd34d}
.tabs a.on .badge-bk-nav{background:#fff}
.bk-metricas{align-items:stretch}
.bk-card{display:flex;flex-direction:column;gap:.25rem}
.bk-kpi{font-size:1.45rem;line-height:1.2;letter-spacing:-.02em;min-height:2.6rem;display:flex;align-items:center}
.bk-estado{display:inline-block;font-size:1rem;font-weight:700;padding:.3rem .8rem;border-radius:99px;letter-spacing:0}
.bk-estado.ok{background:#ecfdf5;color:#0f766e;border:1px solid #99d5ce}
.bk-estado.pend{background:#fffbeb;color:#92400e;border:1px solid #fcd34d}
.bk-acciones{display:flex;flex-wrap:wrap;gap:.75rem}
.bk-acciones form{margin:0;display:contents}
.bk-btn{box-sizing:border-box;width:20.5rem;max-width:100%;height:46px;padding:0 1rem;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;margin:0;flex:0 0 auto}
.modal-acciones.bk-acciones .bk-btn{flex:0 0 auto;min-width:0}
.bk-notas{margin:1rem 0 0;padding-left:1.1rem}
.bk-notas li{margin:.25rem 0}
.bk-tabla td,.bk-tabla th{white-space:nowrap}
@media (max-width:480px){.bk-btn{width:100%;white-space:normal;line-height:1.2}}

/* Respaldos v2: botones en fila y panel de progreso */
.bk-acciones{display:flex;flex-wrap:wrap;align-items:center;gap:.85rem;margin-bottom:1rem}
.bk-acciones form{margin:0;display:flex;flex:0 0 auto}
.bk-acciones button.bk-btn{width:auto;max-width:100%;height:44px;min-width:280px;min-height:44px;padding:0 1.5rem;justify-content:center;box-sizing:border-box;white-space:nowrap;flex:0 0 auto}
.bk-btn[disabled]{opacity:.6;cursor:progress}
.bk-prog{margin:0 0 .5rem;padding:.9rem 1rem;border:1px solid #99d5ce;background:#ecfdf5;border-radius:14px}
.bk-prog-fila{display:flex;justify-content:space-between;gap:.75rem;align-items:baseline;font-weight:600;color:#0f766e}
.bk-prog-pct{font-variant-numeric:tabular-nums;font-size:1.1rem;letter-spacing:-.01em}
.bk-barra{height:10px;margin:.6rem 0 .45rem;border-radius:99px;background:#d1e9e5;overflow:hidden}
.bk-barra-v{height:100%;width:0;border-radius:99px;background:#0f766e}
.bk-prog.err{background:#fef2f2;border-color:#fecaca}.bk-prog.err .bk-prog-fila{color:#b91c1c}.bk-prog.err .bk-barra-v{background:#b91c1c}
.bk-prog-eta{min-height:1.2em;font-variant-numeric:tabular-nums}
@media (max-width:640px){.bk-acciones button.bk-btn{width:100%;min-width:0;white-space:normal;line-height:1.2;height:auto;min-height:44px;padding:.5rem 1rem}.bk-acciones form{flex:1 1 100%}}
