/* ==========================================================
   Tu Agencia · boceto de rediseño (DaVinci Agency)
   Marca: navy #315270 / #112D47 · rosa #F41354 · noche #0E1E2B
   Tipos: Madimi One (display) · Montserrat Alternates (títulos) · Work Sans (texto)
   ========================================================== */
:root {
  --navy: #315270;
  --navy-900: #112d47;
  --night: #0e1e2b;
  --night-2: #13283a;
  --pink: #f41354;
  --pink-2: #ff1053;
  --pink-soft: #ffe3eb;
  --sky: #1ba0c7;
  --sun: #ffcf27;
  --paper: #f9f7f5;
  --white: #ffffff;
  --ink: #112d47;
  --muted: #5d6b78;
  --line: rgba(17, 45, 71, .12);
  --grad: linear-gradient(125deg, #ff1053 0%, #b8286a 45%, #315270 100%);
  --grad-soft: linear-gradient(125deg, rgba(255, 16, 83, .14), rgba(49, 82, 112, .14));
  --f-display: "Madimi One", system-ui, sans-serif;
  --f-title: "Montserrat Alternates", system-ui, sans-serif;
  --f-body: "Work Sans", system-ui, sans-serif;
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 1px 2px rgba(17, 45, 71, .06), 0 12px 32px -12px rgba(17, 45, 71, .22);
  --shadow-lg: 0 2px 6px rgba(17, 45, 71, .08), 0 40px 80px -30px rgba(17, 45, 71, .45);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.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: 999; background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-title); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #ff7fa3; }
.h-display { font-family: var(--f-display); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0; }
.h-title { font-family: var(--f-title); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; font-size: clamp(30px, 4.4vw, 56px); }
.h-title em, .h-display em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }

/* split text */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--pink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px;
  font-family: var(--f-title); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  color: #fff; background: var(--bg);
  box-shadow: 0 10px 30px -10px rgba(244, 19, 84, .7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-900);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .6s var(--ease);
}
.btn:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.btn:hover { box-shadow: 0 18px 40px -12px rgba(17, 45, 71, .6); }
.btn:active { transform: scale(.97); }
.btn .arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; }
.btn .arrow svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.btn .arrow svg + svg { position: absolute; transform: translateX(-200%); }
.btn:hover .arrow svg:first-child { transform: translateX(200%); }
.btn:hover .arrow svg + svg { transform: translateX(0); }
.btn.ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: #fff; }
.btn.ghost .arrow { background: var(--grad-soft); }
.btn.on-dark.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.btn.on-dark.ghost::before { background: #fff; }
.btn.on-dark.ghost:hover { color: var(--ink); }
.btn.white { --bg: #fff; color: var(--ink); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); }
.btn.white::before { background: var(--pink); }
.btn.white:hover { color: #fff; }
.btn.lg { padding: 22px 34px; font-size: 18px; }
.btn .shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite 2s; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.link-u { position: relative; font-weight: 600; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1000; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--pink); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s; display: grid; place-items: center; font: 600 11px/1 var(--f-title); color: #fff; letter-spacing: .08em; text-transform: uppercase; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--pink); }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(244, 19, 84, .12); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--pink); border-color: var(--pink); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 2000; background: var(--night); display: grid; place-items: center; color: #fff; }
.preloader .pl-inner { display: grid; justify-items: center; gap: 22px; }
.preloader .pl-balloon { width: 84px; animation: floaty 2.4s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(244, 19, 84, .6)); }
.preloader .pl-count { font-family: var(--f-display); font-size: 64px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.preloader .pl-bar { width: 180px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.preloader .pl-bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.no-js .preloader { display: none; }

/* ---------- Progreso de scroll ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 14px 0 auto; z-index: 100; transition: transform .6s var(--ease); }
.header.is-hidden { transform: translateY(-130%); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(14, 30, 43, .55);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.header.is-scrolled .nav { background: rgba(14, 30, 43, .82); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .55); }
.nav .logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: 10px 16px; border-radius: 999px; color: rgba(255, 255, 255, .78); font: 500 14px/1 var(--f-title); letter-spacing: .02em; transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--pink); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
.nav .btn .arrow { width: 22px; height: 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; display: grid; align-content: center; padding: 100px 24px 40px; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a.big { display: block; font: 400 clamp(40px, 11vw, 64px)/1.1 var(--f-display); padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.mobile-menu a.big:hover { color: var(--pink); }
.menu-open .mobile-menu a.big { opacity: 1; transform: none; }
.menu-open .mobile-menu a.big:nth-child(2) { transition-delay: .08s; }
.menu-open .mobile-menu a.big:nth-child(3) { transition-delay: .16s; }
.menu-open .mobile-menu a.big:nth-child(4) { transition-delay: .24s; }
.menu-open .mobile-menu a.big:nth-child(5) { transition-delay: .32s; }
.mobile-menu .mm-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 150px 0 90px; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.hero-bg .b1 { width: 620px; height: 620px; background: #ff1053; left: -180px; top: -160px; opacity: .45; animation: drift1 18s ease-in-out infinite alternate; }
.hero-bg .b2 { width: 720px; height: 720px; background: #315270; right: -220px; top: 10%; animation: drift2 22s ease-in-out infinite alternate; }
.hero-bg .b3 { width: 420px; height: 420px; background: #1ba0c7; left: 35%; bottom: -220px; opacity: .35; animation: drift1 20s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 60px) scale(.9); } }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.hero-spot { position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 40%), rgba(255, 16, 83, .16), transparent 60%); pointer-events: none; }
.grain { position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); } 60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, -2%); } 100% { transform: translate(0, 0); } }

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero .badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); }
.hero .badge b { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--pink); color: #fff; font: 600 12px/1 var(--f-title); }
.hero .badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
.hero h1 { font-size: clamp(42px, 5.4vw, 80px); margin: 24px 0 22px; }
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl em { background: linear-gradient(100deg, #ff1053, #ff7fa3 40%, #ff1053 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero h1 .scribble { position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .scribble path { stroke: var(--pink); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.hero .sub { font-size: clamp(18px, 1.7vw, 22px); color: rgba(255, 255, 255, .72); max-width: 34ch; margin: 0 0 36px; }
.hero .sub strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-proof .pf { display: grid; gap: 2px; }
.hero-proof .pf b { font: 400 34px/1 var(--f-display); color: #fff; }
.hero-proof .pf span { font-size: 13px; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }
.hero-proof .avatars { display: flex; align-items: center; gap: 12px; }
.hero-proof .avatars .stack { display: flex; }
.hero-proof .avatars img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--night); margin-left: -10px; object-fit: cover; background: #fff; }
.hero-proof .avatars img:first-child { margin-left: 0; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-visual .card-illu { position: absolute; inset: 8% 4% 12% 8%; border-radius: var(--r-lg); background: #fff; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 8%; transform-style: preserve-3d; overflow: hidden; }
.hero-visual .card-illu::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .55), transparent 45%); mix-blend-mode: soft-light; pointer-events: none; }
.hero-visual .ring { position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: spin 60s linear infinite; }
.hero-visual .balloon { position: absolute; width: 22%; right: -2%; top: -6%; filter: drop-shadow(0 20px 30px rgba(244, 19, 84, .45)); }
.hero-visual .chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-lg); font: 600 14px/1.2 var(--f-title); white-space: nowrap; }
.hero-visual .chip small { display: block; font: 400 12px/1.3 var(--f-body); color: var(--muted); }
.hero-visual .chip .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); }
.hero-visual .chip.c1 { left: -8%; top: 22%; }
.hero-visual .chip.c2 { right: -8%; top: 40%; }
.hero-visual .chip.c3 { left: 6%; bottom: 2%; }
.hero-visual .chip .ic svg { width: 18px; height: 18px; }

.talk-badge { position: absolute; right: 4%; bottom: 7%; z-index: 3; width: 138px; height: 138px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 30, 43, .6); backdrop-filter: blur(6px); }
.talk-badge img { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.talk-badge span { width: 66px; height: 66px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; color: #fff; font: 600 13px/1.1 var(--f-title); text-align: center; transition: transform .5s var(--ease-back); }
.talk-badge:hover span { transform: scale(1.14) rotate(-8deg); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.float { animation: floaty 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; }
.float.d3 { animation-delay: -4s; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .5); font: 500 11px/1 var(--f-title); letter-spacing: .2em; text-transform: uppercase; z-index: 2; }
.scroll-hint i { width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--pink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--pink); color: #fff; padding: 22px 0; overflow: hidden; transform: rotate(-1.6deg) scale(1.02); margin-top: -26px; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(244, 19, 84, .6); }
.marquee.alt { background: var(--navy-900); transform: rotate(1.4deg) scale(1.02); margin-top: -8px; z-index: 2; padding: 16px 0; }
.marquee.alt .marquee-track span { font-size: clamp(18px, 2.2vw, 28px); color: rgba(255, 255, 255, .85); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 32s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 40s; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 400 clamp(22px, 3vw, 38px)/1 var(--f-display); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 22px; height: 22px; background: url("../img/LOGO_MAQUETACION_ej-09.png") center/contain no-repeat; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problema → Solución ---------- */
.pain { background: var(--paper); }
.pain-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.pain-intro .quote { font: 400 clamp(26px, 3vw, 38px)/1.2 var(--f-title); color: var(--navy-900); margin: 0; }
.pain-intro .quote em { font-style: normal; color: var(--pink); }
.switcher { display: inline-flex; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); position: relative; margin-bottom: 34px; }
.switcher button { position: relative; z-index: 1; padding: 12px 22px; border-radius: 999px; font: 600 14px/1 var(--f-title); color: var(--muted); transition: color .4s; }
.switcher button[aria-selected="true"] { color: #fff; }
.switcher .pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease), background .4s; }
.switcher.is-after .pill { background: var(--pink); }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain-item { position: relative; display: grid; grid-template-columns: 70px 1fr 48px; align-items: center; gap: 22px; padding: 26px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.pain-item:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.pain-item .n { font: 400 42px/1 var(--f-display); color: rgba(17, 45, 71, .18); transition: color .5s; }
.pain-item .txt { position: relative; min-height: 1.5em; font: 500 clamp(17px, 1.6vw, 21px)/1.35 var(--f-title); }
.pain-item .txt span { display: block; transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s; }
.pain-item .txt .after { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); filter: blur(6px); color: var(--navy-900); }
.pain-item .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fbe6ec; color: var(--pink); transition: background .5s, color .5s, transform .6s var(--ease-back); }
.pain-item .ico svg { width: 20px; height: 20px; }
.pain-item .ico .ok { display: none; }
.pain-item::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); z-index: 0; }
.pain-item > * { position: relative; z-index: 1; }
.pain.is-after .pain-item::before { transform: scaleX(1); }
.pain.is-after .pain-item .n { color: var(--pink); }
.pain.is-after .pain-item .txt .before { opacity: 0; transform: translateY(-18px); filter: blur(6px); }
.pain.is-after .pain-item .txt .after { opacity: 1; transform: none; filter: none; }
.pain.is-after .pain-item .ico { background: var(--pink); color: #fff; transform: rotate(360deg); }
.pain.is-after .pain-item .ico .ok { display: block; }
.pain.is-after .pain-item .ico .ko { display: none; }
.pain-item:nth-child(2)::before, .pain-item:nth-child(2) .txt span { transition-delay: .06s; }
.pain-item:nth-child(3)::before, .pain-item:nth-child(3) .txt span { transition-delay: .12s; }
.pain-item:nth-child(4)::before, .pain-item:nth-child(4) .txt span { transition-delay: .18s; }
.pain-item:nth-child(5)::before, .pain-item:nth-child(5) .txt span { transition-delay: .24s; }
.pain-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 30px 34px; border-radius: var(--r); background: var(--night); color: #fff; }
.pain-foot p { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, .75); }
.pain-foot p b { color: #fff; }

/* ---------- Servicios (tarjetas) ---------- */
.services { background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.svc {
  --a: var(--pink);
  position: relative; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s;
  overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 19, 84, .13), transparent 60%); }
