/* ANDRARA · versión dinámica (oscura) · sin dependencias externas
   Marca: rosa #F94C7A, tinta #141315, marfil #FFF8F6, rosa claro #F7DDE5 · Lato 400/700/900 alojada. */

@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 900; font-display: swap; src: url("../fonts/lato-latin-900.woff2") format("woff2"); }

:root {
  --rosa: #F94C7A; --rosa-claro: #F7DDE5; --tinta: #141315; --tinta-2: #1D1B1F; --tinta-3: #2A272D;
  --marfil: #FFF8F6; --texto: #EDE8EA; --suave: #A8A1AB; --linea: rgba(255, 248, 246, .12);
  --pad: clamp(16px, 4vw, 56px); --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--tinta); color: var(--texto); font-family: var(--font); font-size: 1.05rem; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: .95; letter-spacing: -.035em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--rosa); }
::selection { background: var(--rosa); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 999; background: var(--rosa); color: var(--tinta); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 10px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-xl { width: 42px; height: 42px; }
.flip { transform: scaleX(-1); }

/* Grano de película */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } }

/* Precarga */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--rosa); display: grid; place-items: center; align-content: center; gap: 24px; color: var(--tinta); transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.pre-amp { font-weight: 900; font-size: clamp(120px, 22vw, 260px); line-height: .8; animation: amp 1s var(--ease) both; }
.pre-bar { width: 160px; height: 3px; background: rgba(20, 19, 21, .2); overflow: hidden; border-radius: 3px; }
.pre-bar span { display: block; height: 100%; background: var(--tinta); animation: bar .9s var(--ease-io) forwards; transform-origin: left; }
@keyframes amp { from { transform: translateY(40px) rotate(-12deg); opacity: 0; } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loaded .preloader { clip-path: inset(0 0 100% 0); }
.no-js .preloader { display: none; }

/* Cursor personalizado (solo puntero fino) */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--rosa); pointer-events: none; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s; display: none; }
.has-cursor .cursor { display: grid; place-items: center; }
.cursor-label { font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta); opacity: 0; transition: opacity .2s; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* Cabecera */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); transition: transform .5s var(--ease), background .4s; }
.hdr.is-scrolled { background: rgba(20, 19, 21, .72); backdrop-filter: blur(14px) saturate(1.3); }
.hdr.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-tile { display: grid; place-items: center; width: 48px; height: 48px; padding: 6px; background: var(--rosa); border-radius: 12px; transition: transform .6s var(--ease); }
.brand:hover .brand-tile { transform: rotate(-8deg) scale(1.06); }
.brand-tile.big { width: 200px; height: auto; padding: 22px; border-radius: var(--r); }
.brand-word { font-weight: 900; letter-spacing: .2em; font-size: 1.05rem; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 900; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.pill-pink { background: var(--rosa); color: var(--tinta); }
.menu-btn { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px 0 18px; border: 1px solid var(--linea); border-radius: 999px; font-weight: 900; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.burger { width: 30px; height: 30px; display: grid; align-content: center; gap: 5px; border-radius: 50%; background: var(--marfil); padding: 0 8px; }
.burger i { height: 2px; background: var(--tinta); transition: transform .4s var(--ease); }
.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 560px) { .brand-word, .menu-txt { display: none; } .hdr-right .pill { display: none; } }

/* Menú a pantalla completa */
.menu { position: fixed; inset: 0; z-index: 95; background: var(--rosa); color: var(--tinta); display: flex; flex-direction: column; justify-content: center; padding: 110px var(--pad) 40px; clip-path: circle(0% at calc(100% - 60px) 40px); transition: clip-path .8s var(--ease-io); }
.menu.is-open { clip-path: circle(150% at calc(100% - 60px) 40px); }
.menu-list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-list li { overflow: hidden; counter-increment: m; }
.menu-list a { display: inline-flex; align-items: baseline; gap: .3em; font-weight: 900; font-size: clamp(2.6rem, 9vw, 7.5rem); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; transform: translateY(105%); transition: transform .8s var(--ease), color .2s; }
.menu-list a::before { content: "0" counter(m); font-size: .9rem; letter-spacing: .1em; }
.menu.is-open .menu-list a { transform: none; }
.menu-list li:nth-child(2) a { transition-delay: .05s; } .menu-list li:nth-child(3) a { transition-delay: .1s; } .menu-list li:nth-child(4) a { transition-delay: .15s; } .menu-list li:nth-child(5) a { transition-delay: .2s; } .menu-list li:nth-child(6) a { transition-delay: .25s; }
.menu-list a:hover { color: var(--marfil); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-weight: 700; }
.menu-foot a { border-bottom: 2px solid currentColor; }

/* Botones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 900; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn-pink { background: var(--rosa); color: var(--tinta); }
.btn-pink::before { background: var(--marfil); }
.btn-line { border: 1.5px solid var(--marfil); color: var(--marfil); }
.btn-line::before { background: var(--marfil); }
.btn-line:hover { color: var(--tinta); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .75rem; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.magnetic { will-change: transform; transition: transform .4s var(--ease), color .4s var(--ease); }

/* Tipografía de sección */
.h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); text-transform: uppercase; }
.eyebrow, .kicker { font-size: .8rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; padding: 0 var(--pad); margin-bottom: clamp(32px, 5vw, 64px); }
.sec-sub { max-width: 40ch; color: var(--suave); font-size: 1.15rem; margin: 0; }
section { position: relative; }

