@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/efaef7cce3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/81b6ed6d06.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/bdba243e0f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Concepto: la página es un lienzo blanco; una sola pincelada de cuatro colores la recorre de arriba a abajo
   y cada sección es algo que esa pincelada hace posible. Capítulos oscuros = momentos de "shock". */
:root {
  --paper: #ffffff;
  --paper-2: #f2f6f8;
  --ink: #121016;
  --ink-2: #4a4652;
  --line: #e2e6ea;
  --night: #121016;
  --night-2: #1d1a22;
  --on-night: #ffffff;
  --on-night-2: #b9b4c1;
  --teal: #00a6cc;
  --verde: #8fd11b;
  --rojo: #ff3a22;
  --naranja: #ffa01c;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Outfit', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
  --maxw: 1240px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 112px; }
html { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; font-variation-settings: 'SOFT' 40, 'WONK' 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.painted { display: inline-block; position: relative; background: none !important; }
.painted canvas { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); }
.eyebrow i { width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--naranja) 0 25%, var(--rojo) 25% 50%, var(--teal) 50% 75%, var(--verde) 75%); }
.tbc { display: inline-block; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; background: #fff4df; color: #7a4b00; border: 1px dashed #e7a43a; vertical-align: middle; }

/* Barra de progreso: la pincelada en miniatura */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--naranja), var(--rojo), var(--teal), var(--verde)); }

/* Navegación */
.nav { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: fixed; top: env(safe-area-inset-top, 0px); inset-inline: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; }
.brand { display: block; line-height: 0; }
.brand svg { height: 84px; width: auto; overflow: hidden; }
@media (max-width: 760px) { .brand svg { height: 58px; } }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.menu a { font-weight: 500; font-size: 16px; text-decoration: none; padding: 10px 2px; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.menu a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2.5px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: transform .3s; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 99px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; border: 0; position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease-out), color .3s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--naranja), var(--rojo), var(--teal), var(--verde)); transform: translateX(-101%); transition: transform .38s var(--ease-out); }
.btn-ink { transition: transform .3s var(--ease-out), color .12s .18s; }
.btn-ink:hover::before { transform: translateX(0); }
.btn-ink:hover { color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* La pincelada que recorre la página */
.paintline { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main { position: relative; }
main > section { position: relative; z-index: 1; }

/* Hero: el lienzo. Una C gigante pintada en vivo detrás del lema, que entra con golpe */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 132px; overflow: hidden; }
.hero-paint, .hero-burst { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-paint { z-index: 0; }
.hero-burst { z-index: 2; }
.hero-in { position: relative; z-index: 1; display: grid; gap: clamp(26px, 4.5vh, 56px); padding-bottom: clamp(34px, 6vh, 70px); }
.kicker { font: 500 clamp(16px, 1.3vw, 19px) var(--body); color: var(--ink-2); letter-spacing: .01em; margin-bottom: calc(clamp(26px, 4.5vh, 56px) * -.55); }
.kicker b { font: 700 italic 1.15em var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink); }
.lema { font-size: clamp(58px, 11.4vw, 188px); line-height: .88; font-weight: 800; letter-spacing: -.048em; display: grid; margin: 0; }
.lema .l1, .lema .l2 { display: block; }
.lema .l2 { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.03em; padding-left: .55em; }
.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; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 90px); align-items: end; }
.claim { font: 650 clamp(26px, 2.6vw, 40px)/1.08 var(--display); max-width: 15em; letter-spacing: -.025em; font-variation-settings: 'SOFT' 40, 'WONK' 0; }
.claim em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl canvas { position: absolute; left: -3%; bottom: -.16em; width: 106%; height: .46em; z-index: -1; }
.hero-side { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 24px; padding: clamp(18px, 2vw, 26px); box-shadow: 0 24px 50px -30px rgba(18, 16, 22, .45); justify-self: end; max-width: 520px; }
.hero .lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 108px; }
  .hero-in { gap: 22px; }
  .lema .l2 { padding-left: .25em; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
}

