/* =====================================================================
   CONSULTORÍA VALDEZ · Landing corporativa
   Mobile first. Marca: navy #0f2a52 + verde hoja #2a9440 + amarillo casco #f6c400
   Índice: 1 Tokens · 2 Base · 3 Botones · 4 Cargador · 5 Encabezado · 6 Hero
           7 Cinta · 8 Manifiesto · 9 Servicios · 10 Cine · 11 Sectores · 12 Método
           13 Por qué · 14 Catálogo · 15 Contacto · 16 Pie · 17 WhatsApp · 18 Efectos
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #050f20;
  --navy-900: #071a33;
  --navy-800: #0b2447;
  --navy-700: #0f2a52;
  --navy-600: #17407a;
  --verde-900: #0d4a1f;
  --verde-700: #1d7a33;
  --verde-600: #2a9440;
  --verde-500: #34a846;
  --verde-400: #5cbf4a;
  --lima-300: #9ad14b;
  --lima-200: #c3e88d;
  --sol: #f6c400;
  --fondo: #f5f8f4;
  --fondo-2: #e9f2e7;
  --tinta: #0e1b2e;
  --tinta-2: #4a5b73;
  --linea: rgba(15, 42, 82, 0.13);

  --f-display: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-marca: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --sec: clamp(4.5rem, 10vw, 8.5rem);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fondo);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); line-height: 1.08; letter-spacing: -0.02em; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: 4.5rem; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--verde-500); color: #fff; }

.contenedor { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.saltar {
  position: fixed; left: 1rem; top: -4rem; z-index: 300; padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--sol); color: #14213a; font-weight: 700; transition: top .3s;
}
.saltar:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 700 .74rem/1 var(--f-texto); letter-spacing: .18em; text-transform: uppercase; color: var(--verde-700);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--claro { color: var(--lima-300); }

.sec-cab { display: grid; gap: 1.1rem; max-width: 52rem; }
.sec-cab h2 { font-size: clamp(2rem, 6.4vw, 3.7rem); font-weight: 700; }
.sec-cab em, .manifiesto em { font-style: normal; color: var(--verde-700); }
.sec-cab__txt { font-size: 1.08rem; color: var(--tinta-2); max-width: 40rem; }
.sec-cab--centro { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- 3. Botones ---------- */
.btn {
  --bg: var(--verde-600); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  max-width: 100%; padding: .95rem 1.5rem; border: 0; border-radius: 999px;
  font: 700 .98rem/1.15 var(--f-texto); text-align: center; text-decoration: none;
  color: var(--fg); background: var(--bg); cursor: pointer; overflow: hidden; isolation: isolate;
  box-shadow: 0 16px 34px -16px rgba(7, 26, 51, .55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .45) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -16px rgba(7, 26, 51, .6); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--sol { --bg: var(--sol); --fg: #14213a; box-shadow: 0 18px 40px -16px rgba(246, 196, 0, .65); }
.btn--verde { --bg: linear-gradient(135deg, var(--verde-500), var(--verde-700)); }
.btn--blanco { --bg: #fff; --fg: var(--verde-900); }
.btn--vidrio { --bg: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(10px); box-shadow: none; }
.btn--linea { --bg: transparent; --fg: var(--navy-700); border: 1.5px solid var(--navy-700); box-shadow: none; }
.btn--linea:hover { --bg: var(--navy-700); --fg: #fff; }
.btn--grande { padding: 1.1rem 1.7rem; font-size: 1.02rem; }
.btn--sm { padding: .72rem 1.15rem; font-size: .88rem; }
.btn--bloque { width: 100%; }

/* ---------- 4. Cargador ---------- */
.cargador {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: #fff;
  background: radial-gradient(80% 60% at 50% 38%, #11346a 0%, var(--navy-950) 72%);
  /* Respaldo sin JavaScript: se oculta solo a los 2.4 s */
  animation: cargadorFuera .5s ease 1.9s forwards;
}
.cargador.is-oculto { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s ease, visibility 0s .55s; }
@keyframes cargadorFuera { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.cargador__rejilla {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(55% 50% at 50% 45%, #000, transparent);
}
.cargador__centro { position: relative; display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.cargador__aro { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.cargador__aro::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--lima-300); border-right-color: rgba(154, 209, 75, .25);
  animation: giro 1.1s linear infinite;
}
.cargador__anillo { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cargador__pista { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 3; }
.cargador__barra {
  fill: none; stroke: var(--verde-400); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(92, 191, 74, .8));
  animation: cargaAro 1.6s var(--ease-io) .1s forwards;
}
@keyframes cargaAro { to { stroke-dashoffset: 0; } }
@keyframes giro { to { transform: rotate(360deg); } }
.cargador__marca { width: 86px; height: 86px; overflow: visible; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4)); }
.c-hoja { transform-box: fill-box; transform-origin: 0% 100%; transform: scale(0); animation: brota .75s var(--ease) forwards; }
.c-hoja--1 { animation-delay: .25s; }
.c-hoja--2 { animation-delay: .5s; }
.c-hoja--3 { animation-delay: .75s; }
.c-mano { opacity: 0; transform: translateY(8px); animation: sube .7s var(--ease) .05s forwards; }
@keyframes brota { to { transform: scale(1); } }
@keyframes sube { to { opacity: 1; transform: none; } }
.cargador__nombre { font: 500 1.35rem/1 var(--f-marca); letter-spacing: .28em; text-transform: uppercase; margin-left: .28em; }
.cargador__nombre strong { font-weight: 700; color: var(--lima-200); }
.cargador__pasos { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; font: 600 .74rem/1 var(--f-texto); letter-spacing: .12em; text-transform: uppercase; }
.cargador__pasos li { display: inline-flex; align-items: center; gap: .4rem; opacity: .35; animation: pasoOn .4s ease forwards; animation-delay: calc(.5s + var(--n) * .4s); }
.cargador__pasos svg { width: 1.1em; height: 1.1em; color: var(--lima-300); opacity: 0; transform: scale(.3); animation: pop .45s var(--ease) forwards; animation-delay: calc(.5s + var(--n) * .4s); }
@keyframes pasoOn { to { opacity: 1; } }
@keyframes pop { to { opacity: 1; transform: none; } }
.cargador__pct { font: 700 .9rem/1 var(--f-display); letter-spacing: .1em; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }

.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progreso span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--pg, 0)); background: linear-gradient(90deg, var(--lima-300), var(--sol)); }

/* ---------- 5. Encabezado ---------- */
.cab {
  position: fixed; top: max(10px, env(safe-area-inset-top)); left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; padding-inline: 10px; pointer-events: none;
}
.cab__barra {
  pointer-events: auto; position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  width: min(100%, 1180px); padding: .45rem .5rem .45rem 1rem; border-radius: 999px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55);
}
.cab__barra::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: rgba(7, 26, 51, .58); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: background .4s;
}
.cab.is-scroll .cab__barra::before { background: rgba(7, 26, 51, .86); }
.marca { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.marca__icono { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); background: #fff; border-radius: 12px; padding: 3px; }
.marca__texto { display: grid; line-height: 1; font-family: var(--f-marca); text-transform: uppercase; }
.marca__sup { font-size: .6rem; letter-spacing: .3em; font-weight: 500; opacity: .85; }
.marca__nombre { font-size: 1.15rem; letter-spacing: .12em; font-weight: 700; margin-top: .2rem; }

.nav {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .3rem;
  padding: 6rem 1.6rem 2rem;
  background: radial-gradient(70% 50% at 80% 10%, rgba(52, 168, 70, .25), transparent 60%), var(--navy-950);
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.cab.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav a:not(.btn) {
  font: 700 1.9rem/1.1 var(--f-display); text-decoration: none; padding: .7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff;
}
.nav a:not(.btn):hover { color: var(--lima-300); }
.btn--menu { margin-top: 1.4rem; align-self: flex-start; }
.cab__cta { display: none; position: relative; z-index: 3; }

.burger {
  position: relative; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08); cursor: pointer; display: grid; place-content: center; gap: 6px; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
.cab.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.cab.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
html.menu-abierto { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip; display: grid; align-items: center;
  min-height: 100vh; min-height: 100svh; padding: 7.5rem 0 5.5rem; color: #fff;
  background:
    radial-gradient(110% 80% at 85% 5%, #14407f 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(52, 168, 70, .32), transparent 60%),
    var(--navy-950);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__rejilla {
  position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 65% at 50% 40%, #000 20%, transparent);
  animation: rejilla 18s linear infinite;
}
@keyframes rejilla { to { background-position: 56px 56px; } }
.hero__luz { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__luz--a { width: 46vw; height: 46vw; min-width: 260px; max-width: 560px; top: -8%; right: -10%; background: #2c6fd1; animation: deriva 16s ease-in-out infinite alternate; }
.hero__luz--b { width: 40vw; height: 40vw; min-width: 240px; max-width: 480px; bottom: -12%; left: -8%; background: var(--verde-600); animation: deriva 20s ease-in-out infinite alternate-reverse; }
@keyframes deriva { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.18); } }

.hero__rejilla-cont { display: grid; gap: 2.6rem; align-items: center; }
.hero__texto { display: grid; gap: 1.5rem; justify-items: start; }
.sello {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; padding: .55rem .95rem; border-radius: 999px;
  font: 700 .68rem/1.2 var(--f-texto); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
}
.sello__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--lima-300); box-shadow: 0 0 0 0 rgba(154, 209, 75, .7); animation: latido 2s ease-out infinite; }
.sello__ciudad { color: var(--sol); }
@keyframes latido { to { box-shadow: 0 0 0 10px rgba(154, 209, 75, 0); } }

.hero__titulo { font-size: clamp(2.25rem, 9.4vw, 5.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.ln { display: block; padding-bottom: .1em; margin-bottom: -.1em; }
.rota { display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.rota__pal {
  grid-area: 1 / 1; display: block; white-space: nowrap; opacity: 0; transform: translateY(105%);
  transition: transform .85s var(--ease), opacity .5s ease;
  background: linear-gradient(95deg, var(--lima-300), #62dc8c 60%, var(--sol)); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.rota__pal.is-on { opacity: 1; transform: none; }
.rota__pal.is-off { opacity: 0; transform: translateY(-105%); }
html:not(.js) .rota__pal { opacity: 1; transform: none; }
html:not(.js) .rota__pal:not(:first-child) { display: none; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .rota__pal { color: var(--lima-300); } }

.hero__sub { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: rgba(255, 255, 255, .8); max-width: 34rem; }
.hero__acciones { display: grid; gap: .85rem; width: 100%; }
.hero__acciones .btn { width: 100%; }
.hero__pilares { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; font: 600 .86rem/1 var(--f-texto); color: rgba(255, 255, 255, .85); }
.hero__pilares li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__pilares svg { width: 1.25em; height: 1.25em; padding: .18em; border-radius: 50%; background: var(--verde-500); color: #fff; }

.hero__bajar {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: .5rem;
  font: 700 .66rem/1 var(--f-texto); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-decoration: none;
}
.hero__bajar i { width: 1px; height: 42px; background: linear-gradient(var(--lima-300), transparent); transform-origin: top; animation: bajar 2.2s var(--ease-io) infinite; }
@keyframes bajar { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Escena 3D del hero */
.nucleo { width: min(84vw, 440px); margin-inline: auto; }
.nucleo__balanceo { position: relative; width: 100%; aspect-ratio: 1; perspective: 1000px; }
.nucleo__escena { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); will-change: transform; }
.anillo {
  position: absolute; inset: 4%; border-radius: 50%; transform-style: preserve-3d;
  border: 1.5px solid rgba(154, 209, 75, .55); box-shadow: 0 0 36px rgba(52, 168, 70, .28), inset 0 0 36px rgba(52, 168, 70, .18);
}
.anillo::after {
  content: ""; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%;
  background: var(--lima-300); box-shadow: 0 0 16px 3px rgba(154, 209, 75, .9);
}
.anillo--1 { animation: gira1 16s linear infinite; }
.anillo--2 { inset: 14%; border-style: dashed; border-color: rgba(255, 255, 255, .34); box-shadow: none; animation: gira2 24s linear infinite; }
.anillo--2::after { background: #fff; box-shadow: 0 0 14px 3px rgba(255, 255, 255, .8); }
.anillo--3 { inset: -5%; border-color: rgba(246, 196, 0, .4); border-width: 1px; box-shadow: none; animation: gira3 34s linear infinite; }
.anillo--3::after { background: var(--sol); box-shadow: 0 0 16px 3px rgba(246, 196, 0, .8); }
@keyframes gira1 { from { transform: rotateX(72deg) rotateZ(0deg); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes gira2 { from { transform: rotateY(68deg) rotateZ(0deg); } to { transform: rotateY(68deg) rotateZ(-360deg); } }
@keyframes gira3 { from { transform: rotateX(58deg) rotateY(24deg) rotateZ(0deg); } to { transform: rotateX(58deg) rotateY(24deg) rotateZ(360deg); } }

.nucleo__centro {
  position: absolute; inset: 27%; border-radius: 50%; display: grid; place-items: center; transform: translateZ(50px);
  background: radial-gradient(circle at 34% 28%, #fff, #e5f2e3 58%, #c7e0c3);
  box-shadow: 0 0 90px rgba(92, 191, 74, .55), 0 0 0 10px rgba(255, 255, 255, .07), inset 0 -14px 34px rgba(15, 42, 82, .22);
}
.nucleo__centro::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(154, 209, 75, .7); animation: halo 3s ease-out infinite; }
@keyframes halo { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.nucleo__marca { width: 70%; height: 70%; overflow: visible; }
.n-hoja { transform-box: fill-box; transform-origin: 0% 100%; animation: mece 5s ease-in-out infinite; }
.n-hoja--2 { animation-delay: -1.2s; }
.n-hoja--3 { animation-delay: -2.4s; }
@keyframes mece { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg) scale(1.04); } }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: 12px; white-space: nowrap;
  font: 700 .64rem/1 var(--f-display); letter-spacing: .05em; color: #fff;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px);
  transform: translateZ(90px); animation: flota 6s ease-in-out infinite; animation-delay: var(--dl, 0s);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--lima-300); box-shadow: 0 0 10px var(--lima-300); }
.chip--1 { top: 6%; left: 0; --dl: -1s; }
.chip--2 { top: 30%; right: -2%; --dl: -3s; }
.chip--3 { bottom: 24%; left: -4%; --dl: -2s; }
.chip--4 { bottom: 5%; right: 2%; --dl: -4s; }
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.ruta {
  margin-top: 1.3rem; padding: 1rem 1.1rem 1.1rem; border-radius: 18px; display: grid; gap: .8rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px);
}
.ruta__t { font: 700 .66rem/1 var(--f-texto); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.ruta__pasos { display: flex; justify-content: space-between; gap: .5rem; font: 700 .8rem/1 var(--f-display); }
.ruta__pasos li { display: inline-flex; align-items: center; gap: .4rem; opacity: .4; animation: rutaOn 6s ease infinite; animation-delay: calc(var(--n) * 1.4s); }
.ruta__pasos svg { width: 1.2em; height: 1.2em; padding: .15em; border-radius: 50%; background: var(--verde-500); }
@keyframes rutaOn { 0%, 8% { opacity: .4; } 16%, 70% { opacity: 1; } 85%, 100% { opacity: .4; } }
.ruta__barra { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ruta__barra span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--verde-500), var(--lima-300), var(--sol)); transform-origin: 0 50%; animation: rutaBarra 6s var(--ease-io) infinite; }
@keyframes rutaBarra { 0% { transform: scaleX(.05); } 75%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* Entrada del hero al terminar el cargador (solo con JavaScript) */
.js .hero .ln > span { display: block; transform: translateY(112%); transition: transform 1.2s var(--ease); }
.js .hero .ln:nth-child(2) > span { transition-delay: .12s; }
.js .hero .sello, .js .hero .hero__sub, .js .hero .hero__acciones, .js .hero .hero__pilares {
  opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .hero .sello { transition-delay: .05s; }
.js .hero .hero__sub { transition-delay: .35s; }
.js .hero .hero__acciones { transition-delay: .5s; }
.js .hero .hero__pilares { transition-delay: .65s; }
.js .hero .nucleo { opacity: 0; transform: scale(.82); transition: opacity 1.4s var(--ease) .3s, transform 1.6s var(--ease) .3s; }
.js .hero .ln { overflow: hidden; }
.is-lista .hero .ln > span { transform: none; }
.is-lista .hero .sello, .is-lista .hero .hero__sub, .is-lista .hero .hero__acciones, .is-lista .hero .hero__pilares, .is-lista .hero .nucleo { opacity: 1; transform: none; }

/* ---------- 7. Cinta ---------- */
.cinta { overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--verde-700), var(--navy-700) 55%, var(--verde-700)); border-block: 1px solid rgba(255, 255, 255, .14); }
.cinta__pista { display: flex; width: max-content; animation: cinta 46s linear infinite; }
.cinta__grupo { display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem .8rem; white-space: nowrap; font: 700 .86rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.cinta .sep { width: .7rem; height: .7rem; border-radius: 0 100% 0 100%; background: var(--lima-300); flex: none; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- 8. Manifiesto ---------- */
.manifiesto { padding: var(--sec) 0; background: var(--fondo); position: relative; }
.manifiesto__texto {
  margin-top: 1.6rem; font: 600 clamp(1.55rem, 4.8vw, 3.2rem)/1.22 var(--f-display); letter-spacing: -0.025em; max-width: 25ch;
}
.manifiesto__texto strong { color: var(--verde-700); font-weight: 700; }
.pilares { display: grid; gap: 1rem; margin-top: clamp(3rem, 7vw, 5.5rem); }
.pilar {
  position: relative; padding: 1.7rem; border-radius: 26px; background: #fff; border: 1px solid var(--linea);
  box-shadow: 0 24px 50px -34px rgba(7, 26, 51, .45); overflow: hidden;
}
.pilar__icono { width: 62px; height: 62px; margin-bottom: 1.1rem; fill: none; stroke: var(--verde-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pilar h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.pilar p { color: var(--tinta-2); }
.js .pilar__icono path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.js .pilar.is-in .pilar__icono path { stroke-dashoffset: 0; }

.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(154, 209, 75, .2), transparent 45%);
}
.spot:hover::after { opacity: 1; }

/* ---------- 9. Servicios ---------- */
.servicios { padding: var(--sec) 0; background: linear-gradient(180deg, var(--fondo), var(--fondo-2)); }
.pila { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; gap: 1.3rem; }
.pila__card {
  --chk-bg: var(--lima-300); --chk-fg: var(--navy-900);
  position: relative; display: grid; gap: 1.6rem; padding: 1.4rem; border-radius: 30px; overflow: hidden; color: #fff; isolation: isolate;
  box-shadow: 0 40px 80px -40px rgba(7, 26, 51, .6);
  transform: scale(var(--sc, 1)); transform-origin: 50% 0; filter: var(--fl, none);
}
.pila__card::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.pila__card--navy { background: radial-gradient(90% 70% at 100% 0%, #1b4f94, transparent 60%), linear-gradient(150deg, #0f2a52, #081a36); }
.pila__card--verde { --chk-bg: #fff; --chk-fg: var(--verde-700); background: radial-gradient(80% 70% at 0% 0%, #46b556, transparent 60%), linear-gradient(150deg, #1f8036, #135a25); }
.pila__card--claro { --chk-bg: var(--verde-600); --chk-fg: #fff; color: var(--tinta); background: linear-gradient(150deg, #ffffff, #f0f6ee); border: 1px solid var(--linea); }
.pila__info { display: grid; gap: .8rem; align-content: center; justify-items: start; }
.pila__num { font: 800 clamp(3.2rem, 11vw, 5.6rem)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px #fff; opacity: .5; }
.pila__card--claro .pila__num { -webkit-text-stroke-color: var(--verde-600); }
.pila__info h3 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; }
.pila__sub { font: 700 .78rem/1.3 var(--f-texto); letter-spacing: .12em; text-transform: uppercase; color: var(--lima-300); }
.pila__card--verde .pila__sub { color: #d6f5b6; }
.pila__card--claro .pila__sub { color: var(--verde-700); }
.pila__txt { max-width: 34rem; opacity: .86; }
.lista { display: grid; gap: .55rem; margin: .4rem 0 .7rem; }
.lista li { position: relative; padding-left: 2rem; font-weight: 600; line-height: 1.35; }
.lista li::before { content: ""; position: absolute; left: 0; top: .08rem; width: 1.32rem; height: 1.32rem; border-radius: 50%; background: var(--chk-bg); }
.lista li::after { content: ""; position: absolute; left: .47rem; top: .3rem; width: .32rem; height: .6rem; border: solid var(--chk-fg); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.js .lista li { opacity: 0; transform: translateX(-16px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + .15s); }
.js .lista.is-in li { opacity: 1; transform: none; }
.pila__visual { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #17407a, #1d7a33); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.pila__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.2s var(--ease); }
.pila__card:hover .pila__visual img { transform: scale(1.04); }
.pila__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 15, 32, .55)); pointer-events: none; }
.insignia {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem; border-radius: 999px;
  font: 700 .74rem/1 var(--f-display); letter-spacing: .04em; color: #fff; background: rgba(7, 26, 51, .55); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px);
}
.insignia i { width: 8px; height: 8px; border-radius: 50%; background: var(--lima-300); box-shadow: 0 0 10px var(--lima-300); animation: latido 2s ease-out infinite; }

/* ---------- 10. Cine: la imagen se abre con el scroll ---------- */
.cine { position: relative; height: 150vh; height: 150svh; background: var(--navy-950); color: #fff; --ix: 7vw; --iy: 13vh; --iy: 13svh; }
.cine__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; place-items: center; }
.cine__marco {
  position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg, #0b2447, #1d6a2e);
  clip-path: inset(calc(var(--e, 1) * var(--iy)) calc(var(--e, 1) * var(--ix)) round calc(var(--e, 1) * 34px));
  will-change: clip-path;
}
.cine__img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--e, 1) * .24)); will-change: transform; }
.cine__vela { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 32, .5), rgba(5, 15, 32, .82)), radial-gradient(60% 50% at 50% 50%, rgba(5, 15, 32, .35), transparent); }
.cine__contenido { position: relative; z-index: 2; width: min(100% - 3rem, 940px); display: grid; gap: 1.3rem; justify-items: center; text-align: center; }
.cine__contenido h2 { font-size: clamp(1.9rem, 6.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.cine__sectores { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.cine__sectores li { padding: .6rem 1rem; border-radius: 999px; font: 700 .8rem/1.2 var(--f-texto); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); }
html:not(.js) .cine__marco { clip-path: none; }
html:not(.js) .cine__img { transform: none; }

/* ---------- 11. Sectores ---------- */
.sectores { padding: var(--sec) 0; background: var(--fondo); }
.sectores__grid { display: grid; gap: 1.1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.sector {
  position: relative; padding: 1.7rem; border-radius: 28px; background: #fff; border: 1px solid var(--linea); overflow: hidden;
  box-shadow: 0 26px 56px -38px rgba(7, 26, 51, .5); display: grid; gap: .8rem; align-content: start;
}
.sector::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 168, 70, .18), transparent 70%); transition: transform .8s var(--ease);
}
.sector:hover::before { transform: scale(1.5); }
.sector__arte { width: 132px; margin-bottom: .6rem; }
.sector__arte svg { width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--navy-700); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.sector__arte path { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.sector.is-in .sector__arte path { stroke-dashoffset: 0; }
html:not(.js) .sector__arte path { stroke-dashoffset: 0; }
.sector__arte .humo { fill: var(--verde-500); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; animation: humo 4s ease-in infinite; }
.humo--2 { animation-delay: 1.3s; }
.humo--3 { animation-delay: 2.6s; }
@keyframes humo { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 20% { opacity: .75; } 100% { transform: translate(16px, -34px) scale(1.9); opacity: 0; } }
.sector__arte .gancho { stroke: var(--verde-600); transform-origin: 96px 12px; animation: columpio 4.5s ease-in-out infinite; }
@keyframes columpio { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.sector__arte .puerta { stroke: var(--verde-600); }
.sector h3 { font-size: 1.4rem; position: relative; }
.sector p { color: var(--tinta-2); position: relative; }
.sector__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .4rem; position: relative; }
.sector__chips li { padding: .42rem .75rem; border-radius: 999px; font: 700 .72rem/1 var(--f-texto); color: var(--verde-700); background: var(--fondo-2); border: 1px solid rgba(42, 148, 64, .25); }

/* ---------- 12. Método ---------- */
.metodo { position: relative; padding: var(--sec) 0; color: #fff; background: radial-gradient(70% 50% at 100% 0%, rgba(23, 64, 122, .8), transparent 60%), radial-gradient(60% 40% at 0% 100%, rgba(42, 148, 64, .25), transparent 60%), var(--navy-900); overflow: clip; }
.metodo__rejilla { display: grid; gap: 3rem; }
.metodo__cab { display: grid; gap: 1.2rem; align-content: start; align-self: start; }
.metodo__cab h2 { font-size: clamp(2rem, 6.2vw, 3.5rem); font-weight: 700; }
.metodo__cab em { font-style: normal; color: var(--lima-300); }
.metodo__anillo { position: relative; width: 120px; height: 120px; display: none; place-items: center; margin-top: 1rem; }
.metodo__anillo svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.m-pista { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 4; }
.m-barra { fill: none; stroke: var(--lima-300); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--mp, 25)); transition: stroke-dashoffset .5s var(--ease); filter: drop-shadow(0 0 6px rgba(154, 209, 75, .7)); }
.metodo__anillo p { font: 800 2.4rem/1 var(--f-display); text-align: center; display: grid; }
.metodo__anillo small { font: 600 .66rem/1.4 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

.pasos { position: relative; display: grid; padding-left: 3.2rem; }
.pasos::before, .pasos::after { content: ""; position: absolute; left: 1.05rem; top: .6rem; bottom: .6rem; width: 2px; border-radius: 2px; }
.pasos::before { background: rgba(255, 255, 255, .14); }
.pasos::after { background: linear-gradient(var(--lima-300), var(--sol)); transform-origin: 50% 0; transform: scaleY(var(--lp, 0)); box-shadow: 0 0 14px rgba(154, 209, 75, .7); }
.paso { position: relative; padding: 1.6rem 0 2rem; opacity: .55; transition: opacity .6s var(--ease); }
.paso::before {
  content: ""; position: absolute; left: -2.64rem; top: 2.1rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--navy-900); border: 2px solid rgba(255, 255, 255, .35); transition: all .5s var(--ease);
}
.paso.is-on { opacity: 1; }
.paso.is-on::before { background: var(--lima-300); border-color: var(--lima-300); box-shadow: 0 0 0 7px rgba(154, 209, 75, .18), 0 0 20px rgba(154, 209, 75, .8); }
.paso__n { display: block; font: 800 clamp(2.6rem, 8vw, 4.4rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); margin-bottom: .5rem; transition: all .6s var(--ease); }
.paso.is-on .paso__n { -webkit-text-stroke-color: var(--lima-300); }
.paso h3 { font-size: clamp(1.3rem, 3.6vw, 1.7rem); margin-bottom: .5rem; }
.paso p { color: rgba(255, 255, 255, .78); max-width: 32rem; }

/* ---------- 13. Por qué ---------- */
.porque { position: relative; padding: var(--sec) 0; color: #fff; overflow: clip; isolation: isolate; background: linear-gradient(160deg, #0f4d27 0%, #0b2f3e 55%, #0a1f45 100%); }
.porque__fondo { position: absolute; inset: 0; z-index: -1; }
.porque__fondo span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: deriva 18s ease-in-out infinite alternate; }
.porque__fondo span:nth-child(1) { width: 340px; height: 340px; background: var(--verde-500); top: -80px; left: -60px; }
.porque__fondo span:nth-child(2) { width: 300px; height: 300px; background: #2c6fd1; right: -60px; top: 30%; animation-delay: -6s; }
.porque__fondo span:nth-child(3) { width: 260px; height: 260px; background: var(--lima-300); bottom: -80px; left: 35%; opacity: .3; animation-delay: -11s; }
.porque .sec-cab h2 em { color: var(--lima-300); }
.porque__grid { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.razon {
  position: relative; padding: 1.8rem; border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.razon__icono { width: 70px; height: 70px; margin-bottom: 1.2rem; fill: none; stroke: var(--lima-300); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.razon h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.razon p { color: rgba(255, 255, 255, .8); }
.engrane { transform-box: fill-box; transform-origin: center; animation: giro 14s linear infinite; }
.razon__icono .nodo { fill: rgba(154, 209, 75, .25); transform-box: fill-box; transform-origin: center; animation: pulso 3s ease-in-out infinite; }
.razon__icono .nodo--2 { animation-delay: -1s; }
.razon__icono .nodo--3 { animation-delay: -2s; }
@keyframes pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.razon__icono .red { stroke-dasharray: 3 4; animation: marcha 3s linear infinite; }
@keyframes marcha { to { stroke-dashoffset: -14; } }
.razon__icono .foco { fill: rgba(246, 196, 0, .14); stroke: var(--sol); animation: brillo 2.8s ease-in-out infinite; }
.razon__icono .rayos { stroke: var(--sol); animation: brillo 2.8s ease-in-out infinite reverse; }
@keyframes brillo { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.porque__cta { display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 3.2rem); }

/* ---------- 14. Catálogo ---------- */
.catalogo { position: relative; padding: var(--sec) 0; background: var(--fondo); overflow: clip; }
.catalogo__rejilla { display: grid; gap: 3rem; align-items: center; }
.catalogo__texto { display: grid; gap: 1.2rem; justify-items: start; }
.catalogo__texto h2 { font-size: clamp(2rem, 6.2vw, 3.5rem); font-weight: 700; }
.catalogo__texto em { font-style: normal; color: var(--verde-700); }
.catalogo__p { font-size: 1.08rem; color: var(--tinta-2); max-width: 32rem; }
.catalogo__acciones { display: grid; gap: .8rem; width: 100%; }
.catalogo__pdf { display: contents; } /* el botón del PDF se comporta como hijo directo de la rejilla */
.catalogo__visual { position: relative; display: grid; place-items: center; padding: 1.5rem 0; animation: flotaSuave 7s ease-in-out infinite; }
@keyframes flotaSuave { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.poster {
  position: relative; width: min(74vw, 340px); border-radius: 18px; overflow: hidden; transform: perspective(1000px) rotateY(-9deg) rotateX(3deg);
  box-shadow: 0 60px 100px -34px rgba(7, 26, 51, .6), 0 0 0 1px rgba(15, 42, 82, .12); transition: transform .35s var(--ease); background: #fff;
}
.poster img { width: 100%; height: auto; }
.poster__brillo { position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%); transform: translateX(-100%); animation: barrido 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes barrido { 0%, 35% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.poster__aura { position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(52, 168, 70, .45), rgba(15, 42, 82, .25) 55%, transparent 72%); filter: blur(30px); animation: deriva 12s ease-in-out infinite alternate; }

/* ---------- 15. Contacto ---------- */
.contacto { position: relative; padding: var(--sec) 0; color: #fff; overflow: clip; isolation: isolate; background: var(--navy-950); }
.contacto__fondo {
  position: absolute; inset: -20%; z-index: -1; opacity: .9;
  background: radial-gradient(40% 40% at 20% 25%, rgba(42, 148, 64, .4), transparent 70%), radial-gradient(45% 45% at 85% 75%, rgba(31, 86, 160, .55), transparent 70%), radial-gradient(30% 30% at 60% 10%, rgba(246, 196, 0, .12), transparent 70%);
  animation: malla 22s ease-in-out infinite alternate;
}
@keyframes malla { from { transform: translate3d(-3%, -2%, 0) rotate(0deg); } to { transform: translate3d(3%, 3%, 0) rotate(6deg); } }
.contacto__rejilla { display: grid; gap: 2.6rem; align-items: start; }
.contacto__info { display: grid; gap: 1.3rem; justify-items: start; }
.contacto__info h2 { font-size: clamp(2rem, 6.4vw, 3.6rem); font-weight: 700; }
.contacto__info em { font-style: normal; color: var(--lima-300); }
.contacto__p { font-size: 1.08rem; color: rgba(255, 255, 255, .8); max-width: 30rem; }
.contacto__medios { display: grid; gap: .7rem; width: 100%; max-width: 28rem; }
.medio {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.medio:hover { transform: translateX(6px); background: rgba(255, 255, 255, .13); border-color: var(--lima-300); }
.medio svg { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 12px; background: var(--verde-600); color: #fff; flex: none; }
.medio--wa svg { background: #1fb858; }
.medio span { display: grid; line-height: 1.25; min-width: 0; }
.medio small { font: 700 .66rem/1 var(--f-texto); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .25rem; }
.medio strong { font: 700 1rem/1.2 var(--f-display); overflow-wrap: anywhere; }

.forma { position: relative; display: grid; gap: 1rem; padding: 1.5rem; border-radius: 30px; color: var(--tinta); background: #fff; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.forma__t { font: 700 1.3rem/1.2 var(--f-display); }
.campo { display: grid; gap: .4rem; }
.campo-doble { display: grid; gap: 1rem; }
.campo label { font: 700 .74rem/1 var(--f-texto); letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid #d3dde8; background: #f8fafc; color: var(--tinta);
  font: 500 1rem/1.3 var(--f-texto); transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none;
}
.campo select { background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%), linear-gradient(135deg, var(--navy-700) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--verde-600); background: #fff; box-shadow: 0 0 0 4px rgba(42, 148, 64, .18); }
.campo input.is-error { border-color: #d6453d; box-shadow: 0 0 0 4px rgba(214, 69, 61, .15); }
.forma__nota { font-size: .84rem; color: var(--tinta-2); text-align: center; }

/* ---------- 16. Pie ---------- */
.pie { position: relative; overflow: clip; padding: clamp(3rem, 7vw, 5rem) 0 1.6rem; color: rgba(255, 255, 255, .8); background: var(--navy-950); }
.pie__marca {
  font: 700 min(calc((100vw - 2.5rem) / 14.8), 5.4rem)/1 var(--f-marca); letter-spacing: .04em; text-transform: uppercase; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); margin-bottom: 2.4rem;
  background: linear-gradient(180deg, rgba(154, 209, 75, .35), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
.pie__rejilla { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pie__logo { display: grid; gap: .7rem; justify-items: start; color: #fff; }
.pie__lema { font-style: italic; color: var(--lima-200); font-size: 1.05rem; }
.pie__peq { font: 700 .66rem/1.4 var(--f-texto); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pie__nav, .pie__contacto { display: grid; gap: .55rem; align-content: start; justify-items: start; }
.pie__nav p, .pie__contacto p { font: 700 .7rem/1 var(--f-texto); letter-spacing: .2em; text-transform: uppercase; color: var(--lima-300); margin-bottom: .4rem; }
.pie a { text-decoration: none; transition: color .25s; }
.pie a:hover { color: var(--lima-300); }
.pie__contacto a, .pie__contacto span { overflow-wrap: anywhere; }
.pie__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1.4rem; font-size: .86rem; color: rgba(255, 255, 255, .55); }

/* ---------- 17. WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 100;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: #fff;
  background: linear-gradient(145deg, #34dd73, #12a150); box-shadow: 0 16px 34px -8px rgba(18, 161, 80, .75), inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .4s var(--ease);
}
.wa-flotante:hover { transform: scale(1.1) rotate(-6deg); }
.wa-flotante svg { width: 32px; height: 32px; position: relative; }
.wa-flotante__onda { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52, 221, 115, .8); animation: onda 2.6s ease-out infinite; }
@keyframes onda { from { transform: scale(1); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }
.wa-flotante__globo {
  position: absolute; right: calc(100% + 12px); top: 50%; padding: .6rem .95rem; border-radius: 999px; white-space: nowrap;
  font: 700 .84rem/1 var(--f-texto); color: var(--tinta); background: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate(12px, -50%); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.wa-flotante.is-globo .wa-flotante__globo { opacity: 1; transform: translate(0, -50%); }
.sin-wa [data-wa], .sin-wa .wa-flotante, .sin-wa .forma .btn[type="submit"] { display: none !important; }

/* ---------- 18. Revelado, texto y utilidades de scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="izq"] { transform: translate3d(-44px, 0, 0); }
.js [data-reveal="der"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-listo { transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s; transition-delay: 0s; }

.js .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js .w__i { display: inline-block; transform: translateY(112%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w__i { transform: none; }

.pal { opacity: .2; transition: opacity .6s var(--ease); }
.pal.on { opacity: 1; }

/* ---------- Pantallas medianas (tabletas) ---------- */
@media (min-width: 640px) {
  .cab__cta { display: inline-flex; }
  .hero__acciones { grid-template-columns: auto auto; width: auto; justify-content: start; }
  .hero__acciones .btn { width: auto; }
  .catalogo__acciones { grid-template-columns: auto auto; justify-content: start; }
  .campo-doble { grid-template-columns: 1fr 1fr; }
  .pilar, .razon { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4rem; align-items: start; }
  .pilar__icono, .razon__icono { grid-row: 1 / span 2; margin: 0; }
  .pie__rejilla { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .cine { --ix: 12vw; --iy: 16svh; }
  .chip { font-size: .7rem; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  .burger { display: none; }
  .cab__cta { display: none; }
  .nav {
    position: static; inset: auto; z-index: auto; flex-direction: row; align-items: center; justify-content: flex-end; gap: .15rem; padding: 0;
    background: none; opacity: 1; visibility: visible; transform: none; transition: none; margin-left: auto;
  }
  .nav a:not(.btn) { font: 600 .9rem/1 var(--f-texto); padding: .7rem .95rem; border: 0; border-radius: 999px; color: rgba(255, 255, 255, .88); transition: background .3s, color .3s; }
  .nav a:not(.btn):hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .btn--menu { margin: 0 0 0 .6rem; align-self: auto; padding: .72rem 1.2rem; font-size: .88rem; }
  .hero { padding-top: 6.5rem; }
  .hero__rejilla-cont { grid-template-columns: 1.08fr .92fr; gap: 2rem; }
  .hero__bajar { display: flex; }
  .nucleo { width: min(100%, 470px); margin-right: 0; }
  .chip { font-size: .74rem; }

  .pila { display: block; }
  .pila__card + .pila__card { margin-top: 1.6rem; }
  .pila__card {
    grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.4rem; padding: 2.4rem; min-height: min(70svh, 560px);
  }
  .pilares, .porque__grid { grid-template-columns: repeat(3, 1fr); }
  .pilar, .razon { display: block; }
  .pilar__icono, .razon__icono { margin: 0 0 1.1rem; }

  .cine { --ix: 14vw; --iy: 17svh; }
  .sectores__grid { grid-template-columns: repeat(3, 1fr); }
  .sector { padding: 2rem; }
  .metodo__rejilla { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
  .metodo__cab { position: sticky; top: 7rem; }
  .metodo__anillo { display: grid; }
  .paso { min-height: 32svh; padding-top: 2rem; }
  .catalogo__rejilla { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .contacto__rejilla { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .forma { padding: 2.2rem; }
}

@media (min-width: 960px) {
  .hero__titulo { font-size: clamp(2.6rem, 4.3vw, 4.9rem); }
}

/* Tarjetas apiladas: solo en pantallas con altura suficiente para que cada tarjeta quepa */
@media (min-width: 960px) and (min-height: 700px) {
  .pila__card { position: sticky; top: calc(6rem + var(--k, 0) * 18px); }
  .pila__card:nth-child(2) { --k: 1; }
  .pila__card:nth-child(3) { --k: 2; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .cargador { display: none; }
  .js [data-reveal], .js .hero .sello, .js .hero .hero__sub, .js .hero .hero__acciones, .js .hero .hero__pilares, .js .hero .nucleo, .js .lista li { opacity: 1; transform: none; }
  .js .w__i, .js .hero .ln > span { transform: none; }
  .js .pilar__icono path, .sector__arte path { stroke-dashoffset: 0; }
  .rota__pal { opacity: 0; transform: none; }
  .rota__pal.is-on { opacity: 1; }
  .pal { opacity: 1; }
  .paso { opacity: 1; }
  .cinta__pista { transform: none; }
  .cine__marco { clip-path: none; }
  .cine__img { transform: none; }
  .pila__card { position: relative; top: auto; transform: none; filter: none; }
}