/* Aparición al entrar en pantalla */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* HERO */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--pad) 48px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -25vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(249, 76, 122, .35), transparent 62%); filter: blur(40px); animation: blob 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes blob { to { transform: translate(-12vw, 18vw) scale(1.2); } }
.kicker { margin-bottom: 24px; }
.hero-title { font-size: clamp(3.4rem, 13.5vw, 13rem); line-height: .86; text-transform: uppercase; letter-spacing: -.05em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.loaded .hero-title .line > span, .no-js .hero-title .line > span { transform: none; }
.rotator { position: relative; display: inline-grid; vertical-align: top; }
.rot-word { grid-area: 1 / 1; white-space: nowrap; color: var(--rosa); opacity: 0; transform: translateY(60%) rotateX(-70deg); transform-origin: 50% 100%; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.rot-word.is-on { opacity: 1; transform: none; }
.rot-word.is-out { opacity: 0; transform: translateY(-60%) rotateX(70deg); }
@media (max-width: 760px) { .rot-word { white-space: normal; } .rotator { display: inline-grid; width: 100%; } }
.hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(28px, 4vw, 56px); }
.hero-lead { max-width: 44ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--texto); margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { position: absolute; right: var(--pad); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--suave); }
.scroll-hint i { width: 1px; height: 70px; background: linear-gradient(var(--rosa), transparent); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) { .scroll-hint { display: none; } }

/* SHOWREEL que crece con el scroll (--p de 0 a 1 lo pone el JS) */
.reel { --p: 0; height: 180vh; }
.reel-frame { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.reel-video { width: 100%; height: 100%; object-fit: cover; clip-path: inset(calc((1 - var(--p)) * 22%) calc((1 - var(--p)) * 30%) round calc((1 - var(--p)) * 40px)); transform: scale(calc(1.25 - var(--p) * .25)); filter: saturate(calc(.6 + var(--p) * .5)); }
.reel-badge { position: absolute; width: clamp(120px, 14vw, 190px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; color: var(--marfil); opacity: calc(1 - var(--p) * 1.6); pointer-events: none; }
.reel-badge svg { position: absolute; inset: 0; width: 100%; animation: spin 14s linear infinite; }
.reel-badge text { fill: currentColor; font-size: 15px; font-weight: 900; letter-spacing: 3.2px; }
.reel-badge span { font-size: 3rem; font-weight: 900; color: var(--rosa); }
@keyframes spin { to { transform: rotate(360deg); } }
.reel-caption { position: absolute; left: var(--pad); bottom: 28px; margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; opacity: var(--p); }
.reel-caption span { color: var(--rosa); }

/* Cinta en movimiento (--v velocidad, la acelera el scroll) */
.marquee { overflow: hidden; padding: 22px 0; transform: rotate(-2deg) scale(1.04); margin: 40px 0; }
.marquee-pink { background: var(--rosa); color: var(--tinta); }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 30s linear infinite; font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.marquee-track b { font-size: .9em; color: var(--marfil); -webkit-text-stroke: 2px var(--tinta); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* MANIFIESTO: las palabras se encienden con el scroll */
.manifesto { padding: clamp(100px, 16vw, 220px) var(--pad); max-width: 1500px; }
.manifesto-text { font-size: clamp(2rem, 4.8vw, 4.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; margin: 24px 0 48px; }
.manifesto-text .w { color: rgba(237, 232, 234, .14); transition: color .4s; }
.manifesto-text .w.on { color: var(--marfil); }
.manifesto-text .w.on:nth-child(n+16):nth-child(-n+23) { color: var(--rosa); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.15rem; border-bottom: 2px solid var(--rosa); padding-bottom: 6px; }
.link-arrow:hover .ico { transform: translateX(6px); }
.link-arrow .ico { transition: transform .4s var(--ease); }

/* CARRIL DE TRABAJO arrastrable */
.work { padding: clamp(60px, 10vw, 140px) 0; }
.rail-ctrl { display: flex; align-items: center; gap: 10px; }
.rail-hint { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); margin-right: 8px; }
.rail-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--linea); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.rail-btn:hover { background: var(--rosa); color: var(--tinta); border-color: var(--rosa); }
.rail { display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; padding: 10px var(--pad) 30px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.work-card { flex: none; scroll-snap-align: start; }
.work-tall, .work-web { width: clamp(220px, 24vw, 330px); }
.work-wide { width: clamp(300px, 46vw, 640px); }
.work-media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--tinta-3); }
.work-tall .work-media, .work-web .work-media { aspect-ratio: 9 / 16; }
.work-wide .work-media { aspect-ratio: 9 / 16; }
@media (min-width: 701px) { .work-wide .work-media { aspect-ratio: auto; height: calc(clamp(220px, 24vw, 330px) * 16 / 9); } }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.35) brightness(.9); }
.work-card:hover .work-media img { transform: scale(1); filter: none; }
.work-media .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 28px 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; background: radial-gradient(120% 80% at 20% 10%, var(--rosa), #8E2347 45%, var(--tinta) 100%); }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--rosa); color: var(--tinta); display: grid; place-items: center; transform: scale(.85); transition: transform .5s var(--ease); }
.play .ico { width: 28px; height: 28px; margin-left: 4px; }
.work-card:hover .play { transform: scale(1.08); }
.work-meta { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding-top: 14px; }
.work-n { grid-row: span 2; font-size: .8rem; font-weight: 900; color: var(--rosa); padding-top: 4px; }
.work-meta h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; }
.work-meta p { margin: 0; color: var(--suave); font-size: .9rem; }
.work-card iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--r); background: #000; }
.work-wide iframe { aspect-ratio: 16 / 9; }
.note { padding: 0 var(--pad); color: var(--suave); font-size: .85rem; max-width: 80ch; }