/* Cinta del lema */
.marquee-clip { overflow: hidden; padding-block: 20px; margin-block: 10px 0; }
.marquee { background: var(--night); color: var(--on-night); overflow: hidden; padding-block: 22px; transform: rotate(-1.4deg); width: 104%; margin-left: -2%; position: relative; z-index: 2; }
.marquee .track { display: flex; width: max-content; will-change: transform; }
.marquee span { font: 500 italic clamp(28px, 4vw, 54px)/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; padding-inline: 26px; display: inline-flex; align-items: center; gap: 52px; white-space: nowrap; }
.marquee span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--teal)); }

/* Encabezados de sección */
.sec { padding-block: clamp(90px, 12vw, 160px); }
.sec-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 76px); }
.sec-head h2 em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.sec-head p { font-size: 19px; color: var(--ink-2); max-width: 40em; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { --c: var(--teal); position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(28px, 3.4vw, 46px); background: var(--paper-2); display: grid; gap: 16px; align-content: start; min-height: 340px; transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--c); clip-path: circle(0% at var(--mx, 15%) var(--my, 15%)); transition: clip-path .7s var(--ease-out); }
.svc:hover::before, .svc:focus-within::before { clip-path: circle(150% at var(--mx, 15%) var(--my, 15%)); }
.svc:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(18, 16, 22, .45); }
.svc .stroke { width: 132px; height: 40px; display: block; }
.svc h3, .svc h2 { font-size: clamp(28px, 2.8vw, 40px); }
.svc p { color: var(--ink-2); max-width: 30em; transition: color .4s; }
.svc:hover p, .svc:focus-within p { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { list-style: none; font-size: 14px; font-weight: 500; padding: 7px 13px; border-radius: 99px; background: var(--paper); }
.chips { padding: 0; margin-bottom: 0; }

/* Números */
.numbers { background: var(--night); color: var(--on-night); border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(8px, 2vw, 24px); overflow: hidden; }
.numbers .grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 28px; }
.num { display: grid; gap: 10px; align-content: start; }
.num strong { font: 700 clamp(56px, 7vw, 104px)/1 var(--display); font-variation-settings: 'SOFT' 60, 'WONK' 1; font-variant-numeric: tabular-nums; color: var(--c); }
.num span { color: var(--on-night-2); font-size: 17px; max-width: 16em; }
.numbers .sec-head p { color: var(--on-night-2); }
.numbers .eyebrow { color: var(--on-night-2); }

/* Proceso */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; gap: clamp(18px, 3vw, 40px); padding-top: 64px; }
.steps .rail { position: absolute; top: -14px; left: 0; width: 100%; height: 70px; }
.step { display: grid; gap: 12px; align-content: start; }
.step .n { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 700 22px var(--display); background: var(--c); color: var(--ink); }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); }
.step p { color: var(--ink-2); font-size: 17px; }

/* Proyectos (galería horizontal) */
.work { overflow: hidden; }
.work .rail-wrap { padding-inline: var(--gutter); }
.work .track { display: flex; gap: 22px; width: max-content; padding-bottom: 12px; }
.card { width: clamp(280px, 34vw, 470px); flex: none; display: grid; gap: 16px; text-decoration: none; }
.card .art { aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; position: relative; transition: transform .6s var(--ease-out); }
.card .art svg { width: 100%; height: 100%; display: block; }
.card:hover .art { transform: rotate(-1.5deg) scale(1.02); }
.card .meta { display: grid; gap: 8px; align-content: start; }
.case { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 6px 0 0; font-size: 15px; }
.case dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.case dd { margin: 0; color: var(--ink); }
.case .res { color: var(--ink-2); font-style: italic; }
.card h3, .card h2 { font-size: 24px; line-height: 1.1; }
.card .cat { font: 500 italic 15px var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--ink-2); }
.card .demo { position: absolute; left: 16px; top: 16px; }

@media (min-width: 761px) {
  .work { padding-block: clamp(96px, 12vh, 120px) 40px; }
  .work .sec-head { max-width: none; margin-bottom: clamp(20px, 3vh, 34px); gap: 10px; }
  .work .sec-head h2 { font-size: clamp(36px, 4.4vw, 64px); }
  .card { --h: clamp(260px, calc(100svh - 360px), 560px); width: auto; grid-template-columns: calc(var(--h) * .8) 300px; gap: 24px; align-items: start; }
  .card .art { height: var(--h); aspect-ratio: auto; }
}

