/* ===== Boudin Agency — estilos (manual de marca: negro, blanco, grises · Poppins) ===== */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #1a1a1a;
  --light: #ededed;

  --bg: #050505;
  --bg-2: #0d0d0d;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .22);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --accent: var(--white);
  --wa: #25d366;
  /* Acento de color: violeta → cian, usado con moderación sobre la base monocromática */
  --violet: #a855f7;
  --cyan: #22d3ee;
  --acc: linear-gradient(100deg, #c084fc 0%, #818cf8 50%, #22d3ee 100%);
  --shine: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, #8a8a8a 50%, #ffffff 65%, #ffffff 100%);
  --radius: 18px;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Poppins", system-ui, sans-serif;
}

/* Sección clara: reutiliza los mismos componentes con tokens invertidos */
.light {
  --bg: var(--light);
  --card: rgba(0, 0, 0, .035);
  --card-2: rgba(0, 0, 0, .06);
  --line: rgba(0, 0, 0, .1);
  --line-2: rgba(0, 0, 0, .25);
  --text: #0a0a0a;
  --muted: #5c5c5c;
  --accent: var(--black);
  --shine: linear-gradient(100deg, #000 0%, #000 35%, #8a8a8a 50%, #000 65%, #000 100%);
  background: var(--bg); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.7 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

/* Grano sutil sobre todo el sitio */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 32px); }
/* Texto destacado: brillo que recorre la palabra */
.grad {
  background: var(--shine); background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s var(--ease) infinite;
}
@keyframes shine { 0%, 40% { background-position: 100% 0; } 80%, 100% { background-position: 0 0; } }
.outline { color: transparent; -webkit-text-stroke: 1.2px currentColor; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .72rem/1 var(--font); letter-spacing: .28em; text-transform: uppercase;
  color: var(--text); margin-bottom: 22px;
}
.eyebrow::after { content: ""; width: 54px; height: 1px; background: var(--acc); opacity: .7; transform-origin: left; transition: transform 1.2s .3s var(--ease); }
.reveal-ready .reveal:not(.is-in) .eyebrow::after, .reveal-ready .eyebrow.reveal:not(.is-in)::after { transform: scaleX(0); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo__icon { width: 42px; height: 42px; flex: none; }
.logo__icon circle { stroke-dasharray: 290; stroke-dashoffset: 0; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-weight: 700; font-size: 1.15rem; letter-spacing: .2em; }
.logo__name sup { font-size: .45em; font-weight: 500; letter-spacing: 0; margin-left: 1px; }
.logo__tag { font-size: .48rem; font-weight: 500; letter-spacing: .32em; color: var(--muted); margin-top: 5px; }
.logo:hover .logo__icon { animation: spin-in 1s var(--ease); }
@keyframes spin-in { from { transform: rotate(-90deg); } }
.is-loaded .nav .logo__icon circle { animation: draw-circle 1.6s var(--ease) both; }
@keyframes draw-circle { from { stroke-dashoffset: 290; } }

/* ===== Buttons ===== */
.btn {
  --pad: 14px 26px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 99px; border: 1px solid var(--accent);
  font: 500 .92rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
  white-space: nowrap; min-height: 48px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn--lg { --pad: 18px 32px; font-size: 1rem; }
.btn--primary { color: var(--bg); background: var(--accent); }
.btn--primary::before { background: var(--bg); }
.btn--primary:hover { color: var(--accent); }
.btn--ghost { color: var(--text); background: transparent; border-color: var(--line-2); }
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { color: var(--bg); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn .arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Cursor + progreso ===== */
.cursor-glow {
  position: fixed; width: 600px; height: 600px; left: 0; top: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 60%);
  transition: opacity .4s; opacity: 0;
}
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 5, 5, .72); backdrop-filter: blur(18px) saturate(1.2); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 400; font-size: .9rem; position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--acc); transform: scaleX(0); transition: transform .5s var(--ease); transform-origin: right; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { --pad: 11px 22px; min-height: 44px; }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 0; padding: 8px 16px 28px; background: rgba(5, 5, 5, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
@media (min-width: 861px) { .mobile-menu { display: none; } }
.mobile-menu a:not(.btn) { padding: 16px 4px; text-decoration: none; font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; border-bottom: 1px solid var(--line); animation: rise .6s var(--ease) both; }
.mobile-menu a:nth-child(2) { animation-delay: .05s; } .mobile-menu a:nth-child(3) { animation-delay: .1s; }
.mobile-menu a:nth-child(4) { animation-delay: .15s; } .mobile-menu a:nth-child(5) { animation-delay: .2s; }
.mobile-menu .btn { margin-top: 18px; }

/* ===== Hero ===== */
.hero { position: relative; padding: 70px 0 100px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 18s ease-in-out infinite alternate; }
.orb--a { width: 560px; height: 560px; background: rgba(124, 58, 237, .16); top: -220px; left: -160px; }
.orb--b { width: 460px; height: 460px; background: rgba(8, 145, 178, .12); top: 160px; right: -160px; animation-delay: -7s; }
.orb--c { width: 340px; height: 340px; background: rgba(255, 255, 255, .04); bottom: -160px; left: 40%; animation-delay: -12s; }
@keyframes drift { to { transform: translate(70px, 40px) scale(1.15); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .45;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
}
.hero__watermark {
  position: absolute; right: -6vw; top: 50%; width: min(52vw, 640px); transform: translateY(-50%) rotate(-8deg);
  color: rgba(255, 255, 255, .025); pointer-events: none; animation: slow-spin 80s linear infinite;
}
@keyframes slow-spin { to { transform: translateY(-50%) rotate(352deg); } }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 6.2vw, 4.8rem); font-weight: 600; margin-bottom: 24px; letter-spacing: -.045em; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; animation: word-up 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .1s); }
@keyframes word-up { from { transform: translateY(110%); } }
.rotator { display: block; min-height: 1.15em; overflow: hidden; }
.rotator__word { display: inline-block; background: var(--acc); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 560px; font-weight: 300; }
.hero__lead strong { color: var(--text); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero__proof { list-style: none; padding: 26px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 34px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); max-width: 560px; }
.hero__proof strong { color: var(--text); font-size: 1.25rem; font-weight: 600; margin-right: 4px; }