/* SERVICIOS: lista gigante con imagen que sigue al cursor */
.services { padding: clamp(60px, 10vw, 140px) 0; }
.srv-list { list-style: none; margin: 0; padding: 0 var(--pad); border-top: 1px solid var(--linea); }
.srv { border-bottom: 1px solid var(--linea); }
.srv a { position: relative; display: grid; grid-template-columns: 70px 1fr minmax(0, 32ch) 40px; align-items: center; gap: 24px; padding: clamp(18px, 2.4vw, 30px) 0; overflow: hidden; }
.srv a::before { content: ""; position: absolute; inset: 0; background: var(--rosa); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.srv a:hover::before, .srv a:focus-visible::before { transform: scaleY(1); }
.srv a:hover, .srv a:focus-visible { color: var(--tinta); }
.srv-n { font-weight: 900; font-size: .85rem; color: var(--rosa); transition: color .3s; padding-left: 8px; }
.srv a:hover .srv-n { color: var(--tinta); }
.srv-name { font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; font-size: clamp(1.6rem, 3.4vw, 3rem); transition: transform .6s var(--ease); }
.srv-core .srv-name { font-size: clamp(2.2rem, 5.6vw, 5.4rem); }
.srv a:hover .srv-name { transform: translateX(18px); }
.srv-desc { color: var(--suave); font-size: .98rem; transition: color .3s; }
.srv a:hover .srv-desc { color: var(--tinta); }
.srv-arrow { width: 32px; height: 32px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.srv a:hover .srv-arrow { transform: none; }
@media (max-width: 860px) { .srv a { grid-template-columns: 40px 1fr 28px; } .srv-desc { grid-column: 2; grid-row: 2; } .srv-arrow { grid-column: 3; grid-row: 1; } }
.srv-float { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 5; pointer-events: none; border-radius: var(--r); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .6s var(--ease); }
.srv-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.srv-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .srv-float { display: none; } }

/* MÉTODO: tarjetas apiladas con sticky */
.method { padding: clamp(60px, 10vw, 140px) 0; }
.stack { padding: 0 var(--pad); display: grid; gap: 30px; }
.stack-card { position: sticky; top: calc(100px + var(--k, 0) * 26px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; min-height: 56vh; padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--r) * 1.4); box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); }
.stack-card.c1 { --k: 0; background: var(--marfil); color: var(--tinta); }
.stack-card.c2 { --k: 1; background: var(--rosa); color: var(--tinta); }
.stack-card.c3 { --k: 2; background: var(--tinta-3); color: var(--marfil); }
.stack-n { font-weight: 900; font-size: clamp(5rem, 16vw, 15rem); line-height: .8; letter-spacing: -.06em; }
.stack-card.c1 .stack-n { color: var(--rosa); }
.stack-card.c3 .stack-n { color: var(--rosa); }
.stack-card h3 { font-size: clamp(2.4rem, 6vw, 5.5rem); text-transform: uppercase; margin-bottom: 18px; }
.stack-card p { font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 46ch; margin: 0; }
@media (max-width: 700px) { .stack-card { grid-template-columns: 1fr; min-height: 60vh; align-content: end; } }

/* GALERÍA en columnas con parallax (--y la pone el JS) */
.gallery { padding: clamp(60px, 10vw, 140px) var(--pad); overflow: hidden; }
.gallery-title { position: relative; z-index: 2; mix-blend-mode: difference; text-align: center; margin-bottom: -6vw; pointer-events: none; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 26px); }
.col { display: grid; gap: clamp(10px, 2vw, 26px); transform: translateY(var(--y, 0px)); will-change: transform; }
.col:nth-child(2) { margin-top: 12vw; }
.col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); filter: grayscale(1) contrast(1.1); transition: filter .8s var(--ease); }
.col img:hover { filter: none; }

/* CLIENTES en órbita */
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(60px, 10vw, 140px) var(--pad); }
.orbit { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.orbit ul { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; animation: spin 50s linear infinite; }
.orbit li { --n: 12; position: absolute; left: 50%; top: 50%; padding: 10px 16px; border-radius: 999px; font-weight: 900; font-size: clamp(.7rem, 1.1vw, .95rem); white-space: nowrap; background: var(--tinta-3); border: 1px solid var(--linea); transform: rotate(calc(var(--i) * 360deg / var(--n))) translateY(calc(-1 * min(42vw, 230px))) rotate(calc(var(--i) * -360deg / var(--n))); translate: -50% -50%; }
.orbit li:nth-child(3n) { background: var(--rosa); color: var(--tinta); border-color: var(--rosa); }
.orbit li:nth-child(3n+1) { background: var(--marfil); color: var(--tinta); }
.orbit-amp { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: clamp(6rem, 14vw, 12rem); color: var(--rosa); line-height: 1; }
.clients-copy p { color: var(--suave); font-size: 1.1rem; max-width: 46ch; margin-top: 24px; }
.client-list { display: none; }
@media (max-width: 860px) { .clients { grid-template-columns: 1fr; } .orbit { display: none; } .client-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; } .client-list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linea); font-weight: 700; font-size: .9rem; } }

