/* =============================================================
   Agencia Palmero — sistema visual
   Glassmorphism claro · fintech · mobile-first
   Índice: 1 Tokens · 2 Base · 3 Utilidades · 4 Fondo · 5 Vidrio y botones
           6 Header · 7 Hero · 8 Secciones · 9 Proceso 3D · 10 Logos
           11 Verificación · 12 FAQ · 13 Formularios · 14 Páginas internas
           15 Footer · 16 Efectos · 17 Responsive · 18 Movimiento
   ============================================================= */

/* ========== 1. Tokens ========== */
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --orange: #EC8405;            /* color de marca */
  --orange-2: #FFA53A;
  --orange-deep: #A65200;       /* texto naranja sobre claro (contraste AA) */
  --orange-soft: #FFEBD2;
  --ink: #111B2C;
  --ink-2: #3B475A;
  --ink-mute: #5A6577;
  --bg: #FBF7F1;
  --paper: #FFFFFF;
  --navy: #0F1B2E;
  --navy-2: #182842;
  --sky: #D9E6FF;
  --blue: #2F5BD3;
  --line: rgba(17, 27, 44, .10);

  --sans: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --r-xl: 36px; --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --shadow: 0 30px 60px -28px rgba(17, 27, 44, .28), 0 10px 26px -14px rgba(17, 27, 44, .14);
  --shadow-sm: 0 12px 28px -16px rgba(17, 27, 44, .28);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
  --header-h: 92px;
  --gutter: 16px;
}

/* ========== 2. Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: 88px;               /* espacio para la barra inferior en celular */
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
address { font-style: normal; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 8px; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ========== 3. Utilidades ========== */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(236, 132, 5, .18); }
.display { font-size: clamp(2.35rem, 8.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.75rem, 5.2vw, 3rem); letter-spacing: -.03em; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 40rem; }
.muted { color: var(--ink-mute); }
.small { font-size: .875rem; }
.grad {
  color: #D96D00;
  background: linear-gradient(95deg, #D96D00, #EC8405 45%, #C25E00);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.section { position: relative; padding-block: clamp(56px, 9vw, 120px); }
.section--tight { padding-block: clamp(36px, 6vw, 72px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vw, 56px); max-width: 46rem; }
.section-head__num { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: var(--orange-deep); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.grid { display: grid; gap: 16px; }
.stack > * + * { margin-top: 1rem; }

/* ========== 4. Fondo aurora ========== */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 70vmax; height: 70vmax; left: -22vmax; top: -26vmax; background: radial-gradient(closest-side, rgba(236, 132, 5, .28), transparent 72%); animation: drift1 42s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 62vmax; height: 62vmax; right: -24vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(255, 190, 122, .40), transparent 72%); animation: drift2 51s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 66vmax; height: 66vmax; left: 8vmax; bottom: -34vmax; background: radial-gradient(closest-side, rgba(146, 184, 255, .34), transparent 72%); animation: drift3 47s ease-in-out infinite alternate; }
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17, 27, 44, .14) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 28%, #000, transparent 82%);
  mask-image: radial-gradient(75% 60% at 50% 28%, #000, transparent 82%);
  opacity: .55;
}
@keyframes drift1 { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-10vmax, 10vmax, 0) scale(.94); } }
@keyframes drift3 { to { transform: translate3d(8vmax, -9vmax, 0) scale(1.1); } }

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

/* ========== 5. Vidrio y botones ========== */
.glass {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(255, 255, 255, .58);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
  }
}

