/* ==========================================================================
   Nova Publicidad — Propuesta 2
   Base blanca, tipografía condensada de la marca, violeta #6633FF como
   color de acción. Los movimientos se inspiran en la onda del logo.
   ========================================================================== */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #000000;
  --white: #ffffff;
  --paper: #f3f3f5;
  --paper-2: #e7e7ec;
  --graphite: #333333;
  --violet: #6633ff;
  --violet-press: #5223eb;
  --violet-tint: #efeaff;
  --line: #e2e2e8;
  --muted: #5e5e67;
  --muted-dark: #a3a3ad;
  --error: #c4002b;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1360px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --header-h: 80px;
  --r-lg: clamp(20px, 2.2vw, 32px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--violet); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
  text-wrap: balance;
}

.h2 { font-size: clamp(3rem, 6.4vw, 5.75rem); }
.h3 { font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 700; line-height: 1; }

.lead {
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.section { padding-block: clamp(96px, 12vw, 176px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 88px);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease);
}

/* Relleno que sube desde abajo, como las barras del logo */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--violet { background: var(--violet); color: var(--white); }
.btn--violet::before { background: var(--ink); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink::before { background: var(--violet); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--white); }

.btn--small { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

.btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

.link {
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.link:hover { color: var(--violet); background-image: linear-gradient(var(--violet), var(--violet)); }

/* --------------------------------------------------------------------------
   Transición entre páginas: barras que suben como los trazos del logo
   -------------------------------------------------------------------------- */
.transition {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  pointer-events: none;
}
.transition span {
  flex: 1;
  height: 112%;
  margin-right: -1px;
  margin-top: -6%;
  border-radius: 999px 999px 0 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
}
.transition span:nth-child(5n + 3) { background: var(--violet); }
.is-entering .transition span { transform: scaleY(1); }
.is-entering .transition { animation: transition-failsafe 0s linear 2.5s forwards; }
@keyframes transition-failsafe { to { visibility: hidden; } }

/* --------------------------------------------------------------------------
   Encabezado
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: transform 0.45s var(--ease), background-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand { display: block; margin-right: auto; padding-block: 8px; }
.brand img { width: auto; height: 20px; }

.nav ul {
  display: flex;
  gap: clamp(20px, 2.6vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  position: relative;
  display: block;
  padding-block: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
}
.menu-toggle[aria-expanded="true"] { background: var(--white); color: var(--ink); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 36px;
  background: var(--violet);
  color: var(--white);
  clip-path: circle(0% at calc(100% - 60px) 40px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - 60px) 40px);
  visibility: visible;
  transition: clip-path 0.7s var(--ease), visibility 0s;
}
.menu ul { margin: 0; padding: 0; list-style: none; }
.menu ul a {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 16vw, 5rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-decoration: none;
}
.menu ul a[aria-current="page"] { color: var(--ink); }
.menu__foot { display: grid; gap: 6px; font-size: 0.9375rem; }
.menu__foot a { text-decoration: none; }

.header.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.menu-open .brand img { filter: invert(1); }

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Portada de Inicio: cuerdas + titular con palabra que rota
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, 100svh);
  overflow: hidden;
  background: var(--white);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.hero__content {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 12.4vw, 12.75rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: clip; padding-bottom: 0.02em; }
.hero__line > span { display: inline-block; }

.slot {
  position: relative;
  display: block;
  height: 0.98em;
  overflow: clip;
}
.slot__word {
  position: absolute;
  left: 0;
  top: 0.02em;
  white-space: nowrap;
}
.slot__word[aria-hidden="true"] { visibility: hidden; }
.js .slot__word[aria-hidden="true"] { visibility: visible; transform: translateY(110%); }

.stories {
  display: flex;
  gap: 6px;
  width: min(440px, 100%);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.stories li { flex: 1; }
.stories button {
  display: block;
  width: 100%;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.stories button span {
  position: relative;
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--line);
}
.stories button i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
}
.stories .is-done i { transform: scaleX(1); }

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(28px, 3.5vw, 48px);
}
.hero__lead { color: var(--graphite); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Encabezado de páginas internas */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(72px, 10vw, 140px));
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.page-hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: 0.86;
  text-transform: uppercase;
}
.page-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(24px, 3vw, 40px);
}

.chips-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.chips-nav a:hover { background: var(--ink); color: var(--white); }

/* --------------------------------------------------------------------------
   Cinta de servicios (marquesina)
   -------------------------------------------------------------------------- */