/* EQUIPO */
.team { padding: clamp(60px, 10vw, 140px) 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); padding: 0 var(--pad); }
.member { position: relative; }
.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); filter: grayscale(1); transition: filter .7s var(--ease), border-radius .7s var(--ease); }
.member:hover img { filter: none; border-radius: 120px var(--r) var(--r) var(--r); }
.member h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; margin-top: 16px; }
.member p { color: var(--suave); margin: 6px 0 0; }
.member:nth-child(even) { margin-top: 60px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .member:nth-child(even) { margin-top: 40px; } }

/* CONVERSIÓN */
.convert { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); padding: clamp(80px, 12vw, 160px) var(--pad); background: linear-gradient(180deg, var(--tinta) 0%, var(--tinta-2) 100%); }
@media (max-width: 960px) { .convert { grid-template-columns: 1fr; } }
.convert .h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); margin: 18px 0 40px; }
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--linea); }
.steps b { font-size: 1.6rem; color: var(--rosa); line-height: 1.2; }
.steps strong { color: var(--marfil); }
.steps span { color: var(--suave); }
.wa-card { display: inline-flex; align-items: center; gap: 16px; padding: 18px 26px 18px 20px; border-radius: var(--r); background: #1F3B2A; color: #E6FBEF; border: 1px solid rgba(37, 211, 102, .4); }
.wa-card .ico { color: #25D366; }
.wa-card small { display: block; color: #B7D9C4; font-size: .85rem; }
.form { position: relative; display: grid; gap: 18px; background: var(--marfil); color: var(--tinta); border-radius: calc(var(--r) * 1.3); padding: clamp(22px, 4vw, 44px); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.form::before { content: "&"; position: absolute; right: -14px; top: -48px; font-weight: 900; font-size: 7rem; line-height: 1; color: var(--rosa); transform: rotate(10deg); }
.field { position: relative; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--tinta); background: transparent; border: 0; border-bottom: 2px solid #CDC5C8; padding: 22px 2px 8px; min-height: 56px; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 96px; }
.field label { position: absolute; left: 2px; top: 18px; color: #6A666D; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rosa); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-16px) scale(.78); color: var(--tinta); font-weight: 700; }
.err { display: none; margin: 6px 0 0; color: #A3123A; font-weight: 700; font-size: .85rem; }
.invalid .err { display: block; }
.invalid input, .invalid textarea { border-color: #A3123A; }
.chips { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.chips legend small { font-weight: 400; opacity: .7; margin-left: 6px; font-size: .85em; }
.chip-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px dashed var(--tinta); background: none; color: inherit; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .25s, color .25s; }
.chip-more:hover { background: var(--tinta); color: var(--marfil); }
.chip-more:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; }
.chip-more b { font-size: 1.15em; line-height: 1; }
.chip-more[hidden] { display: none; }
.chips-more:not([hidden]) { display: contents; }
.chips-more label { animation: chip-in .35s cubic-bezier(.2,.7,.2,1) both; }
.chips-more label:nth-child(2) { animation-delay: .04s; } .chips-more label:nth-child(3) { animation-delay: .08s; }
.chips-more label:nth-child(4) { animation-delay: .12s; } .chips-more label:nth-child(5) { animation-delay: .16s; }
.chips-more label:nth-child(6) { animation-delay: .2s; } .chips-more label:nth-child(7) { animation-delay: .24s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chips-more label { animation: none; } }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--tinta); font-weight: 700; font-size: .9rem; transition: background .25s, color .25s; }
.chips input:checked + span { background: var(--tinta); color: var(--marfil); }
.chips input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--rosa); }
.check a { text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: 2px; }
.check .err { grid-column: 2; }
.legal { font-size: .76rem; color: #6A666D; line-height: 1.5; margin: 0; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.form-status.err-box { background: #FDE4EA; color: #8A0F31; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-pink::before { background: var(--tinta); }
.form .btn-pink:hover { color: var(--marfil); }

/* FAQ */
.faq { padding: clamp(60px, 10vw, 140px) 0; }
.faq-list { padding: 0 var(--pad); max-width: 1100px; }
.faq-item { border-top: 1px solid var(--linea); }
.faq-item:last-child { border-bottom: 1px solid var(--linea); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(1.2rem, 2.2vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; transition: color .3s; }
.faq-item summary:hover h3 { color: var(--rosa); }
.pm { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--linea); transition: background .3s, transform .5s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm { background: var(--rosa); color: var(--tinta); transform: rotate(180deg); }
.faq-item[open] .pm::after { transform: rotate(0); }
.faq-item p { color: var(--suave); font-size: 1.1rem; max-width: 70ch; padding-bottom: 26px; margin: 0; animation: fadeup .5s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(-8px); } }

/* PIE con palabra gigante */
.ftr { padding: clamp(40px, 8vw, 100px) var(--pad) 110px; border-top: 1px solid var(--linea); overflow: hidden; }
.ftr-giant { position: relative; display: block; font-weight: 900; text-transform: uppercase; letter-spacing: -.06em; line-height: .82; font-size: clamp(4rem, 19vw, 22rem); margin-bottom: clamp(40px, 6vw, 80px); color: transparent; -webkit-text-stroke: 2px var(--marfil); }
.ftr-giant span:last-child { position: absolute; inset: 0; color: var(--rosa); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease-io); }
.ftr-giant:hover span:last-child, .ftr-giant:focus-visible span:last-child { clip-path: inset(0 0 0 0); }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.ftr-grid > div { display: flex; flex-direction: column; gap: 8px; }
.ftr-grid a { width: fit-content; background: linear-gradient(var(--rosa), var(--rosa)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.ftr-grid a:hover { background-size: 100% 2px; }
.ftr-grid span { color: var(--suave); }
.ftr-h { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); margin-bottom: 8px; line-height: 1.4; }
.ftr-legal { margin-top: 50px; color: var(--suave); font-size: .82rem; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }

/* Barra fija móvil */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(29, 27, 31, .85); backdrop-filter: blur(12px); border: 1px solid var(--linea); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar.show { transform: none; }
  .mbar .btn { min-height: 48px; padding: 0 12px; font-size: .75rem; }
}

/* Cookies */
.cookie { position: fixed; z-index: 120; left: 16px; bottom: 16px; max-width: 460px; background: var(--marfil); color: var(--tinta); border-radius: var(--r); padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); font-size: .9rem; animation: fadeup .6s var(--ease); }
.cookie a { text-decoration: underline; text-decoration-color: var(--rosa); }
.cookie-pref { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; font-weight: 700; }
.cookie-pref input { width: 20px; height: 20px; accent-color: var(--rosa); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn-line { border-color: var(--tinta); color: var(--tinta); }
.cookie .btn-line::before { background: var(--tinta); }
.cookie .btn-line:hover { color: var(--marfil); }
@media (max-width: 760px) { .cookie { left: 10px; right: 10px; bottom: 76px; } }

/* Página de gracias */
.thanks-main { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 40px var(--pad); max-width: 900px; margin: 0 auto; gap: 18px; }
.thanks-amp { font-weight: 900; font-size: clamp(8rem, 26vw, 16rem); line-height: .8; color: var(--rosa); margin: 0; animation: amp 1s var(--ease) both; }
.thanks-main p { color: var(--suave); font-size: 1.15rem; }
.thanks-main .hero-ctas { justify-content: center; }

/* Movimiento reducido: todo estático y legible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .preloader, .grain { display: none; }
  .reel { height: auto; } .reel-frame { position: relative; height: 70vh; } .reel-video { clip-path: none; transform: none; filter: none; }
  .manifesto-text .w { color: var(--marfil); }
  .col { transform: none; }
}

/* Modo capturas de QA (?qa): sin precarga ni transiciones */
.qa .preloader, .qa .cookie { display: none !important; }
.qa *, .qa *::before, .qa *::after { transition: none !important; }
.qa .reveal { opacity: 1 !important; transform: none !important; }

/* ── Portada con vídeo de fondo (como andrara.com) ── */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.1) contrast(1.05); transform: scale(calc(1 + var(--hp, 0) * .15)); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 90% at 85% 10%, rgba(249, 76, 122, .38), transparent 55%),
  linear-gradient(180deg, rgba(20, 19, 21, .55) 0%, rgba(20, 19, 21, .35) 35%, rgba(20, 19, 21, .92) 100%); }
