/* ==========================================================================
   Nahuel Abreu · Video, motion y sistemas
   Rojo y negro de sala de montaje. Pensado primero para celular.
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-2: #0e0e0e;
  --bg-3: #161616;
  --line: rgba(245, 242, 238, 0.09);
  --line-2: rgba(245, 242, 238, 0.17);
  --ink: #f5f2ee;
  --mute: #a19b94;
  --mute-2: #6c6863;
  --accent: #e5252a;            /* rojo de marca (rellenos): cambialo acá y cambia todo */
  --accent-hi: #ff4a50;         /* rojo para texto sobre negro */
  --accent-ink: #ffffff;
  --accent-rgb: 229, 37, 42;

  --f-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --gutter: clamp(1rem, 4.5vw, 2.75rem);
  --maxw: 1280px;
  --header-h: 60px;
  --dock-h: 0px;
  --r: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 899px) { :root { --dock-h: calc(64px + env(safe-area-inset-bottom)); --header-h: 0px; } .site-header { display: none !important; } }
@media (min-width: 900px) { :root { --header-h: 72px; } }

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; overflow-x: clip; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--dock-h);
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

.mono { font-family: var(--f-mono); letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .7); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
.link:hover { color: var(--accent-hi); }
mark { background: none; color: var(--accent-hi); }

/* ==========================================================================
   Fondo: viñeta roja quieta + grano (barato para el celular)
   ========================================================================== */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(70% 45% at 85% -5%, rgba(var(--accent-rgb), .16), transparent 70%),
    radial-gradient(50% 35% at -10% 40%, rgba(var(--accent-rgb), .06), transparent 70%),
    var(--bg); }

.status i, .brief__k i, .live i, @keyframes blink { 50% { opacity: .25; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: stretch; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  background: rgba(7,7,7,.96);
  border-bottom: 1px solid var(--line);
}
.site-header__end { display: flex; align-items: center; gap: .5rem; }
.tabs__tab:first-child { padding-left: 0; }
.icon-btn { display: none; place-items: center; width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--ink); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-hi); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.tabs { display: none; position: relative; align-self: stretch; }
.tabs__tab { position: relative; display: flex; align-items: center; gap: .55rem; padding: 0 1.2rem; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--mute); transition: color .25s; white-space: nowrap; }
.tabs__tab span { font-size: .68rem; color: var(--mute-2); transition: color .25s; }
.tabs__tab:hover, .tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"] span { color: var(--accent-hi); }
.tabs__bar { position: absolute; bottom: -1px; left: 0; width: 50%; height: 2px; background: var(--accent); transition: transform .5s var(--ease); }
[data-tab="sistemas"] .tabs__bar { transform: translateX(100%); }
@media (min-width: 900px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .icon-btn { display: grid; }
}

/* Dock inferior (celular) */
.dock { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .4rem; align-items: center;
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  background: #0b0b0b;
  border-top: 1px solid var(--line); transition: transform .35s var(--ease); }
.dock.is-hidden { transform: translateY(110%); }
.dock__tab, .dock__wa { display: flex; align-items: center; justify-content: center; gap: .45rem; height: 48px; border-radius: var(--r); font-size: .85rem; font-weight: 500; text-decoration: none; }
.dock__tab { color: var(--mute); }
.dock__tab[aria-selected="true"] { color: var(--ink); background: var(--bg-3); box-shadow: inset 0 -2px 0 var(--accent); }
.dock__wa { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.dock svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .dock { display: none; } }

/* ==========================================================================
   Botones (rectos, con flecha que corre)
   ========================================================================== */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.3rem; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .35s;
}
.btn--sm { --h: 40px; padding: 0 1rem; font-size: .86rem; }
.btn--lg { --h: 54px; padding: 0 1.6rem; font-size: 1rem; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #f2353a; box-shadow: 0 12px 30px -10px rgba(var(--accent-rgb), .7); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: #0a0a0a; }
.btn--light:hover { background: #0a0a0a; color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.97); }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* ==========================================================================
   Hero
   ========================================================================== */
.panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; } }

