/* GERARD · Diseño de logotipos en Alicante · v1.3.0
   Dirección de arte adaptada de herasymenkox.com: lienzo negro, titulares gigantes en un solo color,
   marco fijo con nombre, píldoras, paso 01||02, reloj y contador, tipografía mono para la interfaz
   y una serif fina incrustada en los titulares. Color de la referencia (lima) → turquesa GERARD. */

@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b0b0b;
  --ink-2: #151515;
  --ink-3: #1f1f1e;
  --tq: #00e5e5;
  --tq-d: #00b8b8;
  --fg: #dffaf8;
  --mute: #8aa6a4;
  --line: rgba(0, 229, 229, .22);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --gut: clamp(16px, 1.25vw, 22px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --big: clamp(52px, 10.9vw, 220px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.dialog-open, html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
strong, b { font-weight: 700; color: #fff; }
::selection { background: var(--tq); color: var(--ink); }
:focus-visible { outline: 2px solid var(--tq); outline-offset: 3px; border-radius: 2px; }

[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; font-size: 11px; line-height: 1.35; }
.serif { font-family: var(--serif); font-weight: 250; font-variation-settings: "opsz" 144; text-transform: none; letter-spacing: -.02em; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--tq); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* Líneas que suben desde una máscara (lines.js de la referencia) */
.ln { display: block; overflow: hidden; padding: .14em 0 .08em; margin: -.14em 0 -.08em; }
.ln > span { display: block; will-change: transform; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; font-size: 13px; letter-spacing: .02em; text-decoration: none; transition: background .3s, color .3s, transform .3s var(--ease); position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn--tq { background: var(--tq); color: var(--ink); }
.btn--tq::before { background: #fff; }
.btn--line { box-shadow: inset 0 0 0 1px var(--tq); color: var(--tq); }
.btn--line::before { background: var(--tq); }
.btn--line:hover { color: var(--ink); }
.btn--xl { min-height: 60px; padding: 0 30px; font-size: 15px; }
.btn:active { transform: scale(.97); }
.devflag { display: inline-block; margin-top: 18px; padding: 6px 10px; border: 1px dashed #ffb020; color: #ffb020; border-radius: 4px; }

/* ═════════ CARGA ═════════ */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; pointer-events: none; }
html.no-js .loader, html.seen .loader, html.reduced .loader { display: none; }
.loader__ghost { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: 700; font-size: var(--big); line-height: .82; letter-spacing: -.045em; color: var(--ink-3); text-transform: uppercase; text-align: center; }
.loader__pct { position: relative; font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--tq); letter-spacing: .04em; }
.loader__note { position: absolute; bottom: calc(24px + var(--safe-b)); left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--mute); letter-spacing: .1em; }

/* ═════════ MARCO FIJO ═════════ */
.ui { position: fixed; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); pointer-events: none; }
.ui > * { pointer-events: auto; }
.ui--top { top: 0; height: 50px; transition: transform .6s var(--ease); }
.ui--top.is-hidden { transform: translateY(-110%); }
.ui--bot { bottom: 0; height: 44px; padding-bottom: var(--safe-b); mix-blend-mode: difference; }
.ui__brand { display: block; width: 92px; mix-blend-mode: difference; }
.ui__brand img { width: 100%; height: auto; filter: brightness(1.05); }
.pills { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.pill { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 22px; min-width: 96px; padding: 0 8px; border-radius: 3px; background: rgba(32, 34, 33, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-weight: 500; font-size: 10px; text-transform: uppercase; text-decoration: none; color: var(--tq); letter-spacing: .02em; transition: background .35s var(--ease), color .35s var(--ease); overflow: hidden; }
.pill sup { font-size: 7px; top: -.4em; position: relative; }
.pill::after { content: ""; position: absolute; right: 7px; top: 50%; width: 0; height: 0; border: 3px solid transparent; border-top: 4px solid currentColor; transform: translateY(-15%); opacity: 0; transition: opacity .3s; }
.pill.is-on, .pill:hover { background: var(--tq); color: var(--ink); }
.pill.is-on::after { opacity: 1; }
.pill--cta { background: var(--tq); color: var(--ink); min-width: 0; padding: 0 12px; }
.pill--cta:hover { background: #fff; }
.ui__right { display: flex; align-items: center; gap: 14px; }
.stepper { display: flex; align-items: center; gap: 4px; font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--tq); letter-spacing: -.02em; transition: opacity .4s; }
.stepper span { opacity: .9; }
.stepper__b { padding: 2px 0; border-bottom: 2px solid transparent; transition: border-color .3s; }
.stepper__b.is-on { border-color: var(--tq); }
.ui__pct { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--tq); letter-spacing: -.02em; display: none; }
body.out-work .stepper { display: none; }
body.out-work .ui__pct { display: block; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--tq); transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.ui__clock, .ui__copy, .ui__count { font-family: var(--sans); font-weight: 700; font-size: 13px; color: var(--tq); letter-spacing: -.01em; }
.ui__count { display: flex; align-items: center; gap: 24px; font-family: var(--mono); font-size: 10px; font-weight: 500; transition: opacity .4s; }
.ui__count i { width: 14px; height: 9px; border: 1.5px solid currentColor; border-radius: 1px; }
body.out-work .ui__count { opacity: 0; }

.menu { position: fixed; inset: 0; z-index: 70; background: rgba(11, 11, 11, .97); backdrop-filter: blur(12px); display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 80px var(--gut) calc(30px + var(--safe-b)); }
.menu ol { display: grid; gap: 4px; }
.menu a[data-menu-link] { display: flex; align-items: baseline; gap: 14px; font-weight: 700; font-size: clamp(30px, 9vw, 54px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; text-decoration: none; color: var(--tq); }
.menu a[data-menu-link] span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.menu a.is-on { color: #fff; }
.menu__foot { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--mute); }

/* ═════════ HERO ═════════ */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ink); isolation: isolate; }
/* Muro de trabajos reales en perspectiva: columnas que suben y bajan sin parar */
.hero__wall { position: absolute; inset: -18% -12%; perspective: 1400px; z-index: 0; will-change: transform; }
.hw { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 22px); transform: rotateX(32deg) rotateZ(-9deg) scale(1.08); transform-origin: 50% 40%; transform-style: preserve-3d; will-change: transform; }
.hw__col { overflow: hidden; }
.hw__run { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 22px); animation: hwUp var(--d, 40s) linear infinite; }
.hw__col--1 .hw__run { animation-name: hwDown; }
.hw__run img { width: 100%; height: auto; border-radius: 6px; background: #1a1a1a; box-shadow: 0 20px 60px rgba(0,0,0,.55); filter: saturate(.85) brightness(.82); }
@keyframes hwUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes hwDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 62% at 50% 52%, rgba(11,11,11,.9) 0%, rgba(11,11,11,.72) 45%, rgba(11,11,11,.25) 80%),
              linear-gradient(180deg, rgba(11,11,11,.85) 0%, rgba(11,11,11,0) 22%, rgba(11,11,11,0) 62%, rgba(11,11,11,.96) 100%); }
