/* ReNova Strategic Consulting — hoja de estilos */
:root {
  --black: #0c0c0d;
  --blue: #316aeb;
  --fuchsia: #ff004f;
  --white: #ffffff;
  --paper: #f4f4f2;
  --gray: #5b5b60;
  --gray-dark: #a9a9b0;
  --line: rgba(12, 12, 13, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }
/* Scroll nativo. scroll-padding-top evita que el navbar fijo tape los títulos
   al navegar por los enlaces del menú. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 2; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.dark { background: var(--black); color: var(--white); }
.light { background: var(--white); }
.paper { background: var(--paper); }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.dark .eyebrow { color: #7ea2f5; }

h1, h2 { font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
h1 { font-size: clamp(38px, 6vw, 76px); }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
h2::after, .rule::after {
  content: ""; display: block; width: 32px; height: 3px; background: var(--blue);
  margin-top: 26px; border-radius: 2px;
}
.h-line { display: block; }
.lead { font-size: 17px; color: var(--gray); max-width: 60ch; margin-top: 26px; }
.dark .lead, .dark .muted { color: var(--gray-dark); }
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 8px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  background: var(--white); color: var(--black);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--blue); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--white); color: var(--black); }
.light .btn--dark:hover, .paper .btn--dark:hover { background: var(--blue); }
.btn--block { width: 100%; }
.link {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px;
  padding-block: 6px; background: none; border: 0; cursor: pointer; text-align: left;
}
.link span { transition: transform 0.3s var(--ease); display: inline-block; }
.link:hover span { transform: translateX(5px); }
.link:hover { color: var(--blue); }
.dark .link:hover { color: #7ea2f5; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 78px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), height 0.4s var(--ease);
  color: var(--white);
}
.nav.is-scrolled { background: rgba(12, 12, 13, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); height: 68px; border-bottom: 1px solid var(--line-dark); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
/* Proporción nativa del SVG (44.8 x 63) */
.logo img { width: 25px; height: 35px; display: block; }
.logo__t { display: flex; flex-direction: column; line-height: 1; }
.logo__t b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.logo__t small { font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; margin-top: 5px; color: var(--gray-dark); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; padding-block: 6px; opacity: 0.85; transition: opacity 0.3s; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn { padding: 12px 20px; font-size: 14px; }

/* CTA del navbar: un solo botón, siempre en una línea */
.nav__cta {
  padding: 12px 22px; border-radius: 8px;
  background: var(--white); color: var(--black);
  font-weight: 600; opacity: 1; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--blue); color: var(--white); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px auto; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Gráficos de marca ---------- */
/* z-index 0: por debajo de #cursor-light (1) y del contenido (2) */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(140px); animation: float 8s ease-in-out infinite; }
.orb--blue { background: var(--blue); opacity: 0.55; }
.orb--fuchsia { background: var(--fuchsia); opacity: 0.4; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(24px, -34px, 0); } }

.parallax { position: absolute; inset: 0; }

/* ============================================================
   Geometría vertical · formas grandes y degradados abstractos
   ============================================================ */
.vcomp { position: absolute; inset: 0; pointer-events: none; }

/* Mesh: fondo abstracto de degradados difusos. Un solo nodo compuesto,
   más barato que varias capas con blur. */
.mesh { position: absolute; inset: -12% -8%; pointer-events: none; filter: blur(30px); }
.mesh--hero {
  background:
    radial-gradient(58% 52% at 74% 16%, rgba(255, 0, 79, 0.62), transparent 68%),
    radial-gradient(54% 50% at 24% 74%, rgba(49, 106, 235, 0.66), transparent 70%),
    radial-gradient(42% 44% at 88% 82%, rgba(49, 106, 235, 0.40), transparent 70%);
}
.mesh--ribbon {
  background:
    radial-gradient(70% 120% at 8% -10%, rgba(255, 0, 79, 0.55), transparent 62%),
    radial-gradient(60% 110% at 34% 4%, rgba(49, 106, 235, 0.65), transparent 60%),
    radial-gradient(50% 80% at 76% 96%, rgba(49, 106, 235, 0.30), transparent 70%);
}
.mesh--soft {
  background:
    radial-gradient(50% 60% at 82% 24%, rgba(255, 0, 79, 0.42), transparent 70%),
    radial-gradient(52% 56% at 14% 80%, rgba(49, 106, 235, 0.48), transparent 72%);
}

/* Frame de marca: medias cápsulas grandes al borde derecho,
   separadas por una línea vertical fina.
   Se extiende por encima y por debajo de la sección para que el parallax
   nunca deje ver un borde superior cortado. */
.vframe {
  position: absolute; top: -18%; bottom: -18%; right: 0;
  width: clamp(190px, 27vw, 430px);
}
.vframe__line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: rgba(255, 255, 255, 0.8); }
.vframe__cap { position: absolute; left: 10px; right: 0; background: var(--blue); }
.vframe__cap--top { top: 0; height: clamp(230px, 38%, 460px); background: var(--fuchsia); border-radius: 0 0 999px 999px; }
.vframe__cap--bottom { bottom: 0; height: clamp(260px, 42%, 520px); border-radius: 999px 999px 0 0; }

.vline {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4) 22%, rgba(255, 255, 255, 0.4) 78%, transparent);
}
.light .vline, .paper .vline {
  background: linear-gradient(180deg, transparent, rgba(12, 12, 13, 0.12) 22%, rgba(12, 12, 13, 0.12) 78%, transparent);
}