.hero { display: grid; gap: 2.4rem; align-items: center; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
@media (min-width: 980px) { .hero { grid-template-columns: 1.25fr .75fr; gap: 3rem; } .hero--sys { grid-template-columns: 1.05fr .95fr; } }
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.2rem; padding: .4rem .7rem; border: 1px solid var(--line-2); border-radius: var(--r); }
.hero__title {
  font-family: var(--f-display); font-weight: 850; text-transform: uppercase;
  font-size: clamp(3.5rem, min(15.5vw, 13vh), 8.6rem); line-height: .84; letter-spacing: -.01em;
  margin-bottom: 1.4rem; text-wrap: balance;
}
.hero__title em { color: var(--accent-hi); }
.hero--sys .hero__title { font-size: clamp(3.2rem, min(13.5vw, 11.5vh), 7rem); }
.hero__lede { max-width: 32rem; font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--mute); margin-bottom: 1.8rem; }
.hero__actions { display: grid; gap: .6rem; }
@media (min-width: 520px) { .hero__actions { display: flex; flex-wrap: wrap; } }
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.6rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-2); }
.hero__meta li::before { content: "/ "; color: var(--accent-hi); }

.split-line { padding-bottom: .04em; margin-bottom: -.04em; }
.motion [data-split], .motion [data-split-hero] { visibility: hidden; }
.motion [data-intro] { opacity: 0; transform: translateY(16px); }
.motion.intro-done [data-intro] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion.intro-done [data-intro]:nth-child(3) { transition-delay: .1s; } .motion.intro-done [data-intro]:nth-child(4) { transition-delay: .18s; } .motion.intro-done [data-intro]:nth-child(5) { transition-delay: .26s; }