.hero__panel { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gut); pointer-events: none; }
.hero__h1 { font-weight: 800; font-size: var(--big); line-height: .8; letter-spacing: -.055em; text-transform: uppercase; color: var(--tq); display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 8px 34px rgba(0,0,0,.75)); }
.hero__l { display: block; overflow: hidden; padding: .16em .03em .06em; margin-top: -.16em; }
.hero__l > span { display: block; }
.hero__l--out > span { color: transparent; -webkit-text-stroke: max(1.5px, .012em) var(--tq); }
.hero__knock { margin-top: clamp(14px, 2vw, 30px); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.6vw, 44px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.hero__meta { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2.6vw, 36px); color: var(--fg); font-size: 11px; letter-spacing: .1em; flex-wrap: wrap; justify-content: center; }
.hero__meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--tq); box-shadow: 0 0 12px var(--tq); }
.hero__seal { position: absolute; z-index: 3; right: clamp(16px, 6vw, 120px); top: clamp(96px, 18svh, 190px); width: clamp(104px, 10vw, 156px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--tq); color: var(--ink); text-decoration: none; box-shadow: 0 16px 40px rgba(0,229,229,.25); transition: transform .5s var(--ease); }
.hero__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 18s linear infinite; }
.hero__seal text { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .04em; fill: var(--ink); }
.hero__seal b { font-family: var(--sans); font-weight: 800; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.04em; color: var(--ink); }
.hero__seal:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.hero__foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(64px + var(--safe-b)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding: 0 var(--gut); }
.hero__lead { max-width: 38ch; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.38; font-weight: 500; color: var(--fg); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ═════════ TRABAJOS ═════════ */
.work { position: relative; }
.work__stage { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.wk { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); will-change: clip-path; }
.wk[data-i="0"] { clip-path: inset(0); }
.wk__bg { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 50% 110%, color-mix(in oklab, var(--acc) 85%, #000) 0%, color-mix(in oklab, var(--acc) 40%, #000) 45%, #050505 100%); }
.wk__bg::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: .35; }
.wk__media { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform; }

/* Muro de variantes (equivalente al «tirar hacia atrás» de la referencia): el sistema de identidad */
.wk__wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1.4vw; padding: 9vh 7vw; perspective: 1200px; }
.tl { position: relative; border-radius: 6px; background: rgba(12, 12, 12, .72); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; opacity: 0; transform: scale(.6); display: grid; place-items: center; }
.wk__wall--8 .tl:nth-child(4) { grid-column: 1; grid-row: 2; }
.wk__wall--8 .tl:nth-child(5) { grid-column: 3; grid-row: 2; }
.wk__wall--8 .tl:nth-child(6) { grid-column: 1; grid-row: 3; }
.wk__wall--8 .tl:nth-child(7) { grid-column: 2; grid-row: 3; }
.wk__wall--8 .tl:nth-child(8) { grid-column: 3; grid-row: 3; }
.wk__wall--6 .tl:nth-child(n+4) { grid-row: 3; }
.tl__in { display: flex; align-items: center; justify-content: center; gap: 6px; width: 70%; height: 60%; }
.tl > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tl--contain0 > img { padding: 4%; }
.tl--contain > img { padding: 16%; }
.tl--cover > img { object-fit: cover; }
.tl--zoom > img { object-fit: cover; transform: scale(2.6); }
.tl--mono > img { object-fit: cover; filter: grayscale(1) contrast(8); mix-blend-mode: multiply; }
.tl--neg > img { padding: 8%; filter: grayscale(1) invert(1) brightness(1.4); mix-blend-mode: screen; }
.tl--small > img { position: static; width: 70px; height: auto; }
.tl--tiny .tl__in { align-items: flex-end; gap: 16px; }
.tl--tiny img { width: auto; flex: none; }
.tl--pal .tl__in { width: 100%; height: 100%; gap: 0; align-items: stretch; }
.tl--pal .sw { flex: 1; width: auto; aspect-ratio: auto; border-radius: 0; position: relative; }
.tl--pal .sw i { position: absolute; left: 8px; top: 8px; font-family: var(--mono); font-style: normal; font-size: 8px; color: #fff; mix-blend-mode: difference; }
.tl--txt { padding: 12%; }
.tl--txt p { font-family: var(--serif); font-weight: 300; font-size: clamp(13px, 1.5vw, 26px); line-height: 1.1; color: #fff; text-align: center; }
.tl__k--dk { color: rgba(0,0,0,.55) !important; }
.sw { width: 18%; aspect-ratio: .55; border-radius: 3px; }
.sw--k { background: #0b0b0b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); } .sw--w { background: #f4f2ee; } .sw--tq { background: #9ad; }
.tl__aa { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 72px); color: color-mix(in oklab, var(--acc) 60%, #fff); line-height: 1; }
.tl__k { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }

/* Portada de cada proyecto: foto real a sangre o logotipo sobre su color */
.wk__photo, .wk__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wk__photo img { object-fit: cover; }
.wk__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,10,.55) 0%, rgba(5,8,10,.18) 38%, rgba(5,8,10,.18) 62%, rgba(5,8,10,.62) 100%); pointer-events: none; }
.wk__shade--soft { background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0,0,0,.35) 100%); }
.wk__poster { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: clamp(96px, 15svh, 170px); background: var(--acc); }
.wk__poster img { width: auto; height: auto; max-width: min(42vw, 600px); max-height: 28svh; object-fit: contain; padding: clamp(18px, 3vw, 46px); background: var(--pbg); border-radius: 10px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7); transform: rotate(-2deg); }

