/* =========================================================
   Con éthika S.A.S · Landing
   Tokens: una sola paleta (off-black + ámbar de acento + violeta atmosférico)
   Radios: botones pill · tarjetas 20px · slots 14px
   ========================================================= */
:root {
  --bg: #0A090D;
  --bg-2: #0C0B10;
  --surface: #15131B;
  --surface-2: #1B1822;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F3F0EA;
  --muted: #A19DAA;
  --dim: #6F6B78;
  --amber: #F8B73C;
  --amber-2: #FFD27A;
  --amber-ink: #1D1405;
  --violet: #4A14B8;
  --violet-2: #3A0D96;
  --r-card: 20px;
  --r-slot: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --spec: linear-gradient(180deg, #ff4b4b 0%, #ffa51f 18%, #ffe45c 34%, #3ddc84 50%, #2ec5ff 66%, #5b5cff 82%, #b44dff 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

/* grano fijo, fuera del flujo de scroll */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: 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)'/%3E%3C/svg%3E");
}

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 18ch;
}
.h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; color: var(--muted); }
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.mini-label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.mini-label.amber { color: var(--amber); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font-size: .86rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .3s;
  isolation: isolate; overflow: hidden;
}
.btn i { font-size: 1.15rem; }
.btn:active { transform: scale(.97); }
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 10px 40px -12px rgba(248, 183, 60, .55); }
.btn-amber:hover { box-shadow: 0 16px 50px -10px rgba(248, 183, 60, .7); }
.btn-purple { background: var(--violet-2); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 50px -14px rgba(74, 20, 184, .9); }
.btn-purple:hover { background: var(--violet); }
/* destello espectral que recorre el botón al pasar el mouse */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120px circle at var(--hx, 50%) var(--hy, 50%), rgba(255,255,255,.35), transparent 60%);
  transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center;
}
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader-dial { width: 96px; height: 96px; }
.ld-ring { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.ld-prog { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); stroke-linecap: round; }
.loader-count { font-size: .8rem; letter-spacing: .3em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: background .5s, height .5s var(--ease-out), backdrop-filter .5s;
}
.nav.is-scrolled { height: 68px; background: rgba(10, 9, 13, .62); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.logo { position: relative; display: inline-flex; flex-direction: column; line-height: 1; }
.logo-con { font-size: .95rem; font-weight: 400; margin-left: 2px; margin-bottom: -2px; }
.logo-row { display: flex; align-items: baseline; gap: 8px; }
.logo-main { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; }
.logo-sas { font-size: .95rem; font-weight: 400; letter-spacing: .02em; }
.logo-streak {
  --s: 16px;
  position: absolute; left: -96px; top: 64%; width: 210px; height: calc(var(--s) * .2); border-radius: 4px; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 110, 30, .5) 12%, rgba(255, 160, 60, .95) 28%, #fff4dc 38%, rgba(255, 196, 100, .9) 48%, rgba(255, 140, 40, .4) 70%, transparent 100%);
  filter: blur(.5px); transform-origin: 38% 50%;
}
/* halo cálido alrededor de la línea */
.logo-streak::before { content: ""; position: absolute; left: 10%; right: 34%; top: 50%; height: calc(var(--s) * 1.1); transform: translateY(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 170, 70, .6), rgba(255, 120, 40, .18) 45%, transparent 72%); filter: blur(calc(var(--s) * .25)); }
/* punto de luz */
.logo-streak::after { content: ""; position: absolute; left: 38%; top: 50%; width: calc(var(--s) * .75); height: calc(var(--s) * .75); transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 236, 200, .85) 30%, rgba(255, 180, 90, .3) 55%, transparent 72%); }
.nav .logo:hover .logo-streak { filter: blur(.5px) brightness(1.25); }
.logo-img { display: block; width: 236px; height: auto; margin-left: -30px; }
.nav .logo-img { transition: filter 1.2s var(--ease-out); }
.nav .logo.is-lit .logo-img { filter: drop-shadow(0 0 10px rgba(255, 190, 90, .55)) drop-shadow(0 0 28px rgba(255, 150, 60, .35)) brightness(1.08); }
.footer .logo-img { width: 256px; margin-left: -33px; }
.nav-links { display: flex; gap: clamp(20px, 3.4vw, 48px); }
.nav-links a { position: relative; font-size: .95rem; font-weight: 400; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.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); }
.menu {
  position: fixed; inset: 0; z-index: 55; background: rgba(10, 9, 13, .96);
  display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 28px;
  clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease-out);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu a:not(.btn) { font-size: 2rem; font-weight: 600; }
