/* STUDIO DECOLSA — We build ideas into visual worlds. */
/* Tipografías alojadas en la propia web (sin peticiones a Google; subconjunto latino, cubre el español) */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/inter-tight-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

/* Ángulos del logo «cargando» (el trazo rojo se borra y se vuelve a dibujar en el sentido del reloj) */
@property --from { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 360deg; }

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-2: #131313;
  --fg: #f2f0eb;
  --muted: rgba(242, 240, 235, .56);
  --line: rgba(242, 240, 235, .14);
  --red: #b5000f;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 18px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- enlaces: subrayado que se dibuja, flechas que se adelantan, texto que rueda ---------- */
.u {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  padding-bottom: .06em; transition: background-size .45s var(--ease);
}
.link {
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  background: linear-gradient(var(--fg), var(--fg)) no-repeat 0 100% / 0 1px; background-origin: border-box;
  transition: background-size .45s var(--ease);
}
.arr { display: inline-block; transition: transform .35s var(--ease); }
/* Menú: al pasar el ratón, un brillo cruza las letras una vez */
.shine {
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, var(--c) 42%, #fff 50%, var(--c) 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
@media (hover: hover) {
  a.u:hover, a:hover .u { background-size: 100% 1px; }
  .link:hover { background-size: 100% 1px; }
  a:hover .arr, button:hover .arr { transform: translateX(4px); }
  a:hover .arr-l { transform: translateX(-4px); }
  a:hover .arr-ne { transform: translate(3px, -3px); }
  a:hover > .shine { --c: var(--fg); background-position: 0 0; transition: background-position .6s var(--ease); }
}

/* Al abrir el reel, todo lo de detrás se desenfoca */
.site-header, main, .site-footer { transition: filter .6s var(--ease-io); }
body.reel-open .site-header, body.reel-open main, body.reel-open .site-footer { filter: blur(8px) brightness(.45); }
body.reel-open { overflow: hidden; }

/* ---------- cabecera: se esconde al bajar y vuelve, con fondo, al subir ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gutter);
  font-size: 14px;
  transition: translate .5s var(--ease-io), background-color .4s var(--ease), box-shadow .4s var(--ease), filter .6s var(--ease-io);
}
.site-header.is-pinned { background-color: rgba(10, 10, 10, .94); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { translate: 0 -105%; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand span { font-weight: 600; letter-spacing: .02em; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { position: relative; --c: var(--muted); }
.nav a[aria-current] { --c: var(--fg); }
.nav a[aria-current]::before { content: ""; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--red); }
html.nav-in .nav a[aria-current]::before { animation: dot-in .5s .2s var(--ease) both; }
html[data-dot] .nav a[aria-current]::before { animation: none; opacity: 0; }
@keyframes dot-in { from { transform: scale(0); } }
.meta { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.lang { display: inline-flex; gap: 10px; font-family: var(--mono); font-size: 12px; }
.lang a { --c: var(--muted); } .lang a[aria-current] { --c: var(--fg); }
.menu-btn { display: none; font-size: 14px; }
.menu-panel {
  position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto;
  display: flex; flex-direction: column; justify-content: safe center; gap: 8px; padding: 84px var(--gutter) var(--gutter);
}
.menu-panel[hidden] { display: none; }
.menu-panel a { font-size: clamp(40px, 12vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.menu-panel a[aria-current] { color: var(--red); }
.menu-panel .lang-m { font: 400 14px var(--mono); margin-top: 24px; color: var(--muted); letter-spacing: .04em; }

/* ---------- pills: al pasar el ratón se llenan desde abajo ---------- */
.pill {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font: 500 14px/1 var(--sans); letter-spacing: 0;
  --fill: var(--red); --on-fill: #fff;
  transition: color .3s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill); transform: translateY(102%); transition: transform .4s var(--ease);
}
.pill .dot { font-size: 9px; }
.pill-ghost { background: rgba(10,10,10,.35); color: var(--fg); border: 1px solid rgba(242,240,235,.28); --fill: var(--fg); --on-fill: var(--bg); }
.pill-red { background: var(--red); color: #fff; --fill: var(--fg); --on-fill: var(--bg); }
@media (hover: hover) {
  .pill:hover { color: var(--on-fill); }
  .pill:hover::before { transform: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(10,10,10,.94) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,.12) 62%, rgba(10,10,10,.5) 100%); }
.hero-content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 72px); }
.eyebrow { color: var(--muted); margin: 0 0 18px; }
.hero .eyebrow { color: rgba(242, 240, 235, .78); }
.headline {
  margin: 0; max-width: 14ch; text-wrap: balance;
  font-weight: 500; font-size: clamp(46px, 8.6vw, 164px); line-height: .9; letter-spacing: -.05em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: clamp(22px, 4vh, 40px); }
.hero-actions .sub { color: var(--muted); margin-left: 8px; }
.scroll { position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 72px); width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-line { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fg); animation: drop 2.2s var(--ease-io) infinite; }
@keyframes drop { to { top: 100%; } }

/* ---------- statement ---------- */
.statement { padding: clamp(96px, 16vh, 200px) var(--gutter); }
.statement p { margin: 0; max-width: 24ch; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -.035em; font-weight: 400; }
.statement p span { display: block; }
.statement p span + span { color: var(--muted); }
.statement p span:last-child { color: var(--fg); }
.manifesto p { max-width: 30ch; font-size: clamp(24px, 3.2vw, 46px); }
.manifesto p span { color: var(--fg) !important; }
.manifesto p span + span { margin-top: .35em; }
.manifesto h2 { margin: 0 0 32px; color: var(--muted); }