/* Estrategia: la base de los servicios */
.strategy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); background: var(--night); color: var(--on-night); border-radius: 28px; padding: clamp(28px, 4vw, 52px); margin-bottom: 20px; }
.strategy-tag { display: inline-block; font: 600 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); }
.strategy h3, .strategy h2 { font-size: clamp(34px, 3.6vw, 52px); margin-block: 10px 14px; }
.strategy-head p { color: var(--on-night-2); max-width: 32em; }
.strategy-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; }
.strategy-list li { display: grid; gap: 4px; padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.strategy-list li:first-child { border-top: 0; }
.strategy-list b { font: 600 20px var(--display); }
.strategy-list span { color: var(--on-night-2); font-size: 16px; }
@media (max-width: 860px) { .strategy { grid-template-columns: minmax(0, 1fr); } }

/* Servicios: para cuándo, resultado y acompañamiento */
.when { font-size: 17px; line-height: 1.35; color: var(--ink); font-style: italic; font-family: var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.gain { display: grid; gap: 2px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(18, 16, 22, .1); font-weight: 500; color: var(--ink) !important; }
.gain b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.retainer { margin-top: 0; margin-bottom: 0; }
.step .get { display: grid; gap: 2px; font-size: 15px; color: var(--ink); background: var(--paper-2); border-radius: 12px; padding: 10px 14px; }
.step .get b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(255, 255, 255, .18); }
.timeline li { position: relative; padding-top: 28px; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--naranja); }
.timeline li:nth-child(2)::before { background: var(--rojo); } .timeline li:nth-child(3)::before { background: var(--teal); } .timeline li:nth-child(4)::before { background: var(--verde); }
.timeline b { font: 600 20px var(--display); }
.timeline span { color: var(--on-night-2); font-size: 16px; }
@media (max-width: 760px) { .timeline { grid-template-columns: minmax(0, 1fr); } .timeline::before { display: none; } }