.hero { isolation: isolate; }
.hero::before { z-index: -1; }
.hero-title { text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }

/* ── Foto a sangre que se expande con el scroll ── */
.reel-media { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p)) * 18%) calc((1 - var(--p)) * 26%) round calc((1 - var(--p)) * 40px)); }
.reel-media picture, .reel-img { width: 100%; height: 100%; }
.reel-img { object-fit: cover; transform: scale(calc(1.3 - var(--p) * .3)); }
.reel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 21, .85) 0%, rgba(20, 19, 21, .25) 60%, transparent); opacity: var(--p); }
.reel-copy { position: absolute; left: var(--pad); bottom: clamp(40px, 10vh, 110px); max-width: 760px; opacity: clamp(0, calc((var(--p) - .55) * 3), 1); transform: translateY(calc((1 - var(--p)) * 60px)); }
.reel-title { font-size: clamp(2.6rem, 7vw, 6.6rem); text-transform: uppercase; margin: 14px 0 22px; }
.reel-copy p:last-child { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 52ch; color: var(--texto); }

/* ── Bloque a sangre con parallax ── */
.bleed { position: relative; min-height: 110vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.bleed-bg { position: absolute; inset: -12% 0; z-index: -1; transform: translateY(var(--py, 0px)); }
.bleed-bg picture, .bleed-bg img { width: 100%; height: 100%; object-fit: cover; }
.bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 19, 21, .92) 0%, rgba(20, 19, 21, .6) 55%, rgba(20, 19, 21, .2)); }
.bleed-copy { padding: 0 var(--pad); max-width: 980px; }
.bleed-copy .h2 { margin: 16px 0 24px; }
.bleed-copy p { font-size: 1.2rem; max-width: 50ch; }

/* ── Conversión con fondo neón ── */
.convert { position: relative; isolation: isolate; overflow: hidden; }
.convert-bg { position: absolute; inset: 0; z-index: -1; opacity: .28; }
.convert-bg picture, .convert-bg img { width: 100%; height: 100%; object-fit: cover; }
.convert::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--tinta), rgba(20, 19, 21, .6) 40%, var(--tinta)); }

/* ── Órbita: el texto se mantiene derecho mientras gira ── */
.orbit li { padding: 0; background: none !important; border: 0 !important; }
.orbit li span { display: block; padding: 10px 16px; border-radius: 999px; background: var(--tinta-3); border: 1px solid var(--linea); animation: spin 50s linear infinite reverse; }
.orbit li:nth-child(3n) span { background: var(--rosa); color: var(--tinta); border-color: var(--rosa); }
.orbit li:nth-child(3n+1) span { background: var(--marfil); color: var(--tinta); }
@media (prefers-reduced-motion: reduce) { .hero-bg { display: none; } .reel-copy { opacity: 1; transform: none; } .reel-media { clip-path: none; } }

