/* Soluciones Gráficas Integrales · estilos compartidos */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F1F6F9;
  --ink: #0B1B26;
  --ink-2: #445B6B;
  --ink-3: #6E8494;
  --line: #D3E0E9;
  --cyan: #17A6DC;
  --cyan-deep: #0B4E68;
  --cyan-text: #0A76A1;
  --cyan-soft: #DDF1FA;
  --magenta: #EC1279;
  --yellow: #FFC72C;
  --on-cyan: #04202B;
  --ok: #178A50; --ok-soft: #E1F4EA;
  --warn: #B86E00; --warn-soft: #FFF1D6;
  --bad: #C92A43; --bad-soft: #FCE4E8;
  --il-paper: #FFFFFF; --il-line: #9FB4C3; --il-gray: #D5E1E9; --il-ink: #12303F; --il-shadow: rgba(11, 27, 38, .12);
  --shadow: 0 1px 2px rgba(11, 27, 38, .06), 0 10px 30px -12px rgba(11, 27, 38, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 38, .35);
  --r: 14px;
  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-mono); font-size: .86em; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-text); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-pri { background: var(--cyan); color: var(--on-cyan); box-shadow: 0 8px 20px -8px rgba(23, 166, 220, .7); }
.btn-pri:hover { background: #2BB4E8; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--cyan); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #1B9A4D; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Barra superior y cabecera ---------- */
.utilbar { background: var(--cyan-deep); color: #D8EEF7; font-size: .8rem; }
.utilbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.utilbar a { text-decoration: none; color: #fff; font-weight: 600; }
.utilbar .u-msg { display: flex; gap: 18px; overflow: hidden; white-space: nowrap; }
.utilbar .u-msg span { display: inline-flex; align-items: center; gap: 6px; }
.utilbar .u-links { display: flex; gap: 16px; flex: none; }
@media (max-width: 760px) { .utilbar .u-msg span + span, .utilbar .u-links .u-hide { display: none; } }

.lang-link { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.lang-link:hover { background: rgba(255, 255, 255, .26); }
.lang-pill { font-size: .82rem; }
@media (max-width: 980px) { .lang-pill { display: none; } }
.cmyk-strip {display: grid; grid-template-columns: 3fr 3fr 3fr 1fr; height: 4px; }
.cmyk-strip i:nth-child(1) { background: var(--cyan); } .cmyk-strip i:nth-child(2) { background: var(--magenta); }
.cmyk-strip i:nth-child(3) { background: var(--yellow); } .cmyk-strip i:nth-child(4) { background: #0B1B26; }

.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-txt { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; line-height: 1.05; letter-spacing: -.02em; }
.brand-txt small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .7rem; letter-spacing: .02em; color: var(--cyan-text); margin-top: 3px; }
.brand-txt .dots { display: inline-flex; gap: 2px; margin-left: 3px; vertical-align: 2px; }
.brand-txt .dots i { width: 4px; height: 4px; border-radius: 50%; }
.brand-txt .dots i:nth-child(1) { background: var(--cyan); } .brand-txt .dots i:nth-child(2) { background: var(--magenta); } .brand-txt .dots i:nth-child(3) { background: var(--yellow); }

.search { position: relative; flex: 1; max-width: 520px; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 18px 0 44px; font-size: .95rem; }
.search input:focus { outline: none; border-color: var(--cyan); background: var(--surface); }
.search > svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search-res { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; max-height: 70vh; overflow: auto; z-index: 80; }
.search-res a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.search-res a:hover, .search-res a.act { background: var(--surface-2); }
.search-res .ilus { width: 54px; height: 40px; flex: none; }
.search-res b { display: block; font-size: .92rem; }
.search-res small { color: var(--ink-3); font-size: .78rem; }
.search-res .none { padding: 14px; color: var(--ink-2); font-size: .9rem; }

.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .88rem; cursor: pointer; }
.icon-btn:hover { border-color: var(--cyan); }
.icon-btn svg { width: 20px; height: 20px; flex: none; }
.icon-btn .badge { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--surface); }
.icon-btn .badge[data-n="0"] { display: none; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .head-row { gap: 10px; min-height: 64px; }
  .search { order: 5; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
  .head-row { flex-wrap: wrap; }
  .menu-btn { display: inline-flex; }
  .icon-btn .lbl { display: none; }
  .brand-txt small { display: none; }
}
@media (max-width: 400px) { .brand-txt { font-size: .9rem; } .brand img { width: 38px; height: 38px; } .icon-btn { padding: 0 11px; } }

/* ---------- Menú de productos (desktop) ---------- */
.catnav { border-top: 1px solid var(--line); background: var(--surface); }
.catnav > .wrap { display: flex; align-items: stretch; gap: 2px; }
.catnav-item { position: static; }
.catnav-link { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; font-weight: 600; font-size: .9rem; text-decoration: none; border: 0; background: none; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.catnav-link:hover, .catnav-item.open > .catnav-link { color: var(--cyan-text); border-bottom-color: var(--cyan); }
.catnav-link.hot { color: var(--magenta); }
.catnav-link .chev { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.catnav-item.open .chev { transform: rotate(180deg); }
.catnav-extra { margin-left: auto; display: flex; }
.catnav-extra .catnav-link { color: var(--cyan-text); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 70; }
.catnav-item.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.mega-in { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-block: 28px; max-height: calc(100vh - 180px); overflow: auto; }
.mega-side { background: var(--surface-2); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mega-side .ilus { width: 100%; height: auto; max-height: 150px; }
.mega-side h3 { font-size: 1.15rem; }
.mega-side p { color: var(--ink-2); font-size: .9rem; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px 28px; align-content: start; }
.mega-col h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-col a { display: flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; font-size: .93rem; }
.mega-col a:hover { color: var(--cyan-text); }
.mega-col a:hover .ilus-mini { transform: scale(1.08) rotate(-3deg); }
.ilus-mini { width: 38px; height: 28px; flex: none; transition: transform .2s; }
.tag-top { font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--yellow); color: #3A2A00; padding: 2px 6px; border-radius: 4px; }
.mega-gf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-gf .mega-col { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.mega-gf .mega-col h4 { display: flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--f-display); font-size: .95rem; letter-spacing: -.01em; text-transform: none; }
.mega-gf .mega-col h4 .ilus { width: 42px; height: 32px; }
@media (max-width: 1180px) { .catnav-link { padding: 0 8px; font-size: .84rem; } }
@media (max-width: 980px) { .catnav { display: none; } }

/* ---------- Menú móvil (drill-down) ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(4, 14, 20, .5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 92vw); background: var(--surface); transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head b { font-family: var(--f-display); }
.drawer-body { position: relative; flex: 1; overflow: hidden; }
.dr-level { position: absolute; inset: 0; overflow: auto; padding: 8px 8px 24px; background: var(--surface); transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
.dr-level.sub { transform: translateX(100%); }
.dr-level.sub.show { transform: none; }
.dr-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 10px; border: 0; background: none; text-align: left; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .98rem; cursor: pointer; }
.dr-link:hover { background: var(--surface-2); }
.dr-link .ilus { width: 50px; height: 38px; flex: none; }
.dr-link .go { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); }
.dr-title { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 16px 10px 6px; }
.dr-back { color: var(--cyan-text); }

/* ---------- Migas ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--ink-3); padding-top: 22px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--cyan-text); }
.crumbs span::before { content: '/'; margin-right: 6px; opacity: .5; }

/* ---------- Secciones y tarjetas ---------- */
.sec { padding-block: clamp(48px, 7vw, 88px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.sec-head p { color: var(--ink-2); max-width: 56ch; margin-top: 8px; }
.grid { display: grid; gap: 18px; }
.g-cat { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.g-prod { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 520px) { .g-prod, .g-cat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cyan) 45%, var(--line)); }
.pcard-img { position: relative; background: var(--surface-2); aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-img .ilus { position: absolute; top: 9%; left: 9%; width: 82%; height: 82%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pcard-img .ilus { transform: scale(1.06) rotate(-1.5deg); }
.crop i { position: absolute; width: 14px; height: 14px; border-color: var(--ink-3); border-style: solid; border-width: 0; opacity: 0; transition: opacity .2s, inset .25s; }
.crop i:nth-child(1) { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop i:nth-child(2) { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crop i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.pcard:hover .crop i { opacity: .8; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-body h3 { font-size: 1rem; letter-spacing: -.01em; }
.pcard-body p { font-size: .85rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price-from { font-size: .78rem; color: var(--ink-3); }
.price-from b { display: block; font-family: var(--f-display); font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em; }
.pcard .go-txt { font-size: .82rem; font-weight: 700; color: var(--cyan-text); }
.pcard .flag { position: absolute; top: 10px; left: 10px; z-index: 2; }
@media (max-width: 520px) { .pcard-body { padding: 10px 12px 12px; } .pcard-body p { display: none; } .pcard-body h3 { font-size: .9rem; } }

.ccard { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard .pcard-img { aspect-ratio: 16 / 10; }
.ccard-b { padding: 14px 16px 16px; }
.ccard-b h3 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ccard-b h3 small { font-family: var(--f-mono); font-size: .7rem; color: var(--ink-3); font-weight: 500; }
.ccard-b p { font-size: .85rem; color: var(--ink-2); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 520px) { .ccard-b p { display: none; } .ccard-b { padding: 10px 12px; } .ccard-b h3 { font-size: .92rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: .86rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--cyan); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Pie ---------- */
.site-foot { background: #071822; color: #C4D6E1; margin-top: 40px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--cyan); }
.foot-cta { background: var(--cyan); color: var(--on-cyan); }
.foot-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; }
.foot-cta h2 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); color: #04202B; }
.foot-cta p { color: #083246; }
.foot-cta .btn-dark { background: #04202B; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 48px 32px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #7FA3B7; margin-bottom: 12px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .92rem; }
.foot-brand p { font-size: .9rem; margin-top: 12px; max-width: 36ch; }
.foot-brand .brand-txt { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px; font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #7FA3B7; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
/* Pie Colombia (2026-11): contacto con íconos, redes y enlaces legales */
.foot-grid { grid-template-columns: 1.3fr .9fr .9fr 1.4fr; }
.fc-lista { gap: 14px !important; }
.fc { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.fc-i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; color: var(--cyan); }
.fc-i svg { width: 17px; height: 17px; }
.fc small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #8FB2C4; margin-bottom: 1px; }
.fc a, .fc > span { overflow-wrap: anywhere; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; transition: border-color .15s ease, color .15s ease; }
.foot-social a:hover { border-color: var(--cyan); }
.foot-social svg { width: 19px; height: 19px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot .foot-bottom { padding-bottom: 88px; } /* deja libre el botón flotante de WhatsApp */
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-contacto { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-bottom { flex-direction: column; } }

/* ---------- WhatsApp flotante y avisos ---------- */
.fab-wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.07); }
.fab-wa svg { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); z-index: 300; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--cyan); font-weight: 800; }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field > .lbl { font-weight: 700; font-size: .88rem; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.inp, select.inp, textarea.inp { width: 100%; min-height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 10px 14px; font-size: .95rem; }
textarea.inp { min-height: 110px; resize: vertical; }
.inp:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 18%, transparent); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: .88rem; font-weight: 600; transition: border-color .15s, background .15s; }
.opt small { font-weight: 500; color: var(--ink-3); font-size: .76rem; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:hover { border-color: color-mix(in srgb, var(--cyan) 60%, var(--line)); }
.opt:has(input:checked) { border-color: var(--cyan); background: var(--cyan-soft); box-shadow: inset 0 0 0 1px var(--cyan); }
.opt:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); font-size: .9rem; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--cyan); flex: none; }
.check .add { margin-left: auto; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.check:has(input:checked) { border-color: var(--cyan); background: var(--cyan-soft); }

/* ---------- Revelado suave (visible por defecto) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { animation: rv .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
  @keyframes rv { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- Ilustraciones ---------- */
.ilus { display: block; overflow: visible; }
.ilus .il-p { fill: var(--il-paper); }
.ilus .il-l { stroke: var(--il-line); stroke-width: 1.2; }
.ilus .il-c { fill: #17A6DC; } .ilus .il-m { fill: #EC1279; } .ilus .il-y { fill: #FFC72C; }
.ilus .il-k { fill: var(--il-ink); } .ilus .il-g { fill: var(--il-gray); } .ilus .il-sh { fill: var(--il-shadow); }
.ilus .il-pf { stroke: #fff; } .ilus .il-ks { stroke: var(--il-ink); fill: none; }
.ilus text { font-family: var(--f-display); }
.ilus .il-mt, .ilus .il-kt { fill: var(--il-ink); } .ilus .il-pt { fill: #fff; } .ilus .il-ct { fill: #17A6DC; }