/* ----- Celular del hero ----- */
.hero__media { position: relative; justify-self: center; width: min(60vw, 250px); }
@media (min-width: 980px) { .hero__media { width: min(100%, 360px); } .hero--sys .hero__media { width: 100%; } }
.phone { position: relative; padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #262626, #0c0c0c 40%, #1b1b1b); border: 1px solid var(--line-2); box-shadow: 0 50px 90px -40px rgba(var(--accent-rgb), .45), 0 30px 60px -30px #000; }
.phone__screen { position: relative; aspect-ratio: 9 / 19; border-radius: 30px; overflow: hidden; background: #050505; isolation: isolate; container-type: inline-size; }
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; background: #050505; }
.tag { position: absolute; z-index: 2; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 4px; background: var(--bg-3); border: 1px solid var(--line-2); white-space: nowrap; }
.tag--a { top: 16%; left: -12%; } .tag--b { top: 38%; right: -14%; border-color: rgba(var(--accent-rgb), .6); color: var(--accent-hi); }
.tag--c { bottom: 28%; left: -16%; background: var(--accent); border-color: var(--accent); color: #fff; } .tag--d { bottom: 9%; right: -10%; }
@media (max-width: 420px) { .tag--a, .tag--d { display: none; } .tag--b { right: -6%; } .tag--c { left: -6%; } }

/* ==========================================================================
   Secciones
   ========================================================================== */
.section { padding-block: clamp(3.8rem, 9vw, 7rem); }
.section__head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
@media (min-width: 900px) { .section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; } .section__head--row .section__sub { max-width: 22rem; margin-bottom: .4rem; } }
.slate { display: inline-flex; align-items: stretch; margin-bottom: 1.1rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.slate::before { content: ""; width: 20px; background: repeating-linear-gradient(-45deg, var(--ink) 0 4px, transparent 4px 8px); opacity: .85; }
.slate b { font-weight: 500; background: var(--accent); color: #fff; padding: .35rem .55rem; }
.slate span { padding: .35rem .65rem; color: var(--mute); }
.section__title { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(2.7rem, 10vw, 6rem); line-height: .86; letter-spacing: -.005em; text-wrap: balance; }
.section__sub { margin-top: 1rem; color: var(--mute); font-size: 1.02rem; max-width: 38rem; }
.label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); margin-bottom: .75rem; }

.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.motion [data-stagger] > * { opacity: 0; transform: translateY(24px); }

/* ----- Sobre mí ----- */
.about { display: grid; gap: 1.8rem; align-items: start; }
@media (min-width: 860px) { .about { grid-template-columns: minmax(240px, 340px) 1fr; gap: 3.5rem; align-items: center; } }
.about__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 60%, rgba(var(--accent-rgb), .18)), repeating-linear-gradient(135deg, var(--bg-2) 0 12px, var(--bg-3) 12px 24px); }
@media (max-width: 859px) { .about__photo { max-width: 340px; } }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: contrast(1.04) saturate(.92); }
.about__ph { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.about__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.about__cap span:first-child { color: #fff; } .about__cap span:last-child { color: var(--accent-hi); }
.about__body .section__title { margin-bottom: 1.4rem; }
.about__big { font-family: var(--f-body); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -.015em; margin-bottom: 1.1rem; max-width: 36rem; }
.about__txt { color: var(--mute); font-size: 1.05rem; max-width: 34rem; margin-bottom: 1.5rem; }
.facts { border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-2); padding-top: .2rem; }

/* ----- Servicios en acordeón ----- */
.rows { border-top: 1px solid var(--line-2); }
.row { border-bottom: 1px solid var(--line-2); }
.row__btn { position: relative; width: 100%; display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: .8rem; padding: 1.25rem 0; text-align: left; isolation: isolate; }
.row__btn::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, rgba(var(--accent-rgb), .12), transparent 70%); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.row__btn:hover::before, .row.is-open .row__btn::before { transform: scaleX(1); }
.row__n { font-size: .74rem; color: var(--mute-2); transition: color .3s; }
.row.is-open .row__n, .row__btn:hover .row__n { color: var(--accent-hi); }
.row__t { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.45rem, 5.6vw, 2.6rem); line-height: 1; }
.row__hot { font-size: .62rem; font-weight: 500; letter-spacing: .1em; padding: .3rem .45rem; border-radius: 3px; background: var(--accent); color: #fff; }
.row__tags { display: none; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.row__ic { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.row__ic::before, .row__ic::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.row__ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.row.is-open .row__ic { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.row.is-open .row__ic::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (min-width: 760px) { .row__btn { grid-template-columns: 3.5rem 1fr auto auto; gap: 1.5rem; padding: 1.6rem 0; } .row__tags { display: block; } }
.row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.row.is-open .row__panel { grid-template-rows: 1fr; }
.row__inner { overflow: hidden; min-height: 0; padding-left: 3.2rem; }
.row__inner > :first-child { padding-top: .1rem; }
.row__inner > :last-child { margin-bottom: 1.6rem; }
@media (max-width: 759px) { .row__inner { padding-left: 0; } }
@media (min-width: 760px) { .row__inner { padding-left: 5rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: .4rem 3rem; align-items: start; } .row__inner > p { grid-column: 1; } .row__list { grid-column: 2; grid-row: 1 / span 2; } }
.row__inner p { color: var(--mute); max-width: 34rem; margin-bottom: 1rem; }
.row__list { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.row__list li { font-size: .84rem; padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: 3px; }
.row__inner > .btn, .row__actions { justify-self: start; }
.row__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
html:not(.js) .row__panel { grid-template-rows: 1fr; }

.tools { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { font-size: .86rem; padding: .4rem .8rem; border: 1px solid var(--line-2); border-radius: 3px; }

/* ==========================================================================
   Proceso con playhead (vertical en celular, horizontal en escritorio)
   ========================================================================== */
.process { position: relative; padding-left: 30px; }
.process__rail { position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.process__fill { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--p, 0)); background: var(--accent); }
.process__head { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); transform: translate(-50%, -50%); font-size: .6rem; padding: .2rem .35rem; border-radius: 3px; background: var(--accent); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.steps { display: grid; gap: .8rem; }
.step { position: relative; padding: 1.3rem 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); transition: border-color .4s, background .4s; }
.step.is-active { border-color: rgba(var(--accent-rgb), .6); background: linear-gradient(160deg, rgba(var(--accent-rgb), .1), var(--bg-2) 60%); }
.step__n { display: block; font-size: .72rem; color: var(--mute-2); margin-bottom: 1.4rem; transition: color .4s; }
.step.is-active .step__n { color: var(--accent-hi); }
.step h3 { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 1.55rem; line-height: 1; margin-bottom: .5rem; }
.step p { color: var(--mute); font-size: .95rem; }
@media (min-width: 900px) {
  .process { padding-left: 0; }
  .process__rail { position: relative; left: 0; height: 2px; width: auto; margin-bottom: 2rem; }
  .process__fill { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .process__head { top: 50%; left: calc(var(--p, 0) * 100%); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
  .step__n { margin-bottom: 2.4rem; }
}

/* ==========================================================================
   Trabajos
   ========================================================================== */
.work { display: flex; flex-direction: column; gap: .55rem; width: 100%; text-align: left; color: var(--ink); }
.work__media { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); isolation: isolate; }
.work__media img, .work__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__media video { opacity: 0; transition: opacity .4s; }
.work__media video.is-on { opacity: 1; }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,.45)); pointer-events: none; }
.work__play { position: absolute; z-index: 2; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); box-shadow: 0 6px 18px -6px rgba(0,0,0,.7); transition: transform .35s var(--ease); }
.work__play::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.work:hover .work__play, .work:focus-visible .work__play { transform: scale(1.12); }
.work:hover .work__media { border-color: var(--line-2); }
.work__meta { display: grid; gap: .1rem; }
.work__meta b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: 1.05; }
.work__meta small { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); }
.work.is-hidden, .works:not(.is-open) .work.is-extra:not(.is-shown) { display: none; }

