/* =========================================================
   Datatronick Company · www.datatronick.com
   Sistema: Manual de Identidad Corporativa v1.0
   Motivo único: la casa del logo (techo a 45°) → pestañas, botones, marco de imágenes, viñetas
   ========================================================= */
@font-face { font-family: "Exo 2"; src: url("/assets/fonts/exo2.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  --y: #FCC607; --on-y: #000; --y-soft: #FFE57A;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --m: clamp(16px, 4vw, 56px);           /* margen exterior único */
  --gap: clamp(96px, 13vw, 200px);       /* separación entre secciones */
  --maxw: 1440px;
  --f-display: "Exo 2", "Montserrat", system-ui, sans-serif;
  --f-text: "Montserrat", system-ui, sans-serif;
  --roof: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%);
  color-scheme: dark;
}
:root[data-theme="dark"] {
  --bg: #000; --bg2: #0B0B0B; --surface: #141414; --surface2: #1F1F1F; --ink: #FFFFFF; --muted: #BDBDBD;
  --line: #2A2A2A; --accent-ink: #FCC607; --logo-k: #FFFFFF; --logo-y: #FCC607;
  --f1: #262626; --f1-ink: #fff; --f2: #D1D1D1; --f2-ink: #000; --f3: #F2F2F2; --f3-ink: #000; --f4: #FCC607; --f4-ink: #000; --f5: #111111; --f5-ink: #fff;
  --fd1: #0E0E0E; --fd1-ink: #fff; --fd2: #2B2B2B; --fd2-ink: #fff; --fd3: #FCC607; --fd3-ink: #000; --fd4: #F2F2F2; --fd4-ink: #000;
  --nav-bg: rgba(0,0,0,.72);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF; --bg2: #F4F4F4; --surface: #F4F4F4; --surface2: #E9E9E9; --ink: #000; --muted: #555555;
  --line: #E0E0E0; --accent-ink: #000; --logo-k: #000; --logo-y: #FCC607;
  --f1: #1A1A1A; --f1-ink: #fff; --f2: #6B6B6B; --f2-ink: #fff; --f3: #D1D1D1; --f3-ink: #000; --f4: #FCC607; --f4-ink: #000; --f5: #F4F4F4; --f5-ink: #000;
  --fd1: #F4F4F4; --fd1-ink: #000; --fd2: #D1D1D1; --fd2-ink: #000; --fd3: #FCC607; --fd3-ink: #000; --fd4: #1A1A1A; --fd4-ink: #fff;
  --nav-bg: rgba(255,255,255,.78);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; transition: background-color .3s ease, color .3s ease; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--y); color: #000; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
