/* ==========================================================================
   Edgar Peñuelas — Video Editor
   Dirección: sala oscura, luz de tungsteno. Negro real, texto color papel,
   naranja tomado de la pared de su retrato y usado solo donde hay acción.
   Tipografía: Archivo variable (condensada para títulos, normal para texto)
   + Newsreader itálica para los detalles editoriales.
   ========================================================================== */

/* ---------- Fuentes (alojadas en el sitio, licencia OFL) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-italic-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #000000;
  --stage: #121110;
  --stage-2: #1b1a18;
  --paper: #eeeae3;
  --dust: #a39d93;
  --dust-2: #6f6a63;
  --line: rgba(238, 234, 227, .14);
  --line-strong: rgba(238, 234, 227, .3);
  --tungsten: #ee7a1e;
  --tungsten-hi: #ff8f3a;
  --tungsten-soft: rgba(238, 122, 30, .14);

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: cubic-bezier(.77, 0, .18, 1);

  --step--1: .875rem;   /* 14 */
  --step-0: 1.0625rem;  /* 17 */
  --step-1: 1.25rem;    /* 20 */
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --step-4: clamp(2.5rem, 1.3rem + 3.6vw, 4.75rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink);
}
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--tungsten); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--tungsten);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--tungsten); color: var(--ink); padding: 10px 16px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Evita ver el idioma equivocado un instante (ver script en <head>) */
.i18n-wait body { opacity: 0; animation: i18n-reveal 0s 1.2s forwards; }
@keyframes i18n-reveal { to { opacity: 1; } }

/* ---------- Tipografía compartida ---------- */
.section-title,
.hero__line--display,
.contact__title,
.tier__name,
.service__name,
.group-title,
.sub-title,
.step__n,
.facts dt,
.qty__num,
.summary__total-value {
  font-family: var(--sans);
  font-stretch: 62%;
  font-weight: 760;
  letter-spacing: -.005em;
  line-height: .92;
}
.section-title {
  font-size: var(--step-4);
  text-wrap: balance;
  max-width: 17ch;
}
.side-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--dust);
}
.section-intro {
  color: var(--dust);
  font-size: var(--step-0);
  max-width: 46ch;
}
.section-intro--serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--paper);
  max-width: 30ch;
}
.sub-title { font-size: var(--step-3); }

/* ---------- Botones ---------- */
.btn {
  --btn-pad-y: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: var(--btn-pad-y) 24px;
  font-weight: 600; font-size: 1rem; line-height: 1.1;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--tungsten); color: var(--ink); }