/* ---------- proyectos (tarjetas con imagen) ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 var(--gutter) 22px; }
.section-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(14px, 1.6vw, 24px); padding: 0 var(--gutter); }
.card { display: flex; flex-direction: column; gap: 18px; min-width: 0; transition: opacity .35s var(--ease); }
.card-feat { grid-column: 1 / -1; }
.card-media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border-radius: 2px;
}
.card-feat .card-media { aspect-ratio: 21 / 9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; opacity: .9; }
.card-empty { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 40%, #1b1b1b, #0d0d0d); }
.card-empty img { width: 48px; height: 48px; opacity: .6; transform: none; filter: none; }
.card-text { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: baseline; }
.card-n, .card-year { color: var(--muted); transition: color .3s; }
.card-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card-title { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.card-title::after { content: "→"; display: inline-block; margin-left: .3em; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.card-who { color: var(--fg); opacity: .72; font-size: 12px; letter-spacing: .06em; line-height: 1.4; }
.card-feat .card-title { font-size: clamp(28px, 3.6vw, 56px); }
/* Portada que se reproduce: el bucle entra encima de la imagen cuando ya está sonando */
.card-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.card-loop.on { opacity: 1; }
/* Marcas: el nombre de la marca, más grande (Solve, 2026-11-07) */
.card-brand .card-who { font-family: inherit; text-transform: none; font-size: clamp(16px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; opacity: .92; }
.card-brand.card-feat .card-who { font-size: clamp(19px, 2vw, 28px); }
.eyebrow-brand { font-family: inherit; text-transform: none; color: var(--fg); font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.01em; opacity: .92; }
.card-role { color: var(--muted); text-transform: none; letter-spacing: .01em; font-size: 13px; }
.card-tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); background: rgba(10, 10, 10, .72); border: 1px solid var(--line); border-radius: 999px; pointer-events: none; }
.card-line { margin: 2px 0 0; font-size: 17px; opacity: .85; font-style: italic; }
.card.is-hidden { display: none; }
@media (hover: hover) {
  /* La imagen se acerca un poco y el resto de proyectos se apaga */
  .card:hover .card-media img, .card:hover .card-loop.on { transform: scale(1.04); opacity: 1; }
  .card:hover .card-n { color: var(--red); }
  .card:hover .card-title::after { opacity: 1; transform: none; }
  .cards:has(.card:hover) .card:not(:hover) { opacity: .42; }
}

/* ---------- closing ---------- */
.closing { padding: clamp(110px, 20vh, 240px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.closing h2 { margin: 0; font-weight: 500; font-size: clamp(40px, 7vw, 128px); line-height: .92; letter-spacing: -.05em; max-width: 12ch; text-wrap: balance; }

/* ---------- páginas internas ---------- */
.page { padding-top: clamp(120px, 20vh, 200px); }
.page-head { padding: 0 var(--gutter) clamp(48px, 8vh, 96px); }
.title { margin: 0; font-weight: 500; font-size: clamp(48px, 9vw, 168px); line-height: .9; letter-spacing: -.055em; max-width: 16ch; text-wrap: balance; }
.lead { margin-top: 28px; max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); }
.lead p { margin: 0 0 .4em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 400 14px var(--sans); transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--fg); border-color: var(--muted); }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.index { padding: clamp(80px, 14vh, 160px) 0 40px; }
.table-wrap { overflow-x: auto; padding: 0 var(--gutter); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
tr { transition: opacity .3s var(--ease); }
td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: baseline; transition: color .3s; }
td.mono { text-transform: none; font-size: 12px; }
@media (hover: hover) {
  table:has(tr:hover) tr:not(:hover) { opacity: .36; }
  tr:hover td:first-child { color: var(--red); }
}

/* case */
.case .hook { margin: 32px 0 0; max-width: 28ch; font-size: clamp(24px, 3vw, 42px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.role-line { margin-top: 24px; color: var(--muted); text-transform: none; font-size: 13px; }
/* B204: entregables bajo el rol */
.deliver-line { margin-top: 8px; color: var(--fg); text-transform: none; font-size: 13px; letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.videos { display: grid; gap: clamp(32px, 5vw, 64px); padding: 0 var(--gutter); }
.video { margin: 0; }
.video figcaption { margin-top: 12px; color: var(--muted); }
.case-media {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #1d1d1d 0%, #0d0d0d 60%), var(--bg-2);
}
div.case-media { margin: 0 var(--gutter); width: auto; border: 1px solid var(--line); }
.case-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; opacity: .82; }
.play { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font: 500 14px/1 var(--sans); transition: transform .3s var(--ease), opacity .3s; }
.play-dot { font-size: 10px; }
@media (hover: hover) {
  .video-facade:hover img { transform: scale(1.03); opacity: 1; }
  .video-facade:hover .play { transform: scale(1.06); }
  html.has-cursor .video-facade:hover .play { opacity: 0; transform: scale(.9); }
}
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px) clamp(24px, 4vw, 64px);
  padding: clamp(64px, 10vh, 120px) var(--gutter); }
.block h3 { margin: 0 0 14px; color: var(--muted); }
.block p { margin: 0; max-width: 52ch; font-size: clamp(18px, 1.5vw, 21px); }
/* Texto corto del proyecto (Solve, 2026-11-05): un párrafo, a todo el ancho de la columna, entre el vídeo y los fotogramas */
.blocks:has(.block-brief) { grid-template-columns: 1fr; padding-block: clamp(40px, 7vh, 80px); }
.block-brief p { max-width: 46ch; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.credits { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 32px 0 0; border-top: 1px solid var(--line); margin: 0 var(--gutter); }
.credits h3 { margin: 0 0 14px; color: var(--muted); }
.credits p { margin: 0; }
/* Créditos en lista: papel a la izquierda, nombre a la derecha */
.credit-list { margin: 0; }
.credit-list > div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.credit-list > div:first-child { border-top: 0; padding-top: 0; }
.credit-list dt { font: 400 12px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.credit-list dd { margin: 0; font-size: 16px; line-height: 1.5; }
.credit-list > .cr-group { display: block; border-top: 0; padding: 26px 0 8px; color: var(--fg); }
.credit-list > .cr-group:first-child { padding-top: 0; }
.cr-note { margin: 18px 0 0 !important; color: var(--muted); text-transform: none; }
/* Créditos largos en dos columnas; lo que hizo DECOLSA, destacado con un punto rojo */
.credit-list.has-ours dd { color: rgba(242, 240, 235, .72); }
.credit-list .ours dd { color: var(--fg); font-weight: 500; }
.credit-list .ours dd::before, .cr-legend span { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e0303b; margin-right: 9px; vertical-align: 2px; }
.cr-legend { margin: 18px 0 0 !important; color: var(--muted); text-transform: none; }
@media (min-width: 1100px) {
  .credit-list.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .credit-list.two > div { border-top: 0; border-bottom: 1px solid var(--line); padding: 11px 0; }
  .credit-list.two > .cr-group { grid-column: 1 / -1; border-bottom: 0; }
}
.chip-n { margin-left: 7px; opacity: .55; font-variant-numeric: tabular-nums; }
.small { font-size: 15px; color: var(--muted); line-height: 1.6; }
.case-nav { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(80px, 12vh, 140px) var(--gutter) 0; }
.next { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.next > .mono { color: var(--muted); }
.next-title { font-size: clamp(24px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
/* Al pasar por «Siguiente proyecto» se asoma su imagen */
.next-media {
  position: absolute; right: 0; bottom: calc(100% + 18px); z-index: 2; width: clamp(200px, 24vw, 340px); aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--bg-2); pointer-events: none;
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.next-media img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .next:hover .next-media { opacity: 1; transform: none; }
}

/* services: cada oficio es un enlace; al pasar el ratón, un barrido rojo de izquierda a derecha y las letras en negro */
.crafts { border-top: 1px solid var(--line); }
.craft { position: relative; display: grid; grid-template-columns: 56px 1.1fr 1fr auto; gap: 24px; padding: clamp(40px, 6vw, 72px) var(--gutter); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; }
.craft:last-child { border-bottom: 0; }
.craft::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-io); }
.craft > * { position: relative; display: block; min-width: 0; }
.craft .row-n { color: var(--muted); transition: color .3s .1s; }
.craft h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 4.4vw, 68px); letter-spacing: -.04em; line-height: .95; transition: transform .4s var(--ease), color .3s .1s; }
.craft-claim { margin: 14px 0 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); transition: transform .4s var(--ease), color .3s .1s; }
.craft p { margin: 0 0 18px; max-width: 46ch; transition: color .3s .1s; }
.craft-tags { color: var(--muted); }
.craft-go { align-self: center; white-space: nowrap; color: var(--muted); opacity: 0; transform: translateX(-10px); transition: opacity .3s .15s, transform .4s .15s var(--ease), color .3s .1s; }
@media (hover: hover) {
  .craft:hover::before, .craft:focus-visible::before { transform: scaleX(1); }
  .craft:hover, .craft:hover h2, .craft:hover p, .craft:hover .craft-go, .craft:focus-visible, .craft:focus-visible h2, .craft:focus-visible p, .craft:focus-visible .craft-go { color: var(--bg); }
  .craft:hover .row-n, .craft:hover .craft-claim, .craft:hover .craft-tags, .craft:focus-visible .row-n, .craft:focus-visible .craft-claim, .craft:focus-visible .craft-tags { color: var(--bg); opacity: .72; }
  .craft:hover h2, .craft:hover .craft-claim { transform: translateX(10px); }
  .craft:hover .craft-go, .craft:focus-visible .craft-go { opacity: 1; transform: none; }
}
@media (hover: none) { .craft-go { opacity: 1; transform: none; } }