.card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg); padding: clamp(20px, 3.4vw, 32px);
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.card::before {                                  /* foco de luz que sigue al mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(236, 132, 5, .20), transparent 65%);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::before { opacity: 1; }
  .card:hover { box-shadow: 0 40px 80px -30px rgba(17, 27, 44, .34), 0 12px 30px -14px rgba(236, 132, 5, .28); transition-duration: .12s; }
}
.card__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--orange-deep); background: linear-gradient(145deg, #fff, var(--orange-soft));
  box-shadow: inset 0 0 0 1px rgba(236, 132, 5, .22), 0 8px 18px -10px rgba(236, 132, 5, .6);
}
.card__icon .ico { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--ink-2); }

.btn {
  --btn-bg: var(--paper); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s;
  position: relative; will-change: transform;
}
.btn--primary { --btn-bg: var(--orange); --btn-fg: var(--ink); box-shadow: 0 16px 30px -14px rgba(236, 132, 5, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; box-shadow: 0 16px 30px -16px rgba(15, 27, 46, .8); }
.btn--ghost { --btn-bg: transparent; box-shadow: inset 0 0 0 1.5px rgba(17, 27, 44, .22); }
.btn--glass { --btn-bg: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--icon { padding: 0; width: 52px; }
.btn--block { width: 100%; }
.btn__arrow {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-right: -.6rem;
  background: rgba(17, 27, 44, .9); color: #fff; transition: transform .45s var(--ease-out);
}
.btn--dark .btn__arrow, .btn--ghost .btn__arrow { background: var(--orange); color: var(--ink); }
.btn__arrow .ico { width: 16px; height: 16px; }
.btn--shine { overflow: hidden; }
.btn--shine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(236, 132, 5, .35) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-3px); }
  .btn--primary:hover { box-shadow: 0 24px 40px -14px rgba(236, 132, 5, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
  .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .7); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
  .btn--shine:hover::before { transform: translateX(130%); }
  .btn--shine:hover .btn__arrow { transform: translateX(3px) rotate(45deg); }
}
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.magnetic-inner { display: inline-flex; align-items: center; gap: inherit; will-change: transform; }

.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem .5rem .6rem;
  border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--ink);
}
.chip .ico { width: 18px; height: 18px; padding: 3px; box-sizing: content-box; border-radius: 50%; color: var(--orange-deep); background: var(--orange-soft); }

/* ========== 6. Header ========== */
.site-header { position: fixed; top: 12px; inset-inline: 0; z-index: 200; padding-inline: 12px; }
.site-header__bar {
  max-width: 1160px; margin-inline: auto; min-height: 64px; padding: 8px 10px 8px 16px;
  display: flex; align-items: center; gap: 12px; border-radius: 999px; position: relative; z-index: 2;
  transition: box-shadow .4s, background-color .4s;
}
.site-header.is-scrolled .site-header__bar { box-shadow: 0 20px 44px -22px rgba(17, 27, 44, .4); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { height: 30px; width: auto; }
.brand__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.02em; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: .55rem .9rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); transition: color .25s, background-color .25s; }
.nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta { display: none; }
.nav-toggle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 6px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(17, 27, 44, .1); }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1; padding: 104px 24px 32px;
  background: rgba(251, 247, 241, .97); overflow-y: auto;
  opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease-soft), transform .5s var(--ease-out);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-menu { background: rgba(251, 247, 241, .82); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a { display: block; padding: .9rem .25rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-menu li:first-child a { color: var(--orange-deep); }
.mobile-menu__note { margin-top: 28px; color: var(--ink-mute); }

/* ========== 7. Hero ========== */
.hero { position: relative; padding: calc(var(--header-h) + 22px) 0 24px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px;
  border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.trust-badge__icon {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); flex: none;
}
.trust-badge__icon::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--orange-2); opacity: .6; animation: trustPulse 2.6s ease-out infinite;
}
.trust-badge__icon .ico { width: 18px; height: 18px; }
.trust-badge__arrow { display: inline-flex; color: var(--orange-deep); transition: transform .4s var(--ease-out); }
.trust-badge__arrow .ico { width: 16px; height: 16px; }
@keyframes trustPulse { 0% { transform: scale(.8); opacity: .6; } 75%, 100% { transform: scale(1.35); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .trust-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .trust-badge:hover .trust-badge__arrow { transform: translateX(4px); }
}

.hero__stage { position: relative; width: 100%; aspect-ratio: 1 / .92; max-height: 560px; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease-soft); pointer-events: none; }
.stage--live .stage-canvas { opacity: 1; }
.stage-fallback { position: absolute; inset: 6% 4%; }
.stage--live .stage-fallback { display: none; }
.fb-card { position: absolute; border-radius: 26px; background: linear-gradient(160deg, #fff, #F3F6FF); box-shadow: var(--shadow); }
.fb-card--1 { inset: 10% 8% 26% 14%; transform: rotate(-4deg); padding: 7%; display: grid; align-content: center; gap: 10px; }
.fb-card--1 i { display: block; height: 12px; border-radius: 6px; background: #E6EAF2; }
.fb-card--1 i:nth-child(1) { width: 60%; } .fb-card--1 i:nth-child(2) { width: 85%; } .fb-card--1 i:nth-child(3) { width: 45%; background: var(--orange); }
.fb-card--2 { width: 34%; height: 24%; right: 2%; bottom: 8%; transform: rotate(6deg); background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.fb-orb { position: absolute; width: 20%; aspect-ratio: 1; right: 6%; top: 6%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFC46B, var(--orange) 55%, #C25E00); box-shadow: 0 20px 34px -10px rgba(236, 132, 5, .7); }

.hero__chip { position: absolute; z-index: 2; box-shadow: var(--shadow-sm); animation: chipFloat 7s ease-in-out infinite; }
.hero__chip--1 { left: 0; top: 14%; }
.hero__chip--2 { right: 0; top: 46%; animation-delay: -2.4s; }
.hero__chip--3 { left: 6%; bottom: 8%; animation-delay: -4.6s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.doors { position: relative; padding-block: 8px 24px; }
.doors__grid { display: grid; gap: 16px; }
.door { display: grid; gap: 14px; align-content: start; justify-items: start; }
.door__tag { font-size: .8125rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-deep); }
.door h2 { font-size: clamp(1.4rem, 4.2vw, 1.85rem); }
.door--people { background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(255, 235, 210, .8)); border-color: rgba(236, 132, 5, .35); }
.door--company .btn { --btn-bg: var(--navy); --btn-fg: #fff; box-shadow: 0 16px 30px -16px rgba(15, 27, 46, .8); }
.door--company .btn__arrow { background: var(--orange); color: var(--ink); }

/* ========== 8. Secciones ========== */
.cards-2, .cards-3, .cards-4 { display: grid; gap: 16px; }
.cards-4--simple .card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cards-4--simple .card__icon { margin-bottom: 0; }
.cards-4--simple h3 { margin-bottom: 0; }
.cards-4--simple .card p {
  flex-basis: 100%; margin: 0; color: var(--ink-2); font-size: .9375rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease-soft), opacity .35s var(--ease-soft), margin-top .45s var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .cards-4--simple .card:hover p { max-height: 120px; opacity: 1; margin-top: 4px; }
}

.definition { display: grid; gap: 20px; }
.definition p { max-width: 44rem; font-size: 1.0625rem; color: var(--ink-2); }
.definition strong { color: var(--ink); font-weight: 600; }

.stat { display: inline-grid; gap: 2px; }
.stat__n { font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat__l { color: var(--ink-mute); font-size: .9375rem; }

.cta-final { position: relative; padding: clamp(28px, 6vw, 64px); border-radius: var(--r-xl); background: linear-gradient(140deg, var(--navy), var(--navy-2)); color: #fff; overflow: hidden; isolation: isolate; }
.cta-final::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 132, 5, .55), transparent 70%); }
.cta-final h2 { font-size: clamp(1.8rem, 5.6vw, 3rem); max-width: 22ch; }
.cta-final p { color: rgba(255, 255, 255, .78); max-width: 38rem; margin-top: 14px; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-final .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }

.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 235, 210, .7); border: 1px solid rgba(236, 132, 5, .3); }
.callout .ico { margin-top: 3px; color: var(--orange-deep); }
.callout p { color: var(--ink-2); }

.facts { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.facts div { display: grid; gap: 4px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-deep); }
.facts dd { color: var(--ink); }

.list-check { display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--ink-2); }
.list-check .ico { margin-top: 3px; color: var(--orange-deep); }