.btn--solid:hover { background: var(--tungsten-hi); }
.btn--line { border-color: var(--line-strong); color: var(--paper); }
.btn--line:hover { border-color: var(--paper); }
.btn--small { min-height: 40px; --btn-pad-y: 10px; padding-inline: 16px; font-size: .9375rem; }
.btn--large { min-height: 60px; padding-inline: 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.link {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--tungsten); }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 2px;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover:not(:disabled) { border-color: var(--paper); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.masthead.is-scrolled {
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.masthead__inner {
  height: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.wordmark { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.wordmark__name {
  font-stretch: 62%; font-weight: 800; font-size: 1.5rem; letter-spacing: .01em;
}
.wordmark__role {
  font-family: var(--serif); font-style: italic; font-size: .9375rem; color: var(--dust); margin-top: 3px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: .9375rem; color: var(--dust); position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.is-current { color: var(--paper); }
.nav a.is-current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--tungsten);
}
.masthead__tools { display: flex; align-items: center; gap: 16px; }
.timecode {
  font-variant-numeric: tabular-nums; font-size: .8125rem; color: var(--dust-2);
  letter-spacing: .04em; min-width: 8.6ch;
}
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.lang__btn {
  min-width: 40px; height: 34px; padding: 0 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--dust);
  transition: color .2s, background-color .2s;
}
.lang__btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.lang__btn:not([aria-pressed="true"]):hover { color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; place-items: center; }
.burger__bars { width: 24px; height: 10px; position: relative; display: block; }
.burger__bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--paper);
  transition: transform .3s var(--cut), top .3s var(--cut);
}
.burger__bars span:first-child { top: 0; }
.burger__bars span:last-child { top: 8px; }
.burger[aria-expanded="true"] .burger__bars span:first-child { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:last-child { top: 4px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-stretch: 62%; font-weight: 760; font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1.05;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.menu__foot { display: grid; gap: 16px; margin-top: 32px; }
.lang--menu { width: 100%; }
.lang--menu .lang__btn { flex: 1; height: 48px; font-size: .9375rem; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) var(--gutter) 0;
  max-width: var(--maxw); margin: 0 auto;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.hero__kicker {
  grid-column: 1 / span 6; grid-row: 1;
  color: var(--dust); max-width: 38ch; font-size: var(--step-0);
}
.hero__title { grid-column: 1 / span 11; grid-row: 2; position: relative; z-index: 2; margin-top: clamp(24px, 4vw, 56px); pointer-events: none; }
.hero__line { display: block; }
.hero__line--serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.5rem);
  line-height: 1.1; color: var(--paper);
  margin-bottom: .25em;
}
.hero__line--display {
  font-size: clamp(3.6rem, 1rem + 8vw, 9.75rem);
  line-height: .87;
  font-weight: 800;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__photo {
  grid-column: 8 / span 5; grid-row: 1 / span 3;
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  margin-top: 8px;
}
.hero__photo picture, .hero__photo img { width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 50% 30%; }
.hero__photo::before {
  /* oscurece el borde izquierdo para que el titular se lea encima */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 30%, transparent 55%);
}
.hero__photo::after {
  /* marcas de encuadre */
  content: ''; position: absolute; inset: -14px; pointer-events: none;
  --m: 18px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) top left / var(--m) 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) top left / 1px var(--m) no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) top right / var(--m) 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) top right / 1px var(--m) no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) bottom left / var(--m) 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) bottom left / 1px var(--m) no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) bottom right / var(--m) 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) bottom right / 1px var(--m) no-repeat;
}
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: -42px;
  display: flex; justify-content: space-between;
  font-size: var(--step--1); color: var(--dust);
}
.hero__body { grid-column: 1 / span 6; grid-row: 3; margin-top: clamp(28px, 4vw, 48px); }
.hero__lead { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; color: var(--paper); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts {
  grid-column: 1 / span 12; grid-row: 4;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: clamp(48px, 6vw, 88px);
  max-width: 820px;
}
.hero__facts li { border-top: 1px solid var(--line); padding-top: 14px; color: var(--dust); font-size: var(--step--1); line-height: 1.4; }
.hero__facts strong {
  display: block; color: var(--paper); font-stretch: 62%; font-weight: 760; font-size: 2rem; line-height: 1; margin-bottom: 6px;
}

/* Regla de línea de tiempo bajo el hero */
.ruler {
  --p: 0;
  position: relative; height: 28px; margin-top: clamp(40px, 6vw, 72px);
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 96px) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px) bottom / 100% 7px no-repeat;
  border-bottom: 1px solid var(--line);
}
.ruler__head {
  position: absolute; bottom: -1px; left: calc(var(--p) * (100% - 2px)); width: 2px; height: 28px; background: var(--tungsten);
}
.ruler__head::before {
  content: ''; position: absolute; top: -6px; left: -5px;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid var(--tungsten);
}

/* Entrada orquestada del hero (una sola vez) */
.js .hero__photo { clip-path: inset(0 100% 0 0); }
.js .hero__line { clip-path: inset(0 0 100% 0); transform: translateY(18px); }
.js .hero__kicker, .js .hero__body, .js .hero__facts { opacity: 0; }
.is-loaded .hero__photo { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--cut) .1s; }
.is-loaded .hero__line { clip-path: inset(0 0 -20% 0); transform: none; transition: clip-path .8s var(--cut), transform .8s var(--cut); }
.is-loaded .hero__line--serif { transition-delay: .35s; }
.is-loaded .hero__line--display { transition-delay: .5s; }
.is-loaded .hero__kicker { opacity: 1; transition: opacity .6s .2s; }
.is-loaded .hero__body { opacity: 1; transition: opacity .6s .9s; }
.is-loaded .hero__facts { opacity: 1; transition: opacity .6s 1.05s; }

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 12vw, 176px) var(--gutter) 0;
}
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 20px;
  margin-bottom: clamp(48px, 6vw, 88px);
  align-items: end;
}
.section-head .side-label { grid-column: 1 / span 3; align-self: start; padding-top: .5em; }
.section-head .section-title { grid-column: 4 / span 9; }
.section-head .section-intro { grid-column: 4 / span 6; }

/* ---------- Trabajo ---------- */
.work__group + .work__group { margin-top: clamp(72px, 9vw, 128px); }
.group-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  font-size: var(--step-2);
  padding-bottom: 16px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.group-title__note {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  font-size: var(--step-0); color: var(--dust); letter-spacing: 0; line-height: 1.3;
}
.work__wide {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px); row-gap: 40px;
}
.work__wide > li:nth-child(odd) { grid-column: 1 / span 8; }
.work__wide > li:nth-child(even) { grid-column: 9 / span 4; align-self: end; }
.work__reels {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 32px); row-gap: 48px;
}
.work__reels > li:nth-child(4n+2), .work__reels > li:nth-child(4n+4) { margin-top: clamp(40px, 6vw, 96px); }
.noscript { color: var(--dust); }
.noscript a { text-decoration: underline; margin-right: 8px; }

