/* ==========================================================================
   angelluis. — portafolio
   Estilos de toda la web. Los colores y tamaños base están en :root.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Paleta: blanco, negro y rojo (las variables se llaman «magma» por historia) */
  --paper: #F5F4F1;
  --paper-2: #E9E7E2;
  --ink: #1A1A1C;
  --ink-2: #222225;
  --ink-3: #2D2D31;
  --grey: #8E8C88;
  --grey-2: #B9B6B0;
  --magma: #EA4C39;
  --magma-hi: #EF5F4C;
  --magma-lo: #C0392A;
  --magma-soft: rgba(234, 76, 57, .12);

  /* Títulos: Inter Tight (ver más abajo) · Textos: Inter */
  --title: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1440px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--magma); outline-offset: 3px; }
::selection { background: var(--magma); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

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

/* ---------- Tipografía (ver también «Sistema minimal» al final) ---------- */
.h-display {
  font-weight: 600;
  font-size: clamp(56px, 11vw, 184px);
  line-height: .86;
  letter-spacing: -.055em;
  margin: 0;
}
.h-xl {
  font-weight: 600;
  font-size: clamp(42px, 7.2vw, 120px);
  line-height: .9;
  letter-spacing: -.05em;
  margin: 0;
}
.h-l {
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: .95;
  letter-spacing: -.045em;
  margin: 0;
}
.h-m {
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0;
}
.lede { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; color: inherit; opacity: .78; margin: 0; }
.label {
  font-size: 12px;
  font-weight: 500;
}
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--grey); }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--magma); box-shadow: 0 0 12px var(--magma); }
.accent { color: var(--magma); }

/* Botón píldora */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  text-decoration: none; background: var(--ink-3); color: #d8d6d1;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.pill:hover { background: var(--magma); color: #fff; }
.pill--light { background: var(--paper-2); color: var(--ink); }
.pill--light:hover { background: var(--magma); color: #fff; }
.pill .arr { color: var(--magma); transition: color .3s, transform .35s var(--ease); }
.pill:hover .arr { color: #fff; transform: translateX(3px); }

/* ==========================================================================
   Cabecera: logo, menú (isla) y botón de contacto
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--hdr-h);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
  --hdr-fg: #fff;
}
.hdr > * { pointer-events: auto; }
.hdr.is-light { --hdr-fg: var(--ink); }
.logo {
  font-weight: 600; font-size: 22px; letter-spacing: -.04em; text-decoration: none;
  color: var(--hdr-fg); transition: color .4s var(--ease);
}
.logo .dot { color: var(--magma); }
.hdr__right { display: flex; align-items: flex-start; gap: 8px; position: relative; }

/* Isla del menú: pastilla oscura compacta */
.island {
  position: relative;
  background: #1F1F21;
  color: #F1EFEA;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 28px -12px rgba(0,0,0,.55);
  will-change: width, height;
}
.island__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 22px;
  height: 40px; padding: 0 16px 0 18px; white-space: nowrap; width: 100%;
  background: #1F1F21; color: inherit;
}
.island.is-open .island__bar { position: absolute; top: 0; left: 0; pointer-events: none; opacity: 0; visibility: hidden; }
.island__now { font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.island__dot { width: 7px; height: 7px; border-radius: 50%; background: #F1EFEA; margin-left: auto; }
.island__panel { padding: 14px 12px 12px; }
.island__head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 8px; font-size: 14px; color: rgba(241,239,234,.5); }
.island__close { font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; cursor: pointer; transition: color .25s; }
.island__close:hover { color: #F1EFEA; }
.island__list { list-style: none; margin: 0; padding: 0; display: grid; }
.island__list a {
  display: flex; align-items: baseline; gap: 22px; padding: 9px 8px; border-radius: 10px;
  text-decoration: none; color: #F1EFEA; font-size: 17px; font-weight: 500; letter-spacing: -.02em;
  transition: background .25s;
}
.island__list a span { font-size: 13px; color: rgba(241,239,234,.45); width: 18px; font-variant-numeric: tabular-nums; }
.island__list a:hover { background: rgba(255,255,255,.06); }
.island__list a[aria-current="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F1EFEA; margin-left: auto; align-self: center; }
.island:not(.is-open) .island__panel { display: none; }

/* Botón de contacto: «Contacto» + círculo naranja con flecha; al pasar el cursor, todo naranja */
.cta-btn {
  position: relative; height: 40px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; gap: 12px; padding: 0 5px 0 16px;
  background: #1F1F21; color: #F1EFEA; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 28px -12px rgba(0,0,0,.55);
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.cta-btn__ic {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--magma); color: #fff;
  transition: background .45s var(--ease);
}
.cta-btn svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.cta-btn .cta-btn__a2 { transform: translateX(-170%); }
@media (hover: hover) {
  .cta-btn:hover { background: var(--magma); box-shadow: 0 0 0 1px rgba(234, 76, 57,.6), 0 12px 30px -10px rgba(234, 76, 57,.6); }
}
@keyframes ctaOut { to { transform: translateX(170%); } }
@keyframes ctaIn { from { transform: translateX(-170%); } to { transform: translateX(0); } }
@media (max-width: 600px) { .hdr.menu-open .cta-btn { width: 0; padding: 0; margin-left: -8px; opacity: 0; pointer-events: none; overflow: hidden; } .cta-btn { overflow: hidden; transition: background .45s var(--ease), box-shadow .45s var(--ease), width .4s var(--ease), opacity .25s, padding .4s var(--ease), margin .4s var(--ease); } }
.cta-btn:focus-visible { outline: 2px solid var(--magma); outline-offset: 3px; }

/* Transición de ventana (al saltar desde el menú) */
.wt {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden;
  background: var(--ink);
}

/* ==========================================================================
   1. Portada → Enfoque → Sobre mí
   ========================================================================== */
.intro { position: relative; background: var(--ink); color: #fff; }
.intro__hero { position: relative; height: 100svh; overflow: hidden; }
.intro__media, .intro__media img, .intro__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__media { background: #fff; }
.intro__media img { object-position: 30% 40%; }
.intro__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 30%); pointer-events: none; }
/* Aura: fundido negro con borde magma dibujado en un canvas (ver veilPainter en main.js) */
.intro__veil { position: absolute; left: -10%; right: -10%; top: -14%; bottom: -14%; pointer-events: none; }
.intro__veil canvas { display: block; width: 100%; height: 100%; filter: blur(clamp(22px, 3vw, 46px)); }

/* Enfoque (sin animación: bloque normal) */
.focus { position: relative; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--ink); }
.focus__label { margin-bottom: 28px; }
.focus__text {
  margin: 0; max-width: 21em;
  font-weight: 500; font-size: clamp(28px, 3.6vw, 58px); line-height: 1.08; letter-spacing: -.04em;
}
.focus__text .w { opacity: 1; }
.focus__thumb {
  display: inline-block; vertical-align: -.08em;
  width: 2.3em; height: .82em; margin-right: .32em;
  border-radius: .16em; overflow: hidden; background: var(--ink-3);
}
.focus__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

/* Sobre mí (sin animación: bloque normal) */
.about { position: relative; background: var(--ink); color: #fff; }
.about__grid { display: grid; grid-template-columns: 1fr; min-height: 100svh; }
.about__photo { position: relative; min-height: 70svh; overflow: hidden; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,28,0) 60%, rgba(26,26,28,.85)); }
.about__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 110px) var(--gutter); }
.about__copy .label { margin-bottom: 26px; }
.about__copy h2 { margin-bottom: 28px; }
.about__copy p { margin: 0 0 16px; max-width: 34em; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.1vw, 17px); }
.about__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.about__links a {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: border-color .3s, background .3s, color .3s;
}
.about__links a:hover { background: var(--magma); border-color: var(--magma); color: #fff; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 52fr 48fr; }
  .about__photo { min-height: 100svh; }
}

/* --- Versión animada (se activa con JS y movimiento permitido) --- */
.has-motion .intro { height: auto; background: transparent; z-index: 2; }
.has-motion .intro.is-done, .has-motion .intro.is-done * { pointer-events: none !important; }
.has-motion .best { z-index: 1; margin-top: -100svh; }
.has-motion .intro__stage {
  position: relative; height: 100svh; overflow: hidden; background: var(--ink);
}
.has-motion .intro__stage.is-paper { background: var(--paper); }
.has-motion .intro__hero { position: absolute; inset: 0; height: auto; }
.has-motion .focus {
  position: absolute; inset: 0; padding: 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: transparent; z-index: 3;
}
.has-motion .focus__inner { width: min(100%, 1180px); }
.has-motion .focus__text { max-width: none; }
.has-motion .focus__text .w { opacity: .14; }
.has-motion .focus__thumb { width: 0; margin-right: 0; visibility: hidden; }
.has-motion .about { position: absolute; inset: 0; z-index: 4; background: transparent; pointer-events: none; }
.has-motion .about.is-live { pointer-events: auto; }
.has-motion .about__frame {
  position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden;
  border-radius: 10px; visibility: visible; opacity: .001;
}
.has-motion .about__half {
  position: absolute; inset: 0; background: var(--ink);
}
.has-motion .about__half--l { clip-path: inset(0 50% 0 0); }
.has-motion .about__half--r { clip-path: inset(0 0 0 50%); }
.has-motion .about__pic { position: absolute; left: 0; top: 0; height: 100%; width: var(--pic-w, 100%); overflow: hidden; }
.has-motion .about__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.has-motion .about__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,28,0) 62%, rgba(26,26,28,.9)); opacity: var(--pic-fade, 0); }
@media (max-width: 899px) { .has-motion .about__pic::after { background: linear-gradient(180deg, rgba(26,26,28,.1) 20%, rgba(26,26,28,.6) 50%, rgba(26,26,28,.95) 78%); } }
.has-motion .about__grid { display: block; min-height: 0; }
.has-motion .about__grid > .about__photo { display: none; }
.has-motion .about__copy {
  position: absolute; top: 0; bottom: 0; right: 0; width: 50%;
  padding: 0 clamp(24px, 5vw, 90px);
}
.has-motion .about__copy > * { opacity: 0; }
@media (max-width: 899px) {
  .has-motion .about__copy { width: 100%; justify-content: flex-end; padding-bottom: 44px; }
  .has-motion .about__copy p { font-size: 14.5px; margin-bottom: 10px; }
  .has-motion .about__copy h2 { margin-bottom: 16px; }
}

/* ==========================================================================
   2. Mejores vídeos — pila de tarjetas
   ========================================================================== */