:root[data-theme="light"] :focus-visible { outline-color: #000; }
html { scrollbar-color: #3a3a3a var(--bg); }
:root[data-theme="light"] { scrollbar-color: #bdbdbd var(--bg); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--y); color: #000; padding: 12px 16px; font-weight: 700; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 16px; height: 16px; }
.logo { --lk: var(--logo-k); }
kbd { font: 600 12px/1 var(--f-text); padding: 4px 6px; border-radius: 5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #d6d6d6; } /* taste-skill-ignore: keycaps inside data-ui */

/* ---------- Botones: el techo del logo en las esquinas superiores ---------- */
.btn { --bb: transparent; --bi: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; background: none; color: var(--bi); font: 700 15px/1 var(--f-display); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; background: var(--bb); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px); transition: transform .16s var(--ease-out), background-color .2s ease; -webkit-tap-highlight-color: transparent; }
.btn:focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
.btn:active { transform: scale(.97); }
.btn--primary { --bb: var(--y); --bi: #000; }
.btn--ghost { --bb: var(--surface2); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; --bb: var(--surface2); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --bb: #FFD43B; }
  .btn--ghost:hover, .btn--small:hover { --bb: var(--line); }
}
.iconbtn { display: inline-grid; place-items: center; grid-auto-flow: column; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 10px; transition: background-color .2s ease, transform .16s var(--ease-out); }
.iconbtn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { background: var(--surface2); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--f-display); text-decoration: none; color: var(--ink); min-height: 44px; }
.link-arrow .ic { transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ic { transform: translateX(4px); } }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

/* ---------- Navegación ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--y); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, transform .35s var(--ease-out); }
.nav.is-solid { background: var(--nav-bg); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); } /* taste-skill-ignore: sticky bar */
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--m); display: flex; align-items: center; gap: 24px; }
.nav__brand { display: block; flex: none; }
.logo--nav { width: 132px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font: 600 15px var(--f-display); text-decoration: none; color: var(--muted); padding: 10px 0; transition: color .2s ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__tools { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav__burger { display: none; }
.lang { position: relative; }
.lang__code { font: 700 13px var(--f-display); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 196px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.35); transform-origin: top right; transition: opacity .16s var(--ease-out), transform .16s var(--ease-out); } /* taste-skill-ignore: real overlay menu */
@starting-style { .lang__menu:not([hidden]) { opacity: 0; transform: scale(.96) translateY(-4px); } } /* taste-skill-ignore: real overlay menu */
.lang__menu[hidden] { display: none; }
.lang__menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer; font: 500 15px var(--f-text); text-align: left; }
.lang__menu button span { font: 800 12px var(--f-display); width: 28px; color: var(--muted); }
.lang__menu button:hover, .lang__menu button:focus-visible { background: var(--surface2); }
.lang__menu button[aria-checked="true"] span { color: var(--accent-ink); }
.theme { position: relative; }
.theme .ic { transition: transform .3s var(--ease-out), opacity .2s ease; }
.theme__moon { position: absolute; }
:root[data-theme="dark"] .theme__sun { opacity: 1; transform: rotate(0); }
:root[data-theme="dark"] .theme__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="light"] .theme__sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="light"] .theme__moon { opacity: 1; transform: rotate(0); }
.sheet { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 15vh, 170px); overflow: hidden; }
.hero__circuits { position: absolute; inset: 0 0 auto; width: 100%; height: 560px; pointer-events: none; }
.hero__circuits .trace path { fill: none; stroke: var(--line); stroke-width: 2; }
.hero__circuits .pulse path { fill: none; stroke: var(--y); stroke-width: 2.5; stroke-dasharray: 60 900; stroke-dashoffset: 960; animation: pulse 5.5s linear infinite; }
.hero__circuits .pulse path:nth-child(2) { animation-delay: -1.4s; }
.hero__circuits .pulse path:nth-child(3) { animation-delay: -2.8s; }
.hero__circuits .pulse path:nth-child(4) { animation-delay: -4.1s; }
.hero__circuits .node circle { fill: var(--bg); stroke: var(--line); stroke-width: 2; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.hero__copy { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 var(--m); text-align: center; }
.hero__brand { margin: 0 auto; width: min(860px, 100%); }
.hlogo { width: 100%; height: auto; overflow: visible; }
.hl-y, .hl-k { stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: hl-draw 1.8s var(--ease-io) forwards, hl-fill .9s ease forwards; }
.hl-y { fill: var(--logo-y); stroke: var(--logo-y); animation-delay: .15s, 1.35s; }
.hl-k { fill: var(--logo-k); stroke: var(--logo-k); animation-delay: .3s, 1.5s; }
.hl-tag { fill: var(--logo-k); font: 800 31.5px "Exo 2", sans-serif; letter-spacing: 2.1px; opacity: 0; clip-path: inset(-30% 100% -30% 0); animation: hl-tag 1.2s var(--ease-io) 1.8s forwards; }
.hl-shine { animation: hl-shine 9s var(--ease-io) 2.6s infinite; }
@keyframes hl-draw { to { stroke-dashoffset: 0; } }
@keyframes hl-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes hl-tag { 0% { opacity: 1; } 100% { opacity: 1; clip-path: inset(-30% 0 -30% 0); } }
@keyframes hl-shine { 0% { transform: translateX(0); } 18%, 100% { transform: translateX(1600px); } }
.nav__brand { transition: opacity .3s ease, transform .3s var(--ease-out); }
.nav.at-hero .nav__brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
a.folder__tab { text-decoration: none; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.folder__tab:hover { transform: translateY(-6px); } }
.hero__sub { max-width: 46ch; margin: 36px auto 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); }
.folders { --step: 64px; position: relative; width: min(86vw, 1320px); margin: clamp(56px, 7vh, 96px) auto 0; padding-top: calc(var(--step) * 4); }
.folder { position: absolute; left: 0; right: 0; top: calc(var(--i) * var(--step)); bottom: 0; display: block; text-decoration: none; background: var(--fc); color: var(--fi); }
.folder__tab { position: absolute; left: var(--tab); bottom: 100%; height: 40px; display: inline-flex; align-items: center; padding: 0 40px; background: var(--fc); color: var(--fi); font: 700 17px var(--f-display); white-space: nowrap; clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 100%, 0 100%); }
.f1 { --i: 0; --fc: var(--f1); --fi: var(--f1-ink); }
.f2 { --i: 1; --fc: var(--f2); --fi: var(--f2-ink); }
.f3 { --i: 2; --fc: var(--f3); --fi: var(--f3-ink); }
.f4 { --i: 3; --fc: var(--f4); --fi: var(--f4-ink); }
.f5 { --i: 4; --fc: var(--f5); --fi: var(--f5-ink); position: relative; top: auto; }
a.folder .folder__tab { transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.folder:hover .folder__tab { transform: translateY(-6px); } }
.f5::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(252,198,7,.10), transparent 60%); transition: opacity .3s ease; } /* taste-skill-ignore: pointer spotlight requested futuristic brief */
.f5:hover::after { opacity: 1; }
:root[data-theme="light"] .f5::after { display: none; }
.folder__body { position: relative; padding: 32px 32px 40px; }
.folder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 28px; }