/* services: por qué así, y cómo va un proyecto */
.why, .process { padding: clamp(56px, 8vh, 96px) var(--gutter) 0; }
.why h2, .process h2 { margin: 0 0 24px; color: var(--muted); text-transform: none; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.why-item .row-n { color: var(--red); }
.why-item h3 { margin: 12px 0 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.why-item p { margin: 0; color: var(--muted); max-width: 36ch; }
.steps-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; counter-reset: st; }
.steps-line li { counter-increment: st; padding: 18px 0 0; }  /* sin líneas (Solve, 2026-11-10) */
.steps-line li::before { content: counter(st, decimal-leading-zero); display: block; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--red); margin-bottom: 12px; }
.steps-line b { display: block; font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; margin-bottom: 4px; }
.steps-line span { color: var(--muted); font-size: 15px; }

/* services: la página de cada oficio */
.service .crumbs { margin: 0 0 18px; color: var(--muted); }
.service .crumbs a { text-decoration: none; } .service .crumbs a:hover { color: var(--fg); }
.svc-intro { padding: 0 var(--gutter) clamp(48px, 7vh, 88px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
.svc-big { margin: 0; font-size: clamp(26px, 3.2vw, 48px); letter-spacing: -.035em; line-height: 1.05; font-weight: 500; text-wrap: balance; }
.svc-intro p:not(.svc-big) { margin: 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; }
.svc-cols { padding: clamp(48px, 7vh, 88px) var(--gutter); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.svc-block h2 { margin: 0 0 18px; color: var(--muted); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 18px; }
.svc-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: h; }
.svc-how li { counter-increment: h; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; }
.svc-how li::before { content: counter(h, decimal-leading-zero); grid-row: 1 / 3; font: 500 12px/2 var(--mono); letter-spacing: .06em; color: var(--red); }
.svc-how b, .svc-how span { grid-column: 2; }
.svc-how b { display: block; font-weight: 500; font-size: 18px; }
.svc-how span { color: var(--muted); font-size: 15px; }
.svc-block > p { margin: 0 0 18px; font-size: 18px; max-width: 32ch; }
.svc-work { padding: clamp(48px, 7vh, 88px) var(--gutter) 0; border-top: 1px solid var(--line); }
.svc-work .section-head { padding-left: 0; padding-right: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.svc-next { padding: clamp(56px, 8vh, 96px) var(--gutter) 0; display: flex; justify-content: flex-end; }
.svc-cta { padding: clamp(56px, 8vh, 96px) var(--gutter) clamp(48px, 7vh, 88px); display: grid; gap: 14px; justify-items: start; }
.svc-cta h2 { margin: 0; font-size: clamp(36px, 6vw, 96px); letter-spacing: -.045em; line-height: .95; font-weight: 500; }
.svc-cta p { margin: 0 0 10px; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); }
@media (max-width: 960px) { .why-grid, .svc-cols, .svc-intro, .svc-grid { grid-template-columns: 1fr; } .steps-line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } }

/* studio */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px); padding: 0 var(--gutter); }
.person { display: grid; gap: 24px; align-content: start; }
.person-text { border-top: 1px solid var(--line); padding-top: 22px; }
.person-text .row-n { display: block; color: var(--muted); margin-bottom: 18px; }
.portrait { aspect-ratio: 4 / 5; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; }
img.portrait { width: 100%; height: auto; object-fit: cover; border: 0; }
.surname { margin: 0; padding: 0 var(--gutter) clamp(48px, 8vh, 96px); font-size: 12px; max-width: 70ch; }
.person h2 { margin: 0 0 6px; font-weight: 500; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.05; }
.person p { margin: 0 0 .7em; max-width: 48ch; }
.person p.mono { margin-bottom: 18px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px); padding: 0 var(--gutter) 40px; }
.big-link { display: block; width: fit-content; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.03em; font-weight: 500; margin: 0 0 6px; }
.mail-block { grid-column: 1 / -1; }
.mail-block .big-link { font-size: clamp(30px, 5.6vw, 92px); letter-spacing: -.045em; line-height: 1; overflow-wrap: anywhere; }
.copy { margin-top: 22px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.copy:hover { color: var(--fg); border-color: var(--muted); }
.copy.done { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.clock { font-family: var(--mono); font-weight: 400; letter-spacing: .02em; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(80px, 14vh, 160px); border-top: 1px solid var(--line); padding: clamp(48px, 8vh, 96px) var(--gutter) 32px; }
.f-cta { margin-bottom: clamp(48px, 8vh, 96px); }
.home .site-footer { margin-top: 0; }
.home .f-cta { display: none; }
.f-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.f-brand { display: flex; gap: 14px; align-items: center; font: 600 14px/1.4 var(--sans); }
.f-brand small { color: var(--muted); font-weight: 400; }
.f-row .mono { text-transform: none; line-height: 1.8; }

/* ---------- intro: el logo sobre negro y paso a la portada ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--bg); pointer-events: none;
  animation: intro-safety .6s 4s var(--ease-io) forwards;   /* si el JS no llega, se retira solo */
}
.intro-mark { display: grid; justify-items: center; gap: 26px; }
.intro-logo { width: clamp(84px, 10vw, 132px); height: auto; will-change: transform, opacity, filter; }
.intro-word { font: 500 12px/1 var(--mono); letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; color: var(--muted); }
html.no-intro .intro { display: none; }
html.intro-on .site-header .brand img { opacity: 0; }
html.intro-on, html.intro-on body { overflow: hidden; }
@keyframes intro-safety { to { opacity: 0; visibility: hidden; } }

/* ---------- transición entre páginas: cortina negra con el logo, como la intro ---------- */
/* Sube desde abajo al hacer clic, la página nueva llega tapada y la cortina sigue subiendo hasta desaparecer.
   Va por debajo de la cabecera, que no se mueve: parece la misma página cambiando de contenido. */
.veil {
  position: fixed; inset: 0; z-index: 45; display: grid; place-items: center;
  background: var(--bg); visibility: hidden; clip-path: inset(100% 0 0 0);
}
html.nav-in .veil, .veil.on { visibility: visible; clip-path: inset(0); }
.veil-mark { display: grid; justify-items: center; gap: 24px; padding: 0 24px; text-align: center; }
.veil-label { min-height: 1em; color: var(--muted); letter-spacing: .34em; padding-left: .34em; font-weight: 500; }
.veil-label::after { content: var(--veil-label, ""); }
.veil-offline { display: none; justify-items: center; gap: 12px; }
.veil-offline p { margin: 0; }
.veil-offline .mono { letter-spacing: .34em; padding-left: .34em; font-weight: 500; }
.veil-sub { color: var(--muted); max-width: 32ch; }
.veil-offline .link { margin-top: 18px; color: var(--muted); }
.veil.is-offline .veil-offline { display: grid; }
.veil.is-offline .veil-label { display: none; }

/* Logo «cargando»: el logo apagado de fondo y el trazo rojo que se borra y se redibuja */
.loader { position: relative; display: block; width: 56px; height: 56px; }
.loader img { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader-ghost { opacity: 0; transition: opacity .5s; }
.is-loading .loader-ghost { opacity: .14; }
.is-loading .loader-ink {
  -webkit-mask-image: conic-gradient(from var(--from), #000 var(--a), transparent 0);
  mask-image: conic-gradient(from var(--from), #000 var(--a), transparent 0);
  animation: sweep 2.4s var(--ease-io) infinite;
}
@keyframes sweep {
  0% { --from: 0deg; --a: 360deg; }
  50% { --from: 360deg; --a: 0deg; }
  100% { --from: 360deg; --a: 360deg; }
}
.veil.is-offline .loader { width: 72px; height: 72px; }

/* Aviso pequeño cuando se cae o vuelve la conexión */
.net {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 70; translate: -50% 0;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: #151515;
  border: 1px solid var(--line); color: var(--fg); white-space: nowrap;
}
.net[hidden] { display: none; }
.net .mono { text-transform: none; letter-spacing: .02em; }
.loader-sm { width: 18px; height: 18px; }
.net.is-back .loader-ghost { opacity: 0; }
.net.is-back .loader-ink { -webkit-mask-image: none; mask-image: none; animation: none; }

/* ---------- cursor: un círculo con «Ver» o «Play» sobre proyectos y vídeos ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; }
.cursor span {
  display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--fg); color: var(--bg); font: 500 9px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cursor.on span { transform: scale(1); }
html.has-cursor [data-cursor] { cursor: none; }

/* ---------- reel: ocupa toda la pantalla y se reproduce al momento ---------- */
html.reel-lock, html.reel-lock body { overflow: hidden; }
.reel-overlay {
  position: fixed; inset: 0; z-index: 150; background: #000; color: var(--fg);
  overflow: hidden; cursor: pointer; outline: none; overscroll-behavior: contain; touch-action: none;
}
.reel-overlay[hidden] { display: none; }
.reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000;
  opacity: 0; transition: opacity .6s var(--ease);
}
.reel-overlay.is-playing .reel-video { opacity: 1; }
@media (orientation: portrait) { .reel-video { object-fit: contain; } }
.reel-hud {
  position: absolute; inset: 0 0 auto; z-index: 2; cursor: default;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px var(--gutter) 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0));
  opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reel-overlay.show-hud .reel-hud { opacity: 1; transform: none; }
.reel-actions { display: flex; gap: 22px; }
.reel-actions button { color: var(--fg); opacity: .8; transition: opacity .2s; white-space: nowrap; }
.reel-actions button:hover, .reel-actions button:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.reel-hint {
  position: absolute; left: 50%; bottom: 34px; z-index: 2; margin: 0; translate: -50% 0;
  padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.55);
  color: var(--fg); text-transform: none; letter-spacing: .02em; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .6s var(--ease);
}
.reel-overlay.show-hint .reel-hint { opacity: 1; }
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px; background: rgba(242,240,235,.14); }
.reel-progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
/* Si el navegador ha bloqueado el sonido, el botón se resalta y el menú se queda visible */
.reel-overlay.needs-sound .reel-hud { opacity: 1; transform: none; }
.reel-overlay.needs-sound [data-reel-sound] { opacity: 1; padding: 8px 14px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; }