/* Tarjeta de video */
.card__link { display: block; }
.card__media {
  position: relative; display: block; overflow: hidden;
  background: var(--stage);
  aspect-ratio: 16 / 9;
}
.card--v .card__media { aspect-ratio: 9 / 16; }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.001);
  transition: transform .9s var(--ease), filter .5s var(--ease), opacity .4s;
  filter: saturate(.92) brightness(.92);
  opacity: 0;
}
.card__media img.is-ready { opacity: 1; }
.card__media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
}
.card__media::after {
  /* barra de reproducción que avanza al pasar el cursor */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2;
  background: var(--tungsten);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.card__play {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center;
  border: 1px solid rgba(238, 234, 227, .7);
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--paper);
  transition: background-color .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease);
}
.card__play .icon { width: 20px; height: 20px; margin-left: 3px; }
.card__tag {
  position: absolute; z-index: 2; left: 12px; top: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  color: var(--paper); padding: 5px 8px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid var(--line-strong);
}
.card__meta {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px;
  padding-top: 14px;
}
.card__n {
  grid-row: span 2; font-variant-numeric: tabular-nums; font-size: var(--step--1); font-weight: 600;
  color: var(--tungsten); padding-top: 3px;
}
.card__title { font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.card__title:empty, .card__kind:empty { display: none; }
.card__kind { font-size: var(--step--1); color: var(--dust); line-height: 1.4; }
.card__link:hover .card__media img, .card__link:focus-visible .card__media img { transform: scale(1.045); filter: saturate(1) brightness(1); }
.card__link:hover .card__media::after, .card__link:focus-visible .card__media::after { transform: scaleX(1); transition: transform 2.4s linear; }
.card__link:hover .card__play, .card__link:focus-visible .card__play {
  background: var(--tungsten); border-color: var(--tungsten); color: var(--ink); transform: scale(1.06);
}
.card--h.is-lead .card__title { font-size: var(--step-1); }

/* Aparición de tarjetas */
.js .card.reveal { opacity: 0; transform: translateY(24px); }
.js .card.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- Antes y después ---------- */
.section-head--with-controls { align-items: end; }
.section-head--with-controls .section-intro { grid-column: 4 / span 6; }
.strip-controls {
  grid-column: 10 / span 3; justify-self: end;
  display: flex; align-items: center; gap: 12px;
}
.strip-count { font-variant-numeric: tabular-nums; font-size: var(--step--1); color: var(--dust); min-width: 4.5em; text-align: center; }
.strip {
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip:focus-visible { outline-offset: -2px; }
.strip__track { display: flex; gap: clamp(12px, 1.6vw, 24px); width: max-content; }
.strip__track > li { width: clamp(212px, 21vw, 300px); scroll-snap-align: start; }
.strip__track > li:nth-child(even) { margin-top: clamp(24px, 3vw, 48px); }
.strip-progress { position: relative; height: 1px; background: var(--line); margin-top: 32px; overflow: hidden; }
.strip-progress span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 10%;
  background: var(--tungsten);
  transform: translateX(0);
}
.ba__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ba__cta-text {
  font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1.2; max-width: 26ch;
}

/* ---------- Sobre mí ---------- */
.about {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.about__photo { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text { grid-column: 7 / span 6; }
.about__text .section-title { margin-top: 14px; font-size: var(--step-3); max-width: 16ch; }
.about__copy { margin-top: 32px; display: grid; gap: 18px; max-width: 58ch; color: var(--dust); }
.about__copy p:first-child { color: var(--paper); font-size: var(--step-1); line-height: 1.5; }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: 48px;
}
.facts > div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: 2.25rem; color: var(--paper); }
.facts dd { color: var(--dust); font-size: var(--step--1); line-height: 1.4; margin-top: 8px; }
.about__sub { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-1); margin-top: 48px; color: var(--paper); }
.reasons {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px;
  margin-top: 12px;
}
.reasons li {
  padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); position: relative;
  font-size: .9688rem; line-height: 1.4;
}
.reasons li::before {
  content: ''; position: absolute; left: 0; top: calc(12px + .7em); width: 8px; height: 2px; background: var(--tungsten);
}