/* ========== 9. Proceso (con escena 3D) ========== */
.process { position: relative; }
.process__grid { display: grid; gap: 20px; }
.process__stage { position: relative; display: none; }
.process__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.process__steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--r-md); transition: background-color .5s, box-shadow .5s, transform .6s var(--ease-out); }
.step__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--orange-deep); background: var(--orange-soft); transition: background-color .4s, color .4s, transform .5s var(--ease-out); }
.step__title { font-size: 1.25rem; margin-bottom: 4px; }
.step__text { color: var(--ink-2); }
.process__dots { display: none; }

/* modo "en vivo": la escena 3D avanza con el scroll (solo si hay JS + WebGL) */
.process--live { height: 380svh; }
.process--live .process__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) - 8px); padding-bottom: 88px; }
.process--live .process__grid { width: 100%; grid-template-rows: minmax(0, 40svh) auto; gap: 14px; }
.process--live .process__stage { display: block; order: -1; }
.process--live .step:not(.is-active) { display: none; }
.process--live .step.is-active { background: rgba(255, 255, 255, .78); box-shadow: var(--shadow); }
.process--live .process__dots { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.process__dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(17, 27, 44, .18); transition: width .4s var(--ease-out), background-color .3s; }
.process__dots i.is-active { width: 28px; background: var(--orange); }
.step.is-active .step__n { background: var(--orange); color: var(--ink); transform: scale(1.08); }
.step.is-done .step__n { background: var(--navy); color: #fff; }

/* ========== 10. Logos ========== */
.logos { position: relative; }
.logos__track { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logo-card { width: 152px; height: 82px; padding: 14px 18px; display: grid; place-items: center; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(17, 27, 44, .05); }
.logo-card img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.logos--marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos--marquee .logos__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-block: 14px; animation: marquee 46s linear infinite; }
.logos--marquee:hover .logos__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.trust-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }

/* ========== 11. Verificación (panel oscuro) ========== */
.verify { border-radius: var(--r-xl); padding: clamp(24px, 5vw, 56px); background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.verify::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; left: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 91, 211, .5), transparent 70%); }
.verify__grid { display: grid; gap: 28px; }
.verify h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.verify .eyebrow { color: var(--orange-2); }
.verify p { color: rgba(255, 255, 255, .8); }
.verify .list-check li { color: rgba(255, 255, 255, .86); }
.verify .list-check .ico { color: var(--orange-2); }
.channel-list { display: grid; gap: 10px; }
.channel-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.channel-list .ico { width: 22px; height: 22px; color: var(--orange-2); }
.channel-list b { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.channel-list a, .channel-list span { color: #fff; word-break: break-word; }
.verify .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.channel-col { display: grid; gap: 14px; align-content: start; }
.map-card { position: relative; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.map-card__frame { width: 100%; height: 200px; border: 0; display: block; pointer-events: none; filter: saturate(.6) contrast(1.05); }
.map-card__link {
  position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 8px; padding: 14px 16px;
  color: #fff; font-weight: 600; font-size: .875rem; text-decoration: none;
  background: linear-gradient(to top, rgba(6, 12, 22, .88), transparent 65%);
  transition: background-color .3s;
}
.map-card__link .ico { width: 18px; height: 18px; color: var(--orange-2); flex: none; }
@media (hover: hover) and (pointer: fine) {
  .map-card__link:hover { background: linear-gradient(to top, rgba(6, 12, 22, .95), transparent 70%); }
}

/* ========== 12. FAQ ========== */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); overflow: hidden; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; min-height: 64px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); transition: transform .45s var(--ease-out), background-color .3s; }
.faq-item[open] summary .ico { transform: rotate(45deg); background: var(--orange); color: var(--ink); }
.faq-item__body { padding: 0 22px 22px; color: var(--ink-2); max-width: 46rem; animation: faqIn .5s var(--ease-out); }
.faq-item__body p + p { margin-top: .8rem; }
.faq-item__body a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq-tools { display: grid; gap: 12px; margin-bottom: 28px; }
.faq-group { margin-top: 44px; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group > h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: 18px; }
.faq-empty { padding: 18px 22px; border-radius: var(--r-md); }