.best { position: relative; background: var(--paper); padding: clamp(90px, 14vh, 150px) 0 clamp(60px, 10vh, 120px); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: end; margin-bottom: clamp(36px, 6vh, 70px); }
.sec-head__aside { display: grid; gap: 18px; justify-items: start; }
.sec-head__aside p { margin: 0; max-width: 17em; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.3; letter-spacing: -.01em; color: inherit; opacity: .8; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr auto; }
}
.stack {
  position: relative; height: clamp(520px, 74vh, 760px);
  user-select: none; -webkit-user-select: none;
}
.stack__card {
  position: absolute; left: 0; top: 0; width: 300px; height: 380px;
  border-radius: var(--r-m); overflow: hidden; background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
  cursor: pointer; will-change: transform, width, height;
}
.stack__card img, .stack__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__card video { object-fit: contain; background: #000; opacity: 0; transition: opacity .4s; }
.stack__card.is-playing video, .stack__card.is-started video { opacity: 1; }
.stack__card .stack__tag {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px;
  background: rgba(26,26,28,.72); color: #fff; font-size: 10.5px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .3s;
}
.stack__play {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  display: grid; place-items: center; background: var(--magma); color: #fff; opacity: 0; transform: scale(.8);
  transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none;
  box-shadow: 0 0 40px rgba(234, 76, 57,.5);
}
.stack__play svg { width: 22px; height: 22px; margin-left: -1px; /* triángulo centrado de verdad en el círculo (30/11) */ }
.stack.is-open .stack__card.is-main:not(.is-playing) .stack__play { opacity: 1; transform: scale(1); }
.stack.is-open .stack__card.is-main .stack__tag { opacity: 0; }
.stack__hint {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; color: var(--grey); white-space: nowrap;
  transition: opacity .4s;
}
.stack.is-open .stack__hint { opacity: 0; pointer-events: none; }
.stack__info {
  position: absolute; right: 0; top: 0; bottom: 0; width: 25%;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.stack.is-open .stack__info { visibility: visible; pointer-events: auto; }
.stack__info .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 10.5px; background: var(--paper-2); color: var(--ink);
}
.chip--magma { background: var(--magma-soft); color: var(--magma-lo); }
.stack__info h3 { margin: 0; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.stack__info .brand { font-size: 12px; color: var(--grey); }
.stack__info p { margin: 0; font-size: 15px; line-height: 1.5; color: #3c3b39; }
.stack__info p strong { color: var(--ink); font-weight: 600; }
.stack__close {
  position: absolute; right: 0; top: -64px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(0,0,0,.14); background: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .35s, background .3s, color .3s, border-color .3s;
}
.stack__close svg { width: 14px; height: 14px; }
.stack__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.stack.is-open .stack__close { opacity: 1; visibility: visible; }
@media (max-width: 899px) { .stack__close { top: -58px; } .stack__info { justify-content: flex-start; } }
/* Sin JavaScript: rejilla simple */
.stack:not(.is-ready) { height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.stack:not(.is-ready) .stack__card { position: relative; width: auto; height: auto; aspect-ratio: 16 / 9; }
.stack:not(.is-ready) .stack__hint, .stack:not(.is-ready) .stack__info, .stack:not(.is-ready) .stack__close { display: none; }

/* ==========================================================================
   3. Servicios — tarjetas que suben
   ========================================================================== */
.services { position: relative; background: var(--paper); }
.services__stage { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 80px var(--gutter); }
.services__word { margin: 0; font-weight: 600; font-size: clamp(64px, 15vw, 260px); letter-spacing: -.06em; line-height: .85; text-align: center; }
.services__word .accent { font-weight: 600; }
.services__intro { margin: 18px auto 0; max-width: 30em; text-align: center; color: #57554f; font-size: clamp(15px, 1.2vw, 18px); }
.svc-cards { display: grid; gap: 18px; width: 100%; max-width: 1100px; margin-top: 50px; }
.svc-card {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: var(--r-l);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.55);
}
.svc-card__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: clamp(24px, 3vw, 46px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.5); }
.svc-card__body h3 { margin: 0 0 14px; font-weight: 600; font-size: clamp(40px, 5vw, 76px); letter-spacing: -.05em; line-height: .9; }
.svc-card__body p { margin: 0; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.15vw, 18px); max-width: 30em; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card__tags span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 13px; }
@media (min-width: 900px) {
  .svc-card { grid-template-columns: 46fr 54fr; height: min(64vh, 560px); }
  .svc-card__pic { aspect-ratio: auto; }
}
.has-motion .services__stage { height: 100svh; }
.has-motion .svc-cards { position: absolute; inset: 0; margin: 0; max-width: none; display: block; pointer-events: none; }
.has-motion .svc-card { position: absolute; inset: 0; margin: auto; height: fit-content; width: min(1100px, calc(100% - 2 * var(--gutter))); transform: translateY(120vh); pointer-events: auto; }
@media (min-width: 900px) { .has-motion .svc-card { height: min(64vh, 560px); } }
@media (max-width: 899px) {
  .has-motion .svc-card { max-height: 82svh; }
  .has-motion .svc-card__pic { aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   4. Proceso — raíl con barra de progreso
   ========================================================================== */
.process { position: relative; background: var(--paper); }
.process__stage { padding: clamp(90px, 14vh, 140px) 0; }
.process__head { margin-bottom: clamp(40px, 8vh, 90px); }
.rail { position: relative; }
.rail__track { position: relative; height: 2px; background: rgba(26,26,28,.1); margin-bottom: 30px; }
.rail__fill { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--ink); transform-origin: left; }
.rail__dot { position: absolute; top: 50%; left: var(--p, 100%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--magma); box-shadow: 0 0 0 4px var(--paper), 0 0 18px var(--magma); }
.rail__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.step { color: var(--ink); }
.step__n { display: block; font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; color: var(--magma); }
.step h3 { margin: 0 0 10px; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
.step p { margin: 0; font-size: 15px; line-height: 1.5; color: inherit; opacity: .7; }
@media (min-width: 900px) {
  .rail__steps { grid-template-columns: repeat(5, 1fr); gap: clamp(18px, 2vw, 34px); }
}
@media (max-width: 899px) {
  .rail { padding-left: 26px; }
  .rail__track { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; height: auto; margin: 0; }
  .rail__fill { transform-origin: top; }
  .rail__dot { left: 50%; top: var(--p, 100%); margin: -5.5px 0 0 -5.5px; }
}
.has-motion .process__stage { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.has-motion .step { color: var(--grey-2); transition: color .5s var(--ease); }
.has-motion .step.is-on { color: var(--ink); }
.has-motion .step.is-past { color: var(--grey); }
.has-motion .step.is-on .step__n, .has-motion .step.is-past .step__n { color: var(--magma); }
.has-motion .step:not(.is-on):not(.is-past) .step__n { color: var(--grey-2); }

/* ==========================================================================
   5. Tarifas — entrada (Tarifas · imagen · fee) y carpeta con pestañas
   ========================================================================== */
.fees { position: relative; background: var(--ink); color: #fff; }
.fees__intro { position: relative; background: var(--paper); color: var(--ink); overflow: hidden; }
.fees__row {
  height: 100svh; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 40px);
  padding: 0 var(--gutter);
}
.fees__word { margin: 0; font-weight: 600; font-size: clamp(44px, 10vw, 170px); letter-spacing: -.06em; line-height: .85; white-space: nowrap; position: relative; z-index: 2; }
.fees__word--r { color: var(--grey); font-weight: 500; }
.fees__word--l, .fees__word--r { flex: 1 1 0; min-width: 0; display: flex; }
.fees__word--l { justify-content: flex-end; }
.fees__word--r { justify-content: flex-start; }
.fees__media { position: relative; width: clamp(110px, 17vw, 300px); aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; flex: none; background: var(--ink); }
.fees__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.fees__media img:first-child { opacity: 1; }
.fees__media { --dim: 0; }
.fees__media::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim, 0); }
.has-motion .fees__row { overflow: hidden; }
.has-motion .fees__media { aspect-ratio: auto; }

.fees__body { position: relative; padding: clamp(80px, 12vh, 140px) 0 clamp(120px, 20vh, 220px); }
.fees__lead { display: grid; gap: 20px; margin-bottom: clamp(40px, 7vh, 70px); }
.fees__lead .lede { color: rgba(255,255,255,.7); opacity: 1; max-width: 30em; }
@media (min-width: 900px) { .fees__lead { grid-template-columns: 1fr auto; align-items: end; } }

/* Carpeta con pestañas */
.folder { position: relative; max-width: 1080px; margin: 0 auto; }
.folder__tabs { position: relative; display: flex; gap: 2px; padding-left: 0; overflow-x: auto; scrollbar-width: none; }
.folder__tabs::-webkit-scrollbar { display: none; }
.folder__ind {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--paper); border-radius: 16px 16px 0 0; z-index: 0;
}
.folder__ind::before, .folder__ind::after {
  content: ""; position: absolute; bottom: 0; width: 16px; height: 16px;
}
.folder__ind::before { left: -16px; background: radial-gradient(circle at 0 0, transparent 15.5px, var(--paper) 16px); }
.folder__ind::after { right: -16px; background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--paper) 16px); }
.folder__tab {
  position: relative; z-index: 1; flex: none;
  height: 52px; padding: 0 clamp(14px, 1.8vw, 24px);
  font-size: clamp(13px, 1.05vw, 15px); font-weight: 500; letter-spacing: -.01em;
  color: rgba(255,255,255,.62); transition: color .35s var(--ease);
  white-space: nowrap;
}
.folder__tab:hover { color: #fff; }
.folder__tab[aria-selected="true"] { color: var(--ink); }
.folder__panel {
  position: relative; z-index: 1;
  background: var(--paper); color: var(--ink);
  border-radius: 0 var(--r-l) var(--r-l) var(--r-l);
  padding: clamp(26px, 4vw, 60px);
  min-height: 360px; overflow: hidden;
}
.folder__panel.is-first { border-top-left-radius: 0; }
.fee { display: grid; gap: clamp(22px, 4vw, 60px); }
.fee[hidden] { display: none; }
.fee__price { font-weight: 600; font-size: clamp(38px, 6vw, 96px); letter-spacing: -.055em; line-height: .9; margin: 10px 0 14px; }
.fee__price small { display: block; font-size: 12px; color: var(--grey); font-weight: 500; margin-bottom: 14px; }
.fee__price em { white-space: nowrap; font-style: normal; font-size: .32em; letter-spacing: -.02em; color: var(--grey); font-weight: 500; }
.fee__what { font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.015em; margin: 0; }
.fee__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fee__list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(26,26,28,.1); font-size: 15.5px; }
.fee__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--magma); margin-top: .55em; }
.fee__go { margin-top: 26px; }
.fees__note { max-width: 1080px; margin: 22px auto 0; color: rgba(255,255,255,.55); font-size: 14px; }
@media (min-width: 900px) { .fee { grid-template-columns: 1fr 1fr; } }

/* Salida hacia Contacto: fundido con borde magma */
.fees__exit {
  --rise: 0;
  position: absolute; left: -25%; right: -25%; bottom: 0; height: 60vh; pointer-events: none; z-index: 2;
}
.fees__exit::before {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 30vh; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 70%, rgba(240,83,63,.9), rgba(234, 76, 57,.7) 32%, rgba(184,39,26,.25) 58%, rgba(184,39,26,0) 74%);
  filter: blur(30px); transform: translateY(50%);
}
.fees__exit::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12vh;
  background: var(--paper); border-radius: 50% 50% 0 0 / 12vh 12vh 0 0; transform: translateY(100%);
}
.has-motion .fees__exit::after { transform: translateY(calc(100% - var(--rise, 0) * 100%)); }

/* ==========================================================================
   6. Contacto
   ========================================================================== */
.contact { position: relative; background: var(--paper); padding: clamp(80px, 12vh, 140px) 0; }
.contact__grid { display: grid; gap: clamp(36px, 5vw, 80px); }
.contact__side { display: grid; align-content: start; gap: 22px; }
.contact__side .lede { max-width: 22em; }
.contact__direct { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.contact__direct a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -.01em; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.contact__direct a:hover { color: var(--magma); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 5fr 7fr; } }