/* Ajustes tras QA */
.orbit { width: 520px; max-width: 100%; }
.orbit li { transform: rotate(calc(var(--i) * 360deg / var(--n))) translateY(-205px) rotate(calc(var(--i) * -360deg / var(--n))); }
.gallery-title { mix-blend-mode: normal; }
.gallery-title .h2 { text-shadow: 0 8px 40px rgba(20, 19, 21, .9); }
@media (max-width: 760px) { .cookie { padding: 14px; font-size: .8rem; } .cookie p { margin-bottom: 10px; } .cookie-actions .btn { min-height: 40px; padding: 0 12px; } }
/* Servicios en pantallas táctiles: miniatura fija (no hay cursor que la muestre) */
.srv-thumb { display: none; }
@media (hover: none) {
  .srv a { grid-template-columns: 30px 64px 1fr 24px; gap: 14px; }
  .srv-thumb { display: block; grid-row: span 2; width: 64px; height: 80px; object-fit: cover; border-radius: 12px; }
  .srv-name { grid-column: 3; } .srv-desc { grid-column: 3; grid-row: 2; } .srv-arrow { grid-column: 4; grid-row: 1; width: 22px; height: 22px; }
}

/* Integración en andrara.com */
.hero-title .kicker { display: block; line-height: 1.4; margin-bottom: 24px; text-shadow: none; }
.ftr-grid { grid-template-columns: 1.2fr repeat(4, 1fr); }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
.note .link-arrow { color: var(--marfil); font-size: 1rem; }

/* La cinta inclinada no debe crear desplazamiento horizontal (clip no rompe position: sticky) */
main { overflow-x: clip; }