.menu .btn { align-self: flex-start; margin-top: 18px; }

/* ---------- Dock (brújula de navegación) ---------- */
.dock {
  position: fixed; left: var(--pad); bottom: 26px; z-index: 50;
  display: flex; align-items: center; gap: 12px; padding: 7px 18px 7px 7px; border-radius: 999px;
  background: rgba(21, 19, 27, .72); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dock svg { width: 46px; height: 46px; }
.dk-ring { fill: #111015; stroke: var(--line-2); stroke-width: 1.5; }
.dock-text { display: grid; text-align: left; line-height: 1.25; }
.dock-deg { font-size: .66rem; letter-spacing: .16em; color: var(--amber); font-variant-numeric: tabular-nums; }
.dock-label { font-size: .82rem; font-weight: 500; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 620px; overflow: hidden; background: var(--bg); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 92% 0%, rgba(92, 24, 214, .75), transparent 70%),
    radial-gradient(40% 40% at 70% 10%, rgba(74, 20, 184, .45), transparent 70%),
    radial-gradient(55% 45% at 0% 105%, rgba(140, 106, 48, .55), transparent 70%),
    radial-gradient(60% 40% at 80% 110%, rgba(150, 118, 58, .45), transparent 70%),
    #0B0A0E;
}
#wire { position: absolute; inset: 0; width: 100%; height: 100%; }
.cursor-light {
  position: absolute; left: 0; top: 0; width: 700px; height: 700px; margin: -350px 0 0 -350px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 220, 160, .09), transparent 60%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .6s;
}
.compass-anchor { position: absolute; left: 50%; top: 53.5%; width: 0; height: 0; z-index: 2; }
.compass-scale {
  position: absolute; left: 0; top: 0;
  width: min(64vh, 86vw); aspect-ratio: 1;
}
.compass-tilt { width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
#compass { width: 100%; height: 100%; overflow: visible; }
#compass text { font-family: "Poppins", sans-serif; }

.beam { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; z-index: 3; will-change: transform, opacity; }
.beam-blur { position: absolute; left: 0; top: -40vmin; width: 150vmax; height: 80vmin; filter: blur(10px); mix-blend-mode: screen; opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.6) 0%, #000 12%, rgba(0,0,0,.85) 40%, rgba(0,0,0,.3) 70%, transparent 95%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.6) 0%, #000 12%, rgba(0,0,0,.85) 40%, rgba(0,0,0,.3) 70%, transparent 95%);
}
/* abanico espectral: cada distancia contiene el espectro completo, como un prisma */
.beam-shape { width: 100%; height: 100%; transform-origin: 0 50%;
  background: conic-gradient(from 84deg at -9% 50%, transparent 0deg, rgba(255,75,75,.95) .8deg, #ffa51f 2.4deg, #ffe45c 4deg, #3ddc84 5.8deg, #2ec5ff 7.6deg, #5b5cff 9.4deg, rgba(180,77,255,.9) 11deg, transparent 12deg, transparent 360deg); }
.beam-core {
  position: absolute; left: 0; top: -2px; width: 70vmax; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.2) 40%, transparent 80%);
  filter: blur(3px); mix-blend-mode: screen; opacity: .55;
}
.flare { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; z-index: 4;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255, 244, 214, .55) 9%, rgba(255, 230, 190, .12) 30%, transparent 62%);
}
.flare i { position: absolute; left: 50%; top: 50%; width: 170%; height: 2px; margin-left: -85%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); filter: blur(1px); }
.flare i:last-child { transform: rotate(90deg); width: 90%; margin-left: -45%; opacity: .5; }
.readout {
  position: absolute; left: 0; top: calc(min(32vh, 43vw) + 18px); transform: translateX(-50%);
  display: flex; gap: 10px; font-size: .72rem; letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.readout span:last-child { color: var(--amber); }

.hero-content { position: absolute; left: var(--pad); bottom: clamp(56px, 14vh, 130px); z-index: 5; }
.hero-title { font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 300; }
.hero-title b { font-weight: 700; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; will-change: transform; }
.hero-social { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 30px; z-index: 5; }
.hero-social a { display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.7rem; color: rgba(255,255,255,.62); transition: color .3s, transform .4s var(--ease-out); }
.hero-social a:hover { color: var(--amber); transform: scale(1.12); }
.hero-cta { position: absolute; right: var(--pad); bottom: clamp(56px, 14vh, 130px); z-index: 5; height: 68px; padding: 0 30px; font-size: .92rem; text-transform: uppercase; }
.iris { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 8; overflow: visible; }

/* =========================================================
   S1 · Primer servicio (barrido de luz)
   ========================================================= */
.s1 { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--bg-2); display: flex; align-items: center; overflow: hidden; }
.s1-rose { position: absolute; right: -22vmin; top: 50%; width: 110vmin; aspect-ratio: 1; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.s1-rose svg { width: 100%; height: 100%; }
.s1-grid { position: relative; display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 90px; padding-bottom: 90px; }
.s1-copy .h2 { margin-bottom: 30px; }
.s1-visual { margin: 0; display: grid; place-items: center; }
/* el lote dentro de un dial: las frases quedan fijas como puntos cardinales y gira solo el indicador */
.orbit { --size: min(600px, 42vw, 74vh); --r: calc(var(--size) * .43); position: relative; width: var(--size); aspect-ratio: 1; }
.orbit-dial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-photo { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 10px rgba(255, 255, 255, .02); }
.orbit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.85) brightness(.88); }
.orbit-photo { --wipe: 0%; }
.orbit-photo .ba-after { clip-path: inset(0 calc(100% - var(--wipe)) 0 0); filter: saturate(1) brightness(.95); }
.ba-scan { position: absolute; top: 0; bottom: 0; left: var(--wipe); width: 3px; margin-left: -1.5px; z-index: 2; background: var(--spec);
  box-shadow: 0 0 16px 3px rgba(255, 220, 140, .45), 0 0 40px 8px rgba(120, 80, 255, .25); opacity: 0; transition: opacity .3s; }