.ticker {
  padding-block: clamp(28px, 4vw, 52px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.ticker__row {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker__row + .ticker__row { margin-top: clamp(4px, 1vw, 12px); }
.ticker__group { display: flex; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.32em;
  padding-right: 0.32em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.25rem, 8.5vw, 8rem);
  line-height: 1.04;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item img { width: auto; height: 0.62em; }
.ticker__row--outline .ticker__item {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--violet);
}
.ticker__row--outline .ticker__item img { opacity: 0.9; }

/* --------------------------------------------------------------------------
   Lista de servicios con vista previa
   -------------------------------------------------------------------------- */
.svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.svc-list a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
}
.svc-list__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.svc-list__desc { color: var(--muted); max-width: 36ch; }
.svc-list__go {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--ink);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.5s var(--ease);
}
.svc-list__go svg { width: 18px; height: 18px; }
.svc-list a:hover .svc-list__name { color: var(--violet); transform: translateX(0.18em); }
.svc-list a:hover .svc-list__go { background: var(--violet); box-shadow: none; color: var(--white); transform: rotate(-45deg); }

.svc-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: clamp(280px, 24vw, 380px);
  border-radius: 22px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.3s, scale 0.45s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}
.svc-preview.is-visible { opacity: 1; scale: 1; }
.svc-preview__stack { position: relative; aspect-ratio: 4 / 3; }
.svc-preview .vis { position: absolute; inset: 0; opacity: 0; }
.svc-preview .vis.is-shown { opacity: 1; }

/* --------------------------------------------------------------------------
   Demo de formatos
   -------------------------------------------------------------------------- */
.formats { background: var(--paper); }

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--white);
}
.tabs button {
  position: relative;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}
.tabs button[aria-selected="true"] { color: var(--white); }
.tabs__pill {
  position: absolute;
  top: 5px;
  left: 0;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}
.tabs { position: relative; }
.no-js .tabs button[aria-selected="true"] { background: var(--ink); }
.tabs button { z-index: 1; }

.formats__stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(380px, 52vw, 660px);
  margin-top: clamp(28px, 3vw, 40px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 1px 1px, #d2d2da 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--white);
}
.formats__meta {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 24px);
  display: grid;
  gap: 2px;
  font-size: 0.875rem;
}
.formats__meta b { font-weight: 600; }
.formats__meta span { color: var(--muted); }

.ad {
  position: relative;
  container-type: size;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 40px 80px -40px rgba(20, 0, 80, 0.55);
}
.ad__inner {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 7cqmin;
}
.ad__mark { width: auto; }
.ad__title {
  margin: 0;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
}
.ad__cta {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 999px;
  background: var(--violet);
  font-weight: 600;
  white-space: nowrap;
}
.ad__handle, .ad__tag { font-size: 3.2cqmin; color: rgba(255, 255, 255, 0.72); }
.ad__tag { justify-self: end; }
.ad__bars { display: none; gap: 1cqw; }
.ad__bars i { flex: 1; height: 0.7cqw; border-radius: 9px; background: rgba(255, 255, 255, 0.35); }
.ad__bars i:first-child { background: var(--white); }

/* Post 1:1 */
.ad[data-format="post"] .ad__inner {
  grid-template: "mark tag" auto ". ." 1fr "title title" auto "cta handle" auto / 1fr auto;
  row-gap: 4cqmin;
}
.ad[data-format="post"] .ad__mark { grid-area: mark; height: 26cqh; }
.ad[data-format="post"] .ad__tag { grid-area: tag; align-self: start; }
.ad[data-format="post"] .ad__title { grid-area: title; font-size: 11.5cqw; }
.ad[data-format="post"] .ad__cta { grid-area: cta; padding: 2.6cqw 4.4cqw; font-size: 3.6cqw; }
.ad[data-format="post"] .ad__handle { grid-area: handle; align-self: center; }

/* Historia 9:16 */
.ad[data-format="story"] .ad__inner {
  grid-template: "bars" auto "tag" auto "mark" 1fr "title" auto "cta" auto / 1fr;
  row-gap: 3cqh;
  justify-items: center;
  text-align: center;
  padding: 5cqw 7cqw 9cqw;
}
.ad[data-format="story"] .ad__bars { grid-area: bars; display: flex; width: 100%; }
.ad[data-format="story"] .ad__tag { grid-area: tag; justify-self: start; font-size: 3.6cqw; }
.ad[data-format="story"] .ad__mark { grid-area: mark; height: 26cqh; align-self: center; }
.ad[data-format="story"] .ad__title { grid-area: title; font-size: 17cqw; }
.ad[data-format="story"] .ad__cta { grid-area: cta; justify-self: center; padding: 4cqw 8cqw; font-size: 5.4cqw; }
.ad[data-format="story"] .ad__handle { display: none; }

/* Pantalla 16:9 */
.ad[data-format="screen"] .ad__inner {
  grid-template: "mark tag" auto "mark title" 1fr "mark cta" auto / auto 1fr;
  column-gap: 6cqw;
  row-gap: 3cqh;
  padding: 7cqh 6cqw;
}
.ad[data-format="screen"] .ad__mark { grid-area: mark; height: 86cqh; align-self: center; }
.ad[data-format="screen"] .ad__tag { grid-area: tag; }
.ad[data-format="screen"] .ad__title { grid-area: title; align-self: center; font-size: 8.6cqw; }
.ad[data-format="screen"] .ad__cta { grid-area: cta; padding: 1.6cqw 2.8cqw; font-size: 2.2cqw; }
.ad[data-format="screen"] .ad__handle { display: none; }