.form-card { background: #121213; color: #F1EFEA; border-radius: var(--r-m); padding: clamp(26px, 4vw, 56px); }
.form-card h3 { margin: 0; font-size: clamp(34px, 3.6vw, 56px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.form-card .req { margin: 12px 0 clamp(26px, 4vw, 44px); color: rgba(241,239,234,.5); font-size: clamp(15px, 1.2vw, 18px); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 22px 22px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .f--full { grid-column: 1 / -1; } }
.f label { display: block; margin-bottom: 10px; font-size: 12px; color: rgba(241,239,234,.85); }
.f input, .f select, .f textarea {
  width: 100%; height: 60px; padding: 0 18px;
  background: #1B1B1C; color: #F1EFEA; border: 1px solid #333335; border-radius: 4px;
  font: inherit; font-size: 16px; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, background .25s;
}
.f textarea { height: 190px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.f input::placeholder, .f textarea::placeholder { color: rgba(241,239,234,.38); }
.f input:hover, .f select:hover, .f textarea:hover { border-color: #49494c; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: #F1EFEA; }
.f select {
  cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F1EFEA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.f select:invalid { color: rgba(241,239,234,.38); }
.f select option { color: #111; }
.f--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-send {
  grid-column: 1 / -1; height: 64px; margin-top: 10px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #EDEBE6; color: #121213; font-size: 17px; font-weight: 500;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.form-send::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--magma); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.form-send:hover { color: #fff; }
.form-send:hover::before { transform: scaleX(1); }
.form-send svg { width: 18px; height: 18px; }
.form-send[disabled] { opacity: .6; cursor: progress; }
.form-msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 15px; color: var(--magma-hi); }
.form-msg.is-ok { color: #9FE3A5; }
.form-legal { grid-column: 1 / -1; margin: 0; font-size: 13px; color: rgba(241,239,234,.45); }
.form-legal a { color: rgba(241,239,234,.7); }

/* ==========================================================================
   7. Preguntas frecuentes
   ========================================================================== */
.faq { background: var(--paper); padding: clamp(40px, 8vh, 100px) 0 clamp(90px, 14vh, 150px); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 5fr 7fr; } }
.acc { border-top: 1px solid rgba(26,26,28,.14); }
.acc__item { border-bottom: 1px solid rgba(26,26,28,.14); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2;
  transition: color .3s;
}
.acc__q:hover { color: var(--magma-lo); }
.acc__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(26,26,28,.16); transition: background .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(180deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__a { overflow: hidden; }
.acc__a[hidden] { display: block; height: 0; visibility: hidden; }
.acc__a p { margin: 0; padding: 0 56px 26px 0; color: #4a4945; font-size: 16px; line-height: 1.6; max-width: 46em; }
.acc__a .ln { display: block; }

/* ==========================================================================
   Pie (mismo diseño que la web actual)
   ========================================================================== */
.footer { background: var(--ink); color: #fff; padding: clamp(70px, 10vh, 110px) 0 28px; overflow: hidden; position: relative; }
.footer::before { content: ""; position: absolute; left: 50%; bottom: -40%; width: 120%; height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgba(234, 76, 57,.22), rgba(234, 76, 57,0) 60%); pointer-events: none; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; position: relative; }
.footer__cta { margin: 0; font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; max-width: 18em; }
.btn-magma {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--magma); color: #fff; text-decoration: none; font-weight: 500; font-size: 16px;
  box-shadow: 0 0 0 0 rgba(234, 76, 57,.45); transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.btn-magma:hover { box-shadow: 0 0 0 1px rgba(234, 76, 57,.22), 0 0 34px -4px rgba(234, 76, 57,.6), 0 0 80px -20px rgba(234, 76, 57,.6); transform: translateY(-1px); }
.footer__word { position: relative; margin: clamp(40px, 8vh, 80px) 0 clamp(24px, 4vh, 40px); font-weight: 600; font-size: clamp(64px, 19.5vw, 340px); line-height: .8; letter-spacing: -.07em; text-align: center; white-space: nowrap; }
.footer__word .dot { color: var(--magma); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer nav a { text-decoration: none; transition: color .25s; }
.footer nav a:hover { color: #fff; }

/* ==========================================================================
   Trabajos (página propia)
   ========================================================================== */
.page-top { background: var(--ink); color: #fff; padding: calc(var(--hdr-h) + clamp(50px, 10vh, 110px)) 0 clamp(40px, 7vh, 70px); }
.page-top .sec-head { margin-bottom: 0; }
.works { background: var(--ink); color: #fff; padding-bottom: clamp(80px, 12vh, 140px); }
.cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 8px;
  transition: background .3s, color .3s, border-color .3s;
}
.cat sup { font-size: 10px; opacity: .6; }
.cat:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.cat[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.tabs-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.tabs-g > * { min-width: 0; }
@media (min-width: 1000px) { .tabs-g { grid-template-columns: minmax(0, 1fr) 380px; height: min(78vh, 760px); } }
.tabs-g__stage { position: relative; border-radius: var(--r-m); overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
@media (min-width: 1000px) { .tabs-g__stage { aspect-ratio: auto; height: 100%; } }
.tabs-g__stage img, .tabs-g__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tabs-g__stage video { object-fit: contain; background: #000; }
.tabs-g__stage .bgblur { filter: blur(30px) brightness(.5); transform: scale(1.15); }
.tabs-g__playbtn {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--magma); color: #fff; box-shadow: 0 0 50px rgba(234, 76, 57,.5);
  transition: transform .35s var(--ease);
}
.tabs-g__playbtn:hover { transform: scale(1.06); }
.tabs-g__playbtn svg { width: 24px; height: 24px; margin-left: 4px; }
.tabs-g__side { display: flex; flex-direction: column; min-height: 0; gap: 22px; }
.tabs-g__info { display: grid; gap: 12px; }
.tabs-g__info .brand { font-size: 12px; color: rgba(255,255,255,.5); }
.tabs-g__info h2 { margin: 0; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.tabs-g__info p { margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.55; }
.tabs-g__info p strong { color: #fff; font-weight: 600; }
.tabs-g__info .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs-g__info .chip { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.tabs-g__info .chip--magma { background: rgba(234, 76, 57,.16); color: var(--magma-hi); }
.tabs-g__list {
  list-style: none; margin: 0; padding: 0 6px 0 0; overflow-y: auto; min-height: 0; flex: 1;
  display: grid; align-content: start; gap: 2px; border-top: 1px solid rgba(255,255,255,.1);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent;
}
@media (max-width: 999px) {
  .tabs-g__list { display: flex; overflow-x: auto; overflow-y: hidden; gap: 10px; border-top: 0; padding: 0 0 8px; }
  .tabs-g__list li { flex: none; width: 210px; }
}
.tabs-g__item {
  width: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-align: left;
  padding: 10px 8px; border-radius: 12px; transition: background .3s;
}
@media (max-width: 999px) { .tabs-g__item { grid-template-columns: 1fr; padding: 0; gap: 8px; } }
.tabs-g__item:hover { background: rgba(255,255,255,.05); }
.tabs-g__item[aria-current="true"] { background: rgba(255,255,255,.09); }
.tabs-g__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--ink-3); }
.tabs-g__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tabs-g__item:hover .tabs-g__thumb img { transform: scale(1.05); }
.tabs-g__item[aria-current="true"] .tabs-g__thumb { box-shadow: 0 0 0 2px var(--magma); }
.tabs-g__item b { display: block; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.tabs-g__item small { display: block; margin-top: 3px; font-size: 10.5px; color: rgba(255,255,255,.45); }

/* Páginas legales */
.legal { background: var(--paper); padding: clamp(40px, 8vh, 80px) 0 clamp(80px, 12vh, 140px); }
.legal__body { max-width: 760px; }
.legal__body h2 { margin: 42px 0 12px; font-size: 22px; letter-spacing: -.025em; font-weight: 600; }
.legal__body p, .legal__body li { color: #3d3c39; font-size: 16px; line-height: 1.65; }
.legal__body a { color: var(--magma-lo); }
.legal__date { margin: 18px 0 0; font-size: 12px; color: rgba(255,255,255,.5); }

/* Aparición genérica */
.has-motion .reveal { opacity: 0; transform: translateY(24px); }

/* Movimiento reducido: todo visible, sin animaciones */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.folder__ind.is-first::before { display: none; }


/* ==========================================================================
   Sistema minimal (21/11/2026)
   - Títulos en Geist, textos en Inter. Tamaños pequeños.
   - Cada sección lleva solo su nombre, pequeño y fino, encima del contenido.
   - Sin puntos de color ni textos en color. El rojo solo en el logo y botones.
   ========================================================================== */
body { font-size: 15px; line-height: 1.55; }
.label {
  display: block; margin: 0;
  font-family: var(--title); font-weight: 300; font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -.02em; line-height: 1.1; color: inherit;
}
.label::before { content: none; }
.accent { color: inherit; }
.h-display, .h-xl, .h-l, .h-m, .services__word, .fees__word, .footer__word,
.svc-card__body h3, .stack__info h3, .tabs-g__info h2, .step h3, .form-card h3, .legal__body h2 { font-family: var(--title); }

/* Botones píldora: texto normal, pequeño */
.pill { height: 40px; padding: 0 18px; gap: 10px; font-size: 13.5px; font-weight: 500; letter-spacing: -.005em; background: var(--ink); color: #F1EFEA; }
.pill .arr { color: inherit; }
.pill:hover { background: var(--magma); }

/* Cabecera de sección: nombre a la izquierda, acción a la derecha */
.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 5vh, 52px); }
.page-top { padding-bottom: clamp(24px, 4vh, 40px); }

/* Enfoque: frase más pequeña y fina */
.focus__label { margin-bottom: 22px; }
.focus__text { font-family: var(--title); font-weight: 300; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.18; letter-spacing: -.025em; }
.has-motion .focus__inner { width: min(100%, 940px); }

/* Sobre mí */
.about__copy .label { margin-bottom: 20px; }
.about__copy p { font-size: 14.5px; line-height: 1.6; max-width: 31em; }
.about__links a { height: 34px; padding: 0 14px; font-size: 13px; }
.about__links a:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Mejores vídeos */
.best { padding-top: clamp(80px, 12vh, 120px); }
.stack__card .stack__tag { font-size: 11.5px; padding: 5px 10px; }
.stack__play { width: 58px; height: 58px; margin: -29px 0 0 -29px; box-shadow: none; }
.stack__play svg { width: 18px; height: 18px; }
.stack__hint { font-size: 13px; color: var(--grey); }
.chip { height: 24px; padding: 0 9px; font-size: 11.5px; font-weight: 500; }
.chip--magma { background: var(--paper-2); color: var(--ink); }
.stack__info h3 { font-size: clamp(19px, 1.5vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.stack__info .brand { font-size: 12px; color: var(--grey); }
.stack__info p { font-size: 14px; }

/* Servicios: la palabra sigue grande; tarjetas más pequeñas y sobrias */
.services__word { font-weight: 500; }
.svc-card { border-radius: var(--r-m); box-shadow: 0 30px 60px -36px rgba(0,0,0,.45); }
.svc-card__body { padding: clamp(20px, 2.4vw, 34px); gap: 16px; }
.svc-card__top { font-size: 12px; }
.svc-card__body h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 10px; }
.svc-card__body p { font-size: 14px; line-height: 1.6; max-width: 28em; }
.svc-card__tags span { height: 26px; padding: 0 10px; font-size: 12px; }
@media (min-width: 900px) {
  .svc-card { grid-template-columns: 1fr 1fr; height: min(52vh, 430px); }
  .has-motion .svc-card { height: min(52vh, 430px); width: min(860px, calc(100% - 2 * var(--gutter))); }
}

/* Proceso */
.process__head { margin-bottom: clamp(34px, 7vh, 70px); }
.rail__dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.step__n { font-size: 12px; color: var(--grey); margin-bottom: 10px; }
.has-motion .step.is-on .step__n, .has-motion .step.is-past .step__n { color: var(--grey); }
.step h3 { font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 8px; }
.step p { font-size: 13.5px; }

/* Tarifas: palabras grandes (decidido); carpeta más pequeña */
.fees__word { font-weight: 500; }
.fees__body { padding-top: clamp(70px, 10vh, 110px); }
.folder { max-width: 900px; }
.folder__tab { height: 44px; font-size: 13.5px; }
.folder__panel { padding: clamp(22px, 3vw, 40px); min-height: 300px; border-radius: 0 var(--r-m) var(--r-m) var(--r-m); }
.fee__price { font-family: var(--title); font-weight: 500; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.04em; margin: 6px 0 10px; }
.fee__price small { font-family: var(--font); font-size: 13px; font-weight: 400; letter-spacing: 0; margin-bottom: 10px; }
.fee__price em { font-family: var(--font); font-size: 13px; letter-spacing: 0; font-weight: 400; }
.fee__what { font-size: 15px; }
.fee__list li { font-size: 14px; padding: 12px 0; }
.fee__list li::before { content: none; }
.fee__go { margin-top: 20px; }
.fees__note { max-width: 900px; font-size: 13px; }

/* Contacto */
.contact__side { gap: 18px; }
.contact__direct { margin-top: 6px; }
.contact__direct a { font-size: 15px; font-weight: 400; }
.contact__direct a:hover { color: inherit; border-bottom-color: currentColor; }
.form-card { border-radius: var(--r-m); padding: clamp(22px, 3vw, 40px); }
.form-card h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.form-card .req { font-size: 13px; margin: 8px 0 clamp(20px, 3vw, 30px); }
.f label { font-size: 12.5px; font-weight: 500; margin-bottom: 8px; }
.f input, .f select, .f textarea { height: 48px; font-size: 14.5px; padding: 0 14px; }
.f textarea { height: 150px; padding: 12px 14px; }
.form-send { height: 52px; font-size: 15px; }
.form-grid { gap: 18px; }

/* Preguntas */
.acc__q { font-size: clamp(15px, 1.1vw, 17px); padding: 18px 0; }
.acc__q:hover { color: inherit; opacity: .7; }
.acc__icon { width: 28px; height: 28px; }
.acc__a p { font-size: 14.5px; }

/* Pie y logo (letras juntas y punto redondo, como en la web anterior) */
.footer__cta { font-family: var(--title); font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.02em; }
.btn-magma { height: 44px; padding: 0 20px; font-size: 14px; }
.footer__word { font-weight: 600; letter-spacing: -.075em; }
.footer__word .dot { display: inline-block; width: .15em; height: .15em; border-radius: 50%; background: var(--magma); margin-left: .02em; vertical-align: baseline; }
.footer__bottom { font-size: 13px; }

/* Trabajos */
.cat { height: 34px; padding: 0 14px; font-size: 13px; }
.cat sup { font-size: 10.5px; }
.tabs-g__info h2 { font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.tabs-g__info .brand { font-size: 12px; }
.tabs-g__info p { font-size: 14px; }
.tabs-g__info .chip--magma { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.tabs-g__item b { font-size: 13.5px; }
.tabs-g__item small { font-size: 11.5px; }
.tabs-g__item[aria-current="true"] .tabs-g__thumb { box-shadow: 0 0 0 2px #fff; }
.tabs-g__playbtn { width: 62px; height: 62px; margin: -31px 0 0 -31px; box-shadow: none; }
.tabs-g__playbtn svg { width: 19px; height: 19px; }

/* Legales */
.legal__body a { color: inherit; }
.legal__body h2 { font-size: 18px; font-weight: 500; }
.legal__body p, .legal__body li { font-size: 14.5px; }
.legal__date { font-size: 12.5px; }

/* Enfoque → Sobre mí con imagen 16:9 (21/11/2026) */
.br-m { display: none; }
@media (max-width: 899px) { .br-m { display: inline; } .br-d { display: none; } }
.focus__thumb { height: .95em; vertical-align: -.14em; width: calc(.95em * 16 / 9); margin-right: .28em; }
.focus__thumb img { object-position: 50% 50%; }
.has-motion .about__pic { width: 100%; }
.has-motion .about__pic img { object-position: 50% 50%; }
.has-motion .about__pic::after { background: linear-gradient(90deg, rgba(26,26,28,0) 38%, rgba(26,26,28,.62) 56%, rgba(26,26,28,.9) 78%); }
@media (max-width: 899px) {
  .has-motion .about__pic img { object-position: 42% 50%; }
  .has-motion .about__pic::after { background: linear-gradient(180deg, rgba(26,26,28,0) 25%, rgba(26,26,28,.7) 52%, rgba(26,26,28,.96) 78%); }
}

/* Mejores vídeos: la pila queda centrada en pantalla al abrirse las puertas (21/11/2026) */
.best { padding-top: clamp(70px, 10vh, 110px); }
.best__title {
  margin: 0 0 22px; text-align: center;
  font-family: var(--title); font-weight: 300; font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -.02em; line-height: 1.1;
  transition: opacity .3s;
}
.best__t1 { color: var(--ink); }
.best__t2 { color: #9A9893; }
.best__title span { display: inline-block; }
.stack.is-ready .best__title { position: absolute; left: 0; right: 0; top: 0; margin: 0; z-index: 30; pointer-events: none; }
.stack.is-open .best__title { opacity: 0; }
.stack:not(.is-ready) .best__title { grid-column: 1 / -1; }
.has-motion .best { padding-top: calc(50svh - min(max(31svh, 210px), 320px) + 20px); }
@media (max-width: 899px) {
  .has-motion .best { padding-top: calc(50svh - max(180px, 45vw) + 20px); }
}

/* Mejores vídeos: título en dos líneas, más grande (21/11/2026) */
.best__title { font-weight: 400; font-size: clamp(34px, 3.8vw, 60px); line-height: 1; letter-spacing: -.035em; }
.best__title span { display: block; }
/* Puertas en 3D sin tirones: cada capa se pinta una vez y luego solo se mueve */
.has-motion .about__half, .has-motion .about__copy, .has-motion .stack { will-change: transform; backface-visibility: hidden; }
.has-motion .best { will-change: transform; }

/* «Pulsa para ver»: pequeño, bajo la pila; en escritorio aparece al pasar el cursor */
.stack.is-ready .stack__hint {
  position: absolute; left: 0; right: 0; bottom: auto; margin: 0; text-align: center; display: block;
  font-size: 12px; letter-spacing: 0; color: #9A9893; pointer-events: none; transform: none;
}
@media (hover: hover) and (min-width: 900px) {
  .stack.is-ready .stack__hint { opacity: 0; visibility: hidden; transform: translateY(10px); filter: blur(6px); }
}
.stack.is-open .stack__hint { opacity: 0 !important; visibility: hidden !important; }

/* Mejores vídeos fija detrás de las puertas mientras dura el anclaje (21/11/2026) */
.best-hold { display: none; margin-top: -100svh; pointer-events: none; }
.has-motion .best { will-change: auto; }
.has-motion .best.is-held { position: fixed; top: 0; left: 0; right: 0; margin-top: 0; }
.stack.is-closing .best__title { opacity: 0; }

/* Cristal (glassmorphism) donde hay texto detrás (21/11/2026) */
/* Menú y botón de contacto: oscuro translúcido, deja intuir lo que pasa por debajo */
.island, .cta-btn {
  background: rgba(31,31,33,.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
.island__bar { background: transparent; }
.island.is-open { background: rgba(31,31,33,.86); }
@media (hover: hover) { .cta-btn:hover { background: var(--magma); } }

/* Servicios: tarjetas de cristal claro, más pequeñas y con la foto enmarcada;
   la palabra «Servicios» se ve desenfocada a través de ellas */
.svc-card {
  background: rgba(250,250,248,.5); color: var(--ink);
  -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 60px -40px rgba(0,0,0,.35);
  padding: 10px; gap: 0; border-radius: 26px;
}
.svc-card__pic { border-radius: 18px; }
.svc-card__body { padding: clamp(18px, 2vw, 28px) clamp(18px, 2vw, 26px) clamp(14px, 1.6vw, 20px); }
.svc-card__top { color: #8C8A85; }
.svc-card__body p { color: #6E6C67; }
.svc-card__tags span { border-color: rgba(26,26,28,.14); color: #3A3936; }
@media (min-width: 900px) {
  .svc-card { height: min(46vh, 370px); }
  .has-motion .svc-card { height: min(46vh, 370px); width: min(720px, calc(100% - 2 * var(--gutter))); }
}
@media (max-width: 899px) {
  .has-motion .svc-card { width: min(420px, calc(100% - 2 * var(--gutter))); }
  .has-motion .svc-card__pic { aspect-ratio: 16 / 11; }
}

/* Salida suave de Mejores vídeos: la sección sube un poco antes de soltarse (ver applyRamp) */
:root { --best-pull: 160px; }
.has-motion .best { margin-top: calc(-100svh - var(--best-pull)); }
.best-hold { margin-top: calc(-100svh - var(--best-pull)); }

.has-motion .about__pic img { will-change: transform; }

/* Tarifas sobre la última foto: la foto ampliada se queda de fondo fija y las
   tarifas suben por encima (21/11/2026) */
.fees__bg { display: none; }
.has-motion .fees__intro { background: transparent; z-index: 1; }
.has-motion .fees__row { background: var(--paper); }
.has-motion .fees__body { margin-top: -100svh; padding-top: 0; background: transparent; z-index: 0; }
.has-motion .fees__body > .wrap { padding-top: calc(100svh + clamp(40px, 8vh, 90px)); }
.has-motion .fees__bg { display: block; position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; overflow: hidden; }
.has-motion .fees__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.has-motion .fees__bg::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .5; }
.has-motion .fees__body > .wrap { position: relative; z-index: 1; }

/* Tarifas en cristal negro sobre la foto (21/11/2026): la carpeta se queda
   quieta en el centro de la foto y aparece ahí, sin subir */
:root { --glass-k: rgba(16, 16, 18, .52); }
.has-motion .fees__body > .wrap {
  padding-top: 0; position: sticky; top: 0; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(74px, 11vh, 110px) clamp(28px, 5vh, 56px);
}
.has-motion .fees__body { padding-bottom: clamp(120px, 20vh, 220px); }
.has-motion .fees__body::after { content: ""; display: block; height: 70svh; }
.folder { width: 100%; }
.folder__ind, .folder__ind::before, .folder__ind::after, .folder__panel {
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
}
.folder__ind { background: var(--glass-k); }
.folder__ind::before, .folder__ind::after { background: var(--glass-k); }
.folder__ind::before {
  -webkit-mask: radial-gradient(circle at 0 0, transparent 15.5px, #000 16px);
  mask: radial-gradient(circle at 0 0, transparent 15.5px, #000 16px);
}
.folder__ind::after {
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 15.5px, #000 16px);
  mask: radial-gradient(circle at 100% 0, transparent 15.5px, #000 16px);
}
.folder__tab { color: rgba(255,255,255,.6); }
.folder__tab[aria-selected="true"] { color: #fff; }
.folder__panel { background: var(--glass-k); color: #F1EFEA; min-height: 0; padding: 0; }
.fee { padding: clamp(24px, 3.2vw, 42px); gap: clamp(26px, 4vw, 56px); }
.fee > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.fee__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin: 0 0 18px; color: #fff; }
.fee__price small { flex-basis: 100%; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.fee__from { font-family: var(--font); font-size: 14px; letter-spacing: 0; font-weight: 400; color: rgba(255,255,255,.6); }
.fee__price em { color: rgba(255,255,255,.55); }
.fee__what {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,.85);
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04);
}
.fee__what::before {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor; opacity: .75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='14' height='14' rx='3'/%3E%3Cpath d='M16.5 10l5-3v10l-5-3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='14' height='14' rx='3'/%3E%3Cpath d='M16.5 10l5-3v10l-5-3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fee__go { margin-top: auto; padding-top: 0; }
.fee > div:first-child .fee__go { margin-top: 26px; }
.fee .pill { background: #F1EFEA; color: var(--ink); }
.fee .pill:hover { background: var(--magma); color: #fff; }
.fee__inc-t { margin: 0 0 6px; font-family: var(--title); font-weight: 300; font-size: 13px; letter-spacing: .02em; color: rgba(255,255,255,.55); }
.fee__list li { align-items: flex-start; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.88); line-height: 1.45; }
.fee__list li:first-child { border-top: 0; }
.fee__list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .05em; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E");
}
@media (min-width: 900px) {
  .fee { grid-template-columns: 1fr 1.15fr; gap: 0; }
  .fee > div:first-child { padding-right: clamp(26px, 3.4vw, 48px); }
  .fee__inc { padding-left: clamp(26px, 3.4vw, 48px); border-left: 1px solid rgba(255,255,255,.1); }
}
.fees__note {
  margin: 0; max-width: none; padding: 16px clamp(24px, 3.2vw, 42px) 20px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.5);
}
@media (max-width: 899px) { .fee__list li { padding: 10px 0; font-size: 13.5px; } }
.has-motion .fees__intro { pointer-events: none; }

/* Transición del menú: copia fija de la vista actual, debajo de la ventana */
.wt-snap { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; scrollbar-width: none; }
.wt-snap::-webkit-scrollbar { display: none; }

/* Tarifas: sin esquinas curvas en la unión pestaña-tarjeta y misma altura para
   todas las tarifas (se apilan en la misma celda; la más alta marca el tamaño) */
/* (curvas de unión pestaña-tarjeta restauradas) */
.folder__panel, .folder__panel.is-first { border-radius: 0 var(--r-m) var(--r-m) var(--r-m); }
.folder__panel:not(.is-first) { border-top-left-radius: var(--r-m); }
.folder__panel { display: grid; grid-template-columns: minmax(0, 1fr); }
.fee, .fee[hidden] { display: grid; grid-row: 1; grid-column: 1; }
.fee[hidden] { visibility: hidden; pointer-events: none; }
.fees__note { grid-row: 2; grid-column: 1; }

/* Mejores vídeos: marca como título, descripción de 3 líneas como máximo */
.stack__info .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Tarifas: la primera pestaña también deja margen a la izquierda, así la tarjeta
   conserva siempre su esquina redondeada y la unión curva (también durante el
   rebote); la zona de abajo (nota) mide siempre lo mismo */
.folder__tabs { padding-left: 36px; }
.folder__panel, .folder__panel.is-first { border-radius: var(--r-m); }
.folder__ind.is-first::before { display: block; }
.folder__panel { grid-template-rows: 1fr auto; align-content: stretch; }
.fee { align-content: start; }

/* Tarifas · zona del precio (22/11/2026): sin el nombre repetido (ya está en la
   pestaña), «Desde» encima, precio grande, dos datos con icono y botón con la
   misma flecha que Contacto */
.fee__main { display: flex; flex-direction: column; align-items: flex-start; }
.fee__from { margin: 0 0 6px; font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: .01em; }
.fee .fee__price { display: flex; align-items: baseline; gap: 10px; margin: 0; font-family: var(--title); font-weight: 500;
  font-size: clamp(44px, 4.6vw, 68px); letter-spacing: -.045em; line-height: .95; color: #fff; }
.fee .fee__price em { font-family: var(--font); font-style: normal; font-size: 13px; letter-spacing: 0; font-weight: 400; color: rgba(255,255,255,.5); }
.fee__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: 13.5px; color: rgba(255,255,255,.78); }
.fee__meta span { display: inline-flex; align-items: center; gap: 7px; }
.fee__meta svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.fee .fee__go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 5px 0 18px; border-radius: 999px;
  background: #F1EFEA; color: var(--ink); text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: -.005em;
  transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.fee > .fee__main .fee__go { margin-top: auto; }
.fee__main { padding-bottom: 2px; }
.fee__main .fee__meta + .fee__go { margin-top: 28px; }
@media (min-width: 900px) { .fee__main .fee__meta + .fee__go { margin-top: auto; } .fee__main .fee__meta { margin-bottom: 28px; } }
.fee .fee__go .cta-btn__ic { width: 32px; height: 32px; }
.fee .fee__go svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.fee .fee__go .cta-btn__a2 { transform: translateX(-170%); }
@media (hover: hover) {
  .fee .fee__go:hover { background: var(--magma); color: #fff; box-shadow: 0 12px 30px -10px rgba(234, 76, 57,.6); }
}

/* Tarifas · botón «Pedir presupuesto» (22/11/2026): blanco entero, flecha oscura
   sin círculo; al pasar el cursor se vuelve naranja entero y la flecha cambia.
   La nota de abajo va en una sola línea en escritorio. */
.fee .fee__go { padding: 0 10px 0 20px; gap: 6px; background: #fff; }
.fee .fee__go .cta-btn__ic { background: transparent; color: var(--ink); width: 26px; height: 26px; transition: color .45s var(--ease); }
@media (hover: hover) {
  .fee .fee__go:hover .cta-btn__ic { background: transparent; color: #fff; }
}
@media (min-width: 900px) { .fees__note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* Tarifas · título encima de la tarjeta (22/11/2026) */
.fees__title {
  margin: 0 0 clamp(16px, 2.4vh, 26px); font-family: var(--title); font-weight: 500;
  font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.04em; line-height: 1; color: #fff;
}

/* Menú: el punto de la píldora nunca se encoge durante el rebote al cerrar */
.island__dot { flex: none; }
.island__bar { min-width: 0; }

/* Proceso más cerca de Servicios (22/11/2026): sin tramo vacío entre las dos */
.has-motion .process { margin-top: -35svh; z-index: 1; }
@media (min-width: 900px) { .has-motion .process { margin-top: -52svh; } }

/* Tarifas más cerca de Proceso (22/11/2026) */
.has-motion .fees { margin-top: -60px; z-index: 1; }
@media (min-width: 900px) { .has-motion .fees { margin-top: -60svh; } }

/* Tarifas · cristal en una sola pieza (22/11/2026): la forma de pestaña + tarjeta
   se recorta en una única capa, sin uniones visibles. Pestaña y tarjeta quedan
   transparentes encima. --ga (tono) y --gb (desenfoque) animan la aparición. */
.folder__glass { display: none; }
.folder.has-glass .folder__glass {
  display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --ga: 1; --gb: 24px;
  background: rgba(16, 16, 18, calc(.52 * var(--ga)));
  -webkit-backdrop-filter: blur(var(--gb)) saturate(calc(1 + .4 * var(--ga)));
  backdrop-filter: blur(var(--gb)) saturate(calc(1 + .4 * var(--ga)));
}
.folder.has-glass .folder__ind, .folder.has-glass .folder__panel {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.folder.has-glass .folder__ind::before, .folder.has-glass .folder__ind::after { display: none; }
.folder.has-glass .folder__tabs, .folder.has-glass .folder__panel, .folder.has-glass .fees__title { position: relative; z-index: 1; }
/* al volver hacia arriba, la tarjeta queda por encima de la foto de la intro
   mientras hace su animación de salida */
.has-motion .fees__body { z-index: auto; }
.has-motion .fees__body > .wrap { z-index: 2; }

/* Enfoque: miniatura algo más grande al aparecer (22/11/2026), como la referencia */
.focus__thumb { height: 1.15em; vertical-align: -.24em; width: calc(1.15em * 16 / 9); margin-right: .3em; border-radius: .2em; }

/* Tarifas · intro como la referencia (22/11/2026): palabras más pequeñas y foto
   de ~36 % del alto de pantalla, con aire entre ellas */
.fees__word { font-size: clamp(34px, 4.6vw, 86px); letter-spacing: -.045em; }
.fees__row { gap: clamp(18px, 2.8vw, 48px); }

/* Tarifas: el bloque de la tarjeta empieza antes (se solapa más con la intro),
   así la tarjeta ya está fija en pantalla mientras la foto termina de crecer y
   no hace falta moverla con JavaScript (sin vibraciones) */
.has-motion .fees__body { margin-top: -190svh; }

/* Tarifas: tramo fijo más largo, para que la tarjeta se abra y se cierre
   quieta en su sitio durante el avance automático */
.has-motion .fees__body::after { height: 115svh; }

/* Tarifas → Contacto: la web blanca sube tapando la foto de fondo (la foto y la
   tarjeta siguen subiendo con el scroll; ya no se ve la foto por debajo) */
.has-motion .contact { z-index: 3; }

/* Contacto (22/11/2026): palabra grande centrada y la tarjeta del formulario,
   de cristal claro como las de Servicios, tapando su mitad inferior.
   Tarjeta ancha y baja (los campos van en fila, no en columna) */
.contact { padding: clamp(70px, 11vh, 130px) 0 clamp(60px, 9vh, 110px); }
.contact__stage { --cw: clamp(64px, 15vw, 260px); display: flex; flex-direction: column; align-items: center; }
.contact__word {
  margin: 0; font-family: var(--title); font-weight: 500; font-size: var(--cw);
  letter-spacing: -.06em; line-height: .85; text-align: center; color: var(--ink);
  position: relative; z-index: 0; user-select: none;
}
.contact .form-card {
  position: relative; z-index: 1; width: 100%; max-width: 760px;
  margin-top: calc(var(--cw) * -.27);
  background: rgba(250,250,248,.38); color: var(--ink);
  -webkit-backdrop-filter: blur(9px) saturate(1.3); backdrop-filter: blur(9px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 60px -40px rgba(0,0,0,.35);
  border-radius: 26px; padding: clamp(20px, 2.6vw, 34px);
}
.form-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: clamp(16px, 2vw, 24px); }
.contact .form-card h3 { margin: 0; font-size: clamp(20px, 1.7vw, 26px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.contact .form-card .req { margin: 0; font-size: 13px; color: rgba(26,26,28,.5); }
.contact .form-grid { gap: 14px; }
.contact .f label { color: rgba(26,26,28,.75); }
.contact .f input, .contact .f select, .contact .f textarea {
  background-color: rgba(255,255,255,.6); color: var(--ink); border-color: rgba(26,26,28,.1); border-radius: 10px;
}
.contact .f input::placeholder, .contact .f textarea::placeholder, .contact .f select:invalid { color: rgba(26,26,28,.4); }
.contact .f input:hover, .contact .f select:hover, .contact .f textarea:hover { border-color: rgba(26,26,28,.25); }
.contact .f input:focus, .contact .f select:focus, .contact .f textarea:focus { border-color: var(--ink); background-color: rgba(255,255,255,.85); }
.contact .f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231A1A1C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.contact .f textarea { height: 110px; }
.contact .form-send { background: var(--ink); color: #fff; border-radius: 999px; margin-top: 0; height: 48px; }
.contact .form-msg { color: var(--magma); min-height: 0; }
.contact .form-msg:empty { display: none; }
.contact .form-msg.is-ok { color: #2E8B45; }
.contact .form-legal { color: rgba(26,26,28,.5); font-size: 12.5px; }
.contact .form-legal a { color: rgba(26,26,28,.75); }
.contact__direct { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: clamp(22px, 3vw, 34px) 0 0; }

/* Contacto: tarjeta más estrecha (2 + 2 campos y el grande debajo) y la
   palabra se lee a través del cristal (menos desenfoque, menos solape) */
@media (min-width: 620px) { .contact .form-grid { grid-template-columns: 1fr 1fr; } }
.contact .f textarea { height: 140px; }
.contact .form-send { grid-column: 1 / -1; height: 52px; }
@media (max-width: 619px) { .contact .form-card { margin-top: calc(var(--cw) * -.17); } }

/* Contacto compacto: palabra + formulario caben centrados en la pantalla al
   llegar desde el menú o el botón (la palabra también se limita por la altura) */
.contact__stage { --cw: clamp(64px, min(15vw, 21vh), 260px); }
.contact .form-card { padding: clamp(18px, 2.2vw, 28px); }
.form-card__head { margin-bottom: clamp(10px, 1.6vh, 18px); }
.contact .form-grid { gap: 10px 14px; }
.contact .f label { margin-bottom: 5px; font-size: 12px; }
.contact .f input, .contact .f select { height: 42px; }
.contact .f textarea { height: 58px; min-height: 58px; padding: 10px 14px; resize: none; }
.contact .form-send { height: 44px; margin-top: 4px; }
.contact .form-legal { font-size: 12px; }

/* Enviar mensaje: misma flecha y misma animación que «Pedir presupuesto»
   (la flecha sale por la derecha y entra otra; el botón se vuelve naranja) */
.contact .form-send { gap: 6px; transition: background .45s var(--ease), box-shadow .45s var(--ease), color .35s var(--ease); }
.contact .form-send::before { content: none; }
.contact .form-send .cta-btn__ic { width: 26px; height: 26px; background: transparent; color: currentColor; }
.contact .form-send svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.contact .form-send .cta-btn__a2 { transform: translateX(-170%); }
@media (hover: hover) {
  .contact .form-send:hover { background: var(--magma); color: #fff; box-shadow: 0 12px 30px -10px rgba(234, 76, 57,.6); }
}
@media (min-width: 620px) and (max-height: 700px) { .contact .form-card { margin-top: calc(var(--cw) * -.2); } }

/* Contacto ocupa al menos una pantalla entera, con el contenido centrado en el
   espacio bajo el menú: al llegar desde el menú solo se ve Contacto */
.contact { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0 0; }
.contact__stage { width: 100%; }

/* ==========================================================================
   Preguntas frecuentes, al estilo de una lista de servicios: filas finas con
   número; en escritorio la fila se ilumina y a la derecha se abre un cuadro
   con la respuesta alineado con ella. En móvil, se despliega debajo.
   ========================================================================== */
.faq { padding: clamp(60px, 11vh, 130px) 0 clamp(90px, 14vh, 150px); }
.qa__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: clamp(18px, 3vh, 30px); }
.qa__count { font-size: 13px; color: rgba(26,26,28,.5); font-variant-numeric: tabular-nums; }
.qa { position: relative; border-top: 1px solid rgba(26,26,28,.12); }
.qa__item { border-bottom: 1px solid rgba(26,26,28,.12); }
.qa__h { margin: 0; font: inherit; }
.qa__q {
  position: relative; width: 100%; display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 0 12px;
  padding: 17px 0; text-align: left; color: var(--ink);
  font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25;
}
.qa__n { font-size: 12px; font-weight: 400; letter-spacing: 0; color: rgba(26,26,28,.42); font-variant-numeric: tabular-nums; padding-left: 10px; transition: color .3s var(--ease); }
.qa__t { position: relative; transition: color .3s var(--ease); }
.qa__icon { position: relative; width: 22px; height: 22px; margin-right: 4px; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; transition: transform .45s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa__item.is-open .qa__icon::after { transform: rotate(0deg); }
/* barra de color que aparece detrás de la fila */
.qa__q::before { content: ""; position: absolute; inset: 1px 0; z-index: -1; background: var(--ink); border-radius: 4px; transform: scaleY(0); opacity: 0; transition: transform .4s var(--ease), opacity .3s var(--ease); }
.qa__q { z-index: 0; }
.qa__a { overflow: hidden; }
.qa__a[hidden] { display: block; height: 0; visibility: hidden; }
.qa__a p { margin: 0; padding: 0 40px 22px calc(3.2em + 12px); color: #4a4945; font-size: 15px; line-height: 1.6; max-width: 46em; }
.qa__card { display: none; }

@media (min-width: 900px) and (hover: hover) {
  /* número a la izquierda, hueco para la respuesta y la pregunta en la zona central */
  .qa__q { grid-template-columns: 1fr; padding: 19px 0; }
  .qa__n { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
  .qa__t { margin-left: 43%; }
  .qa__icon { display: none; }
  .qa__q::before { background: #E4E2DC; inset: 0; border-radius: 0; }
  .qa__item.is-open .qa__q::before { transform: scaleY(1); opacity: 1; }
  .qa__item.is-open .qa__n { color: var(--ink); }
  /* en escritorio la respuesta vive en el cuadro; la de debajo queda para lectores de pantalla */
  .qa__a, .qa__a[hidden] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .qa__card {
    display: block; position: absolute; top: 0; left: 9%; z-index: 2; width: 31%;
    padding: clamp(18px, 1.7vw, 26px); border-radius: 0;
    background: var(--ink); color: #fff;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; transform-origin: 50% 50%; pointer-events: none; will-change: transform, opacity;
  }
  .qa__card-txt { margin: 0; font-size: clamp(14px, 1vw, 15.5px); line-height: 1.6; color: rgba(255,255,255,.88); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) and (hover: hover) {
  .qa__card.is-on { opacity: 1; visibility: visible; }
}

/* nada se sale por los lados: sin desplazamiento horizontal en ningún dispositivo */
html { overflow-x: clip; }

/* las preguntas quedan siempre por encima del fundido final */
.qa { z-index: 1; }

/* Final de la página: Preguntas acaba en un escalón redondeado con sombra y el
   pie sale de debajo (queda quieto mientras la página sube). El pie mide menos
   que la pantalla, así que arriba se sigue viendo el final de Preguntas */
.has-reveal main { position: relative; z-index: 1; }
.has-reveal .faq {
  position: relative; border-radius: 0 0 clamp(22px, 2.6vw, 40px) clamp(22px, 2.6vw, 40px);
  box-shadow: 0 40px 70px -20px rgba(0,0,0,.55), 0 14px 26px -10px rgba(0,0,0,.35);
}
.has-reveal .footer { position: sticky; bottom: 0; z-index: 0; visibility: hidden; }
.has-reveal .footer.is-near { visibility: visible; }

/* Pie: redes y correo en botones (logo + nombre) */
.footer__links { display: flex; flex-wrap: wrap; gap: 10px; }
.soc {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.soc svg { width: 17px; height: 17px; flex: none; }
@media (hover: hover) { .soc:hover { background: #fff; color: var(--ink); border-color: #fff; } }

/* Final con el pie debajo: el pie ocupa casi toda la pantalla y arriba queda
   solo una franja del blanco de Preguntas (sin preguntas), con sombra */
.has-reveal .footer { min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); display: flex; flex-direction: column; }
.has-reveal .footer > .wrap { flex: 1; display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.has-reveal .faq { padding-bottom: max(190px, 20vh); }
.has-reveal .faq { box-shadow: 0 30px 50px -6px rgba(0,0,0,.8), 0 70px 120px -10px rgba(0,0,0,.6); }
@media (max-width: 619px) {
  .has-reveal .footer { min-height: calc(100vh - 90px); min-height: calc(100svh - 90px); }
}

/* detrás de las esquinas redondeadas de Preguntas, negro (no el fondo claro) */
.has-reveal .faq::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: var(--ink); z-index: -1; pointer-events: none; }

/* Sobre mí: las mismas pastillas de redes que el pie */
.about__links { margin-top: 22px; }
.about__links .soc { height: 44px; padding: 0 18px 0 14px; font-size: 14px; border-color: rgba(255,255,255,.18); background: transparent; color: #fff; }
@media (hover: hover) { .about__links .soc:hover { background: #fff; border-color: #fff; color: var(--ink); } }

/* Menú y Contacto: crecen un poco con rebote al pasar el cursor (lo hace main.js) */
.island, .cta-btn { transform-origin: 50% 50%; }

/* ==========================================================================
   Trabajos: una sola pantalla, sin scroll ni pie. Fondo claro; a la izquierda
   el vídeo y a la derecha la ficha corta, el sector y la lista de vídeos.
   ========================================================================== */
html:has(body[data-page="trabajos"]), body[data-page="trabajos"] { height: 100%; overflow: hidden; overscroll-behavior: none; }
body[data-page="trabajos"] { background: var(--paper); }
.wk {
  position: relative; height: 100vh; height: 100svh; background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; padding: calc(var(--hdr-h) + clamp(8px, 2.5vh, 28px)) 0 clamp(36px, 6vh, 64px);
}
.wk__grid {
  flex: 1; min-height: 0; width: 100%; display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 400px);
  grid-template-rows: auto minmax(0, 1fr); gap: clamp(18px, 3.2vh, 34px) clamp(40px, 5vw, 96px);
}
.wk__title { grid-column: 1 / -1; margin: 0; }
.wk__stage-box { min-height: 0; container-type: size; }
.wk__stage {
  position: relative; overflow: hidden; border-radius: 14px; background: #E4E2DC;
  width: min(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9;
}
.wk__stage img, .wk__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wk__stage img.is-vertical { object-fit: contain; }
.wk__stage video { object-fit: contain; background: #000; }
.wk__stage .bgblur { filter: blur(30px) brightness(.75); transform: scale(1.15); }
.wk__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.45); transition: transform .5s var(--ease), background .3s;
}
.wk__play svg { width: 22px; height: 22px; margin-left: -1px; }
@media (hover: hover) { .wk__play:hover { transform: scale(1.08); background: #fff; } }

.wk__side { min-height: 0; display: flex; flex-direction: column; }
/* ficha del vídeo elegido: título y 2–3 líneas como máximo */
.wk__info { min-height: 0; padding-bottom: clamp(18px, 3vh, 30px); }
.wk__kicker { display: block; font-size: 12px; color: rgba(26,26,28,.5); margin-bottom: 8px; }
.wk__info h2 { margin: 0 0 8px; font-family: var(--title); font-weight: 400; font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -.025em; line-height: 1.15; }
.wk__info p { margin: 0; color: rgba(26,26,28,.62); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* sector con flechas y menú */
.wk__sector { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 10px; }
.wk__arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid rgba(26,26,28,.14); transition: background .3s, color .3s, border-color .3s; flex: none; }
.wk__arrow svg { width: 16px; height: 16px; }
@media (hover: hover) { .wk__arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.wk__pick { position: relative; flex: 1; display: flex; justify-content: center; }
.wk__current { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); transition: background .3s; }
.wk__current-in { display: inline-flex; align-items: baseline; gap: 5px; }
.wk__current sup { font-size: 10px; color: rgba(26,26,28,.45); font-weight: 400; }
.wk__current svg { width: 14px; height: 14px; opacity: .55; transition: transform .35s var(--ease); }
.wk__current[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) { .wk__current:hover { background: rgba(26,26,28,.06); } }
.wk__menu {
  position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; z-index: 5; min-width: 220px;
  list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: rgba(31,31,33,.92); color: #F1EFEA;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 22px 50px -20px rgba(0,0,0,.5); transform-origin: 50% 0;
}
.wk__menu button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 12px; border-radius: 9px; font-size: 14px; color: inherit; text-align: left; transition: background .25s; }
.wk__menu button sup { font-size: 11px; opacity: .5; }
.wk__menu button:hover, .wk__menu button:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.wk__menu button[aria-selected="true"] { background: rgba(255,255,255,.12); }

/* lista: número, miniatura, marca y duración; mucho aire, el elegido destaca */
.wk__list {
  list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid rgba(26,26,28,.1); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent);
}
.wk__list::-webkit-scrollbar { display: none; }
.wk__list li { border-bottom: 1px solid rgba(26,26,28,.1); }
.wk__item {
  width: 100%; display: grid; grid-template-columns: 44px 52px minmax(0, 1fr) auto; align-items: center; gap: 0 18px;
  height: clamp(60px, 8.2vh, 76px); text-align: left; color: rgba(26,26,28,.42); transition: color .35s var(--ease);
}
.wk__n { font-size: 12px; font-variant-numeric: tabular-nums; }
.wk__thumb { justify-self: center; width: 34px; height: 44px; border-radius: 5px; overflow: hidden; background: #E4E2DC; transition: width .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease); }
.wk__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wk__brand { font-size: clamp(15px, 1.15vw, 18px); font-weight: 400; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk__dur { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(26,26,28,.42); }
@media (hover: hover) { .wk__item:hover { color: rgba(26,26,28,.75); } }
.wk__item[aria-current="true"] { color: var(--ink); }
.wk__item[aria-current="true"] .wk__thumb { width: 46px; height: 58px; box-shadow: 0 10px 22px -12px rgba(0,0,0,.45); }

/* avisos legales: discretos, abajo a la izquierda (deben estar accesibles en todas las páginas) */
.wk__legal { position: absolute; left: var(--gutter); bottom: clamp(12px, 2.2vh, 22px); display: flex; gap: 16px; font-size: 11.5px; }
.wk__legal a { color: rgba(26,26,28,.42); text-decoration: none; transition: color .25s; }
.wk__legal a:hover { color: var(--ink); }

@media (max-width: 899px) {
  .wk { padding-top: calc(var(--hdr-h) + 4px); padding-bottom: 46px; }
  .wk__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); gap: 14px; }
  .wk__stage-box { container-type: normal; }
  .wk__stage { width: 100%; }
  .wk__info { padding-bottom: 12px; }
  .wk__info h2 { font-size: 18px; margin-bottom: 4px; }
  .wk__info p { font-size: 13px; -webkit-line-clamp: 2; }
  .wk__item { height: 58px; grid-template-columns: 32px 46px minmax(0, 1fr) auto; gap: 0 12px; }
  .wk__item[aria-current="true"] .wk__thumb { width: 40px; height: 50px; }
}

/* Trabajos (2): todo apoyado abajo, lejos del título; 4 vídeos a la vista con
   más aire; la marca en grande y el título en gris en una sola línea */
.wk { --row: clamp(70px, 10.6vh, 96px); }
.wk__grid { grid-template-rows: auto minmax(0, 1fr); align-items: end; }
.wk__stage-box { height: 100%; display: flex; align-items: flex-end; }
.wk__side { height: 100%; justify-content: flex-end; }
.wk__info { padding-bottom: clamp(20px, 3.4vh, 34px); }
.wk__info h2 { font-family: var(--title); font-weight: 400; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.04em; line-height: 1; margin: 0 0 10px; }
.wk__info .wk__sub { margin: 0 0 12px; font-size: 15px; color: rgba(26,26,28,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk__info .wk__desc { color: rgba(26,26,28,.62); }
.wk__list { flex: none; height: calc(var(--row) * 4 + 1px); -webkit-mask-image: none; mask-image: none; scroll-snap-type: y proximity; }
.wk__list li { scroll-snap-align: start; }
.wk__item { height: var(--row); grid-template-columns: 52px 60px minmax(0, 1fr) auto; gap: 0 18px; }
.wk__thumb { width: 39px; height: 49px; }
.wk__item[aria-current="true"] .wk__thumb { width: 54px; height: 68px; }
@media (max-width: 899px) {
  .wk { --row: 62px; }
  .wk__grid { align-items: start; grid-template-rows: auto auto minmax(0, 1fr); }
  .wk__stage-box, .wk__side { height: auto; }
  .wk__info h2 { font-size: 26px; margin-bottom: 4px; }
  .wk__info .wk__sub { font-size: 13.5px; margin-bottom: 6px; }
  .wk__side { justify-content: flex-start; }
  .wk__item { grid-template-columns: 30px 48px minmax(0, 1fr) auto; gap: 0 12px; }
  .wk__thumb { width: 32px; height: 40px; }
  .wk__item[aria-current="true"] .wk__thumb { width: 40px; height: 50px; }
}

/* Trabajos sin menú: arriba solo el título y «Volver al portafolio» */
body[data-page="trabajos"] { --hdr-h: 0px; }
.wk { padding-top: clamp(26px, 5vh, 56px); }
.wk__top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
@media (max-width: 899px) { .wk { padding-top: 18px; } }

/* Trabajos (3): la ficha arriba del todo en la columna derecha (la lista sigue
   abajo); «Volver» a la izquierda junto al título; marca y frase con la letra
   de «Tarifas · fee»; miniaturas en tres tamaños (normal, cursor, elegida) */
@media (min-width: 900px) {
  .wk__top { grid-column: 1; grid-row: 1; justify-content: flex-start; gap: clamp(18px, 2vw, 28px); }
  .wk__stage-box { grid-column: 1; grid-row: 2; }
  .wk__side { grid-column: 2; grid-row: 1 / span 2; height: 100%; justify-content: space-between; }
}
.wk__back { order: -1; }
.wk__info h2 { font-family: var(--title); font-weight: 500; font-size: clamp(34px, 3.1vw, 50px); letter-spacing: -.045em; line-height: .95; color: var(--ink); margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: .06em; }
.wk__info .wk__sub { font-family: var(--title); font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); letter-spacing: -.035em; line-height: 1.1; color: var(--grey); margin: 0 0 clamp(14px, 2.2vh, 22px); }
.wk__thumb { transition: width .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease); }
@media (hover: hover) {
  .wk__item:not([aria-current="true"]):hover .wk__thumb { width: 46px; height: 58px; }
}
@media (max-width: 899px) {
  .wk__top { justify-content: flex-start; gap: 16px; }
  .wk__info h2 { font-size: 30px; }
  .wk__info .wk__sub { font-size: 17px; margin-bottom: 8px; }
}
@media (min-width: 900px) { .wk__side { justify-content: flex-start; } .wk__sector { margin-top: auto; } }

/* Trabajos: miniaturas más contenidas (la grande = la antigua mediana) */
.wk__thumb { width: 35px; height: 44px; }
.wk__item[aria-current="true"] .wk__thumb { width: 46px; height: 58px; }
@media (hover: hover) { .wk__item:not([aria-current="true"]):hover .wk__thumb { width: 40px; height: 51px; } }
@media (max-width: 899px) { .wk__thumb { width: 30px; height: 38px; } .wk__item[aria-current="true"] .wk__thumb { width: 36px; height: 46px; } }

/* Trabajos: con el cursor encima, el vídeo se ve igual de marcado que el elegido */
@media (hover: hover) { .wk__item:hover { color: var(--ink); } }

/* «Volver al portafolio»: el mismo botón que Contacto, con la flecha hacia atrás
   (círculo a la izquierda; la flecha sale por la izquierda y entra por la derecha) */
.cta-btn--back { padding: 0 16px 0 5px; }
.cta-btn--back .cta-btn__a2 { transform: translateX(170%); }

/* Trabajos: los vídeos verticales se ven en un marco vertical a toda la altura
   (sin franjas negras); el marco se transforma al pasar de un formato a otro */
.wk__stage.is-v { width: min(100cqw, 100cqh * 9 / 16); aspect-ratio: 9 / 16; }
.wk__stage.is-v video { background: transparent; object-fit: cover; }
@media (max-width: 899px) {
  .wk__stage.is-v { width: calc((100vw - 2 * var(--gutter)) * .4); }
}

/* Trabajos: el vídeo vertical se pega a la derecha, junto a la ficha; el aire queda a la izquierda, bajo el título */
@media (min-width: 900px) { .wk__stage.is-v { margin-left: auto; } }

/* Transición entre el portafolio y Trabajos: una cortina oscura entra de lado
   (con el borde algo inclinado al principio), se carga la página y sale por el
   otro lado. A Trabajos va de izquierda a derecha; al volver, al revés. */
.pt { position: fixed; inset: 0; z-index: 200; background: var(--ink); visibility: hidden; pointer-events: none; }
.has-motion.pt-on .pt { visibility: visible; }

/* Servicios: en lugar de las píldoras, un botón que abre Trabajos filtrado */
.svc-card__go { align-self: flex-start; margin-top: auto; }

/* «Ver ejemplos» (Servicios): como los botones de redes del pie, en blanco y negro;
   borde fino y al pasar el cursor se rellena de negro */
.svc-card .svc-card__go { height: 40px; padding: 0 14px 0 18px; font-size: 13.5px; border-color: rgba(26,26,28,.18); color: var(--ink); }
.svc-card .svc-card__go svg { width: 15px; height: 15px; transition: transform .45s var(--ease); }
@media (hover: hover) {
  .svc-card .svc-card__go:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .svc-card .svc-card__go:hover svg { transform: translateX(3px); }
}

/* Pie con la tipografía de la web anterior (Inter Tight): frase en una línea
   alineada con los botones de redes, y el logo «angelluis.» igual que antes */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-Variable-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
.footer__cta, .footer__word { font-family: "Inter Tight", var(--title); }
.footer__top { flex-wrap: nowrap; align-items: center; gap: 32px; }
.footer__cta { font-size: clamp(22px, 2.15vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; max-width: none; }
.footer__links { flex: none; }
.footer__word { font-weight: 700; letter-spacing: -.07em; }
.footer__word .dot { display: inline; width: auto; height: auto; border-radius: 0; background: none; margin: 0; color: var(--magma); }
@media (max-width: 1099px) {
  .footer__top { flex-wrap: wrap; }
  .footer__cta { white-space: normal; text-wrap: balance; }
}

/* Menú: Trabajos (página aparte) igual que el resto pero dentro de un recuadro gris claro */
.island__work { margin-top: 6px; }
.island__list .island__work a { background: rgba(255,255,255,.1); color: #F1EFEA; transition: background .3s var(--ease); }
.island__list .island__work a span { color: rgba(241,239,234,.45); }
.island__list .island__work a:hover { background: rgba(255,255,255,.15); }
/* flecha: la misma del botón Contacto (círculo rojo), más pequeña; al pasar el
   cursor la flecha cambia dentro del círculo, así que nunca se acerca al borde */
.island__list .island__work a { align-items: center; padding-right: 10px; }
.island__list .island__work .cta-btn__ic { width: 24px; height: 24px; margin-left: auto; flex: none; }
.island__list .island__work .cta-btn__ic svg { width: 13px; height: 13px; grid-area: 1 / 1; }
.island__list .island__work .cta-btn__a2 { transform: translateX(-170%); }
/* Menú: al pasar el cursor el nombre de la sección se pone en negrita */
.island__list a { transition: background .25s, font-weight .25s; }
@media (hover: hover) { .island__list a:hover { font-weight: 700; } }


/* Títulos: aparición «settle» (máscara por línea; ver initTitles en main.js).
   El relleno de la máscara deja sitio a ascendentes y descendentes. */
.settle { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .08em .16em; margin: -.12em -.08em -.16em; }
.settle__in { display: inline-block; will-change: transform; }
.best__title span.settle, .best__title span.settle__in { display: inline-block; }
.has-motion .about__copy > .label.has-settle { opacity: 1; }

/* Botones: rollover letra a letra (ver initRoll en main.js) */
.roll { display: inline-block; white-space: pre; line-height: 1.25em; height: 1.25em; }
.roll__c { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; vertical-align: top; }
.roll__s { display: block; will-change: transform; }
.roll__s > span { display: block; height: 1.25em; }

/* ==========================================================================
   Sistema tipográfico (23/11/2026): dos familias, como la referencia
   · Títulos: Inter Tight (grotesca compacta) en mayúsculas.
     - Palabras gigantes: solo Servicios y Contacto.
     - Título de sección: un único tamaño para todas las demás secciones.
   · Etiquetas pequeñas (números, duraciones, avisos): Geist Mono en mayúsculas.
   · Textos: Inter, como hasta ahora.
   ========================================================================== */
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --title: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-sec: clamp(34px, 3.8vw, 60px);
}
/* palabras gigantes */
.services__word, .contact__word {
  font-family: var(--title); font-weight: 500; text-transform: uppercase; letter-spacing: -.055em;
}
/* título de sección (el mismo en toda la web) */
.label, .about__copy .label, .best__title, .stack .best__title, .fees__title, .folder .fees__title, .wk__title {
  font-family: var(--title); font-weight: 500; font-size: var(--t-sec);
  line-height: .92; letter-spacing: -.045em; text-transform: uppercase;
}
/* etiquetas */
.island__list a span, .island__head > span, .island__close, .step__n, .qa__n, .wk__n, .wk__dur,
.svc-card__top, .stack__hint, .form-card .req, .contact .form-card .req, .fee__from, .fee__inc-t {
  font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase;
}

/* ==========================================================================
   Tipografía de textos (23/11/2026, ronda 2)
   · Casi todo: Geist Mono en mayúsculas (como «LOS CAMPOS MARCADOS…»).
   · Textos largos y descripciones de vídeos: Inter Tight, pequeña, sin mayúsculas.
   · Títulos: Inter Tight (ver bloque anterior).
   · Botones: sin cambios (Inter).
   ========================================================================== */
body { font-family: var(--mono); }
.island__list a, .qa__t, .fee__list li, .fee__meta, .folder__tab, .wk__brand, .wk__current, .wk__menu button,
.svc-card__top, .f label, .f select, .f input, .f textarea, .form-legal, .footer__bottom, .footer__nav a, .wk__legal a,
.stack__info .role, .legal__date {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .01em;
}
.island__list a { font-size: 14px; font-weight: 400; }
@media (hover: hover) { .island__list a:hover { font-weight: 700; } }
.qa__t { font-size: 13px; }
.fee__list li, .fee__meta { font-size: 12px; }
.folder__tab, .wk__current, .wk__menu button { font-size: 12px; }
.wk__brand { font-size: 12.5px; }
.f label { font-size: 11.5px; }
.f input, .f select, .f textarea { font-size: 13px; }
.f input::placeholder, .f textarea::placeholder { text-transform: uppercase; }
.form-legal, .footer__bottom, .footer__nav a, .wk__legal a { font-size: 11px; }
/* textos largos */
.about__copy p, .svc-card__body p, .step p, .qa__a p, .qa__card-txt, .stack__info .desc, .wk__desc, .wk__sub,
.fees__note, .legal__body p, .legal__body li {
  font-family: var(--title); text-transform: none; letter-spacing: -.005em;
}
/* botones: como estaban */
.cta-btn, .fee__go, .form-send, .soc, .island__bar, .island__close {
  font-family: var(--font); text-transform: none; letter-spacing: -.01em;
}
.island__close { font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: 12px; }
/* Contacto: la palabra baja un poco para que el final de la C quede tapado */
.contact__word { top: .06em; }
/* Menú: los nombres de las secciones vuelven a la letra anterior (Inter) */
.island__list a { font-family: var(--font); text-transform: none; letter-spacing: -.02em; font-size: 17px; font-weight: 500; }
@media (hover: hover) { .island__list a:hover { font-weight: 700; } }
/* Preguntas: el título empieza en la misma línea vertical que las preguntas */
@media (min-width: 900px) and (hover: hover) {
  .qa__head { padding-left: 43%; }
}
/* Preguntas: tema de cada pregunta en su propia columna (como la referencia) */
.qa__tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: rgba(26,26,28,.55); }
@media (min-width: 900px) and (hover: hover) {
  .qa__tag { position: absolute; left: 82%; top: 50%; transform: translateY(-50%); }
  .qa__t { padding-right: 22%; display: block; }
}
@media not all and (min-width: 900px) and (hover: hover) { .qa__tag { display: none; } }
/* Títulos en mayúsculas: la máscara deja sitio arriba para los acentos (Í, Á…)
   y casi nada abajo (no hay descendentes), así el acento no asoma antes de
   que el título entre */
.label .settle, .best__title .settle, .wk__title .settle { padding: .3em .08em .04em; margin: -.3em -.08em -.04em; }
/* Mejores vídeos: más aire entre las dos líneas (el acento de VÍDEOS no toca MEJORES) */
.best__title, .stack .best__title { line-height: 1.1; }
/* Tarifas · fee: la misma tipografía que el resto de títulos, con sus colores */
.fees__word { font-family: var(--title); font-weight: 500; text-transform: uppercase; letter-spacing: -.045em; }

/* Enfoque: tipografía de títulos (Inter Tight 500 mayúsculas) al tamaño de antes */
.focus__text { font-family: var(--title); font-weight: 500; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.08; }
/* Enfoque: más ancho para que «escuchar» quepa en la segunda línea al tamaño máximo */
@media (min-width: 900px) { .has-motion .focus__inner { width: min(100%, 1060px); } }

/* Subtítulos de Proceso y de las tarjetas de Servicios: tipografía de títulos (mayúsculas) */
.svc-card__body h3, .step h3 { font-family: var(--title); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; }
/* Menú · Trabajos: solo la flecha (sin círculo naranja), con el mismo cambio de flecha al pasar */
.island__list .island__work .cta-btn__ic { background: transparent; color: currentColor; }

/* Servicios: cristal más opaco y desenfoque más ligero. Con el cristal muy
   transparente, la palabra de detrás se veía como manchas grises (parecía que la
   tarjeta no había terminado de cargar) y el desenfoque pesado daba tirones al moverse */
.svc-card {
  background: rgba(250,250,248,.93);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  will-change: transform;
}
/* 30/11: cristal como el de Contacto pero más suave (Ángel): deja intuir la
   palabra de detrás sin que el texto pierda lectura. Contacto: .38; aquí .74 */
.svc-card {
  background: rgba(250,250,248,.74);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 60px -40px rgba(0,0,0,.35);
}

/* Servicios por encima de Proceso mientras se solapan (Proceso sube 52svh por
   debajo de Servicios para no dejar hueco). Antes Proceso tapaba la parte de abajo
   de la pantalla y cortaba la segunda tarjeta al pasar. Fondos transparentes para
   que lo de Proceso que ya asoma se siga viendo. */
.has-motion .services { z-index: 2; background: transparent; }
.has-motion .services__stage { background: transparent; }

/* Portada (23/11/2026): retrato en blanco y negro a la derecha y el nombre a la
   izquierda, en dos líneas, con la tipografía de los títulos. La foto ocupa la
   parte derecha y se funde por la izquierda con el mismo gris claro de su fondo,
   así el nombre nunca pisa la cara. */
.intro__media { background: #ECECEC; }
.intro__media img {
  left: auto; right: 0; width: 74%; object-position: 100% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%);
}
.intro__name {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  margin: 0; font-family: var(--title); font-weight: 500; text-transform: uppercase;
  font-size: clamp(40px, 6vw, 130px); line-height: .9; letter-spacing: -.045em; color: var(--ink);
}
.intro__name-l { display: block; }
@media (max-width: 699px) {
  /* en móvil: nombre arriba y la foto debajo, ocupando la parte baja de la pantalla */
  .intro__media img { top: auto; bottom: 0; width: 100%; height: 68%; object-position: 46% 20%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
  .intro__name { top: clamp(96px, 15svh, 140px); transform: none; font-size: clamp(40px, 12.5vw, 64px); }
}

/* Portada · opción 1 (24/11/2026): nombre gigante tipo revista DETRÁS de la cabeza.
   Capas: foto completa → nombre → la misma foto recortada sin fondo → aura.
   El recorte usa exactamente la misma caja y encuadre que la foto, así encaja. */
.intro__media--cut { background: transparent; pointer-events: none; }
.intro__name {
  left: 0; right: 0; top: auto; bottom: auto; transform: none;
  top: var(--name-top, 9svh); text-align: center;
  font-size: var(--name-size, 15.4vw); line-height: .82; letter-spacing: -.055em;
}
.intro__tag, .intro__soc {
  position: absolute; margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.45;
  letter-spacing: .02em; text-transform: uppercase; color: var(--ink);
}
.intro__tag { left: var(--gutter); bottom: 24svh; }
.intro__soc { right: var(--gutter); bottom: 24svh; display: flex; gap: 18px; }
.intro__soc a { color: inherit; text-decoration: none; }
.intro__soc a:hover { color: #EA4C39; }
@media (min-width: 700px) {
  .intro__name { --name-top: 11svh; --name-size: 18.4vw; }
}
@media (max-width: 699px) {
  /* móvil: tres líneas (ÁNGEL / LUIS / MARTÍNEZ); la última queda detrás de la gorra */
  .intro__media img { height: 72%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%); }
  .intro__name { --name-top: 124px; --name-size: 20vw; line-height: .84; }
  /* en móvil la descripción y las redes van arriba, bajo el menú (abajo las tapa el aura) */
  .intro__tag, .intro__soc { bottom: auto; top: 74px; font-size: 11px; }
}

/* Portada · versión lateral (24/11/2026): el nombre como «firma» a la izquierda,
   a la altura de los ojos, con la descripción debajo. Sustituye al nombre gigante
   (el recorte portada-recorte.webp se queda en assets por si se recupera). */
.intro__id {
  position: absolute; left: var(--gutter); top: 37%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px;
}
.intro__id .intro__name {
  position: static; transform: none; text-align: left;
  font-size: clamp(36px, 4.4vw, 84px); line-height: .9; letter-spacing: -.045em;
}
.intro__id .intro__tag { position: static; }
.intro__soc a span { display: inline-block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .intro__soc a:hover span { transform: translate(2px, -2px); } }
@media (max-width: 699px) {
  .intro__id { top: 92px; transform: none; gap: 12px; }
  .intro__id .intro__name { font-size: clamp(36px, 11vw, 52px); }
  .intro__soc { top: calc(92px + 2 * .9 * clamp(36px, 11vw, 52px) + 12px); bottom: auto; gap: 12px; }
}
/* 24/11: más aire entre líneas (la tilde de la Í tocaba «LUIS») y redes dentro
   del bloque del nombre, bajo la descripción */
.intro__id .intro__name { line-height: 1.02; }
.intro__id .intro__soc { position: static; margin-top: -4px; }
@media (max-width: 699px) { .intro__id .intro__soc { top: auto; margin-top: -2px; } }
/* 24/11: bloque gemelo a la derecha para equilibrar la portada (misma altura
   que el nombre: arriba «Portafolio 2026», abajo «Desliza») */
.intro__row {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 37%; transform: translateY(-50%);
  display: flex; justify-content: space-between; align-items: stretch; pointer-events: none;
}
.intro__row > * { pointer-events: auto; }
.intro__row .intro__id { position: static; transform: none; }
.intro__side {
  display: flex; flex-direction: column; justify-content: space-between; text-align: right;
  font-family: var(--mono); font-size: 12px; line-height: 1.45; letter-spacing: .02em;
  text-transform: uppercase; color: var(--ink); padding-top: .9em;
}
.intro__side p { margin: 0; }
.intro__scroll span { display: inline-block; animation: introNudge 2.2s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes introNudge { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .intro__scroll span { animation: none; } }
@media (max-width: 699px) {
  .intro__row { top: 92px; transform: none; }
  .intro__side { display: none; }
}

/* ==========================================================================
   Marcas y resultados (24/11/2026): donut 3D de logos que gira al deslizar
   (hacia un lado al bajar y hacia el otro al subir) + cifras en filas finas
   como las de Preguntas, con contador.
   ========================================================================== */
.brands { position: relative; background: var(--paper); padding: clamp(30px, 6vh, 70px) 0 clamp(90px, 14vh, 150px); overflow: hidden; }
.ring { position: relative; height: clamp(280px, 50svh, 520px); margin-bottom: clamp(70px, 15vh, 170px); pointer-events: none; user-select: none; }
.ring__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* los <img> de los logos solo sirven para cargar y medir: la cinta se pinta en el canvas */
.ring__tilt { position: absolute; left: 0; top: 0; width: 100%; visibility: hidden; }
.ring__spin { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; padding: 0 var(--gutter); }
.ring__it { display: block; }
.ring__it img { display: block; height: calc(var(--h) * var(--ring-k, 1.6) * 1px); width: auto; max-width: none; }
/* sin WebGL: fila fija de logos en negro */
.ring--flat .ring__tilt { visibility: visible; top: 50%; transform: translateY(-50%); }
.ring--flat .ring__it img { filter: brightness(0); height: calc(var(--h) * 1px); }
@media (max-width: 699px) { .ring { --ring-k: .8; height: clamp(200px, 32svh, 300px); margin-bottom: 64px; } }

/* cifras: mismas medidas que las filas de Preguntas (no son títulos) */
.stats { position: relative; border-top: 1px solid rgba(26,26,28,.12); }
.stat { position: relative; display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 0 12px; padding: 17px 0; border-bottom: 1px solid rgba(26,26,28,.12); }
.stat__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: rgba(26,26,28,.42); font-variant-numeric: tabular-nums; padding-left: 10px; }
.stat__v { margin: 0; font-family: var(--title); font-weight: 500; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__t { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; color: rgba(26,26,28,.55); text-align: right; }
@media (min-width: 900px) and (hover: hover) {
  .stat { display: block; }
  .stat__n { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
  .stat__v { margin-left: 43%; }
  .stat__t { position: absolute; right: 0; top: 50%; transform: translateY(-50%); text-align: right; white-space: nowrap; }
}
@media not all and (min-width: 900px) and (hover: hover) {
  .stat { grid-template-columns: 3.2em 1fr; }
  .stat__t { grid-column: 2; text-align: left; margin-top: 2px; }
}

/* 24/11: entrada al abrir la web. Hasta que arranca la animación, la página
   solo se ve por una pastilla del tamaño de la barra del menú (fondo oscuro
   alrededor) y la cabecera está oculta; main.js hace crecer la ventana y luego
   muestra Menú y Contacto. Si algo falla, el script de la cabecera lo quita a los 4 s. */
html.ld-on body { background: var(--ink); }
html.ld-on #main, html.ld-on .footer { clip-path: inset(14px calc(50% - 120px) calc(100% - 54px) calc(50% - 120px) round 20px); }
html.ld-on .hdr { opacity: 0; visibility: hidden; }

/* Proceso (25/11): foto de cada fase entre la barra y el texto */
.step__pic { position: relative; margin: 0 0 16px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #e7e6e2; }
.step__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.has-motion .step__pic { clip-path: inset(100% 0 0 0 round 12px); transition: clip-path 1s cubic-bezier(.76,0,.24,1); }
.has-motion .step__pic img { transform: scale(1.18); transition: transform 1.3s cubic-bezier(.22,1,.36,1); }
.has-motion .step.is-on .step__pic, .has-motion .step.is-past .step__pic { clip-path: inset(0 0 0 0 round 12px); }
.has-motion .step.is-on .step__pic img, .has-motion .step.is-past .step__pic img { transform: scale(1); }
@media (max-width: 899px) {
  .step__pic { border-radius: 10px; margin-bottom: 14px; }
  .rail__steps { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .has-motion .step__pic, .has-motion .step__pic img { transition: none; }
}

/* 30/11 · revisión antes de publicar (móvil) */
@media (max-width: 699px) {
  /* la gorra quedaba detrás de «TikTok» y no se leía: la foto empieza bajo los textos */
  .intro__media img { height: min(72%, calc(100% - 270px)); }
  /* el correo del pie se salía de la pantalla: los botones pasan a la línea siguiente */
  .footer__links { flex: 1 1 100%; }
}
@media (max-width: 899px) {
  /* Trabajos: la lista ocupa solo el espacio que queda, sin pisar los avisos legales */
  .wk__grid { height: 100%; }
  .wk__side { min-height: 0; height: 100%; }
  .wk__list { flex: 1 1 0; height: auto; min-height: 0; }
}