.orbit-photo.is-wiping .ba-scan { opacity: 1; }
.ba-tag { position: absolute; left: 50%; bottom: 13%; z-index: 3; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: opacity .5s, transform .5s var(--ease-out); }
.ba-tag-before { background: rgba(10, 9, 13, .72); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.ba-tag-after { background: var(--amber); color: var(--amber-ink); opacity: 0; transform: translateX(-50%) translateY(8px); }
.orbit-photo.is-after .ba-tag-before { opacity: 0; transform: translateX(-50%) translateY(-8px); }
.orbit-photo.is-after .ba-tag-after { opacity: 1; transform: translateX(-50%); }
.orbit-photo::after { z-index: 1; }
.orbit-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, transparent 48%, rgba(10, 9, 13, .6)); }
.orbit-marker { display: none; }
.orbit-pointer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.orbit-pointer::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  background: conic-gradient(from -16deg, var(--amber) 0 32deg, transparent 32deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 8px rgba(248, 183, 60, .7));
}
.orbit-pointer i { position: absolute; left: 50%; top: calc(15% - 16px); width: 0; height: 0; transform: translateX(-50%);
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 14px solid var(--amber); filter: drop-shadow(0 0 10px rgba(248, 183, 60, .7)); }
.orbit-ring { position: absolute; inset: 0; margin: 0; padding: 0; }
.orb { position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a, 0deg) * -1)); }
.orb span { display: inline-block; white-space: nowrap; padding: 12px 20px; border-radius: 999px; font-size: clamp(.85rem, 1vw, 1rem); font-weight: 600;
  color: var(--text); background: rgba(21, 19, 27, .86); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease-out), box-shadow .5s; }
