/* NBV · Landing asesoría empresas españolas en RD
   tokens → base → componentes → secciones → responsive → motion */

/* ---------- tokens ---------- */
:root {
  --ink-950: #030a19;
  --navy-950: #050f24;
  --navy-900: #081a3a;
  --navy-800: #0c2756;
  --navy-700: #12367a;
  --blue: #1f6fff;           /* acción */
  --blue-hover: #4a8cff;
  --blue-soft: #8fb8ff;
  --ink: #0b1630;
  --ink-soft: #4a5875;
  --paper: #f4f6fb;
  --white: #fff;
  --line: rgba(8, 26, 58, .12);
  --line-light: rgba(255, 255, 255, .14);
  --glass: rgba(10, 30, 70, .55);
  --err: #e5484d;

  --f-display: "Bodoni Moda", "Didot", Georgia, serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(3, 10, 25, .06), 0 18px 40px -18px rgba(3, 10, 25, .35);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-soft); }
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--navy-900);
  text-wrap: balance;
  margin-bottom: 22px;
}
.h2--light { color: var(--white); }
.h2 em, .statement em, .contact__title em, .hero__title em { font-style: italic; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.lead--light { color: rgba(255, 255, 255, .78); }
.section__head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .h2:last-child { margin-bottom: 0; }
.section__head--row { max-width: none; display: grid; gap: 12px; align-items: end; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy-900); --fg: var(--white);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  border: 0; border-radius: 8px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s;
}
.btn > span[aria-hidden] { transition: transform .3s var(--ease); }
.btn:hover > span[aria-hidden] { transform: translateX(5px); }
.btn::after { /* barrido de brillo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { --bg: var(--blue); box-shadow: 0 14px 34px -12px rgba(31, 111, 255, .75); }
.btn--primary:hover { --bg: var(--blue-hover); box-shadow: 0 20px 44px -14px rgba(31, 111, 255, .9); }
.btn--glass { --bg: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .16); }
.btn--dark { --bg: var(--navy-900); }
.btn--dark:hover { --bg: var(--blue); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 15px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.ico-wa { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--topbar-h);
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease);
}
.topbar.is-scrolled {
  height: 64px;
  background: rgba(5, 15, 36, .82);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--line-light), 0 18px 40px -24px rgba(0, 0, 0, .8);
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 44px; width: auto; transition: height .35s var(--ease); }
.topbar.is-scrolled .brand img { height: 38px; }
.topnav { display: none; gap: 30px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.topnav a { text-decoration: none; color: rgba(255, 255, 255, .72); position: relative; padding-block: 6px; transition: color .2s; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.topnav a:hover, .topnav a.is-active { color: var(--white); }
.topnav a:hover::after, .topnav a.is-active::after { transform: scaleX(1); }
.topbar__cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.topbar__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--white); }
.topbar__phone svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-soft); stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--topbar-h) + 40px) 0 clamp(140px, 16vw, 200px);
  color: var(--white);
  background: var(--navy-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img { width: 100%; height: 115%; object-fit: cover; object-position: 75% 40%; transform-origin: 75% 40%; filter: saturate(1.15) contrast(1.08); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 15, 36, .95) 0%, rgba(5, 15, 36, .78) 34%, rgba(5, 15, 36, .12) 66%, rgba(5, 15, 36, .2) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, transparent 35%);
}
.hero__in { display: grid; gap: 48px; align-items: center; }
.kicker { color: var(--blue-soft); }
.kicker::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--blue-soft); }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .9); margin-bottom: 18px; }
.hero__tags i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .75); max-width: 56ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__form { display: none; }

/* ---------- 4 tarjetas superpuestas ---------- */
.pillars4 { position: relative; z-index: 2; margin-top: clamp(-150px, -12vw, -100px); padding-bottom: 8px; background: linear-gradient(transparent 50%, var(--paper) 50%); }
.pillars4__grid { display: grid; gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line-light); box-shadow: var(--shadow-lg); }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px 32px;
  background: linear-gradient(160deg, rgba(18, 54, 122, .92), rgba(8, 26, 58, .96));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--white); text-decoration: none;
  transition: background .4s var(--ease);
}
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pcard:hover::before { transform: scaleX(1); }
.pcard:hover { background: linear-gradient(160deg, rgba(31, 111, 255, .95), rgba(12, 39, 86, .98)); }
.pcard__n { position: absolute; right: 22px; top: 18px; font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); }
.pcard__ico { width: 40px; height: 40px; fill: none; stroke: var(--blue-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pcard:hover .pcard__ico { stroke: var(--white); }
.pcard h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.pcard p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .72); }