/* Títulos fijos encima (como ZIRKA INTERCEPTOR) */
.work__titles { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: grid; place-items: center; }
.wt { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(14px, 2.4vw, 34px); visibility: hidden; }
.wt.is-on { visibility: visible; }
.wt__name { font-weight: 700; font-size: var(--big); line-height: .8; letter-spacing: -.05em; color: var(--tq); filter: drop-shadow(0 4px 26px rgba(0,0,0,.6)); max-width: 94vw; }
.wt__name .ch { display: inline-block; will-change: transform; }
.wt__cat { color: var(--tq); font-size: 10px; letter-spacing: .1em; background: rgba(11,11,11,.72); padding: 4px 8px; border-radius: 3px; }
.wt__open { pointer-events: auto; min-width: 0; padding: 0 12px; }
.wt.is-on .wt__open { tabindex: 0; }
.work__hint { position: absolute; left: 50%; bottom: calc(60px + var(--safe-b)); transform: translateX(-50%); color: var(--tq); opacity: .7; z-index: 5; font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
.work__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.work__list:focus-within { position: relative; width: auto; height: auto; clip: auto; clip-path: none; padding: 20px var(--gut); display: grid; gap: 8px; }

/* ═════════ TIRA (vista 02) ═════════ */
.strip { position: fixed; inset: 0; z-index: 55; background: var(--ink); overflow: hidden; touch-action: pan-y; cursor: grab; }
.strip.is-drag { cursor: grabbing; }
.strip::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(0, 229, 229, .25); z-index: 2; pointer-events: none; }
.strip__track { position: absolute; left: 0; top: 50%; height: 0; perspective: 1400px; transform-style: preserve-3d; }
.sc { position: absolute; left: 0; top: 0; width: 32vw; aspect-ratio: 1.42; transform-origin: 50% 50%; border-radius: 2px; overflow: hidden; will-change: transform; }
.sc { background: var(--acc); }
.sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sc--logo { background: var(--pbg); }
.sc--logo img { object-fit: contain; padding: 14%; }
.sc:hover img, .sc:focus-visible img { transform: scale(1.05); }
.strip__label { position: absolute; left: 50%; top: calc(50% + 13vw); display: flex; gap: 22vw; transform: translateX(-50%); color: var(--tq); font-size: 12px; white-space: nowrap; }
.strip__label b { font-family: var(--sans); font-weight: 700; color: var(--tq); }
.strip__ruler { position: absolute; left: 50%; bottom: calc(52px + var(--safe-b)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 10px; color: var(--tq); }
.strip__ruler i { display: block; width: 180px; height: 10px; background: repeating-linear-gradient(90deg, rgba(0,229,229,.5) 0 1px, transparent 1px 7px); position: relative; }
.strip__ruler i::after { content: ""; position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--tq); left: var(--p, 0%); transition: left .2s; }
.strip__close { position: absolute; right: var(--gut); bottom: calc(52px + var(--safe-b)); color: var(--tq); padding: 8px 0; }