/* ========== 13. Formularios ========== */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .hint { font-size: .8125rem; color: var(--ink-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .85rem 1.1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, .92); border: 1.5px solid rgba(17, 27, 44, .14); border-radius: var(--r-sm);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(236, 132, 5, .2); }
.form__actions { display: grid; gap: 12px; }
.form-note { display: flex; gap: 10px; font-size: .875rem; color: var(--ink-mute); }
.form-note .ico { margin-top: 2px; color: var(--orange-deep); }
.needs { display: grid; gap: 12px; }
.need { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--r-md); min-height: 72px; font-weight: 600; transition: transform .4s var(--ease-soft), box-shadow .4s, background-color .3s; }
.need .ico { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border-radius: 14px; color: var(--orange-deep); background: var(--orange-soft); }
.need small { display: block; font-weight: 400; color: var(--ink-mute); font-size: .875rem; }
.need[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--orange), var(--shadow-sm); }
@media (hover: hover) and (pointer: fine) {
  .need:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .need:hover .ico { background: #DFF5E7; color: #128C4A; }
}
.need-panel { padding: 22px; border-radius: var(--r-md); background: rgba(255, 235, 210, .7); border: 1px solid rgba(236, 132, 5, .3); min-height: 96px; }
.need-panel p + p { margin-top: .6rem; }
.form-status { min-height: 1.5em; font-weight: 600; color: var(--orange-deep); }

/* ========== 14. Páginas internas ========== */
.page-hero { position: relative; padding: calc(var(--header-h) + 34px) 0 clamp(28px, 6vw, 64px); }
.page-hero__grid { display: grid; gap: 28px; align-items: center; }
.page-hero__copy { display: grid; gap: 20px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.1rem, 7vw, 3.8rem); line-height: 1.06; letter-spacing: -.035em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--ink-mute); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.mano-visual { position: relative; }
.mano-visual__glow { position: absolute; inset: -12% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 132, 5, .22), transparent 70%); }
.mail-photo { padding: 0; background: none; overflow: hidden; animation: manoFloat 5.5s ease-in-out infinite; }
.mail-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); }
@keyframes manoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mano-visual__chip { position: absolute; left: -14px; bottom: -14px; box-shadow: var(--shadow-sm); animation: chipFloat 7s ease-in-out infinite; animation-delay: -2.4s; }
.mail-visual { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin-inline: auto; }
.mail-visual__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 132, 5, .22), transparent 72%); }
.mail-visual__badge { position: absolute; inset: 18%; border-radius: 50%; background: linear-gradient(160deg, #fff, var(--orange-soft)); box-shadow: var(--shadow); display: grid; place-items: center; animation: mailFloat 5s ease-in-out infinite; }
.mail-visual__badge .ico { width: 40%; height: 40%; color: var(--orange-deep); }
.mail-visual__chip { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--orange-deep); animation: chipFloat 7s ease-in-out infinite; }
.mail-visual__chip--1 { top: 4%; right: 2%; }
.mail-visual__chip--2 { bottom: 6%; left: 0; animation-delay: -3.4s; }
@keyframes mailFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.entities-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.entity-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-decoration: none; }
.entity-card img { max-width: 100%; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.entity-card h3 { font-size: 1.0625rem; margin: 0; }
.entity-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--orange-deep); }
.entity-card__cta .ico { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .entity-card:hover .entity-card__cta .ico { transform: translateX(3px); }
}
@media (min-width: 720px) { .entities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .entities-grid { grid-template-columns: repeat(4, 1fr); } }
.orbit { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(17, 27, 44, .2); animation: spin 60s linear infinite; }
.orbit__ring:nth-child(2) { inset: 14%; border-style: solid; border-color: rgba(236, 132, 5, .35); animation-duration: 44s; animation-direction: reverse; }
.orbit__ring:nth-child(3) { inset: 28%; border-color: rgba(47, 91, 211, .28); animation-duration: 32s; }
.orbit__ring::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(236, 132, 5, .2); }
.orbit__ring:nth-child(2)::after { background: var(--navy); box-shadow: 0 0 0 6px rgba(15, 27, 46, .12); }
.orbit__ring:nth-child(3)::after { background: var(--blue); box-shadow: 0 0 0 6px rgba(47, 91, 211, .15); }
.orbit__core { position: absolute; inset: 38%; display: grid; place-items: center; border-radius: 50%; box-shadow: var(--shadow); }
.orbit__core img { width: 62%; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.timeline { position: relative; display: grid; gap: 18px; padding-left: 34px; }
.timeline::before, .timeline__fill { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: rgba(17, 27, 44, .12); }
.timeline__fill { background: linear-gradient(var(--orange), var(--orange-2)); transform-origin: 50% 0; transform: scaleY(var(--tl, 0)); z-index: 1; }
.timeline__item { position: relative; padding: 22px; border-radius: var(--r-md); }
.timeline__item::before { content: attr(data-n); position: absolute; left: -34px; top: 22px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9375rem; background: #fff; color: var(--ink-mute); box-shadow: 0 0 0 3px rgba(17, 27, 44, .12); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease-out); }
.timeline__item.is-lit::before { background: var(--orange); color: var(--ink); box-shadow: 0 0 0 5px rgba(236, 132, 5, .25); transform: scale(1.12); }
.timeline__item h3 { font-size: 1.3rem; margin-bottom: 6px; }
.timeline__item p { color: var(--ink-2); }
.timeline__item ul { margin-top: 12px; }

/* ========== 15. Footer ========== */
.site-footer { padding: 40px 0 24px; }
.footer-card { border-radius: var(--r-xl); padding: clamp(24px, 5vw, 56px); background: linear-gradient(150deg, var(--navy), #0A1424); color: #fff; overflow: hidden; position: relative; }
.footer-card__top { display: grid; gap: 32px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, .72); max-width: 26rem; }
.footer-col h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, .86); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.footer-contact .ico { margin-top: 4px; color: var(--orange-2); }
.footer-word { margin-block: 30px 6px; font-size: clamp(2.2rem, 8.6vw, 6.75rem); font-weight: 600; letter-spacing: -.03em; line-height: .95; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); user-select: none; }
.footer-card__bottom { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: rgba(255, 255, 255, .6); }

.action-bar { position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 20px 44px -18px rgba(17, 27, 44, .5), inset 0 0 0 1px rgba(255, 255, 255, .9); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .action-bar { background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); } }
.action-bar .btn--primary { flex: 1; }
.page-consultar-mi-situacion .action-bar { display: none; }
.page-consultar-mi-situacion { padding-bottom: 0; }
.wa-float { display: none; }

