/* VOX-Media 2027 — estilo original de Squarespace, mejorado y tipográfico */
:root {
  --bg: #ffffff;
  --soft: #f5f5f4;
  --ink: #1f1f1f;
  --ink-2: #3a3a3a;
  --mute: #6f6f6f;
  --line: #e6e6e3;
  /* mosaico de marca VOX (cine, video, fotografía, diseño), oscurecido para leerse sobre blanco */
  --c1: #978512;
  --c2: #2c8496;
  --c3: #c24a3c;
  --c4: #4c8740;
  --gut: clamp(16px, 4vw, 72px);
  --max: 1680px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: normal; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; }

/* ——— Acentos: subrayado de color que se dibuja al entrar en pantalla ——— */
.hl {
  --hc: var(--c1);
  background-image: linear-gradient(var(--hc), var(--hc));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .06em;
  padding-bottom: .02em;
}
.hl[data-c="2"] { --hc: var(--c2); }
.hl[data-c="3"] { --hc: var(--c3); }
.hl[data-c="4"] { --hc: var(--c4); }
.js .hl { background-size: 0% .06em; transition: background-size 1.1s var(--ease) .35s; }
.js .hl.is-in { background-size: 100% .06em; }

/* ——— Aparición al bajar ——— */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ——— Cabecera, como el original: menú pequeño a la izquierda, logo a la derecha ——— */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; }
.nav a, .lang a, .lang span {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--mute);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover, .lang a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.lang { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.lang span[aria-current] { color: var(--ink); }
.logo { flex: none; }
.logo img { width: 92px; height: auto; }

/* ——— Portada ——— */
.hero { padding: clamp(28px, min(6vw, 7vh), 110px) 0 clamp(56px, 8vw, 120px); }
@supports (height: 1svh) { .hero { padding-top: clamp(28px, min(6vw, 7svh), 110px); } }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin: 0 0 28px; }
.hero__title {
  font-weight: 300; font-size: clamp(46px, min(11.2vw, 15vh), 200px); line-height: .95; letter-spacing: -.05em; margin: 0;
}
/* El título cede ante la altura de la pantalla para que la bajada se vea sin bajar */
@supports (height: 1svh) { .hero__title { font-size: clamp(46px, min(11.2vw, 15svh), 200px); } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.js .hero__title.is-in .line > span { transform: none; }
.hero__foot {
  display: grid; grid-template-columns: 1fr; gap: 20px 48px; align-items: end;
  margin-top: clamp(24px, min(5vw, 4.5vh), 72px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__sub { margin: 0; font-weight: 300; font-size: clamp(22px, min(2.3vw, 3.6vh), 36px); line-height: 1.22; letter-spacing: -.015em; max-width: 26ch; }
.hero__txt { margin: 0; color: var(--mute); font-size: 17px; max-width: 46ch; }
.link-arrow {
  justify-self: start; font-weight: 600; font-size: 17px; text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; white-space: nowrap;
}
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--c3); border-color: var(--c3); }
.link-arrow:hover span { transform: translateX(4px); }
@media (min-width: 1000px) {
  .hero__foot { grid-template-columns: 1.15fr 1fr auto; }
  .link-arrow { justify-self: end; }
}

/* ——— Secciones ——— */
.sec { padding: clamp(72px, 10vw, 150px) 0; }
.sec--soft { background: var(--soft); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: clamp(36px, 5vw, 72px); }
.sec__head h2 { font-weight: 300; font-size: clamp(36px, 5.4vw, 84px); line-height: 1; letter-spacing: -.035em; margin: 0; max-width: 18ch; }
.sec__head p { margin: 0; color: var(--mute); max-width: 52ch; font-size: 18px; }
@media (min-width: 1000px) { .sec__head { grid-template-columns: 1.3fr 1fr; align-items: end; } }

/* ——— Proyectos: dos columnas como el original; tres en pantallas anchas ——— */
.group { margin-top: clamp(48px, 6vw, 88px); }
.group:first-of-type { margin-top: 0; }
.group__title {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin: 0 0 24px; font-weight: 400;
}
.grid { display: grid; grid-template-columns: 1fr; gap: 44px 24px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid > li.is-wide { grid-column: span 2; }
}
.card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.is-wide .card__img { aspect-ratio: auto; height: 100%; }
@media (min-width: 1280px) { .is-wide .card { height: 100%; display: flex; flex-direction: column; } .is-wide .card__img { flex: 1; min-height: 0; } }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__txt { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; }
.card__title { font-size: 20px; font-weight: 400; letter-spacing: -.01em; line-height: 1.25; margin: 0; }
.card__meta { font-size: 13px; color: var(--mute); }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ——— El problema ——— */
.problem__in { display: grid; grid-template-columns: 1fr; gap: 40px 72px; align-items: start; }
@media (min-width: 1000px) { .problem__in { grid-template-columns: 1.25fr 1fr; } }
.problem__big { font-weight: 300; font-size: clamp(34px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.problem__txt p { margin: 0 0 20px; color: var(--ink-2); max-width: 48ch; }
.problem__txt .problem__key { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
@media (min-width: 1000px) { .problem__txt { padding-top: .6em; } }

/* ——— Cómo trabajamos: flujo horizontal ——— */
.flow { position: relative; }
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.flow__track { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.flow__fill { position: absolute; inset: 0; background: linear-gradient(var(--c1), var(--c2), var(--c3), var(--c4)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.node { position: relative; padding: 0 0 44px 44px; }
.node__dot {
  position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line); transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.node:nth-child(1) { --nc: var(--c1); } .node:nth-child(2) { --nc: var(--c2); }
.node:nth-child(3) { --nc: var(--c3); } .node:nth-child(4) { --nc: var(--c4); }
.node.is-on .node__dot { background: var(--nc); border-color: var(--nc); transform: scale(1.15); }
.node__n { display: block; font-size: 13px; letter-spacing: .14em; color: var(--ink); font-weight: 600; }
.node h3 { margin: 6px 0 10px; font-weight: 300; font-size: clamp(32px, 3vw, 46px); letter-spacing: -.035em; line-height: 1; }
.node__do { margin: 0 0 16px; color: var(--ink-2); max-width: 36ch; }
.node__get { margin: 0; font-size: 15px; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line); max-width: 36ch; }
.node__get small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
@media (min-width: 1000px) {
  .flow__steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .flow__track { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .flow__fill { transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4)); }
  .node { padding: 44px 0 0; }
  .node__dot { top: 0; }
}

/* ——— Tiempo, modo y lugar ——— */


/* ——— IA y lo humano ——— */


/* ——— Conversemos ——— */
.listen h2 { font-weight: 300; font-size: clamp(56px, 11vw, 190px); line-height: .95; letter-spacing: -.05em; margin: 0; }
.listen__body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "card"; gap: 28px 72px; margin-top: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) {
  .listen__body { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "intro card" "form card"; align-items: start; }
  .who { position: sticky; top: 96px; }
}
.listen__intro { grid-area: intro; }
.listen__agency { display: block; margin-top: 14px; font-size: 15px; letter-spacing: 0; color: var(--mute); }
.talk { grid-area: form; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin: 0 0 14px; }

.who { grid-area: card; border-top: 1px solid var(--ink); padding-top: 22px; }
.who__id { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.who__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--soft); }
.who__name { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.who__name b { font-weight: 700; }
.who__role { margin: 4px 0 0; color: var(--mute); font-size: 15px; }
.who .facts li { grid-template-columns: 120px 1fr; }

/* Conversemos: tres pasos en orden, en el mismo lenguaje tipográfico del sitio */
.step { border: 0; margin: 0; padding: 22px 0 30px; min-width: 0; border-top: 1px solid var(--line); }
.step:first-child { border-top-color: var(--ink); }
.step__h { display: flex; align-items: baseline; gap: 16px; padding: 0; margin: 0 0 20px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.01em; line-height: 1.25; }
.step__n { flex: none; min-width: 26px; font-size: 13px; letter-spacing: .14em; font-weight: 600; color: var(--ink); transition: color .2s; }
.step__n::before { content: "0"; }
.step.is-done .step__n { color: var(--c4); }
.step.is-wait .step__h { color: var(--mute); }
.step.is-wait .step__n { color: var(--mute); }
.step.is-wait .step__body { display: none; }
.step[data-step="2"].is-done .step__body { display: none; }
.step[data-step="2"].is-done { padding-bottom: 8px; }
.step[data-step="3"] .step__h { margin-bottom: 8px; }
.step__note { margin: 0 0 0 42px; color: var(--mute); max-width: 52ch; font-size: 16px; }
.chans { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-left: 42px; }
.chan { position: relative; display: flex; flex-direction: column; gap: 2px; cursor: pointer; color: var(--mute); transition: color .15s; }
.chan input { position: absolute; opacity: 0; pointer-events: none; }
.chan__t { font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.05; padding-bottom: 6px; background: linear-gradient(var(--c4), var(--c4)) no-repeat left bottom / 0 2px; transition: background-size .35s var(--ease); }
.chan__s { font-size: 13px; color: var(--mute); }
.chan:hover { color: var(--ink); }
.chan:has(input:checked) { color: var(--ink); }
.chan:has(input:checked) .chan__t { background-size: 100% 2px; }
.chan:has(input:focus-visible) .chan__t { outline: 2px solid var(--ink); outline-offset: 4px; }
.talk[data-canal="whatsapp"] .field--mail { display: none; }
.talk[data-canal="video"] .brief__grid { display: none; }
.talk[data-canal="video"] .brief__send { margin-top: 0; }
.brief__ok:focus { outline: none; }
.brief__ok .btn { margin: 14px 0 0 42px; }
.brief__ok .step__note b { color: var(--ink); font-weight: 600; }

.brief__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 32px; margin-left: 42px; }
@media (min-width: 700px) { .brief__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field i { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 18px; color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid #cfcfcb; border-radius: 0; padding: 8px 0 10px; min-height: 44px;
  transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 8px center, right 2px center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-bottom-color: var(--c3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 30px 0 0 42px; }
.brief__send .btn { min-width: 160px; justify-content: center; cursor: pointer; font-family: inherit; }
.brief__send .btn[disabled] { opacity: .6; cursor: progress; }
.brief__msg { margin: 16px 0 0 42px; font-size: 15px; color: var(--c3); }
.brief__msg a { color: var(--ink); font-weight: 600; }

.agenda { width: min(960px, 100vw - 32px); height: min(820px, 100dvh - 32px); padding: 0; border: 0; border-radius: 16px; }
.agenda::backdrop { background: rgba(0,0,0,.55); }
.agenda iframe { width: 100%; height: calc(100% - 52px); border: 0; display: block; }
.listen__lead { margin: 0 0 24px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; letter-spacing: -.01em; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 16px;
  transition: background .15s, color .15s;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--ink-2); }
.btn:not(.btn--solid):hover { background: var(--ink); color: var(--bg); }
.facts { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts li span:first-child { color: var(--mute); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.facts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.facts a:hover { border-color: var(--ink); }

/* ——— Pie ——— */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--mute); }
.foot__in { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ——— Ficha de proyecto ——— */
.sheet { width: min(1180px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.sheet::backdrop { background: rgba(28,28,28,.55); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in .4s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; background: var(--bg); padding: 14px var(--gut); border-bottom: 1px solid var(--line); }
.sheet__bar span { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sheet__close { font: inherit; font-size: 14px; background: none; border: 1px solid var(--line); border-radius: 999px; min-height: 40px; padding: 0 16px; cursor: pointer; color: var(--ink); }
.sheet__close:hover { border-color: var(--ink); }
.sheet__body { padding: clamp(24px, 4vw, 48px) var(--gut) clamp(40px, 6vw, 72px); }
.sheet h2 { font-weight: 300; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 12px; }
.sheet__meta { color: var(--mute); margin: 0 0 28px; font-size: 16px; }
.player { position: relative; aspect-ratio: 16 / 9; background: #2a2a2a; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__play { position: absolute; inset: 0; display: grid; place-items: end start; padding: clamp(12px, 2.5vw, 24px); background: linear-gradient(to top, rgba(0,0,0,.35), transparent 45%); border: 0; cursor: pointer; color: #fff; font: inherit; }
.player__play span { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-weight: 600; font-size: 16px; }
.player__play:hover span { background: #fff; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.tabs button { font: inherit; font-size: 13px; min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: none; color: var(--mute); }
.tabs button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.credits { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.credits small { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 28px; }
.stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }

@media (max-width: 600px) {
  .chans, .brief__grid, .brief__send, .brief__msg, .step__note, .brief__ok .btn { margin-left: 0; }
  body { font-size: 17px; }
  .top__in { flex-wrap: wrap; min-height: 0; gap: 0 14px; padding-top: 10px; }
  .logo { order: -1; }
  .logo img { width: 68px; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; gap: 18px; padding: 6px 0 4px; }
  .nav a, .lang a, .lang span { letter-spacing: .12em; }
  .facts li { grid-template-columns: 120px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .js .hl { background-size: 100% .06em; }
}
