/* Estilos de las herramientas gratis (vectorizar, mejorar imagen, quitar fondo, código QR) */
.vec{padding-top:40px;padding-bottom:64px}
.vec-cab{max-width:780px;margin-bottom:24px}
.vec-cab .tit{font-size:clamp(40px,6vw,64px)}
.vec-cab p{color:var(--texto2);font-size:17px;margin-top:10px}
.vec-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.vec-chips span{background:var(--gris);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}
.vec-drop{display:block;background:#fff;border:2px dashed var(--borde);border-radius:18px;padding:56px 24px;text-align:center;cursor:pointer;transition:.15s}
.vec-drop:hover,.vec-drop.over{border-color:var(--negro);background:#FAFAF8}
.vec-drop strong{display:block;font-size:22px;font-weight:800;margin:10px 0 6px}.vec-drop small{color:var(--texto3)}
.vec-panel{background:#fff;border:1px solid var(--linea);border-radius:18px;padding:20px}
.vec-info{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.vec-info h2{font-size:18px;font-weight:800;margin:0;word-break:break-all}.vec-meta{color:var(--texto3);font-size:14px}
.vec-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px 20px;margin-top:18px;align-items:start}
.vec-opts .et{display:flex;justify-content:space-between;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--texto3);margin-bottom:6px}
.vec-seg{display:flex;background:var(--gris);border-radius:10px;padding:3px;flex-wrap:wrap}
.vec-seg button{flex:1;font:inherit;font-size:14px;font-weight:700;border:0;background:none;padding:9px 8px;border-radius:8px;cursor:pointer;color:var(--negro);min-width:40px}
.vec-seg button.on{background:var(--negro);color:#fff}
.vec input[type=range]{width:100%;accent-color:var(--negro)}
.vec-rango{display:flex;justify-content:space-between;font-size:12px;color:var(--texto3);margin-top:2px}
.vec-chk{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;cursor:pointer;margin-top:6px}
.vec-chk input{width:18px;height:18px;accent-color:var(--negro)}
.vec-ver{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}
.vec-caja{border:1px solid var(--linea);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.vec-caja header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;font-weight:800;font-size:14px;border-bottom:1px solid var(--linea);gap:8px}
.vec-lienzo{position:relative;aspect-ratio:4/3;background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in}
.vec-lienzo.zoom{cursor:zoom-out}
.vec-lienzo img,.vec-lienzo svg{max-width:94%;max-height:94%;width:auto;height:auto;transition:transform .15s}
.vec-lienzo.zoom img,.vec-lienzo.zoom svg{transform:scale(3)}
.vec-lienzo svg,.vec-lienzo img{width:94%;height:94%;object-fit:contain}
.vec-lienzo.contorno svg path{fill:none!important;stroke:#E0007A!important;stroke-width:var(--sw,1)!important}
.vec-cargando{position:absolute;inset:0;background:rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;font-weight:800}
.vec-stats{font-size:12px;color:var(--texto3);font-weight:600}
.vec-acc{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--linea);align-items:center}
.btn-borde{background:#fff;color:var(--negro);border:1px solid var(--borde)}
.vec .btn:disabled{opacity:.4;cursor:not-allowed}
.vec-mini{background:none;border:1px solid var(--linea);border-radius:8px;padding:4px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;color:inherit}
.vec-mini.on{background:var(--negro);color:#fff;border-color:var(--negro)}
.vec-aviso{background:#FFF4D6;color:#5A4300;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:600;margin-top:14px}
.vec-tips{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:28px}
.vec-tips div{background:var(--gris);border-radius:14px;padding:16px}.vec-tips b{display:block;margin-bottom:4px}.vec-tips p{margin:0;color:var(--texto2);font-size:14px}
.vec-cta{margin-top:40px;background:var(--negro);color:#fff;border-radius:20px;padding:32px;display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.vec-cta .tit{font-size:clamp(30px,4vw,44px);color:#fff;margin:0}.vec-cta p{color:#BDBDBD;margin-top:8px;max-width:620px}
.vec-cta .bts{display:flex;gap:10px;flex-wrap:wrap}.vec-cta .btn-borde{background:transparent;color:#fff;border-color:#555}
[hidden]{display:none!important}
@media (max-width:760px){.vec-ver{grid-template-columns:1fr}}
html.oscuro .vec-drop,html.oscuro .vec-panel,html.oscuro .btn-borde{background:#1C1D20;border-color:#35363B;color:#ECECEA}
html.oscuro .vec-drop:hover,html.oscuro .vec-drop.over{border-color:var(--lima);background:#222327}
html.oscuro .vec-seg,html.oscuro .vec-chips span,html.oscuro .vec-tips div{background:#25262A}
html.oscuro .vec-seg button{color:#ECECEA}html.oscuro .vec-seg button.on,html.oscuro .vec-mini.on{background:var(--lima);color:#0A0A0A;border-color:var(--lima)}
html.oscuro .vec-caja,html.oscuro .vec-caja header,html.oscuro .vec-acc{border-color:#35363B}
html.oscuro .vec input[type=range],html.oscuro .vec-chk input{accent-color:var(--lima)}
html.oscuro .vec-cab p,html.oscuro .vec-meta,html.oscuro .vec-opts .et,html.oscuro .vec-rango,html.oscuro .vec-stats,html.oscuro .vec-drop small,html.oscuro .vec-tips p{color:#B9B9B5}
html.oscuro .vec-cta{background:#1C1D20;border:1px solid #35363B}html.oscuro .vec-aviso{background:#3A3012;color:#FFE08A}

.vec-prog{height:8px;background:var(--gris);border-radius:99px;overflow:hidden;margin-top:10px}.vec-prog i{display:block;height:100%;width:0;background:var(--lima);transition:width .2s}
.vec-fondo-sel{display:flex;gap:6px}.vec-fondo-sel button{width:28px;height:28px;border-radius:8px;border:2px solid var(--linea);cursor:pointer}
.vec-fondo-sel button.on{border-color:var(--negro);box-shadow:0 0 0 2px var(--lima)}
.vec-lienzo.f-blanco{background:#fff}.vec-lienzo.f-negro{background:#0A0A0A}.vec-lienzo.f-lima{background:var(--lima)}
.vec-campo{display:flex;flex-direction:column;gap:6px}.vec-campo input,.vec-campo textarea,.vec-campo select{font:inherit;font-size:15px;padding:11px 12px;border:1px solid var(--borde);border-radius:10px;background:#fff;color:var(--negro);width:100%;box-sizing:border-box}
.vec-campo textarea{min-height:80px;resize:vertical}
.vec-sw{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.vec-sw button{width:32px;height:32px;border-radius:9px;border:2px solid #fff;box-shadow:0 0 0 1px var(--borde);cursor:pointer}
.vec-sw button.on{box-shadow:0 0 0 2px var(--negro)}.vec-sw input[type=color]{width:40px;height:34px;border:0;background:none;padding:0;cursor:pointer}
.vec-mejor{margin-top:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#F2FFD0;border-radius:12px;padding:12px 14px;font-size:14px;font-weight:600}
html.oscuro .vec-campo input,html.oscuro .vec-campo textarea,html.oscuro .vec-campo select{background:#1C1D20;border-color:#35363B;color:#ECECEA}
html.oscuro .vec-mejor{background:#2A3310;color:#E4FFA0}html.oscuro .vec-prog{background:#25262A}

/* PDF a vector */
.vec-hojas{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.vec-hojas button{border:1px solid var(--linea);background:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.vec-hojas button.on{background:var(--negro);color:#fff;border-color:var(--negro)}
.vec-plienzo{aspect-ratio:auto;height:min(72vh,760px)}
#vec-ppanel .vec-aviso{margin-top:12px}
html.oscuro .vec-hojas button{background:#25262A;color:#ECECEA;border-color:#35363B}html.oscuro .vec-hojas button.on{background:var(--lima);color:#0A0A0A}