/* Píldoras verticales: ahora en escala grande */
.vpill {
  position: absolute; bottom: 0; width: var(--w, clamp(90px, 10vw, 150px)); height: var(--h, 44%);
  border-radius: 999px; background: linear-gradient(180deg, #4f84ff, var(--blue) 70%, #2552c4);
}
.vpill--fuchsia { background: linear-gradient(180deg, #ff3f7a, var(--fuchsia)); }
.vcap {
  position: absolute; width: var(--w, clamp(200px, 24vw, 380px)); height: var(--h, clamp(260px, 40vh, 520px));
  background: var(--fuchsia);
}
.vcap--top { top: 0; border-radius: 0 0 999px 999px; }
.vcap--bottom { bottom: 0; border-radius: 999px 999px 0 0; background: var(--blue); }
/* Columnas ancladas por su borde superior (contacto) */
.contact .js-vcol { bottom: auto; }

/* Los orbs crecen para acompañar la escala nueva */
.orb { filter: blur(150px); }

@media (max-width: 767px) {
  .vframe { width: clamp(120px, 38vw, 200px); }
  .vframe__cap--top { height: clamp(150px, 30%, 260px); }
  .vframe__cap--bottom { height: clamp(170px, 34%, 300px); }
  .mesh { filter: blur(22px); }
}

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: 190px 150px; }
.hero__copy { max-width: 700px; }

/* Portátiles de 1280-1440px: escala general reducida para que quepa más
   información por pantalla sin perder legibilidad. */
@media (max-width: 1440px) {
  :root { --max: 1140px; }
  .hero { padding-block: 160px 120px; }
  .hero__copy { max-width: 56%; }
  .hero h1 { font-size: clamp(34px, 4vw, 54px); }
  .hero__text { font-size: 16.5px; max-width: 46ch; }
  h2 { font-size: clamp(30px, 3.4vw, 44px); }
  .lead { font-size: 16px; }
  .section { padding-block: clamp(68px, 7.5vw, 106px); }
  .pillar__name { font-size: clamp(30px, 3.2vw, 42px); }
  .pillar__phrase { font-size: 17px; }
  .opp h3 { font-size: 19px; }
  .step h3 { font-size: clamp(23px, 2.4vw, 30px); }
  .step p { font-size: 16px; }
  .process__end, .closing { font-size: clamp(19px, 2.1vw, 26px); }
  .manifesto__quote { font-size: clamp(20px, 2.4vw, 29px); }
}

/* Alturas cortas (portátiles de 1280×720 y similares) */
@media (max-height: 820px) and (min-width: 1001px) {
  .hero { min-height: 100svh; padding-block: 160px 120px; }
  .hero h1 { font-size: clamp(34px, 3.8vw, 52px); }
  .hero__cta { margin-top: 30px; }
  .hero__micro { margin-top: 16px; }
  .section { padding-block: clamp(70px, 8vw, 110px); }
}
/* Sin margin-right: main.js ya inserta el espacio entre palabras.
   Tenerlo duplicaba la separación. */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(0.5em); animation: word-in 0.9s var(--ease) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero h1 .h-line:first-child { color: var(--white); }
.hero h1 .h-line + .h-line { color: #7ea2f5; }
.hero__text { margin-top: 28px; color: var(--white); font-size: 18px; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 38px; align-items: center; }
.hero__micro { margin-top: 22px; font-size: 13px; color: var(--gray-dark); }
.hero .eyebrow { opacity: 0; animation: word-in 0.9s var(--ease) 0.1s forwards; }
.hero__fade { opacity: 0; animation: word-in 1s var(--ease) forwards; }

.marquee { background: var(--blue); color: var(--white); overflow: hidden; padding-block: 18px; position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
/* Con GSAP el desplazamiento lo controla motion.js: evita doble animación. */
html.motion .marquee__track { animation: none; }
.marquee__track span { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.01em; padding-right: 0.6em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problema ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--paper); padding: 34px 30px 36px; border-radius: 4px; border-top: 3px solid transparent; transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pcard:hover { border-top-color: var(--blue); transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(12, 12, 13, 0.35); }
.pcard svg { width: 30px; height: 30px; stroke: var(--blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.pcard h3 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.pcard p { color: var(--gray); font-size: 15px; }
.closing { margin-top: clamp(44px, 6vw, 72px); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; max-width: 780px; }
.closing em { font-style: normal; color: var(--blue); }

/* ---------- Manifiesto ---------- */
/* Peso 600 en vez de 700: a este tamaño el bold compite con el H1 del hero */
.manifesto h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 600; max-width: 1000px; }
.manifesto h2 .mw { opacity: 1; }
.manifesto h2 .h-line + .h-line { color: #7ea2f5; }
.manifesto__quote { margin-top: 60px; font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: #7ea2f5; max-width: 800px; border-left: 3px solid var(--blue); padding-left: 28px; }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line-dark); max-width: 900px; }
.triple div { padding: 28px 24px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.triple span { display: block; font-size: 11px; letter-spacing: 0.2em; color: #7ea2f5; margin-bottom: 10px; font-weight: 600; }
.manifesto__close { margin-top: 60px; font-weight: 600; font-size: 18px; max-width: 46ch; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--white); color: var(--black); border-radius: 6px; padding: clamp(30px, 3.4vw, 48px);
  overflow: hidden; display: flex; flex-direction: column; isolation: isolate;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s var(--ease); background: radial-gradient(420px circle at var(--mx) var(--my), rgba(49, 106, 235, 0.55), transparent 65%); }
.pillar .mini { position: absolute; right: 26px; top: 0; display: flex; gap: 8px; align-items: flex-start; }
.pillar .mini .vpill { position: static; bottom: auto; width: 14px; height: 46px; border-radius: 0 0 99px 99px; transform: scaleY(0.55); transform-origin: top; transition: transform 0.55s var(--ease); }
.pillar .mini .vpill--fuchsia { height: 30px; transform: scaleY(0.4); }
.pillar:hover .mini .vpill, .pillar:focus-within .mini .vpill { transform: scaleY(1); }
.pillar:hover, .pillar:focus-within { background: var(--black); color: var(--white); transform: translateY(-4px); }
.pillar:hover::before, .pillar:focus-within::before { opacity: 1; }
.pillar:hover .mini, .pillar:focus-within .mini { opacity: 1; transform: none; }
.pillar__name { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.pillar__name b { color: var(--blue); font-weight: 700; }
.pillar:hover .pillar__name b, .pillar:focus-within .pillar__name b { color: #7ea2f5; }
.pillar__sub { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); transition: color 0.5s; }
.pillar__phrase { margin-top: 26px; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; max-width: 30ch; }
.pillar ul { margin-top: 24px; display: grid; gap: 10px; flex: 1; }
.pillar li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--gray); transition: color 0.5s; line-height: 1.5; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 1.5px; background: var(--blue); }
.pillar:hover li, .pillar:hover .pillar__sub, .pillar:focus-within li, .pillar:focus-within .pillar__sub { color: #cfcfd4; }
/* Reserva para el motion graphic de la esquina */
.pillar .link { margin-top: 32px; align-self: flex-start; max-width: calc(100% - clamp(86px, 9vw, 120px)); }
.pillar:hover .link:hover { color: #7ea2f5; }
.pillars-foot { margin-top: 50px; font-size: 18px; font-weight: 600; }

/* ---------- Cómo trabajamos ---------- */
.process { padding-block: clamp(80px, 11vw, 140px) clamp(60px, 8vw, 100px); overflow: clip; }
.process__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.process__sticky { position: sticky; top: 120px; }
.process__badge { display: inline-block; margin-top: 40px; padding: 12px 18px; border: 1px solid rgba(126, 162, 245, 0.5); border-radius: 8px; font-size: 14px; font-weight: 500; color: #cfdcfb; max-width: 40ch; }
.steps { position: relative; padding-left: 54px; }
.steps__track { position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
/* Se anima con scaleY (no height): única excepción permitida en el loop de scroll. */
.steps__fill { position: absolute; inset: 0; background: var(--blue); box-shadow: 0 0 18px var(--blue); transform: scaleY(0); transform-origin: top; }
html:not(.motion) .steps__fill { transform: scaleY(1); }
/* Altura con aire suficiente para que la línea se cargue de forma progresiva
   con el scroll, sin los huecos enormes que generaba el 42vh original. */
.step { min-height: 22vh; padding-bottom: clamp(44px, 6vw, 86px); opacity: 0.45; transition: opacity 0.5s var(--ease); position: relative; padding-right: 76px; }
.step::before { content: ""; position: absolute; left: -51px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--black); border: 2px solid var(--line-dark); transition: all 0.4s var(--ease); }
.step.is-active, .step.is-done { opacity: 1; }
.step.is-done { opacity: 0.55; }
.step.is-active::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(49, 106, 235, 0.25); }
.step.is-done::before { background: var(--blue); border-color: var(--blue); }
.step small { font-size: 11px; letter-spacing: 0.22em; font-weight: 600; color: #7ea2f5; }
.step h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 12px; line-height: 1.1; }
.step p { color: var(--gray-dark); max-width: 42ch; font-size: 17px; }
.step.is-active h3, .step.is-active p { color: var(--white); }
.process__end { margin-top: clamp(50px, 7vw, 90px); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; max-width: 880px; color: var(--white); }
.process__end em { font-style: normal; color: #7ea2f5; }
.process .orb--a { width: 520px; height: 520px; left: -160px; top: 8%; transition: transform 1.4s var(--ease); }
.process .orb--b { width: 380px; height: 380px; right: -100px; bottom: 6%; transition: transform 1.4s var(--ease); }
.process[data-step="1"] .orb--a { transform: translate(240px, 120px); }
.process[data-step="2"] .orb--a { transform: translate(60px, 380px); }
.process[data-step="3"] .orb--a { transform: translate(300px, 560px); }
.process[data-step="4"] .orb--b { transform: translate(-260px, -200px); }
.process[data-step="5"] .orb--b { transform: translate(-120px, -460px); }
.process[data-step="5"] .orb--a { transform: translate(120px, 700px); }

/* ---------- Respaldo ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard__ph { position: relative; aspect-ratio: 4 / 4.4; background: var(--black); border-radius: 4px; overflow: hidden; display: grid; place-items: end center; margin-bottom: 20px; }
.tcard__ph::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 8%; background: var(--blue); filter: blur(46px); opacity: 0.7; border-radius: 50%; }
.tcard__ph svg { position: relative; width: 74%; fill: #2a2a2e; filter: grayscale(1); }
.experience { margin-top: 56px; padding: 34px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 20px 50px; align-items: center; }
.experience p { font-size: 14px; font-weight: 600; max-width: 28ch; color: var(--gray); }
.experience ul { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.experience li { font-size: 20px; font-weight: 700; color: #9a9aa0; letter-spacing: -0.01em; }
.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.commit h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; padding-top: 18px; border-top: 3px solid var(--blue); width: 100%; }
.commit h3 { border-top-width: 2px; }
.commit p { color: var(--gray); font-size: 15px; max-width: 34ch; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 7vw, 100px); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.qa button:hover { color: var(--blue); }
.qa .pm { position: relative; flex: none; width: 18px; height: 18px; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; background: var(--blue); left: 0; top: 8px; width: 18px; height: 2px; transition: transform 0.4s var(--ease); }
.qa .pm::after { transform: rotate(90deg); }
.qa.is-open .pm::after { transform: rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 28px; color: var(--gray); max-width: 56ch; }
.faq__close { margin-top: 36px; font-weight: 600; }

/* ---------- Contacto ---------- */
.contact { padding-block: clamp(90px, 12vw, 160px); }
.contact__head { max-width: 840px; margin-bottom: clamp(44px, 6vw, 70px); }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
.wa-card { border: 1px solid var(--line-dark); border-radius: 16px; padding: clamp(30px, 4vw, 56px); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr); align-items: center; gap: 30px; }
.wa-card h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
.contact__title { max-width: 24ch; margin-top: 20px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
.wa-card__action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.wa-card p { color: var(--gray-dark); }
.online { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 99px; }
.online i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #2fd36b; }
.online i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2fd36b; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
.wa-card .btn { margin-top: 0; }

.form-card { background: var(--white); color: var(--black); border-radius: 16px; padding: clamp(26px, 3.4vw, 44px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.form-card h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.form-card > p { margin-top: 8px; color: var(--gray); font-size: 14.5px; }
.form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #d6d6d8; border-radius: 8px; background: var(--white); font-size: 15px; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49, 106, 235, 0.2); }
.field.has-error input, .field.has-error select { border-color: var(--fuchsia); }
.field .err { display: none; font-size: 12px; color: #c4003d; font-weight: 500; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--gray); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check a { text-decoration: underline; }
.form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form .btn:hover { background: var(--blue); }
.form__note { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--gray); }
.hp { position: absolute; left: -9999px; }

/* ---------- Estados del formulario ---------- */
.form__ok, .form__fail { display: none; }
.form-card.is-sent .form,
#formCard.is-sent .form { display: none; }
.form-card.is-sent .form__ok,
#formCard.is-sent .form__ok { display: block; }
.form-card.is-failed .form__fail,
#formCard.is-failed .form__fail { display: block; }

/* Éxito */
.form__ok { margin-top: 4px; text-align: center; padding: 10px 0 4px; }
.form__ok .check { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: rgba(49, 106, 235, 0.1); }
.form__ok .check svg { width: 30px; height: 30px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form__ok .check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s var(--ease) 0.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__ok h4 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.form__ok p { color: var(--gray); font-size: 15px; max-width: 42ch; margin-inline: auto; }
.form__ok .next { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); text-align: left; }
.form__ok .next b { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.form__ok .next ol { display: grid; gap: 10px; counter-reset: nx; }
.form__ok .next li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--gray); counter-increment: nx; line-height: 1.5; }
.form__ok .next li::before { content: counter(nx); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); color: var(--black); font-size: 11px; font-weight: 700; }
.form__ok .btn { margin-top: 26px; width: 100%; }

/* Error: siempre con salida por WhatsApp */
.form__fail { margin-top: 20px; padding: 20px 22px; border-left: 3px solid var(--fuchsia); background: rgba(255, 0, 79, 0.05); border-radius: 0 8px 8px 0; }
.form__fail p { font-size: 14.5px; color: var(--gray); margin-bottom: 14px; }
.form__fail b { color: var(--black); font-weight: 600; }

/* Enviando */
.form-card.is-loading .btn--dark,
#formCard.is-loading .btn--dark { position: relative; overflow: hidden; pointer-events: none; opacity: 0.85; }
.form-card.is-loading .btn--dark::after,
#formCard.is-loading .btn--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); animation: load 1.1s linear infinite; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); position: relative; overflow: hidden; padding-block: 80px 40px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer p.tag { margin-top: 20px; color: var(--gray-dark); max-width: 24ch; font-weight: 500; }
.footer h4 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #7ea2f5; margin-bottom: 18px; font-weight: 600; }
.footer li { margin-bottom: 10px; font-size: 14px; color: #cfcfd4; line-height: 1.5; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__end { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 12.5px; color: var(--gray-dark); max-width: 70%; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border: 1px solid rgba(255, 255, 255, .82); border-radius: 50%; background: rgba(255, 255, 255, .82); display: grid; place-items: center; box-shadow: 0 12px 32px rgba(12, 12, 13, .28), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); transition: transform 0.3s var(--ease), background 0.3s; }
.wa-float:hover { transform: scale(1.08); background: rgba(255, 255, 255, .96); }
.wa-float svg { width: 28px; height: 28px; stroke: #128c7e; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(12, 12, 13, .12)); }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 90px 10px 16px; background: rgba(12, 12, 13, 0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform 0.5s var(--ease); }
.mbar.show { transform: none; }
.mbar .btn { width: 100%; padding: 14px; background: var(--blue); color: var(--white); }

/* ---------- Reveal ----------
   Solo se oculta si la capa de motion está activa; así nunca queda contenido
   invisible cuando GSAP no carga. */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0s); }
html.motion .reveal { opacity: 0; transform: translate3d(0, 30px, 0) scale(.99); }
html.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- Subpáginas de pilar ---------- */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--gray-dark); margin-bottom: 26px; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.crumbs span { opacity: 0.5; }

.phero { padding-block: 150px clamp(70px, 9vw, 120px); }
.phero h1 { font-size: clamp(42px, 6vw, 82px); }
@media (max-width: 1440px) { .phero { padding-block: 132px clamp(64px, 8vw, 100px); } }
.phero h1 b { color: var(--blue); font-weight: 700; }
.phero__sub { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #7ea2f5; margin-top: 18px; }
.phero__lead { font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; margin-top: 30px; }
.phero__text { margin-top: 24px; color: var(--gray-dark); max-width: 58ch; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; align-items: center; }

/* Servicios del pilar */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc__card { background: var(--white); border-radius: 8px; padding: clamp(28px, 3.2vw, 44px); border-top: 3px solid transparent; transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.svc__card:hover { border-top-color: var(--blue); transform: translateY(-5px); box-shadow: 0 26px 54px -30px rgba(12, 12, 13, 0.4); }
/* Servicio central de la estrategia */
.svc__card--key { border-top-color: var(--blue); background: linear-gradient(180deg, rgba(49, 106, 235, 0.05), var(--white) 30%); }
.svc__card--key::after { content: "Servicio contable"; display: inline-block; margin-top: 20px; padding: 7px 13px; border-radius: 999px; background: rgba(49, 106, 235, 0.1); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.svc__card > span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--blue); }
.svc__card h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin: 12px 0 14px; }
.svc__card p { color: var(--gray); font-size: 15.5px; }
.svc__card ul { margin-top: 20px; display: grid; gap: 9px; }
.svc__card li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--gray); line-height: 1.5; }
.svc__card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 1.5px; background: var(--blue); }

/* Entregables */
.deliver { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.deliver div { padding-top: 20px; border-top: 2px solid var(--blue); }
.deliver h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.deliver p { font-size: 14.5px; color: var(--gray); }
.dark .deliver p { color: var(--gray-dark); }

/* Señales de que aplica */
.signals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; margin-top: 40px; }
.signals li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.5; }
.signals li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); rotate: -45deg; }

/* ---------- Oportunidades: el dolor como punto de partida ----------
   Icono fucsia (la tensión de hoy) y salida en azul (lo que se renueva). */
.opps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opp {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 12px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(12, 12, 13, 0.07);
  box-shadow: 0 14px 40px -32px rgba(12, 12, 13, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.opp:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -32px rgba(12, 12, 13, 0.5); border-color: rgba(49, 106, 235, 0.3); }
.opp__ico {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border-radius: 14px; margin-bottom: 24px;
  background: rgba(255, 0, 79, 0.08); color: var(--fuchsia);
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.opp:hover .opp__ico { background: rgba(49, 106, 235, 0.1); color: var(--blue); }
.opp__ico svg { width: 28px; height: 28px; }
.opp h3 { font-size: clamp(18px, 1.9vw, 21px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 12px; }
.opp__now { font-size: 15px; color: var(--gray); line-height: 1.55; }
.opp__fix { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--black); line-height: 1.55; flex: 1; }
.opp__fix span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.opp__plan { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--blue); align-self: flex-start; }
.opp__plan span { transition: transform 0.3s var(--ease); }
.opp__plan:hover span { transform: translateX(5px); }

/* ---------- Objetivo de cada estrategia ---------- */
.pillar__goal { margin-top: 20px; padding: 14px 16px; border-radius: 8px; background: rgba(49, 106, 235, 0.08); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; transition: background 0.5s var(--ease); }
.pillar__goal span { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.pillar:hover .pillar__goal, .pillar:focus-within .pillar__goal { background: rgba(126, 162, 245, 0.14); }
.pillar:hover .pillar__goal span, .pillar:focus-within .pillar__goal span { color: #7ea2f5; }

/* Nota de elección múltiple */
.pick { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14.5px; font-weight: 600; color: var(--black); }
.pick span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; flex: none; }

/* Servicios destacados dentro de una estrategia (los contables en Reinvierte) */
.pillar li b { font-weight: 600; color: var(--black); }
.pillar:hover li b, .pillar:focus-within li b { color: var(--white); }
.pillar__note { margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(25, 135, 84, .2); border-radius: 8px; background: rgba(25, 135, 84, .1); font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #17633f; }
.pillar:hover .pillar__note, .pillar:focus-within .pillar__note { border-color: rgba(25, 135, 84, .7); background: #198754; color: var(--white); }

/* Bloque de plan personalizado */
.custom {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(28px, 4vw, 60px);
  align-items: center; margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(30px, 4vw, 54px); border-radius: 16px;
  background: var(--white); border: 1px solid rgba(12, 12, 13, 0.07);
  box-shadow: 0 20px 50px -36px rgba(12, 12, 13, 0.45);
}
.custom h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 14px; }
.custom p:not(.eyebrow) { color: var(--gray); font-size: 15.5px; line-height: 1.6; max-width: 56ch; }
.custom .eyebrow { margin-bottom: 14px; }
.custom__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.custom__cta .btn { width: 100%; justify-content: center; }

/* Nota de plan combinable (subpáginas) */
.mixnote {
  display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; justify-content: space-between;
  margin-top: 26px; padding: clamp(24px, 3vw, 36px);
  border-radius: 12px; border: 1px dashed rgba(49, 106, 235, 0.45);
  background: rgba(49, 106, 235, 0.04);
}
.mixnote b { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.mixnote p { font-size: 15.5px; color: var(--gray); line-height: 1.55; max-width: 60ch; }
.mixnote .btn { flex: none; }

@media (max-width: 1000px) {
  .custom { grid-template-columns: 1fr; }
  .custom__cta { width: 100%; }
  .mixnote { flex-direction: column; align-items: flex-start; }
  .mixnote .btn { width: 100%; justify-content: center; }
}

/* ---------- Dolor → resultado (subpáginas) ----------
   El dolor se marca en fucsia (el color de la tensión) y el resultado en azul
   (el color de la solución). Lectura de izquierda a derecha. */
.pains { display: grid; gap: 18px; margin-top: 48px; }
.pain {
  display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 0 26px; align-items: center;
  padding: 26px 30px; border-radius: 10px; background: var(--white);
  border-left: 4px solid var(--fuchsia);
  box-shadow: 0 12px 34px -26px rgba(12, 12, 13, 0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.dark .pain { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pain:hover { transform: translateX(5px); box-shadow: 0 20px 44px -26px rgba(12, 12, 13, 0.5); }
.pain__tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fuchsia); writing-mode: vertical-rl; rotate: 180deg; }
.pain__now { font-size: 16.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.pain__arrow { color: var(--blue); font-size: 22px; flex: none; }
.pain__then { font-size: 15.5px; color: var(--gray); line-height: 1.5; }
.dark .pain__then { color: var(--gray-dark); }
.pain__then b { color: var(--blue); font-weight: 600; }
.dark .pain__then b { color: #7ea2f5; }

/* ---------- Momento del recorrido ---------- */
.moment { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(126, 162, 245, 0.45); font-size: 14px; font-weight: 500; color: #cfdcfb; }
.moment i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

/* ---------- Cómo conectamos ---------- */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 50px; counter-reset: fl; }
.flow__step { position: relative; padding: 0 26px 0 0; counter-increment: fl; }
/* Línea del stepper en fucsia: marca el recorrido de entrada del cliente */
.flow__step::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--fuchsia); opacity: 0.55; }
.flow__step:last-child::before { right: auto; width: 24px; }
.flow__step i { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fuchsia); color: var(--white); font-size: 11px; font-weight: 700; font-style: normal; box-shadow: 0 0 0 4px rgba(255, 0, 79, 0.16); }
.flow__step h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 20px 0 8px; }
.flow__step p { font-size: 14.5px; color: var(--gray); line-height: 1.55; }
.dark .flow__step p { color: var(--gray-dark); }
.flow__step small { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--blue); }
.dark .flow__step small { color: #7ea2f5; }

/* ---------- Canales de contacto ---------- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.channels-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 64px; }
.channels-head h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.025em; }
.channels-head p { color: var(--gray); font-size: 14px; font-weight: 500; }
.channel { padding: 30px 28px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.channel h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.channel p { font-size: 14.5px; color: var(--gray); flex: 1; }
.channel__meta { display: block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--blue); }
.channel .link, .channel .btn { margin-top: 20px; align-self: flex-start; }
/* En fondo oscuro (card de WhatsApp en contacto) */
.dark .channel { border-color: var(--line-dark); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dark .channel p { color: var(--gray-dark); }
.dark .channel__meta, .wa-card .channel__meta { color: #7ea2f5; }

@media (max-width: 1000px) {
  .pain { grid-template-columns: 1fr; gap: 14px; padding: 24px 24px 24px 26px; }
  .pain__tag { writing-mode: horizontal-tb; rotate: none; }
  .pain__arrow { display: none; }
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow__step { padding: 0 0 0 0; }
  .flow__step::before { display: none; }
  .channels { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wa-card { grid-template-columns: 1fr; gap: 24px; }
  .contact__title { font-size: clamp(24px, 7vw, 32px); }
}

/* CTA de cierre */
.pcta { position: relative; overflow: hidden; }
.pcta__box { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; padding: clamp(32px, 4vw, 60px); border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pcta__box h2 { font-size: clamp(27px, 3.4vw, 44px); max-width: 24ch; }
.pcta__box h2::after { display: none; }
.pcta__box p { color: var(--gray-dark); margin-top: 14px; max-width: 46ch; }
.pcta__btns { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* Navegación entre pilares */
.pnav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pnav a { display: block; padding: 26px 24px; border-radius: 8px; background: var(--white); transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease); }
.pnav a:hover { background: var(--black); color: var(--white); transform: translateY(-4px); }
.pnav small { display: block; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; font-weight: 600; }
.pnav b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.pnav a:hover b span { color: #7ea2f5; }
.pnav b span { color: var(--blue); }

@media (max-width: 1000px) {
  .svc, .signals { grid-template-columns: 1fr; }
  .deliver, .pnav { grid-template-columns: 1fr; }
  .pcta__box { flex-direction: column; align-items: flex-start; }
  .pcta__btns { width: 100%; }
}

/* ---------- Páginas legales / 404 ---------- */
.page { min-height: 100svh; padding-top: 140px; }
.page .wrap { max-width: 860px; }
.page h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 40px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.page h2::after { display: none; }
.page p, .page li { color: var(--gray); margin-bottom: 14px; max-width: 70ch; }
.page li { list-style: disc; margin-left: 20px; }
.page--404 { display: flex; align-items: center; padding-block: 120px; }
.page--404 h1 { font-size: clamp(40px, 7vw, 92px); }
.page--404 h1 span { display: block; }
.page--404 h1 span + span { color: #7ea2f5; }
.page--404 .btn { margin-top: 40px; }

/* ---------- Luz de cursor global ---------- */
:root { --cx: 50vw; --cy: 50vh; --cursor-size: 520px; --cursor-scale: 1; }

#cursor-light {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: var(--cursor-size); height: var(--cursor-size); border-radius: 50%;
  translate: calc(var(--cx) - var(--cursor-size) / 2) calc(var(--cy) - var(--cursor-size) / 2);
  transform: scale(var(--cursor-scale));
  opacity: 0;
  transition: opacity 0.4s linear, background 0.4s linear, transform 0.35s var(--ease);
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(49, 106, 235, 0.32), rgba(49, 106, 235, 0) 68%);
}
html.motion #cursor-light { opacity: 1; }
/* Fondo claro: centro fucsia que se funde hacia azul. Opacidad baja y blend
   normal para no degradar el contraste del texto (WCAG AA). */
html[data-cursor-theme="light"] #cursor-light {
  --cursor-size: 460px;
  mix-blend-mode: normal;
  background: radial-gradient(circle, rgba(255, 0, 79, 0.12), rgba(49, 106, 235, 0.05) 60%, rgba(49, 106, 235, 0) 72%);
}
html.cursor-hover { --cursor-scale: 1.2; }
/* El contenido vive por encima del glow: nunca entra en la mezcla.
   .wrap ya declara z-index 2 y position relative más arriba. */
.section > .wrap, .footer > .wrap, .marquee { isolation: isolate; }

/* ---------- Progreso de lectura ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 51; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ---------- Navbar: glassmorphism + oculto al bajar ---------- */
.nav { transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), height 0.4s var(--ease), transform 0.45s var(--ease); }
.nav.is-scrolled {
  background: rgba(12, 12, 13, 0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }

/* ---------- Hero: partículas, shimmer, indicador ---------- */
.hero .dots, .dark .dots, .nav .dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }
.dark .dots, .nav .dots { opacity: 0.42; }
.hero h1 .w__h { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w { display: inline-block; }
html.motion .hero h1 .w { animation: none; opacity: 1; transform: none; }
/* Shimmer sobre la segunda línea.
   El color sólido se declara antes del clip, de modo que si el navegador no
   soporta background-clip:text el texto sigue visible. */
.hero h1 .h-line + .h-line { color: #7ea2f5; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html.motion .hero h1 .h-line + .h-line .w {
    background-image: linear-gradient(100deg, #7ea2f5 42%, rgba(255, 255, 255, 0.92) 50%, #7ea2f5 58%);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s var(--ease) infinite;
  }
}
@keyframes shimmer { 0%, 72% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 54px; background: var(--line-dark); overflow: hidden; }
.scroll-cue i { position: absolute; inset: 0; background: var(--blue); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Reveal por máscara de títulos ----------
   El recorte vive en la línea, con padding para no cortar tildes ni descendentes. */
h2 .h-line { display: block; }
html.motion h2 .h-line { overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
h2 { --rule: 1; }
h2::after { transform: scaleX(var(--rule)); transform-origin: left; }

/* ---------- Glassmorphism en cards ---------- */
.pcard {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 3px solid transparent;
  box-shadow: 0 10px 34px -22px rgba(12, 12, 13, 0.3);
}
.paper .pcard, .light .pcard { background: rgba(244, 244, 242, 0.6); }
.pillar {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.pillar:hover, .pillar:focus-within {
  background: rgba(12, 12, 13, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.14);
}
.form-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.mbar { backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }

/* ---------- Manifiesto ---------- */
.manifesto h2 .mw__h { display: inline; }
/* Legible desde el inicio: el scroll solo refuerza el blanco, no lo revela
   desde un gris ilegible. */
html.motion .manifesto h2 .mw { color: rgba(255, 255, 255, 0.72); }
/* Sin GSAP el titular se lee en blanco */
html:not(.motion) .manifesto h2 .mw { color: var(--white); }
.manifesto__quote { --qline: 1; border-left: 0; position: relative; }
.manifesto__quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(var(--qline)); transform-origin: top; }
.triple { --tline: 1; position: relative; }
.triple::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(var(--tline)); transform-origin: left; }

/* ---------- Motion graphics ---------- */
/* Se sitúa en la esquina inferior derecha de la card, sin empujar el texto. */
.mg { position: absolute; right: clamp(16px, 2vw, 30px); bottom: clamp(16px, 2vw, 30px); width: clamp(76px, 8vw, 104px); aspect-ratio: 1; color: var(--blue); opacity: 0.5; transition: opacity 0.5s var(--ease); pointer-events: none; }
.pillar:hover .mg, .pillar:focus-within .mg { opacity: 1; color: #7ea2f5; }
.mg svg { width: 100%; height: 100%; }
/* Espacio reservado (no hay CLS): solo cambia la opacidad. */
.smg { position: absolute; right: 0; top: 6px; width: 56px; aspect-ratio: 1; color: var(--blue); opacity: 0.22; transition: opacity 0.5s var(--ease); pointer-events: none; }
.step.is-active .smg { opacity: 1; }
.smg svg { width: 100%; height: 100%; }
.process .smg { opacity: .65; animation: processIconFloat 2.2s var(--ease) infinite alternate; }
.process [data-smg="origen"] .w1 { animation: processRing 1.8s ease-in-out infinite; transform-origin: center; }
.process [data-smg="origen"] .w2 { animation: processRing 1.8s ease-in-out .2s infinite; transform-origin: center; }
.process [data-smg="origen"] .w3 { animation: processRing 1.8s ease-in-out .4s infinite; transform-origin: center; }
.process [data-smg="diagnostico"] .scan { animation: processScan 1.6s ease-in-out infinite alternate; }
.process [data-smg="estrategia"] .route { stroke-dasharray: 90; animation: processRoute 1.8s ease-in-out infinite alternate; }
.process [data-smg="estrategia"] .s1,
.process [data-smg="estrategia"] .s2,
.process [data-smg="estrategia"] .s3,
.process [data-smg="estrategia"] .s4 { animation: processNode 1.5s ease-in-out infinite alternate; transform-origin: center; }
.process [data-smg="estrategia"] .s2 { animation-delay: .15s; }
.process [data-smg="estrategia"] .s3 { animation-delay: .3s; }
.process [data-smg="estrategia"] .s4 { animation-delay: .45s; }
.process [data-smg="implementacion"] .b1,
.process [data-smg="implementacion"] .b2,
.process [data-smg="implementacion"] .b3 { animation: processBuild 1.5s ease-in-out infinite alternate; }
.process [data-smg="implementacion"] .b2 { animation-delay: .15s; }
.process [data-smg="implementacion"] .b3 { animation-delay: .3s; }
.process [data-smg="crecimiento"] .g1,
.process [data-smg="crecimiento"] .g2,
.process [data-smg="crecimiento"] .g3 { animation: processGrow 1.5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom; }
.process [data-smg="crecimiento"] .g2 { animation-delay: .15s; }
.process [data-smg="crecimiento"] .g3 { animation-delay: .3s; }
@keyframes processRing { 50% { transform: scale(.78); opacity: .35; } }
@keyframes processScan { to { transform: translateY(36px); } }
@keyframes processRoute { to { stroke-dashoffset: 90; } }
@keyframes processNode { to { transform: scale(1.35); opacity: .55; } }
@keyframes processBuild { to { transform: translateY(-4px); opacity: .6; } }
@keyframes processGrow { to { transform: scaleY(.62); opacity: .58; } }
@keyframes processIconFloat { to { transform: translateY(-8px) rotate(3deg); } }
.channel__meta + .channel__meta { margin-top: 6px; }
@media (max-width: 767px) {
  .process .step { padding-right: 0; }
  .process .smg { position: relative; display: block; top: auto; right: auto; width: 52px; margin: 16px 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .process .smg, .process .smg * { animation: none !important; }
}
.step small { display: inline-block; }

/* ---------- Timeline: nodo luminoso ---------- */
.steps__node { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px; margin-top: -6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(49, 106, 235, 0.25), 0 0 18px 4px rgba(49, 106, 235, 0.8); opacity: 0; }
.steps__node::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); animation: ping 2s ease-out infinite; }
.process__badge { --spin: 0deg; position: relative; border-color: transparent; background: linear-gradient(var(--black), var(--black)) padding-box, conic-gradient(from var(--spin), var(--blue), var(--fuchsia), var(--blue)) border-box; border: 1px solid transparent; }

/* ---------- Equipo: logos y compromisos ---------- */
.logos { overflow: hidden; width: 100%; }
.logos__track { display: flex; gap: 40px; width: max-content; animation: logos 28s linear infinite; }
.logos__track li { filter: grayscale(1); }
@keyframes logos { to { transform: translateX(-50%); } }
.commit h3 { --rule: 1; border-top: 0; position: relative; }
.commit h3::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(var(--rule)); transform-origin: left; }

/* ---------- FAQ: línea activa ---------- */
.qa { position: relative; }
.qa::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 2px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease); }
.qa.is-open::before { transform: scaleY(1); }
.qa.is-open .pm { transform: rotate(45deg); }
.qa .pm { transition: transform 0.45s var(--ease); }

/* ---------- Formulario: micro-interacciones ---------- */
.field { position: relative; }
.field label { transition: color 0.3s var(--ease), transform 0.3s var(--ease); transform-origin: left; }
.field:focus-within label { color: var(--blue); transform: translateY(-1px); }
.field input, .field select, .field textarea { position: relative; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); border-radius: 2px; }
.field:focus-within::after { transform: scaleX(1); }
.form-card.is-loading .btn { position: relative; overflow: hidden; pointer-events: none; }
.form-card.is-loading .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: load 1.1s linear infinite; }
@keyframes load { to { transform: translateX(100%); } }
.wa-card .btn { position: relative; overflow: hidden; }
.wa-card .btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); animation: sheen 5s var(--ease) infinite; }
@keyframes sheen { 0%, 75% { transform: translateX(-160%); } 100% { transform: translateX(360%); } }
.wa-float { animation: pulse 3.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 14px 34px -8px rgba(49, 106, 235, 0.7); } 50% { box-shadow: 0 14px 34px -8px rgba(49, 106, 235, 0.7), 0 0 0 12px rgba(49, 106, 235, 0.12); } }

/* ---------- Footer: wordmark ---------- */
.wordmark { position: relative; z-index: 2; margin-top: 50px; padding-inline: var(--pad); overflow: hidden; pointer-events: none; }
.wordmark span {
  display: block; font-size: clamp(64px, 19vw, 280px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 0.82; text-align: center; white-space: nowrap;
  color: #2b2b31;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark span {
    background: linear-gradient(180deg, #3a3a42 10%, rgba(49, 106, 235, 0.55));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ---------- Responsive ---------- */
/* ============================================================
   TABLET · 1000px y menos
   ============================================================ */
@media (max-width: 1000px) {
  /* Menú: panel a pantalla completa, táctil y cómodo */
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { background: var(--black); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--black); padding: 30px var(--pad);
    gap: 4px; font-size: 22px; overflow-y: auto;
  }
  .nav.is-open .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); opacity: 1; }
  /* CTA dentro del panel: enlace real, no decoración */
  .nav.is-open .nav__links .nav__cta {
    margin-top: 24px; padding: 17px 24px; border: 0; border-radius: 8px;
    background: var(--blue); color: var(--white);
    font-size: 16px; font-weight: 600; text-align: center;
  }
  .nav.is-open .nav__cta:hover { background: var(--blue); color: var(--white); }

  .opps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__end { max-width: 100%; }
  .commit { grid-template-columns: 1fr; gap: 30px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: repeat(2, 1fr); }
  .phero h1 { font-size: clamp(40px, 9vw, 64px); }
}
/* Móvil y tablet: sin canvas de partículas ni tilt */
@media (max-width: 767px) {
  .mg { position: relative; right: auto; bottom: auto; margin: 22px 0 0; opacity: 1; }
  .smg { display: none; }
  .wordmark span { font-size: clamp(52px, 22vw, 120px); }
}

/* ============================================================
   MÓVIL · 700px y menos
   Prioridad: lectura cómoda, áreas táctiles amplias y conversión
   siempre al alcance del pulgar.
   ============================================================ */
@media (max-width: 700px) {
  :root { --pad: 20px; }
  body { font-size: 15.5px; }

  /* Tipografía: más contenida para que no se parta en pantallas chicas */
  h1 { font-size: clamp(31px, 8.6vw, 40px); line-height: 1.12; }
  h2 { font-size: clamp(27px, 7.6vw, 36px); line-height: 1.14; }
  .lead { font-size: 16px; }
  .section { padding-block: 62px; }
  .section-head { margin-bottom: 34px; }

  /* El contenido ocupa todo el ancho disponible.
     Anula los límites del bloque de 1440px, que también aplica aquí. */
  .wrap { max-width: 100%; }
  .hero__copy { max-width: 100%; }
  .hero__text { max-width: 100%; }
  .lead, .section-head, .manifesto__close, .mixnote p, .pcta__box p,
  .pcta__box h2, .custom p:not(.eyebrow), .opp__now, .opp__fix,
  .pillar__phrase, .step p, .channel p, .flow__step p, .moment {
    max-width: 100%;
  }

  /* Hero */
  .hero { min-height: 100svh; padding-block: 130px 90px; }
  .hero__text { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 30px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .link { justify-content: center; padding-block: 10px; }
  .scroll-cue { display: none; }

  /* Formas: ocupan menos ancho para no competir con el texto.
     La línea divisoria blanca se oculta: en pantallas estrechas cruzaba
     el texto y parecía un borde del layout. Solo en móvil. */
  .vframe { width: 128px; opacity: 0.85; }
  .vframe__line { display: none; }
  .vcomp .vline { display: none; }
  .mesh { inset: -18% -20%; }

  /* En móvil se eliminan los bloques grandes de color y degradados para
     dejar el espacio más limpio y enfocado en el texto. Desktop y tablet
     conservan la composición visual actual. */
  .deco,
  .mesh,
  .orb,
  .vframe,
  .vcomp,
  .vline,
  .vpill,
  .vcap,
  .parallax { display: none !important; }

  /* Una columna en todo */
  .opps, .pillars, .triple, .svc, .deliver, .signals, .channels, .flow { grid-template-columns: 1fr; }
  .triple div { padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }

  /* Oportunidades: compactas pero legibles */
  .opp { padding: 24px 22px; }
  .opp__ico { width: 48px; height: 48px; margin-bottom: 18px; }
  .opp__ico svg { width: 24px; height: 24px; }
  .opp__fix { margin-top: 18px; padding-top: 16px; }

  /* Estrategias */
  .pillar { padding: 28px 24px; }
  .pillar__name { font-size: 38px; }
  .pillar .mini { right: 20px; }
  .pillar .link { max-width: 100%; }
  .mg { position: relative; right: auto; bottom: auto; margin: 22px 0 0; width: 92px; opacity: 1; }

  /* Equipo: tarjetas a una columna para que el nombre completo quepa */
  .team { grid-template-columns: 1fr; gap: 14px; }
  .experience { grid-template-columns: 1fr; }

  /* Timeline */
  .step { padding-right: 0; padding-bottom: 38px; }
  .smg { display: none; }
  .steps { padding-left: 42px; }
  .step::before { left: -39px; }

  /* FAQ y formulario: campos cómodos para el pulgar */
  .qa button { padding: 22px 0; font-size: 16.5px; }
  .qa::before { left: -10px; }
  .form { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { padding: 15px 14px; font-size: 16px; }
  .form-card, .wa-card { padding: 26px 22px; }
  .pcta__box { padding: 28px 22px; }
  .pcta__btns .btn { width: 100%; }

  /* Wordmark del footer */
  .wordmark span { font-size: clamp(46px, 21vw, 92px); }

  /* Flotantes: la barra de conversión siempre visible */
  .mbar { display: block; padding: 10px 78px 10px 16px; }
  .mbar .btn { padding: 16px; font-size: 15px; }
  .wa-float { bottom: 80px; right: 14px; width: 54px; height: 54px; }
  .footer { padding-bottom: 116px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__end { margin-top: 40px; }

  /* Sin blur pesado: cuida la batería y el repintado */
  .orb { filter: blur(80px); }
  .pcard, .pillar, .form-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pcard { background: var(--paper); }
  .pillar { background: var(--white); }
  .form-card { background: var(--white); }
}

/* Móvil pequeño · 380px y menos */
@media (max-width: 380px) {
  .pillar__name { font-size: 33px; }
  .logo__t b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 200ms !important; }
  .reveal, .hero h1 .w, .hero .eyebrow, .hero__fade { opacity: 1; transform: none; }
  .marquee__track, .logos__track { animation: none; }
  /* Sin luz de cursor ni partículas: todo visible y estático. */
  #cursor-light, .scroll-cue { display: none; }
  .steps__node { display: none; }
  .mg, .smg { opacity: 1; }
  .step { opacity: 1; }
  /* El texto del hero no depende del degradado animado. */
  .hero h1 .h-line + .h-line { -webkit-text-fill-color: #7ea2f5; animation: none; }
  .manifesto h2 .mw { color: var(--white); }
  .wordmark span { -webkit-text-fill-color: transparent; }
}

/* Sin GSAP: el contenido queda visible por defecto. */
html:not(.motion) .reveal { opacity: 1; transform: none; }
html:not(.motion) #cursor-light { display: none; }

/* ---------- Logo animado del header: isotipo → ReNova → Strategic Consulting ---------- */
#nav .logo img { animation: logoMark .7s cubic-bezier(.2,.8,.2,1) both; }
#nav .logo__t b { display: inline-block; animation: logoName .7s cubic-bezier(.2,.8,.2,1) .6s both; }
#nav .logo__t small { display: inline-block; animation: logoSub 1.3s cubic-bezier(.2,.8,.2,1) 1.15s both; }
@keyframes logoMark { from { opacity: 0; transform: scale(.4) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes logoName { from { opacity: 0; transform: translateX(-14px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes logoSub { from { opacity: 0; transform: translateX(-14px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  #nav .logo img, #nav .logo__t b, #nav .logo__t small { animation: none; }
}

/* ---------- Hero: aparición palabra por palabra ---------- */
.hero h1 .hw__m { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .hw { display: inline-block; opacity: 0; transform: translateY(105%); filter: blur(6px); animation: heroWord .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.45s + var(--i) * .09s); }
@keyframes heroWord { to { opacity: 1; transform: none; filter: blur(0); } }
.hero .eyebrow { animation: eyebrowIn 1s cubic-bezier(.2,.8,.2,1) .15s forwards; }
@keyframes eyebrowIn { from { opacity: 0; letter-spacing: .4em; } to { opacity: 1; letter-spacing: .22em; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hw { animation: none; opacity: 1; transform: none; filter: none; }
}

/* Texto, botones y nota del hero: entrada suave en cascada */
.hero .hero__fade { opacity: 0; transform: translateY(26px); filter: blur(4px); animation: heroFade 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes heroFade { to { opacity: 1; transform: none; filter: blur(0); } }
.hero .hero__cta .btn, .hero .hero__cta .link { animation: heroFadeIn 1s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(16px); } }
.hero .hero__cta .btn { animation-delay: 1.6s; }
.hero .hero__cta .link { animation-delay: 1.8s; }
.hero .hero__cta.hero__fade { opacity: 1; transform: none; filter: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero__fade, .hero .hero__cta .btn, .hero .hero__cta .link { animation: none; opacity: 1; transform: none; filter: none; }
}

/* Hero: más aire arriba y abajo. `.section.hero` gana a la regla genérica `.section`. */
.section.hero { padding-block: 180px 170px; }
@media (max-width: 1440px) { .section.hero { padding-block: 180px 150px; } }
@media (max-width: 767px) { .section.hero { padding-block: 130px 110px; } }

/* ---------- Reenfoca · Reinventa · Reorganiza · Reinvierte (scroll) ----------
   "Re" queda fijo; la palabra cambia según el avance del scroll. */
.reword { height: 500vh; background: var(--blue); color: var(--white); position: relative; z-index: 3; }
.reword__stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 56px); overflow: hidden; padding-inline: var(--pad); }
.reword__big { margin: 0; display: flex; align-items: baseline; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.reword__slot { display: inline-grid; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.reword__w { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(70%); filter: blur(8px); transition: transform .45s var(--ease), filter .35s var(--ease); }
.reword__w.is-active { visibility: visible; opacity: 1; transform: none; filter: none; }
.reword__w.is-past { transform: translateY(-70%); }
@media (prefers-reduced-motion: reduce) {
  .reword { height: auto; }
  .reword__stick { height: auto; padding-block: 90px; }
  .reword__w { opacity: 0; visibility: hidden; transform: none; filter: none; }
  .reword__w.is-active { opacity: 1; visibility: visible; }
}

/* Reword: al llegar a "ReNova" entra el fondo del hero y la palabra se centra */
.reword__bg { background: var(--black); opacity: 0; transition: opacity 1s var(--ease); }
.reword.is-final .reword__bg { opacity: 1; }
.reword__bg .dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }
.reword__big { position: relative; z-index: 1; }
.reword__slot { transition: none; justify-items: start; }

.reword__lockup { position: relative; z-index: 1; display: flex; width: max-content; flex: none; font-size: clamp(48px, 13vw, 190px); transform: scale(var(--reword-scale, 1)); transform-origin: center; }
.reword__big { white-space: nowrap; }
.reword__big { line-height: 1.1; }

/* El banner de plan combinado ocupa todo el ancho y conserva el texto legible sobre la foto. */
.custom {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-left: 0;
  min-height: clamp(540px, 68vh, 760px);
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr);
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(64px, 9vw, 132px) calc(max(0px, (100% - var(--max)) / 2) + var(--pad));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--black);
  box-shadow: none;
  color: var(--white);
}
.custom__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.custom__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.custom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 12, 13, .9) 0%, rgba(12, 12, 13, .76) 40%, rgba(12, 12, 13, .32) 100%), linear-gradient(0deg, rgba(12, 12, 13, .35), transparent 60%); pointer-events: none; }
.custom > div { position: relative; z-index: 1; }
.custom .eyebrow { color: #a9bfff; }
.custom h3 { max-width: 16ch; color: var(--white); font-size: clamp(34px, 5vw, 64px); line-height: 1.08; }
.custom p:not(.eyebrow) { max-width: 54ch; color: rgba(255, 255, 255, .82); font-size: clamp(16px, 1.4vw, 19px); }
.custom__cta { width: 100%; align-items: stretch; }
.custom__cta .btn { background: var(--white); color: var(--black); }
.custom__cta .btn:hover { background: var(--blue); color: var(--white); }
.custom__cta .link { color: var(--white); }
.custom__cta .link:hover { color: #a9bfff; }

/* ReNova: el degradado flota y las partículas reaccionan al puntero y al scroll. */
.reword__bg.deco { background: var(--black); }
.reword__bg .mesh { display: block; z-index: 0; animation: rewordGlow 16s ease-in-out infinite alternate; }
.reword__bg::before { content: ""; position: absolute; z-index: 0; inset: -20%; background: radial-gradient(38% 42% at 20% 35%, rgba(255, 0, 79, .25), transparent 72%), radial-gradient(42% 48% at 78% 65%, rgba(49, 106, 235, .35), transparent 72%); animation: rewordGlow 19s ease-in-out infinite alternate-reverse; }
.reword__bg .dots { z-index: 1; }
@keyframes rewordGlow { from { transform: translate3d(-2%, 1%, 0) scale(.98); } to { transform: translate3d(2%, -1%, 0) scale(1.06); } }

/* ---------- Problema: entrada en scroll y hover de cards ---------- */
#problema.anim-ready:not(.head-in) .eyebrow,
#problema.anim-ready:not(.head-in) .h-line,
#problema.anim-ready:not(.head-in) .lead,
#problema.anim-ready .opp:not(.is-in) { opacity: 0; }
#problema.anim-ready:not(.head-in) h2::after { transform: scaleX(0); }
#problema.head-in .eyebrow { animation: probEyebrow 1s var(--ease) backwards; }
#problema.head-in .h-line { animation: probLine 1s var(--ease) backwards; }
#problema.head-in .h-line:nth-child(2) { animation-delay: .14s; }
#problema.head-in h2::after { animation: probRule .9s var(--ease) .45s backwards; }
#problema.head-in .lead { animation: probUp 1s var(--ease) .35s backwards; }
#problema .opp.is-in { animation: probCard 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * .14s); }
@keyframes probEyebrow { from { opacity: 0; letter-spacing: .4em; } }
@keyframes probLine { from { opacity: 0; transform: translateY(34px); filter: blur(6px); } }
@keyframes probRule { from { transform: scaleX(0); } }
@keyframes probUp { from { opacity: 0; transform: translateY(22px); } }
@keyframes probCard { from { opacity: 0; transform: translateY(60px) scale(.94); filter: blur(4px); } }

/* Las cards ya no heredan el retardo de .reveal: el hover responde al instante. */
#problema .opp { position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease); transition-delay: 0s; }
#problema .opp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--fuchsia), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
#problema .opp:hover { transform: translateY(-10px); box-shadow: 0 34px 60px -30px rgba(49, 106, 235, .45); }
#problema .opp:hover::before { transform: scaleX(1); }
#problema .opp__ico { transition: background .45s var(--ease), color .45s var(--ease), transform .55s var(--ease); }
#problema .opp:hover .opp__ico { transform: scale(1.12) rotate(-6deg); }
#problema .opp__plan span { transition: transform .35s var(--ease); }
#problema .opp:hover .opp__plan span { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  #problema .opp, #problema .eyebrow, #problema .h-line, #problema .lead, #problema h2::after { animation: none !important; opacity: 1 !important; transform: none; filter: none; }
}

/* Problema: frase de cierre */
#problema.anim-ready .closing:not(.is-in) { opacity: 0; }
#problema.anim-ready .closing:not(.is-in) em { opacity: 0; }
#problema .closing.is-in { animation: probClose 1s var(--ease) backwards; }
#problema .closing.is-in em { animation: probCloseEm 1.1s var(--ease) .55s backwards; }
@keyframes probClose { from { opacity: 0; transform: translateY(30px); filter: blur(5px); } }
@keyframes probCloseEm { from { opacity: 0; filter: blur(8px); } }
@media (prefers-reduced-motion: reduce) { #problema .closing, #problema .closing em { animation: none !important; opacity: 1 !important; } }

/* ---------- Manifiesto: título por palabras, frase, tres puntos y forma que sube ---------- */
.sw__m { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.sw { display: inline-block; }
.manifesto .reveal { transition: none; }
.manifesto.m-ready:not(.m-head) .eyebrow,
.manifesto.m-ready:not(.m-head) .sw { opacity: 0; }
.manifesto.m-ready:not(.m-head) h2::after { transform: scaleX(0); }
.manifesto.m-head .eyebrow { animation: probEyebrow 1s var(--ease) backwards; }
.manifesto.m-head h2 .sw { animation: swIn .9s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * .07s); }
.manifesto.m-head .lead .sw { animation: swIn .8s var(--ease) backwards; animation-delay: calc(1.2s + var(--i) * .025s); }
.manifesto.m-head h2::after { animation: probRule .9s var(--ease) 1.0s backwards; }
@keyframes swIn { from { opacity: 0; transform: translateY(105%); filter: blur(6px); } }

/* Frase: la barra azul se dibuja y el texto entra desde la izquierda */
.manifesto.m-ready .manifesto__quote:not(.is-in) { opacity: 0; }
.manifesto.m-ready .manifesto__quote:not(.is-in)::before { transform: scaleY(0); }
.manifesto__quote.is-in { animation: quoteIn 1s var(--ease) .2s backwards; }
.manifesto__quote.is-in::before { animation: quoteBar .9s var(--ease) backwards; }
@keyframes quoteIn { from { opacity: 0; transform: translateX(-26px); filter: blur(5px); } }
@keyframes quoteBar { from { transform: scaleY(0); } }

/* 01 · 02 · 03: la línea avanza y cada punto aparece cuando la línea llega */
.triple div { position: relative; }
.tri__t { display: block; font-weight: inherit; }
.triple div::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(49, 106, 235, .25); }
.manifesto.m-ready .triple:not(.is-in)::after { transform: scaleX(0); }
.manifesto.m-ready .triple:not(.is-in) div::before,
.manifesto.m-ready .triple:not(.is-in) span,
.manifesto.m-ready .triple:not(.is-in) .tri__t,
.manifesto.m-ready .triple:not(.is-in) ~ .manifesto__close { opacity: 0; }
.triple.is-in::after { animation: triLine 1.9s cubic-bezier(.65, 0, .35, 1) backwards; }
@keyframes triLine { from { transform: scaleX(0); } }
.triple.is-in div::before { animation: triDot .6s var(--ease) var(--d) backwards; }
.triple.is-in div span { animation: triUp .7s var(--ease) calc(var(--d) + .08s) backwards; }
.triple.is-in div .tri__t { animation: triUp .8s var(--ease) calc(var(--d) + .28s) backwards; }
.triple.is-in div:nth-child(1) { --d: .1s; }
.triple.is-in div:nth-child(2) { --d: .75s; }
.triple.is-in div:nth-child(3) { --d: 1.4s; }
.triple.is-in ~ .manifesto__close { animation: probClose 1s var(--ease) 2.5s backwards; }
@keyframes triDot { from { opacity: 0; transform: scale(0); } }
@keyframes triUp { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

@media (prefers-reduced-motion: reduce) {
  .manifesto .eyebrow, .manifesto .sw, .manifesto__quote, .manifesto__quote::before,
  .triple::after, .triple div::before, .triple span, .tri__t, .manifesto__close { animation: none !important; opacity: 1 !important; transform: none; filter: none; }
}

/* Las frases de 01 · 02 · 03 mantienen su estilo blanco (no el del número) y un poco más grandes */
.triple .tri__t { font-size: clamp(20px, 2.1vw, 24px); font-weight: 700; letter-spacing: -0.01em; color: var(--white); margin: 0; text-transform: none; line-height: 1.3; }

/* ---------- Estrategias (#pilares) ---------- */
/* Sin los gráficos de la esquina inferior derecha */
#pilares .mg { display: none; }
#pilares .pillar .link { max-width: 100%; }

/* Hover con fondo oscuro sólido y mejor contraste (antes era translúcido y se veía lavado) */
#pilares .pillar.reveal { transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); transition-delay: 0s; }
#pilares .pillar:hover, #pilares .pillar:focus-within {
  background: #0c0c0d; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-color: rgba(126, 162, 245, .35); transform: translateY(-8px);
  box-shadow: 0 34px 60px -28px rgba(12, 12, 13, .75);
}
#pilares .pillar:hover .pillar__name, #pilares .pillar:focus-within .pillar__name { color: var(--white); }
#pilares .pillar:hover .pillar__phrase, #pilares .pillar:focus-within .pillar__phrase { color: var(--white); }
#pilares .pillar:hover li, #pilares .pillar:hover .pillar__sub,
#pilares .pillar:focus-within li, #pilares .pillar:focus-within .pillar__sub { color: #e6e6ea; }
#pilares .pillar:hover .pillar__goal, #pilares .pillar:focus-within .pillar__goal { background: rgba(126, 162, 245, .2); color: var(--white); }
#pilares .pillar:hover li::before, #pilares .pillar:focus-within li::before { background: #7ea2f5; }

/* Nombre de la estrategia: "Re" entra primero y el resto se revela; en hover se abre un poco */
#pilares .pillar__name { display: flex; align-items: baseline; transition: letter-spacing .5s var(--ease); }
#pilares .pillar:hover .pillar__name { letter-spacing: -0.005em; }
.pn__r { display: inline-block; }
#pilares.w-ready .pillar:not(.is-in) { opacity: 0; }
#pilares .pillar.is-in { animation: probCard 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * .14s); }
#pilares .pillar.is-in .pillar__name b { display: inline-block; animation: pnRe .8s var(--ease) calc(var(--i, 0) * .14s + .3s) backwards; }
#pilares .pillar.is-in .pn__r { animation: pnRest .9s var(--ease) calc(var(--i, 0) * .14s + .5s) backwards; }
@keyframes pnRe { from { opacity: 0; transform: translateY(.5em) scale(.8); } }
@keyframes pnRest { from { opacity: 0; transform: translateX(-.4em); clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Título y subtítulo por palabras (misma animación que el manifiesto) */
#pilares.w-ready:not(.w-in) .eyebrow, #pilares.w-ready:not(.w-in) .sw, #pilares.w-ready:not(.w-in) .pick { opacity: 0; }
#pilares.w-ready:not(.w-in) h2::after { transform: scaleX(0); }
#pilares.w-in .eyebrow { animation: probEyebrow 1s var(--ease) backwards; }
#pilares.w-in h2 .sw { animation: swIn .9s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * .07s); }
#pilares.w-in .lead .sw { animation: swIn .8s var(--ease) backwards; animation-delay: calc(.8s + var(--i) * .025s); }
#pilares.w-in h2::after { animation: probRule .9s var(--ease) .6s backwards; }
#pilares.w-in .pick { animation: probUp 1s var(--ease) 1.5s backwards; }
@media (prefers-reduced-motion: reduce) {
  #pilares .eyebrow, #pilares .sw, #pilares .pick, #pilares .pillar, #pilares .pillar__name b, #pilares .pn__r { animation: none !important; opacity: 1 !important; transform: none; clip-path: none; }
}

/* Hover: el "Re" conserva el azul de marca y las barras de la esquina se despliegan con calma */
#pilares .pillar:hover .pillar__name b, #pilares .pillar:focus-within .pillar__name b { color: var(--blue); }
#pilares .pillar .mini { gap: 6px; }
#pilares .pillar .mini .vpill { width: 10px; transform: scaleY(.78); opacity: .75; transition: transform .8s var(--ease), opacity .6s var(--ease), box-shadow .8s var(--ease); }
#pilares .pillar .mini .vpill--fuchsia { transform: scaleY(.7); transition-delay: .07s; }
#pilares .pillar:hover .mini .vpill, #pilares .pillar:focus-within .mini .vpill { transform: scaleY(1); opacity: 1; box-shadow: 0 8px 18px -6px rgba(49, 106, 235, .7); }
#pilares .pillar:hover .mini .vpill--fuchsia, #pilares .pillar:focus-within .mini .vpill--fuchsia { box-shadow: 0 8px 18px -6px rgba(255, 0, 79, .7); }

/* Listas de las cards: el ul se estira para empujar el enlace abajo, y su grid repartía el espacio sobrante entre las filas. */
.pillar ul { align-content: start; }

/* ---------- Cómo empezamos (#conectar): título por palabras y pasos en cadena ---------- */
#conectar.w-ready:not(.w-in) .eyebrow, #conectar.w-ready:not(.w-in) .sw { opacity: 0; }
#conectar.w-ready:not(.w-in) h2::after { transform: scaleX(0); }
#conectar.w-in .eyebrow { animation: probEyebrow 1s var(--ease) backwards; }
#conectar.w-in h2 .sw { animation: swIn .9s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * .07s); }
#conectar.w-in .lead .sw { animation: swIn .8s var(--ease) backwards; animation-delay: calc(.8s + var(--i) * .025s); }
#conectar.w-in h2::after { animation: probRule .9s var(--ease) .6s backwards; }
#conectar .flow.reveal { transition: none; }
#conectar.w-ready .flow:not(.is-in) .flow__step i, #conectar.w-ready .flow:not(.is-in) .flow__step h3,
#conectar.w-ready .flow:not(.is-in) .flow__step p, #conectar.w-ready .flow:not(.is-in) .flow__step small { opacity: 0; }
#conectar.w-ready .flow:not(.is-in) .flow__step::before { transform: scaleX(0); }
#conectar .flow__step::before { transform-origin: left; }
#conectar .flow.is-in .flow__step::before { animation: triLine .9s cubic-bezier(.65, 0, .35, 1) calc(var(--k) * .7s + .1s) backwards; }
#conectar .flow.is-in .flow__step i { animation: triDot .6s var(--ease) calc(var(--k) * .7s) backwards; }
#conectar .flow.is-in .flow__step h3 { animation: triUp .8s var(--ease) calc(var(--k) * .7s + .2s) backwards; }
#conectar .flow.is-in .flow__step p { animation: triUp .8s var(--ease) calc(var(--k) * .7s + .32s) backwards; }
#conectar .flow.is-in .flow__step small { animation: triUp .8s var(--ease) calc(var(--k) * .7s + .44s) backwards; }
#conectar .flow__step:nth-child(1) { --k: 0; } #conectar .flow__step:nth-child(2) { --k: 1; }
#conectar .flow__step:nth-child(3) { --k: 2; }
@media (prefers-reduced-motion: reduce) {
  #conectar .eyebrow, #conectar .sw, #conectar .flow__step *, #conectar .flow__step::before { animation: none !important; opacity: 1 !important; transform: none; }
}

/* Iconos de los canales de contacto */
.channel__ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; margin-bottom: 20px; background: rgba(49, 106, 235, 0.1); color: var(--blue); transition: background .45s var(--ease), color .45s var(--ease), transform .55s var(--ease); }
.channel__ico svg { width: 26px; height: 26px; }
#conectar .channel { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
#conectar .channel:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(49, 106, 235, .45); border-color: rgba(49, 106, 235, .3); }
#conectar .channel:hover .channel__ico { background: var(--blue); color: var(--white); transform: scale(1.08) rotate(-5deg); }

/* Hover de los canales: acento rosado de marca */
#conectar .channel:hover { box-shadow: 0 26px 50px -30px rgba(255, 0, 79, .45); border-color: rgba(255, 0, 79, .3); }
#conectar .channel:hover .channel__ico { background: var(--fuchsia); color: var(--white); }

/* Canales: la card mantiene su hover azul; solo el ícono se vuelve rosado, con una animación mínima */
#conectar .channel:hover { box-shadow: 0 26px 50px -30px rgba(49, 106, 235, .45); border-color: rgba(49, 106, 235, .3); }
#conectar .channel:hover .channel__ico { transform: scale(1.04); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Titulares sin palabras huérfanas */
h1, h2, .h-line { text-wrap: balance; }

/* Cómo empezamos: línea de tiempo vertical en móvil */
@media (max-width: 700px) {
  #conectar .flow { gap: 34px; }
  #conectar .flow__step::before { display: block; left: 11px; right: auto; top: 26px; bottom: -30px; width: 2px; height: auto; transform-origin: top; opacity: .5; }
  #conectar .flow__step:last-child::before { display: none; }
  #conectar .flow.is-in .flow__step::before { animation-name: triLineY; }
  #conectar.w-ready .flow:not(.is-in) .flow__step::before { transform: scaleY(0); }
  .flow__step h3 { margin-top: 14px; }
}
@keyframes triLineY { from { transform: scaleY(0); } }

@media (max-width: 700px) {
  /* Línea de tiempo: número a la izquierda, texto con sangría y conector vertical entre números */
  #conectar .flow__step { padding-left: 46px; min-height: 28px; }
  #conectar .flow__step i { position: absolute; left: 0; top: 0; }
  #conectar .flow__step h3 { margin: 0 0 6px; padding-top: 2px; }
  #conectar .flow__step::before { bottom: -34px; }
}

/* Menú móvil: el header usa backdrop-filter, que hace que `bottom: 0` mida solo el alto del header.
   Se fija el alto del panel al de la pantalla. */
@media (max-width: 1000px) {
  .nav.is-open .nav__links { bottom: auto; height: calc(100vh - 68px); height: calc(100dvh - 68px); align-items: stretch; }
}

/* =====================================================================
   ACCESIBILIDAD (WCAG 2.2 AA)
   ===================================================================== */

/* Saltar al contenido: visible solo al recibir foco con el teclado */
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--white); color: var(--black); padding: 12px 18px; border-radius: 8px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: top .2s var(--ease); }
.skip:focus { top: calc(12px + env(safe-area-inset-top)); outline: 2px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }

/* Movimiento: el scroll suave se desactiva si la persona lo prefiere así */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Menú abierto: la página de atrás no se desplaza */
html.nav-open, html.nav-open body { overflow: hidden; }

/* Contraste: el azul de marca (#316aeb) queda en 4,35:1 sobre el fondo "paper"; para texto pequeño se usa un azul algo más profundo */
:root { --blue-ink: #2b62df; --fuchsia-ink: #d6003b; }
.eyebrow, .opp__plan, .opp__fix span, .pillar__goal span,
.channel__meta, .flow__step small, .mixnote b, .pnav small, .svc__card > span, .svc__card--key::after, .form__ok .next b { color: var(--blue-ink); }
.pain__tag { color: var(--fuchsia-ink); }
.flow__step i { background: #e0003f; }

/* Seguridad en pantallas con notch / barra de gestos */
.nav { padding-top: env(safe-area-inset-top); height: calc(78px + env(safe-area-inset-top)); }
.nav.is-scrolled { height: calc(68px + env(safe-area-inset-top)); }
.nav__in { padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.wa-float { right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
.mbar { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
@media (max-width: 1000px) {
  .nav.is-open .nav__links { top: calc(68px + env(safe-area-inset-top)); height: calc(100vh - 68px - env(safe-area-inset-top)); height: calc(100dvh - 68px - env(safe-area-inset-top)); }
}

/* Botón de WhatsApp: en celular se oculta al bajar y vuelve al subir */
.wa-float.is-away { transform: translateY(calc(100% + 40px)); opacity: 0; }
.wa-float.is-away:focus-visible { transform: none; opacity: 1; }
.wa-float { transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s; }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float.is-away { transition: none; } }

/* Hover decorativo: en pantallas táctiles no queda "pegado" tras un toque */
@media (hover: none) {
  #problema .opp:hover, #conectar .channel:hover { transform: none; box-shadow: none; }
  .btn:hover { background: inherit; }
}


/* Tipografía mínima en tablet y celular */
@media (max-width: 1000px) {
  .eyebrow, .triple span, .pillar__sub, .step small, .footer h4, .phero__sub, .svc__card > span, .mixnote b,
  .form__ok .next b, .opp__fix span, .pillar__goal span, .pain__tag, .pnav small, .svc__card--key::after,
  .form__ok .next li::before, .flow__step i { font-size: 12px; }
  .field label, .field .err, .form__note, .flow__step small, .channel__meta, .footer__end { font-size: 13px; }
}

/* Zonas táctiles de al menos 44 px y campos de 16 px (iPhone no hace zoom al enfocar) */
@media (max-width: 1000px), (pointer: coarse) {
  .link, .opp__plan, .pillar .link { display: inline-flex; align-items: center; min-height: 44px; }
  .qa > button { min-height: 52px; }
  .footer li a, .footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .btn { min-height: 48px; }
  .field input, .field select, .field textarea { font-size: 16px; min-height: 48px; }
  .field textarea { min-height: 110px; }
  .check { min-height: 44px; align-items: center; }
  .check input { width: 22px; height: 22px; flex: none; }
}

/* Nombres de empresas (texto): contraste suficiente sobre fondo claro; logotipo con área táctil de 44 px */
.logos__track li { color: var(--gray); }
@media (max-width: 1000px), (pointer: coarse) { .nav .logo { min-height: 44px; } }

/* Menú móvil: aparece y se va con un fundido suave (antes aparecía de golpe) */
@media (max-width: 1000px) {
  .nav .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; left: 0; right: 0; top: calc(68px + env(safe-area-inset-top));
    height: calc(100vh - 68px - env(safe-area-inset-top)); height: calc(100dvh - 68px - env(safe-area-inset-top));
    background: var(--black); padding: 30px var(--pad); gap: 4px; font-size: 22px; overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
    transition: opacity .4s ease, transform .5s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav .nav__links > a { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .55s var(--ease); }
  .nav.is-open .nav__links > a { opacity: 1; transform: none; }
  .nav.is-open .nav__links > a:nth-child(1) { transition-delay: .08s; }
  .nav.is-open .nav__links > a:nth-child(2) { transition-delay: .13s; }
  .nav.is-open .nav__links > a:nth-child(3) { transition-delay: .18s; }
  .nav.is-open .nav__links > a:nth-child(4) { transition-delay: .23s; }
  .nav__toggle span { transition: transform .45s var(--ease), opacity .3s ease; }
  .nav { transition: background .45s ease, backdrop-filter .4s var(--ease), height .4s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .nav .nav__links, .nav .nav__links > a, .nav__toggle span { transition: none !important; transform: none !important; }
}

/* Menú móvil, versión más calmada: solo fundido lento (sin desplazamiento ni giros bruscos) */
@media (max-width: 1000px) {
  .nav .nav__links {
    transform: none; background: rgba(12, 12, 13, .97);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .7s;
  }
  .nav.is-open .nav__links { transition: opacity .7s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
  .nav .nav__links > a { transform: none; opacity: 0; transition: opacity .6s ease; }
  .nav.is-open .nav__links > a { opacity: 1; }
  .nav.is-open .nav__links > a:nth-child(1) { transition-delay: .25s; }
  .nav.is-open .nav__links > a:nth-child(2) { transition-delay: .35s; }
  .nav.is-open .nav__links > a:nth-child(3) { transition-delay: .45s; }
  .nav.is-open .nav__links > a:nth-child(4) { transition-delay: .55s; }
  .nav { transition: background .7s cubic-bezier(.4, 0, .2, 1), backdrop-filter .4s var(--ease), height .4s var(--ease); }
  .nav__toggle span { transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .4s ease; }
}

/* 01 · 02 · 03 en celular: línea de tiempo vertical (la línea baja y cada punto aparece cuando llega) */
@media (max-width: 767px) {
  .triple { border-top: 0; margin-top: 46px; max-width: none; }
  .triple::after { left: 3px; top: 8px; bottom: 34px; width: 1px; height: auto; transform-origin: top; opacity: .7; }
  .manifesto.m-ready .triple:not(.is-in)::after { transform: scaleY(0); }
  .triple.is-in::after { animation: triLineY 1.9s cubic-bezier(.65, 0, .35, 1) backwards; }
  .triple div { padding: 0 0 28px 30px; border-bottom: 0; }
  .triple div:last-child { padding-bottom: 0; }
  .triple div::before { left: 0; top: 6px; }
  .triple span { margin-bottom: 6px; }
}

/* Footer: el logotipo no se subraya al pasar el mouse */
.footer .logo:hover { text-decoration: none; }


/* Footer: RENOVA sube suavemente desde abajo al llegar al final de la página */
.wordmark span { transition: transform 1.6s var(--ease), opacity 1.4s var(--ease); }
.wordmark.wm-ready:not(.is-in) span { transform: translateY(65%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .wordmark span { transition: none; } .wordmark.wm-ready:not(.is-in) span { transform: none; opacity: 1; } }

/* Footer: sin el gráfico rosado de la esquina */
.footer .bar-cut { display: none; }

/* Footer: RENOVA en blanco con transparencia y sin recortes (ni al subir ni abajo) */
.wordmark { overflow: visible; padding-bottom: .06em; }
.wordmark span, .wordmark span#wordmark {
  line-height: 1.02; padding-bottom: .08em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: rgba(255, 255, 255, .82);
}
.wordmark.wm-ready:not(.is-in) span { transform: translateY(28px); }
.footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

/* RENOVA entra por completo desde debajo del borde del footer y sube hasta su lugar */
.wordmark span { transition: transform 1.8s var(--ease), opacity 1s ease; }
.wordmark.wm-ready:not(.is-in) span { transform: translateY(145%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .wordmark.wm-ready:not(.is-in) span { transform: none; opacity: 1; } }

/* RENOVA sube con un degradado: las letras salen con la base difuminada y se van definiendo al subir */
.wordmark span {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 33.3%, transparent 66.6%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 33.3%, transparent 66.6%, transparent 100%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: transform 2s var(--ease), opacity 1s ease, -webkit-mask-position 2.2s var(--ease), mask-position 2.2s var(--ease);
}
.wordmark.wm-ready:not(.is-in) span { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
@media (prefers-reduced-motion: reduce) { .wordmark span { -webkit-mask-image: none; mask-image: none; transition: none; } }


/* =====================================================================
   EQUIPO · tarjetas editoriales + perfil en ventana lateral
   ===================================================================== */
.team { gap: clamp(22px, 2.6vw, 34px); }
@media (max-width: 767px) { .team { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; gap: 36px; } }

.tcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tcard__ph { aspect-ratio: 3 / 4; border-radius: 4px; margin-bottom: 22px; }
.tcard__ph svg { transition: transform 1.1s var(--ease); }
.tcard__name { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.tcard__role { flex: 1; margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--gray); }
.tcard__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: 22px; padding: 14px 4px; min-height: 52px; cursor: pointer;
  background: none; border: 0; border-block: 1px solid var(--line);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--black); text-align: left;
}
.tcard__label { background: linear-gradient(currentColor, currentColor) left 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.tcard__arrow { font-size: 18px; transition: transform .45s var(--ease), color .3s; }
.tcard__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.tcard__btn:hover .tcard__label, .tcard__btn:focus-visible .tcard__label { background-size: 100% 1.5px; }
.tcard__btn:hover .tcard__arrow, .tcard__btn:focus-visible .tcard__arrow { transform: translateX(6px); color: var(--blue); }
@media (hover: hover) { .tcard:hover .tcard__ph svg { transform: scale(1.05); } }

/* Entrada al llegar con el scroll */
#nosotros.w-ready:not(.w-in) .eyebrow, #nosotros.w-ready:not(.w-in) .sw { opacity: 0; }
#nosotros.w-ready:not(.w-in) h2::after { transform: scaleX(0); }
#nosotros.w-in .eyebrow { animation: probEyebrow 1s var(--ease) backwards; }
#nosotros.w-in h2 .sw { animation: swIn .9s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * .07s); }
#nosotros.w-in .lead .sw { animation: swIn .8s var(--ease) backwards; animation-delay: calc(.8s + var(--i) * .025s); }
#nosotros.w-in h2::after { animation: probRule .9s var(--ease) .6s backwards; }
/* Valores: más espacio y peso visual sin añadir contenido. */
.commit { gap: clamp(24px, 4vw, 64px); margin-top: clamp(76px, 9vw, 124px); }
.commit > div { min-width: 0; padding: clamp(20px, 2.5vw, 32px) 0 0; border-top: 1px solid var(--line); }
.commit h3 { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin: 0; padding: 0; border: 0; font-size: clamp(18px, 1.8vw, 22px); }
.commit h3::before { display: none; }
.commit__icon { display: block; width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: rgba(49, 106, 235, .09); color: var(--blue); }
.commit p { margin-top: 12px; }
@media (max-width: 1000px) {
  .commit { gap: 24px; margin-top: 64px; }
}
@media (max-width: 700px) {
  .commit { gap: 18px; margin-top: 52px; }
  .commit > div { padding-top: 20px; }
  .custom {
    min-height: clamp(680px, 86svh, 860px);
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    gap: 28px;
    padding: 56px var(--pad) 76px;
  }
  .custom__photo img { object-position: center 38%; }
  .custom::before { background: linear-gradient(180deg, rgba(12, 12, 13, .12) 0%, rgba(12, 12, 13, .48) 30%, rgba(12, 12, 13, .94) 77%, rgba(12, 12, 13, .98) 100%); }
  .custom h3 { font-size: clamp(34px, 10vw, 48px); }
  .custom__cta { gap: 12px; }
  .custom__cta .link { justify-content: center; }
  .reword__bg.deco { display: block !important; }
  .reword__bg .mesh { display: block !important; }
  .reword__bg .dots { display: block !important; }
}
@media (max-width: 767px) {
  .reword__lockup { font-size: clamp(38px, 12vw, 84px); }
}
@media (prefers-reduced-motion: reduce) {
  .reword { height: 500vh; }
  .reword__stick { height: 100svh; padding-block: 0; }
  .reword__w, .reword__w.is-active, .reword__w.is-past { transform: none; filter: none; transition: none; }
  .reword__w { opacity: 0; }
  .reword__w.is-active { opacity: 1; }
  .reword__bg, .reword__bg .mesh, .reword__bg::before { animation: none; transition: none; }
}

/* Contacto claro en los CTA finales de todas las páginas de estrategia. */
.pcta { background: var(--white); color: var(--black); }
.pcta > .deco { display: none; }
.pcta__box { border-color: var(--line); background: var(--white); box-shadow: 0 24px 64px -44px rgba(12, 12, 13, .28); }
.pcta__box p { color: var(--gray); }

/* Canales de diagnóstico: una sola acción visual por tarjeta. */
#conectar .channel--action {
  min-height: 96px;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 999px;
  overflow-wrap: anywhere;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
#conectar .channel--action .channel__ico { margin: 0; flex: none; border-radius: 50%; }
#conectar .channel--action:hover { transform: translateY(-4px); border-color: rgba(255, 0, 79, .35); box-shadow: 0 20px 44px -32px rgba(255, 0, 79, .5); }
#conectar .channel--action:hover .channel__ico { transform: scale(1.06); background: var(--fuchsia); color: var(--white); }

/* Quitar la cápsula azul decorativa del pie en todas las páginas. */
.footer .bar-cut { display: none; }
.back-to-top {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 20px;
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.back-to-top svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover, .back-to-top:focus-visible { transform: translateY(-5px); background: rgba(255, 255, 255, .28); border-color: var(--white); }
@media (max-width: 700px) {
  .back-to-top { top: 18px; right: 18px; width: 46px; height: 46px; }
  .footer__end { padding-right: 54px; }
  .channels-head { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 48px; }
  #conectar .channel--action { min-height: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01ms; }
  .back-to-top { transition-duration: .01ms; }
}

/* Mantener las partículas del hero activas también en móvil y al tocar la pantalla. */
@media (max-width: 767px) {
  .hero > .deco { display: block !important; }
  .hero .dots { display: block !important; }
}
#nosotros.w-ready .tcard:not(.is-in) { opacity: 0; }
#nosotros .tcard.is-in:not(.is-settled) { animation: probCard 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * .12s); }

/* Perfil: ventana lateral (escritorio) / hoja inferior (celular) */
html.modal-open { overflow: hidden; }
.pmodal { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; visibility: hidden; pointer-events: none; transition: visibility 0s linear .6s; }
.pmodal.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.pmodal__bd { position: absolute; inset: 0; background: rgba(12, 12, 13, .55); opacity: 0; transition: opacity .6s ease; }
.pmodal.is-open .pmodal__bd { opacity: 1; }
.pmodal__panel {
  position: relative; width: min(540px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); color: var(--black);
  padding: calc(28px + env(safe-area-inset-top)) clamp(22px, 3vw, 40px) calc(40px + env(safe-area-inset-bottom));
  opacity: 0; transform: translateX(28px);
  transition: opacity .5s ease, transform .7s var(--ease);
}
.pmodal.is-open .pmodal__panel { opacity: 1; transform: none; }
.pmodal__panel:focus { outline: none; }
.pmodal__x { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; background: var(--white); border: 1px solid var(--line); color: var(--black); transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease); }
.pmodal__x svg { width: 14px; height: 14px; }
.pmodal__x:hover { background: var(--black); color: var(--white); transform: rotate(90deg); }
.pmodal__x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pmodal__ph { position: relative; aspect-ratio: 4 / 3.4; border-radius: 6px; margin: 38px 0 26px; background: var(--black); overflow: hidden; display: grid; place-items: end center; }
.pmodal__ph::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 8%; background: var(--blue); filter: blur(46px); opacity: .7; border-radius: 50%; }
.pmodal__ph svg { position: relative; width: 52%; fill: #2a2a2e; filter: grayscale(1); }
.pmodal__ph img { width: 100%; height: 100%; object-fit: cover; }
.pmodal__name { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
.pmodal__name::after { display: none; }
.pmodal__role { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--gray); line-height: 1.45; }
.pmodal__body { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.pmodal__body .pm__lead { font-size: 16.5px; line-height: 1.55; font-weight: 500; }
.pmodal__body .pm__bio { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--gray); }
.pmodal__body h4 { margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-ink, var(--blue)); }
.pmodal__body ul { margin-top: 12px; display: grid; gap: 9px; }
.pmodal__body li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--gray); }
.pmodal__body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: var(--blue); }

/* El contenido del perfil entra en cascada al abrir */
.pmodal.is-open .pmodal__ph, .pmodal.is-open .pmodal__name, .pmodal.is-open .pmodal__role, .pmodal.is-open .pmodal__body > * { animation: pmUp .8s var(--ease) backwards; }
.pmodal.is-open .pmodal__ph { animation-delay: .15s; }
.pmodal.is-open .pmodal__name { animation-delay: .25s; }
.pmodal.is-open .pmodal__role { animation-delay: .32s; }
.pmodal.is-open .pmodal__body > :nth-child(1) { animation-delay: .4s; }
.pmodal.is-open .pmodal__body > :nth-child(2) { animation-delay: .48s; }
.pmodal.is-open .pmodal__body > :nth-child(3) { animation-delay: .56s; }
.pmodal.is-open .pmodal__body > :nth-child(4) { animation-delay: .64s; }
@keyframes pmUp { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 700px) {
  .pmodal { align-items: flex-end; }
  .pmodal__panel { width: 100%; height: auto; max-height: 92vh; max-height: 92dvh; border-radius: 18px 18px 0 0; transform: translateY(36px); }
  .pmodal__ph { aspect-ratio: 16 / 11; margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .pmodal, .pmodal__bd, .pmodal__panel, .pmodal__x, .tcard__ph svg, .tcard__arrow { transition: none !important; }
  .pmodal.is-open .pmodal__ph, .pmodal.is-open .pmodal__name, .pmodal.is-open .pmodal__role, .pmodal.is-open .pmodal__body > * { animation: none !important; }
  .pmodal__panel { transform: none; }
  #nosotros .tcard, #nosotros .eyebrow, #nosotros .sw { animation: none !important; opacity: 1 !important; }
}
@media (max-width: 560px) { .tcard__ph { aspect-ratio: 4 / 4.3; } }
.pmodal__body .pm__tags { font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--blue-ink, var(--blue)); }
.pmodal__body .pm__tags + .pm__bio { margin-top: 16px; }

/* Footer: el subrayado animado ahora sigue al texto (también cuando el enlace ocupa dos líneas).
   Sustituye al anterior, que era una línea fija a media altura del enlace. */
.footer li a, .footer__legal a {
  display: inline; min-height: 0; position: static; align-items: initial;
  padding-block: 11px;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 1px; background-origin: content-box; background-clip: content-box;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .45s var(--ease);
}
.footer li a::after { content: none; }
.footer li a:hover, .footer li a:focus-visible, .footer__legal a:hover, .footer__legal a:focus-visible { background-size: 100% 1px; text-decoration: none; }
@media (hover: none) { .footer li a:hover { background-size: 0 1px; } .footer li a:focus-visible { background-size: 100% 1px; } }
@media (prefers-reduced-motion: reduce) { .footer li a, .footer__legal a { transition: none; } }

/* Footer: UNA sola línea de subrayado por enlace (de la longitud de su línea más larga), no una por cada línea.
   main.js calcula el ancho en --uw. */
.footer li a, .footer__legal a { display: inline-block; vertical-align: top; max-width: 100%; }
.footer li a:hover, .footer li a:focus-visible, .footer__legal a:hover, .footer__legal a:focus-visible { background-size: var(--uw, 100%) 1px; }
@media (hover: none) { .footer li a:hover { background-size: 0 1px; } .footer li a:focus-visible { background-size: var(--uw, 100%) 1px; } }

/* =====================================================================
   RENDIMIENTO · se trabaja solo con lo que la persona está viendo
   ===================================================================== */

/* El navegador no dibuja las secciones largas hasta que se acercan a la pantalla.
   `auto` en contain-intrinsic-size recuerda la altura real una vez dibujadas, para que el scroll no salte. */
#problema, #pilares, #conectar, #preguntas { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Tablet y pantallas táctiles: menos efectos caros (desenfoques y vidrio), mismo diseño */
@media (max-width: 1100px), (hover: none) {
  /* Entradas sin desenfoque: solo desvanecer y subir */
  @keyframes heroWord { to { opacity: 1; transform: none; } }
  @keyframes heroFade { to { opacity: 1; transform: none; } }
  @keyframes probLine { from { opacity: 0; transform: translateY(34px); } }
  @keyframes probCard { from { opacity: 0; transform: translateY(60px) scale(.94); } }
  @keyframes probClose { from { opacity: 0; transform: translateY(30px); } }
  @keyframes probCloseEm { from { opacity: 0; } }
  @keyframes swIn { from { opacity: 0; transform: translateY(105%); } }
  @keyframes quoteIn { from { opacity: 0; transform: translateX(-26px); } }
  @keyframes triUp { from { opacity: 0; transform: translateY(16px); } }
  .hero h1 .hw, .hero .hero__fade, .reword__w { filter: none; }

  /* Fondos: manchas de color más ligeras y sin movimiento continuo */
  .orb { filter: blur(60px); animation: none; }
  .mesh { filter: blur(14px); }
  .reword__bg .mesh { animation: none; }

  /* Vidrio esmerilado -> fondos más opacos (se ve casi igual y pinta mucho más rápido) */
  .nav.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12, 12, 13, .94); }
  .pcard, .pillar, .form-card, .wa-card, .mbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pillar { background: rgba(255, 255, 255, .92); }
  .pcard { background: rgba(244, 244, 242, .92); }
}

/* La luz que sigue al cursor solo tiene sentido con mouse */
@media (hover: none) { #cursor-light { display: none; } }

/* Secciones fuera de pantalla: sus animaciones continuas quedan en pausa */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