/* Centro de control (fragmento de interfaz) */
.cp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #0A0A0A; color: #fff; border: 1px solid #262626; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); max-width: 1180px; } /* taste-skill-ignore: data-ui fragment */
:root[data-theme="light"] .cp { box-shadow: 0 30px 70px rgba(0,0,0,.22); } /* taste-skill-ignore: data-ui fragment */
.cp__main { display: flex; flex-direction: column; min-height: 420px; border-right: 1px solid #222; } /* taste-skill-ignore: data-ui fragment */
.cp__search { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #222; font-size: 17px; color: #fff; } /* taste-skill-ignore: data-ui fragment */
.cp__search .ic { color: #9a9a9a; }
.cp__ph { color: #8a8a8a; }
.cp__typed:not(:empty) + .cp__caret + .cp__ph { display: none; }
.cp__caret { width: 2px; height: 20px; background: var(--y); margin-left: -10px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cp__list { list-style: none; margin: 0; padding: 8px; flex: 1; }
.cp__group { font: 600 13px var(--f-text); color: #9a9a9a; padding: 12px 12px 6px; }
.cp__row { display: grid; grid-template-columns: 32px 1fr auto auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; font-size: 15px; transition: background-color .18s ease; }
.cp__row.is-on { background: #1D1D1D; }
.cp__row.is-on .cp__ico { background: var(--y); color: #000; }
.cp__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #1a1a1a; color: #e6e6e6; transition: background-color .18s ease, color .18s ease; }
.cp__ico .ic { width: 17px; height: 17px; }
.cp__t { font-weight: 600; }
.cp__b { color: #9a9a9a; font-size: 14px; }
.cp__foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid #222; font-size: 13px; color: #9a9a9a; } /* taste-skill-ignore: data-ui fragment */
.cp__iso { width: 26px; height: auto; --logo-k: #fff; --logo-y: #FCC607; }
.cp__keys { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cp__cam { position: relative; overflow: hidden; background: #111; }
.cp__cam > svg { width: 100%; height: 100%; object-fit: cover; }
.cp__box { animation: track 6s var(--ease-io) infinite alternate; }
@keyframes track { 0% { transform: translateX(0); } 100% { transform: translateX(-8px); } }
.cp__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(252,198,7,.55); animation: scan 4s linear infinite; pointer-events: none; } /* taste-skill-ignore: data-ui fragment */
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(420px); } }
.cp__tag { position: absolute; left: 50%; top: 34%; transform: translateX(-6%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; background: var(--y); color: #000; font: 700 12px var(--f-display); }
.cp__tag i { width: 6px; height: 6px; background: #000; border-radius: 50%; }
.cp__camhead { position: absolute; left: 14px; top: 12px; display: flex; gap: 10px; align-items: center; font: 700 12px var(--f-display); letter-spacing: .02em; color: #fff; background: rgba(0,0,0,.55); padding: 6px 10px; border-radius: 6px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; }
.cp__time { position: absolute; right: 14px; bottom: 12px; font: 600 13px var(--f-display); font-variant-numeric: tabular-nums; color: #fff; background: rgba(0,0,0,.55); padding: 5px 9px; border-radius: 6px; }

/* ---------- Soluciones: índice con vista previa ---------- */
.show { max-width: var(--maxw); margin: clamp(72px, 8vw, 128px) auto 0; padding: 0 var(--m); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 48px; align-items: center; }
.show__index, .show__stage { min-width: 0; }
.show__index { grid-column: 1; grid-row: 1; }
.show__title { font-weight: 600; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.15; color: var(--muted); letter-spacing: -0.02em; }
.show__list { list-style: none; margin: 0; padding: 0; }
.show__list button { position: relative; display: inline-block; max-width: calc(100% - 34px); padding: 2px 0 2px 0; border: 0; background: none; text-align: left; cursor: pointer; font: 700 clamp(28px, 2.9vw, 44px)/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--muted); transition: color .24s ease, transform .24s var(--ease-out); }
.show__list button[aria-selected="true"] { color: var(--ink); transform: translateX(34px); }
.show__list button::before { content: ""; position: absolute; left: -34px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--y); clip-path: var(--roof); opacity: 0; transform: scale(.6); transition: opacity .24s ease, transform .24s var(--ease-out); }
.show__list button[aria-selected="true"]::before { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .show__list button:hover { color: var(--ink); } }
.show__fact-m { display: none; }
.show__stage { grid-column: 2; grid-row: 1; position: relative; align-self: center; aspect-ratio: 1 / .92; }
.show__roof { position: absolute; inset: 0; background: var(--y); clip-path: var(--roof); }
.show__fact { position: absolute; right: 0; top: 100%; margin-top: 18px; max-width: 34ch; font-size: 17px; color: var(--muted); text-align: right; }
.ui { position: absolute; left: 11%; right: 11%; top: 27%; background: #0B0B0B; color: #fff; border-radius: 12px; border: 1px solid #262626; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); opacity: 0; transform: translateY(16px) scale(.98); filter: blur(6px); transition: opacity .24s ease, transform .4s var(--ease-out), filter .24s ease; pointer-events: none; font-size: 14px; } /* taste-skill-ignore: data-ui fragment */
.ui.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.ui__head { display: flex; align-items: center; gap: 10px; font: 700 14px var(--f-display); color: #e8e8e8; margin-bottom: 14px; }
.ui__head .ic { width: 17px; height: 17px; color: var(--y); }
.ui__dots { display: inline-flex; gap: 5px; }
.ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.ui__chip { margin-left: auto; font: 700 12px var(--f-display); background: var(--y); color: #000; padding: 4px 9px; border-radius: 99px; }
.dot-live { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #3BD16F; } /* taste-skill-ignore: data-ui status */
.cams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cams figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #111; }
.cams figure svg { width: 100%; height: 100%; }
.cams figcaption { position: absolute; left: 8px; top: 6px; font: 700 11px var(--f-display); color: #fff; background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 4px; }
.ui__pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: #1b1b1b; font-weight: 600; margin-bottom: 10px; }
.ui__pill .ic { width: 16px; height: 16px; color: var(--y); }
.ui__table { width: 100%; border-collapse: collapse; }
.ui__table td { padding: 10px 6px; border-top: 1px solid #222; } /* taste-skill-ignore: data-ui fragment */
.ui__table td:first-child { font: 600 14px var(--f-display); font-variant-numeric: tabular-nums; color: #bdbdbd; width: 56px; }
.ui__table td:nth-child(3) { color: #bdbdbd; }
.ui__table .ok { color: #3BD16F; width: 24px; }
.ui__table .ic { width: 16px; height: 16px; }
.ui__table .bad td { color: #FF8A8A; }
.plan { width: 100%; height: auto; }
.plan .z { stroke: #3a3a3a; stroke-width: 2; }
.plan .z--on { fill: rgba(252,198,7,.16); }
.plan .z--off { fill: #161616; }
.plan .det circle { fill: var(--y); animation: det 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.plan .det circle:nth-child(2n) { animation-delay: -1.1s; }
@keyframes det { 50% { opacity: .35; transform: scale(.7); } }
.plan .zl text { fill: #cfcfcf; font: 600 13px var(--f-text); }
.ui__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 13px; color: #cfcfcf; align-items: center; }
.ui__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; display: inline-block; } /* data-ui legend swatch */
.sw--on { background: rgba(252,198,7,.4); } .sw--off { background: #161616; }
.ui__strong { color: #fff; font-weight: 600; margin-left: auto; }
.ui__strong .ic { width: 16px; height: 16px; color: var(--y); }
.ops { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ops__side { display: flex; flex-direction: column; gap: 10px; padding: 6px; background: #141414; border-radius: 8px; }
.ops__side i { height: 28px; border-radius: 6px; background: #222; }
.ops__side i.on { background: var(--y); }
.ops__k { color: #bdbdbd; font-size: 13px; }
.ops__v { font: 700 20px var(--f-display); margin: 2px 0 12px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 130px; }
.bars span { position: relative; height: calc(var(--v) * 4.6px); background: #2b2b2b; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars span:nth-child(3) { background: var(--y); }
.bars b { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 600 11px var(--f-display); color: #cfcfcf; }
.ui.is-on .bars span { animation: grow .7s var(--ease-out) both; }
.ui.is-on .bars span:nth-child(2) { animation-delay: .04s } .ui.is-on .bars span:nth-child(3) { animation-delay: .08s } .ui.is-on .bars span:nth-child(4) { animation-delay: .12s } .ui.is-on .bars span:nth-child(5) { animation-delay: .16s } .ui.is-on .bars span:nth-child(6) { animation-delay: .2s } .ui.is-on .bars span:nth-child(7) { animation-delay: .24s }
@keyframes grow { from { transform: scaleY(.2); opacity: .3; } }
.bars__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font: 600 12px var(--f-display); color: #9a9a9a; margin-top: 6px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { position: relative; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; padding: 12px 14px; background: #161616; border-radius: 9px; font-weight: 500; }
.flow b { font: 800 13px var(--f-display); color: var(--y); }
.flow li + li::before { content: ""; position: absolute; left: 36px; top: -11px; width: 2px; height: 10px; background: #3a3a3a; }
.ui.is-on .flow li { animation: flowin .5s var(--ease-out) both; }
.ui.is-on .flow li:nth-child(2) { animation-delay: .09s } .ui.is-on .flow li:nth-child(3) { animation-delay: .18s } .ui.is-on .flow li:nth-child(4) { animation-delay: .27s }
@keyframes flowin { from { opacity: 0; transform: translateX(-10px); } }
.flow__if { background: #221d05 !important; }
.bp { width: 100%; height: auto; }
.bp__wall { fill: none; stroke: var(--y); stroke-width: 3; stroke-dasharray: 2400; stroke-dashoffset: 0; }
.ui.is-on .bp__wall { animation: draw 1.6s var(--ease-io) both; }
@keyframes draw { from { stroke-dashoffset: 2400; } }
.bp__door { fill: none; stroke: #8a8a8a; stroke-width: 1.5; stroke-dasharray: 4 4; }
.bp__dim path { stroke: #8a8a8a; stroke-width: 1.2; fill: none; }
.bp__dim text { fill: #cfcfcf; font: 600 12px var(--f-display); paint-order: stroke; stroke: #0B0B0B; stroke-width: 6px; }
.bp__cam circle, .bp__cam rect { fill: #fff; }
.ui__note { color: #bdbdbd; font-size: 13px; margin-top: 8px; }

.v360 { width: 100%; height: auto; }
.v360__ring { fill: none; stroke: #333; stroke-width: 2; stroke-dasharray: 4 6; }
.v360__spokes path { stroke: #3a3a3a; stroke-width: 2; }
.v360__orbit { transform-origin: 200px 125px; animation: orbit 14s linear infinite; }
.v360__orbit circle { fill: var(--y); }
@keyframes orbit { to { transform: rotate(360deg); } }
.v360__core { fill: #141414; stroke: var(--y); stroke-width: 2; }
.v360__node circle { fill: #161616; stroke: #FCC607; stroke-width: 2; }
.v360__node use { fill: none; stroke: #FCC607; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v360 text { fill: #e8e8e8; font: 700 13px var(--f-display); }
.cc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc__t { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 12px; background: #161616; border-radius: 9px; font-size: 13px; color: #bdbdbd; }
.cc__t .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--y); }
.cc__t b { font: 700 15px var(--f-display); color: #fff; }
.cc__feed { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; }
.cc__feed li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 8px 4px; border-top: 1px solid #222; } /* taste-skill-ignore: data-ui fragment */
.cc__feed li span:first-child { font: 600 13px var(--f-display); color: #9a9a9a; font-variant-numeric: tabular-nums; }
.cc__feed .bad span:last-child { color: #FF8A8A; }
@media (min-width: 1101px) { .foot__cols > .foot__sol { grid-column: span 3; } }

/* ---------- Banda ---------- */
.band { margin-top: var(--gap); background: var(--y); color: #000; padding: 22px var(--m); }
.band > .band__track { }
.band__clip { overflow: hidden; }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__track span { font: 800 clamp(22px, 2.4vw, 34px)/1 var(--f-display); letter-spacing: -0.01em; white-space: pre; }

/* ---------- Sectores ---------- */
.sectors { max-width: var(--maxw); margin: var(--gap) auto 0; padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 20px; }
.sectors__head { grid-column: 1 / 4; }
.sectors__head h2 { font-weight: 800; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.02; }
.sectors__head p { margin-top: 20px; max-width: 30ch; color: var(--muted); font-size: 17px; }
.tiles { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 12px; }
.tile__img { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: var(--tc); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.tile__img img { width: 92%; height: 92%; object-fit: contain; transition: transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__img img { transform: scale(1.04) translateY(-6px); } }
.t-carbon { --tc: #1A1A1A; } .t-yellow { --tc: #FCC607; } .t-plata { --tc: #D1D1D1; }
:root[data-theme="dark"] .t-carbon { --tc: #1E1E1E; }
.tile h3 { font: 700 20px/1.25 var(--f-display); margin-top: 14px; letter-spacing: -0.01em; }
.tile p { font-size: 16px; color: var(--muted); margin-top: 4px; }

/* ---------- Proceso: cuatro campos ---------- */
.process { margin-top: var(--gap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field { position: relative; min-height: min(84svh, 760px); padding: clamp(24px, 2.4vw, 40px); display: flex; flex-direction: column; background: var(--fb); color: var(--fi); }
.fd1 { --fb: var(--fd1); --fi: var(--fd1-ink); } .fd2 { --fb: var(--fd2); --fi: var(--fd2-ink); } .fd3 { --fb: var(--fd3); --fi: var(--fd3-ink); } .fd4 { --fb: var(--fd4); --fi: var(--fd4-ink); }
.field h2 { position: absolute; left: clamp(24px, 2.4vw, 40px); top: clamp(24px, 2.4vw, 40px); font-weight: 800; font-size: clamp(26px, 2.2vw, 34px); }
.pcard { width: min(260px, 100%); margin: 38% auto 0; padding: 16px; border-radius: 10px; font-size: 14px; background: var(--cb); color: var(--ci); box-shadow: 0 18px 40px rgba(0,0,0,.18); transition: transform .15s var(--ease-out); } /* taste-skill-ignore: data-ui fragment */
.fd1 .pcard, .fd2 .pcard { --cb: #FFFFFF; --ci: #000; }
.fd3 .pcard, .fd4 .pcard { --cb: #0B0B0B; --ci: #fff; }
:root[data-theme="light"] .fd1 .pcard, :root[data-theme="light"] .fd2 .pcard { --cb: #0B0B0B; --ci: #fff; }
:root[data-theme="light"] .fd4 .pcard { --cb: #fff; --ci: #000; }
@media (hover: hover) and (pointer: fine) { .field:hover .pcard { transform: translateY(-6px); } }
.pcard__k { font-size: 12px; opacity: .72; font-weight: 600; }
.pcard__t { font: 700 16px/1.3 var(--f-display); margin: 4px 0 12px; }
.pcard__st { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--f-display); padding: 5px 10px; border-radius: 99px; background: rgba(127,127,127,.18); }
.pcard__st--ok { background: #3BD16F; color: #000; }
.pcard__st .ic { width: 14px; height: 14px; }
.pcard__dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0 0 12px; font-size: 13px; }
.pcard__dl dt { opacity: .72; } .pcard__dl dd { margin: 0; font-weight: 600; }
.pcard__ck { list-style: none; margin: 0 0 10px; padding: 0; font-size: 13px; display: grid; gap: 4px; }
.pcard__ck li { padding-left: 20px; position: relative; opacity: .72; }
.pcard__ck li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; }
.pcard__ck li.done { opacity: 1; }
.pcard__ck li.done::before { background: var(--y); border-color: var(--y); }
.pcard__bar { height: 6px; border-radius: 3px; background: rgba(127,127,127,.25); margin-bottom: 12px; overflow: hidden; }
.pcard__bar i { display: block; height: 100%; width: 100%; background: var(--y); transform-origin: left; transform: scaleX(var(--p)); }
.pcard__final { font: 700 15px var(--f-display); margin-bottom: 12px; }
.field__c { margin-top: auto; font: 700 clamp(20px, 1.6vw, 26px)/1.22 var(--f-display); letter-spacing: -0.01em; max-width: 16ch; }

/* ---------- Calculadora ---------- */
.calc { max-width: var(--maxw); margin: var(--gap) auto 0; padding: 0 var(--m); min-height: min(88svh, 820px); display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.calc h2 { font-weight: 800; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; max-width: 20ch; }
.calc__ctl { margin-top: 28px; width: min(440px, 100%); display: grid; gap: 22px; padding: 22px; background: var(--surface); border-radius: 14px; border: 1px solid var(--line); } /* taste-skill-ignore: form */
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: relative; }
.seg legend { font: 600 14px var(--f-text); color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 9px; font: 700 14px var(--f-display); background: var(--surface2); transition: background-color .18s ease, color .18s ease; cursor: pointer; }
.seg input:checked + span { background: var(--y); color: #000; }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.range__l { font: 600 14px var(--f-text); color: var(--muted); }
.range__v { font: 700 18px var(--f-display); font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--y) var(--fill, 11%), var(--surface2) var(--fill, 11%)); } /* taste-skill-ignore: form control fill */
.range input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface2); }
.range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--y); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 4px solid var(--y); transition: transform .15s var(--ease-out); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--y); }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.calc__fig { display: flex; align-items: baseline; gap: .22em; font: 800 clamp(120px, 19vw, 300px)/.8 var(--f-display); letter-spacing: -0.05em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.calc__u { font: 700 clamp(18px, 1.8vw, 26px)/1.1 var(--f-display); letter-spacing: 0; color: var(--ink); max-width: 9ch; }
.calc__side { max-width: 34ch; display: grid; gap: 20px; justify-items: start; padding-bottom: 8px; }
.calc__how { font-size: 17px; color: var(--muted); }

.calc__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.viz { position: relative; margin: 0; padding: 18px; background: #0B0B0B; color: #fff; border: 1px solid #262626; border-radius: 14px; } /* taste-skill-ignore: data-ui fragment */
.viz__head { display: flex; justify-content: space-between; gap: 12px; font: 700 14px var(--f-display); color: #e8e8e8; margin-bottom: 12px; }
.viz__head span:last-child { color: var(--y); font-variant-numeric: tabular-nums; }
.viz__plan { position: relative; margin: 0 auto; border: 2px solid #3a3a3a; background: #141414; transition: width .4s var(--ease-out), height .4s var(--ease-out); max-width: 100%; } /* taste-skill-ignore: data-ui fragment */
.viz__plan i { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(252,198,7,.18); transition: left .4s var(--ease-out), top .4s var(--ease-out), opacity .3s ease; } /* taste-skill-ignore: data-ui fragment */
.viz__plan i.door { background: #fff; border-radius: 2px; box-shadow: 0 0 0 4px rgba(255,255,255,.14); } /* taste-skill-ignore: data-ui fragment */
.viz__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: #cfcfcf; }
.viz__legend span { display: inline-flex; align-items: center; gap: 8px; }
.viz__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--y); }
.viz__legend i.door { background: #fff; border-radius: 2px; }

/* ---------- Contacto: cupón ---------- */
.contact { max-width: var(--maxw); margin: var(--gap) auto 0; padding: 0 var(--m); }
.coupon { --cut: 46%; position: relative; display: grid; grid-template-columns: var(--cut) 1fr; min-height: 420px; margin: 0 6%; background: var(--y); color: #000;
  -webkit-mask: radial-gradient(circle 16px at var(--cut) 0, transparent 15.5px, #000 16px) top / 100% 51% no-repeat, radial-gradient(circle 16px at var(--cut) 100%, transparent 15.5px, #000 16px) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask notches, not a visible gradient */
          mask: radial-gradient(circle 16px at var(--cut) 0, transparent 15.5px, #000 16px) top / 100% 51% no-repeat, radial-gradient(circle 16px at var(--cut) 100%, transparent 15.5px, #000 16px) bottom / 100% 51% no-repeat; } /* taste-skill-ignore: mask notches, not a visible gradient */
.coupon::before { content: ""; position: absolute; left: var(--cut); top: 24px; bottom: 24px; border-left: 5px dotted var(--bg); transform: translateX(-2.5px); }
.coupon__l { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.coupon__l h2 { font-weight: 800; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.02; }
.coupon__l p { font-size: 17px; max-width: 32ch; font-weight: 500; }
.coupon__r { padding: 48px; display: grid; gap: 10px; align-content: center; }
.coupon__r input { width: 100%; height: 54px; border: 0; padding: 0 16px; background: var(--y-soft); color: #000; font-size: 16px; border-radius: 0; transition: background-color .18s ease; }
.coupon__r input::placeholder { color: #4a3d00; opacity: 1; }
.coupon__r input:focus-visible { outline: 3px solid #000; outline-offset: 0; background: #FFF0B0; }
.coupon__err { font-weight: 600; font-size: 15px; }
.coupon__send { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; border: 0; background: #000; color: #fff; font: 700 16px var(--f-display); cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease; margin-top: 6px; }
.coupon__send:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .coupon__send:hover { background: #1f1f1f; } }
.contact__alt { text-align: center; margin-top: 28px; color: var(--muted); font-size: 16px; }
.contact__alt a { color: var(--ink); font-weight: 600; }

/* ---------- Footer: el nombre construido en bloques ---------- */
.foot { max-width: var(--maxw); margin: clamp(80px, 8vw, 128px) auto 0; padding: 0 var(--m) 32px; }
.foot__mark { display: flex; align-items: flex-end; gap: 4px; height: min(34svh, 300px); }
.foot__mark span { flex: 1; height: calc(var(--h) * 100%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: .04em; background: var(--y); color: var(--bg); font: 800 clamp(28px, 6.4vw, 100px)/1 var(--f-display); letter-spacing: -0.04em; transform-origin: bottom; }
.foot__mark span:nth-child(3n+2) { background: var(--surface2); color: var(--ink); }
.foot__mark span:nth-child(3n) { background: #D1D1D1; color: #000; }
.foot__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 20px; margin-top: 56px; }
.foot__cols > div { grid-column: span 2; display: grid; align-content: start; gap: 6px; }
.foot__cols h3 { font: 700 15px var(--f-display); color: var(--muted); margin-bottom: 6px; letter-spacing: 0; }
.foot__cols a, .foot__cols .linkbtn { font-size: 15px; text-decoration: none; color: var(--ink); min-height: 32px; display: flex; align-items: center; }
.foot__cols a:hover, .foot__cols .linkbtn:hover { text-decoration: underline; }
.foot__contact { grid-column: span 3 !important; }
.foot__contact p { font-size: 15px; color: var(--muted); }
.foot__logo { grid-column: 10 / 13 !important; }
.foot__logo .logo { width: 100%; max-width: 300px; margin-left: auto; height: auto; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; font-size: 14px; color: var(--muted); }

/* ---------- Login ---------- */
.login { width: min(440px, calc(100vw - 32px)); padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.5); opacity: 0; transform: scale(.96) translateY(8px); transition: opacity .2s var(--ease-out), transform .28s var(--ease-out), overlay .28s allow-discrete, display .28s allow-discrete; } /* taste-skill-ignore: dialog overlay */
.login[open] { opacity: 1; transform: none; }
@starting-style { .login[open] { opacity: 0; transform: scale(.96) translateY(8px); } }
.login::backdrop { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease, overlay .28s allow-discrete, display .28s allow-discrete; } /* taste-skill-ignore: dialog overlay */
.login[open]::backdrop { opacity: 1; }
@starting-style { .login[open]::backdrop { opacity: 0; } }
.login__x { position: absolute; right: 12px; top: 12px; }
.login__iso { width: 56px; height: auto; margin-bottom: 18px; }
.login h2 { font-weight: 800; font-size: 28px; }
.login__sub { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.login__form { display: grid; gap: 8px; }
.login__form label { font: 600 14px var(--f-text); margin-top: 8px; }
.login__form input { height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; transition: border-color .18s ease; } /* taste-skill-ignore: dialog overlay */
.login__form input:focus-visible { outline: 3px solid var(--y); outline-offset: 1px; border-color: transparent; }
.login__form input[aria-invalid="true"] { border-color: #FF6B6B; }
.field-err { color: #FF8A8A; font-size: 14px; font-weight: 500; }
:root[data-theme="light"] .field-err { color: #B42318; }
.pass { position: relative; }
.pass input { width: 100%; padding-right: 52px; }
.pass__t { position: absolute; right: 3px; top: 3px; }
.login__submit { margin-top: 18px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(0,0,0,.25); border-top-color: #000; display: none; animation: spin .6s linear infinite; }
.login__submit.is-loading .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.login__denied { text-align: center; padding-top: 6px; }
.login__denied:not([hidden]) { animation: deny .32s var(--ease-out) both; }
@keyframes deny { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.login__alert { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; background: var(--y); color: #000; clip-path: var(--roof); }
.login__alert .ic { width: 28px; height: 28px; margin-top: 10px; }
.login__msg { font: 700 21px/1.35 var(--f-display); max-width: 24ch; margin: 0 auto; }
.login__acts { display: grid; gap: 10px; margin-top: 26px; }

/* ---------- Entradas al hacer scroll ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out) var(--d, 0s), transform .8s var(--ease-out) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero__sub { animation: rise 1s var(--ease-out) .12s both; }
.js .folder { animation: fold 1.1s var(--ease-out) both; animation-delay: calc(.25s + var(--i) * .08s); }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes fold { from { opacity: 0; transform: translateY(80px); } }
.js .foot__mark span { transform: scaleY(.2); opacity: 0; transition: transform .9s var(--ease-out), opacity .6s ease; }
.js .foot__mark.in span { transform: none; opacity: 1; }
.js .foot__mark.in span:nth-child(2) { transition-delay: .04s } .js .foot__mark.in span:nth-child(3) { transition-delay: .08s } .js .foot__mark.in span:nth-child(4) { transition-delay: .12s } .js .foot__mark.in span:nth-child(5) { transition-delay: .16s } .js .foot__mark.in span:nth-child(6) { transition-delay: .2s } .js .foot__mark.in span:nth-child(7) { transition-delay: .24s } .js .foot__mark.in span:nth-child(8) { transition-delay: .28s } .js .foot__mark.in span:nth-child(9) { transition-delay: .32s } .js .foot__mark.in span:nth-child(10) { transition-delay: .36s } .js .foot__mark.in span:nth-child(11) { transition-delay: .4s }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__tools { margin-left: auto; }
  .nav__burger { display: inline-grid; }
  .sheet:not([hidden]) { display: grid; gap: 4px; padding: 8px var(--m) 20px; background: var(--bg); border-bottom: 1px solid var(--line); animation: rise .3s var(--ease-out) both; } /* taste-skill-ignore: menu overlay */
  .sheet a { font: 700 22px var(--f-display); text-decoration: none; padding: 10px 0; }
  .sheet .btn { justify-self: start; margin-top: 10px; }
  .cp { grid-template-columns: 1fr; }
  .cp__cam { display: none; }
  .show { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .show__stage { grid-column: 1; grid-row: 1; width: min(640px, 100%); justify-self: center; }
  .show__index { grid-column: 1; grid-row: 2; padding-bottom: 0; margin-top: 56px; }
  .show__fact { display: none; }
  .show__fact-m { display: block; margin-top: 18px; font-size: 16px; color: var(--muted); max-width: 46ch; }
  .sectors__head { grid-column: 1 / -1; margin-bottom: 40px; }
  .sectors__head p { max-width: 46ch; }
  .tiles { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr 1fr; }
  .calc__top { grid-template-columns: minmax(0, 1fr); }
  .coupon { --cut: 0; margin: 0; grid-template-columns: 1fr; -webkit-mask: radial-gradient(circle 16px at 0 46%, transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 46%, transparent 15.5px, #000 16px) right / 51% 100% no-repeat; mask: radial-gradient(circle 16px at 0 46%, transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 46%, transparent 15.5px, #000 16px) right / 51% 100% no-repeat; } /* taste-skill-ignore: mask notches, not a visible gradient */
  .coupon::before { left: 24px; right: 24px; top: 46%; bottom: auto; border-left: 0; border-top: 5px dotted var(--bg); transform: translateY(-2.5px); }
  .coupon__l, .coupon__r { padding: 32px 24px; }
  .coupon { --cy: 270px; -webkit-mask: radial-gradient(circle 16px at 0 var(--cy), transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% var(--cy), transparent 15.5px, #000 16px) right / 51% 100% no-repeat; mask: radial-gradient(circle 16px at 0 var(--cy), transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% var(--cy), transparent 15.5px, #000 16px) right / 51% 100% no-repeat; } /* taste-skill-ignore: mask notches, not a visible gradient */
  .coupon::before { top: var(--cy) !important; }
  .coupon__l { height: var(--cy); justify-content: flex-start; }
  .f4 { --tab: 50% !important; } .f1 { --tab: 58% !important; }
  .foot__cols > div { grid-column: span 4; }
  .foot__contact { grid-column: span 4 !important; }
  .foot__logo { grid-column: 1 / -1 !important; }
  .foot__logo .logo { margin-left: 0; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav__in { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .logo--nav { width: 108px; }
  .nav__tools > .login-open, .nav__cta { display: none; }
  .lang__btn .ic--sm { display: none; }
  .hero { padding-top: 104px; }
  .hero__brand { width: 100%; }
  .hero__sub { margin-top: 22px; font-size: 18px; }
  .folders { --step: 52px; width: 100%; margin-top: 64px; }
  .folder__tab { height: 32px; padding: 0 26px; font-size: 15px; clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 100%, 0 100%); }
  .f1 { --tab: 46% !important; } .f2 { --tab: 4% !important; } .f3 { --tab: 30% !important; } .f4 { --tab: 22% !important; } .f5 { --tab: 4% !important; }
  .folder__body { padding: 24px 16px; }
  .folder__actions { gap: 8px 20px; }
  .folder__actions .btn { width: 100%; }
  .cp__b, .cp__keys, .cp__row kbd { display: none; }
  .cp__row { grid-template-columns: 32px 1fr; }
  .cp__main { min-height: 360px; }
  .show__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 0; }
  .show__list button { font-size: 16px; max-width: none; padding: 10px 14px; background: var(--surface2); border-radius: 99px; color: var(--ink); }
  .show__list button[aria-selected="true"] { background: var(--y); color: #000; }
  .show__list button[aria-selected="true"] { transform: none; }
  .show__list button::before { display: none; }
  .show__stage { aspect-ratio: auto; height: 120vw; max-height: 560px; }
  .ui { left: 4%; right: 4%; top: 26%; padding: 12px; }
  .ops { grid-template-columns: 1fr; } .ops__side { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .tile h3 { font-size: 17px; } .tile p { font-size: 15px; }
  .process { grid-template-columns: 1fr; }
  .field { min-height: 0; padding: 24px 20px 32px; }
  .field h2 { position: static; margin-bottom: 8px; font-size: 26px; }
  .pcard { margin: 32px 0 28px; }
  .field__c { order: -1; margin-top: 0; font-size: 24px; max-width: 22ch; }
  .fd1 .field__c { order: 0; }
  .fd1 .pcard { order: 1; }
  .calc { min-height: 84svh; }
  .calc__fig { font-size: 30vw; flex-direction: column; align-items: flex-start; gap: 12px; }
  .calc__u { font-size: 20px; max-width: none; }
  .foot__mark { height: 22svh; }
  .foot__mark span { font-size: 8.4vw; }
  .foot__cols > div { grid-column: span 6; }
  .foot__contact { grid-column: 1 / -1 !important; }
  .foot__last { flex-wrap: wrap; }
  .login { padding: 32px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .hl-y, .hl-k { animation: none; stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; }
  .hl-tag { animation: none; opacity: 1; clip-path: none; }
  .hl-shine { display: none; }
  .hero__circuits .pulse { display: none; }
}