.orb.is-on span { background: var(--amber); color: var(--amber-ink); border-color: transparent; transform: scale(1.06); box-shadow: 0 12px 40px -10px rgba(248, 183, 60, .7); }
.s1-label { position: relative; height: 28px; margin-bottom: 40px; }
.lbl { position: absolute; left: 0; top: 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.lbl-a { color: var(--muted); }
.lbl-b { color: var(--amber); opacity: 0; transform: translateY(12px); }
.shifts { display: grid; }
.shift { position: relative; min-height: clamp(96px, 13vh, 132px); border-bottom: 1px solid var(--line); overflow: hidden; }
.shift:first-child { border-top: 1px solid var(--line); }
.pain, .gain { position: absolute; inset: 0; display: flex; align-items: center; gap: 22px; font-size: clamp(1.2rem, 1.9vw, 1.7rem); line-height: 1.2; letter-spacing: -.01em; padding-right: 12px; }
.pain { color: var(--text); font-weight: 400; clip-path: inset(0 0 0 0%); }
.gain { color: var(--amber); font-weight: 600; clip-path: inset(0 100% 0 0); }
.ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-style: normal; }
.ic-x { border: 1px solid rgba(255, 255, 255, .35); font-size: 1rem; color: var(--text); }
.ic-ok { color: var(--amber); font-size: 2.6rem; }
.scan { position: absolute; top: -10%; bottom: -10%; left: 0; width: 3px; background: var(--spec); box-shadow: 0 0 18px 4px rgba(255, 220, 140, .35), 0 0 60px 10px rgba(120, 80, 255, .25); opacity: 0; }
.s1-cta { opacity: .55; transform: scale(.96); transition: opacity .6s, transform .6s var(--ease-out); }
.s1.is-done .s1-cta { opacity: 1; transform: none; }

/* =========================================================
   S2 · Auditoría (lente)
   ========================================================= */
.s2 { position: relative; padding: clamp(96px, 14vh, 160px) 0; background: var(--bg-2);
  background-image: radial-gradient(50% 50% at 0% 0%, rgba(74, 20, 184, .22), transparent 70%); }
.s2-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.lens-stage {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: #111;
  border: 1px solid var(--line); touch-action: pan-y; cursor: crosshair;
}
.lens-base, .lens-tech img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens-base { filter: grayscale(1) brightness(.42) contrast(1.05); transform: scale(1.04); }
.lens-tech { position: absolute; inset: 0; --lx: 50%; --ly: 50%; --lr: 120px; clip-path: circle(var(--lr) at var(--lx) var(--ly)); }
.lens-tech img { filter: grayscale(1) sepia(.9) saturate(1.7) hue-rotate(-12deg) brightness(.72) contrast(1.35); transform: scale(1.12); transform-origin: var(--lx) var(--ly); }
.lens-grid { position: absolute; inset: 0; mix-blend-mode: screen;
  background-image: linear-gradient(rgba(255, 210, 122, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 210, 122, .16) 1px, transparent 1px);
  background-size: 28px 28px; }
.lens-hots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hot { opacity: 0; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 600; color: var(--amber-ink);
  background: var(--amber); padding: 9px 18px 9px 9px; border-radius: 999px; white-space: nowrap; transform: translate(-12px, -50%); }