/* ── RESULTADOS DE CLIENTES (dossier 2026): cifra de antes tachada → cifra de ahora ── */
.results { padding: clamp(60px, 10vw, 140px) 0; }
.results-wrap { padding: 0 var(--pad); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 1100px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }
.case { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 38px); border-radius: var(--r); border: 1px solid var(--linea); background: rgba(255, 248, 246, .025); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .6s var(--ease); }
.case::after { content: "&"; position: absolute; right: -10px; bottom: -40px; z-index: -1; font-weight: 900; font-size: 11rem; line-height: 1; color: rgba(249, 76, 122, .06); transition: color .5s, transform .8s var(--ease); }
.case:hover { border-color: var(--rosa); transform: translateY(-6px); }
.case:hover::after { color: rgba(249, 76, 122, .16); transform: rotate(-12deg) scale(1.1); }
.case-sector { margin: 0 0 18px; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.case-sector span { color: var(--rosa); margin-right: 6px; }
.case-name { margin: 0 0 22px; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.case-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 0; line-height: .85; }
.case-was { font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--suave); text-decoration-thickness: 4px; text-decoration-color: var(--rosa); opacity: .7; }
.case-fig strong { font-weight: 900; font-size: clamp(3.6rem, 6.4vw, 6rem); letter-spacing: -.05em; color: var(--rosa); }
.case-what { margin: 12px 0 18px; font-weight: 900; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marfil); }
.case-ctx { color: var(--suave); font-size: .98rem; margin: 0 0 18px; }
.case-extra { margin: auto 0 18px; padding-top: 16px; border-top: 1px solid var(--linea); font-size: .92rem; color: var(--texto); }
.case-extra b { color: var(--rosa); font-weight: 900; margin-right: 4px; }
.case-ig { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 900; font-size: .9rem; border-bottom: 2px solid var(--rosa); padding-bottom: 3px; }
.case-ig .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.case-ig:hover .ico { transform: translate(3px, -3px); }
.more-cases { list-style: none; margin: clamp(30px, 4vw, 56px) 0 0; padding: 0; border-top: 1px solid var(--linea); }
.more-cases li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 8px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--linea); transition: background .4s; }
.more-cases li:hover { background: linear-gradient(90deg, rgba(249, 76, 122, .08), transparent 70%); }
.mc-sector { grid-column: 1 / -1; font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.mc-name { font-weight: 900; font-size: clamp(1.2rem, 1.8vw, 1.6rem); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.mc-res { font-weight: 900; color: var(--rosa); line-height: 1.2; }
.mc-ctx { color: var(--suave); font-size: .95rem; }
@media (max-width: 900px) { .more-cases li { grid-template-columns: 1fr; gap: 6px; } }
.cases-note { margin: 24px 0 0; color: var(--suave); font-size: .82rem; max-width: 90ch; }

/* Titular de la portada: la palabra larga («no pasa desapercibido.») no debe salirse en pantallas grandes */
.hero-title { font-size: clamp(3.4rem, 11.5vw, 11rem); }
.rotator { max-width: 100%; }
.rot-word { white-space: normal; }

/* Menú a pantalla completa: la letra se adapta también a la altura y, si no cabe, se desplaza */
.menu { overflow-y: auto; justify-content: safe center; }
.menu-list a { font-size: min(clamp(2.6rem, 9vw, 7.5rem), 11vh); align-items: center; }
.menu-list a::before { align-self: center; }
@media (max-height: 560px) { .menu { padding-top: 90px; } .menu-foot { margin-top: 20px; } }
/* Con el menú abierto (fondo rosa), el botón y el logo pasan a oscuro para que se distingan */
.menu-open .hdr .pill-pink { background: var(--tinta); color: var(--marfil); }
.menu-open .hdr .brand-tile { background: var(--tinta); }
.menu-open .hdr .brand-word { color: var(--tinta); }

/* Configurar cookies (desde el pie): panel centrado y fondo oscurecido para que se vea claramente */
.cookie.is-settings { left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); max-width: none; box-shadow: 0 0 0 100vmax rgba(10, 9, 11, .7), 0 30px 80px rgba(0, 0, 0, .5); animation: none; }
.cookie.is-settings .cookie-pref { padding: 14px; border-radius: 12px; background: #F7DDE5; }

/* Botón fijo de WhatsApp (ordenador). Aparece tras la cabecera; se oculta sobre el formulario y el pie */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 85; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(30px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); transition: transform .4s var(--ease); }
.wa-float-btn svg { width: 30px; height: 30px; }
.wa-float-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waring 2.6s var(--ease) infinite; }
@keyframes waring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float-label { padding: 10px 16px; border-radius: 999px; background: var(--marfil); color: var(--tinta); font-weight: 900; font-size: .85rem; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .45s var(--ease); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
.wa-float:hover .wa-float-btn { transform: scale(1.08); }
@media (max-width: 760px) { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float-btn::after { animation: none; } }

/* Permiso en el momento: aparece sobre el vídeo al pulsarlo si aún no se han aceptado los vídeos externos */
.video-facade, .work-card .video-facade { position: relative; }
.vc { position: absolute; inset: auto 10px 10px 10px; z-index: 3; display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(20, 19, 21, .92); backdrop-filter: blur(8px); color: var(--marfil); font-size: .85rem; line-height: 1.35; text-align: left; animation: fadeup .4s var(--ease); cursor: default; }
.vc-txt { font-weight: 700; }
.vc-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 900; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.vc-yes { background: var(--rosa); color: var(--tinta); }
.vc-no { border: 1.5px solid var(--marfil); color: var(--marfil); }
.vc-yes:focus-visible, .vc-no:focus-visible { outline: 3px solid var(--marfil); outline-offset: 2px; }


/* «Aceptar» con el mismo ancho que «Rechazar»: solo más margen a los lados (la diferencia de texto es 14,3 px) */
.cookie-actions [data-ck="accept"] { padding-left: calc(18px + 7.15px); padding-right: calc(18px + 7.15px); }
@media (max-width: 760px) { .cookie-actions [data-ck="accept"] { padding-left: calc(12px + 7.15px); padding-right: calc(12px + 7.15px); } }

/* Fotos de los casos (piezas reales del dossier): blanco y negro que se colorea al pasar el ratón */
.case-photo { display: block; margin: calc(-1 * clamp(24px, 2.6vw, 38px)) calc(-1 * clamp(24px, 2.6vw, 38px)) 24px; aspect-ratio: 4 / 3; overflow: hidden; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.05); transform: scale(1.04); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.case:hover .case-photo img { filter: none; transform: scale(1); }
.more-cases li { grid-template-columns: 72px minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.4fr) auto; }
.more-cases li .mc-sector { grid-column: 2 / -1; }
.mc-photo { grid-row: span 2; width: 72px; height: 90px; overflow: hidden; border-radius: 12px; }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease); }
.more-cases li:hover .mc-photo img { filter: none; }
.more-cases li:not(:has(.mc-photo)) .mc-sector { grid-column: 1 / -1; }
@media (max-width: 900px) { .more-cases li { grid-template-columns: 72px 1fr; } .more-cases li .mc-sector, .more-cases li > :not(.mc-photo) { grid-column: 2; } .mc-photo { grid-row: span 4; } }

/* Aviso de cookies con tres finalidades */
.cookie-pref { display: grid; gap: 10px; margin-bottom: 14px; }
.cookie-pref label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: .86rem; line-height: 1.35; cursor: pointer; }
.cookie-pref input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rosa); }
.case-ph { display: grid; place-items: center; background: var(--tinta-3); color: var(--rosa); font-weight: 900; font-size: 2.4rem; border: 1px solid var(--linea); }

/* Aviso de cookies (fondo marfil): «Aceptar» se rellena de tinta al pasar el ratón, igual que el botón del formulario */
.cookie .btn-pink::before { background: var(--tinta); }
.cookie .btn-pink:hover, .cookie .btn-pink:focus-visible { color: var(--marfil); }