/* galería de vídeos extra (visualizers) */
.grid-videos { padding: clamp(56px, 8vh, 96px) var(--gutter) 0; }
.grid-videos h2 { margin: 0 0 22px; color: var(--muted); text-transform: none; }
.grid-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 14px; }
.video-sm .play { padding: 10px 12px; }
.video-sm figcaption { margin-top: 10px; text-transform: none; color: var(--muted); }
/* B201: Proceso (previz y tests), en Trabajo, solo cuando hay piezas publicadas */
.process .section-head { padding-left: 0; padding-right: 0; flex-wrap: wrap; }
.process .section-head h2 { margin: 0; }
.process-text { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 40ch; }
.block .big-link { max-width: none; }

/* ---------- entrada de cada página y aparición al hacer scroll ---------- */
/* Solo si hay JS y movimiento (la clase .enter la pone el <head>). Si el JS fallase, todo aparece a los 3 s. */
html.enter :is(.hero-content, .page-head) > * { opacity: 0; transform: translateY(28px); }
html.entered :is(.hero-content, .page-head) > * {
  opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease);
}
html.entered :is(.hero-content, .page-head) > :nth-child(2) { transition-delay: .06s; }
html.entered :is(.hero-content, .page-head) > :nth-child(3) { transition-delay: .12s; }
html.entered :is(.hero-content, .page-head) > :nth-child(4) { transition-delay: .18s; }
html.entered :is(.hero-content, .page-head) > :nth-child(5) { transition-delay: .24s; }