.hot.is-flip { flex-direction: row-reverse; padding: 9px 9px 9px 18px; }
.hot i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--amber-ink); position: relative; }
.hot i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--amber); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.lens-ring { z-index: 1; position: absolute; left: 0; top: 0; width: 240px; height: 240px; margin: -120px 0 0 -120px; pointer-events: none; will-change: transform; }
.lens-ring svg { width: 100%; height: 100%; overflow: visible; }
.lens-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(248,183,60,.35), 0 0 40px 4px rgba(248,183,60,.25), inset 0 0 40px rgba(0,0,0,.5); }
.lens-hint { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 8px; align-items: center; font-size: .78rem; color: rgba(255,255,255,.75);
  background: rgba(10, 9, 13, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.s2-copy .h2 { margin-bottom: 36px; }
.doubts { display: grid; gap: 12px; margin: 14px 0 34px; }
.doubt { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); color: #D8D4DE; font-size: 1rem; max-width: 40ch; }
.doubt i { margin-top: 4px; color: var(--dim); }
.doubt:nth-child(2) { margin-left: clamp(0px, 3vw, 40px); }
.answer { padding: 22px 24px; border-radius: 16px 16px 4px 16px; margin-bottom: 34px;
  background: linear-gradient(180deg, rgba(248, 183, 60, .1), rgba(248, 183, 60, .03)); border: 1px solid rgba(248, 183, 60, .28); }
.answer-text { display: flex; gap: 12px; margin-top: 10px; font-size: 1.08rem; font-weight: 500; line-height: 1.5; }
.answer-text i { color: var(--amber); font-size: 1.5rem; flex: none; margin-top: 1px; }

/* =========================================================
   S3 · Trayectoria (rueda sobre el dial)
   ========================================================= */
.s3 { position: relative; height: 100vh; height: 100dvh; min-height: 640px; overflow: hidden; background: var(--bg);
  background-image: radial-gradient(70% 60% at 50% 110%, rgba(140, 106, 48, .28), transparent 70%); }
.s3-head { position: relative; z-index: 3; padding-top: clamp(100px, 15vh, 140px); }
.s3 .h2 { max-width: 40ch; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.s3-sub { margin-top: 14px; font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wheel-stage { position: absolute; inset: 0; pointer-events: none; }
.wheel { --R: 1500px; position: absolute; left: 50%; top: calc(60% + var(--R)); width: 0; height: 0; }
.wheel-rail {
  position: absolute; left: calc(var(--R) * -1 - 160px); top: calc(var(--R) * -1 - 160px);
  width: calc(var(--R) * 2 + 320px); height: calc(var(--R) * 2 + 320px); border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.28) 0 .06deg, transparent .06deg 1deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 22px), #000 calc(100% - 21px), #000 calc(100% - 8px), transparent calc(100% - 7px));
          mask: radial-gradient(closest-side, transparent calc(100% - 22px), #000 calc(100% - 21px), #000 calc(100% - 8px), transparent calc(100% - 7px));
}
.pcard { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform, opacity; }
.pcard figure {
  position: absolute; left: 0; top: 0; margin: 0; width: min(300px, 33vh); height: min(380px, 42vh); transform: translate(-50%, -50%);
  border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); pointer-events: auto;
  transition: border-color .6s, box-shadow .6s;
}
.pcard img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) brightness(.62) contrast(1.05); transition: filter .9s var(--ease-out), transform 1.2s var(--ease-out); }
.pcard.is-active figure { border-color: rgba(248, 183, 60, .6); box-shadow: 0 30px 90px -30px rgba(248, 183, 60, .35); }
.pcard.is-active img { filter: grayscale(0) brightness(.88); transform: scale(1.04); }
.pcard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(8, 7, 10, .92)); }
.pcard b { display: block; font-size: 1rem; font-weight: 600; }
.pcard small { font-size: .78rem; color: var(--muted); }
.wheel-marker { position: absolute; left: 50%; top: calc(60% - min(190px, 21vh) - 34px); width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 16px solid var(--amber); transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 0 10px rgba(248,183,60,.6)); }
.wheel-info { position: absolute; left: 50%; bottom: clamp(20px, 5vh, 48px); transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; z-index: 3; }
#wheelName { font-size: 1rem; font-weight: 600; }
.wheel-count { font-size: .76rem; color: var(--muted); letter-spacing: .08em; }
.wheel-count b { color: var(--amber); font-weight: 600; }

/* =========================================================
   S4 · +150, empresas y aliados
   ========================================================= */
.s4 { position: relative; background: var(--bg); padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 12vh, 140px); }
.stat-band { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: 48px; padding-bottom: 48px; overflow: hidden; }
.stat-band::before, .stat-band::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); height: 1px; background: var(--line-2); }
.stat-band::before { top: 0; } .stat-band::after { bottom: 0; }
.stat-big { font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--amber); }
.stat-text { font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.45; max-width: 30ch; color: #DDD9E2; }
.band-sweep { position: absolute; top: 0; bottom: 0; left: -20%; width: 18%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 75, 75, .12), rgba(255, 228, 92, .18), rgba(61, 220, 132, .12), rgba(46, 197, 255, .14), rgba(180, 77, 255, .12), transparent); }

.odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; letter-spacing: 0; }
.odo .d > span { display: flex; flex-direction: column; will-change: transform; }
.odo .d > span > span { height: 1em; }
.odo .s { display: inline-block; }