/* ---------- Servicios ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.service__name { grid-column: 1 / span 5; font-size: var(--step-3); }
.service__desc { grid-column: 6 / span 4; color: var(--dust); max-width: 44ch; }
.service__price { grid-column: 10 / span 3; justify-self: end; text-align: right; font-weight: 500; color: var(--paper); font-size: .9688rem; }
.services__platforms { margin-top: 28px; color: var(--dust); font-size: var(--step--1); }

/* ==========================================================================
   TARIFAS
   ========================================================================== */
.market-bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px 32px;
  padding-bottom: 28px; margin-bottom: 8px;
}
.market-bar__current {
  font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1.2; color: var(--paper);
}
.market-bar__note { color: var(--dust); font-size: var(--step--1); max-width: 62ch; }
.market-bar__alt { font-size: var(--step--1); text-align: right; justify-self: end; cursor: pointer; }

/* Control segmentado */
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.seg__opt { position: relative; display: flex; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 8px 18px; font-size: .9375rem; font-weight: 500; color: var(--dust);
  transition: background-color .2s, color .2s; line-height: 1.2;
}
.seg__opt + .seg__opt span { border-left: 1px solid var(--line-strong); }
.seg__opt input:checked + span { background: var(--paper); color: var(--ink); }
.seg__opt input:not(:checked):hover + span { color: var(--paper); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--tungsten); outline-offset: 2px; position: relative; z-index: 1; }
.seg--full { display: flex; width: 100%; }
.seg--full .seg__opt { flex: 1; }
.seg--full .seg__opt span { width: 100%; }

/* Columnas de niveles */
.tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.tier {
  display: flex; flex-direction: column;
  padding: 36px clamp(16px, 2.4vw, 36px) 40px;
  position: relative;
}
.tier + .tier { border-left: 1px solid var(--line); }
.tier:first-child { padding-left: 0; }
.tier:last-child { padding-right: 0; }
.tier::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: transparent;
}
.tier--creative::before { background: var(--tungsten); left: 0; }
.tier__name { font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3.25rem); }
.tier__tagline { font-family: var(--serif); font-style: italic; color: var(--dust); font-size: var(--step-1); margin-top: 8px; line-height: 1.3; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin-top: 32px; }
.tier__amount { font-stretch: 62%; font-weight: 760; font-size: clamp(3.5rem, 2.6rem + 3vw, 5.25rem); line-height: .9; font-variant-numeric: tabular-nums; }
.tier__cur { font-size: 1rem; font-weight: 600; color: var(--dust); }
.tier__unit { color: var(--dust); font-size: var(--step--1); margin-top: 8px; }
.tier__fx { color: var(--paper); font-size: .9375rem; margin-top: 4px; min-height: 1.5em; font-variant-numeric: tabular-nums; }
.tier__fx:empty { visibility: hidden; }
.tier__inc-label { font-size: var(--step--1); color: var(--dust); margin-top: 28px; }
.tier__list { margin-top: 8px; flex: 1; }
.tier__list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; line-height: 1.4; }
.tier__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.tier__actions .btn { width: 100%; }
.tiers-fx {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  border-top: 1px solid var(--line); padding: 18px 0;
  font-size: var(--step--1); color: var(--dust);
}
.tiers-fx label { color: var(--dust); }
.tiers-fx .select__input { width: auto; min-width: 220px; padding-block: 8px; min-height: 40px; }
.tiers-fx__info { flex: 1 1 360px; }