/* Historia: marcador de capítulo que acompaña el scroll */
.story { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: 0 14px 34px -16px rgba(18, 16, 22, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; opacity: 0; translate: 0 12px; transition: opacity .4s, translate .4s var(--ease-out); pointer-events: none; }
.story.on { opacity: 1; translate: 0 0; }
.story-n { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--ink-2); }
.story-name { font: 600 italic 16px var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; min-width: 9ch; }
.story-bar { display: flex; gap: 4px; }
.story-bar i { width: 18px; height: 6px; border-radius: 3px; background: #e2e6ea; transition: background .4s; }
.story-bar i.done:nth-child(4n+1) { background: var(--teal); } .story-bar i.done:nth-child(4n+2) { background: var(--verde); }
.story-bar i.done:nth-child(4n+3) { background: var(--rojo); } .story-bar i.done:nth-child(4n+4) { background: var(--naranja); }
.quotes-title { font-size: clamp(22px, 2.2vw, 30px); margin: clamp(44px, 6vw, 72px) 0 22px; }
@media (max-width: 560px) { .story { left: 12px; right: auto; padding: 8px 12px; gap: 8px; } .story-bar i { width: 10px; } }
@media (prefers-reduced-motion: reduce) { .story { transition: none; } }

/* Formulario de propuesta */
.proposal { text-align: left; max-width: 860px; margin: clamp(48px, 7vw, 80px) auto 0; background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; box-shadow: 0 30px 60px -40px rgba(18, 16, 22, .5); position: relative; z-index: 1; }
.p-head h3, .p-head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.p-head p { color: var(--ink-2); margin-top: 6px; }
.p-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proposal .field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.proposal label, .proposal legend { font-weight: 600; font-size: 15px; padding: 0; }
.hint { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.proposal input:not([type=checkbox]):not([type=radio]) { min-height: 50px; border: 1.5px solid #cfd6dc; border-radius: 14px; padding: 0 16px; font: 400 16px var(--body); color: var(--ink); background: #fff; width: 100%; }
.proposal input:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid #cfd6dc; font-weight: 500 !important; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.err { color: #b3261e; font-size: 14px; font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.field.bad input:not([type=checkbox]):not([type=radio]) { border-color: #b3261e; }
.proposal .btn { justify-self: start; }
.p-ok { background: #e6f7dc; color: #2d5a06; border-radius: 14px; padding: 14px 18px; font-weight: 500; }
@media (max-width: 640px) { .p-row { grid-template-columns: minmax(0, 1fr); } .proposal .btn { justify-self: stretch; } }

/* WhatsApp */
.btn-wa { background: #157a42; color: #fff; }
.btn-wa:hover { background: #0f5f33; }
.btn-wa .wa-ico, .btn .wa-ico { width: 20px; height: 20px; }
.ci .val .wa-ico { width: .8em; height: .8em; margin-right: .25em; vertical-align: -.06em; color: #1f9e55; }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; }
.foot-wa .wa-ico { width: 18px; height: 18px; color: #4fd187; }
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 46; width: 60px; height: 60px; border-radius: 50%; background: #157a42; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(18, 16, 22, .55); transition: transform .3s var(--ease-out), background .3s; }
.wa-float:hover { transform: scale(1.08); background: #0f5f33; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; } }

/* Casos reales */
.card.real { text-decoration: none; }
.card.real .art { display: block; background: var(--paper-2); }
.card.real picture, .card.real .art img { display: block; width: 100%; height: 100%; }
.card.real .art img { object-fit: cover; }
.card .what { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.thumbs { display: flex; gap: 10px; margin-top: 6px; }
.thumb { width: 92px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; display: block; outline-offset: 2px; transition: transform .3s var(--ease-out); }
.thumb:hover { transform: translateY(-3px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Visor de proyectos */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lb::backdrop { background: rgba(10, 9, 13, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background .45s, backdrop-filter .45s, -webkit-backdrop-filter .45s; }
.lb.on::backdrop { background: rgba(10, 9, 13, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lb-img { display: block; max-width: calc(100vw - 2 * clamp(16px, 7vw, 110px)); max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform-origin: center; will-change: transform; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 18px clamp(16px, 4vw, 40px) calc(22px + env(safe-area-inset-bottom, 0px)); color: #fff; opacity: 0; translate: 0 10px; transition: opacity .35s .15s, translate .45s .15s var(--ease-out); }
.lb-cap { display: grid; gap: 2px; }
.lb-cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #b9b4c1; }
.lb-title { font: 600 clamp(20px, 2.2vw, 28px) var(--display); }
.lb-count { font-variant-numeric: tabular-nums; color: #b9b4c1; font-size: 14px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .35s .15s, background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); transform: scale(1.06); }
.lb-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }
.lb.on .lb-bar, .lb.on .lb-btn { opacity: 1; translate: 0 0; }
@media (max-width: 640px) { .lb-img { max-width: calc(100vw - 24px); max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); } .lb-prev, .lb-next { top: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); margin-top: 0; width: 46px; height: 46px; } .lb-prev { left: 12px; } .lb-next { right: 12px; } }
@media (prefers-reduced-motion: reduce) { .lb::backdrop, .lb-bar, .lb-btn { transition: none; } }
.card.real a.art, .card.real a.thumb { cursor: zoom-in; }

.art-text { display: grid !important; place-items: center; background: radial-gradient(circle at 20% 25%, var(--naranja), transparent 55%), radial-gradient(circle at 80% 30%, var(--rojo), transparent 55%), radial-gradient(circle at 30% 85%, var(--teal), transparent 55%), radial-gradient(circle at 85% 80%, var(--verde), transparent 55%), var(--night) !important; }
.art-text span { font: 700 italic clamp(28px, 3vw, 44px) var(--display); color: #fff; font-variation-settings: 'SOFT' 100, 'WONK' 1; text-align: center; padding: 0 16px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.cases-close { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--paper-2); display: grid; gap: 14px; max-width: 900px; }
.cases-close h2 { font-size: clamp(30px, 3.4vw, 46px); }
.cases-close h2 em, .cases-close .sign em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.cases-close p { color: var(--ink-2); max-width: 46em; }
.cases-close .sign { color: var(--ink); font: 650 clamp(20px, 2vw, 26px) var(--display); }

.clients { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 18px; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(24px, 4vw, 56px); }
.clients li { font: 650 clamp(22px, 2.6vw, 36px)/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); position: relative; }
.clients li:not(:last-child)::after { content: ""; position: absolute; right: calc(-.5 * clamp(24px, 4vw, 56px) - 5px); top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--c, var(--teal)); }
.clients li:nth-child(1)::after { --c: var(--naranja); } .clients li:nth-child(2)::after { --c: var(--rojo); } .clients li:nth-child(3)::after { --c: var(--teal); }
.clients + .cases-close { margin-top: clamp(40px, 5vw, 64px); }

/* Servicios: nota final */
.svc-note { margin-top: clamp(28px, 4vw, 48px); font: 500 clamp(22px, 2.2vw, 30px)/1.25 var(--display); letter-spacing: -.02em; max-width: 30em; }
.svc-note em, .why-close em, .man-close em, .about-sign em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }

/* Por qué Créatif */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.why-head { margin-bottom: 0; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; }
.why-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding-block: 24px; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list i { grid-row: span 2; width: 42px; height: 16px; margin-top: 10px; }
.why-list h3, .why-list h2 { font-size: clamp(22px, 2vw, 28px); }
.why-list p { color: var(--ink-2); }
.why-close { grid-column: 1 / -1; margin-top: 10px; font: 600 clamp(24px, 2.6vw, 36px)/1.2 var(--display); letter-spacing: -.02em; max-width: 30em; }

/* Pequeños grandes emprendedores (sección oscura) */
.man-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; max-width: 980px; }
.man-body p { color: var(--on-night-2); font-size: 18px; }
.man-close { margin-top: 42px; font: 600 clamp(26px, 3vw, 42px)/1.15 var(--display); letter-spacing: -.02em; }
.on-dark { color: var(--on-night-2) !important; }

/* Testimonios: espacio listo para citas reales */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { position: relative; margin: 0; padding: 28px 28px 24px; border-radius: 24px; background: var(--paper-2); display: grid; gap: 14px; }
.quote .qm { font: 700 72px/0.6 var(--display); color: var(--c); height: 34px; }
.ghost { display: grid; gap: 10px; }
.ghost i { display: block; height: 12px; border-radius: 6px; background: #dfe5ea; }
.ghost i:nth-child(2) { width: 88%; } .ghost i:nth-child(3) { width: 60%; }
.quote figcaption { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.quote .stamp { top: -14px; right: 18px; }

/* Quiénes somos */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.about h2 { font-size: clamp(34px, 4.4vw, 62px); margin-top: 18px; }
.about h2 em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.about-body { display: grid; gap: 18px; color: var(--ink-2); font-size: 18px; }
.about-sign { color: var(--ink); font: 650 clamp(24px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -.02em; margin-top: 8px; }
@media (max-width: 860px) {
  .why, .about, .man-body, .quotes { grid-template-columns: minmax(0, 1fr); }
  .ci .val { white-space: normal; }
  }

/* Manifiesto */
.manifesto { background: var(--night); color: var(--on-night); }
.manifesto p.big { font: 500 clamp(30px, 4.2vw, 62px)/1.18 var(--display); letter-spacing: -.02em; font-variation-settings: 'SOFT' 60, 'WONK' 0; max-width: 22em; }
.anim .manifesto .w { opacity: .18; }
.manifesto .w.hi { font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.manifesto .eyebrow { color: var(--on-night-2); margin-bottom: 28px; }

/* Cierre */
.finale { position: relative; text-align: center; overflow: hidden; padding-block: clamp(110px, 14vw, 200px); }
.finale > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.finale h2 { font-size: clamp(54px, 10vw, 160px); font-weight: 750; line-height: .95; }
.finale h2 .l2 { display: block; font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.finale .lead { max-width: 34em; margin: 30px auto 0; color: var(--ink-2); font-size: 20px; }
.finale .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; justify-items: center; text-align: center; gap: clamp(20px, 3vw, 44px) clamp(24px, 5vw, 80px); margin-top: clamp(60px, 8vw, 110px); text-align: left; }
.ci { --c: var(--teal); display: grid; gap: 6px; text-decoration: none; padding-block: 6px; }
.ci .lbl { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ci .lbl .sw { width: 30px; height: 12px; }
.ci .val { font: 600 clamp(24px, 2.3vw, 36px)/1.1 var(--display); white-space: nowrap; letter-spacing: -.02em; position: relative; justify-self: start; overflow-wrap: anywhere; }
.ci .val canvas.under { position: absolute; left: -6px; right: -6px; bottom: -.04em; width: calc(100% + 12px); height: .42em; z-index: -1; }
.sample-note { margin-top: 34px; font: 400 italic 16px var(--display); color: var(--ink-2); text-align: left; }
.stamp { position: absolute; right: 16px; top: 16px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-10deg); border: 3px solid #fff; box-shadow: 0 8px 18px -8px rgba(18, 16, 22, .5); }

footer { padding-block: clamp(64px, 8vw, 100px) 30px; position: relative; z-index: 1; background: var(--night); color: var(--on-night); }
footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--naranja), var(--rojo), var(--teal), var(--verde)); }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.foot-brand svg { height: clamp(96px, 9vw, 128px); width: auto; overflow: hidden; display: block; margin-left: -6px; }
.foot-lema { margin-top: 14px; font: 650 clamp(22px, 2vw, 28px)/1.1 var(--display); letter-spacing: -.02em; }
.foot-lema em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.foot-desc { margin-top: 10px; color: var(--on-night-2); font-size: 16px; max-width: 26em; }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 16px; color: var(--on-night-2); }
.foot-col h2 { font: 600 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night); margin-bottom: 6px; }
.foot-col a { text-decoration: none; padding-block: 3px; }
.foot-col a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; margin-top: clamp(40px, 6vw, 70px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--on-night-2); font-size: 14px; }
.foot-bottom a { color: var(--on-night-2); }
.foot-bottom .top { margin-left: auto; font-weight: 600; color: var(--on-night); text-decoration: none; }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot { grid-template-columns: minmax(0, 1fr); } }

/* Pinceles que pintan la página */
.brush { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 30; will-change: transform; filter: drop-shadow(-6px 14px 10px rgba(18, 16, 22, .22)) drop-shadow(0 2px 2px rgba(18, 16, 22, .2)); }
.brush svg { display: block; overflow: visible; max-width: none; }
.brush.fixed { position: fixed; z-index: 40; opacity: 0; transition: opacity .3s; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }

/* Cursor de pincel y salpicaduras al hacer clic */
.cursor { position: fixed; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--cur, var(--teal)); pointer-events: none; z-index: 80; opacity: 0; scale: 1; transition: scale .25s var(--ease-out), background .3s, opacity .3s; }
.cursor.big { scale: 3; opacity: .5 !important; }
#splat { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }

@media (max-width: 960px) {
  .numbers .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .steps .rail { display: none; }
}
@media (max-width: 760px) {
  .menu { position: fixed; inset: 92px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); padding: 14px; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(18, 16, 22, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease-out); }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: 14px; }
  .menu-btn { display: block; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .work .rail-wrap { overflow-x: auto; scroll-snap-type: x mandatory; }
  .card { scroll-snap-align: start; width: 78vw; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .brush.fixed { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, #splat, .brush, .cover { display: none; }
}

/* Encabezado de cada página */
.page-head { padding-block: clamp(150px, 20vh, 210px) clamp(30px, 5vw, 60px); }
.page-head .sec-head { margin-bottom: 0; }
.page-head h1 { font-size: clamp(44px, 6.6vw, 96px); }
.page-head h1 em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.page-head + section { padding-top: clamp(20px, 3vw, 40px); }

/* Portada: la historia en capítulos */
.chap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.chap { --c: var(--teal); position: relative; display: grid; gap: 10px; align-content: start; min-height: 230px; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--paper-2); text-decoration: none; overflow: hidden; isolation: isolate; transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.chap::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--c); clip-path: circle(0% at 12% 12%); transition: clip-path .7s var(--ease-out); }
.chap:hover::before, .chap:focus-visible::before { clip-path: circle(150% at 12% 12%); }
.chap:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(18, 16, 22, .45); }
.chap-n { font: 700 15px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.chap h3 { font-size: clamp(28px, 3vw, 42px); }
.chap p { color: var(--ink-2); max-width: 30em; }
.chap:hover p, .chap:hover .chap-n { color: var(--ink); }
.chap-go { margin-top: auto; font-weight: 600; }
.chap-go::after { content: " →"; transition: margin .3s; }
.chap:hover .chap-go::after { margin-left: 6px; }

/* Siguiente capítulo */
.next { padding-block: clamp(40px, 6vw, 80px) clamp(70px, 9vw, 120px); }
.next-link { display: grid; gap: 8px; text-decoration: none; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.next-link .eyebrow { color: var(--on-night-2); }
.next-title { font: 700 clamp(40px, 6vw, 88px)/1 var(--display); letter-spacing: -.035em; }
.next-sub { color: var(--on-night-2); font-size: clamp(17px, 1.5vw, 20px); }
.next-arrow { position: absolute; right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.next-arrow svg { width: 40%; height: 40%; }
.next-link:hover .next-arrow { transform: translateX(8px) rotate(-8deg); }

/* Contacto: el lema es el h1 de la página */
.finale h1 { font-size: clamp(54px, 10vw, 160px); font-weight: 750; line-height: .95; }
.finale h1 .l1, .finale h1 .l2 { display: block; }
.finale h1 .l2 { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.finale.chapter { padding-top: clamp(150px, 18vh, 200px); }
.finale .p-head h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 650; line-height: 1.08; }
/* Nosotros: el título vive en una columna */
.why-head h1 { font-size: clamp(38px, 4.4vw, 64px); }
/* Casos: el encabezado no queda bajo el menú */
.work.chapter { padding-top: clamp(130px, 16vh, 150px); }

/* Casos: cuadrícula vertical (sin scroll horizontal fijado) */
.work.as-grid { overflow: visible; }
.work.as-grid .rail-wrap { padding-inline: var(--gutter); max-width: var(--maxw); margin: 0 auto; overflow: visible; }
.work.as-grid .track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); width: auto; transform: none !important; }
.work.as-grid .card { --h: auto; width: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; scroll-snap-align: none; }
.work.as-grid .card .art { height: auto; aspect-ratio: 4 / 5; }
.work.as-grid .track:has(.real) { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(36px, 4vw, 56px); }
.work.as-grid .card.real { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.work.as-grid .card.real .art { aspect-ratio: 4 / 3; border-radius: 20px; }
@media (max-width: 1100px) { .work.as-grid .track:has(.real) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work.as-grid .track:has(.real) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .work.as-grid .track { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .work.as-grid .card { grid-template-columns: minmax(0, 1fr); } .work.as-grid .card .art { aspect-ratio: 4 / 3; } }

/* Menú: página actual */
.menu a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

/* Aviso de privacidad */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.fill { background: #fff1d8; border-radius: 6px; padding: 0 6px; font-weight: 600; color: #7a4b00; }

/* Cambio de página: una pincelada barre la pantalla y descubre la siguiente */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .55s ease both; }
::view-transition-new(root) { animation: vt-in .75s cubic-bezier(.7, 0, .2, 1) both; -webkit-mask: var(--brush-mask) left / 300% 100% no-repeat; mask: var(--brush-mask) left / 300% 100% no-repeat; }
:root { --brush-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H112C108 8 116 14 110 22 118 30 106 38 114 46 108 54 117 62 109 70 116 78 107 86 113 94L111 100H0Z' fill='black'/%3E%3C/svg%3E"); }
@keyframes vt-in { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes vt-out { to { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; -webkit-mask: none; mask: none; } }

@media (max-width: 760px) { .chap-grid { grid-template-columns: minmax(0, 1fr); } .chap { min-height: 0; } .next-arrow { position: static; justify-self: start; margin-top: 10px; } }