/* ========== 16. Efectos: reveal y texto por palabras ========== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal][data-split] { opacity: 1; transform: none; }          /* defensa: nunca ocultar títulos */
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
.js [data-reveal][data-delay="4"] { transition-delay: .32s; }
.split-word { display: inline-block; will-change: transform, opacity; }

/* ========== 17. Responsive (mobile-first) ========== */
@media (min-width: 540px) {
  :root { --gutter: 24px; }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .needs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .needs--wa { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .site-header__cta { display: inline-flex; }
  .doors__grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .facts div { grid-template-columns: 220px 1fr; align-items: baseline; }
  .footer-card__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-card__bottom { grid-template-columns: 1fr 1fr; gap: 24px; }
  .form__actions { grid-template-columns: 1fr 1fr; }
  .faq-tools { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .wa-float { position: fixed; z-index: 150; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; background: #25D366; color: #fff; box-shadow: 0 20px 40px -16px rgba(37, 211, 102, .6); transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft); }
  .wa-float:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -14px rgba(37, 211, 102, .75); }
  .wa-float .ico { color: #fff; }
  .ico--brand { fill: currentColor; stroke: none; }
  .hero { padding-top: calc(var(--header-h) + 40px); min-height: min(100svh, 860px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.02fr .98fr; gap: 24px; width: 100%; }
  .hero__stage { max-height: none; aspect-ratio: auto; height: min(62svh, 600px); min-height: 460px; }
  .page-hero__grid { grid-template-columns: 1.3fr .7fr; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .verify__grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .footer-card__top { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; }
  .footer-contact { grid-column: auto; }
  .definition { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .process--live { height: 420svh; }
  .process--live .process__grid { grid-template-columns: .95fr 1.05fr; grid-template-rows: none; gap: 40px; align-items: center; }
  .process--live .process__stage { order: 0; height: min(66svh, 600px); }
  .process--live .step:not(.is-active) { display: grid; opacity: .5; }
  .process--live .step:not(.is-active) .step__text { display: none; }
  .process--live .process__dots { display: none; }
  .logo-card { width: 168px; height: 88px; }
}
@media (min-width: 1280px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .site-header__cta { display: inline-flex; }
  .mobile-menu { display: none !important; }
}
@media (min-width: 960px) and (max-width: 1279px) {
  .site-header__cta { order: 2; }
}

/* ========== 18. Movimiento: solo se atenúa lo realmente intrusivo ========== */
@media (prefers-reduced-motion: reduce) {
  .hero__chip { animation: none; }
  .trust-badge__icon::after { animation: none; }
  .mail-visual__badge, .mail-visual__chip { animation: none; }
  .mail-photo, .mano-visual__chip { animation: none; }
  .orbit__ring { animation-duration: 240s; }
  html { scroll-behavior: auto; }
}

/* ---- ajustes ---- */
.section-head--flush { margin-bottom: 0; }
.process--live .process__grid { grid-template-rows: minmax(0, 40svh) auto auto; }
@media (min-width: 960px) { .process--live .process__grid { grid-template-rows: none; } }
.center { text-align: center; justify-items: center; }
.mt-l { margin-top: clamp(24px, 4vw, 40px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- línea de tiempo (estructura corregida) y panel ilustrativo de empresas ---- */
.timeline { display: block; }
.timeline__list { display: grid; gap: 18px; }
.mini-flow { display: grid; gap: 14px; align-content: start; }
.mini-flow__title { font-weight: 600; font-size: 1.0625rem; }
.mini-flow ul { display: grid; gap: 16px; }
.mini-flow li { display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.mini-flow li i { display: block; height: 10px; border-radius: 10px; background: rgba(17, 27, 44, .08); position: relative; overflow: hidden; }
.mini-flow li i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 10px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform-origin: 0 50%; animation: barGrow 1.8s var(--ease-out) .3s both; }
.mini-flow__note { font-size: .75rem; color: var(--ink-mute); }
@keyframes barGrow { from { transform: scaleX(0); } }

/* ---- menú: nunca partir los textos en dos líneas ---- */
.brand__name, .nav a { white-space: nowrap; }
@media (min-width: 1280px) { .nav a { padding: .55rem .75rem; } }

/* ---- degradado en títulos animados palabra por palabra ---- */
.grad-words .split-word {
  color: #D96D00;
  background: linear-gradient(95deg, #D96D00, #EC8405 50%, #C25E00);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.site-header__cta { white-space: nowrap; }