/* Paquetes */
.packages { margin-top: clamp(72px, 9vw, 120px); }
.packages__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: 28px; }
.packages__head .sub-title { grid-column: 1 / span 6; }
.packages__head p { grid-column: 7 / span 6; color: var(--dust); max-width: 52ch; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 20px 16px; border-bottom: 1px solid var(--line); }
.ptable th:first-child, .ptable td:first-child { padding-left: 0; }
.ptable thead th { font-size: var(--step--1); font-weight: 600; color: var(--dust); border-bottom-color: var(--line-strong); padding-top: 0; }
.ptable thead th.is-creative { color: var(--paper); }
.ptable__qty { white-space: nowrap; }
.ptable__qty strong { display: block; font-stretch: 62%; font-weight: 760; font-size: 3rem; line-height: .9; }
.ptable__qty span { font-size: var(--step--1); color: var(--dust); }
.ptable td { width: 25%; }
.pcell { display: grid; gap: 4px; justify-items: start; }
.pcell__actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.pcell__wa {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--dust);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px;
  min-height: 36px; transition: color .2s;
}
.pcell__wa .icon { width: 16px; height: 16px; }
.pcell__wa:hover { color: var(--paper); text-decoration-color: var(--tungsten); }
.pcell__price { font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.pcell__per { font-size: var(--step--1); color: var(--dust); font-variant-numeric: tabular-nums; }
.pcell__save { font-size: var(--step--1); color: var(--tungsten); font-weight: 600; }
.pcell__save--none { color: var(--dust-2); font-weight: 400; }
.pcell__btn {
  font-size: .875rem; font-weight: 600; padding: 7px 14px; min-height: 36px;
  border: 1px solid var(--line-strong); border-radius: 2px; transition: border-color .2s, background-color .2s, color .2s;
}
.pcell__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pcell--na { color: var(--dust); font-size: .9375rem; vertical-align: middle !important; }
.pcell--na .link { display: inline-block; margin-top: 8px; font-size: .875rem; }
.packages__note { color: var(--dust); font-size: var(--step--1); margin-top: 16px; }

/* ---------- Cotizador ---------- */
.quote {
  margin-top: clamp(72px, 9vw, 120px);
  background: var(--stage);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 56px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.quote__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: 40px; }
.quote__head .sub-title { grid-column: 1 / span 6; }
.quote__head p { grid-column: 7 / span 6; color: var(--dust); max-width: 52ch; }
.quote__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.quote__config { display: grid; gap: 36px; min-width: 0; }
.field { border: 0; min-width: 0; }
.field__label { display: block; font-size: var(--step--1); font-weight: 600; color: var(--paper); margin-bottom: 12px; letter-spacing: .01em; }
.field__help { font-size: .8125rem; color: var(--dust); margin-top: 10px; }
.field--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Opciones de nivel */
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__body {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px;
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color .2s, background-color .2s;
}
.choice__body::before {
  content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: transparent; transition: background-color .2s;
}
.choice__name { font-weight: 600; font-size: 1.0625rem; }
.choice__price { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.choice__desc { grid-column: 1 / -1; font-size: .875rem; color: var(--dust); line-height: 1.45; }
.choice:hover .choice__body { border-color: var(--line-strong); }
.choice input:checked + .choice__body { border-color: var(--line-strong); background: var(--stage-2); }
.choice input:checked + .choice__body::before { background: var(--tungsten); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--tungsten); outline-offset: 2px; }

/* Cantidad */
.qty { display: flex; align-items: stretch; gap: 0; border: 1px solid var(--line-strong); width: max-content; }
.qty__step {
  width: 56px; font-size: 1.5rem; line-height: 1; color: var(--paper);
  transition: background-color .2s;
}
.qty__step:hover:not(:disabled) { background: var(--stage-2); }
.qty__step:disabled { color: var(--dust-2); cursor: default; }
.qty__num {
  width: 3.2ch; text-align: center; border: 0; background: transparent;
  font-size: 3rem; padding: 10px 6px 6px; border-inline: 1px solid var(--line-strong);
  -moz-appearance: textfield; appearance: textfield;
  font-variant-numeric: tabular-nums;
}
.qty__num::-webkit-outer-spin-button, .qty__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__num:focus-visible { outline-offset: -2px; }
.qty__live { display: none; }
.slider { position: relative; margin-top: 18px; padding-bottom: 26px; }
.slider__input {
  --fill: 10%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0;
}
.slider__input::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(90deg, var(--tungsten) var(--fill), var(--line-strong) var(--fill));
}
.slider__input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 28px; margin-top: -13px; border-radius: 1px;
  background: var(--tungsten); border: 0;
}
.slider__input::-moz-range-track { height: 2px; background: var(--line-strong); }
.slider__input::-moz-range-progress { height: 2px; background: var(--tungsten); }
.slider__input::-moz-range-thumb { width: 14px; height: 28px; border-radius: 1px; background: var(--tungsten); border: 0; }
.slider__input:focus-visible { outline: none; }
.slider__input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--paper); outline-offset: 3px; }
.slider__input:focus-visible::-moz-range-thumb { outline: 2px solid var(--paper); outline-offset: 3px; }
.slider__marks { position: absolute; left: 7px; right: 7px; top: 22px; height: 30px; pointer-events: none; }
.slider__mark {
  position: absolute; top: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .75rem; color: var(--dust); font-variant-numeric: tabular-nums;
}
.slider__mark::before { content: ''; width: 1px; height: 8px; background: var(--dust); }
.slider__mark.is-on { color: var(--tungsten); }
.slider__mark.is-on::before { background: var(--tungsten); }

