/* Global CGI — maqueta de la home. Negro y blanco alternos; el color lo ponen los renders. */

:root {
  --black: #000;
  --white: #fff;
  --ink: #111;
  --paper: #f5f5f5;
  --wrap: 1136px;
  --gutter: 24px;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --h1: clamp(33px, 3.9vw, 72px);
  --h2: clamp(30px, 3.06vw, 46px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--black); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; } /* las imágenes llevan width y height en el HTML (para que la página no salte): sin esto, se estiran a esa altura */
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; }
::selection { background: #fff; color: #000; }
.sec--light ::selection, .sec--paper ::selection { background: #111; color: #fff; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Temas de sección */
.sec { padding: 128px 0; }
.sec--dark { background: var(--black); color: var(--white); --fg: #fff; --bg: #000; --muted: rgba(255, 255, 255, .78); --line: rgba(255, 255, 255, .28); }
.sec--light { background: var(--white); color: var(--ink); --fg: #111; --bg: #fff; --muted: rgba(17, 17, 17, .72); --line: rgba(17, 17, 17, .16); }
.sec--paper { background: var(--paper); color: var(--ink); --fg: #111; --bg: #f5f5f5; --muted: rgba(17, 17, 17, .72); --line: rgba(17, 17, 17, .16); }

/* Tipografía */
h1 { font-size: var(--h1); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: var(--h2); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; margin-bottom: 20px; }
.eyebrow::before { content: ""; flex: none; width: 5px; height: 5px; background: currentColor; }
.body { color: var(--muted); max-width: 46ch; margin-top: 24px; }
.body + .body { margin-top: 16px; }
.link { display: inline-block; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: opacity .3s; }
.link:hover { opacity: .6; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 1px solid; border-radius: 1px; font-size: 16px; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--white { background: #fff; color: #111; border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; }
.btn--ghost { background: rgba(0, 0, 0, .28); color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: #111; border-color: #fff; }
.btn--black { background: #111; color: #fff; border-color: #111; }
.btn--black:hover { background: transparent; color: #111; }

/* Chips y campos */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 1px; font-size: 14px; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.chip span { opacity: .6; margin-left: 4px; }
.chip:hover { border-color: var(--fg); }
.chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips--lg .chip { height: 46px; padding: 0 18px; font-size: 16px; }
.field { height: 52px; width: 100%; min-width: 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 1px; background: transparent; transition: border-color .3s; }
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--fg); }
.field--area { height: auto; padding: 14px 18px; resize: vertical; }
.inline { display: flex; gap: 8px; }
.inline .field { flex: 1; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 4px; height: 4px; background: currentColor; }
.demo-note { margin-top: 14px; font-size: 14px; }

/* Cabecera */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .4s var(--ease); }
.top.is-solid { background: #000; }
.top__in { display: flex; align-items: center; gap: 32px; height: 76px; }
.top__logo img { height: 30px; width: auto; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: 160px 0 clamp(88px, 13vh, 160px); background: #000; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; animation: drift 20s var(--ease) both; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero::before { background: linear-gradient(rgba(0, 0, 0, .46), rgba(0, 0, 0, 0) 24%); }
.hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .4) 34%, rgba(0, 0, 0, 0) 66%), linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 48%); }
.hero__in { position: relative; z-index: 2; }
.hero h1 { max-width: 20ch; }
.hero__sub { max-width: 42ch; margin-top: 28px; font-size: 20px; line-height: 1.45; color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__credit { position: absolute; z-index: 2; right: var(--edge); bottom: 28px; padding: 6px 12px; font-size: 14px; color: #fff; background: rgba(0, 0, 0, .5); }
@keyframes drift { 0% { transform: scale(1.1); opacity: 0; } 7% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* Confianza */
.trust { padding-top: 96px; padding-bottom: 104px; }
.trust__top { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; }
.trust__top .eyebrow { margin: 0 0 8px; max-width: 36ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stats dt { font-size: var(--h2); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 22ch; }
.logos { overflow: hidden; margin: 80px 0 0; }
.logos__row { display: flex; align-items: center; gap: 88px; width: max-content; animation: marquee 48s linear infinite; }
.logos__row img { height: 54px; width: auto; filter: invert(1); opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

.lead { display: grid; grid-template-columns: 5fr 5fr; gap: 40px 96px; align-items: start; }
.lead--sep { margin-top: 112px; }
.lead__t { font-size: 24px; line-height: 1.22; letter-spacing: -.01em; font-weight: 400; max-width: 24ch; }
.lead__p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.lead__l { font-size: 14px; margin-bottom: 12px; }
.lead__f .chips { margin-bottom: 16px; }

/* Cabeceras de sección */
.head { display: grid; grid-template-columns: 6fr 4fr; gap: 32px 96px; align-items: end; }
.head h2 { max-width: 24ch; }
.head__p { color: var(--muted); max-width: 44ch; padding-bottom: 6px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; margin-bottom: 20px; }
.arrows { display: flex; align-items: center; gap: 8px; }
.arrows__hint { font-size: 14px; color: var(--muted); margin-right: 8px; }
.arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 1px; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.arrow:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Carruseles */
.track { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
.track::-webkit-scrollbar { display: none; }
.track[hidden] { display: none; }
.card { position: relative; flex: 0 0 min(612px, 84vw); aspect-ratio: 3 / 2; overflow: hidden; scroll-snap-align: start; background: #111; color: #fff; }
.track--lg .card { flex-basis: min(520px, 84vw); aspect-ratio: auto; height: clamp(360px, 38vw, 540px); }
.track--lg .card--wide { flex-basis: min(760px, 84vw); }
.card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover > img { transform: scale(1.045); }
.card__cap { position: absolute; inset: auto 0 0 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 64px 24px 22px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .68)); }
.card__cap :is(b, h3) { font-size: 20px; font-weight: 400; line-height: 1.2; }
.card__cap :is(b, h3) small { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.card__cap i { flex: none; font-style: normal; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.card:hover .card__cap i, .card:focus-visible .card__cap i { opacity: 1; transform: none; }
.card__cap--ink { background: none; color: #111; padding-top: 22px; }
.card--paper { background: #ececec; }
.card--ink { background: #161616; }
.card__play { position: absolute; z-index: 3; left: 50%; top: 46%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; transition: transform .5s var(--ease), background-color .5s var(--ease); }
.card__play::after { content: ""; position: absolute; left: 27px; top: 23px; border: solid transparent; border-width: 10px 0 10px 17px; border-left-color: #fff; }
.card:hover .card__play { transform: scale(1.1); background: rgba(0, 0, 0, .35); }

/* Composiciones ilustrativas de marca y digital */
.mock { position: absolute; z-index: 2; }
.mock--name { inset: 0; display: grid; place-content: center; text-align: center; background: rgba(0, 0, 0, .38); }
.mock--name b { font-size: clamp(40px, 5.4vw, 76px); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; line-height: 1; padding-left: .14em; }
.mock--name small { margin-top: 14px; font-size: 14px; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; }
.plan { position: absolute; inset: 7% 9% 20% 9%; width: 82%; height: 73%; }
.mock--book { inset: 9% 9% 21% 9%; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.mock--book .page { position: relative; overflow: hidden; }
.mock--book .page img { width: 100%; height: 100%; object-fit: cover; }
.mock--book .page--txt { display: flex; flex-direction: column; gap: 9px; padding: 9% 10%; color: #111; }
.mock--book .page--txt b { font-size: clamp(16px, 1.7vw, 24px); font-weight: 400; line-height: 1.15; margin-bottom: 6px; }
.mock--book .page--txt small { font-size: 12px; line-height: 1.35; color: rgba(17, 17, 17, .78); }
.mock--lona { left: 9%; right: 9%; top: 32%; display: grid; gap: 4px; padding: 18px 22px; background: #fff; color: #111; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.mock--lona b { font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; }
.mock--lona small { font-size: 14px; }
.mock--lona em { font-style: normal; font-size: 18px; font-weight: 500; margin-top: 4px; }
.mock--web { inset: 8% 8% 20% 8%; display: flex; flex-direction: column; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .18); }
.web__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #fff; color: #111; }
.web__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9c9c9; }
.web__bar small { margin-left: 10px; font-size: 12px; color: rgba(17, 17, 17, .7); }
.web__hero { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 18px; overflow: hidden; color: #fff; }
.web__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.web__hero b, .web__hero em { position: relative; }
.web__hero b { font-size: clamp(18px, 2vw, 28px); font-weight: 400; line-height: 1.1; max-width: 12ch; }
.web__hero em { font-style: normal; font-size: 12px; padding: 7px 12px; background: #fff; color: #111; }
.mock--ads { inset: 7% 0 20% 0; display: flex; justify-content: center; gap: 18px; }
.ad { display: flex; flex-direction: column; width: 31%; background: #fff; color: #111; overflow: hidden; }
.ad:nth-child(2) { transform: translateY(8%); }
.ad img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.ad small { padding: 8px 10px 0; font-size: 11px; color: rgba(17, 17, 17, .68); }
.ad b { padding: 2px 10px 6px; font-size: 13px; font-weight: 500; line-height: 1.25; }
.ad em { margin: 0 10px 10px; padding: 6px 0; font-style: normal; font-size: 12px; text-align: center; background: #111; color: #fff; }
.mock--units { inset: 8% 14% 20% 14%; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #fff; color: #111; box-shadow: 0 24px 50px rgba(0, 0, 0, .14); }
.units__h { display: flex; justify-content: space-between; align-items: baseline; }
.units__h b { font-size: 16px; font-weight: 500; }
.units__h small, .units__l small { font-size: 12px; color: rgba(17, 17, 17, .72); }
.units__g { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.units__g i { display: grid; place-items: center; font-style: normal; font-size: 13px; background: #f1f1f1; }
.units__g i.r { background: #9b9b9b; color: #fff; }
.units__g i.s { background: #111; color: #fff; }
.units__l { display: flex; gap: 16px; }
.units__l small { display: flex; align-items: center; gap: 6px; }
.units__l i { width: 9px; height: 9px; background: #e4e4e4; }
.units__l i.r { background: #9b9b9b; }
.units__l i.s { background: #111; }

/* Dos columnas */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 56px 88px; align-items: center; }
.split--top { align-items: start; }
.split h2 { max-width: 13ch; }
.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mosaic__btn { position: absolute; left: 20px; bottom: 20px; height: 46px; padding: 0 20px; font-size: 16px; }
.mosaic__btn:hover { background: #fff; }

/* Para quién */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.tile { display: flex; flex-direction: column; }
.tile__m { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.tile__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__m img { transform: scale(1.045); }
.tile :is(b, h3) { margin-top: 20px; font-size: 20px; font-weight: 500; }
.tile > span:last-child { margin-top: 8px; color: var(--muted); max-width: 34ch; }

/* Cómo trabajamos y reserva */
.points { display: grid; gap: 28px; margin-top: 48px; }
.points h3 { font-size: 18px; }
.points p { margin-top: 6px; color: var(--muted); max-width: 38ch; }

/* Proyectos: tarjeta de caso */
.card--case { flex-basis: min(960px, 84vw) !important; display: grid; grid-template-columns: 1fr 1fr; }
.card--case > img { height: 100%; }
.case { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 44px); background: #111; }
.case__tag { font-size: 14px; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .4); }
.case h3 { margin-top: 20px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.case dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: auto; padding-top: 24px; width: 100%; }
.case dt { font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.02em; color: rgba(255, 255, 255, .5); }
.case dd { margin-top: 8px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.case__note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.case .btn { margin-top: 22px; height: 46px; font-size: 16px; }
.card.is-out { display: none; }

/* Testimonios */
.voices__g { display: grid; grid-template-columns: 6fr 5fr; gap: 56px 88px; margin-top: 64px; align-items: start; }
.voice blockquote { font-size: 18px; line-height: 1.5; }
.voice--big blockquote { font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }
.voice figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }
.voice figcaption b { display: block; font-weight: 500; color: var(--fg); }
.voices__c { display: grid; gap: 36px; }
.voices .link { margin-top: 56px; }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border: 1px solid var(--line); background: #fff; }
.plan-c { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px 32px; }
.plan-c + .plan-c { border-left: 1px solid var(--line); }
.plan-c h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 24px; font-weight: 400; }
.plan-c p { color: var(--muted); }
.plan-c p b { color: var(--fg); font-weight: 500; }
.plan-c .link { margin-top: auto; padding-top: 20px; align-self: flex-start; }
.tag { font-size: 14px; padding: 3px 9px; border: 1px solid var(--fg); }
.band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 32px; background: #000; color: #fff; }
.band h3 { font-size: 24px; font-weight: 400; }
.band p { margin-top: 6px; color: rgba(255, 255, 255, .8); }

/* Quiz */
.quiz { position: relative; margin-top: 56px; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; background: #111; }
.quiz > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
/* La imagen conserva su color: solo se oscurece la parte de abajo, donde va el texto */
.quiz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .04) 18%, rgba(0, 0, 0, .46) 56%, rgba(0, 0, 0, .8)); pointer-events: none; }
.quiz__in { position: relative; z-index: 1; width: 100%; padding: clamp(24px, 4vw, 48px); }
.quiz__step { display: flex; align-items: center; gap: 16px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.quiz__dash { display: flex; gap: 6px; }
.quiz__dash i { width: 26px; height: 2px; background: rgba(255, 255, 255, .35); transition: background-color .4s; }
.quiz__dash i.on { background: #fff; }
.quiz__q { margin: 14px 0 22px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.012em; max-width: 26ch; }
.quiz .chip { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .5); }
.quiz .chip:hover { background: #fff; color: #111; border-color: #fff; }

/* FAQ */
.ask { margin-top: 48px; display: grid; gap: 10px; padding: 28px; background: var(--paper); max-width: 440px; }
.ask h3 { font-size: 18px; }
.ask p { color: var(--muted); margin-bottom: 8px; }
.ask .btn { justify-self: start; margin-top: 6px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 60ch; }

/* Pie */
.foot { padding: 104px 0 36px; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot__top, .foot__contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 64px; }
.foot__logo { width: 172px; }
.foot__lead { margin-top: 28px; max-width: 28ch; font-size: 17px; line-height: 1.45; color: var(--muted); }
.foot__cols { display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 40px 28px; }
.foot :is(h4, .foot__h) { margin-bottom: 16px; font-size: 15px; font-weight: 500; }
.foot__cols a { display: block; padding: 5px 0; font-size: 16px; color: var(--muted); transition: color .3s; }
.foot__cols a:hover, .foot__meta a:hover { color: #fff; }
.foot__contact { align-items: end; margin-top: 88px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot__mail { display: inline-block; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.015em; }
.foot__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 16px; color: var(--muted); }
.foot__meta a { color: #fff; }
.foot__where { display: grid; grid-template-columns: repeat(2, max-content); gap: 24px 72px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.foot__where b { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; color: #fff; }
.foot__end { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; font-size: 14px; color: var(--muted); }

/* Entradas al hacer scroll */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-r].in { opacity: 1; transform: none; }
/* El texto del hero entra con una animación propia: no depende del scroll ni del observador */
.js .hero [data-r] { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* Tableta */
@media (max-width: 1000px) {
  .sec { padding: 96px 0; }
  .head, .split, .lead, .trust__top, .voices__g { grid-template-columns: 1fr; }
  .head h2, .split h2 { max-width: 18ch; }
  .lead--sep { margin-top: 80px; }
  .foot__top, .foot__contact { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); justify-content: stretch; }
  .plans { grid-template-columns: 1fr; }
  .plan-c + .plan-c { border-left: 0; border-top: 1px solid var(--line); }
  .card--case { grid-template-columns: 1fr; }
  .card--case > img { display: none; }
}

/* Móvil */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .sec { padding: 80px 0; }
  .hero { padding: 120px 0 72px; }
  .hero::after { background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .78) 62%); }
  .hero__img { object-position: 62% 50%; }
  .hero__sub { font-size: 18px; margin-top: 20px; }
  .hero__cta { margin-top: 28px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__credit { position: relative; right: auto; bottom: auto; margin: 0; padding: 0 var(--gutter); display: none; }
  .trust { padding-top: 72px; }
  .stats { gap: 18px; }
  .stats dd { font-size: 14px; }
  .logos { margin: 56px 0 0; }
  .logos__row { gap: 56px; }
  .logos__row img { height: 44px; }
  .inline { flex-direction: column; }
  .inline .field { flex: none; }
  .inline .btn { width: 100%; }
  .bar { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .arrows { display: none; }
  .card { aspect-ratio: 4 / 5; }
  .track--lg .card { height: 480px; }
  .card__cap i { opacity: 1; transform: none; }
  .card__cap { flex-direction: column; align-items: flex-start; gap: 6px; padding: 56px 18px 18px; }
  .mock--book, .mock--web, .mock--units { inset: 7% 7% 26% 7%; }
  .mock--ads { inset: 7% 4% 26% 4%; gap: 10px; }
  .ad { width: 46%; }
  .plan { inset: 8% 6% 30% 6%; width: 88%; height: 62%; }
  .mock--lona { top: 22%; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .case dl { grid-template-columns: 1fr; gap: 14px; }
  .case dl div { display: flex; align-items: baseline; gap: 14px; }
  .voices__g { margin-top: 44px; }
  .plan-c { padding: 28px 22px; }
  .band { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .quiz { min-height: 480px; }
  .chips--lg .chip { height: 44px; font-size: 16px; }
  .faq summary { font-size: 18px; padding: 20px 0; }
  .faq details p { padding-right: 0; }
  .ask { padding: 22px; }
  .foot { padding-top: 72px; }
  .foot__contact { margin-top: 56px; padding-top: 36px; }
  .foot__where { grid-template-columns: 1fr; }
  .foot__end { flex-direction: column; gap: 6px; margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img, .logos__row, .js .hero [data-r] { animation: none; }
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  .card > img, .tile__m img { transition: none; }
}

/* ───────── Toques de movimiento: un solo lenguaje, el «desvelado» ───────── */

/* Hero: el titular sube palabra a palabra desde una máscara */
.js .hero h1.is-words, .js .hero .hero__t.is-words { animation: none; opacity: 1; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .16em; margin-bottom: -.16em; }
.w > span { display: inline-block; transform: translateY(112%); animation: wordUp 1.15s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--n, 0) * 85ms + 320ms); }
@keyframes wordUp { to { transform: none; } }

/* Hero: la imagen se queda atrás y el texto se desvanece al bajar */
.hero__img { translate: 0 calc(var(--sy, 0) * .28px); }
.hero__in { translate: 0 calc(var(--sy, 0) * -.1px); opacity: calc(1 - var(--p, 0) * 1.6); }

/* Imágenes: se abren de abajo arriba mientras la foto se asienta */
.js .u { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s cubic-bezier(.65, 0, .15, 1); transition-delay: calc(var(--n, 0) * 90ms); }
.js .u.in { clip-path: inset(0 0 0 0); }
.js .u:not(.in) > img { transform: scale(1.16); }

/* Carruseles: cursor de arrastre */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: #fff; color: #111; font-size: 14px; pointer-events: none; scale: 0; transition: scale .4s var(--ease); }
.cursor.on { scale: 1; }
.cursor.down { scale: .8; }
.has-cursor .track, .has-cursor .track a { cursor: none; }
.has-cursor .track .case, .has-cursor .track .case a { cursor: auto; }
.has-cursor .track .case a { cursor: pointer; }
.track.is-drag { scroll-snap-type: none; }
.track.is-drag .card { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .w > span { transform: none; animation: none; }
  .hero__img, .hero__in { translate: none; opacity: 1; }
  .js .u { clip-path: none; transition: none; }
  .js .u:not(.in) > img { transform: none; }
  .cursor { display: none; }
}

/* ───────── Prueba «más premium»: franja a todo el ancho y testimonios sobre imagen ───────── */
.head__p p + p { margin-top: 16px; }

.wide { position: relative; height: min(82vh, 820px); margin-top: 72px; overflow: hidden; background: #111; color: #fff; }
.wide > img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.wide::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .5)); pointer-events: none; }
.wide__in { position: absolute; z-index: 1; left: 0; right: 0; bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.wide figcaption { font-size: 14px; }

.voices { position: relative; }
.voices__bg { position: absolute; inset: 0; }
.voices__bg img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.voices__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .46) 55%, rgba(0, 0, 0, .18)); }
.voices__in { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(88vh, 860px); padding-block: 128px; }
.voices h2.eyebrow { font-size: 14px; letter-spacing: 0; line-height: 1.4; margin-bottom: 36px; }
.voices__stage { display: grid; gap: 48px; max-width: 920px; }
.voices .voice blockquote { font-size: clamp(22px, 2.25vw, 32px); line-height: 1.28; letter-spacing: -.012em; }
.voices .voice figcaption { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.voices .voice figcaption b { font-size: 16px; color: #fff; }
.js .voices__stage .voice { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.js .voices__stage .voice.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .2s, .2s, 0s; }
.voices__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 56px; }
.voices .link { margin-top: 0; margin-left: auto; }
.voices__dots { display: flex; gap: 6px; }
.voices__dots button { width: 34px; height: 24px; background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)) center / 100% 2px no-repeat; }
.voices__dots button.is-on { background-image: linear-gradient(#fff, #fff); }
.voices .arrow { background: rgba(0, 0, 0, .25); }

@media (max-width: 640px) {
  .wide { height: 70vh; margin-top: 48px; }
  .wide__in { flex-direction: column; align-items: flex-start; bottom: 24px; gap: 14px; }
  .voices__in { min-height: 0; padding-block: 96px; }
  .voices__nav { margin-top: 40px; }
  .voices .link { margin-left: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .voices__stage .voice { transition: none; transform: none; }
}

.wide > img { transition: transform 1.8s var(--ease); }
.js .wide > img.u { transition: clip-path 1.25s cubic-bezier(.65, 0, .15, 1), scale 1.8s var(--ease); }
.js .wide > img.u:not(.in) { scale: 1.12; }

/* ───────── Piezas reales: webs, vídeos y tours ───────── */
.web__hero--real img { filter: none; object-position: top; }
.wide__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.live__acts { display: flex; gap: 6px; }
.live__acts a, .live__more a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 1px; font-size: 14px; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.live__acts a:hover, .live__more a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.frame { background: #fff; border: 1px solid var(--line); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcfcf; }
.frame__bar small { margin-left: 10px; font-size: 14px; color: var(--muted); }
.frame__shots { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.frame__shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.frame__shots img.is-on { opacity: 1; transform: none; }

/* Vídeo en ventana */
.lb { width: min(1200px, 92vw); max-width: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lb::backdrop { background: rgba(0, 0, 0, .9); }
.lb__box { aspect-ratio: 16 / 9; background: #000; }
.lb__box iframe { display: block; width: 100%; height: 100%; border: 0; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 14px; }
.lb__x { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 1px; color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease); }
.lb__x:hover { background: #fff; color: #111; }
.lb__bar a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
}
@media (max-width: 640px) {
  .wide__acts .btn { height: 46px; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .frame__shots img { transition: none; transform: none; }
}

@media (max-width: 640px) {
}

@media (hover: none) {
}

@media (max-width: 640px) {
  .voices__bg::after { background: rgba(0, 0, 0, .6); }
}

/* ───────── Páginas de proyectos ───────── */
.top--page { background: #000; }
.h2 { font-size: var(--h2); line-height: 1.12; letter-spacing: -.012em; }
.btn--line { background: transparent; color: #111; border-color: rgba(17, 17, 17, .4); }
.btn--line:hover { background: #111; color: #fff; border-color: #111; }
.count { font-size: 14px; color: var(--muted); }

/* Cabecera de la ficha */
.phero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: 160px 0 clamp(64px, 9vh, 112px); background: #000; color: #fff; overflow: hidden; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 20s var(--ease) both; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .1) 58%, rgba(0, 0, 0, .42)); pointer-events: none; }
.phero__in { position: relative; z-index: 1; }
.phero h1 { max-width: 18ch; }
.phero .hero__sub { max-width: 56ch; }
.js .phero [data-r] { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); }
.facts dt { font-size: 14px; color: rgba(255, 255, 255, .78); }
.facts dd { margin-top: 4px; font-size: 18px; }

/* Entregables de un vistazo */
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 64px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kit__i { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease), color .35s var(--ease); }
.kit__i b { font-size: var(--h2); font-weight: 400; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kit__i span { font-size: 18px; }
.kit__i small { font-size: 14px; color: var(--muted); transition: color .35s var(--ease); }
.kit__i:hover { background: #111; color: #fff; }
.kit__i:hover small { color: rgba(255, 255, 255, .78); }

/* Galería de renders */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 8px; margin-top: 40px; }
.gal__i { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #111; cursor: zoom-in; }
/* Una de cada cinco va a doble tamaño; con JavaScript se recalcula sobre las visibles al filtrar */
.gal:not(.gal--js) .gal__i:nth-child(5n + 1), .gal__i.is-big { grid-column: span 2; grid-row: span 2; }
.gal__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__i:hover img { transform: scale(1.04); }
.gal__i.is-out { display: none; }

/* Documentos página a página */
.track--doc { gap: 10px; }
.page-c { flex: none; display: block; height: clamp(260px, 34vw, 500px); scroll-snap-align: start; background: #fff; cursor: zoom-in; }
.page-c img { height: 100%; width: auto; max-width: none; }

/* Planos comerciales */
.plans-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.plan-i { display: block; border: 1px solid var(--line); background: #fff; cursor: zoom-in; transition: border-color .3s; }
.plan-i:hover { border-color: var(--fg); }
.plan-i img { width: 100%; aspect-ratio: 1.414; object-fit: contain; }
.plan-i span { display: block; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }

/* Web, vídeo y tour */
.digi { display: grid; grid-template-columns: 7fr 4fr; gap: 40px 56px; align-items: start; margin-top: 56px; }
.digi--solo { grid-template-columns: 1fr; max-width: 560px; }
.frame--dark { display: block; background: #111; border-color: rgba(255, 255, 255, .28); }
.frame--dark .frame__bar { border-color: rgba(255, 255, 255, .2); }
.frame--dark .frame__bar i { background: rgba(255, 255, 255, .35); }
.frame--dark .frame__bar small { color: rgba(255, 255, 255, .78); }
.digi__acts { display: grid; border-top: 1px solid var(--line); }
.digi__a { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.digi__a :is(b, h3) { font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.digi__a span { font-size: 14px; color: var(--muted); }
.digi__a i { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-style: normal; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }

/* Cierre y siguiente proyecto */
.cta { max-width: 760px; }
.cta .hero__cta { margin-top: 36px; }
.next { position: relative; display: flex; align-items: flex-end; min-height: 62vh; color: #fff; overflow: hidden; background: #000; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.next:hover img { transform: scale(1.04); }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 60%); }
.next__in { position: relative; z-index: 1; display: grid; gap: 6px; padding-block: 48px; }
.next small { font-size: 14px; }
.next b { font-size: var(--h2); font-weight: 400; letter-spacing: -.012em; line-height: 1.1; }

/* Índice de proyectos */
.pindex { padding-top: 168px; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 12px; margin-top: 40px; }
.pcard { display: flex; flex-direction: column; }
.pcard--wide { grid-column: 1 / -1; }
.pcard__m { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #111; }
.pcard--wide .pcard__m { aspect-ratio: 21 / 9; }
.pcard__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__m img { transform: scale(1.035); }
.pcard__t { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; }
.pcard__t b { font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.pcard__t small { font-size: 14px; color: var(--muted); }
.pcard__k { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pcard__k i { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--line); font-style: normal; font-size: 14px; }
.pcard.is-out { display: none; }

/* Imagen a pantalla completa */
.zb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .96); color: #fff; }
.zb::backdrop { background: #000; }
.zb__img { position: absolute; inset: 64px 72px 64px 72px; display: grid; place-items: center; }
.zb__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zb__bar { position: absolute; left: 24px; right: 24px; top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.zb__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 1px; color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease); }
.zb__nav:hover, .zb__x:hover { background: #fff; color: #111; }
.zb__nav--p { left: 14px; }
.zb__nav--n { right: 14px; }
.zb__x { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 1px; color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease); }

@media (max-width: 1000px) {
  .gal { grid-template-columns: repeat(2, 1fr); }
  .plans-g { grid-template-columns: repeat(2, 1fr); }
  .digi { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phero { padding-bottom: 56px; }
  .facts { gap: 16px 32px; margin-top: 28px; }
  .facts dd { font-size: 16px; }
  .kit { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .kit__i { padding: 20px 16px; }
  .gal { gap: 6px; }
  .page-c { height: 230px; }
  .plans-g { grid-template-columns: 1fr; margin-top: 40px; }
  .pindex { padding-top: 128px; }
  .pgrid { grid-template-columns: 1fr; gap: 44px; }
  .pcard--wide .pcard__m { aspect-ratio: 3 / 2; }
  .pcard__t b { font-size: 20px; }
  .next { min-height: 48vh; }
  .zb__img { inset: 60px 8px 76px 8px; }
  .zb__nav { top: auto; bottom: 16px; margin: 0; }
  .zb__nav--p { left: calc(50% - 52px); }
  .zb__nav--n { right: calc(50% - 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .phero__img, .js .phero [data-r] { animation: none; }
}

/* Home: piezas reales en los pilares y botón al índice */
.card > img.plan { position: absolute; left: 7%; top: 7%; width: 86%; height: 72%; object-fit: contain; background: #fff; }
.card:hover > img.plan { transform: none; }
.mock--doc { inset: 9% 7% 22% 7%; }
.mock--doc img { position: absolute; width: 62%; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.mock--doc img:first-child { left: 0; top: 0; }
.mock--doc img:last-child { right: 0; bottom: 0; }
.more { margin-top: 40px; }

/* Lista de trabajo publicado: los botones van debajo del nombre para que ninguna fila se apriete */
.live__acts { flex-wrap: wrap; }

/* ───────── Tours 360º integrados en la página ───────── */
.tourframe { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: #000; color: #fff; }
.tourframe iframe { flex: 1; width: 100%; min-height: 0; border: 0; display: block; background: #111; }
.tourframe__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; font-size: 14px; background: #000; }
.tourframe__bar div { display: flex; gap: 6px; }
.tourframe__b { height: 34px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 1px; font-size: 14px; color: #fff; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.tourframe__b:hover { background: #fff; color: #111; }
.frame__shots.has-tour { aspect-ratio: 4 / 3; }

/* Ficha: bloque del tour, con la imagen del proyecto hasta que se pulsa */
.tour-embed { position: relative; width: 100%; height: min(78vh, 760px); margin-top: 56px; overflow: hidden; background: #111; color: #fff; }
.tour-embed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-embed__in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: rgba(0, 0, 0, .42); }
.tour-embed__in p { max-width: 40ch; }
.tour-embed__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

@media (max-width: 640px) {
  .tour-embed { height: 72vh; margin-top: 40px; }
  .tourframe__bar span { display: none; }
  .tourframe__bar { justify-content: flex-end; }
  .frame__shots.has-tour { aspect-ratio: 3 / 4; }
}
/* En el marco de la home el nombre del tour ya va en la barra del marco */
.frame__shots .tourframe__bar span { display: none; }
.frame__shots .tourframe__bar { justify-content: flex-end; }
/* La imagen del tour no se oscurece: solo una sombra abajo, donde van el texto y los botones */
.tour-embed__in { justify-content: flex-end; padding-bottom: 48px; background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 46%); }

/* ───────── Formulario de contacto ───────── */
.cform { display: grid; gap: 16px; padding-top: 6px; }
.cform__t { font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.cform__p { margin-top: -8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__l { display: grid; gap: 8px; font-size: 14px; }
.cform__l small { font-size: 14px; color: var(--muted); }
.cform__l .field { font-size: 16px; }
.cform .btn { justify-self: start; margin-top: 6px; }
.cform__alt { font-size: 14px; color: var(--muted); }
.cform__alt a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.cform .demo-note { margin-top: 0; }
@media (max-width: 640px) {
  .cform__row { grid-template-columns: 1fr; }
  .cform .btn { justify-self: stretch; }
}

/* ───────── Nuestros trabajos: un proyecto por pantalla, que lleva a su ficha ───────── */
.bar--end { justify-content: flex-end; }
.lcard { position: relative; display: block; flex: none; width: 86vw; height: min(70vh, 600px); scroll-snap-align: start; overflow: hidden; background: #111; color: #fff; }
.lcard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.lcard:hover .lcard__bg { transform: scale(1.03); }
.lcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 58%); pointer-events: none; }
.lcard__in { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 24px; }
.lcard__b { display: block; }
.lcard__b h3 { font-size: clamp(28px, 4.2vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.lcard__p { display: block; margin-top: 10px; max-width: 44ch; color: rgba(255, 255, 255, .9); }
.lcard__tags { display: flex; flex-wrap: wrap; row-gap: 4px; margin-top: 16px; font-size: 14px; }
.lcard__tags span + span::before { content: "·"; margin: 0 9px; opacity: .7; }
.lcard__b .btn { margin-top: 22px; }
.lcard:hover .btn--white { background: #111; color: #fff; border-color: #fff; }
.lcard__more { display: none; }
.lcard__more small { display: block; margin-bottom: 10px; font-size: 14px; }
.lcard__thumbs { display: flex; gap: 8px; }
.lcard__thumbs img, .lcard__thumbs b { flex: none; width: clamp(92px, 8.6vw, 148px); aspect-ratio: 3 / 2; object-fit: cover; background: #fff; }
.lcard__thumbs b { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .4); font-size: 20px; font-weight: 400; }
.track.is-drag .lcard { pointer-events: none; }
.cursor { padding: 0 10px; text-align: center; line-height: 1.15; }

/* Con ratón: la sección queda fija, cada proyecto llena la ventana y el scroll los pasa en horizontal */
.hscroll__foot { display: none; }
.sec.is-hs { padding: 0; }
.hscroll.is-on .hscroll__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; }
.hscroll.is-on .hscroll__pin::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto 0; height: 44%; background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); pointer-events: none; }
.hscroll.is-on .head { position: absolute; z-index: 3; top: 124px; left: 0; right: 0; color: #fff; --muted: rgba(255, 255, 255, .92); pointer-events: none; }
.hscroll.is-on .bar { display: none; }
.hscroll.is-on .track { gap: 0; padding: 0; height: 100vh; overflow: visible; scroll-snap-type: none; will-change: transform; }
.hscroll.is-on .lcard { width: var(--pw, 100vw); height: 100vh; }
.hscroll.is-on .lcard__in { padding-bottom: 104px; }
.hscroll.is-on .lcard__p { font-size: 20px; }
.hscroll.is-on .lcard__tags { font-size: 16px; }
.hscroll.is-on .lcard__more { display: block; flex: none; }
.hscroll.is-on .hscroll__foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 40px; display: flex; align-items: center; gap: 20px; font-size: 14px; font-variant-numeric: tabular-nums; color: #fff; pointer-events: none; }
.hscroll__line { flex: 1; height: 1px; background: rgba(255, 255, 255, .4); }
.hscroll__line b { display: block; height: 3px; margin-top: -1px; background: #fff; transform-origin: left; transform: scaleX(0); }
@media (max-height: 720px) {
  .hscroll.is-on .head { top: 100px; }
  .hscroll.is-on .lcard__more { display: none; }
  .hscroll.is-on .lcard__in { padding-bottom: 84px; }
  .hscroll.is-on .hscroll__foot { bottom: 28px; }
}
@media (max-width: 640px) {
  .lcard { height: min(72vh, 560px); }
  .lcard__b .btn { height: 46px; padding: 0 18px; }
}

/* Quince logos: todos en negro sea cual sea su color original, el giro dura más para ir a la misma velocidad y ninguno se sale de tamaño */
.logos__row { animation-duration: 90s; }
.logos__row img { max-width: 190px; object-fit: contain; filter: brightness(0); }

/* La vuelta de los logos no da salto: la separación va dentro de cada logo */
.logos__row { gap: 0; }
.logos__row img { margin-right: 88px; }
@media (max-width: 720px) { .logos__row img { margin-right: 56px; } }

/* ───────── Cambios del 24-11: piezas por pilar, línea de tiempo, contacto y página de proyectos ───────── */
/* Piezas del formulario agrupadas por pilar */
.chips__g { flex-basis: 100%; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Cómo trabajamos: línea de tiempo */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 72px; }
.tl__n { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl__n::after { content: ""; flex: 1; height: 1px; background: var(--fg); opacity: .35; }
.tl li:last-child .tl__n::after { opacity: 0; }
.tl h3 { margin-top: 20px; font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.tl p { margin-top: 8px; max-width: 28ch; color: var(--muted); }
.contact { margin-top: 136px; }
.contact__alt { display: grid; gap: 10px; margin-top: 36px; }

/* Página de proyectos: todas las fotos en horizontal y el texto encima */
.pgrid { gap: 12px; }
.pcard { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; color: #fff; }
.pcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover > img { transform: scale(1.035); }
.pcard::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to top, rgba(0, 0, 0, .74), rgba(0, 0, 0, 0)); pointer-events: none; }
.pcard__o { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; }
.pcard__o :is(b, h2) { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.pcard__o small { font-size: 14px; color: rgba(255, 255, 255, .9); }
.pcard__k { margin-top: 6px; gap: 0; font-size: 14px; }
.pcard__k i { display: inline; height: auto; padding: 0; border: 0; }
.pcard__k i + i::before { content: "·"; margin: 0 8px; opacity: .7; }

/* En la sección horizontal, el enlace a todos los proyectos sí se puede pulsar */
.hscroll.is-on .head a { pointer-events: auto; }

@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr 1fr; gap: 44px 24px; margin-top: 48px; }
  .tl li:nth-child(2) .tl__n::after { opacity: 0; }
  .contact { margin-top: 88px; }
}
@media (max-width: 560px) {
  .tl { grid-template-columns: 1fr; gap: 32px; }
  .tl__n::after { opacity: 0; }
  .pcard__o { left: 16px; right: 16px; bottom: 16px; }
}

/* Página de proyectos: un proyecto por fila, a todo el ancho */
.pgrid { grid-template-columns: 1fr; gap: 12px; }
.pcard { aspect-ratio: 2 / 1; }
.pcard__o { left: 40px; right: 40px; bottom: 36px; gap: 8px; }
.pcard__o :is(b, h2) { font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.02em; line-height: 1.05; }
.pcard__o small { font-size: 17px; }
.pcard__k { margin-top: 8px; font-size: 16px; }
@media (max-width: 760px) {
  .pcard { aspect-ratio: 3 / 2; }
  .pcard__o { left: 18px; right: 18px; bottom: 18px; gap: 6px; }
  .pcard__o small, .pcard__k { font-size: 14px; }
}

/* Logo nuevo: letras separadas, muy apaisado */
.top__logo img { height: 16px; width: auto; }
@media (max-width: 640px) { .top__logo img { height: 14px; } }

/* Línea de tiempo de cinco pasos (se añadió «Revisión») */
.tl { grid-template-columns: repeat(5, 1fr); gap: 0 28px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .tl { grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
  .tl li:nth-child(3n) .tl__n::after { opacity: 0; }
}
@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .tl li:nth-child(2n) .tl__n::after { opacity: 0; }
}
@media (max-width: 560px) {
  .tl { grid-template-columns: 1fr; gap: 32px; }
}

/* Hero con Palermo 52 de día: la foto ocupa todo el hero (una pantalla exacta), sin zonas negras.
   El encuadre deja el tejado justo bajo el menú y la calle abajo. */
.hero__img { object-position: 50% 62%; }
@media (min-aspect-ratio: 21/9) { .hero__img { object-position: 50% 48%; } }
@media (max-width: 640px) {
  .hero__img { object-position: 36% 50%; }
  .hero::after { background: linear-gradient(rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .74) 66%); }
}
/* Con la foto de día el velo es más suave, para que el edificio conserve su color */
@media (min-width: 641px) {
  .hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, .54), rgba(0, 0, 0, .34) 32%, rgba(0, 0, 0, 0) 62%), linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 40%); }
  .hero::before { background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 22%); }
  .hero__in { text-shadow: 0 1px 22px rgba(0, 0, 0, .45); }
  .hero__in .btn { text-shadow: none; }
}

/* TIPOGRAFÍA (25-11): titulares en Fraunces fina (serif); el texto corrido sigue en Hanken Grotesk */
:root { --serif: "Fraunces", Georgia, "Times New Roman", serif; --h1: clamp(36px, 4.4vw, 82px); --h2: clamp(31px, 3.25vw, 50px); }
h1, h2, .h2, .lcard__b h3, .pcard__o :is(b, h2), .next b, .stats dt, .kit__i b, .foot__mail, .case dt, .quiz__q, .voices .voice blockquote, .voice--big blockquote {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -.025em; }
.lead__t, .tl h3, .plan-c h3, .band h3, .case h3, .cform__t, .card__cap :is(b, h3), .digi__a :is(b, h3), .pcard__t b {
  font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -.012em; }
h1 { line-height: 1.02; text-wrap: balance; }
h2, .h2 { line-height: 1.08; }
.voices h2.eyebrow, .tag { font-family: var(--font); font-weight: 400; letter-spacing: 0; }
.band h3 { font-weight: 300; letter-spacing: -.015em; }

/* VENTANA DE PRESUPUESTO (dialog nativo): el formulario sobre la página, sin salir de donde se está */
html:has(.pmodal[open]) { overflow: hidden; }
.pmodal { --fg: #111; --muted: rgba(17, 17, 17, .72); --line: rgba(17, 17, 17, .22); width: min(760px, calc(100vw - 32px)); max-width: none; max-height: min(92vh, 880px); max-height: min(92dvh, 880px); padding: 0; border: 0; border-radius: 1px; background: #fff; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.pmodal::backdrop { background: rgba(0, 0, 0, .68); }
.pmodal[open] { animation: pmodal-in .4s var(--ease) both; }
.pmodal[open]::backdrop { animation: pmodal-bg .4s ease both; }
@keyframes pmodal-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes pmodal-bg { from { opacity: 0; } }
.pmodal__in { position: relative; padding: 52px 56px 48px; }
.pmodal__t { font-size: clamp(28px, 2.7vw, 40px); padding-right: 40px; }
.pmodal__p { margin-top: 14px; max-width: 46ch; color: var(--muted); }
.pmodal__plan { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pmodal__plan b { font-weight: 500; color: var(--fg); }
.pmodal .cform { margin-top: 28px; }
.pmodal__x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--fg); transition: background-color .25s var(--ease), color .25s var(--ease); }
.pmodal__x:hover { background: #111; color: #fff; }
.pmodal__x:focus-visible, .pmodal .btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
@media (min-width: 641px) and (max-height: 800px) {
  .pmodal__in { padding: 36px 48px 32px; }
  .pmodal .cform { margin-top: 20px; gap: 12px; }
}
@media (max-width: 640px) {
  .pmodal { width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; }
  .pmodal__in { padding: 60px 20px 32px; }
  .pmodal .cform .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .pmodal[open], .pmodal[open]::backdrop { animation: none; } }

/* Opiniones: más voces (se añadieron las reseñas de Google) y dos enlaces a las fuentes */
.voices__dots { gap: 5px; }
.voices__dots button { width: 22px; }
.voices__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-left: auto; }
.voices .voices__links .link { margin: 0; }
.voices__stage { min-height: 9.5em; }
@media (max-width: 900px) { .voices__links { margin-left: 0; flex-basis: 100%; } }

/* Opiniones sobre fondo liso (sin foto): gris claro y texto oscuro */
.voices__in { min-height: 0; padding-block: clamp(96px, 11vw, 152px); }
.voices .voice figcaption { color: var(--muted); }
.voices .voice figcaption b { color: var(--fg); }
.voices__dots button { background-image: linear-gradient(rgba(17, 17, 17, .22), rgba(17, 17, 17, .22)); }
.voices__dots button.is-on { background-image: linear-gradient(#111, #111); }
.voices .arrow { background: transparent; }
.voices .arrow:hover { background: var(--fg); }

.pmodal__alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pmodal__alt .link { color: var(--fg); }

/* CABECERA: logo a la izquierda que pasa al centro al bajar; tres rayas en el borde derecho de la pantalla;
   sin franja ni placas negras (el logo y las rayas cambian de color según el fondo); menú a pantalla completa */
.top { --tpad: clamp(20px, 2.8vw, 44px); }
.top.is-solid, .top--page { background: transparent; }
.top__in { position: relative; justify-content: flex-end; width: auto; max-width: none; margin-inline: 0; padding-inline: var(--tpad); }
.top__logo { position: absolute; top: 50%; left: calc(var(--tpad) - 24px); translate: 0 -50%; display: block; padding: 16px 24px; line-height: 0;
  transition: left .9s cubic-bezier(.65, 0, .2, 1), translate .9s cubic-bezier(.65, 0, .2, 1); }
.top.is-solid .top__logo { left: 50%; translate: -50% -50%; }
.top__burger { position: relative; display: grid; gap: 6px; place-content: center; width: 48px; height: 48px; margin-right: -11px; color: #fff; }
.top__burger span { width: 26px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .25s var(--ease); }
.top__burger:hover span:nth-child(2) { transform: scaleX(.62); transform-origin: right; }
.top.is-open { background: #000; }
.top.is-open .top__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.top.is-open .top__burger span:nth-child(2) { opacity: 0; transform: none; }
.top.is-open .top__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.top__nav { position: fixed; inset: 0; z-index: -1; display: flex; align-items: center; padding: 104px 0 56px; background: #000; color: #fff; overflow: auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.top.is-open .top__nav { opacity: 1; visibility: visible; transition-delay: 0s; }
.top__menu { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.top__links { display: grid; gap: 4px; justify-items: start; }
.top__links a { font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; font-size: clamp(38px, 5.4vw, 80px); line-height: 1.12; letter-spacing: -.025em; opacity: 0; translate: 0 24px; transition: opacity .6s var(--ease), translate .6s var(--ease), color .3s var(--ease); }
.top.is-open .top__links a { opacity: 1; translate: none; transition-delay: calc(var(--n, 0) * 70ms + 140ms), calc(var(--n, 0) * 70ms + 140ms), 0s; }
.top__links:hover a:not(:hover) { color: rgba(255, 255, 255, .42); }
.top__side { display: grid; gap: 10px; justify-items: start; padding-bottom: 14px; font-size: 16px; opacity: 0; transition: opacity .6s var(--ease) .1s; }
.top.is-open .top__side { opacity: 1; transition-delay: .45s; }
.top__side .btn { margin-bottom: 16px; }
.top__burger:focus-visible, .top__nav a:focus-visible, .top__logo:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 760px) {
  .top__nav { align-items: flex-start; padding: 120px 0 40px; }
  .top__menu { grid-template-columns: 1fr; align-items: start; gap: 44px; }
}
@media (max-width: 640px) {
  .top__logo { padding: 15px 18px; left: calc(var(--tpad) - 18px); }
}
@media (prefers-reduced-motion: reduce) {
  .top__logo, .top__burger, .top__nav, .top__links a, .top__side, .top__burger span { transition: none; }
  .top__links a { translate: none; }
}

/* CAMBIO DE COLOR DE LA CABECERA, sin saltos.
   1) Cada sección lisa lleva su propio velo pegado arriba (sticky): tapa suavemente lo que pasa bajo el logo y se va con la sección.
   2) El logo y las rayas tienen una copia oscura encima, recortada (clip-path, lo calcula main.js) justo por el borde
      de la sección clara que pasa por debajo: el color cambia con el borde, no con un fundido. */
/* --veil-pt (relleno superior de la sección) y --veil-h (alto del velo, nunca mayor que el hueco vacío de arriba) los pone main.js;
   sin ellos el velo mide 0 y no se ve. Así, antes de pegarse arriba, el velo cae solo sobre el margen vacío de la sección. */
.sec--light::before, .sec--paper::before, .sec--dark::before { content: ""; float: left; width: 100%; position: sticky; top: 0; z-index: 30; height: var(--veil-h, 0px); margin-top: calc(-1 * var(--veil-pt, 0px)); margin-bottom: calc(-1 * var(--veil-h, 0px) - var(--veil-pb, 0px) - 2px); pointer-events: none; background: linear-gradient(var(--bg) 50%, transparent); }
.sec.is-hs::before { content: none; }
.top__logo-dark { position: absolute; left: 24px; top: 16px; filter: brightness(0); clip-path: inset(0 0 100% 0); }
.top__burger-dark { position: absolute; inset: 0; display: grid; gap: 6px; place-content: center; color: #111; clip-path: inset(0 0 100% 0); }
.top.is-open .top__logo-dark, .top.is-open .top__burger-dark { visibility: hidden; }
@media (max-width: 640px) { .top__logo-dark { left: 18px; top: 15px; } }
/* El velo de cada sección se corta exactamente en el borde de su sección (sin esto asoma sobre la siguiente) */
.sec--light, .sec--paper, .sec--dark { overflow: clip; }

/* SEO: etiquetas semánticas nuevas (h3 en servicios, perfiles y preguntas; h2 en las tarjetas de proyecto) sin cambiar el aspecto */
.tile h3::before { content: "+ "; }
.faq summary h3 { font: inherit; letter-spacing: inherit; margin: 0; }
.pcard__o h2 { margin: 0; text-wrap: initial; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; color: #111; font-size: 16px; transition: top .2s; }
.skip:focus { top: 12px; }

/* PÁGINAS DE TEXTO (legales): columna de lectura, con la cabecera sobre fondo claro */
.legal { padding-top: 176px; }
.legal__in { max-width: 860px; }
.legal h1 { margin-bottom: 40px; }
.prose { font-size: 17px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 16px; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); font-family: var(--font); font-weight: 500; letter-spacing: 0; line-height: 1.3; text-wrap: balance; }
.prose h2 { margin-top: 56px; font-size: 22px; }
.prose h3 { margin-top: 36px; font-size: 19px; }
.prose h4 { margin-top: 28px; font-size: 17px; }
.prose__lead { font-size: 20px; line-height: 1.5; color: var(--fg); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: .18em; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.prose td, .prose th { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose td p { margin: 0; }
@media (max-width: 640px) { .legal { padding-top: 128px; } .prose { font-size: 16px; } }

/* HERO Y SEO: el h1 es la línea pequeña de arriba (lleva la palabra clave) y el titular grande es un párrafo con aspecto de h1.
   Así Google lee «renders 3D en Barcelona» como encabezado principal sin cambiar el mensaje que ve la visita. */
h1.eyebrow { max-width: none; font-family: var(--font); font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-wrap: initial; }
.hero__t { max-width: 20ch; font-family: var(--serif); font-size: var(--h1); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }

/* PÁGINAS DE SERVICIO (carpeta paginas/): piezas que no existían en la home ni en las fichas */
.trio--six { row-gap: 48px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 64px; }
.why li { padding-top: 22px; border-top: 1px solid var(--line); }
.why h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.012em; font-variation-settings: "SOFT" 0, "WONK" 0; }
.why p { margin-top: 12px; max-width: 34ch; color: var(--muted); }
.kit--text { grid-template-columns: repeat(3, 1fr); }
.kit--text .kit__i span { font-size: 20px; }
/* Cabecera de página con el texto a la izquierda: el mismo velo suave que la home, para que se lea sobre la imagen */
.phero--left::after { background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .4) 36%, rgba(0, 0, 0, 0) 68%), linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 46%); }
@media (max-width: 640px) {
  /* Las seis imágenes, en una fila que se pasa con el dedo en vez de una columna larga */
  .trio--six { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .trio--six::-webkit-scrollbar { display: none; }
  .trio--six .tile { flex: 0 0 76vw; scroll-snap-align: start; }
  .kit--text { grid-template-columns: repeat(2, 1fr); }
  .phero--left::after { background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .34) 62%, rgba(0, 0, 0, .3)); }
}
/* Tarjetas de proyecto de dos en dos (en la página de proyectos van de una en una, a todo el ancho) */
.pgrid--two { grid-template-columns: repeat(2, 1fr); }
.pgrid--two .pcard { aspect-ratio: 3 / 2; }
.pgrid--two .pcard__o { left: 24px; right: 24px; bottom: 22px; gap: 6px; }
.pcard__o h3 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -.02em; line-height: 1.1; }
.pgrid--two .pcard__o small, .pgrid--two .pcard__k { font-size: 14px; }
@media (max-width: 760px) { .pgrid--two { grid-template-columns: 1fr; } }
.cta-sec.sec--dark .body { color: var(--muted); }
.cta__note { margin-top: 22px; font-size: 14px; color: var(--muted); }
/* Una sola opinión, grande, como las de la home pero sin carrusel */
.say blockquote { max-width: 30em; font-size: clamp(22px, 2.25vw, 32px); line-height: 1.28; letter-spacing: -.012em; }
.say figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.say figcaption b { display: block; font-size: 16px; font-weight: 500; color: var(--fg); }
/* Imagen a todo el ancho dentro de una página de servicio: sin botones, solo el pie */
.wide--plain { margin-top: 88px; }
.wide--plain .wide__in { justify-content: flex-end; }
.wide--plain .wide__in--acts { justify-content: space-between; }
/* Documentos y capturas de web dentro de una tarjeta: se enseña la parte de arriba */
.tile__m--top img { object-position: top; }
/* Tarjeta que abre un vídeo */
.pcard[data-video] .pcard__k i { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; }
.pcard[data-video] .pcard__k svg { flex: none; display: inline-block; }
/* Bloque de tours con varios botones: el velo sube para que el texto se lea también en el móvil */
@media (max-width: 640px) { .tour-embed--many .tour-embed__in { background: linear-gradient(to top, rgba(0, 0, 0, .74), rgba(0, 0, 0, .34) 62%, rgba(0, 0, 0, 0)); } }
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .trio--six { row-gap: 36px; }
}

/* PILARES: tres franjas verticales. La que se señala se abre y enseña lo que incluye; las otras dos se estrechan.
   Los anchos del texto se fijan por el ancho de la ventana (no por el de la franja) para que no se recoloque mientras se mueve. */
.pillars { --w: calc(100vw - 2 * var(--gutter) - 16px); --pad: clamp(22px, 2.2vw, 36px); display: flex; gap: 8px; height: clamp(600px, 78vh, 760px); margin-top: 56px; padding-inline: var(--gutter); }
.pillar { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #111; color: #fff; outline-offset: -3px; transition: flex-grow .85s var(--ease); }
.pillar.is-open { flex-grow: 2.3; }
.pillar__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), opacity .8s var(--ease); }
.pillar.is-open .pillar__bg { transform: scale(1.03); }
.pillars.has-open .pillar:not(.is-open) .pillar__bg { opacity: .55; }
.pillar::after, .pillar::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.pillar::after { background: linear-gradient(rgba(0, 0, 0, .08), rgba(0, 0, 0, .22) 40%, rgba(0, 0, 0, .88)); }
/* Al abrirse baja una segunda sombra, más alta, para que la lista se lea sobre cualquier imagen */
.pillar::before { background: linear-gradient(rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .56) 48%, rgba(0, 0, 0, .78)); opacity: 0; transition: opacity .7s var(--ease); }
.pillar.is-open::before { opacity: 1; }
.pillar__in { position: absolute; z-index: 2; inset: auto 0 0 0; padding: var(--pad); }
.pillar__n { font-size: 14px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }
.pillar__t { margin-top: 10px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 38px); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.pillar__lead { width: calc(var(--w) / 3 - 2 * var(--pad)); max-width: 34ch; margin-top: 14px; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .88); transition: opacity .45s var(--ease); }
.pillars.has-open .pillar:not(.is-open) .pillar__lead { opacity: 0; }
.pillar__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .85s var(--ease), opacity .4s var(--ease); }
.pillar__more > div { --cw: min(700px, calc(var(--w) * .535 - 2 * var(--pad))); position: relative; min-height: 0; overflow: hidden; width: var(--cw); }
.pillar.is-open .pillar__more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, .3s; }
/* Cada servicio enseña su pieza: los nombres a la izquierda y, a la derecha, la imagen del que está señalado (main.js las va pasando sola) */
.pillar__list { width: 42%; min-height: calc(var(--cw) * .54 * 2 / 3 + 56px); margin-top: 26px; }
.pillar__list li { border-top: 1px solid rgba(255, 255, 255, .26); cursor: pointer; }
.pillar__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .26); }
.pillar__list h4 { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 16px; font-weight: 400; line-height: 1.25; color: rgba(255, 255, 255, .62); transition: color .3s; }
.pillar__list h4::before { content: ""; flex: none; width: 6px; height: 6px; background: #fff; opacity: 0; transition: opacity .3s; }
.pillar__list li.is-on h4 { color: #fff; }
.pillar__list li.is-on h4::before { opacity: 1; }
.pillar__pv { position: absolute; right: 0; top: 26px; width: 54%; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.pillar__list li.is-on .pillar__pv { opacity: 1; visibility: visible; transition-delay: 0s; }
.pillar__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar__img--top img { object-position: top; }
.pillar__img--paper { background: #fff; }
.pillar__img--paper img { object-fit: contain; }
.pillar__pv figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .86); }
.pillar__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 50%; background: rgba(0, 0, 0, .25); }
.pillar__play::after { content: ""; position: absolute; left: 21px; top: 17px; border: solid transparent; border-width: 8px 0 8px 13px; border-left-color: #fff; }
.pillar__lona { position: absolute; left: 10%; right: 10%; top: 20%; display: grid; gap: 2px; padding: 10px 14px; background: #fff; color: #111; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.pillar__lona b { font-size: 20px; font-weight: 500; line-height: 1.1; }
.pillar__lona small { font-size: 12px; }
.pillar__lona em { font-style: normal; font-size: 14px; font-weight: 500; }
.pillar .link { margin-top: 18px; font-size: 16px; }
@media (max-width: 1100px) {
  /* En pantallas estrechas no cabe la franja abierta (y sin ratón no hay nada que señalar): los tres pilares, uno debajo de otro,
     y las piezas de cada uno en una fila que se pasa con el dedo */
  .pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; height: auto; margin-top: 40px; }
  .pillar { overflow: visible; background: none; }
  .pillar::after, .pillar::before { content: none; }
  .pillar__bg { display: none; }
  .pillar__in { position: static; padding: 0; }
  .pillar__t { font-size: 28px; white-space: normal; }
  .pillar__lead, .pillars.has-open .pillar:not(.is-open) .pillar__lead { width: auto; opacity: 1; }
  .pillar__more { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; opacity: 1; }
  .pillar__more > div { width: auto; min-width: 0; overflow: visible; }
  .pillar__list { display: flex; gap: 12px; width: auto; min-height: 0; margin: 22px calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pillar__list::-webkit-scrollbar { display: none; }
  .pillar__list li, .pillar__list li:last-child { flex: 0 0 min(76vw, 400px); display: grid; align-content: start; border: 0; scroll-snap-align: start; cursor: default; }
  .pillar__pv, .pillar__list li.is-on .pillar__pv { position: static; display: contents; opacity: 1; visibility: visible; }
  .pillar__img { grid-row: 1; }
  .pillar__list h4, .pillar__list li.is-on h4 { grid-row: 2; padding: 14px 0 4px; font-size: 18px; color: #fff; }
  .pillar__list h4::before { content: none; }
  .pillar__pv figcaption { grid-row: 3; margin: 0; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) { .pillar, .pillar__bg, .pillar__more, .pillar__lead, .pillar__pv { transition: none; } }

/* MÓVIL: la dirección de las capturas de web no se parte en dos líneas */
@media (max-width: 640px) {
  .web__bar small { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* OPINIONES en pantallas táctiles: se pasan con el dedo (main.js) y las flechas quedan a mano */
.voices__stage { touch-action: pan-y; }
.js .voices__stage.is-swipe .voice.is-on { transform: translateX(var(--dx, 0)); transition: none; }
@media (max-width: 640px) { .voices .arrows { display: flex; margin-left: auto; } }

/* AVISO DE COOKIES (CookieYes, solo en WordPress): tarjeta blanca abajo a la derecha en vez de la franja azul a todo el ancho.
   Lleva !important porque el plugin escribe sus colores y posiciones en el propio HTML. */
body.globalweb #cookie-law-info-bar { left: auto !important; right: 24px !important; bottom: 24px !important; z-index: 45 !important; width: min(432px, calc(100vw - 48px)) !important; padding: 24px 24px 22px !important; border: 1px solid rgba(17, 17, 17, .12); border-radius: 1px; background: #fff !important; color: #111 !important; box-shadow: 0 18px 48px rgba(0, 0, 0, .24) !important; font: 400 14px/1.5 var(--font) !important; text-align: left !important; }
body.globalweb #cookie-law-info-bar .cli-bar-container { display: block !important; padding: 0 !important; }
body.globalweb #cookie-law-info-bar .cli-bar-message { width: auto !important; padding: 0 !important; color: rgba(17, 17, 17, .78); font-size: 14px; line-height: 1.5; text-align: left; }
body.globalweb #cookie-law-info-bar .cli-bar-btn_container { display: flex !important; align-items: center; justify-content: flex-start; gap: 20px; margin: 18px 0 0 !important; }
body.globalweb #cookie-law-info-bar .cli-plugin-button { display: inline-block; margin: 0 !important; border-radius: 1px !important; box-shadow: none !important; font: 400 15px/42px var(--font) !important; letter-spacing: 0; text-shadow: none; text-transform: lowercase; cursor: pointer; }
body.globalweb #cookie-law-info-bar .cli-plugin-button::first-letter { text-transform: uppercase; }
body.globalweb #cookie-law-info-bar .cli_action_button { order: -1; height: 44px; padding: 0 24px !important; border: 1px solid #111; background: #111 !important; color: #fff !important; transition: background-color .3s, color .3s; }
body.globalweb #cookie-law-info-bar .cli_action_button:hover { background: #fff !important; color: #111 !important; }
body.globalweb #cookie-law-info-bar .cli_settings_button { padding: 0 !important; background: none !important; color: #111 !important; line-height: 1.4 !important; text-decoration: underline; text-underline-offset: .2em; }
body.globalweb #cookie-law-info-again { left: auto !important; right: 24px !important; bottom: 0 !important; padding: 9px 14px !important; border: 1px solid rgba(17, 17, 17, .12); border-bottom: 0; border-radius: 1px 1px 0 0; background: #fff !important; color: #111 !important; box-shadow: none !important; font: 400 13px/1.2 var(--font) !important; }
body.globalweb .cli-modal .cli-modal-content { border-radius: 1px; color: #111; font-family: var(--font); }
body.globalweb .cli-modal .cli-tab-header { border-radius: 1px; background: #f5f5f5; }
body.globalweb .cli-modal .cli-switch input:checked + .cli-slider { background-color: #111; }
body.globalweb .cli-modal #wt-cli-privacy-save-btn { border-radius: 1px; background: #111 !important; color: #fff !important; font: 400 15px/1 var(--font); letter-spacing: 0; text-transform: none; }
@media (max-width: 560px) {
  body.globalweb #cookie-law-info-bar { right: 12px !important; bottom: 12px !important; width: calc(100vw - 24px) !important; padding: 18px 18px 16px !important; }
  body.globalweb #cookie-law-info-again { right: 12px !important; }
}
