/* Hoja CSS de Convertir HEIC a JPG editordeimagenes.com */
/* Realizado por Francisco J. Ponce */
/* Octubre de 2026 */
.heic-page .article>*{max-width:none}
.heic-hero{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:center;padding:10px 0 26px}
.heic-hero h1{margin:8px 0 6px;font-family:var(--font-display);font-size:clamp(2.2rem,5.4vw,3.6rem);line-height:1.03;letter-spacing:-.035em}
.heic-hero .lead{max-width:660px;margin:14px 0 0;color:var(--text-2);font-size:1.1rem}
.heic-kicker{display:inline-flex;align-items:center;gap:8px;margin:0;padding:6px 14px 6px 10px;border-radius:999px;border:1px solid var(--border);background:var(--bg-2);color:var(--text-2);font-size:.86rem;font-weight:600}
.heic-kicker svg{width:18px;height:18px;color:var(--ok)}
.heic-hero-media{display:grid;place-items:center;padding:20px 0}
.heic-ilus{position:relative;width:100%;max-width:330px;aspect-ratio:4/3.2}
.heic-ilus-foto{position:absolute;inset:0;border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#2b3a67 0%,#c86a7a 48%,#ff9a62 70%,#ffd27a 100%);box-shadow:0 30px 60px -24px rgba(0,0,0,.6),0 0 0 6px var(--bg-2),0 0 0 7px var(--border);transform:rotate(-3deg);animation:heic-flota 6s ease-in-out infinite}
.heic-ilus-foto i{position:absolute;display:block}
.heic-ilus-foto .sol{left:60%;top:34%;width:22%;aspect-ratio:1;border-radius:50%;background:#fff3c4;box-shadow:0 0 40px 10px rgba(255,236,170,.55)}
.heic-ilus-foto .monte{left:-10%;right:-10%;bottom:0;height:58%;background:#3b2f4a;clip-path:polygon(0 60%,22% 18%,40% 50%,62% 0,100% 55%,100% 100%,0 100%)}
.heic-ilus-foto .m2{height:42%;background:#2a2238;clip-path:polygon(0 40%,30% 70%,55% 25%,80% 60%,100% 35%,100% 100%,0 100%)}
.heic-ilus-foto .suelo{left:0;right:0;bottom:0;height:20%;background:#1d2b2a;clip-path:ellipse(80% 100% at 40% 100%)}
.heic-ilus-ext{position:absolute;left:16px;top:16px;z-index:2;height:34px;overflow:hidden;border-radius:999px;background:rgba(16,17,19,.82);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transform:rotate(-3deg)}
.heic-ilus-ext span{display:block;height:34px;padding:0 14px;line-height:34px;font:800 .9rem/34px var(--font-display);letter-spacing:.06em;color:#b9b7b0;animation:heic-ext 5s cubic-bezier(.7,0,.3,1) infinite}
.heic-ilus-ext span+span{color:#ff8a63}
@keyframes heic-ext{0%,35%{transform:translateY(0)}45%,90%{transform:translateY(-34px)}100%{transform:translateY(0)}}
@keyframes heic-flota{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(-2deg) translateY(-6px)}}
.heic-ilus-chip{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:9px 14px 9px 10px;border-radius:12px;background:var(--surface);border:1px solid var(--border);box-shadow:0 14px 30px -14px rgba(0,0,0,.5);font-size:.82rem;white-space:nowrap;animation:heic-chip .7s .5s cubic-bezier(.2,.9,.3,1.2) both,heic-vaiven 5s 1.2s ease-in-out infinite}
.heic-ilus-chip svg{width:20px;height:20px;padding:3px;border-radius:7px;flex:none}
.heic-ilus-chip b{font-weight:700;color:var(--text)}
.heic-ilus-gps{left:-18px;bottom:16%}
.heic-ilus-gps svg{color:var(--ok);background:rgba(74,222,128,.14)}
.heic-ilus-ok{right:-14px;top:30%;animation-delay:.9s,1.6s}
.heic-ilus-ok svg{color:var(--accent-ink);background:var(--accent)}
@keyframes heic-chip{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:none}}
@keyframes heic-vaiven{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.heic{scroll-margin-top:80px}
.heic:focus{outline:none}
.heic>.trust{margin:16px auto 0}
.heic-trabajo{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.heic-col{min-width:0}
.heic-resumen{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;min-height:38px;margin-bottom:10px}
.heic-resumen-txt{margin:0;color:var(--text-2);font-size:.95rem}
.heic-resumen-txt strong{color:var(--text)}
.heic-acciones-lista{display:flex;gap:6px}
.heic-progreso{height:4px;margin:0 0 12px;border-radius:4px;background:var(--surface-2);overflow:hidden}
.heic-progreso span{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,var(--accent),var(--accent-2));transition:width .35s}
.heic-lista{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.heic-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);transition:border-color .2s}
.heic-item[data-estado="proc"]{border-color:var(--border-2)}
.heic-item[data-estado="error"]{border-color:rgba(248,113,113,.45)}
.heic-mini{position:relative;width:64px;height:64px;border-radius:10px;overflow:hidden;background:repeating-conic-gradient(var(--checker-a) 0 25%,var(--checker-b) 0 50%) 0 0/14px 14px}
.heic-mini img{display:block;width:100%;height:100%;object-fit:cover}
.heic-mini img:not([src]){visibility:hidden}
.heic-mini span{position:absolute;left:4px;bottom:4px;padding:1px 5px;border-radius:5px;background:rgba(16,17,19,.8);color:#ecebe7;font-size:.6rem;font-weight:800;letter-spacing:.05em}
.heic-info{min-width:0}
.heic-nombre{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:.94rem}
.heic-meta{margin:2px 0 0;color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}
.heic-chips{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 0}
.heic-chips:empty{display:none}
.heic-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 6px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--text-2);font-size:.74rem;line-height:1.3}
.heic-chip svg{width:13px;height:13px;flex:none}
.heic-chip-alerta{background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.35);color:var(--warn)}
.heic-chip-edit{background:rgba(255,107,61,.12);border-color:rgba(255,107,61,.35);color:var(--accent-2)}
.heic-chip-ok{background:rgba(74,222,128,.1);border-color:rgba(74,222,128,.3);color:var(--ok)}
.heic-estado{display:flex;flex-direction:column;align-items:flex-end;gap:7px;text-align:right}
.heic-res{display:flex;flex-direction:column;align-items:flex-end;margin:0;color:var(--text-2);font-size:.82rem}
.heic-item[data-estado="espera"] .heic-res,.heic-item[data-estado="proc"] .heic-res{flex-direction:row;align-items:center;gap:7px}
.heic-res strong{color:var(--text);font-size:.86rem}
.heic-res small{color:var(--muted);font-size:.74rem}
.heic-err{color:var(--danger)}
[data-theme="light"] .heic-err{color:#b91c1c}
.heic-reintentar{margin-top:4px;padding:0;border:0;background:none;color:var(--accent-2);font-weight:700;font-size:.8rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.heic-giro{width:14px;height:14px;border-radius:50%;border:2px solid var(--border-2);border-top-color:var(--accent)}
.heic-item[data-estado="proc"] .heic-giro{animation:heic-giro .8s linear infinite}
.heic-item[data-estado="espera"] .heic-giro{border-top-color:var(--border-2)}
@keyframes heic-giro{to{transform:rotate(360deg)}}
.heic-botones{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}
.heic-bajar,.heic-editar{text-decoration:none}
.heic-editar:disabled{opacity:.5;cursor:progress}
.heic-bajar.heic-viejo{opacity:.4;pointer-events:none}
.heic-icono{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:9px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-2);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.heic-icono:hover{color:var(--text);border-color:var(--border-2);background:var(--surface-3)}
.heic-panel{position:sticky;top:76px;display:flex;flex-direction:column;gap:10px}
.heic-grupo{min-width:0;margin:0;padding:14px 16px 16px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border)}
.heic-grupo legend{float:left;width:100%;display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:0;font-weight:700;font-size:.95rem}
.heic-grupo legend+*{clear:both}
.heic-num{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-size:.78rem;font-weight:800}
.heic-formatos{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.heic-formatos label{position:relative;display:flex}
.heic-formatos input,.heic-op input{position:absolute;opacity:0;width:1px;height:1px}
.heic-formatos span{display:flex;flex-direction:column;gap:2px;width:100%;padding:10px 6px;border-radius:10px;border:1px solid var(--border-2);background:var(--bg-2);text-align:center;cursor:pointer;transition:border-color .2s,background .2s}
.heic-formatos strong{font-size:.92rem}
.heic-formatos small{font-size:.7rem;line-height:1.25;color:var(--text-2)}
.heic-formatos input:checked+span,.heic-op input:checked+span{border-color:var(--accent);background:rgba(255,107,61,.12)}
.heic-formatos input:focus-visible+span,.heic-op input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.heic-formatos .heic-no span{opacity:.45;cursor:not-allowed}
.heic-calidad{margin:14px 0 0}
.heic-calidad input{width:100%}
.heic-grupo .ctl-row{margin-bottom:10px}
.heic-grupo .ctl-row input[type="number"]{width:110px;min-height:36px;padding:7px 10px;font-size:.85rem}
.heic-grupo .hint{margin:0}
.heic-opciones{display:flex;flex-direction:column;gap:6px}
.heic-op{position:relative;display:flex}
.heic-op span{position:relative;display:flex;flex-direction:column;gap:2px;width:100%;padding:10px 12px 10px 38px;border-radius:10px;border:1px solid var(--border-2);background:var(--bg-2);cursor:pointer;transition:border-color .2s,background .2s}
.heic-op span::before{content:'';position:absolute;left:13px;top:13px;width:14px;height:14px;border-radius:50%;border:2px solid var(--border-2);transition:border-color .2s,box-shadow .2s}
.heic-op input:checked+span::before{border-color:var(--accent);box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 8px var(--accent)}
.heic-op strong{font-size:.9rem}
.heic-op small{font-size:.76rem;line-height:1.35;color:var(--text-2)}
.heic-descarga{padding:16px}
.heic-btn-zip{width:100%;padding:13px 18px}
.heic-nota{margin:10px 0 0;font-size:.78rem;line-height:1.45;color:var(--muted);text-align:center}
.heic-problemas li{margin-bottom:8px}
.heic-tabla{width:100%;border-collapse:collapse;font-size:.92rem}
.heic-tabla th,.heic-tabla td{padding:11px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.heic-tabla tbody tr:last-child>*{border-bottom:0}
.heic-tabla thead th{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.heic-tabla tbody th{color:var(--text);font-weight:700;white-space:nowrap}
.heic-tabla td{color:var(--text-2)}
.heic-tabla td:last-child{white-space:nowrap}
.heic-datos{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:6px 0 18px}
.heic-dato{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;column-gap:12px;padding:18px;border-radius:var(--radius);background:var(--bg-2);border:1px solid var(--border)}
.heic-dato-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,107,61,.12);color:var(--accent-2)}
.heic-dato-ico svg{width:22px;height:22px}
.heic-dato h3{margin:0!important;font-size:1rem;line-height:1.25}
.heic-dato p{grid-column:1/-1;margin:12px 0 0!important;font-size:.9rem}
.heic-dato-alerta{border-color:rgba(251,191,36,.4);background:linear-gradient(180deg,rgba(251,191,36,.08),transparent 70%),var(--bg-2)}
.heic-dato-alerta .heic-dato-ico{background:rgba(251,191,36,.15);color:var(--warn)}
.heic-claves{list-style:none;counter-reset:cl;margin:4px 0 16px;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px}
.heic-claves li{counter-increment:cl;position:relative;padding-left:44px;margin:0}
.heic-claves li::before{content:counter(cl);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-weight:800;font-size:.9rem}
@media (max-width:1100px){.heic-datos{grid-template-columns:1fr 1fr}}
@media (max-width:960px){.heic-hero{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.heic-trabajo{grid-template-columns:1fr}.heic-panel{position:static;display:grid;grid-template-columns:1fr 1fr}.heic-descarga{grid-column:1/-1}}
@media (max-width:760px){.heic-hero{grid-template-columns:1fr}.heic-hero-media{display:none}.heic-panel{grid-template-columns:1fr}.heic-claves{grid-template-columns:1fr}}
@media (max-width:560px){.heic-item{position:relative}.heic-quitar{position:absolute;top:10px;right:10px;width:30px;height:30px}.heic-info{padding-right:30px}.heic-botones{flex-wrap:nowrap}.heic-editar span{display:none}.heic-editar{padding:8px 10px}.heic-res strong{white-space:nowrap}.heic-item{grid-template-columns:52px minmax(0,1fr);gap:10px 12px}.heic-mini{width:52px;height:52px}.heic-estado{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;text-align:left}.heic-res{align-items:flex-start}.heic-datos{grid-template-columns:1fr}.heic-tabla td:last-child{white-space:normal}}
@media (prefers-reduced-motion:reduce){.heic-ilus-foto,.heic-ilus-ext span,.heic-ilus-chip{animation:none}.heic-item[data-estado="proc"] .heic-giro{animation-duration:2s}}