.brands-title { margin-top: clamp(56px, 8vh, 90px); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-slot { flex: none; display: grid; place-content: center; justify-items: center; gap: 6px; width: 340px; height: 170px; border-radius: var(--r-card); border: 1px dashed var(--line-2); background: var(--surface); color: var(--muted); font-size: .95rem; font-weight: 500; text-align: center; padding: 0 20px; }
.logo-slot { border-style: solid; border-color: var(--line); gap: 10px; }
.logo-slot img { display: block; max-width: 220px; max-height: 92px; width: auto; height: auto; object-fit: contain; opacity: .9; transition: opacity .4s; }
.logo-slot:hover img { opacity: 1; }
.logo-slot.has-cap img { max-height: 66px; }
.logo-slot small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.aliados { margin-top: clamp(80px, 12vh, 130px); }
.aliados .h3 { margin-bottom: 22px; }
.ally-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.ally { --mx: -999px; --my: -999px; position: relative; height: 104px; border-radius: var(--r-slot); padding: 1px;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(248, 183, 60, .75), transparent 45%), var(--line); }
.ally img { display: block; max-width: 120px; max-height: 58px; width: auto; height: auto; object-fit: contain; opacity: .8; transition: opacity .4s; }
.ally:hover img { opacity: 1; }
.ally span { display: grid; place-items: center; height: 100%; border-radius: calc(var(--r-slot) - 1px); color: var(--dim); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: radial-gradient(180px circle at var(--mx) var(--my), rgba(248, 183, 60, .08), transparent 60%), var(--surface); }

/* =========================================================
   S5 · Testimonios
   ========================================================= */
.s5 { position: relative; padding: clamp(96px, 14vh, 160px) 0; background: var(--bg-2);
  background-image: radial-gradient(45% 45% at 100% 0%, rgba(74, 20, 184, .28), transparent 70%); overflow: hidden; }
.s5-title { max-width: 22ch; margin-bottom: clamp(48px, 8vh, 80px); }
.s5-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.s5-stats { display: grid; gap: 40px; justify-items: start; }
.kpi .odo { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 700; color: var(--amber); letter-spacing: -.03em; line-height: 1; }
.kpi p { margin-top: 10px; color: var(--muted); font-size: .98rem; max-width: 26ch; }
.kpi { padding-left: 22px; border-left: 1px solid var(--line-2); }