html.enter .reveal { opacity: 0; transform: translateY(20px); transition: opacity .35s var(--ease) var(--d, 0s), transform .4s var(--ease) var(--d, 0s); }
html.enter .reveal.in { opacity: 1; transform: none; }
/* Imágenes: una cortina que sube (el mismo gesto que la transición) y la foto se asienta */
:is(.card, .video).reveal :is(.card-media, .case-media)::after {
  content: ""; position: absolute; inset: 0; z-index: 3; background: var(--bg); pointer-events: none;
  transform-origin: top; transform: scaleY(0); transition: transform .7s var(--ease-io) var(--d, 0s);
}
html.enter :is(.card, .video).reveal { opacity: 1; transform: none; }
html.enter :is(.card, .video).reveal :is(.card-media, .case-media)::after { transform: scaleY(1); }
html.enter :is(.card, .video).reveal.in :is(.card-media, .case-media)::after { transform: scaleY(0); }
html.enter .card.reveal .card-text, html.enter .video.reveal figcaption {
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease) calc(var(--d, 0s) + .15s), transform .55s var(--ease) calc(var(--d, 0s) + .15s);
}
html.enter .reveal.in :is(.card-text, figcaption) { opacity: 1; transform: none; }

html.enter:not(.js) :is(.hero-content > *, .page-head > *, .reveal, .reveal .card-text, .reveal figcaption) { animation: show-safety .01s 3s forwards; }
html.enter:not(.js) :is(.card, .video).reveal :is(.card-media, .case-media)::after { animation: wipe-safety .01s 3s forwards; }
@keyframes show-safety { to { opacity: 1; transform: none; } }
@keyframes wipe-safety { to { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  .site-header, main, .site-footer, .reel-hud, .reel-hint, .reel-video, .card, .card-media img, .pill, .pill::before,
  .craft h2, .craft-claim, .craft::before, .craft-go, .next-media, .arr, .u, .link { transition: none; }
  .scroll-line, .is-loading .loader-ink { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-block; }
  .lang { display: none; }
  .brand span { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card-feat .card-media { aspect-ratio: 16 / 9; }
  .card-text { grid-template-columns: 28px 1fr; }
  .card-year { display: none; }
  .blocks, .people, .contact-grid, .credits { grid-template-columns: 1fr; }
  .craft { grid-template-columns: 1fr; gap: 12px; }
  .svc-next { justify-content: flex-start; }
  .f-row { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .scroll { display: none; }
  .hero-actions .sub { flex-basis: 100%; margin: 6px 0 0; }
  .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .reel-hud { padding-top: 16px; }
  .reel-hud > .mono { display: none; }
  .reel-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .reel-actions [data-reel-fs] { display: none; }
  .reel-hint { bottom: 28px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .f-row { grid-template-columns: 1fr; }
  .case-nav { flex-direction: column; align-items: flex-start; }
  .next { align-items: flex-start; text-align: left; }
  .next-media { display: none; }
  .credit-list > div { grid-template-columns: 1fr; gap: 2px; }
}
/* Con la cortina en «Sin conexión» sobra el aviso pequeño */
.veil.is-offline ~ .net { display: none; }

/* Fotogramas del vídeo, debajo del reproductor */
.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px var(--gutter) 0; }
.still { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.still img { width: 100%; height: 100%; object-fit: cover; }
.case .videos + .stills { margin-top: -6px; }

/* Enlace al post de Instagram del proyecto (y nota de breakdown) */
.ig-line { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; margin: 0; padding: 18px var(--gutter) 0; color: var(--muted); text-transform: none; }
.ig-line .link { color: var(--fg); }

/* ---------- petición de proyecto (contacto) ---------- */
.req { grid-column: 1 / -1; display: grid; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.req h3 { margin: 0; color: var(--muted); }
.req-lead { margin: 0; max-width: 52ch; font-size: clamp(18px, 1.5vw, 21px); }
.req .step { display: grid; gap: 26px; margin: 0; padding: 0; border: 0; min-width: 0; }
.req .step[hidden] { display: none; }
.req-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(20px, 3vw, 48px); }
.req label { display: grid; gap: 8px; min-width: 0; }
.req label > .mono { color: var(--muted); }
.brief-field { display: grid; gap: 8px; min-width: 0; }
.brief-field > .mono { color: var(--muted); }
.req .brief-box { position: relative; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.req .brief-box:focus-within { border-bottom-color: var(--fg); }
.req .brief-box textarea, .req .brief-ghost { display: block; width: 100%; min-height: clamp(180px, 26vh, 300px); margin: 0; padding: 12px 0 14px; border: 0; font: inherit; font-size: clamp(19px, 1.9vw, 28px); letter-spacing: -.01em; line-height: 1.3; white-space: pre-wrap; overflow-wrap: break-word; }
.req .brief-box textarea { position: relative; z-index: 1; background: transparent; resize: vertical; overflow: hidden; }
.req .brief-ghost { position: absolute; inset: 0; color: var(--muted); opacity: .6; pointer-events: none; overflow: hidden; }
.req .brief-ghost i { font-style: normal; color: transparent; }
.req .big textarea { min-height: clamp(180px, 26vh, 300px); font-size: clamp(19px, 1.9vw, 28px); letter-spacing: -.01em; line-height: 1.3; padding-top: 12px; }
.req .budget { max-width: 420px; }
/* tipo de proyecto: los cuatro servicios, se elige uno (Solve, 2026-10-23) */
.req-svc { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.req-svc legend { color: var(--muted); padding: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.req .svc-opt { display: block; position: relative; cursor: pointer; }
.req .svc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; }
.svc-opt span { display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, background-color .2s; }
.svc-opt b { font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -.01em; }
.svc-opt small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.svc-opt:hover span { border-color: var(--muted); }
.svc-opt input:checked + span { border-color: var(--fg); background: var(--bg-2); }
.svc-opt input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 2px; }
.svc-opt input:invalid + span { border-color: var(--red); }
.svc-opt.all { grid-column: 1 / -1; }
.svc-opt.all span { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 14px; }
@media (max-width: 720px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.req .tz { max-width: 520px; }
/* calendario de la segunda pantalla */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px clamp(24px, 4vw, 64px); align-items: start; }
.cal { display: grid; gap: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-month { font-weight: 500; color: var(--fg); font-size: 15px; min-width: 9ch; text-align: center; text-transform: capitalize; }
.cal-btn { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.cal-btn:hover { color: var(--fg); border-color: var(--muted); }
.cal-btn:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { text-align: center; font: 400 11px/2 var(--mono); letter-spacing: .08em; color: var(--muted); }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--fg); font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.cal-day:hover { border-color: var(--muted); }
.cal-day:disabled { color: var(--line); cursor: default; }
.cal-day:disabled:hover { border-color: transparent; }
.cal-day.sel { background: var(--red); border-color: var(--red); color: #fff; }
.cal-day.empty { visibility: hidden; }
.hours { display: grid; gap: 14px; align-content: start; }
.hours .mono { color: var(--muted); }
.hour-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.hour { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.hour:hover { border-color: var(--muted); }
.hour.sel { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.muted-note { margin: 0; color: var(--muted); font-size: 15px; }
.chosen { margin: 0; color: var(--muted); }
.chosen b { color: var(--fg); font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 17px; }
@media (max-width: 760px) { .cal-wrap { grid-template-columns: 1fr; } }
.req input, .req select, .req textarea { width: 100%; font: inherit; font-size: clamp(17px, 1.4vw, 20px); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0 10px; transition: border-color .2s; }
.req textarea { resize: vertical; min-height: 96px; line-height: 1.4; }
.req select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; cursor: pointer; }
.req select option { background: var(--bg); color: var(--fg); }
.req input:focus, .req select:focus, .req textarea:focus { outline: none; border-bottom-color: var(--fg); }
.req input:user-invalid, .req select:user-invalid { border-bottom-color: var(--red); }
.req ::placeholder { color: var(--muted); opacity: .6; }
.req .check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; font-size: 15px; color: var(--muted); cursor: pointer; }
.req .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); padding: 0; border: 0; }
.req .gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; }
.req-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.req-status { color: var(--muted); }
.req-status.err { color: var(--red); }
.req-foot .copy { margin-top: 0; }
.req.sent .step { display: none; }
.req-result { display: grid; gap: 18px; justify-items: start; padding: 8px 0 24px; }
.req-result h4 { margin: 0; font-size: clamp(30px, 5vw, 72px); letter-spacing: -.04em; line-height: 1; font-weight: 500; }
.req-result p { margin: 0; max-width: 52ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.req-result .mono { color: var(--muted); }
@media (max-width: 760px) { .req-row3 { grid-template-columns: 1fr; } .req .budget { max-width: none; } }

/* ---------- petición de proyecto en un solo recuadro, por partes (Solve, 2026-11-12) ---------- */
.req { border-bottom: 0; padding-bottom: 0; }
.req-box { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(24px, 4vh, 40px); min-height: clamp(360px, 52vh, 520px); padding: clamp(22px, 3.2vw, 44px); border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); overflow: hidden; transition: border-color .3s; }
.req-box [hidden] { display: none !important; }
.req-box:focus-within { border-color: rgba(242, 240, 235, .3); }
.req-top { display: flex; align-items: center; gap: 18px; color: var(--muted); }
.req-count b { color: var(--fg); font-weight: 400; }
.req-bar { flex: 1; height: 1px; background: var(--line); }
.req-bar i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(.1667); transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.req .req-box .step { align-content: center; gap: clamp(18px, 3vh, 30px); }
.req .q { gap: clamp(14px, 2.4vh, 24px); }
.q-h { display: block; padding: 0; font: 500 clamp(26px, 3.6vw, 52px)/1.02 var(--sans); letter-spacing: -.035em; color: var(--fg); text-wrap: balance; }
.req .q input { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.01em; padding: 10px 0 14px; }
.req-svc legend.q-h { color: var(--fg); margin-bottom: clamp(14px, 2.4vh, 24px); }
.brief-field > .q-h { margin-bottom: 4px; }
.req .req-box .brief-box textarea, .req .req-box .brief-ghost { min-height: clamp(150px, 20vh, 220px); font-size: clamp(18px, 1.7vw, 24px); }
.cal-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.cal-title .mono { color: var(--muted); }
.req-box .cal-wrap { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
.req-box .cal-grid { gap: 2px; }
.req-box .cal-day { aspect-ratio: auto; width: 40px; height: 40px; justify-self: center; }
@media (max-width: 760px) { .req-box .cal-wrap { grid-template-columns: 1fr; } }
.req .hours .tz { max-width: none; margin-bottom: 10px; }
.req .tz select { font-size: 16px; }
.req-box .req-foot { justify-content: flex-end; min-height: 46px; }
.req-box .req-foot [data-back] { margin-right: auto; }
.req-pulse { position: absolute; inset: 0; z-index: 3; background: var(--red); opacity: 0; pointer-events: none; }
.req.sent .req-top, .req.sent .req-foot { display: none; }
.req.sent .req-box { grid-template-rows: 1fr; align-items: center; }
.req-box .req-result { padding: 0; }
.req-box .req-result .req-when { font-size: 12px; }
.req-when b { color: var(--fg); font-weight: 400; }
.req-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
@media (max-width: 760px) { .req-box { min-height: 0; } }

/* ---------- impact frame (Solve, 2026-11-12): una gota y su onda; la deformación la hace main.js con un filtro ---------- */
/* La pantalla que tapa el paso a Contacto: sale al final de la onda y la página nueva nace con ella puesta */
.impact-cover, html.impact-in body::after { content: ""; position: fixed; inset: 0; z-index: 199; background: #0a0a0a; pointer-events: none; }
.impact-cover.slow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3px; border-radius: 50%; background: var(--red); animation: impact-wait 1s ease-in-out infinite; }
@keyframes impact-wait { 50% { opacity: .2; } }
html.impact-in .page-head > * { transition: none !important; }
html.impact-in body::after { transition: opacity .68s cubic-bezier(.25, .6, .2, 1); }
html.impact-off body::after { opacity: 0; }
.tw { display: inline-block; white-space: nowrap; }
.tch { display: inline-block; }
#req { scroll-margin-top: 84px; }
/* El brillo del frente de onda: un aro de luz, con rojo por fuera y cian por dentro, que solo se escala */
.impact-ring { position: fixed; z-index: 200; width: 200px; height: 200px; border-radius: 50%; pointer-events: none; opacity: 0; mix-blend-mode: screen; will-change: transform, opacity;
  background:
    radial-gradient(closest-side, transparent 86%, rgba(255, 255, 255, .5) 92.5%, rgba(255, 255, 255, .1) 96%, transparent 99%),
    radial-gradient(closest-side, transparent 90%, rgba(255, 40, 60, .45) 96%, transparent 100%),
    radial-gradient(closest-side, transparent 78%, rgba(40, 220, 255, .28) 88%, transparent 93%),
    radial-gradient(closest-side, transparent 55%, rgba(255, 255, 255, .06) 80%, transparent 90%); }

/* Vídeo propio en la página de un proyecto (CB Gran Canaria, Nico, 2026-11-12) */
.case-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* Impact frame optimizado: negativo y alto contraste como capas fijas (sin filtros sobre la página); eco del aro */
.impact-neg, .impact-hi { position: fixed; inset: 0; z-index: 201; pointer-events: none; opacity: 0; }
.impact-neg { background: #fff; mix-blend-mode: difference; }
.impact-hi { -webkit-backdrop-filter: grayscale(1) contrast(2.1) brightness(1.3); backdrop-filter: grayscale(1) contrast(2.1) brightness(1.3); }
.impact-echo { filter: none; background: radial-gradient(closest-side, transparent 80%, rgba(255, 255, 255, .22) 90%, rgba(40, 220, 255, .14) 95%, transparent 100%); }

/* Contacto en la cabecera: texto blanco entre corchetes rojos, siempre visible (2026-11-16) */
.nav a[href$="contact/index.html"] { --c: var(--fg); display: inline-flex; align-items: center; gap: 5px; }
.nav a[href$="contact/index.html"]::before, .nav a[href$="contact/index.html"]::after { content: "["; position: static; width: auto; height: auto; margin: 0; border-radius: 0; background: none; color: var(--red); font-family: var(--mono); font-weight: 500; animation: none; opacity: 1; transition: transform .3s var(--ease); }
.nav a[href$="contact/index.html"]::after { content: "]"; }
.nav a[href$="contact/index.html"][aria-current]::before { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; background: none !important; animation: none !important; opacity: 1 !important; }
.nav a[href$="contact/index.html"]:hover::before { transform: translateX(-3px); }
.nav a[href$="contact/index.html"]:hover::after { transform: translateX(3px); }
.nav a[href$="contact/index.html"]:hover > .shine { --c: #fff; }

/* ---------- Cabecera: nunca se esconde, así el botón rojo de Contacto queda siempre a mano (2026-11-16) ---------- */
.site-header.is-hidden { translate: none; background-color: rgba(10, 10, 10, .94); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; column-gap: 18px; }
  .nav { display: flex; }
  .nav a:not([href$="contact/index.html"]) { display: none; }
  .nav a[href$="contact/index.html"] { font-size: 14px; }
}

/* ---------- Portada: resumen de cada apartado ---------- */
.sum { padding: clamp(72px, 12vh, 150px) var(--gutter) 0; }
.selected.sum { padding-top: clamp(40px, 7vh, 80px); }
.selected.sum .sum-head, .selected.sum .stats { margin-left: var(--gutter); margin-right: var(--gutter); }
.selected.sum { padding-left: 0; padding-right: 0; }
.sum-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 5vh, 56px); }
.sum-head h2 { margin: 0; }
.sum-head .link { margin-left: auto; }
.sum-n { color: var(--red); }
.sum-sub { color: var(--muted); }
.sum-title { margin: 0 0 clamp(36px, 6vh, 72px); font-weight: 500; font-size: clamp(36px, 6vw, 104px); line-height: .95; letter-spacing: -.05em; max-width: 14ch; text-wrap: balance; }

/* cifras */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(36px, 6vh, 64px); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-weight: 500; font-size: clamp(56px, 9vw, 150px); line-height: .85; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.stat .mono { color: var(--muted); }
.stat:first-child b { color: var(--red); }

/* línea roja que une los pasos */
.flow { position: relative; }
.flow-rail { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-io) .1s; }
.flow.in .flow-rail, html:not(.enter) .flow-rail { transform: none; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.flow-3 .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-steps li > a, .flow-steps li { display: flex; flex-direction: column; gap: 10px; }
.flow-steps li > a { height: 100%; }
.flow-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--red); margin-bottom: 18px; position: relative; z-index: 1; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.flow-steps b { font-weight: 500; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.03em; }
.flow-steps small { font-size: 16px; color: var(--muted); max-width: 26ch; }
.flow-steps .mono { color: var(--muted); }
.flow-steps a:hover .flow-dot { background: var(--red); transform: scale(1.25); }
.flow-steps a:hover b { color: var(--red); }
html.enter .flow-steps li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease) calc(.35s + var(--i) * .22s), transform .7s var(--ease) calc(.35s + var(--i) * .22s); }
html.enter .flow.in .flow-steps li { opacity: 1; transform: none; }

/* estudio */
.studio-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.studio-sum .sum-title { margin-bottom: 20px; font-size: clamp(32px, 4.4vw, 76px); }
.studio-lead { margin: 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 32ch; }
.mini-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.mini-person { display: flex; flex-direction: column; gap: 6px; }
.mini-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 8px; }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1s var(--ease); }
.mini-person:hover .mini-photo img { filter: none; transform: scale(1.04); }
.mini-person b { font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.02em; }
.mini-person .mono { color: var(--muted); font-size: 11px; }
html.enter .mini-person { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease) calc(.15s + var(--i) * .15s), transform .7s var(--ease) calc(.15s + var(--i) * .15s); }
html.enter .mini-people.in .mini-person { opacity: 1; transform: none; }
.sum-contact + .closing { padding-top: clamp(64px, 10vh, 120px); }