.svc:hover::before { opacity: 1; }
.svc:hover { box-shadow: var(--shadow-lg); background: #fff; }
.svc .num { position: absolute; top: 22px; right: 26px; font: 400 15px/1 var(--f-display); color: rgba(17, 45, 71, .3); }
.svc .illu { width: 150px; height: 150px; margin: 0 0 22px -8px; transform: translateZ(40px); transition: transform .8s var(--ease-back); }
.svc:hover .illu { transform: translateZ(60px) scale(1.08) rotate(-4deg); }
.svc h3 { font: 600 26px/1.15 var(--f-title); margin: 0 0 12px; letter-spacing: -.02em; }
.svc p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.svc p.strong { color: var(--ink); font-weight: 500; }
.svc .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--f-title); color: var(--pink); }
.svc .more svg { width: 18px; transition: transform .45s var(--ease); }
.svc:hover .more svg { transform: translateX(6px); }

/* ---------- Manifiesto / inspiración ---------- */
.manifest { background: var(--night); color: #fff; overflow: hidden; }
.manifest .big { font: 400 clamp(36px, 6vw, 88px)/1.06 var(--f-display); margin: 0; max-width: 17ch; }
.manifest .big .w { opacity: .15; transition: opacity .3s; }
.manifest-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; margin-top: 70px; }
.manifest-grid p { color: rgba(255, 255, 255, .72); font-size: 19px; margin: 0 0 18px; }
.manifest-grid p strong { color: #fff; font-weight: 500; }
.manifest .photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.2; }
.manifest .photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.manifest .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14, 30, 43, .8)); }
.manifest .photo figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; align-items: center; gap: 12px; font: 500 15px/1.3 var(--f-title); }
.manifest .photo figcaption img { width: 34px; height: auto; }