.deck-wrap { display: grid; gap: 30px; min-width: 0; }
.s5-grid > * { min-width: 0; }
.deck { position: relative; height: 420px; perspective: 1400px; touch-action: pan-y; }
.tcard {
  position: absolute; inset: 0; border-radius: var(--r-card); padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(180deg, #1B1822, #15131B); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); display: flex; flex-direction: column; justify-content: space-between;
  transform-origin: 50% 120%; will-change: transform, opacity; user-select: none; cursor: grab;
}
.tcard:active { cursor: grabbing; }
.tcard.is-featured { background: linear-gradient(180deg, #221B14, #17130F); border-color: rgba(248, 183, 60, .3); }
.tcard-top { display: flex; justify-content: space-between; align-items: center; }
.tcard-top > i { font-size: 2.2rem; color: var(--amber); }
.badge { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(248, 183, 60, .4); }
.tcard blockquote { margin: 18px 0 0; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.6; color: #E6E2EA; }
.tcard.is-featured blockquote { font-size: clamp(.98rem, 1.25vw, 1.1rem); }
.tcard.is-long blockquote { font-size: clamp(.9rem, 1.05vw, .98rem); line-height: 1.55; }
.tcard footer { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9rem; color: var(--amber-ink); background: linear-gradient(135deg, var(--amber-2), var(--amber)); }
.tcard footer b { display: block; font-size: .95rem; font-weight: 600; }
.tcard footer small { color: var(--muted); font-size: .8rem; }
.deck-ctrl { display: flex; align-items: center; gap: 18px; }
.round { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 1.1rem; transition: transform .4s var(--ease-out), background .3s; }
.round:hover { transform: scale(1.06); background: rgba(255,255,255,.04); }
.round-amber { background: var(--amber); color: var(--amber-ink); border-color: transparent; }
.round-amber:hover { background: var(--amber-2); }
.round svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: transparent; }
.ring-fg { fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.deck-dots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.deck-dots button { width: 18px; height: 3px; border-radius: 3px; background: var(--line-2); transition: width .5s var(--ease-out), background .3s; padding: 0; }
.deck-dots button.is-on { width: 34px; background: var(--amber); }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; background: #08070A; padding: 72px 0 34px; overflow: hidden; border-top: 1px solid var(--line); }
.ft-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.ft-links { display: flex; gap: clamp(18px, 3vw, 40px); font-size: .9rem; color: var(--muted); }
.ft-links a:hover { color: var(--text); }
.ft-social { display: flex; gap: 10px; justify-self: end; }
.ft-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 1.15rem; color: var(--muted); transition: color .3s, border-color .3s, transform .4s var(--ease-out); }
.ft-social a:hover { color: var(--amber); border-color: rgba(248,183,60,.5); transform: translateY(-2px); }
.ft-word {
  --fx: 50%; --fy: 50%;
  margin: clamp(40px, 7vh, 80px) 0 clamp(20px, 4vh, 40px); text-align: center; font-weight: 700; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(5rem, 17vw, 16rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
  background: radial-gradient(260px circle at var(--fx) var(--fy), #fff 0%, #FFD27A 16%, #ffa51f 28%, #b44dff 48%, transparent 64%) no-repeat;
  -webkit-background-clip: text; background-clip: text; user-select: none;
}
.ft-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--dim); }
.ft-legal span:last-child { display: flex; gap: 28px; }
.ft-legal a:hover { color: var(--text); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .ally-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav { height: 72px; }
  .logo-main { font-size: 1.65rem; }
  .logo-img { width: 190px; margin-left: -24px; }
  .compass-anchor { top: 42%; }
  .compass-scale { width: min(92vw, 52vh); }
  .readout { top: calc(min(46vw, 26vh) + 10px); }
  .hero-content { bottom: 128px; }
  .hero-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero-social { top: auto; bottom: 138px; transform: none; gap: 14px; }
  .hero-social a { font-size: 1.4rem; }
  .hero-cta { left: var(--pad); right: var(--pad); bottom: 36px; height: 58px; justify-content: center; }

  .s1-grid, .s2-grid, .s5-grid { grid-template-columns: 1fr; }
  .s1-grid { padding-top: 96px; padding-bottom: 40px; gap: 28px; }
  .s1-head .h2 { margin-bottom: 22px; }
  .s1-label { margin-bottom: 0; }
  .s1-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding-top: 84px; }
  .s1-copy .h2 { margin-bottom: 14px; }
  .s1-label { height: 22px; margin-bottom: 8px; }
  .s1-cta { margin-top: 16px; }
  .orbit { --size: min(78vw, 32vh); }
  .orb span { font-size: .72rem; padding: 7px 12px; }
  .orbit-pointer i { top: calc(15% - 11px); border-left-width: 6px; border-right-width: 6px; border-bottom-width: 10px; }
  .logo-slot { width: 240px; height: 120px; font-size: .85rem; }
  .logo-slot img { max-width: 160px; max-height: 64px; }
  .logo-slot.has-cap img { max-height: 48px; }
  .ally img { max-width: 110px; max-height: 46px; }
  .pain, .gain { gap: 14px; font-size: 1.12rem; }
  .ic { width: 34px; height: 34px; }
  .ic-ok { font-size: 2.1rem; }
  .shift { min-height: 74px; }
  .lens-stage { aspect-ratio: 4 / 4.4; }
  .s2-copy { order: -1; }

  .wheel { --R: 900px; top: calc(60% + var(--R)); }
  .pcard figure { width: min(230px, 30vh); height: min(300px, 39vh); }
  .wheel-marker { top: calc(60% - min(150px, 19.5vh) - 30px); }

  .stat-band { grid-template-columns: 1fr; }
  .ally-grid { grid-template-columns: repeat(2, 1fr); }
  .ally:last-child { grid-column: span 2; }
  .deck { height: 540px; }
  .deck-ctrl { gap: 12px; }
  .deck-dots { gap: 4px; min-width: 0; }
  .deck-dots button { width: 10px; }
  .deck-dots button.is-on { width: 22px; }
  .tcard.is-long blockquote { font-size: .88rem; }

  .ft-top { grid-template-columns: 1fr; justify-items: start; }
  .ft-links { flex-wrap: wrap; }
  .ft-social { justify-self: start; }
  .dock { left: auto; right: 16px; bottom: 16px; }
  .dock-text { display: none; }
  .dock { padding: 6px; }
}

/* Movimiento reducido: todo queda en su estado final, sin pins ni bucles */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ok) *, html:not(.motion-ok) *::before, html:not(.motion-ok) *::after { animation: none !important; transition-duration: .01ms !important; }
  html:not(.motion-ok) .gain { clip-path: none; }
  html:not(.motion-ok) .pain { display: none; }
  html:not(.motion-ok) .lbl-a { opacity: 0; }
  html:not(.motion-ok) .lbl-b { opacity: 1; transform: none; }
  html:not(.motion-ok) .s1-cta { opacity: 1; transform: none; }
  html:not(.motion-ok) .orbit-photo { --wipe: 100%; }
  html:not(.motion-ok) .ba-tag-before { opacity: 0; }
  html:not(.motion-ok) .ba-tag-after { opacity: 1; transform: translateX(-50%); }
}