/* Trabajo destacado: que se vea que el carril se desliza */
.rail-wrap { position: relative; }
.rail-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 30px; width: clamp(40px, 10vw, 160px); pointer-events: none; background: linear-gradient(90deg, transparent, var(--tinta) 92%); transition: opacity .4s; }
.rail-wrap.at-end::after { opacity: 0; }
.rail-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--marfil); font-weight: 900; }
.rail-hint-arrow { display: inline-block; color: var(--rosa); font-size: 1.2em; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.rail-btn { width: 58px; height: 58px; background: var(--rosa); color: var(--tinta); border-color: var(--rosa); }
.rail-btn:hover { background: var(--marfil); border-color: var(--marfil); }

.rail-foot { display: flex; align-items: center; gap: 18px; padding: 0 var(--pad); margin: -6px 0 26px; }
.rail-progress { flex: 1; height: 3px; background: var(--linea); border-radius: 3px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; background: var(--rosa); transform-origin: left; transform: scaleX(.08); transition: transform .3s var(--ease); }
.rail-count { font-weight: 900; font-size: .85rem; letter-spacing: .1em; color: var(--suave); white-space: nowrap; }
.rail-count b { color: var(--rosa); }
@media (max-width: 560px) { .rail-ctrl .rail-btn { width: 48px; height: 48px; } .rail-hint { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .rail-hint-arrow { animation: none; } }
.rail { scroll-padding-inline: var(--pad); }
.rail.is-nudge { scroll-snap-type: none; }
.rail-wrap::after { z-index: 2; }

/* Trabajo destacado (v2): todo cabe en pantalla (tarjetas según la altura) y aviso «Desliza» sobre los trabajos */
.work { padding-top: clamp(40px, 6vw, 90px); }
.work .sec-head { margin-bottom: clamp(20px, 3vw, 36px); }
.work .h2 { font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.work { --card-h: clamp(280px, 46vh, 520px); }
.work-tall, .work-web { width: calc(var(--card-h) * 9 / 16); }
.work-tall .work-media, .work-web .work-media { aspect-ratio: auto; height: var(--card-h); }
@media (min-width: 701px) { .work-wide .work-media { height: var(--card-h); } }
.work-wide { width: calc(var(--card-h) * 1.25); }
.work-wide .work-media { aspect-ratio: auto; height: var(--card-h); }
.work-card iframe { height: var(--card-h); aspect-ratio: auto; }
.rail-cue { position: absolute; z-index: 3; right: clamp(16px, 3vw, 48px); top: calc(var(--card-h) / 2); transform: translateY(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--marfil); color: var(--tinta); font-weight: 900; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); cursor: pointer; transition: opacity .4s, transform .5s var(--ease); }
.rail-cue svg { width: 26px; height: 26px; color: var(--rosa); animation: swipe 1.8s var(--ease) infinite; }
.rail-cue b { color: var(--rosa); font-size: 1.2em; animation: nudge 1.6s var(--ease) infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(6px) rotate(-6deg); } 50% { transform: translateX(-10px) rotate(4deg); } }
.rail-wrap.used .rail-cue, .rail-wrap.at-end .rail-cue { opacity: 0; transform: translateY(-50%) scale(.8); pointer-events: none; }
.rail-cue:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 560px) { .rail-cue { padding: 12px 16px 12px 12px; font-size: .75rem; } }
@media (prefers-reduced-motion: reduce) { .rail-cue svg, .rail-cue b { animation: none; } }

/* ── EQUIPO (8 personas): qué hace + lo que nadie adivinaría ── */
.member { outline: none; }
.member-photo { position: relative; overflow: hidden; border-radius: var(--r); transition: border-radius .7s var(--ease); }
.member-photo img { border-radius: 0 !important; aspect-ratio: 3 / 4; width: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); transition: filter .7s var(--ease), transform 1s var(--ease); }
.member:hover .member-photo, .member:focus-within .member-photo { border-radius: 120px var(--r) var(--r) var(--r); }
.member:hover .member-photo img, .member:focus-within .member-photo img, .member-full .member-photo img { filter: none; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-fact { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 18px 20px; background: var(--rosa); color: var(--tinta); transform: translateY(101%); transition: transform .55s var(--ease); }
.member:hover .member-fact, .member:focus-within .member-fact { transform: none; }
.mf-k { display: block; margin-bottom: 6px; font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.mf-t { display: block; font-weight: 900; font-size: 1rem; line-height: 1.25; }
.member h3 { margin-top: 16px; }
.member-does { color: var(--suave); margin: 6px 0 0; font-size: .95rem; line-height: 1.45; }
.team-grid { row-gap: clamp(28px, 4vw, 56px); }
/* Página del equipo: lo curioso siempre visible */
.team-full .member:nth-child(even) { margin-top: 0; }
.team-full .member:nth-child(4n+2), .team-full .member:nth-child(4n+4) { margin-top: 60px; }
.member-fact-static { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--linea); }
.member-fact-static .mf-k { color: var(--rosa); }
.member-fact-static .mf-t { color: var(--marfil); font-size: 1.05rem; }
@media (max-width: 860px) { .team-full .member:nth-child(4n+2), .team-full .member:nth-child(4n+4) { margin-top: 0; } .team-full .member:nth-child(even) { margin-top: 40px; } }
/* Móvil: sin ratón, lo curioso se ve siempre en la portada también (bajo lo que hace) */
@media (hover: none) {
  .member-fact { position: static; transform: none; background: none; color: var(--marfil); padding: 10px 0 0; }
  .member-photo .member-fact { display: none; }
  .member-photo img { filter: none; }
}
.member-fact-touch { display: none; }
@media (hover: none) { .member-fact-touch { display: block; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--linea); } .member-fact-touch .mf-k { color: var(--rosa); } .member-fact-touch .mf-t { color: var(--marfil); font-size: .95rem; } }
.member .member-fact { color: var(--tinta); }

/* Portada: texto y botones del hero visibles desde el principio (entrada suave, no espera a la carga completa) */
@keyframes heroslide { from { transform: translateY(18px); } }
.js .hero-lead, .js .hero-ctas, .js .hero .kicker { animation: heroslide .9s var(--ease) both; }   /* sin opacidad: se pinta desde el primer momento */
.js .hero-lead { animation-delay: .15s; } .js .hero-ctas { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) { .js .hero-lead, .js .hero-ctas, .js .hero .kicker { animation: none; } }