/* ---------- Servicios en detalle (stack pegajoso) ---------- */
.detail { background: var(--paper); }
.stack { display: grid; gap: 28px; }
.stack-card { position: sticky; top: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); min-height: 520px; transform-origin: 50% 0; }
.stack-card:nth-child(2) { top: 130px; }
.stack-card:nth-child(3) { top: 150px; }
.stack-card .txt { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.stack-card .kicker { font: 500 14px/1 var(--f-title); color: var(--pink); letter-spacing: .04em; }
.stack-card h3 { font: 600 clamp(30px, 3.4vw, 46px)/1.05 var(--f-title); margin: 0; letter-spacing: -.02em; }
.stack-card p { color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.chips li { list-style: none; padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 500 14px/1 var(--f-title); transition: background .35s, color .35s, transform .4s var(--ease-back), border-color .35s; }
.chips li:hover { background: var(--pink); color: #fff; border-color: var(--pink); transform: translateY(-3px); }
.chips { padding: 0; }
.stack-card .txt .btn { align-self: flex-start; margin-top: auto; }
.stack-card .media { position: relative; overflow: hidden; background: var(--grad); display: grid; place-items: center; }
.stack-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stack-card:hover .media img { transform: scale(1.06); }
.stack-card .media.illu { background: linear-gradient(135deg, #ffe3eb, #e1f3f8); }
.stack-card .media.illu img { width: 70%; height: auto; object-fit: contain; }
.stack-card.dark { background: var(--night); color: #fff; }
.stack-card.dark p { color: rgba(255, 255, 255, .7); }
.stack-card.dark .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.stack-card.navy { background: var(--navy); color: #fff; }
.stack-card.navy p { color: rgba(255, 255, 255, .75); }
.stack-card.navy .chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
.stack-card.navy .kicker, .stack-card.dark .kicker { color: #ff7fa3; }

/* ---------- Proceso ---------- */
.process { background: #fff; overflow: hidden; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.timeline svg.line { position: absolute; left: 0; right: 0; top: 36px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.timeline svg.line path { fill: none; stroke: var(--pink); stroke-width: 2.5; stroke-dasharray: 8 10; }
.timeline svg.line path.base { stroke: var(--line); stroke-dasharray: none; }
.step { position: relative; z-index: 1; }
.step .dot { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font: 400 30px/1 var(--f-display); color: var(--navy-900); margin-bottom: 28px; transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease-back); }
.step.is-on .dot { background: var(--pink); border-color: var(--pink); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 10px rgba(244, 19, 84, .12); }
.step h3 { font: 600 24px/1.2 var(--f-title); margin: 0 0 12px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.launch { margin-top: 70px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; text-align: center; font: 400 clamp(26px, 3.4vw, 44px)/1.15 var(--f-display); }
.launch img { width: 56px; }

/* ---------- Proyectos ---------- */
.work { background: var(--night); color: #fff; }
.work .section-head .lead { color: rgba(255, 255, 255, .65); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); font: 500 14px/1 var(--f-title); color: rgba(255, 255, 255, .75); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-back); }
.filters button:hover { transform: translateY(-2px); color: #fff; border-color: rgba(255, 255, 255, .4); }
.filters button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.proj { grid-column: span 2; position: relative; border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 4 / 3.1; cursor: none; transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s; }
.proj.wide { grid-column: span 3; aspect-ratio: 16 / 10; }
.proj.is-out { opacity: .15; transform: scale(.96); filter: grayscale(1); pointer-events: none; }
.proj .shot { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #f4f1ee, #e8eef3); padding: 7% 7% 20%; }
.proj .shot img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); filter: drop-shadow(0 20px 30px rgba(17, 45, 71, .22)); }
.proj:hover .shot img { transform: scale(1.06) translateY(-6px); }
.proj .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; background: linear-gradient(180deg, rgba(14, 30, 43, 0), rgba(14, 30, 43, .92) 45%); color: #fff; transform: translateY(calc(100% - 78px)); transition: transform .6s var(--ease); }
.proj:hover .info, .proj:focus-within .info { transform: none; }
.proj .info .tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--pink); font: 600 11px/1 var(--f-title); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.proj .info h3 { margin: 0 0 8px; font: 600 20px/1.2 var(--f-title); }
.proj .info p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.5; }

.proj-cta { grid-column: span 4; border-radius: var(--r); padding: clamp(26px, 3vw, 44px); background: var(--grad); background-size: 200% 200%; animation: gradmove 10s ease infinite; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; }
.proj-cta h3 { margin: 0; font: 400 clamp(30px, 3.4vw, 50px)/1.02 var(--f-display); max-width: 14ch; }
.proj-cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 40ch; }
.proj-cta .btn { align-self: flex-start; }
.proj-cta > img { position: absolute; right: -20px; bottom: -30px; width: 200px; opacity: .25; }

/* ---------- Testimonios ---------- */
.reviews { background: var(--paper); overflow: hidden; }
.reviews-row { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; }
.reviews-row:hover { animation-play-state: paused; }
.review { width: min(440px, 82vw); flex: none; padding: 32px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px; transition: transform .5s var(--ease), box-shadow .5s; }
.review:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.review .qm { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 400 34px/1 var(--f-display); padding-top: 10px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review footer img, .review footer .ini { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.review footer .ini { display: grid; place-items: center; background: var(--navy); color: #fff; font: 400 20px/1 var(--f-display); }
.review footer b { display: block; font: 600 16px/1.2 var(--f-title); }
.review footer span { font-size: 14px; color: var(--pink); }
.reviews-mask { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* ---------- CTA grande ---------- */
.cta-band { position: relative; padding: clamp(90px, 12vw, 160px) 0; background: var(--grad); background-size: 200% 200%; animation: gradmove 12s ease infinite; color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
@keyframes gradmove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band .h-display { font-size: clamp(42px, 7vw, 104px); max-width: 15ch; margin: 18px auto 24px; }
.cta-band p { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .85); max-width: 52ch; margin: 0 auto 40px; }
.cta-band .balloons img { position: absolute; z-index: -1; opacity: .2; }
.cta-band .balloons .bl1 { width: 180px; left: 6%; top: 12%; }
.cta-band .balloons .bl2 { width: 110px; right: 10%; top: 20%; }
.cta-band .balloons .bl3 { width: 80px; left: 22%; bottom: 10%; }
.cta-band .balloons .bl4 { width: 140px; right: 20%; bottom: -30px; }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.magnetic { display: inline-block; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-side { position: sticky; top: 120px; display: grid; gap: 22px; }
.faq-side .help { padding: 28px; border-radius: var(--r); background: var(--paper); display: grid; gap: 14px; }
.faq-side .help b { font: 600 20px/1.2 var(--f-title); }
.faq-side .help p { margin: 0; color: var(--muted); font-size: 16px; }
.acc { border-bottom: 1px solid var(--line); }
.acc button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font: 500 clamp(17px, 1.5vw, 20px)/1.35 var(--f-title); color: var(--ink); transition: color .3s; }
.acc button:hover { color: var(--pink); }
.acc .pm { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.acc .pm::after { transform: rotate(90deg); }
.acc.is-open .pm { background: var(--pink); border-color: var(--pink); color: #fff; transform: rotate(180deg); }
.acc.is-open .pm::after { transform: rotate(0); }
.acc .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc.is-open .panel { grid-template-rows: 1fr; }
.acc .panel > div { overflow: hidden; }
.acc .panel p { margin: 0 0 26px; color: var(--muted); max-width: 64ch; }

/* ---------- Contacto + newsletter ---------- */
.contact { background: var(--night); color: #fff; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact .lead { color: rgba(255, 255, 255, .7); }
.contact-ways { display: grid; gap: 14px; margin-top: 34px; }
.way { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .4s, transform .5s var(--ease), border-color .4s; }
.way:hover { background: rgba(255, 255, 255, .1); transform: translateX(8px); border-color: rgba(244, 19, 84, .5); }
.way .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--pink); flex: none; }
.way .ic svg { width: 22px; height: 22px; }
.way b { display: block; font: 600 16px/1.2 var(--f-title); }
.way span { font-size: 14px; color: rgba(255, 255, 255, .6); }
.form { padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); display: grid; gap: 16px; }
.form h3 { margin: 0 0 4px; font: 600 26px/1.2 var(--f-title); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: 400 16px/1.4 var(--f-body); color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, top .3s, color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(244, 19, 84, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 8px; font-size: 12px; color: var(--pink); }
.goals { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.goals legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.goals label { cursor: pointer; }
.goals input { position: absolute; opacity: 0; pointer-events: none; }
.goals span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font: 500 14px/1 var(--f-title); transition: all .35s var(--ease); }
.goals input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.04); }
.goals input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--pink); width: 18px; height: 18px; flex: none; }
.form .btn { justify-content: center; width: 100%; }
.form .fine { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form.is-sent > *:not(.form-ok) { display: none; }
.form.is-sent .form-ok { display: grid; gap: 12px; justify-items: center; }
.form-ok img { width: 70px; animation: floaty 3s ease-in-out infinite; }

.newsletter { margin-top: 70px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(255, 16, 83, .22), rgba(49, 82, 112, .35)); border: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.newsletter h3 { margin: 0 0 6px; font: 400 clamp(28px, 3vw, 40px)/1.05 var(--f-display); }
.newsletter p { margin: 0; color: rgba(255, 255, 255, .7); }
.nl-form { display: grid; gap: 10px; }
.nl-row { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: #fff; }
.nl-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: 400 16px var(--f-body); color: var(--ink); border-radius: 999px; }
.nl-row input:focus { outline: none; }
.nl-row input:focus-visible { outline: 2px solid var(--pink); }
.nl-row .btn { padding: 14px 22px; flex: none; }
.nl-form .check { color: rgba(255, 255, 255, .65); }
.nl-form .check a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #08131c; color: rgba(255, 255, 255, .65); padding: 80px 0 30px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer .logo img { height: 40px; width: auto; margin-bottom: 18px; }
.footer h4 { margin: 0 0 16px; color: #fff; font: 600 15px/1 var(--f-title); letter-spacing: .04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--pink); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: background .35s, transform .45s var(--ease-back); }
.socials a:hover { background: var(--pink); color: #fff; transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 18px; height: 18px; }
.footer-giant { font: 400 clamp(60px, 16.5vw, 260px)/.95 var(--f-display); color: rgba(255, 255, 255, .03); -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); overflow: hidden; text-align: center; margin: 40px 0 10px; letter-spacing: -.02em; user-select: none; white-space: nowrap; }
.footer-giant span { display: inline-block; transition: color .4s, -webkit-text-stroke-color .4s, transform .5s var(--ease-back); }
.footer-giant span:hover { color: var(--pink); -webkit-text-stroke-color: var(--pink); transform: translateY(-8%); }
.footer-giant { overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }

/* ---------- Flotantes ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .5s var(--ease-back); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ripple 2.4s ease-out infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.wa-fab:hover { transform: scale(1.1) rotate(-8deg); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab .tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(10px); background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 12px; font: 600 14px/1.2 var(--f-title); white-space: nowrap; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.wa-fab.show-tip .tip, .wa-fab:hover .tip { opacity: 1; transform: translateY(-50%); }
.mobile-cta { display: none; }

/* ---------- Revelado ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: revealUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes revealUp { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.no-js .reveal, .reduced .reveal { opacity: 1 !important; }
.js .footer-giant span { opacity: 0; translate: 0 100%; }
.footer-giant.is-in span { animation: letterUp 1s var(--ease) both; }
@keyframes letterUp { from { opacity: 0; translate: 0 100%; } to { opacity: 1; translate: 0 0; } }
.reduced .footer-giant span { opacity: 1; translate: none; }
.img-reveal { clip-path: inset(100% 0 0 0); }
.no-js .img-reveal, .reduced .img-reveal { clip-path: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; justify-self: center; margin-top: 30px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:last-child { grid-column: span 2; }
  .manifest-grid, .faq-grid, .contact-grid, .pain-intro { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .proj, .proj.wide { grid-column: span 1; aspect-ratio: 4 / 3.2; }
  .proj-cta { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header { inset: 10px 0 auto; }
  .nav { padding: 8px 8px 8px 16px; }
  .nav .logo img { height: 28px; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-visual .chip { font-size: 12px; padding: 9px 12px; }
  .hero-visual .chip .ic { width: 28px; height: 28px; }
  .hero-visual .chip.c1 { left: -2%; }
  .hero-visual .chip.c2 { right: -2%; }
  .talk-badge { width: 104px; height: 104px; right: 0; }
  .talk-badge span { width: 50px; height: 50px; font-size: 11px; }
  .scroll-hint { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc:last-child { grid-column: auto; }
  .pain-item { grid-template-columns: 44px 1fr 40px; gap: 14px; padding: 20px 18px; }
  .pain-item .n { font-size: 30px; }
  .pain-item .ico { width: 40px; height: 40px; }
  .switcher button { padding: 11px 14px; font-size: 13px; }
  .stack-card { grid-template-columns: 1fr; position: relative; top: auto !important; min-height: 0; }
  .stack-card .media { aspect-ratio: 16 / 10; order: -1; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline svg.line { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .proj .info { transform: none; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .wa-fab { bottom: 86px; right: 16px; width: 54px; height: 54px; }
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85; padding: 8px; border-radius: 999px; background: rgba(14, 30, 43, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .6s var(--ease); }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta .btn { flex: 1; justify-content: center; padding: 14px 16px; font-size: 15px; }
  .mobile-cta .btn.ghost { color: #fff; flex: none; }
  .marquee.alt { margin-top: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track, .reviews-row { animation: none !important; }
  .reviews-row { flex-wrap: wrap; width: auto; justify-content: center; }
}
