/* ABITECNIC · web 2026 — shared by index, aviso, privacidad, canal-de-denuncias and report.php */
:root {
  --ink: #0d1416;
  --ink-2: #152023;
  --ink-3: #1f2c30;
  --paper: #f2f0eb;
  --paper-2: #e7e4dd;
  --white: #ffffff;
  --text: #1c2629;
  --muted: #5d6a6e;
  --muted-d: #93a2a6;
  --line: #d6d2c9;
  --line-d: rgba(255, 255, 255, 0.12);
  --teal: #0b6f74;
  --teal-deep: #055a5f;
  --teal-lite: #7cc4c4;
  --signal: #e25b26;
  --concrete: #c9c6bf;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-display); font-size: 17px; line-height: 1.55; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.hdr.is-dark.is-solid { background: var(--ink); color: #fff; border-bottom-color: var(--line-d); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.hdr-logo { display: flex; align-items: center; flex-shrink: 0; }
.hdr-logo img { height: 44px; width: auto; transition: filter .3s; }
@media (max-width: 860px) { .hdr-logo img { height: 38px; } }
.hdr:not(.is-solid) .hdr-logo img, .hdr.is-dark .hdr-logo img { filter: brightness(0) invert(1); }
.hdr-nav { display: flex; gap: 26px; margin-left: auto; }
.hdr-nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; position: relative; padding: 4px 0; }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.hdr-nav a:hover::after, .hdr-nav a[aria-current]::after { right: 0; }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.hdr-app {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid currentColor;
  text-decoration: none; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em;
}
.hdr-app:hover { background: currentColor; }
.hdr-app:hover span { color: var(--ink); }
.hdr:not(.is-solid) .hdr-app:hover span, .hdr.is-dark .hdr-app:hover span { color: var(--ink); }
.hdr.is-solid:not(.is-dark) .hdr-app:hover span { color: var(--paper); }
.lang { position: relative; }
.lang-btn {
  height: 36px; min-width: 52px; padding: 0 10px; border: 1px solid transparent; background: none; cursor: pointer;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 6px;
}
.lang-btn:hover { border-color: currentColor; }
.lang-btn svg { width: 10px; height: 10px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 120px; background: var(--ink); color: #fff;
  border: 1px solid var(--line-d); padding: 4px; display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 8px 10px; background: none; border: 0; cursor: pointer; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: .06em; }