/* ---------- necesidad ---------- */
.need { background: var(--paper); padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.statement {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  line-height: 1.08; letter-spacing: -.015em;
  color: var(--navy-900); max-width: 26ch; text-wrap: balance;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.statement .w { opacity: .14; transition: opacity .2s; }
.no-motion .statement .w, .statement:not([data-split]) .w { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 18px 8px 0; }
.stat__num { margin: 0 0 8px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.8rem, 5.5vw, 4.4rem); line-height: 1; color: var(--blue); font-variant-numeric: lining-nums tabular-nums; }
.stat__num small { font-size: .5em; }
.stat__txt { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.45; max-width: 26ch; }

/* ---------- temor ---------- */
.fear { position: relative; background: var(--ink-950); color: var(--white); padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.fear::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 90% 10%, rgba(31, 111, 255, .18), transparent 60%); pointer-events: none; }
.fear__in { position: relative; display: grid; gap: 56px; }
.fear__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; max-height: 560px; }
.fear__media img { width: 100%; height: 118%; object-fit: cover; }
.fear__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 10, 25, .9), transparent 55%); }
.fear__stamp { position: absolute; left: 24px; bottom: 18px; z-index: 1; margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
.fears { display: grid; gap: 0; counter-reset: f; }
.fearitem { counter-increment: f; position: relative; padding: 24px 0 24px 56px; border-top: 1px solid var(--line-light); }
.fearitem:last-child { border-bottom: 1px solid var(--line-light); }
.fearitem::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--err); }
.fearitem__q { position: relative; display: inline; margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; color: var(--white);
  background: linear-gradient(var(--err), var(--err)) no-repeat 0 58% / var(--strike, 0%) 2px; }
.fearitem__a { margin: 12px 0 0; padding-left: 26px; position: relative; color: var(--blue-soft); font-weight: 600; opacity: var(--sol, 1); transform: translateY(calc((1 - var(--sol, 1)) * 10px)); }
.fearitem__a::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.fearitem.is-solved::before { color: var(--blue); }
.fearitem.is-solved .fearitem__q { color: rgba(255, 255, 255, .5); }

/* ---------- solución ---------- */
.solution { background: var(--white); padding: clamp(80px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); }
.svc { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(64px, 9vw, 120px); scroll-margin-top: calc(var(--topbar-h) + 20px); }
.svc__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-900); box-shadow: var(--shadow); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(8, 26, 58, .45)); }
.svc__body { position: relative; }
.svc__n { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(31, 111, 255, .45); margin-bottom: 14px; }
.svc__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; color: var(--navy-900); margin-bottom: 14px; text-wrap: balance; }
.svc__lead { font-size: 1.12rem; color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.ticks { display: grid; gap: 12px; margin-bottom: 30px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 111, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%231f6fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ---------- marquee ---------- */
/* La zona pinta el fondo de las dos secciones vecinas para que la banda inclinada no deje ver el fondo de la página. */
.marquee-zone { position: relative; z-index: 1; overflow: hidden; overflow: clip; padding: 34px 0; background: linear-gradient(var(--white) 50%, var(--paper) 50%); }
.marquee { width: calc(100% + 120px); margin-left: -60px; overflow: hidden; background: var(--blue); color: var(--white); padding: 22px 0; transform: rotate(-2deg); box-shadow: 0 18px 40px -20px rgba(31, 111, 255, .6); }
.marquee__track { display: flex; width: max-content; gap: 36px; align-items: center; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 700; font-style: italic; font-size: clamp(1.8rem, 4vw, 3.2rem); white-space: nowrap; line-height: 1.1; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.marquee__track i { font-style: normal; font-size: 1.3rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- complementarios ---------- */
.extra { background: var(--paper); padding: clamp(70px, 9vw, 120px) 0; }
.extra__grid { display: grid; gap: 16px; }
.xcard {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.xcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31, 111, 255, .35); }
.xcard__ico { width: 38px; height: 38px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xcard h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-900); line-height: 1.25; }
.xcard p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.xcard__go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue); }

/* ---------- por qué RD ---------- */
.why { background: linear-gradient(170deg, var(--navy-800), var(--navy-950) 70%); color: var(--white); padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }
.why .wrap { position: relative; }
.why__grid { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r); overflow: hidden; }
.wcard { padding: 32px 28px; background: rgba(5, 15, 36, .7); transition: background .4s var(--ease); }
.wcard:hover { background: rgba(31, 111, 255, .14); }
.wcard__big { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.8rem; white-space: nowrap; line-height: 1; color: var(--blue-soft); margin-bottom: 16px; }
.wcard h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.wcard p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .97rem; }
.why__tax { margin: 28px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .6); }
.why__sub { margin: 0 0 18px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); }
.why__grid + .why__sub { margin-top: 48px; }
.steps__note { margin: 36px 0 0; max-width: 70ch; font-size: .95rem; color: var(--ink-soft); font-style: italic; }