/* =========================================================
   Páginas legales
   ========================================================= */
.legal-page .nav { position: sticky; background: rgba(10, 9, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); transition: color .3s; }
.legal-back:hover { color: var(--amber); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 10vh, 110px) var(--pad) clamp(72px, 12vh, 140px); }
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; }
.legal .legal-meta { color: var(--muted); font-size: .9rem; margin-bottom: 48px; }
.legal h2 { font-size: 1.15rem; font-weight: 600; color: var(--amber); margin: 40px 0 12px; }
.legal p, .legal li { color: #D8D4DE; font-size: 1rem; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Transición banner → primer servicio sin hueco ---------- */
.motion-ok .hero { height: max(100vh, 620px); min-height: 0; }
.motion-ok .s1 { margin-top: calc(-1 * max(100vh, 620px)); }

/* ---------- Galería de proyectos ---------- */
.pcard figure { cursor: zoom-in; }
.pcard figure:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.pcard-zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 9, 13, .6); border: 1px solid var(--line-2); color: var(--text); font-size: 1.05rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .4s var(--ease-out), background .3s, color .3s; }
.pcard.is-active .pcard-zoom { opacity: 1; transform: none; }
.pcard figure:hover .pcard-zoom { background: var(--amber); color: var(--amber-ink); border-color: transparent; opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 40px);
  padding: 72px clamp(12px, 4vw, 48px) 32px; background: rgba(8, 7, 10, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); touch-action: pan-y; }
.lightbox.is-open { display: flex; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 16px; max-width: min(88vw, 1100px); will-change: transform; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); width: auto; height: auto; border-radius: var(--r-card);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); user-select: none; -webkit-user-drag: none; }
.lb-fig figcaption { display: grid; justify-items: center; gap: 4px; text-align: center; }
.lb-name { font-size: 1.15rem; font-weight: 600; }
.lb-meta { font-size: .88rem; color: var(--muted); }
.lb-count { margin-top: 6px; font-size: .76rem; letter-spacing: .14em; color: var(--amber); font-variant-numeric: tabular-nums; }
.lb-btn { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--text);
  border: 1px solid var(--line-2); background: rgba(21, 19, 27, .7); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.lb-btn:hover { background: var(--amber); color: var(--amber-ink); border-color: transparent; transform: scale(1.06); }
.lb-close { position: absolute; top: 18px; right: 18px; }
body.admin-bar .lb-close { top: 50px; }
@media (max-width: 860px) {
  .lightbox { flex-wrap: wrap; align-content: center; padding: 72px 16px 24px; }
  .lb-fig { order: 1; width: 100%; max-width: 100%; }
  .lb-img { max-height: calc(100dvh - 260px); }
  .lb-prev, .lb-next { order: 2; width: 50px; height: 50px; }
  .lb-close { top: 14px; right: 14px; }
}
