/* =========================================================
   ALDERO MARKETING — v4 · oscuro, editorial y cinematográfico
   ========================================================= */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07080B;
  --bg-2: #0E1015;
  --bg-3: #161922;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F2F2EE;
  --muted: #8F929C;
  --blue: #2D5BFF;
  --blue-hi: #7E9BFF;
  --blue-dark: #1E46E0;
  --white: #FFFFFF;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(18px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* Grano de película */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tipografía display */
.hero__title, .h2, .manifesto__text, .srv__title, .audit__title, .project__title, .next__title, .step__num, .cta__title,
.footer__word, .logo__word, .mobile-menu__links a, .legal h1, .notfound h1, .notfound__code {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-optical-sizing: none; font-variation-settings: "opsz" 72; letter-spacing: .005em;
}
.hl, .manifesto__text em { font-style: normal; color: var(--blue); }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker--light { color: rgba(255, 255, 255, .75); }
.h2 { font-stretch: 78%; font-size: clamp(42px, 7vw, 112px); line-height: .9; max-width: 14ch; }
.section-top { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 90px); }

/* Máscara de líneas (SplitText) */
.split-line { overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }

/* Botones */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 15.5px; line-height: 1.2; white-space: nowrap; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }
.btn--xl { --h: 62px; padding: 0 30px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue::before { background: var(--white); }
.btn--blue:hover { color: var(--bg); box-shadow: 0 16px 40px -14px rgba(45, 91, 255, .7); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--white { background: var(--white); color: var(--bg); }
.btn--white::before { background: var(--bg); }
.btn--white:hover { color: var(--white); }
.btn--white .btn__wa { color: var(--blue); }
.btn__wa { width: 20px; height: 20px; flex: none; }
.btn__arrow { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--down { transform: translateY(3px); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .45s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { max-width: var(--max); margin: 0 auto; height: var(--nav-h); padding-inline: var(--pad); display: flex; align-items: center; gap: 24px; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(7, 8, 11, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.nav.is-scrolled::before, .nav.is-open::before { opacity: 1; }
.nav__inner > * { position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo__mark { width: 28px; height: 28px; }
.logo__bar { fill: var(--blue); transform-origin: 10px 19px; transition: transform .4s var(--ease); }
.logo:hover .logo__bar { transform: scaleX(1.15); }
.logo__word { font-stretch: 82%; font-size: 24px; line-height: 1; }
.logo__sub { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 6px; line-height: 1; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; font-size: 14.5px; color: var(--muted); padding: 8px 12px; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--blue-hi); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-short { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.nav__toggle-lines { position: relative; width: 18px; height: 10px; display: block; }
.nav__toggle-lines i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle-lines i:first-child { top: 0; }
.nav__toggle-lines i:last-child { top: 8px; }
.nav.is-open .nav__toggle-lines i:first-child { top: 4px; transform: rotate(45deg); }
.nav.is-open .nav__toggle-lines i:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--pad) 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-stretch: 78%; font-size: clamp(36px, 11vw, 58px); line-height: 1; }
.mobile-menu__links a span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--blue-hi); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) 0 clamp(40px, 6vh, 80px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -25vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(45, 91, 255, .28), rgba(45, 91, 255, 0) 60%); filter: blur(10px); }
.hero__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero__title { margin-top: clamp(24px, 4vh, 48px); font-stretch: 76%; font-size: clamp(54px, 9.4vw, 150px); line-height: .86; letter-spacing: -.005em; will-change: transform; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero__title .line__in { display: inline-block; }
.hero__pill { display: inline-flex; align-items: center; gap: .18em; vertical-align: middle; height: .72em; padding: 0 .22em 0 .14em; margin-left: .1em; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); transform: translateY(-.06em); }
.hero__pill-rank { font-family: var(--mono); font-weight: 500; font-size: .28em; color: var(--blue-hi); min-width: 2.4ch; text-align: center; letter-spacing: 0; }
.hero__pill-bar { position: relative; width: 1.6em; height: .14em; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.hero__pill-bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(.2); }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(28px, 5vh, 60px); }
.hero__lead { font-size: clamp(18px, 1.5vw, 22px); color: #C9CBD2; max-width: 30em; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__audit { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; transition: border-color .2s, background-color .2s; }
.hero__audit-tag { padding: 6px 11px; border-radius: 999px; background: var(--blue); color: var(--white); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hero__audit:hover { border-color: var(--blue-hi); background: rgba(45, 91, 255, .08); }
.hero__audit:hover .btn__arrow { transform: translateX(4px); }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--line-2); border-radius: 12px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--blue-hi); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* Estados iniciales de la entrada (solo con JS y animaciones permitidas) */
.anim [data-hero-line] { transform: translateY(108%); }
.anim [data-hero-fade] { opacity: 0; transform: translateY(16px); }
.anim .hero__visual { opacity: 0; transform: translateY(40px) scale(.96); }
.anim-fallback [data-hero-line], .anim-fallback [data-hero-fade], .anim-fallback .hero__visual { opacity: 1 !important; transform: none !important; }

/* Visual SERP */
.hero__visual { position: relative; padding-bottom: 48px; will-change: transform; }
.serp { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-2); border-radius: 22px; padding: 16px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(45, 91, 255, .06); }
.serp__bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.serp__bar svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.serp__query { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp__caret { width: 2px; height: 16px; background: var(--blue-hi); flex: none; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.serp__body { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin-top: 12px; }
.serp__pos { display: grid; grid-auto-rows: 50px; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.serp__pos li { display: grid; place-items: center; }
.serp__pos li:first-child { color: var(--blue-hi); }
.serp__list { display: grid; grid-auto-rows: 50px; gap: 6px; }
.serp__item { position: relative; display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; row-gap: 6px; align-content: center; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); will-change: transform; }
.fav { grid-row: span 2; align-self: center; width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.sk { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); width: 70%; }
.sk--u { height: 5px; width: 42%; background: rgba(255, 255, 255, .06); }
.sk--w2 { width: 56%; } .sk--w3 { width: 82%; }
.serp__item--you { background: var(--blue); border-color: var(--blue); z-index: 2; }
.serp__item--you b { font-weight: 600; font-size: 14px; line-height: 1; }
.serp__item--you small { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .8); line-height: 1; }
.fav--you { background: var(--white); }
.serp__item--you.is-top { box-shadow: 0 14px 34px -10px rgba(45, 91, 255, .85); }
.msg { position: absolute; right: -14px; bottom: 0; width: min(270px, 78%); padding: 14px 16px; border-radius: 16px; background: rgba(22, 25, 34, .92); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.msg.is-visible { opacity: 1; transform: none; }
.msg__label { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.msg p { margin-top: 8px; font-size: 14px; line-height: 1.4; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #6FE39A; box-shadow: 0 0 0 0 rgba(111, 227, 154, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }

/* ---------- Cinta ---------- */
.marquee { border-block: 1px solid var(--line); padding: clamp(14px, 2vw, 26px) 0; overflow: hidden; }
.marquee__row { display: flex; }
.marquee__track { display: flex; flex: none; animation: marquee 30s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px); white-space: nowrap; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 78%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(34px, 5vw, 80px); line-height: 1; color: #2B2E37; }
.marquee__track span:nth-child(odd) { color: var(--text); }
.marquee__track span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 240px) 0 clamp(90px, 12vw, 180px); }
.manifesto__text { margin-top: 28px; font-stretch: 78%; font-size: clamp(44px, 8vw, 132px); line-height: .92; max-width: 16ch; }
.manifesto__text .word { display: inline-block; }
.manifesto__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.manifesto__points li { display: flex; align-items: center; gap: 16px; padding: 26px 24px 26px 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; }
.manifesto__points li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.manifesto__points span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--blue-hi); }
.manifesto__points li:last-child span { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- Servicios ---------- */
.services { position: relative; padding: clamp(80px, 10vw, 160px) 0; background: var(--bg-2); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.srv { border-top: 1px solid var(--line-2); }
.srv__row { border-bottom: 1px solid var(--line-2); }
.srv__link {
  position: relative; display: grid; grid-template-columns: 60px minmax(0, 1.15fr) minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: clamp(16px, 3vw, 48px); row-gap: 16px; align-items: center;
  padding: clamp(26px, 3.4vw, 46px) clamp(0px, 1vw, 16px); isolation: isolate; overflow: hidden;
}
.srv__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.srv__num { font-family: var(--mono); font-size: 13px; color: var(--blue-hi); transition: color .3s; }
.srv__title { font-stretch: 78%; font-size: clamp(38px, 5.6vw, 96px); line-height: .9; transition: transform .5s var(--ease); }
.srv__text { color: var(--muted); font-size: 16.5px; max-width: 28em; transition: color .3s; }
.srv__go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.srv__tags { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 6px; }
.srv__tags i { font-style: normal; font-size: 13px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: #C3C6CD; transition: border-color .3s, color .3s; }
@media (hover: hover) {
  .srv__tags { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .3s; }
  .srv__link:hover .srv__tags, .srv__link:focus-visible .srv__tags { max-height: 120px; opacity: 1; }
  .srv__link { row-gap: 0; }
  .srv__link:hover, .srv__link:focus-visible { row-gap: 16px; }
}
.srv__link:hover::before, .srv__link:focus-visible::before { transform: scaleY(1); }
.srv__link:hover .srv__title { transform: translateX(14px); }
.srv__link:hover .srv__num, .srv__link:hover .srv__text { color: rgba(255, 255, 255, .9); }
.srv__link:hover .srv__tags i { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.srv__link:hover .srv__go { background: var(--white); color: var(--bg); border-color: var(--white); }
.srv__link:hover .srv__go .btn__arrow { transform: translateX(4px); }

.srv-float { position: fixed; left: 0; top: 0; z-index: 60; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: var(--white); display: grid; place-items: center; pointer-events: none; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease); }
.srv-float.is-on { opacity: 1; transform: scale(1); }
.srv-float svg { position: absolute; width: 64px; height: 64px; opacity: 0; transition: opacity .2s; }
.srv-float svg.is-on { opacity: 1; }
.srv-float .draw { fill: none; stroke: var(--bg); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.srv-float .fill { fill: var(--blue); }

/* ---------- Auditoría ---------- */
.audit { background: var(--bg-2); padding: clamp(20px, 3vw, 40px) clamp(10px, 1.5vw, 20px) 0; }
.audit__panel { background: var(--blue); border-radius: clamp(28px, 4vw, 56px); overflow: hidden; }
.audit__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); grid-template-rows: auto 1fr; column-gap: clamp(24px, 5vw, 80px); padding-block: clamp(56px, 8vw, 120px); }
.audit__inner .kicker { grid-column: 1 / -1; margin-bottom: 18px; }
.audit__title { font-stretch: 76%; font-size: clamp(64px, 13vw, 220px); line-height: .84; transform-origin: left bottom; }
.audit__side { align-self: end; display: grid; gap: 26px; justify-items: start; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .9); }

/* ---------- Proyectos ---------- */
.work { background: var(--bg-2); padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.work__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 70px); }
.work__viewport { padding-inline: var(--pad); }
.work__track { display: flex; gap: clamp(16px, 2.4vw, 32px); width: max-content; will-change: transform; }
.project { display: flex; flex-direction: column; gap: 18px; width: min(72vw, 1040px); flex: none; }
.project__media { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(18px, 2vw, 28px); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.project__media picture, .project__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transform-origin: center top; transition: transform .8s var(--ease); }
.project:hover .project__media img, .project:hover .pt { transform: scale(1.035); }
.project__info { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-inline: 4px; }
.project__idx { font-family: var(--mono); font-size: 13px; color: var(--blue-hi); }
.project__title { font-stretch: 80%; font-size: clamp(26px, 2.8vw, 44px); line-height: 1; }
.project__meta { margin-top: 6px; font-size: 14px; color: var(--muted); }
.project__go { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.project:hover .project__go { background: var(--blue); border-color: var(--blue); }
.project:hover .project__go .btn__arrow { transform: translateX(4px); }

.project__media--petrato { background: #F4EEE3; }
.pt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 5vw, 72px); color: #1F3B32; transition: transform .8s var(--ease); }
.pt__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #7A6A4F; }
.pt__title { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(26px, 3.6vw, 56px); line-height: 1.02; max-width: 12em; }
.pt__title em { color: #2F6B55; }
.pt__btn { align-self: flex-start; padding: 12px 20px; border-radius: 999px; background: #1F3B32; color: #F4EEE3; font-size: 14px; font-weight: 600; }
.pt__frames { display: flex; gap: 14px; margin-top: 6px; }
.pt__frames i { width: clamp(52px, 6vw, 92px); aspect-ratio: 4 / 5; border-radius: 4px; background: #E3D7C2; box-shadow: inset 0 0 0 6px #FFF, 0 10px 20px -10px rgba(31, 59, 50, .6); }
.pt__frames i:nth-child(2) { background: #D2E0D6; }
.pt__frames i:nth-child(3) { background: #EBCFBF; }

.project--next { width: min(42vw, 560px); }
.project__media--next { aspect-ratio: auto; flex: 1; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 44px); background: var(--blue); border-color: var(--blue); }
.next__label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.next__title { font-stretch: 78%; font-size: clamp(52px, 7vw, 120px); line-height: .86; }
.next__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; background: var(--white); color: var(--bg); font-weight: 600; transition: transform .3s var(--ease); }
.next__btn .btn__wa { color: var(--blue); }
.project--next:hover .next__btn { transform: translateX(6px); }

/* ---------- Proceso ---------- */
.process { padding: clamp(110px, 14vw, 200px) 0; }
.steps { position: relative; }
.steps__line { display: block; height: 1px; background: var(--line); overflow: hidden; }
.steps__line i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 34px clamp(14px, 2vw, 30px) 0 0; }
.step + .step { padding-left: clamp(14px, 2vw, 30px); border-left: 1px solid var(--line); }
.step__num { display: block; font-stretch: 76%; font-size: clamp(64px, 8vw, 128px); line-height: .85; color: #262932; transition: color .4s; }
.step:hover .step__num, .step.is-on .step__num { color: var(--blue); }
.step h3 { margin-top: 30px; font-size: 22px; font-weight: 600; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- Sobre nosotros ---------- */
.about { padding: 0 0 clamp(110px, 14vw, 200px); }
.about__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.about__media { position: sticky; top: calc(var(--nav-h) + 24px); }
.about__ph { position: relative; aspect-ratio: 4 / 5; border-radius: clamp(18px, 2vw, 28px); overflow: hidden; display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: radial-gradient(120% 90% at 20% 10%, #22305E 0%, #0F1424 45%, #0A0C12 100%); border: 1px solid var(--line); }
.about__ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 80px); }
.about__ph img { position: relative; z-index: 1; width: 64%; height: auto; }
.about__media figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.about__content { display: grid; gap: 28px; padding-top: clamp(0px, 4vw, 60px); }
.about__content .h2 { max-width: 12ch; }
.about__lead { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.4; color: #D4D6DC; max-width: 26em; }
.values { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 12px; }
.values li { display: flex; gap: 14px; align-items: baseline; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; line-height: 1.3; transition: color .25s, padding-left .35s var(--ease); }
.values li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.values span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--blue-hi); }
.values li:hover { color: var(--blue-hi); }

/* ---------- CTA final ---------- */
.cta { position: relative; padding: clamp(120px, 16vw, 240px) 0; background: radial-gradient(80% 70% at 85% 100%, rgba(45, 91, 255, .35), rgba(45, 91, 255, 0) 70%), var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.cta__title { margin-top: 26px; font-stretch: 76%; font-size: clamp(52px, 9.6vw, 168px); line-height: .86; max-width: 13ch; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; margin-top: clamp(40px, 6vw, 80px); }
.cta__text { font-size: clamp(18px, 1.6vw, 22px); color: #C9CBD2; max-width: 30em; }
.cta__orb { position: relative; width: clamp(180px, 17vw, 250px); aspect-ratio: 1; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; text-align: center; isolation: isolate; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(45, 91, 255, .9); }
.cta__orb::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .5s var(--ease); }
.cta__orb:hover::before { transform: scale(1); }
.cta__orb:hover { color: var(--bg); }
.cta__orb-in { display: grid; justify-items: center; gap: 10px; font-weight: 600; font-size: 17px; line-height: 1.2; padding: 0 24px; }
.cta__orb .btn__wa { width: 30px; height: 30px; }
.cta__orb:hover .btn__wa { color: var(--blue); }

/* ---------- Footer ---------- */
.footer { padding: clamp(56px, 7vw, 96px) 0 28px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__desc { color: var(--muted); max-width: 22em; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer__col a { font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: var(--blue-hi); }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; }
.footer__wa .btn__wa { color: var(--blue-hi); }
.footer__word { margin-top: clamp(40px, 6vw, 80px); font-stretch: 76%; font-size: clamp(90px, 25vw, 420px); line-height: .78; text-align: center; color: #12141A; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer__legal { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--text); }

/* ---------- WhatsApp siempre visible ---------- */
.wa-float { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 600; font-size: 15px; box-shadow: 0 16px 36px -12px rgba(45, 91, 255, .8); transition: transform .2s var(--ease), background-color .2s; }
.wa-float .btn__wa { width: 24px; height: 24px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(45, 91, 255, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(45, 91, 255, 0); } }
.wa-float:hover { transform: translateY(-2px); background: var(--blue-dark); }
.wa-bar { display: none; }

/* ---------- Páginas legales y 404 ---------- */
.nav--simple::before { opacity: 1; }
.nav__back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); padding: 10px 14px; border-radius: 999px; transition: color .2s; }
.nav__back:hover { color: var(--text); }
.nav__back svg { width: 16px; height: 16px; }
.legal { padding: calc(var(--nav-h) + 70px) 0 90px; }
.legal__inner { max-width: 860px; }
.legal .kicker { color: var(--blue-hi); }
.legal h1 { font-stretch: 78%; font-size: clamp(44px, 7vw, 90px); line-height: .9; margin: 16px 0 12px; }
.legal__date { color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 44px 0 10px; }
.legal p, .legal li { color: #C9CBD2; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.legal a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal .ph { background: rgba(45, 91, 255, .16); color: var(--blue-hi); padding: 0 6px; border-radius: 4px; font-family: var(--mono); font-size: .86em; }
.legal__box { margin-top: 24px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--muted); font-size: 15px; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.notfound .notfound__code { margin: 0; font-stretch: 75%; font-size: clamp(130px, 26vw, 300px); line-height: .8; color: var(--blue); }
.notfound h1 { margin-top: 18px; font-stretch: 80%; font-size: clamp(30px, 5vw, 56px); line-height: .95; }
.notfound p { margin: 14px auto 28px; color: var(--muted); max-width: 28em; }
.footer--simple { padding-top: 0; border: 0; }
.footer--simple .footer__bottom { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; }
}
@media (max-width: 980px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .srv__link { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .srv__text { grid-column: 2 / 4; }
  .srv__tags { grid-column: 2 / 4; }
  .srv__go { grid-row: 1; grid-column: 3; }
  .audit__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 520px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__desc { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .work__track { flex-direction: column; width: auto; }
  .project, .project--next { width: 100%; }
  .project__media--next { min-height: 300px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__inner { gap: 10px; }
  .nav__cta { --h: 40px; padding: 0 14px; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .hero__meta-mid { display: none; }
  .hero__title { font-size: clamp(48px, 15vw, 84px); }
  .hero__pill { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; white-space: normal; }
  .hero__audit { font-size: 13.5px; }
  .hero__scroll { display: none; }
  .hero__visual { padding-bottom: 64px; }
  .msg { right: 0; }
  .manifesto__points { grid-template-columns: 1fr; }
  .manifesto__points li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .srv__link { grid-template-columns: 1fr; row-gap: 12px; padding: 28px 0; }
  .srv__num, .srv__title, .srv__text, .srv__tags, .srv__go { grid-column: 1; grid-row: auto; }
  .srv__go { justify-self: start; }
  .srv__link:hover .srv__title { transform: none; }
  .audit__title { font-size: clamp(64px, 22vw, 120px); }
  .audit__side .btn { width: 100%; }
  .project__info { grid-template-columns: auto 1fr; }
  .project__go { grid-column: 1 / -1; justify-content: center; }
  .steps__list { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; column-gap: 16px; }
  .step__num { grid-row: span 2; font-size: 64px; }
  .step h3 { margin-top: 4px; }
  .values { grid-template-columns: 1fr; }
  .values li:nth-child(even) { padding-left: 0; border-left: 0; }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .cta__orb { width: 100%; aspect-ratio: auto; min-height: 64px; border-radius: 999px; }
  .cta__orb-in { grid-auto-flow: column; align-items: center; }
  .cta__orb .btn__wa { width: 22px; height: 22px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .footer { padding-bottom: 110px; }
  .wa-float { display: none; }
  .wa-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(7, 8, 11, .96) 60%, rgba(7, 8, 11, 0)); }
  .wa-bar .btn { --h: 56px; }
  .srv-float { display: none; }
}
@media (hover: none) { .srv-float { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .msg { opacity: 1; transform: none; }
}

/* =========================================================
   INTRO CINEMATOGRÁFICA
   ========================================================= */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 400; overflow: hidden; background: #000; pointer-events: auto; }
.intro-done .intro, .no-intro .intro { display: none !important; }
.intro-on body { overflow: hidden; }
.intro-done body, .no-intro body { overflow: auto; }

/* Escenario: velo negro con hueco en forma de "A", línea y logotipo por letras */
.intro-on .intro { background: transparent; }
.intro__veil { position: absolute; inset: 0; background: #000; will-change: clip-path; }
.intro__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: calc(min(70vw, 860px) * 138 / 970 / 2 + 14px); background: linear-gradient(90deg, transparent 0%, rgba(45, 91, 255, .35) 18%, #2D5BFF 40%, #C9D6FF 50%, #2D5BFF 60%, rgba(45, 91, 255, .35) 82%, transparent 100%); transform: scaleX(0); transform-origin: 50% 50%; will-change: transform, opacity; }
.intro__word { position: absolute; left: 50%; top: 50%; width: min(70vw, 860px); height: calc(min(70vw, 860px) * 138 / 970); margin: calc(min(70vw, 860px) * -69 / 970) 0 0 calc(min(70vw, 860px) / -2); will-change: transform; }
.il { position: absolute; top: 0; bottom: 0; overflow: hidden; will-change: transform, opacity; }
.il--a { z-index: 2; }
.il__in { display: block; height: 100%; transform: translateY(112%); will-change: transform; }
.il img { display: block; height: auto; max-width: none; flex: none; }
.il__in { width: 100%; overflow: visible; }
@media (max-width: 720px) {
  .intro__word { width: 76vw; height: calc(76vw * 138 / 970); margin: calc(76vw * -69 / 970) 0 0 -38vw; }
  .intro__line { margin-top: calc(76vw * 138 / 970 / 2 + 10px); }
}
.intro__skip { position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(0, 0, 0, .35); color: rgba(242, 242, 238, .75); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s; }
.intro__skip:hover, .intro__skip:focus-visible { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Mientras dura la intro, el hero espera su entrada (sin bloquear la carga) */
.intro-on:not(.intro-done) .nav { opacity: 0; }
.nav { transition: transform .45s var(--ease), opacity .5s var(--ease); }

/* Logo real */
.logo__img { display: block; height: 22px; width: auto; }
.footer__logo { display: block; width: min(100%, 1100px); height: auto; margin: clamp(48px, 7vw, 96px) auto 0; opacity: .14; filter: grayscale(1); }
@media (max-width: 720px) { .logo__img { height: 18px; } }

/* =========================================================
   v5 — mejoras: manifiesto, servicios, proceso, sobre nosotros
   ========================================================= */

/* Círculo de servicios más discreto */
.srv-float { width: 84px; height: 84px; margin: -42px 0 0 -42px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.srv-float svg { width: 36px; height: 36px; }
.srv-float .draw { stroke-width: 3; }

/* ---------- Manifiesto ---------- */
.manifesto { position: relative; overflow: hidden; }
.manifesto__bg { position: absolute; inset: -10% -20% -10% 30%; z-index: -1; background: url("../img/intro-bg.webp") center / cover no-repeat; opacity: .55; -webkit-mask-image: radial-gradient(70% 60% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 45%, #000 20%, transparent 75%); }
.manifesto__text { max-width: 15ch; font-size: clamp(46px, 8.4vw, 140px); line-height: .9; }
.manifesto__hl { position: relative; display: inline-block; padding: 0 .12em; margin-left: -.04em; isolation: isolate; }
.manifesto__hl em { position: relative; z-index: 1; color: var(--white); font-style: normal; }
.manifesto__hl-bg { position: absolute; inset: .06em 0 .02em; z-index: 0; background: var(--blue); border-radius: .08em; transform-origin: left; box-shadow: 0 20px 60px -20px rgba(45, 91, 255, .8); }
.manifesto__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 0; margin-top: clamp(60px, 8vw, 120px); }
.manifesto__points li, .manifesto__points li + li {
  display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line-2); border-left: 1px solid var(--line-2); border-radius: 22px;
  background: rgba(14, 16, 21, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.manifesto__points li:hover { transform: translateY(-4px); border-color: rgba(126, 155, 255, .5); }
.manifesto__points h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; line-height: 1.2; }
.manifesto__points p { color: var(--muted); font-size: 15.5px; font-weight: 400; }
.manifesto__n { font-family: var(--mono); font-size: 12px; color: var(--blue-hi); margin-bottom: 18px; }
.manifesto__points li.is-acc { background: var(--blue); border-color: var(--blue); }
.manifesto__points li.is-acc p { color: rgba(255, 255, 255, .85); }
.manifesto__points li.is-acc .manifesto__n { color: var(--white); }

/* ---------- Proceso ---------- */
.steps__line { position: relative; height: 2px; border-radius: 2px; background: var(--line); }
.steps__list { gap: 14px; margin-top: 0; }
.step, .step + .step {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 300px;
  padding: 44px clamp(20px, 2vw, 30px) clamp(22px, 2vw, 30px); margin-top: 26px;
  border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 22px; background: var(--bg-2);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.step__dot { position: absolute; top: -33px; left: clamp(20px, 2vw, 30px); width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.step.is-on .step__dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(45, 91, 255, .18); }
.step.is-on { border-color: rgba(45, 91, 255, .45); background: linear-gradient(180deg, rgba(45, 91, 255, .1), var(--bg-2) 60%); }
.step:hover { transform: translateY(-6px); border-color: rgba(126, 155, 255, .6); }
.step__num { font-size: clamp(64px, 7vw, 112px); color: #22252E; }
.step h3 { margin-top: auto; padding-top: 26px; font-size: 23px; }
.step p { margin-top: 0; }
.step__tag { align-self: flex-start; margin-top: 10px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-hi); }
.step:first-child .step__tag { background: var(--blue); border-color: var(--blue); color: var(--white); }
.steps__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 22px clamp(20px, 2.4vw, 32px); border-radius: 22px; border: 1px dashed var(--line-2); font-size: clamp(16px, 1.4vw, 19px); transition: background-color .3s, border-color .3s; }
.steps__cta strong { color: var(--blue-hi); font-weight: 600; }
.steps__cta .btn__arrow { width: 22px; height: 22px; }
.steps__cta:hover { background: var(--blue); border-color: var(--blue); }
.steps__cta:hover strong { color: var(--white); }
.steps__cta:hover .btn__arrow { transform: translateX(6px); }

/* ---------- Sobre nosotros ---------- */
.about__grid { align-items: stretch; }
.about__media { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.about__ph { aspect-ratio: 4 / 5; background: #05070D url("../img/intro-bg.webp") 30% 50% / cover no-repeat; border-color: var(--line-2); }
.about__ph::after { background: linear-gradient(180deg, rgba(5, 7, 13, 0) 50%, rgba(5, 7, 13, .85) 100%); }
.about__ph-in { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.about__logo { width: 72%; height: auto; filter: drop-shadow(0 10px 40px rgba(45, 91, 255, .35)); }
.about__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(242, 242, 238, .85); }
.about__media figcaption:not(.about__cap) { display: none; }
.values { grid-template-columns: 1fr 1fr; gap: 12px; border-top: 0; }
.values li, .values li:nth-child(even) {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; row-gap: 6px;
  padding: 20px 22px; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 18px; background: var(--bg-2);
  transition: border-color .3s, transform .35s var(--ease), background-color .3s;
}
.values li b { font-weight: 600; font-size: 17px; line-height: 1.3; }
.values li small { grid-column: 2; font-size: 14.5px; color: var(--muted); font-weight: 400; line-height: 1.45; }
.values li:hover { color: inherit; border-color: rgba(126, 155, 255, .5); transform: translateY(-3px); background: linear-gradient(180deg, rgba(45, 91, 255, .1), var(--bg-2)); }

@media (max-width: 980px) {
  .steps__list { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: clamp(20px, 2vw, 30px); border-left: 1px solid var(--line); }
  .manifesto__points { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps__line { display: none; }
  .steps__list { grid-template-columns: 1fr; gap: 10px; }
  .step, .step + .step { display: flex; min-height: 0; margin-top: 0; padding: 22px 20px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .step__dot { display: none; }
  .step__num { font-size: 54px; }
  .step h3 { padding-top: 8px; }
  .steps__cta { flex-direction: row; }
  .values { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; }
  .about__ph { aspect-ratio: 4 / 3.6; }
  .manifesto__bg { inset: 0 -40% 30% 0; opacity: .4; }
}

.manifesto__text { max-width: none; }
.manifesto__l1 { display: block; max-width: 15ch; }
.manifesto__l2 { display: block; margin-top: .12em; white-space: nowrap; }
@media (max-width: 720px) { .manifesto__l2 { white-space: normal; } }

/* ---------- Cursor personalizado ---------- */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; will-change: transform; }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(7, 8, 11, .35); transition: opacity .2s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .25s; }
.cursor-ring__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); white-space: nowrap; }
.cursor-link .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: rgba(126, 155, 255, .8); background: rgba(45, 91, 255, .12); }
.cursor-link .cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
.cursor-view .cursor-ring, .cursor-wa .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: transparent; background: var(--blue); box-shadow: 0 16px 40px -12px rgba(45, 91, 255, .8); }
.cursor-wa .cursor-ring { background: #fff; }
.cursor-wa .cursor-ring__label { color: var(--bg); }
.cursor-view .cursor-ring__label, .cursor-wa .cursor-ring__label { opacity: 1; transform: none; }
.cursor-view .cursor-dot, .cursor-wa .cursor-dot, .cursor-hide .cursor-dot, .cursor-hide .cursor-ring { opacity: 0; }
.cursor-down .cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.intro-on:not(.intro-done) .cursor-ring { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Banner de cookies ---------- */
.cookie { position: fixed; left: clamp(12px, 2.5vw, 28px); bottom: clamp(12px, 2.5vw, 28px); z-index: 350; width: min(420px, calc(100vw - 24px)); padding: 20px; border-radius: 20px; background: rgba(14, 16, 21, .94); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9); color: var(--text); font-family: var(--body); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.cookie.is-open { opacity: 1; transform: none; pointer-events: auto; }
.cookie__title { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); }
.cookie__text { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: #C9CBD2; }
.cookie__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie__prefs { display: grid; gap: 8px; margin-top: 14px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; }
.cookie__opt b { display: block; font-size: 14px; font-weight: 600; }
.cookie__opt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.cookie__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie__opt i { flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); transition: background-color .2s; }
.cookie__opt i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background-color .2s; }
.cookie__opt input:checked + i { background: var(--blue); border-color: var(--blue); }
.cookie__opt input:checked + i::after { transform: translateX(16px); background: #fff; }
.cookie__opt input:disabled + i { opacity: .6; }
.cookie__opt input:focus-visible + i { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cookie__btn { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-family: var(--body); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cookie__btn:hover { background: var(--blue-dark); }
.cookie__btn--ghost { grid-column: 1 / -1; grid-row: 2; background: transparent; border-color: var(--line-2); color: var(--text); }
.cookie__btn--ghost:hover { background: rgba(255, 255, 255, .06); }
.footer__cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer__cookies:hover { color: var(--text); }
.legal .cookie-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.legal .cookie-table th, .legal .cookie-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #C9CBD2; vertical-align: top; }
.legal .cookie-table th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.legal .cookie-table-wrap { overflow-x: auto; }
.legal__btn { margin-top: 16px; }
@media (max-width: 720px) {
  .cookie { left: 10px; right: 10px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 16px; }
}

.footer__note { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   v6 — menos "plantilla": textos propios, ritmo variado
   ========================================================= */
.h2--soft { text-transform: none; font-stretch: 86%; letter-spacing: -.012em; line-height: .96; font-size: clamp(40px, 5.6vw, 88px); max-width: 16ch; }
.section-top { margin-bottom: clamp(36px, 5vw, 72px); }

/* Hero: trabajos reales en vez de maqueta */
.hero__shots { position: relative; aspect-ratio: 16 / 12; padding: 0; }
.shot { position: absolute; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.shot img { display: block; width: 100%; height: auto; }
.shot--back { top: 0; right: 0; width: 74%; opacity: .9; }
.shot--front { left: 0; bottom: 10%; width: 82%; z-index: 2; }
.shot:hover { transform: translateY(-6px); z-index: 3; box-shadow: 0 50px 90px -30px rgba(45, 91, 255, .45); }
.shots__note { position: absolute; left: 0; bottom: 0; font-size: 13.5px; color: var(--muted); }

/* Manifiesto: tarjetas sin numeración */
.manifesto__points h3 { margin-top: 4px; }

/* Proceso: lista editorial a dos columnas */
.process__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.process__head { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 22px; justify-items: start; }
.process__intro { font-size: clamp(17px, 1.5vw, 20px); color: #C9CBD2; max-width: 26em; }
.plist { display: grid; border-top: 1px solid var(--line); }
.plist__item { display: grid; grid-template-columns: clamp(56px, 6vw, 90px) 1fr; gap: 18px; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.plist__n { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(48px, 5vw, 80px); line-height: .85; color: var(--blue); }
.plist__item h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; }
.plist__item p { margin-top: 6px; color: var(--muted); font-size: 16.5px; max-width: 30em; }
.plist__item:hover { padding-left: 10px; }

/* Sobre mí */
.about__cap { justify-content: center; letter-spacing: .1em; color: rgba(242, 242, 238, .6); }
.about__photo { display: block; width: 100%; height: auto; border-radius: clamp(18px, 2vw, 28px); }
.promise { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise li { display: flex; gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; }
.promise li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transform: translateY(-3px); }
.quote { margin: 10px 0 0; padding: 26px 28px; border-left: 3px solid var(--blue); background: var(--bg-2); border-radius: 0 18px 18px 0; }
.quote p { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); }

.cta__title { max-width: 11ch; }

@media (max-width: 980px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
}
@media (max-width: 720px) {
  .hero__shots { aspect-ratio: 16 / 13; margin-top: 8px; }
  .h2--soft { font-size: clamp(36px, 10vw, 52px); }
  .process__head .btn { width: 100%; white-space: normal; }
}
/* Servicios sin numeración */
.srv__link { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; }
.srv__tags { grid-column: 1 / 3; }
@media (max-width: 980px) {
  .srv__link { grid-template-columns: minmax(0, 1fr) auto; }
  .srv__title { grid-column: 1; grid-row: 1; }
  .srv__go { grid-column: 2; grid-row: 1; }
  .srv__text, .srv__tags { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .srv__link { grid-template-columns: 1fr; }
  .srv__title, .srv__go, .srv__text, .srv__tags { grid-column: 1; grid-row: auto; }
}

.quote + .quote { margin-top: 12px; }

/* ---------- Cinta cruzada ---------- */
.tape { position: relative; height: clamp(150px, 16vw, 230px); overflow: hidden; margin-top: clamp(10px, 2vw, 30px); }
.tape__band { position: absolute; left: -5%; right: -5%; top: 50%; display: flex; overflow: hidden; padding: clamp(12px, 1.4vw, 20px) 0; }
.tape__band--back { background: var(--bg-3); border-block: 1px solid var(--line-2); transform: translateY(-50%) rotate(2.4deg); }
.tape__band--front { background: var(--blue); transform: translateY(-50%) rotate(-2.4deg); box-shadow: 0 24px 60px -24px rgba(45, 91, 255, .7); }
.tape__track { display: flex; align-items: center; flex: none; gap: clamp(18px, 2vw, 30px); padding-right: clamp(18px, 2vw, 30px); animation: marquee 36s linear infinite; }
.tape__track--rev { animation-direction: reverse; animation-duration: 30s; }
.tape__track span { white-space: nowrap; font-family: var(--display); font-weight: 800; font-stretch: 84%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(22px, 2.6vw, 40px); line-height: 1; }
.tape__band--back .tape__track span { color: var(--muted); }
.tape__band--front .tape__track span { color: var(--white); }
.tape__sep { flex: none; width: clamp(16px, 1.6vw, 24px); height: auto; }
.tape__band--back .tape__sep { color: var(--blue-hi); }
.tape__band--front .tape__sep { color: rgba(255, 255, 255, .75); }
@media (prefers-reduced-motion: reduce) { .tape__track { animation: none; } }

/* ---------- Titular de servicios ---------- */
.srv-head { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); align-items: end; column-gap: clamp(30px, 5vw, 80px); row-gap: 18px; }
.srv-head__k { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.srv-head__k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.srv-head__k::after { content: ""; flex: 0 0 clamp(40px, 6vw, 90px); height: 1px; background: var(--line-2); }
.srv-head__t { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(40px, 6.4vw, 104px); line-height: .92; letter-spacing: -.02em; color: var(--white); max-width: 13ch; text-wrap: balance; }
.srv-head__hl { color: var(--blue-hi); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: .075em; text-underline-offset: .14em; text-decoration-skip-ink: auto; }
.srv-head__note { margin: 0 0 .5em; color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; border-left: 2px solid var(--blue); padding-left: 16px; }
@media (max-width: 760px) {
  .srv-head { grid-template-columns: 1fr; }
  .srv-head__t { font-size: clamp(38px, 11.5vw, 56px); }
  .srv-head__note { margin: 4px 0 0; }
}

/* ---------- Proyectos: acciones + testimonios ---------- */
.project__media-link { display: block; border-radius: clamp(18px, 2vw, 28px); }
.project__media-link:hover .project__media img { transform: scale(1.035); }
.project__info { grid-template-columns: minmax(0, 1fr) auto; }
.project__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.project__case { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(45, 91, 255, .14); border: 1px solid rgba(126, 155, 255, .35); color: var(--white); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background-color .3s, border-color .3s; }
.project__case:hover { background: rgba(45, 91, 255, .3); border-color: var(--blue-hi); }
.project__q { width: 16px; height: 16px; color: var(--blue-hi); }
.project:hover .project__go { background: transparent; border-color: var(--line-2); }
.project .project__go:hover { background: var(--blue); border-color: var(--blue); }
.project__go:hover .btn__arrow { transform: translateX(4px); }

html { scrollbar-gutter: stable; }
html.case-open { overflow: hidden; }
.case { width: min(860px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: var(--bg-2); color: var(--text); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
.case:target { display: block; position: fixed; inset: 0; z-index: 9000; }
.case::backdrop { background: rgba(4, 5, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.case[open] { animation: caseIn .32s var(--ease) both; }
.case[open]::backdrop { animation: caseFade .32s ease both; }
@keyframes caseIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes caseFade { from { opacity: 0; } to { opacity: 1; } }
.case, .case * { cursor: auto !important; }
.case a, .case button, .case a *, .case button * { cursor: pointer !important; }
html.case-open .cursor-dot, html.case-open .cursor-ring { opacity: 0 !important; }
.case__box { position: relative; padding: clamp(22px, 3.6vw, 44px); display: grid; gap: clamp(22px, 3vw, 32px); }
.case__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.case__close:hover { background: var(--blue); border-color: var(--blue); }
.case__close svg { width: 18px; height: 18px; }
.case__top { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center; padding-right: 48px; }
.case__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); }
.case__k { color: var(--blue-hi); margin-bottom: 8px; }
.case__title { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(30px, 4vw, 48px); line-height: .95; letter-spacing: -.015em; color: var(--white); }
.case__quote { margin: 0; padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; background: var(--blue); color: #fff; }
.case__quote p { font-size: clamp(19px, 2vw, 25px); line-height: 1.4; font-weight: 500; }
.case__quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .78); }
.case__cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 3vw, 40px); }
.case__h { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.case__cols p { color: var(--text); line-height: 1.6; }
.case__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.case__list li { position: relative; padding-left: 28px; line-height: 1.5; }
.case__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(45, 91, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.6 10.8 12 5.4' fill='none' stroke='%237E9BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.case__actions { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: clamp(18px, 2.4vw, 26px); }
@media (max-width: 860px) {
  .project__info { grid-template-columns: 1fr; }
  .project__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .case { border-radius: 20px; }
  .case__top { grid-template-columns: 1fr; padding-right: 0; }
  .case__img { width: calc(100% - 56px); }
  .case__cols { grid-template-columns: 1fr; }
  .case__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .case[open], .case[open]::backdrop { animation: none; } }
@media (min-width: 861px) {
  .work { padding-top: clamp(96px, 13vh, 150px); }
  .work__head { margin-bottom: clamp(28px, 4.5vh, 56px); }
  .project { width: min(72vw, 1040px, max(480px, calc((100vh - 370px) * 1.6))); }
  .project--next { width: min(42vw, 560px); }
}

/* ---------- SEO: kicker del H1, enlaces de servicios, FAQ ---------- */
.hero__kicker { display: block; margin-bottom: clamp(14px, 2vh, 22px); font-family: var(--mono); font-weight: 500; font-size: clamp(12px, 1vw, 13.5px); letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--blue-hi); font-stretch: 100%; font-variation-settings: normal; }
.srv-more { margin-top: clamp(22px, 3vw, 34px); color: var(--muted); font-size: 15px; }
.srv-more a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .25em; text-decoration-thickness: 1.5px; }
.srv-more a:hover { color: var(--blue-hi); }
.srv-more span { margin: 0 8px; }

.faq-sec { padding: clamp(70px, 10vw, 140px) 0 0; }
.svc-h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 80%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(32px, 4.6vw, 64px); line-height: .95; letter-spacing: -.01em; color: var(--white); margin-bottom: clamp(24px, 3vw, 40px); max-width: 18ch; }
.faq__list { max-width: 980px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%237E9BFF' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: rgba(45, 91, 255, .18); }
.faq__item summary:hover { color: var(--blue-hi); }
.faq__item p { padding: 0 0 24px; max-width: 70ch; color: #C9CBD2; line-height: 1.65; }
.faq__item a, .svc-p a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Páginas de servicio ---------- */
.svc-page main { overflow: hidden; }
.svc-hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(50px, 7vw, 90px); }
.svc-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(60% 50% at 70% 20%, rgba(45, 91, 255, .22), transparent 70%); pointer-events: none; }
.svc-hero .container { position: relative; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.svc-hero__title { margin: clamp(18px, 3vw, 28px) 0 clamp(18px, 2.4vw, 26px); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 76%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(50px, 9vw, 140px); line-height: .86; color: var(--white); }
.svc-hero__lead { max-width: 58ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #C9CBD2; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 36px); }
.svc-sec { padding: clamp(60px, 8vw, 110px) 0 0; }
.svc-p { color: #C9CBD2; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; max-width: 60ch; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-card { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.svc-card h3 { font-size: 19px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.svc-card p { color: #B9BCC5; line-height: 1.55; }
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-ticks { display: grid; gap: 14px; padding-top: 6px; }
.svc-ticks li { position: relative; padding: 0 0 14px 34px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 17px; line-height: 1.5; }
.svc-ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: rgba(45, 91, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.6 10.8 12 5.4' fill='none' stroke='%237E9BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc-case { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.svc-case__img { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.svc-case__img img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.svc-case__img:hover img { transform: scale(1.03); }
.svc-case__k { color: var(--blue-hi); margin-bottom: 12px; }
.svc-quote { margin: 22px 0; padding: 20px 22px; border-radius: 16px; background: var(--blue); color: #fff; font-size: 17px; line-height: 1.5; font-weight: 500; }
.svc-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.svc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.svc-link:hover { color: var(--blue-hi); }
.svc-link .btn__arrow { width: 16px; height: 16px; }
.svc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.svc-steps li { display: grid; gap: 14px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); }
.svc-steps__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--mono); font-weight: 600; }
.svc-steps h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.svc-steps p { color: #B9BCC5; line-height: 1.55; }
.svc-cta { padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 130px); text-align: left; }
.svc-cta__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 76%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(44px, 7.5vw, 110px); line-height: .88; color: var(--white); margin-bottom: 18px; max-width: 14ch; }
.svc-cta .btn { margin-top: 26px; }
.svc-other { margin-top: 30px; color: var(--muted); }
.svc-other a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .25em; }
@media (max-width: 980px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .svc-cards, .svc-steps, .svc-split, .svc-case { grid-template-columns: 1fr; }
  .svc-hero__actions .btn { width: 100%; justify-content: center; }
  .svc-page main { padding-bottom: 80px; }
}

/* =========================================================
   SERVICIOS COMO CAPÍTULOS
   ========================================================= */
.chapters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); margin-top: clamp(30px, 5vw, 70px); }
.chap-stage { position: sticky; top: calc(var(--nav-h) + 5vh); height: calc(100vh - var(--nav-h) - 10vh); min-height: 420px; align-self: start; }
.chap-stage__item { position: absolute; inset: 0; clip-path: inset(100% 0 0 0 round 24px); transition: clip-path 1s var(--ease); }
.chap-stage__item.is-on { clip-path: inset(0 0 0 0 round 24px); z-index: 2; }
.chap-stage__item.is-off { clip-path: inset(0 0 100% 0 round 24px); }
.chap-stage__item .cv { height: 100%; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.chap-stage__item.is-on .cv { transform: scale(1); }
.chap-list { display: flex; flex-direction: column; }
.chap { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 7vh 0; border-top: 1px solid var(--line); }
.chap:first-child { border-top: 0; }
.chap__media { display: none; }
.chap__k { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 14px; }
.chap__t { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 76%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(44px, 5.6vw, 96px); line-height: .88; color: var(--white); transition: color .6s var(--ease); }
.chapters.is-live .chap:not(.is-on) .chap__t { color: #2A2D35; }
.chap__d { margin-top: 20px; max-width: 34ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: #C9CBD2; }
.chap__tags { margin-top: 16px; max-width: 46ch; font-size: 14px; line-height: 1.7; color: var(--muted); }
.chap__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.chap__go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; transition: background-color .3s, transform .3s var(--ease); }
.chap__go:hover { background: #1F49E6; transform: translateX(3px); }
.chap__go .btn__arrow { width: 16px; height: 16px; }
.chap__more { color: var(--text); text-decoration: underline; text-decoration-color: rgba(126, 155, 255, .6); text-underline-offset: .28em; text-decoration-thickness: 1.5px; font-size: 15px; }
.chap__more:hover { color: var(--blue-hi); }

/* Visuales (ilustraciones editoriales, sin iconos) */
.cv { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, #0F121A 0%, #07080B 70%); }
.cv__cap { position: absolute; left: 22px; bottom: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(242, 242, 238, .55); }
.cv--web .cv__back, .cv--web .cv__front { position: absolute; display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); border: 1px solid var(--line-2); }
.cv--web img { display: block; width: 100%; height: auto; }
.cv--web .cv__back { width: 66%; right: 7%; top: 10%; opacity: .75; }
.cv--web .cv__front { width: 74%; left: 7%; top: 34%; }
.serp { position: absolute; left: 50%; top: 46%; width: min(84%, 460px); transform: translate(-50%, -50%); display: grid; gap: 14px; }
.serp__bar { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 20px; border-radius: 999px; background: #151821; border: 1px solid var(--line-2); color: var(--text); font-size: 16px; }
.serp__bar svg { width: 18px; height: 18px; color: var(--muted); }
.serp__res { display: grid; gap: 4px; padding: 14px 18px; border-left: 2px solid transparent; }
.serp__res.is-top { border-left-color: var(--blue); background: rgba(45, 91, 255, .08); border-radius: 0 12px 12px 0; }
.serp__url { font-size: 12.5px; color: var(--muted); }
.serp__t { font-size: 18px; font-weight: 600; color: #DADCE2; }
.serp__res.is-top .serp__t { color: var(--blue-hi); }
.serp__d { font-size: 14px; color: #9EA2AC; }
.serp__res:not(.is-top) { opacity: .45; }
.chart { position: absolute; left: 50%; top: 46%; width: 86%; transform: translate(-50%, -50%); overflow: visible; }
.chart__grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; }
.chart__line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.chart__line--a { stroke: var(--blue); }
.chart__line--b { stroke: #4A4E59; }
.chart__gap { fill: rgba(45, 91, 255, .07); stroke: var(--blue-hi); stroke-width: 1.2; stroke-dasharray: 5 5; opacity: 0; transition: opacity .6s ease 1.2s; }
.chart__lbl { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .06em; fill: var(--blue-hi); opacity: 0; transition: opacity .6s ease 1.3s; }
.is-on .chart__line, .chap.is-in .chart__line { stroke-dashoffset: 0; }
.is-on .chart__gap, .is-on .chart__lbl, .chap.is-in .chart__gap, .chap.is-in .chart__lbl { opacity: 1; }
.route { position: absolute; left: 12%; right: 10%; top: 50%; transform: translateY(-55%); display: grid; gap: clamp(26px, 5vh, 48px); }
.route::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--line-2), var(--blue)); }
.route li { position: relative; display: flex; align-items: center; gap: 22px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 78%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(26px, 2.8vw, 44px); line-height: .95; color: #5C606B; }
.route li.is-end { color: var(--white); }
.route__dot { flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.route li.is-end .route__dot { background: var(--blue); border-color: var(--blue); }

@media (max-width: 980px) {
  .chapters { grid-template-columns: 1fr; }
  .chap-stage { display: none; }
  .chap { min-height: 0; padding: 44px 0 52px; }
  .chap__media { display: block; margin-bottom: 26px; }
  .chap__media .cv { aspect-ratio: 4 / 3.4; }
  .route li { font-size: clamp(24px, 7vw, 34px); }
  .serp__t { font-size: 16px; }
}
@media (max-width: 480px) {
  .serp__bar { height: 44px; font-size: 14px; }
  .serp__res { padding: 10px 14px; }
  .serp__d { display: none; }
  .cv__cap { left: 16px; bottom: 12px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .chap-stage__item, .chap-stage__item .cv, .chart__line, .chart__gap, .chart__lbl { transition: none; }
}
/* Sin animaciones (o sin JS): cada capítulo lleva su visual y todo se ve */
html:not(.anim-ok) .chap-stage { display: none; }
html:not(.anim-ok) .chapters { grid-template-columns: 1fr; max-width: 760px; }
html:not(.anim-ok) .chap { min-height: 0; }
html:not(.anim-ok) .chap__media { display: block; margin-bottom: 26px; }
html:not(.anim-ok) .chap__media .cv { aspect-ratio: 4 / 3.4; }
html:not(.anim-ok) .chart__line { stroke-dashoffset: 0; }
html:not(.anim-ok) .chart__gap, html:not(.anim-ok) .chart__lbl { opacity: 1; }
@media (max-width: 600px) {
  .serp { top: 45%; gap: 8px; width: 88%; }
  .serp__res:nth-child(4) { display: none; }
  .serp__t { font-size: 15px; }
}

/* ---------- Pulido final ---------- */
.hero__glow { background: radial-gradient(circle, rgba(45, 91, 255, .16), rgba(45, 91, 255, 0) 60%); }
.project__media-link:hover .project__media img { transform: none; }
.project__media picture { display: block; transition: transform .8s var(--ease); }
.project__media-link:hover .project__media picture { transform: scale(1.04); }
.footer__claim { margin-top: clamp(56px, 8vw, 120px); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-stretch: 76%; font-optical-sizing: none; font-variation-settings: "opsz" 72; font-size: clamp(46px, 9vw, 150px); line-height: .86; color: var(--white); }
.footer__claim span { color: var(--blue); }
.footer__claim + .footer__logo { margin-top: clamp(36px, 5vw, 64px); }
.project__media img { transition: none; }
.project:hover .project__media img { transform: none; }

/* ---------- Preguntas frecuentes: animación ---------- */
.faq__item { position: relative; }
.faq__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--blue-hi) 60%, transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.faq__item.is-open::after, .faq__item[open]:not(.is-closing)::after { transform: scaleX(1); }
.faq__item summary { position: relative; transition: color .35s var(--ease), padding-left .5s var(--ease); }
.faq__item summary::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .45s var(--ease); }
.faq__item.is-open summary, .faq__item[open]:not(.is-closing) summary { color: var(--white); padding-left: 22px; }
.faq__item.is-open summary::before, .faq__item[open]:not(.is-closing) summary::before { transform: scale(1); }
.faq__item summary::after { transition: transform .55s var(--ease), background-color .35s, border-color .35s; }
.faq__item.is-open summary::after, .faq__item[open]:not(.is-closing) summary::after { transform: rotate(135deg); background-color: var(--blue); border-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq__item summary:hover::after { border-color: var(--blue-hi); }
.faq__body { overflow: hidden; }
.faq__inner { padding-left: 22px; }
.faq__inner p { padding: 0 0 26px; }
@media (prefers-reduced-motion: reduce) {
  .faq__item::after, .faq__item summary, .faq__item summary::before, .faq__item summary::after { transition: none; }
}

/* =========================================================
   MÓVIL CON LA MISMA EXPERIENCIA QUE EN ORDENADOR
   ========================================================= */
/* Servicios: visual fijo arriba que cambia con cada capítulo */
@media (max-width: 980px) {
  html.anim-ok .chapters { grid-template-columns: 1fr; gap: 0; }
  html.anim-ok .chap-stage { display: block; position: sticky; top: calc(var(--nav-h) + 10px); height: 40svh; min-height: 250px; max-height: 420px; z-index: 3; margin-bottom: 10px; }
  html.anim-ok .chap-stage::before { content: ""; position: absolute; inset: -14px -40px -22px; background: var(--bg-2); z-index: -1; }
  html.anim-ok .chap__media { display: none; }
  html.anim-ok .chap { min-height: 64svh; justify-content: flex-start; padding: 30px 0 40px; }
  html.anim-ok .chap:first-child { padding-top: 22px; }
  .chap-stage .serp { width: 88%; gap: 8px; }
  .chap-stage .route li { font-size: clamp(22px, 6.4vw, 34px); }
}
@media (max-width: 600px) {
  .chap-stage .serp__res:nth-child(4), .chap-stage .serp__d { display: none; }
}

/* Trabajos: galería horizontal también en móvil */
@media (max-width: 860px) {
  html.anim-ok .work__track { flex-direction: row; width: max-content; }
  html.anim-ok .project { width: 84vw; }
  html.anim-ok .project--next { width: 70vw; }
  html.anim-ok .project__media--next { min-height: 0; }
  html.anim-ok .work { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 40px; }
  html.anim-ok .work__head { margin-bottom: 24px; }
}

/* WhatsApp: el mismo botón flotante que en ordenador */
@media (max-width: 720px) {
  .wa-bar { display: none !important; }
  .wa-float { display: inline-flex; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 54px; padding: 0 18px 0 14px; font-size: 15px; }
  .footer { padding-bottom: 96px; }
  .svc-page main { padding-bottom: 0; }
}
@media (max-width: 860px) {
  html.anim-ok .work { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}

/* Posición de cada letra del logotipo en la intro (sin estilos en línea: la CSP los bloquea) */
.il--1 { left: 0.000%; width: 23.814%; } .il--1 img { width: 419.913%; margin-left: 0.000%; }
.il--2 { left: 23.814%; width: 14.124%; } .il--2 img { width: 708.029%; margin-left: -168.613%; }
.il--3 { left: 37.938%; width: 16.186%; } .il--3 img { width: 617.834%; margin-left: -234.395%; }
.il--4 { left: 54.124%; width: 14.742%; } .il--4 img { width: 678.322%; margin-left: -367.133%; }
.il--5 { left: 68.866%; width: 15.052%; } .il--5 img { width: 664.384%; margin-left: -457.534%; }
.il--6 { left: 83.918%; width: 16.082%; } .il--6 img { width: 621.795%; margin-left: -521.795%; }