/* Leandro Sosa */
.lean { display: grid; gap: 1.4rem; padding: clamp(1.1rem, 3vw, 2rem); margin-bottom: clamp(3rem, 7vw, 4.5rem); border: 1px solid var(--line-2); border-radius: calc(var(--r) + 4px); background: linear-gradient(150deg, rgba(var(--accent-rgb), .1), var(--bg-2) 55%); }
@media (min-width: 900px) { .lean { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center; } }
.lean__k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.lean__t { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 11vw, 5rem); line-height: .86; margin: .6rem 0 .9rem; }
.lean__info p { color: var(--mute); max-width: 30rem; margin-bottom: 1rem; }
.lean__ig { font-size: .8rem; }
.lean__reels { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(clamp(1.1rem, 3vw, 2rem) * -1); padding: 0 clamp(1.1rem, 3vw, 2rem) .2rem; }
.lean__reels::-webkit-scrollbar { display: none; }
.lean__reels .work { scroll-snap-align: start; }
@media (min-width: 900px) { .lean__reels { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }

.sub-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.sub-head__t { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3rem); line-height: .9; }
.filters { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filters__btn { flex: none; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .88rem; color: var(--mute); transition: all .25s; }
.filters__btn:hover { color: var(--ink); border-color: var(--ink); }
.filters__btn.is-on { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem .7rem; }
@media (min-width: 700px) { .works { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .works { grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1rem; } }
.more { display: flex; width: 100%; margin: 1.4rem 0 clamp(3rem, 7vw, 4.5rem); }
@media (min-width: 640px) { .more { width: auto; margin-inline: auto; } }
.yts { display: grid; gap: 1rem; }
@media (min-width: 700px) { .yts { grid-template-columns: 1fr 1fr; } }
.work--yt .work__media { aspect-ratio: 16 / 9; }
.work--yt .work__play { right: auto; bottom: auto; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); }
.work--yt:hover .work__play { transform: translate(-50%, -50%) scale(1.1); }
.work--yt .work__play::before { border-width: 9px 0 9px 15px; }
.work--yt .work__meta b { font-size: 1.25rem; }

/* Reproductor */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #050505; color: var(--ink); }
.lb[open] { display: grid; place-items: center; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb::backdrop { background: transparent; }
.lb__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 12px 52px; }
.lb__stage video, .lb__stage iframe { display: block; border: 0; border-radius: var(--r); background: #000; max-width: 100%; max-height: 100%; }
.lb__stage video { width: auto; height: auto; max-height: calc(100dvh - 108px); }
.lb__stage iframe.is-v { width: min(420px, 100%); height: min(calc(100dvh - 108px), 760px); background: #fff; }
.lb__stage iframe.is-h { width: min(1100px, 100%); aspect-ratio: 16 / 9; height: auto; }
.lb__close { position: fixed; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink); }
.lb__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lb__cap { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); text-align: center; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 0 1rem; }

/* ==========================================================================
   Cierre: banda roja
   ========================================================================== */
.closer { background: var(--accent); color: #fff; overflow: hidden; position: relative; }
.closer::before { content: ""; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(-45deg, #000 0 1px, transparent 1px 14px); }
.closer__inner { position: relative; padding-block: clamp(3.5rem, 9vw, 6rem); }
.closer__k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; opacity: .9; }
.closer__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 15vw, 9.5rem); line-height: .88; margin-bottom: 1.8rem; padding-top: .05em; overflow-wrap: anywhere; }
.closer :focus-visible { outline-color: #fff; }

/* ==========================================================================
   Sistemas
   ========================================================================== */
.app { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); background: #0d0d0d; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(var(--accent-rgb), .35), 0 30px 60px -30px #000; }
.app__top { display: flex; align-items: center; gap: .8rem; padding: .65rem .85rem; border-bottom: 1px solid var(--line); background: #111; }
.app__dots { display: flex; gap: 6px; } .app__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; } .app__dots i:first-child { background: var(--accent); }
.app__url { font-size: .68rem; color: var(--mute-2); padding: .22rem .65rem; border-radius: 4px; background: #080808; }
.app__body { display: grid; grid-template-columns: 44px 1fr; min-height: 280px; }
.app__side { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 1.2rem 0; border-right: 1px solid var(--line); }
.app__logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--accent); color: #fff; font-family: var(--f-display); font-weight: 900; font-size: .64rem; margin-bottom: .4rem; }
.app__side i { width: 20px; height: 5px; border-radius: 3px; background: #252525; } .app__side i.is-on { background: var(--ink); }
.app__main { padding: 1rem; display: grid; gap: .8rem; align-content: start; min-width: 0; }
.app__h { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; }
.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.app__kpis div { padding: .6rem; border: 1px solid var(--line); border-radius: 4px; background: #121212; display: grid; gap: .1rem; min-width: 0; }
.app__kpis small { font-size: .6rem; color: var(--mute); line-height: 1.2; }
.app__kpis b { font-family: var(--f-display); font-size: 1.45rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.app__list { display: grid; gap: .35rem; }
.app__list li { display: flex; align-items: center; gap: .55rem; padding: .5rem .55rem; border: 1px solid var(--line); border-radius: 4px; font-size: .76rem; background: #101010; min-width: 0; }
.app__list .av { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 .35rem; flex: none; border-radius: 12px; background: #252525; font-family: var(--f-mono); font-size: .56rem; font-weight: 500; }
.app__list .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__list .st { font-family: var(--f-mono); font-size: .56rem; padding: .18rem .4rem; border-radius: 3px; border: 1px solid var(--line-2); color: var(--mute); white-space: nowrap; }
.app__list .st--ok { color: #9be7b5; border-color: rgba(155,231,181,.35); }
.app__list .st--auto { color: var(--accent-hi); border-color: rgba(var(--accent-rgb), .5); }
.app__note { position: absolute; right: 10px; bottom: 7px; font-size: .56rem; color: var(--mute-2); }
.live { display: inline-flex; align-items: center; gap: .45rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #9be7b5; }
.live i { background: #4ade80; }
.cases { display: grid; gap: .9rem; }
@media (min-width: 860px) { .cases { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.case { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(160deg, rgba(var(--accent-rgb), .08), var(--bg-2) 55%); }
.case__top { display: flex; width: 100%; justify-content: space-between; gap: 1rem; }
.case__k { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.case__t { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 8vw, 3.6rem); line-height: .88; }
.case__d { color: var(--mute); max-width: 32rem; }
.case__list { display: grid; gap: .5rem; width: 100%; margin-bottom: .4rem; }
.case__list li { display: flex; gap: .6rem; font-size: .95rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.case__list li::before { content: "→"; color: var(--accent-hi); }
.case .btn { margin-top: auto; }
.feats, .tiles { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (max-width: 599px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { padding: 1rem; } .tile h3 { font-size: 1.2rem; } .tile__n { margin-bottom: .9rem; } }
.feat, .tile { position: relative; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .14), transparent 60%); }
.tile:hover::before { opacity: 1; }
.feat__n, .tile__n { font-size: .72rem; color: var(--accent-hi); display: block; margin-bottom: 1.4rem; }
.feat h3, .tile h3 { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 1.45rem; line-height: 1; margin-bottom: .45rem; }
.feat p, .tile p { color: var(--mute); font-size: .94rem; }

/* ==========================================================================
   Presupuesto: brief en 3 pasos
   ========================================================================== */
.quote { display: grid; gap: 2rem; padding-block: clamp(3.8rem, 9vw, 7rem); }
@media (min-width: 980px) { .quote { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } .quote__intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.brief { padding: 1.1rem 1.2rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.brief--side { display: none; margin-top: 2rem; }
@media (min-width: 980px) { .brief--side { display: block; } }
.brief__k { display: inline-flex; align-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: .6rem; }
.brief__list > div { display: grid; grid-template-columns: 6.2rem 1fr; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.brief__list > div:last-child { border-bottom: 0; }
.brief__list dt { color: var(--mute-2); }
.brief__list dd.is-empty { color: var(--mute-2); }
.brief__list dd.is-new { animation: flashIn .7s var(--ease); }
@keyframes flashIn { from { color: var(--accent-hi); transform: translateX(6px); } }
.quote__alt { margin-top: 1.2rem; color: var(--mute); font-size: .95rem; }

.form { position: relative; display: grid; gap: 1.4rem; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: var(--bg-2); scroll-margin-top: calc(var(--header-h) + 12px); }
.wz__top { display: grid; gap: .55rem; }
.wz__label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.wz__bar { height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.wz__bar span { display: block; height: 100%; width: 33.33%; background: var(--accent); transition: width .5s var(--ease); }
.wz__step { display: grid; gap: 1.6rem; }
.q legend { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .6rem; font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; margin-bottom: .85rem; padding: 0; }
.opt { font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: var(--mute-2); text-transform: none; }
.pick { display: flex; flex-wrap: wrap; gap: .45rem; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .92rem; color: var(--mute); transition: all .2s var(--ease); }
.pick label:hover span { color: var(--ink); border-color: var(--ink); }
.pick input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.pick input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.pick--hint span { border-style: dashed; }
.fields { display: grid; gap: 1rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .86rem; color: var(--mute); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: var(--r); border: 1px solid var(--line-2); background: #090909; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .22); }
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent-hi); }
.hp { position: absolute; left: -9999px; }
.wz__nav { display: flex; flex-wrap: wrap; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.wz__next { flex: 1 1 auto; }
@media (min-width: 640px) { .wz__next { flex: 0 0 auto; margin-left: auto; } }
.form__status { font-size: .92rem; color: var(--mute); min-height: 1.4em; margin-top: -.4rem; }
.form__status.is-ok { color: #9be7b5; } .form__status.is-err { color: var(--accent-hi); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-block: 3rem 3.5rem; border-top: 1px solid var(--line); }
.footer__big { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 15vw, 13rem); line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .55); margin-bottom: 1.6rem; white-space: nowrap; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.6rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); }

/* ==========================================================================
   Movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .motion [data-intro], .motion [data-reveal], .motion [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

.footer__ic { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); transition: border-color .2s, color .2s; }
.footer__ic:hover { border-color: var(--accent); color: var(--accent-hi); }
.footer__ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.works-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); padding: 1.2rem 1.4rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.works-cta p { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(1.4rem, 4.5vw, 2rem); line-height: 1; }
@media (max-width: 519px) { .works-cta .btn { width: 100%; } }

/* ==========================================================================
   Celular (iPhone y navegador de Instagram)
   ========================================================================== */
@media (max-width: 899px) {
  html, body { overflow-x: hidden; }          /* iPhones con iOS viejo no entienden overflow: clip */
  .hero { padding-top: 1.6rem; gap: 2rem; }
  .status { margin-bottom: 1rem; }
  .hero__title { margin-bottom: 1.1rem; font-size: min(16.2vw, 5.2rem); line-height: .86; }
  .hero--sys .hero__title { font-size: min(16vw, 4.8rem); }
  .section__title { font-size: min(13vw, 4.2rem); }
  .hero__lede { margin-bottom: 1.4rem; }
  .section { padding-block: 3.4rem; }
  .section__head { margin-bottom: 1.6rem; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone__screen { border-radius: 24px; }
  .tag { font-size: .58rem; }
  .app__list .av { display: none; }
  .app__list li { font-size: .74rem; }
}