/* Valla 3:1 */
.ad[data-format="billboard"] { border-radius: 4px; }
.ad[data-format="billboard"] .ad__inner {
  grid-template: "mark title" 1fr "mark handle" auto / auto 1fr;
  column-gap: 5cqw;
  padding: 9cqh 5cqw;
  align-items: center;
}
.ad[data-format="billboard"] .ad__mark { grid-area: mark; height: 82cqh; }
.ad[data-format="billboard"] .ad__title { grid-area: title; font-size: 8.2cqw; line-height: 0.9; }
.ad[data-format="billboard"] .ad__handle { grid-area: handle; font-size: 2cqw; }
.ad[data-format="billboard"] .ad__cta,
.ad[data-format="billboard"] .ad__tag { display: none; }

/* Poste de la valla */
.formats__stage[data-format="billboard"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: var(--post, 0px);
  border-radius: 4px 4px 0 0;
  background: var(--graphite);
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Proceso con progreso por scroll
   -------------------------------------------------------------------------- */
.process { position: relative; }
.process__track {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.process__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { padding-top: 28px; }
.step__n {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.85;
  color: var(--paper-2);
  transition: color 0.5s var(--ease);
}
.step.is-reached .step__n { color: var(--violet); }
.step__title {
  margin: 22px 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}
.step p { max-width: 30ch; color: var(--muted); }
.no-js .step__n, .reduced .step__n { color: var(--violet); }

/* --------------------------------------------------------------------------
   Llamada final
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding-block: clamp(104px, 13vw, 200px) clamp(72px, 8vw, 120px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px clamp(32px, 6vw, 96px);
}
.cta__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 12vw, 12rem);
  line-height: 1;
  text-transform: uppercase;
}
.cta__text { max-width: 40ch; margin-top: 28px; color: var(--muted-dark); font-size: clamp(1.0625rem, 1.35vw, 1.25rem); }
.magnet {
  display: grid;
  place-items: center;
  width: clamp(150px, 15vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s;
}
.magnet:hover { background: var(--white); color: var(--ink); }
.magnet span { display: block; pointer-events: none; }

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */
.footer {
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--graphite);
}
.footer__about { max-width: 30ch; color: var(--muted-dark); }
.footer__h { margin: 0 0 14px; color: var(--muted-dark); font: 500 0.875rem/1.4 var(--body); }
.footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer ul a {
  text-decoration: none;
  background: linear-gradient(var(--violet), var(--violet)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease);
}
.footer ul a:hover { background-size: 100% 2px; }
.footer__word { margin-top: clamp(56px, 8vw, 112px); }
.footer__word img { width: 100%; height: auto; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
  color: var(--muted-dark);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Servicios: panel fijo que cambia con el scroll
   -------------------------------------------------------------------------- */
.scrolly {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.scrolly__stage {
  position: sticky;
  top: calc(var(--header-h) + 7vh);
  order: 2;
}
.scrolly__screen {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.scrolly__screen .vis {
  position: absolute;
  inset: 0;
  opacity: 0;
  scale: 0.96;
  transition: opacity 0.5s var(--ease), scale 0.7s var(--ease);
}
.scrolly__screen .vis.is-shown { opacity: 1; scale: 1; }
.scrolly__dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.scrolly__dots i {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--paper-2);
  transition: width 0.4s var(--ease), background-color 0.4s;
}
.scrolly__dots i.is-on { width: 28px; background: var(--violet); }

.svc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86vh;
  padding-block: 8vh;
  scroll-margin-top: var(--header-h);
}
.svc__visual { display: none; }
.svc__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
  transition: color 0.4s;
}
.svc__desc { max-width: 42ch; margin: 22px 0 26px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.svc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc__list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
}
.svc:not(.is-current) .svc__name { color: #c9c9d1; }
.no-js .svc .svc__name, .reduced .svc .svc__name { color: var(--ink); }

/* --------------------------------------------------------------------------
   Contacto: armador de brief
   -------------------------------------------------------------------------- */
.brief {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 clamp(36px, 4vw, 56px);
  padding: 0;
  list-style: none;
  counter-reset: paso;
}
.progress li {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  counter-increment: paso;
}
.progress li::before {
  content: "";
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  background-image: linear-gradient(var(--violet), var(--violet));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.6s var(--ease);
}
.progress li span::before { content: counter(paso) ". "; }
.progress li.is-current { color: var(--ink); font-weight: 600; }
.progress li.is-current::before { background-size: 50% 100%; }
.progress li.is-done::before { background-size: 100% 100%; }
.progress li.is-done { color: var(--ink); }

.panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .panel:not(.is-current) { display: none; }
.panel__title {
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
}
.panel__hint { margin-bottom: 28px; color: var(--muted); }
.no-js .panel + .panel { margin-top: 64px; }

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--paper);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.option b { font-weight: 600; font-size: 1.0625rem; }
.option small { color: var(--muted); font-size: 0.875rem; line-height: 1.4; transition: color 0.25s; }
.option span:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.option input:checked + span { background: var(--ink); color: var(--white); }
.option input:checked + span small { color: var(--muted-dark); }
.option input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--paper);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.chip input:checked + span { background: var(--violet); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 3px; }