/* ---------- pasos ---------- */
.steps { background: var(--white); padding: clamp(80px, 11vw, 150px) 0; }
.timeline { position: relative; display: grid; gap: 34px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 27px; top: 0; width: 2px; height: calc(var(--progress, 1) * 100%); background: var(--blue); }
.timeline li { position: relative; padding-left: 84px; }
.timeline__n { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--white); }
.timeline h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; color: var(--navy-900); margin: 10px 0 6px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* ---------- nosotros ---------- */
.about { background: var(--paper); padding: clamp(80px, 11vw, 150px) 0; }
.about__in { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: 20px; bottom: 20px; display: grid; padding: 16px 20px; border-radius: 12px; background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.about__badge strong { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.about__badge span { font-size: .85rem; font-weight: 600; }
.pillars { display: grid; gap: 14px; margin-top: 26px; }
.pillar { padding: 22px 24px; border-radius: 12px; background: var(--white); border-left: 3px solid var(--blue); box-shadow: var(--shadow); }
.pillar h3 { font-size: 1rem; font-weight: 800; color: var(--navy-900); margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- faq ---------- */
.faq { background: var(--white); padding: clamp(80px, 11vw, 150px) 0; }
.faq__in { display: grid; gap: 24px; }
.faq__cta { margin-top: 10px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-weight: 700; font-size: 1.1rem; color: var(--navy-900); transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%231f6fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: rgba(31, 111, 255, .14); }
.faq__list summary:hover { color: var(--blue); }
.faq__list details p { margin: 0; padding: 0 52px 24px 4px; color: var(--ink-soft); }
.faq__list details[open] p { animation: stepIn .45s var(--ease) both; }

/* ---------- contacto ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding: clamp(90px, 12vw, 160px) 0; background: var(--navy-950); }
.contact__media { position: absolute; inset: 0; z-index: -2; }
.contact__media img { width: 100%; height: 120%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 10, 25, .95), rgba(3, 10, 25, .78) 55%, rgba(3, 10, 25, .6)); }
.contact__in { display: grid; gap: 44px; align-items: start; }
.contact__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 22px; text-wrap: balance; }
.contact__title em { color: var(--blue-soft); }
.contact__list { display: grid; margin-top: 30px; }
.contact__list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .85); }
.contact__list a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact__list a:hover { border-color: var(--blue-soft); }
.contact__list b { font-variant-numeric: tabular-nums; }
.contact__k { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); }

/* ---------- formularios ---------- */
.card-form { position: relative; background: var(--white); color: var(--ink); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.card-form--glass { background: rgba(8, 26, 58, .62); color: var(--white); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.card-form__kicker { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); }
.card-form__title { font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; line-height: 1.1; margin-bottom: 18px; }
.leadform { position: relative; }
.leadform__progress { height: 3px; border-radius: 3px; background: rgba(127, 140, 170, .25); margin-bottom: 20px; overflow: hidden; }
.leadform__progress span { display: block; height: 100%; width: 50%; background: var(--blue); border-radius: inherit; transition: width .6s var(--ease); }
.leadform.is-step2 .leadform__progress span { width: 100%; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .step[data-step="2"] { display: none; }
.js .leadform.is-step2 .step[data-step="1"] { display: none; }
.js .leadform.is-step2 .step[data-step="2"] { display: block; animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step__hello { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--blue); margin-bottom: 14px; }
.card-form--glass .step__hello { color: var(--blue-soft); }

.field { margin-bottom: 14px; }
.field label, .field__label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 700; }
.opt { font-weight: 500; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #d3d9e6; border-radius: var(--r-sm);
  background: #f8f9fc; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 0; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%238fb8ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(31, 111, 255, .16); }
.card-form--glass .field input, .card-form--glass .field select, .card-form--glass .field textarea { background-color: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.card-form--glass .field input:focus, .card-form--glass .field select:focus, .card-form--glass .field textarea:focus { background-color: rgba(255, 255, 255, .12); border-color: var(--blue-soft); }
.card-form--glass .field select option { color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .16); }
.field-row { display: grid; gap: 0 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid #d3d9e6; border-radius: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); background: #f8f9fc; transition: all .2s var(--ease); }
.chip:hover span { border-color: var(--blue); color: var(--navy-900); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.chips--sm .chip span { min-height: 40px; padding: 8px 14px; font-size: .88rem; }
.chips.is-invalid .chip span { border-color: var(--err); }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; font-size: .88rem; opacity: .9; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.check.is-invalid span { color: var(--err); }
.check a { color: var(--blue); }
.card-form--glass .check a { color: var(--blue-soft); }
.micro { margin: 12px 0 0; font-size: .8rem; opacity: .7; text-align: center; }
.leadform__error { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-sm); background: #fdecec; color: #b42328; font-size: .9rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: var(--ink-950); color: rgba(255, 255, 255, .6); padding: 52px 0 110px; font-size: .9rem; border-top: 1px solid var(--line-light); }
.footer__in { display: grid; gap: 18px; }
.footer__logo { height: 48px; width: auto; }
.footer__note { max-width: 70ch; margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer__legal a:hover { color: var(--blue-soft); }
.footer__copy { margin: 0; font-size: .82rem; }

/* ---------- barra móvil / whatsapp ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 15, 36, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-light); transform: translateY(110%); transition: transform .4s var(--ease); }
.mbar.is-visible { transform: none; }
.mbar .btn { flex: 1; }
.mbar__wa { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #1fa855; color: var(--white); }
.mbar__wa .ico-wa, .wa-float .ico-wa { width: 24px; height: 24px; }
.wa-float { display: none; position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; place-items: center; background: #1fa855; color: var(--white); box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- consentimiento ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 84px; z-index: 70; max-width: 460px; padding: 18px 20px; border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); font-size: .9rem; }
.consent p { margin-bottom: 12px; color: var(--ink-soft); }
.consent a { color: var(--blue); }
.consent__btns { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- páginas legales / gracias ---------- */
.legal { background: var(--white); padding: calc(var(--topbar-h) + clamp(40px, 6vw, 72px)) 0 clamp(48px, 8vw, 96px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); color: var(--navy-900); margin-bottom: 24px; line-height: 1.08; }
.legal h2 { font-weight: 800; font-size: 1.1rem; color: var(--navy-900); margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal a { color: var(--blue); }
.legal .topbar, .page-legal .topbar { background: var(--navy-950); }
.page-legal .topbar { background: var(--navy-950); }
.todo { background: #fff4d6; padding: 1px 6px; border-radius: 4px; color: #7a5200; font-weight: 600; }
.thanks { min-height: 72vh; display: grid; align-items: center; }
.thanks ol { counter-reset: t; display: grid; gap: 12px; margin: 24px 0 32px; }
.thanks ol li { counter-increment: t; position: relative; padding-left: 44px; }
.thanks ol li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 800; font-size: .9rem; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .hero__shade { background: linear-gradient(180deg, rgba(5, 15, 36, .78) 0%, rgba(5, 15, 36, .88) 45%, rgba(5, 15, 36, .97) 100%); }
}
@media (min-width: 640px) {
  .pillars4__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars4--5 .pcard:last-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .extra__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .consent { left: 24px; bottom: 24px; }
  .section__head--row { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}
@media (min-width: 960px) {
  .topbar__phone { display: inline-flex; }
  .fear__in { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
  .fear__media { position: sticky; top: 110px; aspect-ratio: 4 / 5; }
  .svc { grid-template-columns: 1fr 1fr; gap: 72px; }
  .svc--rev .svc__media { order: 2; }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .timeline::before, .timeline::after { left: 0; top: 27px; bottom: auto; height: 2px; width: 100%; }
  .timeline::after { width: calc(var(--progress, 1) * 100%); }
  .timeline li { padding: 84px 0 0; }
  .about__in { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .faq__in { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .faq .section__head { position: sticky; top: calc(var(--topbar-h) + 40px); align-self: start; }
  .contact__in { grid-template-columns: 1fr 1fr; gap: 72px; }
  .mbar { display: none; }
  .wa-float { display: grid; }
  .footer { padding-bottom: 52px; }
  .footer__in { grid-template-columns: auto 1fr; align-items: center; column-gap: 48px; }
  .footer__logo { grid-row: span 3; }
}
@media (min-width: 1100px) {
  .topnav { display: flex; }
  .topbar__cta { margin-left: 30px; }
  .hero__in { grid-template-columns: 1.35fr .85fr; gap: 64px; }
  .hero__form { display: block; }
  .pillars4__grid { grid-template-columns: repeat(4, 1fr); }
  .pillars4--5 .pillars4__grid { grid-template-columns: repeat(5, 1fr); }
  .pillars4--5 .pcard:last-child { grid-column: auto; }
  .pillars4--5 .pcard { padding: 28px 22px 30px; }
  .pillars4--5 .pcard h3 { font-size: 1.05rem; }
}

/* ---------- motion ---------- */
.no-js .statement .w { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .statement .w { opacity: 1 !important; }
  .marquee__track { animation: none; }
}
