/* ===== DETHA — tokens de marca (logo: lavanda #9BA7F2 + carbón #2E2E2E; video sobre #f9f9f9) ===== */
:root {
  --bg: #f9f9f9;
  --bg-2: #f0f1f8;
  --ink: #2e2e2e;
  --ink-2: #1b1b22;
  --muted: rgba(46, 46, 46, .62);
  --muted-2: rgba(46, 46, 46, .42);
  --line: rgba(46, 46, 46, .12);
  --line-2: rgba(46, 46, 46, .07);
  --lav: #9ba7f2;
  --lav-deep: #6c7ae6;
  --lav-soft: #e6e9fd;
  --night: #15151c;
  --night-2: #1e1e28;
  --night-ink: #f4f5ff;
  --night-muted: rgba(244, 245, 255, .6);
  --night-line: rgba(244, 245, 255, .1);
  --font-sans: "Sora", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 88px);
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.intro-on, html.intro-on body { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--lav); color: var(--ink-2); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.ser {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0;
  background: linear-gradient(90deg, #6c7ae6, #a99cf3 60%, #9ba7f2);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}
.night .ser { background-image: linear-gradient(90deg, #b9c2ff, #d9c9ff); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.eyebrow .line { width: 48px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .num, .eyebrow .star { color: var(--lav-deep); }
.night .eyebrow { color: var(--night-muted); }
.night .eyebrow .num, .night .eyebrow .star { color: var(--lav); }
.h2 { font-weight: 700; font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -.035em; margin-top: 22px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--font-sans); white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--lav-deep); box-shadow: 0 14px 34px rgba(108, 122, 230, .35); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(46, 46, 46, .25); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--ghost-light { background: transparent; color: var(--night-ink); border: 1px solid rgba(244, 245, 255, .28); }
.btn--ghost-light:hover { border-color: var(--night-ink); }
.btn--lav { background: var(--lav); color: var(--ink-2); }
.btn--lav:hover { background: #b6bff8; box-shadow: 0 14px 34px rgba(155, 167, 242, .35); }

/* ===== Intro (video de ensamble) ===== */
.intro {
  position: fixed; inset: 0; z-index: 200; background: #f9f9f9;
  display: grid; place-items: center;
  transition: clip-path 1.2s var(--ease);
  clip-path: inset(0 0 0 0);
}
.intro.out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro.gone { display: none; }
.intro__video {
  width: min(78vmin, 760px); aspect-ratio: 1; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 82%, transparent 100%);
}
.intro__skip {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(20px, 4vh, 40px);
  background: none; border: 0; cursor: pointer; font: 500 13px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.intro__skip:hover { color: var(--ink); }
.intro__bar { position: absolute; left: 50%; bottom: clamp(26px, 5vh, 50px); width: 120px; height: 2px; transform: translateX(-50%); background: var(--line); overflow: hidden; border-radius: 2px; }
.intro__bar span { display: block; height: 100%; width: 0; background: var(--lav-deep); }

/* ===== Cursor ===== */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid #fff; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s; }
.cursor__ring em { font: 600 10px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #000; font-style: normal; opacity: 0; transition: opacity .2s; }
.cursor.hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cursor.label .cursor__ring em { opacity: 1; }
@media (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor .pill { cursor: none; }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lav-deep), var(--lav)); }

/* ===== Nav ===== */
.nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; padding: 16px clamp(14px, 2.6vw, 40px); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-inline: auto; max-width: 100%; padding: 10px 6px 10px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: max-width .7s var(--ease), background .5s, border-color .5s, padding .5s, box-shadow .5s;
}
.nav.scrolled .nav__inner {
  max-width: 1240px; padding: 6px 6px 6px 16px;
  background: rgba(249, 249, 249, .92); border-color: var(--line-2); box-shadow: 0 10px 40px rgba(20, 20, 40, .06);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__word { height: 16px; width: auto; }
.nav__links { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav__links a { font-size: 15px; color: var(--muted); transition: color .3s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--lav-deep); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ===== CTA flotante (móvil) ===== */
.fab { display: none; }

/* ===== Hero ===== */
.hero { position: relative; min-height: max(100svh, 600px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 72% 42%, rgba(155, 167, 242, .38), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, rgba(169, 156, 243, .22), transparent 70%);
}
.hero__mono {
  position: absolute; right: clamp(-20px, 3vw, 80px); top: 50%;
  height: min(70vh, 44vw); aspect-ratio: 598 / 590; transform: translateY(-50%);
  perspective: 900px;
}
.mono__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hero__mono .layer { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; filter: drop-shadow(0 30px 40px rgba(60, 70, 160, .18)); }
.hero__copy { position: relative; z-index: 2; padding: clamp(110px, 16vh, 150px) var(--pad) clamp(60px, 10vh, 110px); max-width: 980px; }
.hero__title { font-weight: 700; font-size: clamp(46px, min(8vw, 13vh), 150px); line-height: .92; letter-spacing: -.045em; margin-top: clamp(14px, 2vh, 24px); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .ln > span { display: inline-block; }
.hero__sub { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(15px, 1.4vw, 19px); font-weight: 300; line-height: 1.6; color: var(--muted); max-width: 48ch; }
.hero__cta { margin-top: clamp(22px, 3.4vh, 36px); display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: clamp(14px, 2vw, 30px); bottom: clamp(20px, 5vh, 48px); display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero__scroll .bar { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll .bar::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; background: var(--ink); animation: scrolldown 1.8s var(--ease) infinite; }

/* ===== Band ===== */
.band { position: relative; z-index: 3; background: var(--ink); color: var(--night-ink); transform: rotate(-1.6deg) scale(1.04); padding: 18px 0; overflow: hidden; margin: 10px 0 0; }
.band__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.band span { font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.band i { font-style: normal; color: var(--lav); font-size: 20px; }

/* ===== Approach ===== */
.approach { padding: clamp(120px, 22vh, 240px) 0 clamp(100px, 16vh, 180px); }
.approach .wrap { max-width: 1200px; }
.approach__text { margin-top: 34px; font-weight: 700; font-size: clamp(30px, 4.2vw, 66px); line-height: 1.12; letter-spacing: -.03em; }
.approach__text .w { opacity: .12; transition: opacity .35s linear; }
.approach__text .w.on { opacity: 1; }

/* ===== Night sections ===== */
.night { background: var(--night); color: var(--night-ink); }
.services { position: relative; padding: clamp(100px, 16vh, 170px) 0 40px; border-radius: 44px 44px 0 0; }
.services__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.services__aside { color: var(--night-muted); font-size: 17px; line-height: 1.6; max-width: 420px; justify-self: end; }

/* pillars: tarjetas que se apilan */
.pillars { margin-top: clamp(50px, 8vh, 90px); }
.pillar {
  position: sticky; top: 96px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px);
  min-height: min(76vh, 680px); margin-bottom: 6vh; padding: clamp(28px, 4vw, 56px);
  border-radius: 32px; background: linear-gradient(160deg, var(--night-2), #17171f);
  border: 1px solid var(--night-line); box-shadow: 0 -30px 60px rgba(0, 0, 0, .35);
  transform-origin: 50% 0; will-change: transform;
}
.pillar__num { font-size: 13px; letter-spacing: .24em; color: var(--lav); text-transform: uppercase; }
.pillar h3 { margin-top: 14px; font-size: clamp(44px, 5vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.pillar__tag { margin-top: 12px; font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); color: #c9cffb; }
.pillar ul { list-style: none; margin-top: clamp(22px, 3.5vh, 36px); display: grid; gap: 4px; }
.pillar li { padding: 16px 0; border-top: 1px solid var(--night-line); }
.pillar li strong { display: block; font-size: 18px; font-weight: 600; }
.pillar li span { display: block; margin-top: 4px; color: var(--night-muted); font-size: 14.5px; line-height: 1.55; }
.pillar li em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--lav); letter-spacing: .04em; }
.pillar__shot { position: relative; align-self: center; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #f4f5ff, #dfe3fb); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.pillar__shot svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* physics pit */
.pit { position: relative; height: clamp(420px, 60vh, 560px); margin-top: 30px; overflow: hidden; touch-action: pan-y; }
.pill {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center;
  height: clamp(46px, 4.8vw, 64px); padding: 0 clamp(20px, 2vw, 30px); border-radius: 999px;
  background: var(--night-ink); color: var(--ink-2); font-weight: 600; font-size: clamp(15px, 1.45vw, 20px); white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45); user-select: none; cursor: grab; will-change: transform; visibility: hidden;
}
.pill.lav { background: linear-gradient(180deg, #aab4f6, #8592ee); color: var(--ink-2); box-shadow: 0 12px 34px rgba(155, 167, 242, .35); }
.pit.static { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-end; justify-content: center; height: auto; padding: 30px var(--pad) 10px; }
.pit.static .pill { position: static; visibility: visible; }

/* ===== Cases (scroll horizontal) ===== */
.cases { position: relative; background: var(--bg); border-radius: 44px 44px 0 0; margin-top: -44px; }
.cases__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; overflow: hidden; }
.cases__head { margin-bottom: clamp(26px, 4vh, 44px); }
.cases__head .h2 { margin-top: 18px; }
.cases__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-inline: clamp(20px, 3vw, 44px); width: max-content; will-change: transform; }
.case { width: clamp(300px, 33vw, 500px); flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.case:nth-child(even) { flex-direction: column-reverse; }
.case__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.case__num { font-size: clamp(40px, 4vw, 60px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--lav); }
.case h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.case__cat { font-size: 13px; color: var(--muted); margin-top: 4px; }
.case__ps { grid-column: 1 / -1; margin-top: 16px; }
.case__ps h4 { font-size: 15px; font-weight: 600; }
.case__ps p { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.55; }
.case__ok { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 500; color: var(--lav-deep); }
.case__shot { position: relative; aspect-ratio: 16 / 10.4; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #f4f5ff, #dfe3fb); box-shadow: 0 30px 60px rgba(40, 46, 110, .16); transition: transform .6s var(--ease); }
.case__shot:hover { transform: translateY(-6px) rotate(-.6deg); }
.case__shot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case__badge { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: rgba(46, 46, 46, .72); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.case--more { width: clamp(280px, 24vw, 360px); justify-content: center; align-items: flex-start; }
.case--more p { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.cases__progress { margin: clamp(26px, 4vh, 44px) auto 0; width: calc(100% - 2 * clamp(20px, 3vw, 44px)); height: 2px; background: var(--line); border-radius: 2px; }
.cases__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--lav-deep); }

/* ===== Demo ===== */
.demo { padding: clamp(40px, 8vh, 90px) 0; }
.demo__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  background: radial-gradient(70% 140% at 100% 0%, rgba(155, 167, 242, .55), transparent 70%), var(--lav-soft);
}
.demo__title { margin-top: 18px; font-size: clamp(32px, 4vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.demo__sub { margin-top: 14px; color: var(--muted); max-width: 46ch; }

/* ===== Process ===== */
.process { padding: clamp(90px, 14vh, 160px) 0 clamp(70px, 10vh, 120px); }
.tl { position: relative; margin-top: clamp(50px, 8vh, 90px); }
.tl__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.tl__fill { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--lav-deep), var(--lav)); }
.tl__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: clamp(30px, 5vh, 52px) 0; }
.tl__role { padding-right: clamp(150px, 14vw, 220px); }
.tl__role h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--muted-2); transition: color .6s; }
.tl__num { position: absolute; top: clamp(24px, 4.4vh, 46px); right: calc(50% + clamp(26px, 2.5vw, 40px)); font-size: clamp(38px, 4.4vw, 66px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: rgba(46, 46, 46, .1); transition: color .6s; }
.tl__dot { position: absolute; top: calc(clamp(30px, 5vh, 52px) + 10px); left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--muted-2); background: var(--bg); transition: background .5s, border-color .5s, box-shadow .5s; }
.tl__desc { grid-column: 2; padding-left: clamp(40px, 4vw, 64px); color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 44ch; }
.tl__row.on .tl__role h3, .tl__row.on .tl__num { color: var(--ink); }
.tl__row.on .tl__num { color: var(--lav-deep); }
.tl__row.on .tl__dot { background: var(--lav-deep); border-color: var(--lav-deep); box-shadow: 0 0 0 6px rgba(108, 122, 230, .18); }

/* ===== Results ===== */
.results { padding: clamp(80px, 12vh, 140px) 0 clamp(100px, 14vh, 160px); overflow: hidden; }
.results__sub { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.results__marquee { margin-top: clamp(40px, 7vh, 70px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.results__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; padding-block: 12px; }
.results__marquee:hover .results__track { animation-play-state: paused; }
.rcard { width: clamp(280px, 26vw, 360px); flex-shrink: 0; padding: 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(40, 46, 110, .07); }
.rcard strong { display: block; font-size: clamp(44px, 4vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1; background: linear-gradient(90deg, #6c7ae6, #a99cf3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rcard p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.rcard span { display: inline-block; margin-top: 18px; padding: 5px 12px; border-radius: 999px; background: var(--lav-soft); color: var(--lav-deep); font-size: 12px; font-weight: 600; }

/* ===== Contact ===== */
.contact { position: relative; padding: clamp(110px, 16vh, 180px) 0 clamp(90px, 12vh, 140px); overflow: hidden; border-radius: 44px 44px 0 0; }
.contact__glow { position: absolute; right: -10vw; top: -10%; width: 70vw; height: 90%; pointer-events: none; background: radial-gradient(closest-side, rgba(155, 167, 242, .25), transparent); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__title { margin-top: 22px; font-size: clamp(40px, 5vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.contact__mail { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(30px, 5vh, 52px); padding-bottom: 10px; border-bottom: 1px solid var(--night-line); font-size: clamp(18px, 2vw, 28px); font-weight: 500; letter-spacing: -.01em; word-break: break-all; transition: border-color .4s; }
.contact__mail:hover { border-color: var(--lav); }
.contact__mail span { color: var(--lav); }
.contact__social { margin-top: 26px; }
.cform { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--night-2); border: 1px solid var(--night-line); }
.cform label { display: grid; gap: 8px; font-size: 13px; color: var(--night-muted); }
.cform input, .cform textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--night-line);
  background: rgba(255, 255, 255, .04); color: var(--night-ink); font: 400 15px/1.5 var(--font-sans); resize: vertical;
  transition: border-color .3s, background .3s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--lav); background: rgba(155, 167, 242, .06); }
.cform__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cform__chips button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--night-muted); font: 500 13px var(--font-sans); cursor: pointer; transition: all .3s; }
.cform__chips button.on { background: var(--lav); color: var(--ink-2); border-color: var(--lav); }
.cform__note { font-size: 12.5px; color: var(--night-muted); }

/* ===== Footer ===== */
.foot { padding-top: clamp(30px, 6vh, 70px); overflow: hidden; border-top: 1px solid var(--night-line); }
.foot__marquee { overflow: hidden; }
.foot__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.mini { width: clamp(120px, 10vw, 160px); aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; background: linear-gradient(160deg, #f4f5ff, #dfe3fb); flex-shrink: 0; }
.mini svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot__word { width: calc(100% - 2 * var(--pad)); max-width: 1500px; margin: clamp(40px, 7vh, 80px) auto 0; height: auto; }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-top: clamp(40px, 6vh, 70px); padding-bottom: clamp(40px, 6vh, 70px); font-size: 15px; color: var(--night-muted); }
.foot__cols p { max-width: 36ch; line-height: 1.6; }
.foot__cols nav, .foot__cols div { display: grid; gap: 8px; align-content: start; }
.foot__cols a:hover { color: var(--night-ink); }
.foot__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--pad) 28px; border-top: 1px solid var(--night-line); font-size: 13px; color: var(--night-muted); }
.totop:hover { color: var(--night-ink); }

/* ===== Reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* sin GSAP (CDN bloqueado): los casos se desplazan con scroll horizontal nativo */
.no-gsap .cases__pin { overflow-x: auto; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrolldown { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .fab {
    display: inline-flex; align-items: center; gap: 10px; position: fixed; z-index: 90; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 15px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 14px 40px rgba(20, 20, 40, .28), 0 0 0 1.5px rgba(155, 167, 242, .6);
    transform: translate(-50%, 160%); opacity: 0; pointer-events: none; transition: transform .6s var(--ease), opacity .4s;
  }
  .fab.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
  .fab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lav); box-shadow: 0 0 0 4px rgba(155, 167, 242, .25); }
  .hero { align-items: flex-end; }
  .hero__mono { right: 50%; top: 9%; height: min(28vh, 62vw); transform: translateX(50%); opacity: .95; }
  .hero__copy { padding-top: 0; }
  .hero__scroll { display: none; }
  .services__head, .contact__grid { grid-template-columns: 1fr; }
  .services__aside { justify-self: start; }
  .pillar { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .cases__pin { min-height: 0; }
  .cases__track { flex-direction: column; width: auto; padding-inline: var(--pad); gap: 60px; transform: none !important; }
  .case, .case--more { width: 100%; }
  .case:nth-child(even) { flex-direction: column; }
  .cases__progress { display: none; }
  .tl__line { left: 6px; }
  .tl__row { grid-template-columns: 1fr; padding-left: 36px; }
  .tl__role { padding-right: 0; }
  .tl__num { position: static; order: -1; margin-bottom: 10px; font-size: 40px; }
  .tl__dot { left: 6px; top: calc(clamp(30px, 5vh, 52px) + 14px); }
  .tl__desc { grid-column: 1; padding-left: 0; margin-top: 12px; }
  .foot__cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav__word { display: none; }
  .hero__title { font-size: clamp(42px, 13vw, 64px); }
  .services, .cases, .contact { border-radius: 28px 28px 0 0; }
  .pillar { padding: 24px; border-radius: 24px; }
  .demo__inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