.hero__visual { position: relative; }
.dash {
  position: relative; padding: 24px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px);
  transform-style: preserve-3d; transition: transform .3s ease-out;
}
.dash__head { display: flex; align-items: center; gap: 12px; font-size: .75rem; color: var(--muted); margin-bottom: 20px; letter-spacing: .02em; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.live { margin-left: auto; color: var(--text); font-weight: 500; font-size: .7rem; letter-spacing: .15em; display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.4s infinite; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; }
.dash__kpis small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .04em; }
.dash__kpis b { font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.dash__chart { width: 100%; height: 130px; margin: 18px 0 10px; }
.dash__line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.6s .5s var(--ease) forwards; }
.dash__area { opacity: 0; animation: fade 1.4s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.dash__channels { display: flex; flex-wrap: wrap; gap: 16px; font-size: .75rem; color: var(--muted); }
.dash__channels i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; }
.c-meta { background: var(--violet); } .c-google { background: #fff; } .c-tiktok { background: var(--cyan); }
.dash__note { position: absolute; right: 16px; bottom: 12px; margin: 0; font-size: .62rem; color: rgba(255,255,255,.25); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: rgba(20, 20, 20, .92); border: 1px solid var(--line-2); font-size: .8rem; box-shadow: 0 20px 40px -15px #000;
  animation: bob 6s ease-in-out infinite; backdrop-filter: blur(10px);
}
.float-card span { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; animation: pulse 1.6s infinite; }
.float-card--a { top: -22px; left: -30px; }
.float-card--b { bottom: -24px; right: -14px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ===== Logos marquee ===== */
.logos { padding: 36px 0 60px; border-block: 1px solid var(--line); }
.logos__title { text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 70px; width: max-content; animation: marquee 45s linear infinite; padding: 6px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 50px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .4s, transform .4s var(--ease); }
.marquee__track img:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ===== Cómo lo hacemos (flujo de captación) ===== */
.flow { position: relative; overflow: hidden; padding: 120px 0 130px; text-align: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 60%, rgba(124, 58, 237, .14), transparent 60%), #030303; }
.flow::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; opacity: .3; mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%); }
.flow__lights { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl { stroke-width: 2; stroke-dasharray: 260 1400; animation: travel 7s linear infinite; opacity: .85; }
.fl--2 { stroke-width: 1.4; animation-duration: 9s; animation-delay: -3s; }
.fl--3 { stroke-width: 2.6; animation-duration: 6s; animation-delay: -1.5s; }
.fl--4 { stroke-width: 1; animation-duration: 11s; animation-delay: -5s; opacity: .5; }
@keyframes travel { from { stroke-dashoffset: 1660; } to { stroke-dashoffset: 0; } }
.flow__inner { position: relative; }
.flow h2 { font-size: clamp(2rem, 5.2vw, 4rem); font-weight: 300; letter-spacing: -.045em; max-width: 920px; margin-inline: auto; }
.flow h2 strong { font-weight: 700; }
.flow__lead { color: var(--muted); max-width: 560px; margin: 0 auto 60px; font-weight: 300; }
.flow__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; position: relative; }
.fstep {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 14px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s;
}
.fstep:hover { transform: translateY(-6px); border-color: rgba(192, 132, 252, .5); background: rgba(255, 255, 255, .07); }
.fstep:not(:last-child)::after {
  content: ""; position: absolute; right: -28px; top: 50%; width: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.6));
}
.fstep:not(:last-child)::before {
  content: ""; position: absolute; right: -28px; top: calc(50% - 2.5px); width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: hop 2.4s var(--ease) infinite; animation-delay: calc(var(--n, 0) * .3s);
}
.fstep:nth-child(2) { --n: 1; } .fstep:nth-child(3) { --n: 2; } .fstep:nth-child(4) { --n: 3; }
@keyframes hop { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(20px); opacity: 0; } }
.fstep__ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); margin-bottom: 10px; transition: background .5s, color .5s; }
.fstep__ico svg { width: 22px; height: 22px; }
.fstep:hover .fstep__ico { background: #fff; color: #000; }
.fstep b { font-weight: 600; font-size: 1rem; }
.fstep small { color: var(--muted); font-size: .78rem; line-height: 1.45; font-weight: 300; }
.fstep--end { border-color: rgba(34, 211, 238, .4); }
.fstep--end .fstep__ico { background: var(--acc); border: 0; color: #000; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 70px 0 30px; }
.stat { padding: 10px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-weight: 600; font-size: clamp(2.6rem, 5.5vw, 4rem); line-height: 1; letter-spacing: -.05em; margin-bottom: 10px; }
.stat b::before { content: "+"; font-weight: 300; color: var(--muted); }
.stat span { color: var(--muted); font-size: .88rem; }

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 760px; margin-bottom: 60px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; font-weight: 300; }

/* Services */
/* Especialidad: tarjeta blanca a lo ancho */
.svc-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 48px; margin-bottom: 18px;
  border-radius: 26px; background: var(--white); color: var(--black); position: relative; overflow: hidden;
  --text: #000; --bg: #fff; --accent: #000; --muted: #4a4a4a; --line: rgba(0,0,0,.1);
}
.svc-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .14), transparent 65%); pointer-events: none; }
.svc-hero h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; margin-bottom: 16px; }
.svc-hero__lead { font-size: 1.12rem; font-weight: 500; color: #000; line-height: 1.55; }
.svc-hero__main p:not(.svc-hero__lead) { color: var(--muted); font-size: 1rem; }
.svc-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; }
.svc-hero__chips span { padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(0,0,0,.15); font-size: .82rem; font-weight: 500; }
.svc-hero__side { border-left: 1px solid var(--line); padding-left: 44px; }
.svc__label { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.svc-hero__list { list-style: none; padding: 0; margin: 0; }
.svc-hero__list li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.svc-hero__list li:last-child { border-bottom: 0; }
.svc-hero__list li::before { content: "✓"; grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #000; color: #fff; font-size: .72rem; margin-top: 1px; }
.svc-hero__list b { font-weight: 600; font-size: .98rem; }
.svc-hero__list span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.svc__tag { box-shadow: inset 0 -2px 0 var(--violet); display: inline-block; font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: var(--black); color: var(--white); margin-bottom: 22px; }

/* Resto de servicios: cuadrícula 3 × 2 */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius);
  background: #111; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.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(255, 255, 255, .07), transparent 55%);
}
.svc:hover { border-color: var(--line-2); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.svc__num { font-size: .75rem; letter-spacing: .2em; color: #777; }
.svc__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background .5s var(--ease), color .5s var(--ease); }
.svc__icon svg { width: 21px; height: 21px; }
.svc:hover .svc__icon { background: #fff; color: #000; }
.svc h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc__lead { color: #f2f2f2; font-weight: 500; font-size: 1rem; line-height: 1.5; margin-bottom: 10px; }
.svc p:not(.svc__lead) { color: #b3b3b3; font-weight: 300; font-size: .95rem; line-height: 1.65; margin-bottom: 18px; }
.svc__inc { list-style: none; padding: 16px 0 0; margin: 0 0 22px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.svc__inc li { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; color: #e6e6e6; }
.svc__inc li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; transform: translateY(-2px); }
.svc__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; text-decoration: none; color: #fff; padding-top: 4px; }
.svc__cta .arrow { transition: transform .4s var(--ease); }
.svc__cta:hover .arrow, .svc:hover .svc__cta .arrow { transform: translateX(5px); }
/* Tabs */
.tabs__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-bottom: 22px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button {
  flex: none; padding: 12px 22px; border-radius: 99px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: 500 .9rem var(--font); cursor: pointer; transition: all .4s var(--ease); min-height: 46px;
}
.tabs__list button:hover { color: var(--text); border-color: var(--line-2); }
.tabs__list button[aria-selected="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.panel {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 44px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); animation: panelIn .6s var(--ease);
}
.panel h3 { font-size: 1.8rem; letter-spacing: -.03em; }
.panel p { color: var(--muted); max-width: 640px; font-weight: 300; }
.panel ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.panel li { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: .84rem; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

/* Equipo */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.team__intro p:not(.eyebrow) { color: var(--muted); font-weight: 300; }
.team__roles { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.team__roles li { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: .85rem; transition: all .4s var(--ease); }
.team__roles li:hover { background: var(--text); color: var(--bg); }
.skills { padding: 40px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 28px; }
.skills .btn { justify-self: start; }
.skill__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; font-size: .95rem; }
.skill__head b { font-weight: 600; font-size: 1.4rem; letter-spacing: -.03em; }
.skill__bar { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.skill__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--acc); transition: width 1.8s var(--ease); }
.skills.is-in .skill__bar i { width: var(--v); }
.skill:nth-child(2) i { transition-delay: .15s; } .skill:nth-child(3) i { transition-delay: .3s; } .skill:nth-child(4) i { transition-delay: .45s; }
/* Líderes del equipo */
.leaders { margin-top: 90px; }
.leaders__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; margin-bottom: 30px; }
.leaders__head .eyebrow { margin: 0; }
.leaders__head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.03em; margin: 0; }
.members { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.member { position: relative; border-radius: 20px; overflow: hidden; background: #111; border: 1px solid var(--line); isolation: isolate; }
.member__photo { aspect-ratio: 3 / 4; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.02); transition: filter .7s var(--ease), transform .9s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.07); }
.member::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.92) 100%); }
.member__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 20px; }
.member__info h3 { font-size: 1.08rem; margin: 0 0 4px; letter-spacing: -.01em; color: #fff; }
.member__role { margin: 0; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; background: var(--acc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.member__focus { margin: 8px 0 0; font-size: .8rem; color: #c9c9c9; font-weight: 300; line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease); }
.member:hover .member__focus, .member:focus-within .member__focus { max-height: 60px; opacity: 1; }
.member:first-child { border-color: rgba(192, 132, 252, .45); }
@media (max-width: 1024px) { .members { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .leaders { margin-top: 64px; }
  .members { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .member:first-child { grid-column: 1 / -1; }
  .member:first-child .member__photo { aspect-ratio: 4 / 3.4; }
  .member__photo img { filter: grayscale(.2); }
  .member__focus { max-height: 60px; opacity: 1; font-size: .74rem; }
  .member__info { padding: 14px; }
}
@media (hover: none) { .member__photo img { filter: none; } .member__focus { max-height: 60px; opacity: 1; } }

/* ===== Inicio compacto ===== */
.section { padding: 84px 0; }
.section__head { margin-bottom: 40px; }
.flow { padding: 96px 0 100px; }
.flow__lead { margin-bottom: 44px; }
.stats { padding: 56px 0 24px; }
/* Franja del equipo dentro de "Nuestra esencia" */
.team-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 56px; padding: 30px 34px; border-radius: 22px; border: 1px solid var(--line); background: #0f0f0f; }
.team-strip .eyebrow { margin-bottom: 10px; }
.team-strip__txt { margin: 0; color: #c4c4c4; font-weight: 300; max-width: 640px; }
.team-strip .btn { flex: none; }
.founder { margin-top: 56px; }
/* Cobertura en un solo bloque */
.coverage { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.coverage__head p:not(.eyebrow) { color: var(--muted); font-weight: 300; }
.coverage__rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.coverage__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.coverage__row > span { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.coverage .chips { gap: 8px; }
.coverage .chip { padding: 8px 16px; min-height: 40px; font-size: .9rem; }
.coverage .cities__more { margin-top: 18px; font-size: .92rem; }
/* Habilidades en la página del equipo */
.team-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 80px; }
.team-skills__head h2 { margin: 0; }
@media (max-width: 860px) {
  .coverage, .team-skills { grid-template-columns: 1fr; gap: 26px; }
  .team-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .flow { padding: 70px 0; }
  .coverage__row { grid-template-columns: 1fr; gap: 10px; }
  .team-strip { padding: 24px 22px; }
  .team-strip .btn { width: 100%; }
  .team-skills { margin-top: 56px; }
}

/* Cobertura: mapa internacional */
.coverage-map { overflow: hidden; }
.reach { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.reach__lead { color: var(--muted); font-weight: 300; font-size: 1.05rem; }
.reach__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0 24px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.reach__kpis div { background: #0b0b0b; padding: 18px 20px; display: grid; gap: 2px; }
.reach__kpis b { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.reach__kpis div:nth-child(-n+3) b::before { content: "+"; font-weight: 300; color: var(--muted); }
.reach__kpis span { font-size: .8rem; color: var(--muted); }
.reach__chips { gap: 6px; }
.reach__chips .chip { padding: 6px 12px; min-height: 34px; font-size: .8rem; }
.reach .cities__more { margin-top: 16px; font-size: .88rem; }
.map { position: relative; margin: 0; aspect-ratio: 840 / 708; border-radius: 26px; background: radial-gradient(ellipse at 40% 45%, rgba(124, 58, 237, .14), transparent 65%), #070707; border: 1px solid var(--line); overflow: hidden; }
.map__dots, .map__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__dots { opacity: .9; }
.route { fill: none; stroke: url(#routeG); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 6 8; opacity: .85; animation: route-flow 2.4s linear infinite; animation-delay: var(--d); }
@keyframes route-flow { to { stroke-dashoffset: -28; } }
.pin circle { fill: #fff; stroke: rgba(34, 211, 238, .6); stroke-width: 3; transition: r .3s var(--ease); }
.pin:hover circle { r: 7; fill: #22d3ee; }
.hq__dot { fill: #c084fc; stroke: #fff; stroke-width: 2.5; }
.hq__pulse { fill: none; stroke: #c084fc; stroke-width: 2; transform-origin: 319.3px 306.2px; animation: hq-pulse 2.2s var(--ease) infinite; }
@keyframes hq-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.map__labels text { fill: #d8d8d8; font: 500 13px var(--font); letter-spacing: .02em; paint-order: stroke; stroke: #070707; stroke-width: 4px; }
.map__card { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; background: rgba(15,15,15,.85); border: 1px solid var(--line-2); font-size: .8rem; backdrop-filter: blur(8px); }
.map__card .live::before { margin-right: 0; }
@media (max-width: 1024px) { .reach { grid-template-columns: 1fr; } .map { order: -1; } }
@media (max-width: 600px) {
  .map { border-radius: 18px; }
  .map__labels text { font-size: 17px; }
  .map__card { right: 10px; bottom: 10px; padding: 7px 11px; font-size: .7rem; }
  .reach__kpis b { font-size: 1.6rem; }
}

/* Carrusel de servicios */
.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px 2px 8px; scrollbar-width: none; outline: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  scroll-snap-align: start; display: flex; flex-direction: column; min-height: 400px; padding: 30px; border-radius: 22px;
  background: #111; border: 1px solid var(--line); transition: border-color .5s var(--ease), transform .5s var(--ease), opacity .5s var(--ease);
}
.slide:hover { border-color: var(--line-2); transform: translateY(-4px); }
.slide h3 { font-size: 1.35rem; margin-bottom: 10px; letter-spacing: -.02em; }
.slide h3 a { color: inherit; text-decoration: none; }
.slide__lead { color: #e6e6e6; font-size: 1rem; line-height: 1.55; margin-bottom: 18px; }
.slide .svc__inc { margin-bottom: 24px; }
.slide__ctas { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.slide__ctas .btn { --pad: 11px 20px; min-height: 44px; }
.slide__more { font-size: .86rem; color: #a3a3a3; text-underline-offset: 3px; transition: color .3s; }
.slide__more:hover { color: #fff; }
.slide:hover .svc__icon { background: #fff; color: #000; }
.slide--featured { background: #fff; color: #000; border-color: #fff; --text: #000; --bg: #fff; --accent: #000; --line: rgba(0,0,0,.12); --line-2: rgba(0,0,0,.25); }
.slide--featured .slide__lead { color: #222; }
.slide--featured .svc__inc li { color: #222; }
.slide--featured .slide__more { color: #555; }
.slide--featured .slide__more:hover { color: #000; }
.slide--featured:hover .svc__icon { background: #000; color: #fff; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; transition: all .35s var(--ease); }
.slider__btn:hover:not(:disabled) { background: #fff; color: #000; border-color: #fff; }
.slider__btn:disabled { opacity: .3; cursor: default; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; transition: width .4s var(--ease), background .4s; }
.slider__dots button[aria-selected="true"] { width: 28px; background: var(--acc); }
@media (max-width: 1024px) { .slider__track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 600px) {
  .slider__track { grid-auto-columns: 86%; gap: 12px; }
  .slide { min-height: 380px; padding: 26px 22px; }
  .slider__btn { width: 42px; height: 42px; }
}

/* Nuestra esencia: misión, visión y fundador */
.essence { background: radial-gradient(ellipse at 15% 0%, rgba(124, 58, 237, .1), transparent 55%); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv__card { padding: 38px; border-radius: 24px; background: #0f0f0f; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--acc); opacity: .7; }
.mv__label { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.mv__card p { font-size: 1.08rem; line-height: 1.7; color: #d6d6d6; font-weight: 300; margin: 0; }
.mv__card strong { color: #fff; font-weight: 500; }
.pillars { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pillars li { padding: 24px 22px; display: grid; gap: 6px; }
.pillars li + li { border-left: 1px solid var(--line); }
.pillars b { font-weight: 600; font-size: .98rem; }
.pillars span { color: #a8a8a8; font-size: .86rem; font-weight: 300; line-height: 1.5; }
.founder { display: flex; align-items: center; gap: 26px; max-width: 820px; margin: 70px auto 0; padding: 0; }
.founder__photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255,255,255,.18); box-shadow: 0 0 0 6px rgba(124, 58, 237, .12), 0 20px 40px -18px #000; }

.founder blockquote { margin: 0 0 12px; font-size: clamp(1.02rem, 1.8vw, 1.22rem); font-weight: 300; font-style: italic; line-height: 1.6; color: #e2e2e2; }
.founder figcaption { font-size: .82rem; color: var(--muted); }
.founder figcaption b { color: #fff; font-weight: 600; }
.founder figcaption a { color: var(--muted); text-underline-offset: 3px; }
.founder figcaption a:hover { color: #fff; }
@media (max-width: 860px) {
  .mv { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  /* Misión / Visión y pilares como slides en celular */
  .mv, .pillars {
    display: grid; grid-template-columns: none; grid-auto-flow: column; overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: -16px; padding: 2px 16px 6px; scroll-padding-inline: 16px;
  }
  .mv::-webkit-scrollbar, .pillars::-webkit-scrollbar { display: none; }
  .mv { grid-auto-columns: 86%; gap: 12px; }
  .mv__card { scroll-snap-align: start; }
  .mv__card p { font-size: .98rem; }
  .pillars { grid-auto-columns: 62%; gap: 10px; border: 0; border-radius: 0; margin-top: 12px; }
  .pillars li, .pillars li + li, .pillars li:nth-child(n+3) { scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; background: #0f0f0f; }
  .mv__card { padding: 28px 24px; }
  .founder { flex-direction: column; text-align: center; gap: 18px; margin-top: 50px; }
}

/* Enlaces a páginas de servicio */
.svc h3 a, .svc-hero h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.svc__more { font-size: .82rem; color: #9a9a9a; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); margin: -6px 0 14px; transition: color .3s; }
.svc__more:hover { color: #fff; }
.svc-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.svc__more--dark { margin: 0; color: #555; text-decoration-color: rgba(0,0,0,.3); }
.svc__more--dark:hover { color: #000; }
.prose a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
/* Lista "Qué incluye" en páginas de servicio */
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.incl li { padding: 26px; border-radius: 18px; background: #111; border: 1px solid var(--line); display: grid; gap: 8px; }
.incl li::before { content: "✓"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #000; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.incl b { font-size: 1.05rem; font-weight: 600; }
.incl span { color: #b3b3b3; font-size: .93rem; font-weight: 300; }
@media (max-width: 860px) { .incl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .incl { grid-template-columns: 1fr; } }

/* Página Nuestro equipo */
.team-hero { border-bottom: 0; padding-bottom: 20px; }
.team-page { padding-top: 40px; }
.members--lg { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.members--lg .member { width: calc((100% - 44px) / 3); border-radius: 24px; }
.members--lg .member:first-child { border-color: rgba(192, 132, 252, .45); }
.members--lg .member__info { padding: 26px 24px 26px; }
.member__info h2 { font-size: 1.45rem; margin: 0 0 6px; letter-spacing: -.02em; color: #fff; }
.members--lg .member__role { font-size: .74rem; }
.members--lg .member__focus { font-size: .92rem; }
.member__photo.is-empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(124, 58, 237, .35), #111 70%); }
.member__photo.is-empty::before { content: attr(data-initials); font-size: 4rem; font-weight: 600; letter-spacing: .05em; color: rgba(255,255,255,.85); margin-bottom: 30%; }
.team-about { max-width: 820px; margin: 70px auto 0; text-align: center; }
.team-about p { color: #bdbdbd; font-size: 1.08rem; font-weight: 300; }
.team-about strong { color: #fff; font-weight: 500; }
.final-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final-cta__btns .btn--ghost { color: #000; border-color: rgba(0,0,0,.25); }
.final-cta__btns .btn--ghost::before { background: #000; }
.final-cta__btns .btn--ghost:hover { color: #fff; }
@media (max-width: 1024px) { .members--lg .member { width: calc((100% - 22px) / 2); } }
@media (max-width: 600px) {
  .members--lg { gap: 14px; }
  .members--lg .member { width: 100%; }
  .members--lg .member__photo { aspect-ratio: 4 / 4.6; }
  .final-cta__btns .btn { width: 100%; }
}

.cities__more { margin-top: 26px; color: var(--muted); font-weight: 300; }
.cities__more a { color: var(--text); font-weight: 500; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--acc); transition: width 1.2s var(--ease); }
.step.is-in::before { width: 100%; }
.step:nth-child(2)::before { transition-delay: .2s; } .step:nth-child(3)::before { transition-delay: .4s; } .step:nth-child(4)::before { transition-delay: .6s; }
.step__n { font-size: .8rem; font-weight: 500; letter-spacing: .2em; color: var(--muted); display: block; margin-bottom: 30px; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; font-weight: 300; }

/* Cities */
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cities__group--wide { grid-column: 1 / -1; }
.cities__group { padding: 34px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.cities__group h3 { font-size: .75rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; text-decoration: none;
  border: 1px solid var(--line); font-weight: 400; transition: all .4s var(--ease); min-height: 46px;
}
.chip:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip small { font-size: .6rem; text-transform: uppercase; letter-spacing: .15em; padding: 3px 8px; border-radius: 99px; background: var(--text); color: var(--bg); font-weight: 600; }
.chip:hover small { background: var(--bg); color: var(--text); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.review { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.review__stars { letter-spacing: 3px; margin-bottom: 14px; }
.review p { color: var(--muted); font-weight: 300; }
.review footer { font-weight: 500; }
.review footer small { display: block; color: var(--muted); font-weight: 400; }

/* ===== Form ===== */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.form-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; font-weight: 300; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; }
.checks li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); font-size: .75rem; }

.quiz { padding: 38px; border-radius: 24px; background: var(--white); color: var(--black); box-shadow: 0 50px 100px -50px rgba(0,0,0,.6);
  --text: #0a0a0a; --muted: #666; --line: rgba(0,0,0,.12); --accent: #000; --bg: #fff; }
.quiz__bar { height: 3px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 25%; background: var(--acc); border-radius: inherit; transition: width .7s var(--ease); }
.quiz__count { color: var(--muted); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin: 14px 0 22px; }
.quiz__step { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.quiz__step.is-active { display: block; animation: panelIn .55s var(--ease); }
.quiz legend { font-weight: 600; font-size: 1.45rem; letter-spacing: -.03em; margin-bottom: 22px; padding: 0; }
.quiz legend small { font-weight: 300; font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts__wide { grid-column: 1 / -1; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; inset: 0; }
.opts span {
  display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-radius: 14px; min-height: 54px;
  border: 1px solid var(--line); font-weight: 400; font-size: .95rem; transition: all .35s var(--ease);
}
.opts span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #bbb; flex: none; transition: all .35s var(--ease); }
.opts input[type="checkbox"] + span::before { border-radius: 5px; }
.opts label:hover span { border-color: #000; }
.opts input:checked + span { border-color: #000; background: #000; color: #fff; }
.opts input:checked + span::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 3px #000; }
.opts input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fafafa;
  color: var(--text); font: 16px var(--font); transition: border-color .3s, box-shadow .3s, background .3s; min-height: 52px;
}
.field input:focus, .field select:focus { outline: none; border-color: #000; background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.field input.is-invalid, .field select.is-invalid { border-color: #d93025; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #000; flex: none; }

.range { margin-bottom: 24px; }
.range input { width: 100%; accent-color: #000; height: 30px; }
.range output { display: block; margin-top: 8px; font-weight: 600; font-size: 1.7rem; letter-spacing: -.03em; }

.quiz__error { color: #d93025; font-size: .86rem; min-height: 1.4em; margin: 14px 0 0; }
.quiz__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.quiz__done { text-align: center; padding: 20px 0; animation: panelIn .6s var(--ease); }
.quiz__check { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-size: 2rem; color: #fff; background: #000; animation: pop .7s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.quiz__done p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; position: relative; transition: color .3s; }
.faq summary:hover { color: var(--muted); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 26px; margin: 0; color: var(--muted); font-weight: 300; max-width: 720px; animation: panelIn .5s var(--ease); }

/* Final CTA */
.final-cta { padding: 40px 0 120px; }
.final-cta__inner { text-align: center; padding: 90px 30px; border-radius: 30px; background: var(--white); color: var(--black); position: relative; overflow: hidden; --text: #000; --bg: #fff; --accent: #000; --muted: #555; --shine: linear-gradient(100deg, #000 0%, #000 35%, #8a8a8a 50%, #000 65%, #000 100%); }
.final-cta__icon { width: 64px; height: 64px; margin: 0 auto 26px; color: #000; animation: slow-turn 14s linear infinite; }
@keyframes slow-turn { to { transform: rotate(360deg); } }
.final-cta__inner h2 { max-width: 820px; margin-inline: auto; }
.final-cta__inner p { color: #555; font-size: 1.05rem; margin-bottom: 30px; font-weight: 300; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 100px; background: #000; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { margin-bottom: 18px; }
.footer p, .footer li { color: var(--muted); font-size: .88rem; font-weight: 300; }
.footer h4 { font-size: .72rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--text); }
.footer__cities { grid-template-columns: 1fr 1fr; }
.footer__big { margin-top: 60px; font-size: clamp(3.5rem, 15vw, 13rem); font-weight: 700; letter-spacing: .08em; line-height: .9; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); user-select: none; }
.footer__copy { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: #000; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .8); transition: transform .4s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); animation: ring 2.6s infinite; }
.wa-float::after { content: ""; position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--wa); border: 2px solid #fff; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float__tip {
  position: absolute; right: 72px; white-space: nowrap; padding: 10px 16px; border-radius: 99px; background: #fff; color: #000;
  font-weight: 500; font-size: .82rem; box-shadow: 0 10px 24px -8px #000; opacity: 0; transform: translateX(10px); transition: all .5s var(--ease); pointer-events: none;
}
.wa-float.show-tip .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* Mensaje de bienvenida */
.welcome {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fade-in .5s var(--ease) both;
}
.welcome.is-closing { animation: fade-out .4s var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.welcome__card {
  position: relative; width: min(520px, 100%); padding: 48px 40px 38px; text-align: center; border-radius: 28px;
  background: radial-gradient(ellipse at 50% -10%, rgba(124, 58, 237, .28), transparent 60%), #0a0a0a;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 60px 120px -40px #000; overflow: hidden;
  animation: welcome-up .8s .1s var(--ease) both;
}
.welcome__card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--acc); }
.welcome.is-closing .welcome__card { animation: welcome-down .4s var(--ease) both; }
@keyframes welcome-up { from { opacity: 0; transform: translateY(30px) scale(.95); } }
@keyframes welcome-down { to { opacity: 0; transform: translateY(20px) scale(.97); } }
.welcome__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--acc); transform-origin: left; opacity: .8; }
.welcome__x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 1.3rem; cursor: pointer; transition: background .3s; }
.welcome__x:hover { background: rgba(255,255,255,.1); }
.welcome__logo { width: 76px; height: 76px; color: #fff; margin: 0 auto 14px; display: block; }
.welcome__logo circle { stroke-dasharray: 290; animation: draw-circle 1.4s .4s var(--ease) both; }
.welcome__brand { margin: 0 0 26px; font-weight: 700; font-size: 1.25rem; letter-spacing: .22em; }
.welcome__brand sup { font-size: .45em; letter-spacing: 0; }
.welcome__brand span { display: block; font-weight: 500; font-size: .55rem; letter-spacing: .34em; color: var(--muted); margin-top: 6px; }
.welcome__tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 99px;
  border: 1px solid rgba(192, 132, 252, .45); background: rgba(124, 58, 237, .12);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.welcome__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
.welcome h2 { font-size: clamp(1.6rem, 4.6vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 10px; }
.grad-acc { background: var(--acc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.welcome__sub { color: #cfcfcf; font-size: 1.05rem; font-weight: 300; margin-bottom: 6px; }
.welcome__ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 600px) {
  .welcome__card { padding: 40px 22px 26px; border-radius: 24px; }
  .welcome__tag { font-size: .6rem; letter-spacing: .03em; padding: 7px 12px; }
  .welcome__ctas .btn { width: 100%; }
}

/* Mini formulario del botón de WhatsApp */
.wa-panel {
  position: fixed; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 75; width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 130px); overflow-y: auto; border-radius: 22px; background: #fff; color: #0a0a0a;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.85); transform-origin: bottom right; animation: wa-in .45s var(--ease);
  --text: #0a0a0a; --muted: #666; --line: rgba(0,0,0,.12); --bg: #fff; --accent: #000;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.wa-panel__box { padding: 0 20px 20px; display: grid; gap: 2px; }
.wa-panel__head { display: flex; align-items: center; gap: 12px; margin: 0 -20px 14px; padding: 16px 20px; background: #000; color: #fff; border-radius: 22px 22px 0 0; }
.wa-panel__avatar { width: 40px; height: 40px; flex: none; color: #fff; }
.wa-panel__avatar svg { width: 100%; height: 100%; }
.wa-panel__head b { display: block; font-size: .95rem; }
.wa-panel__head small { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: #bdbdbd; }
.wa-panel__head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.wa-panel__x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.wa-panel__hi { font-size: .88rem; color: #444; background: #f2f2f2; padding: 10px 14px; border-radius: 14px 14px 14px 4px; margin-bottom: 12px; }
.wa-panel .field { margin-bottom: 10px; }
.wa-panel .field input, .wa-panel .field select, .wa-panel .field textarea { min-height: 46px; padding: 11px 14px; }
.field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fafafa; color: var(--text); font: 16px var(--font); resize: vertical; }
.field textarea:focus { outline: none; border-color: #000; background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.wa-panel__err { color: #d93025; font-size: .82rem; min-height: 1.2em; margin: 0 0 6px; }
.btn--wa { color: #fff; background: var(--wa); border-color: var(--wa); width: 100%; }
.btn--wa::before { background: #128c4b; }
.btn--wa:hover { color: #fff; }
.wa-float.is-open .wa-float__tip { opacity: 0; }
@media (max-width: 600px) {
  .wa-panel { right: 12px; left: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Reveal */
/* Si el JS falla, .reveal-ready nunca se agrega y todo el contenido queda visible */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(34px); filter: blur(6px); }
/* El contenido del hero entra al cargar, sin esperar el scroll */
.pay .reveal { opacity: 1; transform: none; filter: none; animation: rise 1s var(--ease) both; }
.pay__grid > :nth-child(2) { animation-delay: .1s; } .pay__grid > :nth-child(3) { animation-delay: .2s; }
.pay__grid > :nth-child(4) { animation-delay: .3s; } .pay__grid > :nth-child(5) { animation-delay: .4s; }
.hero .reveal, .city-hero .reveal { opacity: 1; transform: none; filter: none; animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2), .city-hero h1 { animation-delay: .1s; }
.hero__copy > :nth-child(3), .city-hero .hero__lead { animation-delay: .5s; }
.hero__copy > :nth-child(4), .city-hero .hero__ctas { animation-delay: .65s; }
.hero__copy > :nth-child(5) { animation-delay: .8s; }
.hero__visual { animation-delay: .6s !important; }
.hero .hero__title { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* ===== City pages ===== */
.city-hero { padding: 80px 0 70px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.city-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 600; max-width: 920px; letter-spacing: -.04em; }
.city-hero .hero__lead { max-width: 720px; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 24px; letter-spacing: .02em; }
.crumbs a { color: var(--muted); }
.prose { max-width: 820px; }
.prose p, .prose li { color: var(--muted); font-size: 1.04rem; font-weight: 300; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 1.4em; }
.prose strong { color: var(--text); font-weight: 500; }

/* ===== Banca online ===== */
.pay { padding: 70px 0 110px; position: relative; overflow: hidden; }
.pay::before { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; top: -200px; border-radius: 50%; background: rgba(124, 58, 237, .12); filter: blur(100px); z-index: -1; }
.pay__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.pay__intro h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.045em; }
.pay__lead { color: var(--muted); font-size: 1.1rem; font-weight: 300; }
.pay__trust { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; color: var(--muted); font-size: .9rem; }
.pay__trust li { display: flex; align-items: center; gap: 10px; }
.pay__trust svg { width: 20px; height: 20px; color: var(--text); }
.pay__brands { display: flex; flex-wrap: wrap; gap: 10px; }
.pay__brands img { height: 46px; width: auto; padding: 8px 14px; border-radius: 12px; background: #fff; object-fit: contain; }
.pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ptile {
  position: relative; overflow: hidden; isolation: isolate; min-height: 290px; padding: 30px; border-radius: 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.ptile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.ptile h2 { font-size: 1.55rem; line-height: 1.15; margin: 0; max-width: 11ch; position: relative; z-index: 1; }
.ptile .btn { align-self: flex-start; position: relative; z-index: 1; }
.ptile__art { position: absolute; top: 24px; right: 24px; z-index: 0; transition: transform .8s var(--ease); }
.ptile:hover .ptile__art { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.ptile--black { background: #000; color: #fff; border: 1px solid var(--line); --bg: #000; --accent: #fff; }
.ptile--black::after { content: ""; position: absolute; inset: auto -30% -50% auto; width: 300px; height: 300px; border-radius: 50%; background: rgba(168, 85, 247, .25); filter: blur(60px); z-index: -1; }
.ptile--white { background: #fff; color: #000; --bg: #fff; --accent: #000; }
.ptile--gray { background: var(--gray); color: #fff; border: 1px solid var(--line); --bg: var(--gray); --accent: #fff; }
.ptile--gray::after { content: ""; position: absolute; inset: auto -30% -50% auto; width: 300px; height: 300px; border-radius: 50%; background: rgba(34, 211, 238, .18); filter: blur(60px); z-index: -1; }
.ptile--light { background: var(--light); color: #000; --bg: var(--light); --accent: #000; }

.cc {
  width: 170px; height: 106px; border-radius: 14px; padding: 14px; position: relative; color: #fff;
  background: linear-gradient(135deg, #2a2a2a, #0a0a0a 60%), #111; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.15); transform: rotate(8deg);
  animation: bob 6s ease-in-out infinite;
}
.cc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%); background-size: 250% 100%; animation: shine 4s var(--ease) infinite; }
.cc__chip { display: block; width: 26px; height: 19px; border-radius: 4px; background: linear-gradient(135deg, #d4d4d4, #8a8a8a); }
.cc__brand { position: absolute; top: 14px; right: 14px; font-size: .6rem; font-weight: 700; letter-spacing: .2em; }
.cc__num { position: absolute; left: 14px; bottom: 14px; font-size: .62rem; letter-spacing: .12em; opacity: .8; }
.check { width: 104px; height: 104px; color: #000; }
.check path { stroke-dasharray: 70; stroke-dashoffset: 70; transition: stroke-dashoffset 1s .3s var(--ease); }
.ptile.is-in .check path { stroke-dashoffset: 0; }
.pse {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.35); font-size: 2.1rem; font-weight: 300; font-style: italic; letter-spacing: -.04em;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 60%);
}
.bank { width: 96px; height: 96px; color: #000; }
.pstrip {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 16px;
  border: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: all .4s var(--ease);
}
.pstrip img { height: 34px; width: auto; padding: 5px 10px; background: #fff; border-radius: 8px; }
.pstrip b { color: var(--text); font-weight: 500; }
.pstrip .arrow { margin-left: auto; color: var(--text); transition: transform .4s var(--ease); }
.pstrip:hover { border-color: var(--line-2); background: var(--card); }
.pstrip:hover .arrow { transform: translateX(4px); }

.modal { border: 0; padding: 0; background: transparent; max-width: min(460px, 100% - 32px); width: 100%; }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .5s var(--ease); }
.modal__box { position: relative; display: grid; gap: 4px; }
.modal__box h3 { font-size: 1.5rem; margin-bottom: 4px; }
.modal__sub { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.modal__box > .btn { margin-top: 8px; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1.4rem; cursor: pointer; color: inherit; }
.acct { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px; margin-bottom: 10px; border-radius: 16px; border: 1px solid var(--line); background: #fafafa; animation: panelIn .5s var(--ease) both; }
.acct:nth-of-type(2) { animation-delay: .08s; } .acct:nth-of-type(3) { animation-delay: .16s; }
.acct__logo { position: relative; width: 56px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(0,0,0,.08); padding: 8px; }
.acct__logo img { max-width: 100%; max-height: 30px; }
.acct__key { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #000; color: #fdda24; }
.acct__info { min-width: 0; }
.acct__info small { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .04em; }
.acct__info small:first-child { text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; }
.acct__info b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; user-select: all; }
.acct__copy { border: 1px solid #000; background: #000; color: #fff; border-radius: 99px; padding: 10px 16px; min-height: 42px; font: 500 .82rem var(--font); cursor: pointer; transition: all .3s var(--ease); white-space: nowrap; }
.acct__copy:hover { background: #fff; color: #000; }
.acct__copy.is-done { background: var(--wa); border-color: var(--wa); color: #fff; }
.acct__note { margin: 6px 0 0; text-align: center; }
.acct__note a { color: #000; font-weight: 500; }
@media (max-width: 420px) {
  .acct { grid-template-columns: auto 1fr; }
  .acct__copy { grid-column: 1 / -1; width: 100%; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner, .form-wrap, .team, .pay__inner { grid-template-columns: 1fr; }
  .pay__inner { gap: 40px; }
  .team { gap: 40px; }
  .form-wrap { gap: 40px; }
  .hero__visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc-hero { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
  .svc-hero__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  /* En celular el botón de diagnóstico sigue visible, más compacto */
  .nav__cta { --pad: 9px 14px; min-height: 40px; font-size: .8rem; margin-left: auto; }
  .nav__burger { margin-left: 8px; }
  .flow__steps { grid-template-columns: 1fr; gap: 22px; max-width: 360px; margin-inline: auto; }
  .fstep { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 16px; padding: 18px; }
  .fstep__ico { grid-row: span 2; margin: 0; }
  .fstep:not(:last-child)::after { right: auto; left: 44px; top: auto; bottom: -20px; width: 1px; height: 18px; background: linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.6)); }
  .fstep:not(:last-child)::before { display: none; }
  .flow { padding: 90px 0; }
  .nav__burger { display: block; }
  .cities { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .section { padding: 80px 0; }
  .hero { padding: 40px 0 76px; }
  .hero__ctas .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(3) { padding: 28px 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc, .cities__group { padding: 26px; }
  .svc-hero { padding: 28px 22px; border-radius: 22px; }
  .quiz { padding: 24px 18px; border-radius: 20px; }
  .opts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .opts span { padding: 13px 12px; font-size: .88rem; gap: 8px; }
  .quiz__nav .btn { flex: 1; }
  .float-card--a { left: 0; top: -30px; }
  .float-card--b { right: 0; }
  .dash { padding: 16px; }
  .dash__kpis b { font-size: 1.05rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .final-cta__inner { padding: 60px 22px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .marquee__track img { height: 40px; }
  .marquee__track { gap: 44px; }
  .logo__icon { width: 38px; height: 38px; }
  .pay { padding: 40px 0 80px; }
  .pay__grid { grid-template-columns: 1fr; gap: 12px; }
  .ptile { min-height: 210px; padding: 24px; border-radius: 18px; }
  .ptile h2 { font-size: 1.35rem; }
  .ptile__art { top: 20px; right: 18px; transform: scale(.8); transform-origin: top right; }
  .ptile:hover .ptile__art { transform: scale(.8); }
  .pstrip { flex-wrap: wrap; font-size: .9rem; }
  .skills { padding: 26px; }
  .hero__watermark { width: 90vw; right: -40vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* Logos reales de medios de pago */
.pse-logo { width: 104px; height: 104px; border-radius: 50%; box-shadow: 0 14px 30px -12px rgba(0,0,0,.8); }
.bank-logos { display: grid; gap: 8px; justify-items: end; }
.bank-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 8px 20px -12px rgba(0,0,0,.4); font-size: .78rem; font-weight: 600; color: #000; }
.bank-chip img { height: 20px; width: auto; }
.bank-chip--llave img { height: 18px; }
/* Celular: Transferencias → PSE → Tarjeta → ¿Ya pagaste? */
@media (max-width: 600px) {
  .pay__grid .ptile--light { order: 1; }
  .pay__grid .ptile--gray { order: 2; }
  .pay__grid .ptile--black { order: 3; }
  .pay__grid .ptile--white { order: 4; }
  .pay__grid .pstrip { order: 5; }
  .bank-chip { height: 32px; padding: 0 10px; }
}

/* ===== Página Servicios: planes ===== */
.plans-note { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(192, 132, 252, .35); background: rgba(124, 58, 237, .1); font-size: .9rem; color: #d8d8d8; }
.plans-note b { color: #fff; font-weight: 500; }
.cat-nav { position: sticky; top: 78px; z-index: 40; background: rgba(5,5,5,.85); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.cat-nav__inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.cat-nav__inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; color: var(--muted); transition: all .3s var(--ease); }
.cat-nav a:hover, .cat-nav a.is-active { color: #000; background: #fff; border-color: #fff; }
.plans-sec { scroll-margin-top: 150px; }
.plans-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.plans-sec__head h2 { margin-bottom: 8px; }
.plans-sec__head p:not(.eyebrow) { color: var(--muted); font-weight: 300; margin: 0; max-width: 620px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: #0f0f0f; border: 1px solid var(--line); overflow: hidden; }
.plan--popular { background: #fff; color: #0a0a0a; border-color: #fff; --text: #000; --bg: #fff; --accent: #000; --muted: #555; --line: rgba(0,0,0,.12); --line-2: rgba(0,0,0,.25); box-shadow: 0 40px 80px -40px rgba(124, 58, 237, .6); }
.plan__ribbon { position: absolute; top: 18px; right: -38px; transform: rotate(40deg); padding: 6px 44px; background: var(--acc); color: #000; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.plan__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); flex: none; }
.plan__icon svg { width: 26px; height: 26px; }
.plan--popular .plan__icon { background: #000; color: #fff; border-color: #000; }
.plan__head small { display: block; font-size: .78rem; color: var(--muted); }
.plan__head h3 { margin: 0; font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.plan__sub { font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; background: var(--acc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan--popular .plan__sub { background: linear-gradient(100deg, #7c3aed, #0891b2); -webkit-background-clip: text; background-clip: text; }
.plan__ideal { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.plan__list { position: relative; }
.plan__list ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.plan__list li { position: relative; padding-left: 26px; font-size: .88rem; line-height: 1.45; }
.plan__list > ul > li::before, .plan__list li:not(ul ul li)::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: .6rem; font-weight: 700; }
.plan__list ul ul { margin: 6px 0 2px; gap: 4px; }
.plan__list ul ul li { padding-left: 14px; font-size: .84rem; color: var(--muted); }
.plan__list ul ul li::before { content: "•"; position: absolute; left: 2px; top: 0; background: none; color: var(--muted); width: auto; height: auto; }
.plan__list li.is-off { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(127,127,127,.6); }
.plan__list li.is-off::before { background: transparent; border: 1px solid var(--line-2); color: transparent; }
.plan__group { margin: 12px 0 8px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan__group:first-child { margin-top: 0; }
.plans-ready .plan__list { max-height: 270px; overflow: hidden; transition: max-height .6s var(--ease); }
.plans-ready .plan__list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #0f0f0f); pointer-events: none; transition: opacity .4s; }
.plans-ready .plan--popular .plan__list::after { background: linear-gradient(transparent, #fff); }
.plans-ready .plan.is-open .plan__list { max-height: 2000px; }
.plans-ready .plan.is-open .plan__list::after { opacity: 0; }
.plan__toggle { align-self: flex-start; margin: 4px 0 8px; padding: 0; border: 0; background: none; color: var(--text); font: 500 .84rem var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plan__meta { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.plan__meta b { color: var(--text); font-weight: 600; }
.plan__price { margin: 18px -28px 18px; padding: 18px 28px; border-block: 1px solid var(--line); display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.plan__price span { color: var(--muted); font-size: .9rem; }
.plan .btn { width: 100%; }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.other { display: grid; gap: 8px; padding: 24px; border-radius: 18px; background: #0f0f0f; border: 1px solid var(--line); text-decoration: none; transition: border-color .4s, transform .4s var(--ease); }
.other:hover { border-color: var(--line-2); transform: translateY(-4px); }
.other b { font-size: 1.05rem; }
.other span { color: #b3b3b3; font-size: .9rem; font-weight: 300; }
.other em { font-style: normal; font-size: .84rem; margin-top: 6px; }
.perks-sec { padding-top: 20px; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.perks li { display: flex; align-items: center; gap: 14px; padding: 22px; font-size: .9rem; color: #d0d0d0; }
.perks li + li { border-left: 1px solid var(--line); }
.perks svg { width: 34px; height: 34px; flex: none; color: #c084fc; }
.svc-cta-row { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 1024px) {
  .others { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks li:nth-child(3) { border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  /* Planes como slides en tablet y celular */
  .plans { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; gap: 12px; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: start; }
  .cat-nav { top: 78px; }
}
@media (max-width: 600px) {
  .plans { grid-auto-columns: 88%; }
  .plan { padding: 24px 22px; }
  .plan__price { margin-inline: -22px; padding-inline: 22px; }
  .others, .perks { grid-template-columns: 1fr; }
  .perks li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .nav__cta-extra { display: none; } .nav__inner { gap: 10px; } .logo__tag { display: none; } }

/* ===== Marcas que han confiado (2 filas en movimiento) ===== */
.logos .marquee { padding: 6px 0; }
.logos .marquee + .marquee { margin-top: 14px; }
.marquee__track { display: flex; width: max-content; gap: 0; padding: 4px 0; animation: marquee 60s linear infinite; }
.marquee__set { display: flex; align-items: center; gap: 18px; padding-right: 18px; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 50s; }
.marquee--reverse .marquee__set { gap: 64px; padding-right: 64px; }
.marquee--reverse img { height: 46px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .4s; }
.marquee--reverse img:hover { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; padding: 8px 18px 8px 8px; border-radius: 99px; border: 1px solid var(--line); background: #0d0d0d; transition: border-color .4s, background .4s; }
.brand img { width: 44px; height: 44px; border-radius: 50%; filter: grayscale(1) contrast(1.05); opacity: .9; transition: filter .5s var(--ease), opacity .5s; }
.brand b { display: block; font-size: .86rem; font-weight: 500; white-space: nowrap; color: #e8e8e8; }
.brand small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand:hover { border-color: var(--line-2); background: #141414; }
.brand:hover img { filter: none; opacity: 1; }
.brand--logo { padding: 10px 20px; gap: 14px; }
.brand--logo img { width: auto; height: 30px; border-radius: 0; filter: grayscale(1) brightness(1.3); }
@media (max-width: 600px) {
  .marquee__track { animation-duration: 45s; }
  .brand { padding: 6px 14px 6px 6px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand b { font-size: .8rem; }
  .marquee--reverse img { height: 36px; }
  .marquee--reverse .marquee__set { gap: 44px; padding-right: 44px; }
}

/* ===== Botón flotante de WhatsApp: verde con llamado a la acción ===== */
.wa-float {
  width: auto; height: auto; display: inline-flex; align-items: center; gap: 10px;
  flex-direction: row-reverse; text-decoration: none;
  padding: 11px 20px 11px 13px; border-radius: 99px; background: var(--wa); color: #fff;
  box-shadow: 0 18px 36px -12px rgba(37, 211, 102, .75), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float::before { border-radius: 99px; border-color: var(--wa); }
.wa-float::after { display: none; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); background: #1ebe5b; }
.wa-float__label { font-weight: 600; font-size: .98rem; line-height: 1.15; white-space: nowrap; }
.wa-float__label small { display: block; font-weight: 400; font-size: .7rem; opacity: .92; margin-top: 2px; }
.wa-panel { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (max-width: 600px) {
  .wa-float { width: auto; height: auto; right: 14px; padding: 9px 16px 9px 11px; gap: 8px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float__label { font-size: .82rem; }
  .wa-float__label small { font-size: .64rem; }
  .wa-panel { bottom: calc(80px + env(safe-area-inset-bottom)); }
}