@media (max-width: 900px) {
  .flow-steps, .flow-3 .flow-steps { grid-template-columns: 1fr; gap: 34px; padding-left: 34px; }
  .flow-rail { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .flow-dot { position: absolute; left: -34px; top: 3px; margin: 0; }
  .flow-steps li, .flow-steps li > a { position: relative; }
  .studio-sum { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .sum-head .link { font-size: 11px; }
}
@media (max-width: 520px) { .mini-people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .mini-person .mono { display: none; } }
@media (prefers-reduced-motion: reduce) { .flow-rail { transform: none !important; transition: none; } }

/* ---------- Portada: vídeos más pequeños (dos por fila) con un marco de circuito rojo que se dibuja solo (2026-11-16) ---------- */
.home .circuits .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 8vw, 120px) clamp(56px, 6vw, 104px); padding: 8px calc(var(--gutter) + 28px) 0; }
.home .circuits .card-feat { grid-column: auto; }
.home .circuits .card-feat .card-media { aspect-ratio: 16 / 9; }
.home .circuits .card-feat .card-title { font-size: clamp(22px, 2.3vw, 36px); }
.home .circuits .card-brand.card-feat .card-who { font-size: clamp(15px, 1.3vw, 19px); }
.card-frame { position: relative; display: block; }
.circuit { position: absolute; left: -22px; top: -22px; width: calc(100% + 44px); height: calc(100% + 44px); overflow: visible; pointer-events: none; }
.circuit path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.circuit .cb { stroke: rgba(181, 0, 15, .3); stroke-width: 1; }
.circuit .cw { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io) .25s; }
.circuit .cr { stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) 2s; }
.circuit .cn { fill: var(--bg); stroke: var(--red); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .5s var(--ease) 2.9s; }
.card.in .circuit .cw, .card.in .circuit .cr, html:not(.enter) .circuit .cw, html:not(.enter) .circuit .cr { stroke-dashoffset: 0; }
.card.in .circuit .cn, html:not(.enter) .circuit .cn { opacity: 1; }
.circuit .cs { stroke: #ff2a3c; stroke-width: 2.4; stroke-dasharray: .07 .93; stroke-dashoffset: 1; opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .card:hover .circuit .cs { opacity: 1; animation: circuit-spark 2.6s linear infinite; } }
@keyframes circuit-spark { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) {
  .home .circuits .cards { grid-template-columns: 1fr; gap: 64px; padding: 4px calc(var(--gutter) + 14px) 0; }
  .circuit { left: -14px; top: -14px; width: calc(100% + 28px); height: calc(100% + 28px); }
}
@media (prefers-reduced-motion: reduce) { .circuit .cw, .circuit .cr { transition: none; stroke-dashoffset: 0; } .circuit .cn { transition: none; opacity: 1; } .card:hover .circuit .cs { animation: none; opacity: 0; } }
.home .circuits .card-text { grid-template-columns: minmax(0, 1fr) auto; }   /* en portada no hay número delante */
.home .circuits .cards { padding: 8px var(--gutter) 0; }   /* sin marcos rojos (Nicolás, 2026-11-16) */
@media (max-width: 900px) { .home .circuits .cards { padding: 4px var(--gutter) 0; } }
/* Portada en ordenador: cada vídeo a todo el ancho y entero (16:9), uno debajo de otro (Nicolás, 2026-11-16). En Trabajo siguen las miniaturas. */
.home .circuits .cards { grid-template-columns: 1fr; gap: clamp(56px, 7vw, 112px); }
.home .circuits .card-media, .home .circuits .card-feat .card-media { aspect-ratio: 16 / 9; }
.home .circuits .card-title, .home .circuits .card-feat .card-title { font-size: clamp(26px, 3.2vw, 52px); }
.home .circuits .card-who, .home .circuits .card-brand.card-feat .card-who { font-size: clamp(15px, 1.4vw, 21px); }
/* Aviso de cookies y consentimiento de YouTube (2026-11-23) */
.ck-bar { position: fixed; left: var(--gutter); bottom: 20px; z-index: 90; width: min(460px, calc(100vw - 2 * var(--gutter))); box-sizing: border-box; padding: 18px 20px; background: rgba(14, 14, 14, .96); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transform: translateY(16px); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.ck-bar.on { transform: none; opacity: 1; }
.ck-bar p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--fg); }
.ck-bar p a { color: var(--muted); }
.ck-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ck-btn { flex: 1 1 0; display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--fg); background: transparent; color: var(--fg); font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.ck-btn:hover, .ck-btn:focus-visible { background: var(--fg); color: var(--bg); }
.ck-btn.ghost { border-color: var(--line); color: var(--muted); }
.ck-yt { position: absolute; inset: auto 16px 16px 16px; z-index: 5; padding: 16px; background: rgba(10, 10, 10, .92); border: 1px solid var(--line); cursor: default; }
.ck-yt p { margin: 0 0 12px; font-size: 12px; letter-spacing: .04em; color: var(--fg); }
.ck-set { margin-top: 18px; }
@media (max-width: 560px) { .ck-bar { left: 12px; right: 12px; width: auto; bottom: 12px; } }
.ck-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 15px; }
.ck-table th, .ck-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.ck-table th { font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ck-table td:first-child { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
@media (max-width: 640px) { .ck-table, .ck-table tbody, .ck-table tr, .ck-table td { display: block; } .ck-table tr:first-child { display: none; } .ck-table tr { border-top: 1px solid var(--line); padding: 8px 0; } .ck-table td { border: 0; padding: 2px 0; } }

/* Servicios: texto descriptivo visible bajo el titular (2026-11-23) */
.svc-desc { margin: 22px 0 0; max-width: 62ch; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; text-wrap: pretty; }

/* Impact frame rehecho (2026-11-26): líneas de velocidad, iris oscuro con borde rojo y aro suave de llegada */
.impact-lines { position: fixed; inset: 0; z-index: 202; width: 100vw; height: 100vh; pointer-events: none; opacity: 0; mix-blend-mode: difference; will-change: transform, opacity; }
.impact-lines path { fill: #fff; }
.impact-iris { position: fixed; z-index: 199; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0); will-change: transform;
  background: radial-gradient(closest-side, #0a0a0a 0, #0a0a0a 86%, #ff2a3c 91.5%, rgba(255, 42, 60, .55) 95%, rgba(255, 42, 60, 0) 100%); }
.impact-soft { opacity: 0; filter: none; background:
    radial-gradient(closest-side, transparent 88%, rgba(255, 255, 255, .28) 94%, transparent 99%),
    radial-gradient(closest-side, transparent 92%, rgba(255, 42, 60, .35) 97%, transparent 100%); }

/* Estudio solo texto, sin fotos (2026-11-28) */
.people { padding-top: clamp(8px, 2vh, 24px); }
.person-text { padding-top: 26px; }
.person h2 { font-size: clamp(30px, 3.2vw, 48px); }
.mini-person { border-top: 1px solid var(--line); padding-top: 18px; gap: 8px; transition: border-color .4s; }
.mini-person b { transition: color .3s; }
.mini-person:hover { border-color: var(--red); }
.mini-person:hover b { color: var(--red); }
@media (max-width: 520px) {
  .mini-people { grid-template-columns: 1fr; gap: 0; }
  .mini-person { padding: 16px 0; }
  .mini-person .mono { display: block; }
}

/* Triángulo de «play» dibujado (2026-11-28): el carácter ▶ se convertía en emoji en iPhone/iPad */
.tri { display: inline-block; width: .82em; height: .98em; vertical-align: -.1em; fill: currentColor; }

/* ---------- Pie más bajo (2026-11-30) ---------- */
.site-footer { padding: clamp(22px, 3.6vh, 38px) var(--gutter) 20px; }
.f-cta { margin-bottom: clamp(26px, 4.5vh, 48px); }
.f-row { gap: 12px 24px; align-items: center; }
.f-row .mono { line-height: 1.6; }
.f-brand img { width: 32px; height: 32px; }
@media (max-width: 760px) { .f-row { gap: 14px 20px; } }
@media (max-width: 520px) {
  .f-row { grid-template-columns: 1fr; gap: 10px; }
  .f-row > .f-brand { margin-bottom: 4px; }
  .f-row > div:nth-child(3) { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .f-row > div:nth-child(3) br { display: none; }
}