.group + .group { margin-top: 32px; }
.group__label { display: block; margin-bottom: 12px; font-size: 0.9375rem; font-weight: 600; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.field { display: grid; align-content: start; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field__hint { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9a9aa3; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--violet); box-shadow: 0 1px 0 var(--violet); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field__error { color: var(--error); font-size: 0.875rem; }
.panel__error { margin-top: 16px; color: var(--error); font-size: 0.9375rem; }

.brief__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: clamp(32px, 4vw, 48px);
}
.brief__nav .btn--ghost { order: -1; }
.brief__note { flex-basis: 100%; color: var(--muted); font-size: 0.875rem; }
.no-js .brief__nav [data-prev], .no-js .brief__nav [data-next] { display: none; }

/* Resumen en vivo */
.summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--white);
}
.summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.summary__head img { width: auto; height: 46px; }
.summary__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
.summary dl { display: grid; margin: 0; }
.summary dl div { padding-block: 14px; border-top: 1px solid var(--graphite); }
.summary dt { color: var(--muted-dark); font-size: 0.8125rem; }
.summary dd { margin: 2px 0 0; font-size: 1.0625rem; font-weight: 500; }
.summary dd.is-empty { color: #6d6d78; font-weight: 400; }
.summary dd.is-flash { animation: flash 0.7s var(--ease); }
@keyframes flash { 0% { color: var(--violet); transform: translateX(6px); } 100% { color: inherit; transform: none; } }
.summary__foot { margin-top: 18px; color: var(--muted-dark); font-size: 0.875rem; }

.brief__done { display: none; }
.brief.is-sent .brief__done { display: block; }
.brief.is-sent .brief__form { display: none; }
.brief__done .panel__title { margin-bottom: 16px; }
.brief__done p { max-width: 44ch; margin-bottom: 28px; color: var(--muted); }

/* Contacto directo */
.direct {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}
.direct > div { padding: 24px 24px 0 0; }
.direct dt { color: var(--muted); font-size: 0.875rem; }
.direct dd { margin: 4px 0 0; font-size: 1.125rem; font-weight: 500; }
.direct a {
  text-decoration: none;
  background: linear-gradient(var(--violet), var(--violet)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease);
}
.direct a:hover { background-size: 100% 2px; }

/* ==========================================================================
   Ilustraciones animadas de servicios (.vis)
   Todas usan unidades del contenedor (cqw) para verse igual en cualquier tamaño.
   Se animan cuando tienen la clase .is-on; sin ella muestran el estado final.
   ========================================================================== */
.vis {
  position: relative;
  aspect-ratio: 4 / 3;
  container-type: inline-size;
  overflow: hidden;
  background: var(--paper);
  font-family: var(--body);
  color: var(--ink);
}
.vis * { box-sizing: border-box; }

/* 1. Branding: construcción de marca */
.vb-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.vb-grid line { --len: 400; stroke: #d3d3db; stroke-width: 0.6; stroke-dasharray: var(--len); }
.vb-grid circle, .vb-grid rect { fill: none; stroke: var(--violet); stroke-width: 1; stroke-dasharray: var(--len); }
.vb-grid circle { --len: 530; }
.vb-grid rect { --len: 680; }
.vb-mark {
  position: absolute;
  left: 15%;
  top: 22%;
  height: 56%;
  width: auto;
}
.vb-type {
  position: absolute;
  left: 60%;
  top: 17%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21cqw;
  line-height: 1;
}
.vb-type small {
  display: block;
  margin-top: 1cqw;
  font-family: var(--body);
  font-weight: 500;
  font-size: 2.2cqw;
  color: var(--muted);
}
.vb-swatches { position: absolute; left: 60%; top: 64%; display: flex; gap: 1.6cqw; }
.vb-swatches i { width: 7cqw; height: 7cqw; border-radius: 50%; }
.vb-swatches i:nth-child(1) { background: var(--ink); }
.vb-swatches i:nth-child(2) { background: var(--violet); }
.vb-swatches i:nth-child(3) { background: var(--graphite); }
.vb-swatches i:nth-child(4) { background: var(--white); box-shadow: inset 0 0 0 1px #c9c9d1; }

.is-on .vb-grid line { animation: draw 1.1s var(--ease) both; }
.is-on .vb-grid line:nth-child(2) { animation-delay: 0.08s; }
.is-on .vb-grid line:nth-child(3) { animation-delay: 0.16s; }
.is-on .vb-grid line:nth-child(4) { animation-delay: 0.24s; }
.is-on .vb-grid line:nth-child(5) { animation-delay: 0.32s; }
.is-on .vb-grid line:nth-child(6) { animation-delay: 0.4s; }
.is-on .vb-grid circle { animation: draw 1.4s var(--ease) 0.35s both; }
.is-on .vb-grid rect { animation: draw 1.4s var(--ease) 0.5s both; }
.is-on .vb-mark { animation: wipe 1.1s var(--ease) 1s both; }
.is-on .vb-type { animation: rise 0.8s var(--ease) 1.4s both; }
.is-on .vb-swatches i { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.is-on .vb-swatches i:nth-child(1) { animation-delay: 1.7s; }
.is-on .vb-swatches i:nth-child(2) { animation-delay: 1.8s; }
.is-on .vb-swatches i:nth-child(3) { animation-delay: 1.9s; }
.is-on .vb-swatches i:nth-child(4) { animation-delay: 2s; }

@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 2. Redes sociales: feed y notificaciones */
.vr-phone {
  position: absolute;
  left: 9%;
  top: 9%;
  width: 37cqw;
  height: 80cqw;
  padding: 3cqw 2.4cqw;
  border-radius: 5cqw;
  background: var(--white);
  box-shadow: 0 0 0 1.2cqw var(--ink), 0 4cqw 8cqw -4cqw rgba(0, 0, 0, 0.4);
}
.vr-head { display: flex; align-items: center; gap: 2cqw; }
.vr-avatar {
  display: grid;
  place-items: center;
  width: 8cqw;
  height: 8cqw;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0.6cqw var(--white), 0 0 0 1cqw var(--violet);
}
.vr-avatar { color: var(--white); font-family: var(--display); font-weight: 800; font-size: 3cqw; }
.vr-name { display: grid; line-height: 1.2; }
.vr-name b { font-size: 2.6cqw; font-weight: 600; }
.vr-name span { font-size: 1.9cqw; color: var(--muted); }
.vr-highlights { display: flex; gap: 2cqw; margin: 2.6cqw 0; }
.vr-highlights i { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 0.4cqw var(--paper-2); }
.vr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8cqw; }
.vr-grid i { aspect-ratio: 1; border-radius: 0.6cqw; background: var(--paper-2); position: relative; overflow: hidden; }
.vr-grid i:nth-child(1) { background: var(--ink); }
.vr-grid i:nth-child(2) { background: var(--violet); }
.vr-grid i:nth-child(3) { background: var(--paper-2); }
.vr-grid i:nth-child(4) { background: var(--graphite); }
.vr-grid i:nth-child(5) { background: var(--ink); }
.vr-grid i:nth-child(6) { background: var(--violet-tint); }
.vr-grid i:nth-child(7) { background: var(--violet); }
.vr-grid i:nth-child(8) { background: var(--paper-2); }
.vr-grid i:nth-child(9) { background: var(--ink); }
.vr-grid i:nth-child(2)::after,
.vr-grid i:nth-child(6)::after,
.vr-grid i:nth-child(9)::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.85;
}
.vr-grid i:nth-child(6)::after { background: var(--violet); }
.vr-notes {
  position: absolute;
  left: 52%;
  top: 16%;
  display: grid;
  gap: 2.4cqw;
  width: 42cqw;
}
.vr-note {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2cqw 2.4cqw;
  border-radius: 2.6cqw;
  background: var(--white);
  font-size: 2.3cqw;
  line-height: 1.3;
  box-shadow: 0 2cqw 4cqw -2cqw rgba(0, 0, 0, 0.25);
}
.vr-note b { font-weight: 600; }
.vr-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
}
.vr-ic svg { width: 3.2cqw; height: 3.2cqw; }
.vr-ic--ink { background: var(--ink); }

.is-on .vr-grid i { animation: pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.is-on .vr-grid i:nth-child(1) { animation-delay: 0.2s; }
.is-on .vr-grid i:nth-child(2) { animation-delay: 0.28s; }
.is-on .vr-grid i:nth-child(3) { animation-delay: 0.36s; }
.is-on .vr-grid i:nth-child(4) { animation-delay: 0.44s; }
.is-on .vr-grid i:nth-child(5) { animation-delay: 0.52s; }
.is-on .vr-grid i:nth-child(6) { animation-delay: 0.6s; }
.is-on .vr-grid i:nth-child(7) { animation-delay: 0.68s; }
.is-on .vr-grid i:nth-child(8) { animation-delay: 0.76s; }
.is-on .vr-grid i:nth-child(9) { animation-delay: 0.84s; }
.is-on .vr-note { animation: note-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) both; }
.is-on .vr-note:nth-child(1) { animation-delay: 1s; }
.is-on .vr-note:nth-child(2) { animation-delay: 1.8s; }
.is-on .vr-note:nth-child(3) { animation-delay: 2.6s; }
.is-on .vr-ic--heart svg { animation: beat 1.4s ease-in-out 1.6s infinite; }
@keyframes note-in { from { opacity: 0; transform: translateX(30%) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(0.95); } 45% { transform: scale(1.15); } }

/* 3. Producción audiovisual: visor de cámara */
.vis--video { background: var(--ink); color: var(--white); }
.vv-scene { position: absolute; inset: 0; }
.vv-sun {
  position: absolute;
  left: 58%;
  top: 22%;
  width: 22cqw;
  height: 22cqw;
  border-radius: 50%;
  background: var(--violet);
}
.vv-ground {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -40%;
  height: 70%;
  border-radius: 50% 50% 0 0;
  background: var(--graphite);
}
.vv-person {
  position: absolute;
  left: 30%;
  bottom: 18%;
  width: 9cqw;
  height: 26cqw;
}
.vv-person::before { content: ""; position: absolute; left: 50%; top: 0; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--white); transform: translateX(-50%); }
.vv-person::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 19cqw; border-radius: 4.5cqw 4.5cqw 1cqw 1cqw; background: var(--white); }
.vv-thirds {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(33.33% - 0.5px), rgba(255,255,255,.18) calc(33.33% - 0.5px), rgba(255,255,255,.18) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255,255,255,.18) calc(66.66% - 0.5px), rgba(255,255,255,.18) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px)),
    linear-gradient(180deg, transparent calc(33.33% - 0.5px), rgba(255,255,255,.18) calc(33.33% - 0.5px), rgba(255,255,255,.18) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255,255,255,.18) calc(66.66% - 0.5px), rgba(255,255,255,.18) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px));
}
.vv-corner { position: absolute; width: 6cqw; height: 6cqw; border: 0.5cqw solid var(--white); }
.vv-corner.tl { left: 5%; top: 7%; border-right: 0; border-bottom: 0; }
.vv-corner.tr { right: 5%; top: 7%; border-left: 0; border-bottom: 0; }
.vv-corner.bl { left: 5%; bottom: 7%; border-right: 0; border-top: 0; }
.vv-corner.br { right: 5%; bottom: 7%; border-left: 0; border-top: 0; }
.vv-focus {
  position: absolute;
  left: 34.5%;
  top: 62%;
  width: 14cqw;
  height: 14cqw;
  border: 0.4cqw solid #ffd84d;
  transform: translate(-50%, -50%);
}
.vv-top {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 9.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2.4cqw;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.vv-rec { display: flex; align-items: center; gap: 1cqw; }
.vv-rec i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #ff3b3b; }
.vv-meter {
  position: absolute;
  right: 9%;
  bottom: 11%;
  display: flex;
  align-items: flex-end;
  gap: 0.6cqw;
  height: 8cqw;
}
.vv-meter i { width: 1cqw; height: 30%; border-radius: 1cqw; background: var(--white); transform-origin: bottom; }
.vv-meter i:nth-child(n + 7) { background: #ffd84d; }

.is-on .vv-rec i { animation: blink 1s steps(1) infinite; }
.is-on .vv-focus { animation: focus 6s var(--ease) infinite; }
.is-on .vv-meter i { animation: level 0.9s ease-in-out infinite alternate; }
.is-on .vv-meter i:nth-child(2n) { animation-duration: 0.6s; }
.is-on .vv-meter i:nth-child(3n) { animation-duration: 1.1s; animation-delay: 0.2s; }
.is-on .vv-sun { animation: float 6s ease-in-out infinite alternate; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes focus {
  0%, 12% { left: 50%; top: 50%; width: 22cqw; height: 22cqw; }
  20%, 42% { left: 34.5%; top: 62%; width: 14cqw; height: 14cqw; }
  22% { width: 12cqw; height: 12cqw; }
  50%, 72% { left: 69%; top: 37%; width: 26cqw; height: 26cqw; }
  52% { width: 23cqw; height: 23cqw; }
  80%, 100% { left: 50%; top: 50%; width: 22cqw; height: 22cqw; }
}
@keyframes level { from { transform: scaleY(0.4); } to { transform: scaleY(2.8); } }
@keyframes float { to { transform: translate(-6%, 8%); } }

/* 4. Publicidad digital: panel de campaña */
.vd-card {
  position: absolute;
  inset: 8% 8%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 3cqw;
  padding: 4cqw;
  border-radius: 3.6cqw;
  background: var(--white);
  box-shadow: 0 3cqw 6cqw -3cqw rgba(0, 0, 0, 0.25);
}
.vd-head { display: flex; align-items: center; justify-content: space-between; font-size: 2.6cqw; }
.vd-head b { font-weight: 600; }
.vd-live { display: inline-flex; align-items: center; gap: 1cqw; padding: 0.8cqw 2cqw; border-radius: 9cqw; background: var(--violet-tint); color: var(--violet); font-weight: 600; font-size: 2cqw; }
.vd-live i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--violet); }
.vd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.vd-kpis div { display: grid; gap: 0.4cqw; padding: 2cqw 2.4cqw; border-radius: 2cqw; background: var(--paper); }
.vd-kpis span { font-size: 1.9cqw; color: var(--muted); }
.vd-kpis b { font-family: var(--display); font-weight: 800; font-size: 5.4cqw; white-space: nowrap; line-height: 1; font-variant-numeric: tabular-nums; }
.vd-kpis div:last-child { background: var(--violet); color: var(--white); }
.vd-kpis div:last-child span { color: rgba(255, 255, 255, 0.8); }
.vd-chartbox { position: relative; min-height: 0; }
.vd-chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vd-line { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; }
.vd-dot {
  position: absolute;
  right: 0;
  top: 10%;
  width: 2.2cqw;
  height: 2.2cqw;
  margin: -1.1cqw -1.1cqw 0 0;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0.8cqw var(--violet-tint);
}
.vd-budget { display: grid; gap: 1cqw; font-size: 1.9cqw; color: var(--muted); }
.vd-budget div { height: 1.4cqw; border-radius: 2cqw; background: var(--paper); overflow: hidden; }
.vd-budget div i { display: block; height: 100%; width: 68%; border-radius: inherit; background: var(--ink); transform-origin: left; }

.is-on .vd-line { animation: draw-line 2.2s var(--ease) 0.3s both; }
.is-on .vd-area { animation: fade-in 1s ease 1.6s both; }
.is-on .vd-dot { animation: pop 0.4s ease 2.3s both, pulse 1.6s ease-in-out 2.7s infinite; }
.is-on .vd-budget div i { animation: grow 2s var(--ease) 0.4s both; }
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 50% { transform: scale(1.6); } }