.lang-menu button:hover, .lang-menu button[aria-current="true"] { background: var(--teal); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid currentColor; background: none; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 16px; height: 1px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.mnav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff; padding: 96px var(--gut) 40px;
  display: flex; flex-direction: column; gap: 4px; transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mnav.open { transform: none; visibility: visible; }
.mnav a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; font-variation-settings: "wdth" 75; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-d); }
.mnav .mnav-langs { display: flex; gap: 8px; margin-top: 24px; }
.mnav .mnav-langs button { border: 1px solid var(--line-d); background: none; height: 40px; min-width: 56px; font-family: var(--f-mono); font-size: .78rem; cursor: pointer; }
.mnav .mnav-langs button[aria-current="true"] { background: var(--teal); border-color: var(--teal); }
body.nav-open { overflow: hidden; }
body.nav-open .hdr { color: #fff; background: transparent; border-color: transparent; }
body.nav-open .hdr .hdr-logo img { filter: brightness(0) invert(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px; border: 1px solid currentColor;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; background: none; position: relative; overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 0; }
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: #fff; border-color: var(--teal); }
.btn-solid { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-solid::before { background: var(--ink); }
.btn-solid:hover { border-color: var(--ink); }
.btn-light { color: #fff; }
.btn .arr { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.sec-dark { background: var(--ink); color: #e8eeee; }
.sec-paper2 { background: var(--paper-2); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--muted); }
.sec-dark .eyebrow { color: var(--muted-d); }
.eyebrow b { color: var(--signal); font-weight: 500; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 160px; }
.sec-dark .eyebrow::after { background: var(--line-d); }
.h-xl {
  font-size: clamp(2.6rem, 7.4vw, 7.2rem); line-height: 0.92; letter-spacing: -0.035em; font-weight: 800;
  font-variation-settings: "wdth" 72; margin: 0; text-wrap: balance;
}
.h-l { font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 800; font-variation-settings: "wdth" 76; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 44ch; margin: 24px 0 0; }
.sec-dark .lede { color: #b7c3c5; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: -3% -2%; will-change: transform; }
.hero-slide { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); z-index: 0; }
.hero-slide.is-out { clip-path: inset(0); z-index: 1; }
.hero-slide.is-on { clip-path: inset(0); z-index: 2; transition: clip-path 1.5s cubic-bezier(.7, 0, .2, 1); }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: var(--op, 50% 50%); filter: saturate(.62) contrast(1.06) brightness(.86); transform: scale(1.16); }
.hero-slide.is-on img, .hero-slide.is-out img { animation: kb 9.5s linear forwards; }
.hero-slide.is-rev.is-on img, .hero-slide.is-rev.is-out img { animation-name: kb-rev; }
@keyframes kb { from { transform: scale(1.16) translate3d(1.5%, 0, 0); } to { transform: scale(1.03) translate3d(-1%, 0, 0); } }
@keyframes kb-rev { from { transform: scale(1.03) translate3d(-1.5%, .5%, 0); } to { transform: scale(1.15) translate3d(1%, -.5%, 0); } }
.hero.is-paused .hero-slide img, .hero.is-paused .hero-seg i { animation-play-state: paused; }
/* legibility scrim + brand grade (teal multiply) */
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(0deg, rgba(13, 20, 22, .9) 0%, rgba(13, 20, 22, .35) 42%, rgba(13, 20, 22, 0) 70%),
  linear-gradient(90deg, rgba(13, 20, 22, .78) 0%, rgba(13, 20, 22, .3) 55%, rgba(13, 20, 22, .15) 100%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: var(--teal-deep); mix-blend-mode: multiply; opacity: .32; }
.hero-wipe { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 2px; background: var(--signal); opacity: 0; pointer-events: none; }
.hero-in { transform: translate3d(0, calc(var(--hp, 0) * -80px), 0); opacity: calc(1 - var(--hp, 0) * 1.4); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 120px 120px; background-position: -1px -1px; opacity: .35;
  -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 75%); mask-image: linear-gradient(90deg, #000 0 40%, transparent 75%);
}
.hero-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(28px, 5vw, 56px); pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.hero-kicker { color: var(--teal-lite); margin-bottom: 26px; display: flex; gap: 16px; align-items: center; }
.hero-kicker i { width: 36px; height: 1px; background: var(--signal); display: inline-block; }
.hero h1 {
  font-size: clamp(3rem, 10.5vw, 10.5rem); line-height: 0.86; letter-spacing: -0.045em; font-weight: 800;
  font-variation-settings: "wdth" 68; margin: 0; max-width: 11ch;
}
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero.is-in h1 .ln > span { transform: none; }
.hero h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: .24s; color: var(--teal-lite); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 32px 48px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-lead { margin: 0; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.2rem); color: #c3cfd1; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-read { position: absolute; z-index: 3; right: var(--gut); top: 108px; width: 280px; color: #b9c6c8; display: grid; gap: 10px; }
.hero-idx { color: #fff; font-size: .74rem; }
.hero-idx b { font-size: 1.5rem; font-weight: 500; letter-spacing: 0; color: #fff; }
.hero-idx span { color: var(--muted-d); }
.hero-caps { position: relative; height: 3.9em; overflow: hidden; }
.hero-cap { position: absolute; inset: 0; display: grid; align-content: start; gap: 2px; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.hero-cap.is-on { opacity: 1; transform: none; transition-delay: .5s; }
.hero-cap .hc-type { color: var(--teal-lite); }
.hero-cap .hc-place { color: #fff; }
.hero-cap .hc-client { color: var(--muted-d); }
.hero-segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.hero-seg { height: 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero-seg::before, .hero-seg i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255, 255, 255, .22); }
.hero-seg i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-seg.is-done i { transform: scaleX(1); background: rgba(255, 255, 255, .55); }
.hero-seg.is-on i { animation: seg var(--dur, 6500ms) linear forwards; background: var(--signal); }
.hero-seg:hover::before { background: rgba(255, 255, 255, .5); }
@keyframes seg { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 1px; height: 44px; background: var(--line-d); overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Stats band ---------- */
.band { background: var(--teal-deep); color: #fff; }
.band-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band-cell { padding: 34px 28px 30px; border-left: 1px solid rgba(255,255,255,.16); }
.band-cell:first-child { border-left: 0; padding-left: 0; }
.band-num { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; font-variation-settings: "wdth" 70; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.band-num sup { font-size: .45em; vertical-align: top; margin-left: 2px; color: var(--teal-lite); }
.band-lbl { margin-top: 10px; color: rgba(255,255,255,.72); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-copy p { max-width: 52ch; }
.about-copy .about-p { font-size: 1.12rem; color: var(--text); margin: 28px 0 0; }
.about-quote { margin: 36px 0 0; padding: 22px 0 0 26px; border-left: 2px solid var(--signal); font-size: 1.22rem; line-height: 1.45; font-weight: 500; color: var(--ink); max-width: 44ch; }
.about-fig { position: relative; margin: 0; }
.about-fig .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.about-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; filter: saturate(.72) contrast(1.06); }
.about-fig figcaption { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); }
.dim {
  position: absolute; left: -26px; top: 0; bottom: 0; width: 1px; background: var(--ink);
}
.dim::before, .dim::after { content: ""; position: absolute; left: -5px; width: 11px; height: 1px; background: var(--ink); }
.dim::before { top: 0; } .dim::after { bottom: 0; }
.dim span { position: absolute; top: 50%; left: -14px; transform: translate(-50%, -50%) rotate(-90deg); font-family: var(--f-mono); font-size: .7rem; background: var(--paper); padding: 0 6px; white-space: nowrap; }

/* ---------- Services ---------- */
.srv-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.srv-list { border-top: 1px solid var(--ink); }
.srv {
  display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 120px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; cursor: default;
}
.srv::before { content: ""; position: absolute; inset: 0 -12px; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.srv > * { position: relative; z-index: 1; transition: color .35s var(--ease); }
.srv-n { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.srv h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 700; font-variation-settings: "wdth" 78; letter-spacing: -0.02em; line-height: 1.05; }
.srv p { margin: 0; color: var(--muted); font-size: .98rem; }
.srv svg { width: 110px; height: 72px; justify-self: end; color: var(--ink); }
.srv svg * { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.srv svg .acc { stroke: var(--signal); }
.srv svg .dr { stroke-dasharray: var(--len, 400); stroke-dashoffset: 0; }
@media (hover: hover) {
  .srv:hover::before { transform: scaleY(1); }
  .srv:hover > * { color: #fff; }
  .srv:hover p, .srv:hover .srv-n { color: #b7c3c5; }
  .srv:hover svg { color: var(--teal-lite); }
  .srv:hover svg .dr { animation: draw 1.1s var(--ease) both; }
}
@keyframes draw { from { stroke-dashoffset: var(--len, 400); } to { stroke-dashoffset: 0; } }

/* ---------- Method (pinned scroll) ---------- */
.method { background: var(--ink); color: #e8eeee; }
.method-track { position: relative; height: 420vh; }
.method-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden; }
.method-left { display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gut) 60px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); position: relative; z-index: 2; }
.method-steps { position: relative; margin-top: 44px; min-height: 210px; }
.method-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.method-step.on { opacity: 1; transform: none; }
.method-step .mono { color: var(--signal); }
.method-step h3 { margin: 10px 0 12px; font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 800; font-variation-settings: "wdth" 72; letter-spacing: -0.03em; line-height: .95; color: #fff; }
.method-step p { margin: 0; color: #b7c3c5; max-width: 40ch; font-size: 1.05rem; }
.method-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 36px; max-width: 420px; }
.method-bar i { height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.method-bar i b { position: absolute; inset: 0; background: var(--teal-lite); transform-origin: left; transform: scaleX(var(--p, 0)); }
.method-bar-lbl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 420px; margin-top: 10px; color: var(--muted-d); }
.method-bar-lbl span.on { color: #fff; }
.method-right { position: relative; }
.method-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.method-legend { position: absolute; right: var(--gut); bottom: 36px; display: grid; gap: 6px; color: var(--muted-d); text-align: right; z-index: 2; }
.method-legend i { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-left: 8px; }

/* ---------- Projects ---------- */
.pj-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.pj-ctrl { display: flex; gap: 8px; }
.pj-ctrl button { width: 52px; height: 52px; border: 1px solid var(--ink); background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pj-ctrl button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.pj-ctrl button:disabled { opacity: .3; cursor: default; }
.pj-ctrl svg { width: 20px; height: 20px; }
.pj-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 36vw, 520px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gut) 8px;
  margin: 0 calc(-1 * var(--gut)); cursor: grab; overscroll-behavior-x: contain;
}
@media (min-width: 1400px) { .pj-rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); margin-left: calc(-1 * ((100vw - var(--wrap)) / 2 + var(--gut))); margin-right: calc(-1 * ((100vw - var(--wrap)) / 2 + var(--gut))); } }
.pj-rail::-webkit-scrollbar { display: none; }
.pj-rail.drag { cursor: grabbing; scroll-snap-type: none; }
.pj { scroll-snap-align: start; margin: 0; position: relative; }
.pj button { display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.pj:nth-child(3n+2) button { aspect-ratio: 1 / 1; }
.pj img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.92); transform: scale(1.02); transition: filter .6s var(--ease), transform .9s var(--ease); }
.pj button::after { content: ""; position: absolute; inset: 0; background: var(--teal-deep); mix-blend-mode: multiply; opacity: .55; transition: opacity .6s var(--ease); }
.pj button:hover img, .pj button:focus-visible img { filter: none; transform: scale(1.06); }
.pj button:hover::after, .pj button:focus-visible::after { opacity: 0; }
.pj figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 14px; }
.pj-meta { flex-basis: 100%; color: var(--muted); font-size: .92rem; }
.pj-count { position: absolute; right: 14px; top: 12px; z-index: 2; color: #fff; }
.pj figcaption b { font-size: 1.15rem; font-weight: 700; font-variation-settings: "wdth" 80; }
.pj figcaption span { color: var(--muted); }
.pj-idx { position: absolute; left: 14px; top: 12px; z-index: 2; color: #fff; }
.pj-progress { height: 1px; background: var(--line); margin-top: 32px; position: relative; }
.pj-progress i { position: absolute; left: 0; top: 0; height: 1px; background: var(--ink); width: 20%; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(13, 20, 22, .96); color: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gut); }
.lb-close, .lb-nav { width: 48px; height: 48px; border: 1px solid var(--line-d); background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb-close:hover, .lb-nav:hover { border-color: #fff; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-stage { display: flex; align-items: center; justify-content: center; padding: 0 var(--gut); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bot { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gut) 24px; gap: 16px; }
.lb-bot b { font-size: 1.4rem; font-variation-settings: "wdth" 78; }
.lb-cap { min-width: 0; flex: 0 1 auto; }
.lb-cap .mono { display: block; color: var(--muted-d); margin-top: 4px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; justify-content: safe center; min-width: 0; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .45; transition: opacity .25s, border-color .25s; }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button.on { opacity: 1; border-color: var(--signal); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); margin-top: 64px; }
.why { padding: 30px 26px 10px 0; border-right: 1px solid var(--line-d); }
.why + .why { padding-left: 26px; }
.why:last-child { border-right: 0; }
.why .mono { color: var(--signal); }
.why h3 { margin: 18px 0 10px; font-size: 1.5rem; font-weight: 700; font-variation-settings: "wdth" 80; letter-spacing: -0.015em; line-height: 1.1; color: #fff; }
.why p { margin: 0; color: #a9b7ba; }
.why-meter { height: 2px; background: var(--line-d); margin-top: 28px; position: relative; }
.why-meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--teal-lite); width: 0; transition: width 1.4s var(--ease); }
.why-grid.in .why-meter i { width: 100%; }
.why-grid.in .why:nth-child(2) .why-meter i { transition-delay: .15s; }
.why-grid.in .why:nth-child(3) .why-meter i { transition-delay: .3s; }
.why-grid.in .why:nth-child(4) .why-meter i { transition-delay: .45s; }

/* ---------- Clients ---------- */
.clients { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients-lbl { text-align: center; color: var(--muted); margin-bottom: 26px; }
.marq { display: flex; width: max-content; animation: marq 48s linear infinite; }
.marq:hover { animation-play-state: paused; }
.marq img { height: 40px; width: auto; max-width: 150px; object-fit: contain; margin: 0 44px; filter: grayscale(1) contrast(1.1); opacity: .6; transition: opacity .3s, filter .3s; }
.marq img:hover { opacity: 1; filter: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Contact ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
.ct-info { margin-top: 44px; display: grid; gap: 22px; }
.ct-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ct-row .mono { color: var(--muted); padding-top: 3px; }
.ct-row a { text-decoration: none; }
.ct-row a:hover { color: var(--teal); }
.ct-big a { font-size: 1.5rem; font-weight: 700; font-variation-settings: "wdth" 80; letter-spacing: -0.01em; }
.ct-social { display: flex; gap: 8px; }
.ct-social a { width: 44px; height: 44px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.ct-social a:hover { background: var(--ink); color: #fff; }
.ct-social svg { width: 18px; height: 18px; fill: currentColor; }
.form { display: grid; gap: 0; }
.fld { position: relative; border-bottom: 1px solid var(--ink); }
.fld + .fld { margin-top: 8px; }
.fld label { position: absolute; left: 0; top: 22px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease), color .25s; transform-origin: left; font-size: 1rem; }
.fld input, .fld textarea, .fld select {
  width: 100%; border: 0; background: transparent; padding: 22px 0 12px; font: 500 1.08rem var(--f-display); color: var(--ink); outline: none; border-radius: 0;
}
.fld textarea { min-height: 150px; resize: vertical; }
.fld select { appearance: none; cursor: pointer; }
.fld input:focus ~ label, .fld input:not(:placeholder-shown) ~ label,
.fld textarea:focus ~ label, .fld textarea:not(:placeholder-shown) ~ label,
.fld.has-val label { transform: translateY(-20px) scale(.78); color: var(--teal); }
.fld::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.fld:focus-within::after { transform: scaleX(1); }
.fld-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fld-2 .fld + .fld { margin-top: 0; }
.fld-2 + .fld { margin-top: 8px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 32px; }
.form-foot small { color: var(--muted); max-width: 36ch; }
.form-foot small a { color: var(--ink); }
.form-ok { margin-top: 24px; padding: 16px 18px; background: var(--teal); color: #fff; display: flex; gap: 12px; align-items: center; }
.form-err { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--signal); background: var(--paper-2); color: var(--ink); }
.whistle { margin-top: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.whistle h3 { margin: 0 0 4px; font-size: 1.35rem; font-variation-settings: "wdth" 80; }
.whistle p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #b7c3c5; padding: 72px 0 28px; overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 56px; }
.ftr h4 { margin: 0 0 14px; color: #fff; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr-word {
  font-size: clamp(4rem, 17vw, 17rem); line-height: .78; font-weight: 900; font-variation-settings: "wdth" 62; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); margin: 0 0 24px; user-select: none; white-space: nowrap;
}
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .88rem; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: var(--gut); right: var(--gut); bottom: 18px; z-index: 250; max-width: 760px; margin: 0 auto; background: var(--ink); color: #dfe7e8; border: 1px solid var(--line-d); padding: 18px 20px; display: flex; gap: 18px 24px; align-items: center; flex-wrap: wrap; transform: translateY(140%); transition: transform .5s var(--ease); }
.cookie.show { transform: none; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.cookie a { color: var(--teal-lite); }
.cookie-act { display: flex; gap: 8px; }
.cookie button { height: 40px; padding: 0 14px; border: 1px solid var(--line-d); background: none; cursor: pointer; font-size: .86rem; font-weight: 600; }
.cookie button.acc { background: var(--teal); border-color: var(--teal); }

/* ---------- Inner pages (legal, canal, report) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 160px 0 72px; position: relative; overflow: hidden; }
.page-hero .hero-grid { -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%); mask-image: linear-gradient(90deg, transparent 20%, #000 90%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); line-height: .92; letter-spacing: -0.04em; font-weight: 800; font-variation-settings: "wdth" 70; margin: 0; max-width: 14ch; }
.page-hero p { color: #b7c3c5; max-width: 60ch; font-size: 1.1rem; margin: 24px 0 0; }
.page-body { padding: clamp(56px, 8vw, 110px) 0; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.legal-toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; }
.legal-toc a { text-decoration: none; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.legal-toc a:hover, .legal-toc a.on { color: var(--ink); border-left-color: var(--signal); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.55rem; font-weight: 700; font-variation-settings: "wdth" 82; letter-spacing: -0.015em; margin: 56px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 96px; display: flex; gap: 14px; align-items: baseline; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .mono { color: var(--signal); font-size: .74rem; }
.legal-body p, .legal-body li { color: #33403f; }
.legal-body a { color: var(--teal); }
.legal-body .upd { color: var(--muted); margin-top: 48px; }
.canal-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.canal-aside { position: sticky; top: 100px; display: grid; gap: 28px; }
.canal-box { border: 1px solid var(--ink); padding: 28px; background: var(--white); }
.canal-box h2 { margin: 0 0 8px; font-size: 1.5rem; font-variation-settings: "wdth" 80; }
.canal-box p { margin: 0 0 18px; color: var(--muted); }
.canal-check { display: grid; gap: 12px; }
.canal-points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.canal-points div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.canal-points .mono { color: var(--signal); padding-top: 3px; }
.char-count { position: absolute; right: 0; bottom: 10px; color: var(--muted); font-family: var(--f-mono); font-size: .72rem; }
.form-h { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; font-variation-settings: "wdth" 76; letter-spacing: -0.03em; margin: 0 0 6px; }
.form-sub { color: var(--muted); margin: 0 0 28px; }
/* report.php (canal: registered / status pages) */
.rpt { max-width: 820px; }
.rpt-msg p { font-size: 1.12rem; margin: 0 0 14px; }
.rpt-lbl { color: var(--muted); margin-bottom: 8px; }
.report-code { font-family: var(--f-mono); font-size: clamp(1.1rem, 3vw, 1.5rem); background: var(--ink); color: #fff; padding: 10px 16px; display: inline-block; letter-spacing: .06em; user-select: all; }
.rpt-codebox { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 6px 0 22px; }
.rpt-codebox .btn { height: auto; }
.rpt-warn { border-left: 3px solid var(--signal); background: var(--paper-2); padding: 16px 20px; margin-bottom: 22px; }
.rpt-head { display: flex; gap: 32px 48px; flex-wrap: wrap; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.report-status { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; display: inline-block; border: 1px solid currentColor; }
.report-status.s-pendiente { color: var(--signal); }
.report-status.s-en_estudio { color: var(--teal); }
.report-status.s-cerrada { color: var(--ink); background: var(--paper-2); }
.rpt-track { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-bottom: 1px solid var(--line); }
.rpt-track li { position: relative; padding-top: 14px; color: var(--muted); font-weight: 600; }
.rpt-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.rpt-track li.done::before { background: var(--teal); }
.rpt-track li.on::before { background: var(--signal); }
.rpt-track li.on, .rpt-track li.done { color: var(--ink); }
.rpt-track .mono { display: block; color: var(--muted); font-weight: 400; margin-bottom: 2px; }
.rpt-fields { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.rpt-fields > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rpt-fields > div.wide { grid-column: 1 / -1; }
.rpt-fields dt { color: var(--muted); margin-bottom: 6px; }
.rpt-fields dd { margin: 0; }
.rpt-answer { margin: 28px 0 8px; padding: 22px 24px; background: var(--ink); color: #e8eeee; }
.rpt-answer .rpt-lbl { color: var(--teal-lite); }
.rpt-answer p { margin: 0; white-space: normal; }
.rpt-answer.is-empty { background: var(--paper-2); color: var(--text); }
.rpt-answer.is-empty .rpt-lbl { color: var(--muted); }
.rpt-note { margin-top: 18px; }
.rpt-check { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 8px 0 8px; max-width: 560px; }
.rpt-check .fld { flex: 1 1 260px; margin: 0; }
.rpt-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.report-page .muted { color: var(--muted); }
.report-page .ftr { padding-top: 6px; }
.report-page .ftr-bot { border-top: 0; }
@media (max-width: 600px) { .rpt-fields { grid-template-columns: 1fr; } .rpt-track { font-size: .9rem; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr-nav, .hdr-app { display: none; }
  .burger { display: inline-flex; }
  .srv { grid-template-columns: 60px minmax(0, 1fr) 90px; }
  .srv p { grid-column: 2 / 3; }
  .srv svg { grid-row: 1 / span 2; grid-column: 3; width: 90px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why:nth-child(2) { border-right: 0; }
  .why:nth-child(3) { padding-left: 0; }
  .why:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .band-in { grid-template-columns: 1fr 1fr; }
  .band-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .band-cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .about-grid, .ct-grid, .srv-head, .canal-grid, .legal { grid-template-columns: 1fr; }
  .about-fig { max-width: 520px; margin-left: 28px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-cta { justify-content: flex-start; }
  .hero-read { right: auto; left: var(--gut); top: 92px; width: min(240px, calc(100% - 2 * var(--gut))); }
  .hero-caps, .hero-idx { display: none; }
  .lb-bot { flex-wrap: wrap; }
  .lb-thumbs { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .method-track { height: auto; }
  .method-pin { position: relative; height: auto; grid-template-columns: 1fr; }
  .method-right { height: 64vw; min-height: 300px; order: -1; }
  .method-left { padding: 64px var(--gut); }
  .method-steps { min-height: 0; display: grid; gap: 36px; }
  .method-step { position: relative; opacity: 1; transform: none; }
  .method-bar, .method-bar-lbl { display: none; }
  .legal-toc, .canal-aside { position: static; }
  .legal-toc { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .srv { grid-template-columns: 1fr; gap: 8px; }
  .srv svg { display: none; }
  .srv p { grid-column: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why, .why + .why { padding: 26px 0 8px; border-right: 0; border-top: 1px solid var(--line-d); }
  .fld-2 { grid-template-columns: 1fr; }
  .fld-2 .fld + .fld { margin-top: 8px; }
  .ftr-top { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr; gap: 4px; }
  .btn { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero h1 .ln > span { transform: none; }
  .marq { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