/* Combobox de país y select de moneda */
.combo { position: relative; min-width: 0; }
.combo__box { position: relative; }
.combo__input, .select__input {
  width: 100%; min-height: 48px; padding: 12px 40px 12px 14px;
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px;
  font-size: 1rem; color: var(--paper);
}
.combo__input:focus-visible, .select__input:focus-visible { outline-offset: 1px; border-color: var(--paper); }
.combo__caret { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%) rotate(90deg); color: var(--dust); pointer-events: none; }
.combo__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 300px; overflow-y: auto;
  background: var(--stage-2); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.combo__opt {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 14px; cursor: pointer; font-size: .9688rem;
}
.combo__opt-code { color: var(--dust); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.combo__opt.is-active { background: rgba(238, 234, 227, .09); }
.combo__opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--tungsten); }
.combo__empty { padding: 12px 14px; color: var(--dust); font-size: .875rem; }
.select { min-width: 0; position: relative; }
.select__input {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dust) 50%), linear-gradient(135deg, var(--dust) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.select__input option { background: var(--stage-2); color: var(--paper); }

/* Resumen */
.quote__summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--ink); border: 1px solid var(--line);
  padding: clamp(20px, 2.6vw, 32px);
}
.summary__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-1); color: var(--dust); }
.summary__rows { margin-top: 14px; }
.summary__rows > div { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.summary__rows dt { color: var(--dust); }
.summary__rows dd { text-align: right; font-variant-numeric: tabular-nums; }
.summary__rows .is-saving dd { color: var(--tungsten); font-weight: 600; }
.summary__total { margin-top: 24px; }
.summary__total-label { font-size: var(--step--1); color: var(--dust); }
.summary__total-value {
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); margin-top: 6px; font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.summary__per { font-size: var(--step--1); color: var(--dust); margin-top: 6px; min-height: 1.4em; }
.summary__badge {
  display: inline-block; margin-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink); background: var(--tungsten); padding: 3px 8px;
}
.summary__fx { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--dust); }
.summary__fx:empty { display: none; }
.fx__value { font-size: 1.375rem; color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; margin: 2px 0 6px; line-height: 1.25; }
.fx__meta { display: grid; gap: 2px; font-size: .8125rem; line-height: 1.45; }
.fx__meta a { text-decoration: underline; text-underline-offset: 3px; }
.fx__stale { color: var(--tungsten); }
.fx__note { margin-top: 10px; font-size: .78rem; color: var(--dust-2); line-height: 1.5; }
.summary__hint { margin-top: 16px; font-size: .875rem; color: var(--paper); background: var(--tungsten-soft); border-left: 2px solid var(--tungsten); padding: 12px 14px; }
.summary__hint-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.summary__hint button {
  font-size: .8125rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line-strong); min-height: 34px;
}
.summary__hint button:hover { background: var(--paper); color: var(--ink); }
.quote__summary .btn { margin-top: 20px; white-space: normal; text-align: center; }
.summary__fine { margin-top: 14px; font-size: .78rem; color: var(--dust-2); line-height: 1.5; }

/* Extras */
.pricing__extras {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 7vw, 96px);
}
.extra { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.extra p { color: var(--dust); max-width: 56ch; }
.extra__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-2); line-height: 1.2; }
.pricing__extras > .extra:only-child, .pricing__extras > .extra[hidden] + .extra { grid-column: 1 / -1; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step__n { display: block; font-size: 4.5rem; color: var(--dust-2); }
.step__title { font-size: 1.1875rem; font-weight: 600; margin-top: 18px; line-height: 1.3; }
.step p { color: var(--dust); margin-top: 8px; font-size: .9688rem; }

/* ---------- Testimonios ---------- */
.voices__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.voice { border-top: 1px solid var(--line); padding-top: 24px; }
.voice blockquote { font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1.3; }
.voice figcaption { margin-top: 16px; color: var(--dust); font-size: var(--step--1); }
.voice figcaption strong { color: var(--paper); font-weight: 600; display: block; }

/* ---------- Preguntas ---------- */
.faq__list { margin-left: calc((100% + clamp(16px, 2vw, 32px)) / 12 * 3); max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: var(--step-1); font-weight: 500; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--paper), var(--paper)) center / 14px 1.5px no-repeat,
              linear-gradient(var(--paper), var(--paper)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--cut);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--tungsten-hi); }
.faq details p { color: var(--dust); padding: 0 0 24px; max-width: 64ch; }