/* 5. Diseño gráfico: pliego de impresión */
.vg-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40cqw;
  height: 56cqw;
  transform: translate(-50%, -50%) rotate(-3deg);
}
.vg-poster {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 2cqw;
  padding: 3cqw;
  background: var(--white);
  box-shadow: 0 3cqw 6cqw -3cqw rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.vg-img { position: relative; border-radius: 1cqw; background: var(--violet); overflow: hidden; }
.vg-img::before { content: ""; position: absolute; right: -14%; bottom: -24%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.vg-img::after { content: ""; position: absolute; left: 14%; top: 14%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.vg-title { font-family: var(--display); font-weight: 800; font-size: 7cqw; line-height: 0.9; text-transform: uppercase; }
.vg-lines { display: grid; gap: 1cqw; }
.vg-lines i { height: 1cqw; border-radius: 1cqw; background: var(--paper-2); }
.vg-lines i:nth-child(2) { width: 80%; }
.vg-lines i:nth-child(3) { width: 55%; }
.vg-crop { position: absolute; width: 4cqw; height: 4cqw; }
.vg-crop::before, .vg-crop::after { content: ""; position: absolute; background: var(--ink); }
.vg-crop::before { width: 100%; height: 1px; }
.vg-crop::after { width: 1px; height: 100%; }
.vg-crop.tl { left: -5.5cqw; top: -5.5cqw; }
.vg-crop.tl::before { bottom: 1.5cqw; left: 0; } .vg-crop.tl::after { right: 1.5cqw; top: 0; }
.vg-crop.tr { right: -5.5cqw; top: -5.5cqw; }
.vg-crop.tr::before { bottom: 1.5cqw; right: 0; } .vg-crop.tr::after { left: 1.5cqw; top: 0; }
.vg-crop.bl { left: -5.5cqw; bottom: -5.5cqw; }
.vg-crop.bl::before { top: 1.5cqw; left: 0; } .vg-crop.bl::after { right: 1.5cqw; bottom: 0; }
.vg-crop.br { right: -5.5cqw; bottom: -5.5cqw; }
.vg-crop.br::before { top: 1.5cqw; right: 0; } .vg-crop.br::after { left: 1.5cqw; bottom: 0; }
.vg-cmyk { position: absolute; left: 6%; top: 50%; display: grid; gap: 1cqw; transform: translateY(-50%); }
.vg-cmyk i { width: 4.4cqw; height: 4.4cqw; }
.vg-cmyk i:nth-child(1) { background: #00b7eb; }
.vg-cmyk i:nth-child(2) { background: #ff0090; }
.vg-cmyk i:nth-child(3) { background: #ffe600; }
.vg-cmyk i:nth-child(4) { background: var(--ink); }
.vg-reg { position: absolute; right: 7%; top: 12%; width: 7cqw; height: 7cqw; }
.vg-reg circle, .vg-reg line { fill: none; stroke: var(--ink); stroke-width: 1.5; }

.is-on .vg-sheet { animation: sheet-in 0.9s var(--ease) both; }
.is-on .vg-img { animation: slide-down 0.8s var(--ease) 0.6s both; }
.is-on .vg-title { animation: slide-right 0.8s var(--ease) 0.9s both; }
.is-on .vg-lines i { animation: grow 0.8s var(--ease) both; transform-origin: left; }
.is-on .vg-lines i:nth-child(1) { animation-delay: 1.1s; }
.is-on .vg-lines i:nth-child(2) { animation-delay: 1.2s; }
.is-on .vg-lines i:nth-child(3) { animation-delay: 1.3s; }
.is-on .vg-crop { animation: fade-in 0.6s ease 1.5s both; }
.is-on .vg-cmyk i { animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.is-on .vg-cmyk i:nth-child(1) { animation-delay: 1.7s; }
.is-on .vg-cmyk i:nth-child(2) { animation-delay: 1.8s; }
.is-on .vg-cmyk i:nth-child(3) { animation-delay: 1.9s; }
.is-on .vg-cmyk i:nth-child(4) { animation-delay: 2s; }
.is-on .vg-reg { animation: spin-in 1s var(--ease) 1.6s both; }
@keyframes sheet-in { from { opacity: 0; transform: translate(-50%, -40%) rotate(4deg); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); } }
@keyframes slide-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes slide-right { from { opacity: 0; transform: translateX(-20%); } to { opacity: 1; transform: none; } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-180deg) scale(0.5); } to { opacity: 1; transform: none; } }

/* 6. Estrategia: embudo de campaña */
.vs-funnel {
  position: absolute;
  left: 50%;
  top: 14%;
  display: grid;
  justify-items: center;
  gap: 1.4cqw;
  width: 62cqw;
  transform: translateX(-50%);
}
.vs-stage {
  display: grid;
  place-items: center;
  height: 12cqw;
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.2cqw;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}
.vs-stage:nth-child(1) { width: 100%; background: var(--graphite); }
.vs-stage:nth-child(2) { width: 76%; background: var(--ink); }
.vs-stage:nth-child(3) { width: 52%; background: var(--violet); }
.vs-goal {
  position: absolute;
  left: 50%;
  top: 70%;
  display: grid;
  place-items: center;
  width: 11cqw;
  height: 11cqw;
  border-radius: 50%;
  background: var(--white);
  color: var(--violet);
  box-shadow: 0 0 0 1.2cqw var(--violet-tint);
  transform: translateX(-50%);
}
.vs-goal svg { width: 5cqw; height: 5cqw; }
.vs-dots { position: absolute; inset: 0; pointer-events: none; }
.vs-dots i {
  position: absolute;
  left: calc(50% + var(--x) * 1cqw);
  top: 6%;
  width: 1.8cqw;
  height: 1.8cqw;
  margin-left: -0.9cqw;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0.45cqw var(--violet);
  opacity: 0;
}
.vs-dots i.drop { background: var(--paper-2); box-shadow: 0 0 0 0.45cqw #b9b9c3; }

.is-on .vs-stage { animation: rise 0.7s var(--ease) both; }
.is-on .vs-stage:nth-child(2) { animation-delay: 0.15s; }
.is-on .vs-stage:nth-child(3) { animation-delay: 0.3s; }
.is-on .vs-dots i { animation: funnel 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-delay: var(--d); }
.is-on .vs-dots i.drop { animation-name: funnel-drop; }
.is-on .vs-goal svg { animation: pulse 1.4s ease-in-out infinite; }
@keyframes funnel {
  0% { opacity: 0; transform: translate(0, 0); }
  10% { opacity: 1; }
  70% { opacity: 1; transform: translate(calc(var(--x) * -1cqw), 46cqw); }
  85%, 100% { opacity: 0; transform: translate(calc(var(--x) * -1cqw), 52cqw); }
}
@keyframes funnel-drop {
  0% { opacity: 0; transform: translate(0, 0); }
  10% { opacity: 1; }
  40% { opacity: 1; transform: translate(calc(var(--x) * -0.3cqw), 16cqw); }
  60%, 100% { opacity: 0; transform: translate(calc(var(--x) * 0.6cqw), 26cqw); }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__stage { display: none; }
  .svc { min-height: 0; padding-block: 48px; border-top: 1px solid var(--line); }
  .svc__visual { display: block; margin-bottom: 28px; border-radius: var(--r-lg); overflow: hidden; }
  .svc:not(.is-current) .svc__name { color: var(--ink); }
  .brief { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .svc-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .svc-list__desc { grid-column: 1; grid-row: 2; }
  .svc-list__go { grid-column: 2; grid-row: 1 / span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .cta__grid { grid-template-columns: 1fr; }
  .direct { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .brand img { height: 17px; }
  .hero__title { font-size: 21.5vw; }
  .page-hero__title { font-size: 22vw; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .steps { grid-template-columns: 1fr; }
  .options, .fields { grid-template-columns: 1fr; }
  .progress li { font-size: 0; gap: 0; }
  .progress li.is-current { font-size: 0.875rem; gap: 10px; grid-column: span 1; }
  .direct { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 0 14px; font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .js .slot__word[aria-hidden="true"] { visibility: hidden; }
}