/* ═════════ ESTUDIO ═════════ */
.about { position: relative; padding: 14vh var(--gut) 12vh; }
.glyph { position: relative; height: clamp(220px, 38vw, 520px); display: grid; place-items: center; perspective: 900px; }
.glyph__g { position: relative; width: 1em; height: 1em; font-size: clamp(170px, 30vw, 440px); transform-style: preserve-3d; will-change: transform; }
.glyph__g span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; line-height: 1; letter-spacing: -.04em; transform: translateZ(calc(var(--z) * -1.3px)); color: #1d2a29; }
.glyph__g span:first-child { color: transparent; background: linear-gradient(115deg, #e9ffff 0%, #7cf3f3 22%, #0f4a4a 44%, #c7ffff 58%, #00b2b2 76%, #062a2a 100%); -webkit-background-clip: text; background-clip: text; background-size: 220% 220%; animation: chrome 7s ease-in-out infinite alternate; }
.glyph__g span:last-child { color: #031414; }
@keyframes chrome { to { background-position: 100% 100%; } }
.glyph__note { position: absolute; top: 18%; color: var(--tq); font-size: 10px; text-align: center; }
.glyph__note--l { left: 18%; } .glyph__note--r { right: 18%; }
.about__grid { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: var(--gut); margin-top: 4vh; align-items: start; }
.about__card { position: sticky; top: 30vh; display: grid; gap: 6px; color: var(--tq); font-size: 10px; }
.about__card b { color: var(--tq); display: inline-block; width: 22px; }
.about__card a { text-decoration: none; }
.about__card a:hover { text-decoration: underline; }
.manifesto { font-weight: 700; font-size: clamp(30px, 5.05vw, 96px); line-height: .92; letter-spacing: -.035em; text-transform: uppercase; color: var(--tq); text-indent: 0; }
.manifesto .serif { position: relative; display: inline-block; font-weight: 220; letter-spacing: -.01em; text-transform: uppercase; font-size: 1.04em; line-height: .8; cursor: crosshair; border-bottom: .045em solid currentColor; padding-bottom: .02em; }
.manifesto .serif sup { font-family: var(--serif); font-size: .5em; font-weight: 300; vertical-align: .55em; margin-left: .04em; }
.manifesto .serif:focus-visible { outline-offset: 6px; }
.about__duo { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gut); margin-top: 16vh; align-items: end; }
.about__notes { display: grid; gap: 22px; color: var(--tq); font-size: 10px; max-width: 26ch; margin-left: auto; margin-right: 8vw; align-self: center; }
.about__notes li { display: grid; grid-template-columns: 22px 1fr; }
.about__sig { padding-left: 22px; display: block !important; }
.about__photo { position: relative; justify-self: end; width: min(100%, 680px); }
.about__desk { width: min(100%, 640px); height: clamp(420px, 42vw, 600px); }
.about__desk .ph--me { position: absolute; z-index: 3; right: 8%; top: 6%; width: 46%; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.desk__card { position: absolute; z-index: 2; width: 46%; background: #fff; padding: 6px 6px 26px; border-radius: 3px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.desk__card img { width: 100%; height: auto; aspect-ratio: 1.41; object-fit: cover; }
.desk__card span { position: absolute; left: 8px; bottom: 7px; font-size: 9px; color: #111; letter-spacing: .06em; }
.desk__card--a { left: 0; top: 0; transform: rotate(-6deg); }
.desk__card--b { left: 4%; bottom: 4%; transform: rotate(4deg); }
.desk__card--c { right: 0; bottom: 0; width: 38%; z-index: 4; transform: rotate(-3deg); }
.ph { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, #262626, #0e0e0e); }
.ph--photo { aspect-ratio: 4 / 5; }
.ph--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.05); transition: transform 1.2s var(--ease); }
.about__photo:hover .ph--photo img { transform: scale(1.04); }
.ph--me { background: #000; }
.ph--me video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--me::after { opacity: .25; }
.ph::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: .5; }
.ph__big { font-family: var(--serif); font-weight: 200; font-size: 40vw; max-font-size: 1em; line-height: 1; color: #2e2e2e; font-size: clamp(160px, 26vw, 420px); }
.ph__tag { position: absolute; top: 12px; left: 12px; color: #ffb020; border: 1px dashed #ffb020; padding: 4px 8px; font-size: 9px; z-index: 2; }
.about__photo figcaption { position: absolute; right: -6px; top: 0; transform: rotate(90deg) translateX(100%); transform-origin: 100% 0; color: var(--tq); font-size: 9px; white-space: nowrap; }
.about__approach { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gut); margin-top: 12vh; align-items: start; }
.about__k { color: var(--tq); font-size: 10px; padding-top: .6em; justify-self: end; margin-right: 8vw; }
.about__big { font-weight: 700; font-size: clamp(24px, 3.1vw, 58px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; color: var(--tq); }

/* Pila de imágenes al pasar por las palabras (HoverStack de la referencia) */
.stack-layer { position: fixed; inset: 0; z-index: 58; pointer-events: none; }
.stk { position: absolute; width: clamp(130px, 15vw, 240px); aspect-ratio: 1; border-radius: 4px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.5); font-family: var(--mono); font-weight: 500; font-size: 10px; text-transform: uppercase; text-align: center; padding: 12px; line-height: 1.3; }
.stk b { display: block; font-family: var(--sans); font-weight: 800; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.04em; line-height: .9; margin-bottom: 6px; color: inherit; }

/* ═════════ EXÁMENES ═════════ */
.tests { padding: 14vh var(--gut); }
.tests__k, .offer__k, .process__k, .graphic__k, .webx__k, .faq__k, .reviews__head > p { color: var(--tq); font-size: 10px; margin-bottom: 22px; }
.tests__title, .process__title, .graphic__title, .webx__title, .faq__title { font-weight: 700; font-size: clamp(32px, 5.05vw, 96px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; color: var(--tq); max-width: 18ch; }
.tests__intro, .graphic__intro { max-width: 60ch; margin-top: 30px; color: var(--fg); font-size: clamp(16px, 1.2vw, 19px); }
.tests__list { margin-top: 8vh; border-top: 1px solid var(--line); }
.test { border-bottom: 1px solid var(--line); }
.test summary { list-style: none; display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 18px; padding: 22px 0; cursor: pointer; }
.test summary::-webkit-details-marker { display: none; }
.test__n { color: var(--mute); font-size: 11px; }
.test__name { font-weight: 700; font-size: clamp(26px, 3.6vw, 64px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; color: var(--tq); transition: transform .5s var(--ease), color .3s; }
@media (hover: hover) { .test summary:hover .test__name { transform: translateX(14px); color: #fff; } }
.test__tag { color: var(--tq); font-size: 10px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; }
.test[open] .test__tag { background: var(--tq); color: var(--ink); }
.test__body { display: grid; grid-template-columns: 70px minmax(0, 46ch) 1fr; gap: 18px; padding: 0 0 34px; align-items: center; }
.test__body > p:first-child { grid-column: 2; }
.demo { grid-column: 3; display: flex; align-items: flex-end; gap: 26px; justify-content: center; color: var(--tq); min-height: 120px; }
.demo .dm { width: 96px; height: 96px; }
.demo--mono .dm:first-child { color: var(--tq); } .demo--mono .dm:last-child { color: #fff; filter: grayscale(1); animation: stamp 2.4s var(--ease) infinite; }
@keyframes stamp { 0%, 60% { transform: scale(1) rotate(0); opacity: 1; } 30% { transform: scale(.88) rotate(-6deg); } }
.demo--sizes .dm:nth-child(1) { width: 96px; height: 96px; } .demo--sizes .dm:nth-child(2) { width: 48px; height: 48px; } .demo--sizes .dm:nth-child(3) { width: 24px; height: 24px; } .demo--sizes .dm:nth-child(4) { width: 16px; height: 16px; }
.demo--far { perspective: 600px; } .demo--far .dm { animation: far 4s ease-in-out infinite alternate; }
@keyframes far { from { transform: translateZ(0); } to { transform: translateZ(-900px); } }
.demo--flash .dm { animation: flash 2s steps(1) infinite; }
@keyframes flash { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.demo__cap { grid-column: 3; text-align: center; color: var(--mute); font-size: 9px; margin-top: -10px; }
.tests__punch { margin-top: 10vh; font-family: var(--serif); font-weight: 250; font-size: clamp(28px, 4.2vw, 80px); line-height: 1; letter-spacing: -.02em; color: var(--fg); max-width: 22ch; margin-left: auto; text-align: right; }

/* Acordeones animados */
details > div { overflow: hidden; }

/* ═════════ OFERTA ═════════ */
.offer { padding: 14vh var(--gut); background: var(--ink-2); position: relative; }
.offer__head { display: grid; grid-template-columns: 1fr; justify-items: start; }
.offer__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .2em; line-height: .8; }
.offer__price { font-size: clamp(120px, 24vw, 460px); color: var(--tq); font-weight: 200; letter-spacing: -.06em; line-height: .78; }
.offer__once { font-weight: 800; font-size: clamp(36px, 6vw, 120px); letter-spacing: -.05em; text-transform: uppercase; color: var(--tq); }
.offer__sub { margin-top: 26px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 26px); line-height: 1.25; }
.deliv { margin-top: 9vh; border-top: 1px solid var(--line); counter-reset: d; }
.deliv__row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.deliv__row:hover { background: rgba(0, 229, 229, .04); }
.deliv__n { color: var(--mute); font-size: 11px; }
.deliv__row h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 46px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--tq); }
.deliv__row h3 strong { color: inherit; }
.deliv__row p { margin-top: 8px; max-width: 64ch; color: var(--fg); font-size: 15px; }
.deliv__ico svg { width: 46px; height: 46px; fill: none; stroke: var(--tq); stroke-width: 1.6; margin-left: auto; transition: transform .6s var(--ease); }
.deliv__row:hover .deliv__ico svg { transform: rotate(-12deg) scale(1.1); }
.offer__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ═════════ PROCESO ═════════ */
.process { padding: 14vh var(--gut); }
.steps { margin-top: 8vh; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gut); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; top: 7px; height: 1px; width: 100%; background: var(--tq); transform-origin: 0 50%; transform: scaleX(var(--steps, 0)); }
.step { position: relative; padding-top: 32px; }
.step::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--tq); transition: background .4s; }
.step.is-on::before { background: var(--tq); }
.step__n { color: var(--mute); font-size: 10px; }
.step h3 { margin-top: 8px; font-weight: 700; font-size: clamp(20px, 1.8vw, 32px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--tq); }
.step p { margin-top: 10px; font-size: 15px; color: var(--fg); }
.meet { margin-top: 12vh; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: var(--gut); align-items: stretch; }
.meet__card { padding: 26px; border: 1px solid var(--line); border-radius: 6px; display: grid; align-content: start; gap: 10px; }
.meet__k { color: var(--tq); font-size: 10px; }
.meet__card h3 { font-weight: 700; font-size: clamp(24px, 2.2vw, 40px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--tq); }
.meet__card p { font-size: 15px; }
.call { height: 100%; min-height: 240px; border-radius: 8px; background: #141414; border: 1px solid rgba(255,255,255,.08); display: grid; grid-template-rows: auto 1fr; overflow: hidden; position: relative; }
.call__win { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.call__dot { width: 8px; height: 8px; border-radius: 50%; background: #333; }
.call__screen { position: relative; display: grid; place-items: center; background: linear-gradient(140deg, #0f1d1d, #0b0b0b); }
.call__mark .dm { width: 90px; height: 90px; color: var(--tq); animation: callmark 6s var(--ease) infinite; }
.call__slides { position: absolute; inset: 14px 14px 14px 14px; border-radius: 4px; overflow: hidden; background: #fff; }
.call__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 3.6s ease-out; }
.call__slides img.is-on { opacity: 1; transform: scale(1); }
.call__share { position: absolute; left: 22px; top: 22px; z-index: 2; font-size: 9px; color: #fff; background: rgba(0,0,0,.65); padding: 4px 8px; border-radius: 3px; }
.call__share::first-letter { color: #ff4d4d; }
.call__cursor { z-index: 3; }
@keyframes callmark { 0%, 20% { transform: scale(.6) rotate(-20deg); opacity: .3; } 40%, 80% { transform: none; opacity: 1; } 100% { transform: scale(.6); opacity: .3; } }
.call__cursor { position: absolute; width: 14px; height: 14px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(-12deg); animation: cursor 6s ease-in-out infinite; left: 30%; top: 70%; }
@keyframes cursor { 0% { left: 30%; top: 70%; } 40% { left: 58%; top: 52%; } 60% { left: 56%; top: 48%; } 100% { left: 30%; top: 70%; } }
.call__faces { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.call__faces { z-index: 3; }
.call__faces i { position: relative; width: 84px; height: 62px; border-radius: 5px; overflow: hidden; background: linear-gradient(160deg, #2c3a3a, #151a1a); border: 1px solid rgba(0,229,229,.45); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.call__faces img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.call__faces b { position: absolute; left: 4px; bottom: 3px; font-size: 8px; color: #fff; text-shadow: 0 1px 2px #000; }
.call__you b { position: static; font-size: 14px; color: var(--tq); }
.call__me::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--tq); border-radius: 5px; animation: speak 1.6s ease-in-out infinite; }
@keyframes speak { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* ═════════ RESEÑAS ═════════ */
.reviews { padding: 14vh var(--gut); background: var(--ink-2); }
.reviews__head { display: grid; justify-items: start; }
.reviews__score a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; text-decoration: none; }
.reviews__score .i--g { width: clamp(34px, 4vw, 64px); height: auto; }
.reviews__score .serif { font-size: clamp(90px, 14vw, 260px); line-height: .8; color: var(--tq); font-weight: 200; }
.stars { color: #fbbc05; font-size: clamp(22px, 2.6vw, 44px); letter-spacing: .06em; }
.reviews__n { color: var(--tq); font-size: 11px; flex-basis: 100%; }
.reviews__list { margin: 8vh 0 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rev { padding: 30px var(--gut) 30px 0; border-bottom: 1px solid var(--line); display: grid; align-content: space-between; gap: 20px; }
.rev:nth-child(odd) { border-right: 1px solid var(--line); }
.rev:nth-child(even) { padding-left: var(--gut); }
.rev blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.9vw, 32px); line-height: 1.15; letter-spacing: -.01em; color: var(--fg); }
.rev blockquote p::before { content: "«"; color: var(--tq); } .rev blockquote p::after { content: "»"; color: var(--tq); }
.rev__who { color: var(--tq); font-size: 10px; }

/* ═════════ GRÁFICO ═════════ */
.graphic { padding: 14vh var(--gut); }
.gcols { margin: 8vh 0 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gut); border-top: 1px solid var(--line); padding-top: 24px; }
.gcol__k { color: var(--tq); font-size: 10px; margin-bottom: 14px; min-height: 2.7em; }
.gcol ul { display: grid; gap: 4px; color: var(--fg); font-size: 10px; }
.gcol li { transition: color .3s, transform .4s var(--ease); }
.gcol li:hover { color: var(--tq); transform: translateX(6px); }
.brands { margin-top: 12vh; }
.brands__k { color: var(--tq); font-size: 10px; margin-bottom: 26px; }
.brands__k span { color: var(--mute); display: block; margin-top: 4px; }
.brands__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; align-items: center; gap: 70px; width: max-content; animation: marquee 48s linear infinite; }
.brands__clone { display: contents; }
.brands__track img { height: 34px; width: auto; opacity: .75; transition: opacity .3s; }
.brands__track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═════════ WEB + LOGOTIPO (ICARI) ═════════ */
.webx { padding: 14vh var(--gut); background: var(--tq); color: var(--ink); display: grid; grid-template-columns: 1.15fr 1fr; gap: 5vw; align-items: start; overflow: hidden; }
.webx strong { color: var(--ink); }
.webx__k { color: var(--ink) !important; }
.webx__big { display: flex; flex-direction: column; font-weight: 800; font-size: clamp(64px, 12.5vw, 250px); line-height: .8; letter-spacing: -.06em; text-transform: uppercase; color: var(--ink); }
.webx__plus { display: inline-block; align-self: flex-start; font-weight: 800; font-size: .62em; line-height: .9; margin: .04em 0 .02em; padding: 0 .14em; background: var(--ink); color: var(--tq); border-radius: .08em; }
.webx__lead { margin-top: 30px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 26px); line-height: 1.25; font-weight: 500; }
.icari { position: relative; background: var(--ink); color: var(--fg); border-radius: 14px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); display: grid; gap: 18px; min-width: 0; }
.icari strong { color: #fff; }
.icari__badge { display: inline-block; background: var(--tq); color: var(--ink); padding: 5px 10px; border-radius: 999px; font-size: 11px; justify-self: start; }
.icari__head { display: grid; gap: 8px; }
.icari__name { font-weight: 800; font-size: clamp(34px, 3.6vw, 60px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; color: var(--tq); }
.icari__what { color: var(--fg); font-size: 15px; }
.icari__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; color: var(--tq); }
.icari__price b { font-size: clamp(70px, 8.6vw, 156px); line-height: .82; letter-spacing: -.05em; font-weight: 220; color: var(--tq); }
.icari__price span { font-family: var(--mono); font-weight: 500; font-size: 14px; text-transform: uppercase; }
.icari__terms { font-size: 14px; color: var(--fg); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.icari__list { display: grid; gap: 10px; }
.icari__list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; font-size: 15px; }
.icari__ico { color: var(--tq); padding-top: 2px; }
.icari__more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.icari__more summary { list-style: none; display: grid; grid-template-columns: 1fr 24px; align-items: center; padding: 14px 0; cursor: pointer; }
.icari__more summary::-webkit-details-marker { display: none; }
.icari__more[open] .qa__x::after { transform: rotate(0); }
.icari__sum { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--tq); }
.icari__more-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 4px 0 20px; }
.icari__more-in h4 { color: var(--tq); font-size: 10px; margin: 0 0 8px; }
.icari__more-in ul { display: grid; gap: 4px; font-size: 13px; }
.icari__more-in li::before { content: "✓ "; color: var(--tq); }
.icari__more-in .is-no li::before { content: "× "; color: var(--mute); }
.icari__fine { grid-column: 1 / -1; font-size: 12px; color: var(--mute); }
.icari__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ink { background: var(--tq); color: var(--ink); }
.btn--ink::before { background: #fff; }
.btn--inkline { box-shadow: inset 0 0 0 1px var(--tq); color: var(--tq); }
.btn--inkline::before { background: var(--tq); }
.btn--inkline:hover { color: var(--ink); }
.icari__vs { color: var(--mute); font-size: 10px; }
.icari__vs a { color: var(--tq); }
@media (max-width: 860px) { .webx { grid-template-columns: 1fr; } .icari__more-in { grid-template-columns: 1fr; } .icari__cta .btn { flex: 1 1 100%; justify-content: center; } }

/* ═════════ DUDAS ═════════ */
.faq { padding: 14vh var(--gut); }
.faq__list { margin-top: 8vh; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: grid; grid-template-columns: 70px 1fr 34px; gap: 18px; align-items: center; padding: 22px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__n { color: var(--mute); font-size: 11px; }
.qa__q { font-weight: 700; font-size: clamp(19px, 1.9vw, 34px); line-height: 1.05; letter-spacing: -.025em; color: var(--tq); }
.qa__x { position: relative; width: 22px; height: 22px; justify-self: end; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--tq); transition: transform .45s var(--ease); }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa__a p { padding: 0 52px 28px 88px; max-width: 80ch; font-size: 16px; }
.qa__a a { color: var(--tq); }

/* ═════════ CONTACTO (bucle) ═════════ */
.connect { position: relative; padding: 10vh 0 8vh; overflow: hidden; }
.connect__loop { height: clamp(380px, 70vh, 760px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.connect__track { animation: loopUp 22s linear infinite; will-change: transform; }
.connect__loop:hover .connect__track, .connect__loop:focus-within .connect__track { animation-play-state: paused; }
@keyframes loopUp { to { transform: translateY(-75%); } }
.connect__set { display: grid; justify-items: center; padding: 2.2vw 0; text-align: center; }
.connect__tel { font-size: clamp(42px, 9vw, 176px); line-height: 1; color: var(--tq); text-decoration: none; border-bottom: 2px solid var(--tq); padding: 0 .1em .02em; font-weight: 220; letter-spacing: -.03em; white-space: nowrap; }
.connect__mid { display: flex; justify-content: space-between; width: 100%; padding: 10px var(--gut); color: var(--tq); font-size: 10px; }
.connect__mail { font-weight: 700; font-size: clamp(20px, 6.3vw, 150px); line-height: .9; letter-spacing: -.05em; color: var(--tq); text-decoration: none; border-bottom: 2px solid var(--tq); padding-bottom: .04em; white-space: nowrap; }
a.connect__tel:hover, a.connect__mail:hover { color: #fff; border-color: #fff; }
.connect__foot { display: grid; justify-items: center; gap: 18px; margin-top: 30px; padding: 0 var(--gut); text-align: center; color: var(--tq); }
.globe { position: relative; width: 52px; height: 32px; border: 1.5px solid var(--tq); border-radius: 50%; }
.globe i { position: absolute; top: -1.5px; bottom: -1.5px; left: 50%; width: 0; border: 1.5px solid var(--tq); border-radius: 50%; transform: translateX(-50%); animation: spinGlobe 4s linear infinite; }
.globe i:nth-child(2) { animation-delay: -1s; } .globe i:nth-child(3) { animation-delay: -2s; } .globe i:nth-child(4) { animation-delay: -3s; }
.globe b { position: absolute; left: 6%; right: 6%; top: 33%; border-top: 1.5px solid var(--tq); } .globe b + b { top: 66%; }
@keyframes spinGlobe { 0% { width: 0; } 50% { width: 100%; } 100% { width: 0; } }

/* ═════════ PIE ═════════ */
.foot { padding: 10vh var(--gut) calc(60px + var(--safe-b)); border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); color: var(--tq); font-size: 10px; }
.foot__grid p { margin-bottom: 4px; }
.foot__grid a { text-decoration: none; }
.foot__grid a:hover { text-decoration: underline; }
.foot__k { color: var(--mute); margin-bottom: 12px !important; }
.foot__folds { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); margin-top: 7vh; color: var(--tq); font-size: 11px; }
.fold { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 16px 0; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary sup { color: var(--mute); }
.fold summary i { position: relative; margin-left: auto; width: 14px; height: 14px; }
.fold summary i::before, .fold summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.fold summary i::after { transform: rotate(90deg); }
.fold[open] summary i::after { transform: rotate(0deg); }
.fold summary:hover { color: #fff; }
.fold__in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding: 4px 0 20px; overflow: hidden; }
.fold__in a { text-decoration: none; color: var(--fg); text-transform: uppercase; font-size: 10.5px; }
.fold__in a:hover { color: var(--tq); text-decoration: underline; }
/* Cinta infinita de proceso */
.loopx { position: relative; overflow: hidden; padding: 6vh 0; display: grid; gap: clamp(10px, 1.4vw, 18px); background: var(--ink); }
.loopx__row { overflow: hidden; }
.loopx__run { display: flex; gap: clamp(10px, 1.4vw, 18px); width: max-content; animation: loopL 60s linear infinite; }
.loopx__row--1 .loopx__run { animation-name: loopR; animation-duration: 70s; }
.loopx__run img { height: clamp(150px, 18vw, 260px); width: auto; border-radius: 6px; flex: none; }
@keyframes loopL { to { transform: translateX(-50%); } }
@keyframes loopR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.loopx:hover .loopx__run { animation-play-state: paused; }
.foot__giant { margin-top: 8vh; font-weight: 800; font-size: 25.5vw; line-height: .75; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(0, 229, 229, .45); text-align: center; user-select: none; }
.foot__end { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; color: var(--mute); font-size: 9px; }

/* ═════════ FLOTANTES ═════════ */
.fab { position: fixed; right: var(--gut); bottom: calc(56px + var(--safe-b)); z-index: 59; display: grid; gap: 10px; transition: transform .6s var(--ease), opacity .4s; }
.fab.is-away { transform: translateX(130%); }
.fab.is-hidden { transform: translateX(150%); opacity: 0; pointer-events: none; }
.fab__b { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--tq); box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), background .3s; }
.fab__b .i { width: 22px; height: 22px; }
.fab__b--wa { background: var(--tq); color: var(--ink); }
.fab__b:hover { transform: scale(1.08); }

/* ═════════ DIÁLOGOS ═════════ */
dialog { padding: 0; border: 0; color: var(--fg); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5, 5, 5, .78); backdrop-filter: blur(6px); }
.case { width: min(1100px, calc(100vw - 2 * var(--gut))); max-height: calc(100svh - 40px); }
.case__in { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 4vw, 56px); overflow: auto; max-height: calc(100svh - 40px); }
.case__x { position: absolute; right: 18px; top: 16px; color: var(--tq); padding: 8px; }
.case__k { color: var(--tq); font-size: 10px; }
.case__title { margin-top: 10px; font-weight: 700; font-size: clamp(40px, 7vw, 120px); line-height: .85; letter-spacing: -.05em; color: var(--tq); text-transform: uppercase; }
.case__hero { position: relative; margin-top: 22px; aspect-ratio: 16 / 8; border-radius: 8px; overflow: hidden; background: var(--acc); }
.case__hero .wk__poster { place-items: center; padding: 0; }
.case__hero .wk__poster img { max-height: 80%; max-width: 70%; }
.case__grid { margin: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.case__grid .tl { opacity: 1; transform: none; aspect-ratio: 1.2; grid-column: auto !important; grid-row: auto !important; }
.case__text { max-width: 64ch; margin-bottom: 24px; }
.exit { width: min(560px, calc(100vw - 32px)); }
.exit__in { position: relative; background: var(--tq); color: var(--ink); border-radius: 10px; padding: 40px 34px 34px; overflow: hidden; }
.exit__in strong { color: var(--ink); }
.exit__x { position: absolute; right: 12px; top: 8px; font-size: 26px; padding: 6px 10px; color: var(--ink); }
.exit__mark { position: absolute; right: -30px; bottom: -40px; opacity: .14; }
.exit__mark .dm { width: 260px; height: 260px; color: var(--ink); animation: spinMark 18s linear infinite; }
@keyframes spinMark { to { transform: rotate(360deg); } }
.exit__k { font-size: 10px; }
.exit__title { margin: 12px 0 14px; font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.exit p:not(.mono) { margin-bottom: 22px; max-width: 40ch; position: relative; }
.exit .btn--tq { background: var(--ink); color: var(--tq); position: relative; }
.exit .btn--tq::before { background: #fff; }
.exit .btn--tq:hover { color: var(--ink); }
.exit[open] .exit__in { animation: exitIn .7s var(--ease); }
@keyframes exitIn { from { transform: translateY(30px) scale(.96); opacity: 0; } }

/* Ventanas legales (textos oficiales) */
.legal { width: min(860px, calc(100vw - 24px)); height: min(86svh, 900px); }
.legal[open] { display: flex; flex-direction: column; background: #f4f2ee; color: #1b1b1b; border-radius: 10px; overflow: hidden; }
.legal__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--ink); color: var(--tq); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.legal__bar .x { font-family: var(--mono); font-size: 11px; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--tq); border-radius: 999px; color: var(--tq); }
.legal__body { flex: 1; overflow: auto; padding: 26px clamp(18px, 4vw, 48px) 40px; font-size: 15px; line-height: 1.6; overscroll-behavior: contain; }
.legal__body:focus { outline: none; }
.legal__body h2 { font-size: 30px; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 8px; }
.legal__body h3 { font-size: 16px; margin: 26px 0 8px; }
.legal__body p, .legal__body ul { margin-bottom: 10px; }
.legal__body ul { list-style: disc; padding-left: 20px; }
.legal__body strong { color: #000; }
.legal__body a { color: #007a7a; }
.legal__date { font-family: var(--mono); font-size: 11px; color: #666; }
.legal__official { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }

/* Banner de cookies (consent.js) */
.cc { position: fixed; left: var(--gut); bottom: calc(52px + var(--safe-b)); z-index: 90; width: min(420px, calc(100vw - 2 * var(--gut))); background: #161616; border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 16px; box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: exitIn .7s var(--ease); }
.cc__x { position: absolute; right: 8px; top: 6px; font-size: 22px; padding: 4px 10px; color: var(--mute); }
.cc__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tq); text-transform: uppercase; letter-spacing: -.01em; font-size: 17px; }
.cc__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--tq); stroke-width: 1.6; }
.cc__icon circle { fill: var(--tq); stroke: none; }
.cc__text { margin: 8px 0 14px; font-size: 14px; line-height: 1.45; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc__btn { flex: 1 1 auto; min-height: 42px; padding: 0 14px; border-radius: 999px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; }
.cc__btn--solid { background: var(--tq); color: var(--ink); }
.cc__btn--ghost, .cc__btn--line { box-shadow: inset 0 0 0 1px var(--tq); color: var(--tq); }
.cc__btn:hover { filter: brightness(1.15); }
.cc__links { display: flex; gap: 16px; margin-top: 12px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.cc__link { color: var(--mute); }
.cc-prefs { width: min(560px, calc(100vw - 24px)); }
.cc-prefs__inner { position: relative; background: #161616; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.cc-prefs__title { font-weight: 700; color: var(--tq); font-size: 24px; letter-spacing: -.02em; text-transform: uppercase; }
.cc-cats { margin: 10px 0 18px; display: grid; gap: 10px; }
.cc-cat { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.cc-cat h3 { font-size: 15px; color: #fff; }
.cc-cat p { font-size: 13px; color: var(--mute); }
.cc-pill { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--tq); white-space: nowrap; }
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: #333; transition: background .3s; }
.cc-switch span { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.cc-switch[aria-checked="true"] { background: var(--tq); }
.cc-switch[aria-checked="true"] span { transform: translateX(20px); }
.cc-fab { position: fixed; left: var(--gut); bottom: calc(52px + var(--safe-b)); transition: opacity .4s; z-index: 58; width: 38px; height: 38px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.cc-fab svg { width: 18px; height: 18px; fill: none; stroke: var(--tq); stroke-width: 1.6; }
.cc-fab circle { fill: var(--tq); stroke: none; }
.cc-fab[hidden], .cc[hidden] { display: none; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1100px) {
  .pills .pill:not(.pill--cta) { min-width: 0; }
  .gcols { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .meet { grid-template-columns: 1fr 1fr; }
  .meet__call { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .pills { display: none; }
  .burger { display: block; }
  .ui--top { height: 56px; }
  .ui__clock { display: none; }
  .ui--bot { height: 40px; }
  .stepper { font-size: 14px; }
  .hero__foot { grid-template-columns: 1fr; bottom: calc(60px + var(--safe-b)); gap: 14px; }
  .hw { grid-template-columns: repeat(3, 1fr); transform: rotateX(28deg) rotateZ(-10deg) scale(1.15); }
  .hw__col:nth-child(4) { display: none; }
  .hero__seal { top: 64px; right: 12px; width: 84px; }
  .hero__cta { justify-content: flex-start; }
  .hero__h1 { font-size: clamp(46px, 14.6vw, 120px); }
  .hero__meta { font-size: 9.5px; gap: 8px; }
  .hero__knock { font-size: clamp(20px, 6.4vw, 40px); }
  .hero__panel { justify-content: flex-start; padding-top: 19svh; }
  .wt__name { font-size: clamp(44px, 14.4vw, 120px); }
  .wk__poster img { max-width: 76vw; max-height: 26svh; }
  .wk__poster { padding-top: 84px; }
  .tl__k { font-size: 7px; left: 6px; bottom: 5px; }
  .sc { width: 62vw; }
  .strip__label { top: calc(50% + 25vw); gap: 10vw; font-size: 10px; }
  .about__grid, .about__duo, .about__approach { grid-template-columns: 1fr; }
  .about__card { position: static; order: 2; margin-top: 30px; }
  .about__notes { margin: 0 0 30px; }
  .about__k { justify-self: start; margin: 0; }
  .about__photo figcaption { position: static; transform: none; margin-top: 10px; white-space: normal; }
  .glyph__note--l { left: 2%; } .glyph__note--r { right: 2%; }
  .test summary { grid-template-columns: 34px 1fr; }
  .test__tag { grid-column: 2; justify-self: start; }
  .test__body { grid-template-columns: 1fr; padding-left: 52px; }
  .test__body > p:first-child, .demo, .demo__cap { grid-column: 1; }
  .demo { justify-content: flex-start; }
  .demo__cap { text-align: left; }
  .tests__punch { text-align: left; margin-left: 0; }
  .deliv__row { grid-template-columns: 34px minmax(0, 1fr); }
  .deliv__ico { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 30px 30px; border-left: 1px solid var(--line); margin-left: 5px; }
  .step::before { left: -6px; top: 0; }
  .meet { grid-template-columns: 1fr; }
  .reviews__list { grid-template-columns: 1fr; }
  .rev, .rev:nth-child(even) { padding: 26px 0; border-right: 0 !important; }
  .gcols { grid-template-columns: repeat(2, 1fr); }
  .webx { grid-template-columns: 1fr; }
  .bw { max-width: 420px; }
  .qa summary { grid-template-columns: 34px 1fr 24px; }
  .qa__a p { padding: 0 0 24px 52px; }
  .foot__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .connect__mid { font-size: 9px; }
  .fab { bottom: calc(52px + var(--safe-b)); }
  .fab__b { width: 46px; height: 46px; }
  .case__grid { grid-template-columns: repeat(2, 1fr); }
  .work__hint { display: none; }
  .strip__close { bottom: auto; top: 64px; }
}
/* Móvil y tablet en vertical: muro de piezas verticales y ninguna foto recortada */
.tl--mob { display: none; }
.tl__bg { display: none; position: absolute; inset: -24px; background-position: center; background-size: cover; filter: blur(16px) brightness(.8); z-index: 0; pointer-events: none; }
@media (max-width: 860px), (max-width: 1100px) and (orientation: portrait) {
  .wk__wall { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1.8fr 1fr 1fr 1.8fr; padding: 9svh 3vw 8svh; gap: 2vw; }
  .tl--mob { display: grid; }
  .wk__wall--8 .tl:nth-child(1) { grid-column: 1; grid-row: 1; }
  .wk__wall--8 .tl:nth-child(2) { grid-column: 2; grid-row: 1; }
  .wk__wall--8 .tl:nth-child(3) { grid-column: 3; grid-row: 1; }
  .wk__wall--8 .tl:nth-child(4) { grid-column: 1; grid-row: 2; }
  .wk__wall--8 .tl:nth-child(5) { grid-column: 1; grid-row: 3; }
  .wk__wall--8 .tl:nth-child(6) { grid-column: 1; grid-row: 4; }
  .wk__wall--8 .tl:nth-child(7) { grid-column: 2; grid-row: 4; }
  .wk__wall--8 .tl:nth-child(8) { grid-column: 3; grid-row: 4; }
  .wk__wall--8 .tl:nth-child(9) { grid-column: 3; grid-row: 2 / 4; }
  .tl--pal .tl__in { flex-direction: column; }
  .wk__wall .tl__k { font-size: 8px; z-index: 2; }
  /* la foto entera (contain) sobre un fondo desenfocado de sí misma */
  .tl--cover > img, .tl--zoom > img, .tl--mono > img { object-fit: contain; transform: none; filter: none; mix-blend-mode: normal; padding: 0; z-index: 1; }
  .tl__bg { display: block; }
  .call__slides::before { content: ""; position: absolute; inset: -24px; background: var(--bgi) center / cover no-repeat; filter: blur(16px) brightness(.8); z-index: 0; }
  .sc img, .call__slides img { object-fit: contain; z-index: 1; }
  .sc--logo img { padding: 10%; }
  .desk__card img { aspect-ratio: auto; height: auto; }
}
@media (max-width: 1100px) {
  .about__desk { height: clamp(420px, 70vw, 620px); justify-self: center; }
  .foot__folds { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fold__in { grid-template-columns: 1fr; }
  .about__desk { width: 100%; height: 118vw; }
  .about__desk .ph--me { width: 58%; right: 2%; }
  .desk__card { width: 56%; }
  .desk__card--c { width: 46%; }
  .loopx__run img { height: 34vw; }
}
@media (max-width: 420px) {
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .offer__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* Movimiento reducido: sin pins ni bucles; todo legible y estático */
html.reduced *, html.reduced *::before, html.reduced *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.reduced .work__stage { height: auto; overflow: visible; }
html.reduced .wk { position: relative; height: 80svh; clip-path: none; }
html.reduced .work__titles { display: none; }
html.reduced .connect__track { transform: none; }
html.reduced .brands__track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 26px; }
html.reduced .brands__clone { display: none; }
html.reduced .work__list, html.no-js .work__list { position: relative; width: auto; height: auto; clip: auto; clip-path: none; padding: 30px var(--gut); display: grid; gap: 10px; }
html.reduced .work__list button, html.no-js .work__list button { font-weight: 700; font-size: 24px; color: var(--tq); text-align: left; }
html.no-js .wk { position: relative; height: 80svh; clip-path: none; }
html.no-js .work__stage { height: auto; }
html.no-js .work__titles { display: none; }

body.in-hero .cc-fab, body.in-hero .fab { opacity: 0; pointer-events: none; }