/* ---------- Contacto ---------- */
.contact {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding-bottom: clamp(96px, 12vw, 160px);
  align-items: end;
}
.contact__main { grid-column: 1 / span 8; }
.contact__title { font-size: clamp(3rem, 1.6rem + 5.2vw, 7.25rem); line-height: .88; margin-top: 16px; max-width: 15ch; text-wrap: balance; }
.contact__text { color: var(--dust); margin: 28px 0 36px; max-width: 46ch; font-size: var(--step-1); line-height: 1.5; }
.contact__list { grid-column: 9 / span 4; border-top: 1px solid var(--line); }
.contact__list a {
  display: grid; grid-template-columns: 24px 1fr; column-gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.contact__list .icon { grid-row: span 2; color: var(--tungsten); margin-top: 2px; }
.contact__k { font-size: .8125rem; color: var(--dust); }
.contact__v { font-size: 1rem; overflow-wrap: anywhere; }
.contact__list a:hover .contact__v { color: var(--tungsten-hi); }

/* ---------- Pie ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  font-size: var(--step--1); color: var(--dust);
}
.footer__name { font-stretch: 62%; font-weight: 800; font-size: 1.25rem; color: var(--paper); }
.footer__meta { margin-right: auto; }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--paper); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 80;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 18px 0 14px;
  background: var(--tungsten); color: var(--ink);
  font-weight: 600; font-size: .9375rem; border-radius: 2px;
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .4s var(--cut), opacity .3s, background-color .2s;
}
.wa-float .icon { width: 22px; height: 22px; }
.wa-float.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.wa-float:hover { background: var(--tungsten-hi); }

/* ---------- Reproductor ---------- */
.player {
  border: 0; padding: 0; margin: 0; background: transparent; color: var(--paper);
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  overflow: hidden;
}
.player::backdrop { background: rgba(0, 0, 0, .94); }
.player[open] { display: flex; align-items: center; justify-content: center; }
.player__inner { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.player__bar { display: flex; align-items: center; gap: 16px; }
.player__title { margin-right: auto; font-size: .9375rem; color: var(--dust); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__yt { font-size: .8125rem; color: var(--dust); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.player__yt:hover { color: var(--paper); }
.player__close {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-strong); border-radius: 2px; color: var(--paper);
  transition: background-color .2s, color .2s;
}
.player__close:hover { background: var(--paper); color: var(--ink); }
.player__close .icon { width: 20px; height: 20px; }
.player__frame { position: relative; background: #000; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player--h .player__inner { width: min(92vw, calc((100vh - 140px) * 16 / 9), 1280px); width: min(92vw, calc((100dvh - 140px) * 16 / 9), 1280px); }
.player--h .player__frame { aspect-ratio: 16 / 9; }
.player--v .player__inner { width: min(92vw, calc((100vh - 120px) * 9 / 16)); width: min(92vw, calc((100dvh - 120px) * 9 / 16)); }
.player--v .player__frame { aspect-ratio: 9 / 16; }
.player[open] .player__inner { animation: player-in .35s var(--ease); }
@keyframes player-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
body.player-open { overflow: hidden; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .timecode { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .nav, .masthead__cta { display: none; }
  .burger { display: grid; }
  .masthead__tools { gap: 8px; }

  .quote__body { grid-template-columns: 1fr; }
  .quote__summary { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .service__name { grid-column: 1 / span 12; }
  .service__desc { grid-column: 1 / span 8; margin-top: 10px; }
  .service__price { grid-column: 9 / span 4; }
  .about__photo { grid-column: 1 / span 5; }
  .about__text { grid-column: 6 / span 7; }
  .reasons { grid-template-columns: 1fr; }
  .contact__main { grid-column: 1 / span 12; }
  .contact__list { grid-column: 1 / span 12; margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .lang:not(.lang--menu) .lang__btn { min-width: 36px; height: 32px; }

  /* Hero móvil: foto arriba, titular montado sobre su borde inferior */
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero__grid { display: flex; flex-direction: column; }
  .hero__kicker { order: 1; font-size: .9375rem; }
  .hero__photo {
    order: 2; width: calc(100% + 2 * var(--gutter)); margin: 14px calc(-1 * var(--gutter)) 0;
    aspect-ratio: 1 / 1;
  }
  .hero__photo::before { background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.65) 72%, #000 100%); }
  .hero__photo::after { display: none; }
  .hero__caption { bottom: auto; top: 12px; left: var(--gutter); right: var(--gutter); z-index: 2; color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
  .hero__title { order: 3; margin-top: -4.2em; }
  .hero__line--serif { font-size: 1.5rem; }
  .hero__line--display { font-size: clamp(3rem, 15.5vw, 5rem); max-width: none; }
  .hero__body { order: 4; margin-top: 24px; }
  .hero__lead { font-size: 1rem; }
  .hero__kicker { font-size: .875rem; line-height: 1.5; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { order: 5; gap: 14px; margin-top: 44px; }
  .hero__facts strong { font-size: 1.5rem; }
  .ruler { margin-top: 32px; }

  .section { padding-top: 88px; }
  .section-head { display: block; margin-bottom: 40px; }
  .section-head .side-label { padding-top: 0; margin-bottom: 12px; }
  .section-head .section-intro { margin-top: 18px; }
  .section-title { font-size: clamp(2.6rem, 12vw, 3.6rem); max-width: none; }

  .work__wide { display: grid; grid-template-columns: 1fr; row-gap: 36px; }
  .work__wide > li:nth-child(odd), .work__wide > li:nth-child(even) { grid-column: auto; }
  .work__reels { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 32px; }
  .work__reels > li:nth-child(4n+2), .work__reels > li:nth-child(4n+4) { margin-top: 0; }
  .work__reels > li:nth-child(even) { margin-top: 40px; }
  .card__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .card__title { font-size: 1rem; }

  .strip-controls { margin-top: 24px; justify-content: flex-start; }
  .strip__track > li { width: 64vw; }
  .ba__cta { flex-direction: column; align-items: stretch; }
  .ba__cta .btn { width: 100%; }

  .about { display: block; }
  .about__photo { position: relative; top: auto; margin: 0 calc(-1 * var(--gutter)); }
  .about__photo img { aspect-ratio: 1 / 1; }
  .about__text { margin-top: 36px; }
  .about__text .section-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:last-child { grid-column: 1 / -1; }

  .service { display: block; }
  .service__name { font-size: 2.25rem; }
  .service__price { justify-self: start; text-align: left; margin-top: 10px; color: var(--tungsten); }

  /* Niveles: carrusel deslizable en móvil */
  .tiers {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    gap: 12px; border-top: 0; scroll-padding-inline: var(--gutter);
  }
  .tiers::-webkit-scrollbar { display: none; }
  .tier, .tier:first-child, .tier:last-child {
    flex: 0 0 84%; scroll-snap-align: start;
    padding: 28px 22px 28px; border: 1px solid var(--line); border-left: 1px solid var(--line);
  }
  .tier--creative { border-top-color: var(--tungsten); }
  .tier::before { display: none; }
  .tiers-fx { margin-top: 16px; }
  .tiers-fx .select__input { width: 100%; }

  .packages__head, .quote__head { display: block; }
  .packages__head p, .quote__head p { margin-top: 12px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td, .ptable th { display: block; width: 100%; }
  .ptable tr { border-top: 1px solid var(--line-strong); padding: 16px 0 8px; }
  .ptable th, .ptable td { padding: 0; border: 0; }
  .ptable__qty { margin-bottom: 8px; }
  .ptable__qty strong { display: inline; font-size: 2.25rem; margin-right: 8px; }
  .ptable td { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ptable td:last-child { border-bottom: 0; }
  .ptable td::before { content: attr(data-label); display: block; font-size: .8125rem; color: var(--dust); margin-bottom: 6px; font-weight: 600; }
  .ptable td { width: 100%; }
  .pcell { grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .pcell__actions { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 0; }
  .pcell__btn { min-height: 40px; }
  .pcell__wa { justify-content: center; }
  .market-bar { grid-template-columns: 1fr; }
  .market-bar__alt { justify-self: start; text-align: left; }

  .quote { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; padding: 32px var(--gutter); }
  .field--pair { grid-template-columns: 1fr; }
  .qty { width: 100%; }
  .qty__num { flex: 1; width: auto; }
  .qty__live {
    display: block; margin-top: 10px; font-size: .9375rem; color: var(--dust);
  }
  .qty__live strong { color: var(--paper); font-variant-numeric: tabular-nums; }
  .seg--full .seg__opt span { padding-inline: 10px; font-size: .875rem; }

  .pricing__extras { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .step__n { font-size: 2.75rem; grid-row: span 2; }
  .step__title { margin-top: 2px; }
  .voices__list { grid-template-columns: 1fr; }
  .faq__list { margin-left: 0; }
  .faq summary { font-size: 1.0625rem; }
  .contact__title { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .contact .btn--large { width: 100%; }
  .contact__list { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

  .player__title { display: none; }
  .player__yt { margin-right: auto; }
  .player__bar { padding-inline: 4px; }
  .player--v .player__inner { width: min(94vw, calc((100dvh - 96px) * 9 / 16)); }
  .player--h .player__inner { width: 100vw; }
  .player--h .player__bar { padding-inline: 12px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .hero__photo, .js .hero__line { clip-path: none; transform: none; }
  .js .hero__kicker, .js .hero__body, .js .hero__facts { opacity: 1; }
  .js .card.reveal { opacity: 1; transform: none; }
  .card__link:hover .card__media img { transform: none; }
}
