/* =========================================================
   CIAL — Corporación de Inversiones y Asesoría Legal
   Sistema visual corporativo minimalista
   Blanco como base · azul marino para estructura · dorado como acento
   Esquinas rectas, líneas finas, sin degradados ni sombras pesadas.
   ========================================================= */

:root {
  --navy-950: #000a28;
  --navy-900: #000d34;
  --navy-800: #061a4a;
  --navy-700: #003161;
  --gold: #f6ab35;
  --gold-600: #e0962a;
  --gold-text: #c4831c;          /* dorado legible sobre blanco */
  --gray: #e4e4e2;
  --gray-50: #f6f6f4;
  --white: #ffffff;
  --ink: #000d34;
  --ink-soft: #3b4660;
  --ink-mute: #6c7488;
  --line: #e4e4e2;
  --line-strong: #c9cbd0;
  --line-dark: rgba(255, 255, 255, .14);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 80px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip;
  padding-top: var(--header-h);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon-sprite { display: none; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--soft { background: var(--gray-50); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark p, .section--dark .lead { color: rgba(255, 255, 255, .72); }
.section + .section:not(.section--soft):not(.section--dark) { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 16px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--navy-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }

.h-section { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--navy-900); text-wrap: balance; }
.section--dark .h-section { color: var(--white); }
.h-card { font-size: 1.12rem; color: var(--navy-900); }
.accent { font-style: normal; color: var(--gold-text); }
.section--dark .accent, .on-dark .accent, .cta-band .accent { color: var(--gold); }
.lead { font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--ink-soft); line-height: 1.8; max-width: 62ch; }
.muted { color: var(--ink-mute); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--navy-900); color: var(--white); border: 1px solid var(--navy-900);
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn .ico { width: 1.2em; height: 1.2em; transition: transform .35s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn--wa { background: #1fae5b; border-color: #1fae5b; color: #fff; }
.btn--wa:hover { background: #17924b; border-color: #17924b; }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900);
  border-bottom: 2px solid var(--gold); transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--navy-700); }
.section--dark .link-arrow { color: var(--white); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- Header (logo · menú · un botón) ---------- */
.header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--header-h);
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.header.is-fixed { box-shadow: 0 6px 24px -18px rgba(0, 13, 52, .45); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: 132px; flex: none; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; height: 100%; gap: clamp(18px, 2.4vw, 40px); }
.nav__link {
  position: relative; display: flex; align-items: center; height: 100%;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .25s;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: clamp(8px, 1.5vw, 20px); }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line-strong); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-900); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .nav { display: none; } .burger { display: block; } .brand { width: 118px; } }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 24px var(--gutter) 32px; background: var(--white);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .55s var(--ease-io), visibility 0s .55s;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-io); }
.menu-open { overflow: hidden; }
.menu-open .header { transform: none; }
.mobile-menu__links { display: grid; }
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 1.5rem; font-weight: 600; color: var(--navy-900);
  opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease), color .2s;
}
.mobile-menu__links a small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.mobile-menu__links a[aria-current="page"] { color: var(--navy-700); }
.menu-open .mobile-menu__links a { opacity: 1; transform: none; }
.menu-open .mobile-menu__links a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu__links a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu__links a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu__links a:nth-child(5) { transition-delay: .2s; }
.mobile-menu__foot { display: grid; gap: 12px; font-size: .9rem; color: var(--ink-soft); }
.mobile-menu__foot a, .mobile-menu__foot span { display: inline-flex; align-items: center; gap: 10px; }
.mobile-menu__foot .ico { color: var(--gold-text); }
.mobile-menu__foot .btn { margin-bottom: 8px; }
.mobile-menu__foot .btn .ico { color: inherit; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--white);
  animation: splashSafety .01s 2.5s forwards; transition: opacity .6s, visibility 0s .6s;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.no-splash .splash { display: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash__inner { display: grid; justify-items: center; gap: 22px; }
.splash__logo { width: min(220px, 56vw); opacity: 0; animation: fadeUp .9s .1s var(--ease) forwards; }
.splash__bar { width: min(180px, 46vw); height: 2px; background: var(--gray); overflow: hidden; }
.splash__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); animation: barFill 1.2s .2s var(--ease-io) forwards; }
.splash__tag { text-align: center; padding-inline: 24px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); opacity: 0; animation: fadeUp .8s .5s var(--ease) forwards; }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Page transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 190; pointer-events: none; background: var(--navy-900); transform: scaleY(0); transform-origin: 50% 100%; }
.is-leaving .curtain { transform: scaleY(1); transition: transform .5s var(--ease-io); }
.is-entering .curtain { animation: curtainOut .7s .05s var(--ease-io) both; transform-origin: 50% 0; }
@keyframes curtainOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* ---------- Reveal on scroll ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal="left"] { transform: translateX(-32px); }
.reveal-ready [data-reveal="right"] { transform: translateX(32px); }
.reveal-ready [data-reveal="scale"] { transform: scale(.96); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-ready [data-wipe] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); }
.reveal-ready [data-wipe].is-in { clip-path: inset(0 0 0 0); }
.reveal-ready [data-wipe] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.reveal-ready [data-wipe].is-in img { transform: none; }

/* ---------- Hero entrance (title lines + fades) ---------- */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(var(--ld, 0s) + 1s); }
.line:nth-child(2) > span { --ld: .1s; }
.line:nth-child(3) > span { --ld: .2s; }
.no-splash .line > span { animation-delay: calc(var(--ld, 0s) + .25s); }
.is-entering .line > span { animation-delay: calc(var(--ld, 0s) + .5s); }
@keyframes lineUp { to { transform: none; } }
.hero-fade { opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(var(--hd, .6s) + .8s); }
.no-splash .hero-fade { animation-delay: var(--hd, .6s); }
.is-entering .hero-fade { animation-delay: calc(var(--hd, .6s) + .25s); }

/* ---------- Split hero (todas las páginas) ---------- */
.phero { position: relative; isolation: isolate; background: var(--white); border-bottom: 1px solid var(--line); }
.phero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; overflow: hidden; z-index: -1; background: var(--navy-900); }
.phero__bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 13, 52, .28); }
.phero__bg--contain { background: #0b1d45; }
.phero__bg--contain img { object-fit: contain; top: 0; height: 100%; padding: 8%; }
.phero__bg--contain::after { display: none; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%); min-height: clamp(560px, 74vh, 760px); }
.phero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(56px, 7vw, 96px) 0; }
.phero__aside { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(32px, 4vw, 64px) 0 clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px); }
.phero__title { font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.06; letter-spacing: -.03em; color: var(--navy-900); text-wrap: balance; }
.phero__lead { margin-top: 26px; max-width: 54ch; font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--ink-soft); line-height: 1.8; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.phero--home .phero__grid { min-height: calc(100svh - var(--header-h)); }
.phero--home .phero__title { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.phero__arrow { position: absolute; left: 0; right: 0; bottom: 14%; width: 100%; height: 55%; z-index: 1; pointer-events: none; }
.phero__arrow path { stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: drawLine 2.8s 1.4s var(--ease-io) forwards; }
.no-splash .phero__arrow path { animation-delay: .5s; }
.phero__arrow .arrow-head { opacity: 0; animation: fadeIn .5s 4s forwards; }
.no-splash .phero__arrow .arrow-head { animation-delay: 3.1s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@media (max-width: 960px) {
  .phero__grid { grid-template-columns: 1fr; min-height: 0; }
  .phero--home .phero__grid { min-height: 0; }
  .phero__text { padding: 48px 0 40px; }
  .phero__bg { position: relative; width: auto; height: 320px; margin-inline: calc(var(--gutter) * -1); }
  .phero__grid > .phero__bg { order: 2; }
  .phero__aside { order: 3; padding: 0 0 48px; }
  .phero__aside:empty { display: none; }
  .phero__aside .quick-card { margin-top: -96px; }
}

.breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--navy-900); }
.breadcrumb .sep { width: 14px; height: 1px; background: var(--line-strong); }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.trust .ico { color: var(--gold-text); width: 18px; height: 18px; }

/* home stat card over photo */
.hero-stat { align-self: flex-end; margin-left: auto; width: min(100%, 320px); background: var(--navy-900); color: var(--white); padding: 28px 30px; border-top: 3px solid var(--gold); position: relative; z-index: 2; }
.hero-stat__row + .hero-stat__row { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.hero-stat b { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.hero-stat b span { color: var(--gold); }
.hero-stat small { display: block; margin-top: 6px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
@media (max-width: 960px) { .hero-stat { width: 100%; margin: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 22px 20px; } .hero-stat__row + .hero-stat__row { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 18px; border-left: 1px solid var(--line-dark); } .hero-stat b { font-size: 1.6rem; } .phero--home .phero__aside { padding: 0; margin-inline: calc(var(--gutter) * -1); } }

/* service paths under home hero */
.paths { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.path-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 34px 32px 34px 0; transition: background .3s; }
.path-card + .path-card { padding-left: 32px; border-left: 1px solid var(--line); }
.path-card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.path-card:hover::before { transform: scaleX(1); }
.path-card__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--navy-900); transition: background .3s, color .3s, border-color .3s; }
.path-card__icon .ico { width: 26px; height: 26px; }
.path-card:hover .path-card__icon { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.path-card__kicker { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.path-card__title { display: block; margin-top: 4px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; color: var(--navy-900); }
.path-card__meta { display: block; margin-top: 2px; font-size: .86rem; color: var(--gold-text); font-weight: 600; }
.path-card__go { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s; }
.path-card:hover .path-card__go { background: var(--gold); border-color: var(--gold); }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .path-card, .path-card + .path-card { padding: 26px 0; border-left: 0; }
  .path-card + .path-card { border-top: 1px solid var(--line); }
}

/* facts band */
.facts-band { border-bottom: 1px solid var(--line); background: var(--white); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 30px 28px 30px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact__k { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.fact__v { margin-top: 8px; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 600; color: var(--navy-900); letter-spacing: -.02em; }
.fact__v small { font-size: .58em; font-weight: 500; color: var(--gold-text); letter-spacing: 0; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.section--dark .stats { border-top-color: var(--line-dark); }
.stat { padding: 32px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.section--dark .stat + .stat { border-left-color: var(--line-dark); }
.stat__num { display: flex; align-items: baseline; gap: 2px; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--navy-900); }
.section--dark .stat__num { color: var(--white); }
.stat__num .unit { font-size: .55em; color: var(--gold-text); }
.section--dark .stat__num .unit { color: var(--gold); }
.stat__label { margin-top: 14px; font-size: .86rem; color: var(--ink-mute); max-width: 24ch; }
.section--dark .stat__label { color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; }
}

/* ---------- Ticker (marquee) ---------- */
.marquee { overflow: hidden; background: var(--navy-900); color: var(--white); padding-block: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.marquee__item em { font-style: normal; color: var(--gold); }
.marquee__dot { width: 6px; height: 6px; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 920px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.media-frame { position: relative; overflow: hidden; background: var(--gray); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 11; }
.media-stack { position: relative; padding: 0 0 64px 64px; }
.media-stack .media-frame--small { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 8px solid var(--white); }
.media-badge { position: absolute; right: 0; top: 32px; z-index: 2; max-width: 220px; padding: 22px 24px; background: var(--navy-900); color: var(--white); border-top: 3px solid var(--gold); }
.media-badge strong { display: block; font-size: 2rem; font-weight: 600; line-height: 1; color: var(--gold); letter-spacing: -.03em; }
.media-badge span { display: block; margin-top: 6px; font-size: .78rem; color: rgba(255, 255, 255, .72); }
@media (max-width: 600px) { .media-stack { padding: 0 0 48px 24px; } .media-badge { top: 16px; padding: 16px 18px; } }

.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.checklist .ico { color: var(--gold-text); margin-top: 3px; }
.section--dark .checklist li { color: rgba(255, 255, 255, .8); }
.section--dark .checklist .ico { color: var(--gold); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-grid > div { min-width: 0; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); transition: border-color .3s; }
.svc:hover { border-color: var(--navy-900); }
.svc::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 2; }
.svc:hover::after { transform: scaleX(1); }
.svc__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__tag { position: absolute; left: 0; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--navy-900); color: var(--gold); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.svc__num { display: none; }
.svc__title { padding: 30px 32px 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--navy-900); }
.svc__text { padding: 12px 32px 0; color: var(--ink-soft); }
.svc__figures { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc__figures > div { padding: 16px 12px 16px 0; }
.svc__figures > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.svc__figures b { display: block; font-size: 1.08rem; font-weight: 600; color: var(--navy-900); }
.svc__figures span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 32px 32px; margin-top: auto; }
@media (max-width: 520px) {
  .svc__title, .svc__text { padding-inline: 22px; }
  .svc__figures { margin-inline: 22px; grid-template-columns: 1fr 1fr; }
  .svc__figures > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .svc__actions { padding: 24px 22px 26px; }
}

/* ---------- Flow diagram ---------- */
.flow { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; margin-top: 16px; }
.flow__node { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: 10px; text-align: center; }
.flow__circle { width: clamp(104px, 11vw, 136px); aspect-ratio: 1; display: grid; place-items: center; color: var(--gold); background: var(--navy-900); border: 1px solid rgba(246, 171, 53, .5); }
.flow__circle .ico { width: 40%; height: 40%; }
.flow__node--center .flow__circle { width: clamp(150px, 15vw, 190px); background: var(--white); border: 0; outline: 1px solid var(--gold); outline-offset: 10px; }
.flow__node--center .flow__circle img { width: 70%; }
.flow__label { font-size: .86rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.flow__sub { font-size: .86rem; color: rgba(255, 255, 255, .6); max-width: 24ch; }
.flow__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.flow__lines path { fill: none; stroke-width: 1.4; }
.flow__lines .p-gold { stroke: var(--gold); stroke-dasharray: 5 9; animation: dash 1.8s linear infinite; }
.flow__lines .p-light { stroke: rgba(255, 255, 255, .45); stroke-dasharray: 5 9; animation: dash 1.8s linear infinite reverse; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow__tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.flow__tag { position: absolute; transform: translate(-50%, -50%); padding: 6px 12px; background: var(--navy-900); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.flow__tag--gold { color: var(--gold); border: 1px solid rgba(246, 171, 53, .5); }
.flow__tag--light { color: rgba(255, 255, 255, .8); border: 1px solid var(--line-dark); }
.flow-note { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 760px; padding: 22px 28px; text-align: center; border: 1px solid var(--line-dark); }
.flow-note p { color: rgba(255, 255, 255, .82); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 44px; }
  .flow__lines, .flow__tags { display: none; }
  .flow__node--center { order: -1; }
  .flow__node + .flow__node::before { content: ""; position: absolute; top: -40px; left: 50%; width: 1px; height: 32px; background: var(--gold); }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { position: relative; padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .3s; }
.section--soft .pillar { background: var(--gray-50); }
.pillar:hover { background: var(--white); }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.pillar:hover::before { transform: scaleY(1); }
.pillar__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; color: var(--navy-900); border: 1px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s; }
.pillar__icon .ico { width: 26px; height: 26px; }
.pillar:hover .pillar__icon { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.pillar p { margin-top: 10px; font-size: .94rem; color: var(--ink-soft); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.steps__track { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-strong); }
.section--dark .steps__track { background: var(--line-dark); }
.steps__progress { position: absolute; inset: -1px 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--sp, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.step__num { width: 56px; height: 56px; display: grid; place-items: center; font-size: .9rem; font-weight: 600; letter-spacing: .06em; background: var(--white); color: var(--navy-900); border: 1px solid var(--navy-900); transition: background .4s, color .4s, border-color .4s; }
.section--soft .step__num { background: var(--gray-50); }
.section--dark .step__num { background: var(--navy-900); color: var(--white); border-color: rgba(255, 255, 255, .4); }
.step.is-active .step__num { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.section--dark .step.is-active .step__num { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.step__title { margin-top: 26px; font-size: 1.06rem; color: var(--navy-900); }
.section--dark .step__title { color: var(--white); }
.step__text { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); }
.step__list { margin-top: 14px; display: grid; gap: 8px; }
.step__list li { display: flex; gap: 10px; font-size: .86rem; color: var(--ink-soft); }
.step__list li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; background: var(--gold); flex: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 80px; }
  .steps__track { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__progress { inset: 0 -1px; transform-origin: top; transform: scaleY(var(--sp, 0)); }
  .step__num { position: absolute; left: -80px; top: -4px; }
  .step__title { margin-top: 6px; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: clip; background: var(--navy-900); color: var(--white); padding-block: clamp(72px, 9vw, 120px); }
.cta-band__media { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; z-index: -1; overflow: hidden; }
.cta-band__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; opacity: .55; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900), rgba(0, 13, 52, .15) 70%); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.cta-band__title { font-size: clamp(1.9rem, 3.8vw, 3.1rem); max-width: 20ch; text-wrap: balance; }
.cta-band p { margin-top: 18px; max-width: 52ch; color: rgba(255, 255, 255, .72); }
.cta-band__actions { display: grid; gap: 12px; }
.cta-band__contact { display: grid; gap: 4px; margin-top: 10px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.cta-band__contact a:hover { color: var(--gold); }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__media { width: 100%; } .cta-band__media img { opacity: .2; } }

/* ---------- Types (modalidades) ---------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.section:not(.section--dark) .types { border-color: var(--line); }
.type { position: relative; padding: clamp(30px, 3.2vw, 44px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .3s; }
.section:not(.section--dark) .type { border-color: var(--line); background: var(--white); }
.section--dark .type:hover { background: var(--navy-800); }
.section:not(.section--dark) .type:hover { background: var(--gray-50); }
.type__icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(246, 171, 53, .5); }
.section:not(.section--dark) .type__icon { color: var(--navy-900); border-color: var(--line-strong); }
.type__icon .ico { width: 28px; height: 28px; }
.type__n { position: absolute; right: 28px; top: 28px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.section:not(.section--dark) .type__n { color: var(--gold-text); }
.type h3 { margin-top: 28px; font-size: 1.2rem; }
.section:not(.section--dark) .type h3 { color: var(--navy-900); }
.type p { margin-top: 12px; font-size: .92rem; }
.section--dark .type p { color: rgba(255, 255, 255, .68); }
.section:not(.section--dark) .type p { color: var(--ink-soft); }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } }

/* ---------- Benefits ---------- */
.benefits { border-top: 1px solid var(--line); }
.benefit { display: grid; grid-template-columns: 64px 1fr 1.3fr auto; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .3s; }
.benefit:hover { padding-inline: 18px; background: var(--white); }
.benefit__n { font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.benefit h3 { font-size: 1.06rem; color: var(--navy-900); }
.benefit p { font-size: .94rem; color: var(--ink-soft); }
.benefit__ico { width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy-900); border: 1px solid var(--line-strong); transition: background .3s, color .3s; }
.benefit:hover .benefit__ico { background: var(--navy-900); color: var(--gold); }
@media (max-width: 760px) { .benefit { grid-template-columns: 40px 1fr; gap: 6px 12px; } .benefit p { grid-column: 2; } .benefit__ico { display: none; } }

/* ---------- Requirements ---------- */
.reqs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 640px) { .reqs { grid-template-columns: 1fr; } }
.req { display: flex; gap: 18px; align-items: flex-start; padding: 26px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.req:hover { background: var(--gray-50); }
.section--soft .req:hover { background: var(--white); }
.req__ico { width: 46px; height: 46px; display: grid; place-items: center; flex: none; background: var(--navy-900); color: var(--gold); }
.req__ico .ico { width: 22px; height: 22px; }
.req h3 { font-size: .98rem; color: var(--navy-900); }
.req p { margin-top: 6px; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Simulator ---------- */
.sim { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); background: var(--white); }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }
.sim__controls { display: grid; gap: 34px; align-content: start; padding: clamp(28px, 4vw, 52px); }
.sim__row label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.sim__row output { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--navy-900); }
.sim__range { --fill: 50%; width: 100%; margin-top: 18px; -webkit-appearance: none; appearance: none; height: 3px; background: linear-gradient(var(--gold), var(--gold)) 0 0 / var(--fill) 100% no-repeat, var(--gray); outline: none; cursor: pointer; }
.sim__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--navy-900); border: 3px solid var(--white); outline: 1px solid var(--navy-900); }
.sim__range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 0; background: var(--navy-900); border: 3px solid var(--white); }
.sim__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .74rem; color: var(--ink-mute); }
.sim__seg { display: flex; flex-wrap: wrap; margin-top: 16px; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.sim__seg button { padding: 10px 16px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); transition: background .25s, color .25s; }
.sim__seg button + button { border-left: 1px solid var(--line); }
.sim__seg button:hover { color: var(--navy-900); background: var(--gray-50); }
.sim__seg button[aria-pressed="true"] { background: var(--navy-900); color: var(--white); }
.sim__result { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 52px); background: var(--navy-900); color: var(--white); border-top: 3px solid var(--gold); }
.sim__big-k { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.sim__big { margin-top: 10px; font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.sim__big small { font-size: .42em; font-weight: 500; letter-spacing: 0; color: var(--gold); }
.sim__lines { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.sim__lines div { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.sim__lines b { color: var(--white); font-weight: 600; }
.sim__note { font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .5); }

/* ---------- Orbit ---------- */
.orbit-wrap > * { min-width: 0; }
.orbit-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .orbit-wrap { grid-template-columns: 1fr; } }
.orbit { --inset: 48px; position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbit__ring { position: absolute; inset: var(--inset); border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .2); animation: spin 60s linear infinite; }
.orbit__ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; background: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; text-align: center; background: var(--navy-800); border: 1px solid rgba(246, 171, 53, .45); }
.orbit__center .orbit__step { display: block; margin-bottom: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.orbit__center b { display: block; font-size: clamp(.95rem, 1.5vw, 1.1rem); font-weight: 600; color: var(--white); }
.orbit__center .orbit__desc { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.orbit__node { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; color: var(--gold); background: var(--navy-900); border: 1px solid rgba(246, 171, 53, .45); transform: rotate(var(--a)) translateY(calc(-50cqi + var(--inset))) rotate(calc(var(--a) * -1)); transition: background .4s, color .4s; }
.orbit__node .ico { width: 28px; height: 28px; }
.orbit__node.is-active { background: var(--gold); color: var(--navy-900); }
.orbit__node::after { content: attr(data-n); position: absolute; top: -1px; right: -1px; width: 22px; height: 22px; display: grid; place-items: center; font-size: .66rem; font-weight: 700; background: var(--white); color: var(--navy-900); }
.orbit-list { display: grid; border-top: 1px solid var(--line-dark); counter-reset: ol; }
.orbit-list li { position: relative; padding: 18px 16px 18px 60px; border-bottom: 1px solid var(--line-dark); cursor: pointer; transition: background .3s; }
.orbit-list li::before { counter-increment: ol; content: "0" counter(ol); position: absolute; left: 16px; top: 20px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.orbit-list li.is-active { background: var(--navy-800); }
.orbit-list li.is-active::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.orbit-list b { display: block; font-size: .98rem; color: var(--white); }
.orbit-list span { display: block; margin-top: 2px; font-size: .86rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 520px) { .orbit { --inset: 32px; } .orbit__node { width: 54px; height: 54px; margin: -27px 0 0 -27px; } .orbit__node .ico { width: 22px; height: 22px; } .orbit__center .orbit__desc { display: none; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 1.02rem; font-weight: 600; color: var(--navy-900); transition: color .25s; }
.faq summary:hover { color: var(--navy-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 32px; height: 32px; flex: none; border: 1px solid var(--line-strong); transition: background .3s, border-color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--navy-900); transition: transform .35s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { background: var(--navy-900); border-color: var(--navy-900); }
.faq details[open] .faq__plus::before, .faq details[open] .faq__plus::after { background: var(--gold); }
.faq details[open] .faq__plus::after { transform: rotate(0); }
.faq__body { padding: 0 52px 24px 0; color: var(--ink-soft); }
.faq details[open] .faq__body { animation: fadeUp .5s var(--ease) both; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.form-aside__contact { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy-900); transition: color .25s; }
.contact-line:hover { color: var(--navy-700); }
.contact-line__ico { width: 44px; height: 44px; display: grid; place-items: center; flex: none; background: var(--navy-900); color: var(--gold); }
.contact-line small { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }

.form-card { position: relative; padding: clamp(26px, 3.6vw, 48px); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy-900); }
.form-card__title { font-size: 1.35rem; color: var(--navy-900); }
.form-card__sub { margin-top: 6px; font-size: .88rem; color: var(--ink-mute); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: 8px; }
.field > label:not(.check) { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req-mark { color: var(--gold-text); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line-strong);
  font-size: .95rem; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000d34' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.field__err { display: none; font-size: .76rem; color: #b3261e; }
.field.is-invalid .field__err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy-900); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-note { font-size: .78rem; color: var(--ink-mute); }
.form-note a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.form-success { display: none; padding: 28px 8px; text-align: center; }
.form-card.is-sent .form-body { display: none; }
.form-card.is-sent .form-success { display: block; animation: fadeUp .6s var(--ease) both; }
.form-success__ico { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); }
.form-success__ico .ico { width: 30px; height: 30px; stroke-width: 2; }
.form-success h3 { font-size: 1.3rem; color: var(--navy-900); }
.form-success p { margin: 10px auto 22px; max-width: 40ch; color: var(--ink-soft); }
.form-success .link-arrow { cursor: pointer; }

.tabs { display: inline-flex; flex-wrap: wrap; margin-top: 22px; border: 1px solid var(--line-strong); }
.tabs button { padding: 11px 18px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); transition: background .25s, color .25s; }
.tabs button + button { border-left: 1px solid var(--line-strong); }
.tabs button[aria-selected="true"] { background: var(--navy-900); color: var(--white); }

/* quick form in hero */
.quick-card { width: 100%; max-width: 420px; padding: clamp(24px, 2.6vw, 34px); border: 0; border-top: 3px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); z-index: 2; }
.quick-card__k { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.quick-card__title { margin-top: 6px; font-size: 1.3rem; color: var(--navy-900); }
.quick-card__sub { margin-top: 4px; font-size: .86rem; color: var(--ink-mute); }
.quick-card .form-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
.quick-card .field input:not([type="checkbox"]), .quick-card .field select { min-height: 46px; }
.quick-card .check { font-size: .74rem; }
.quick-card .btn { width: 100%; margin-top: 16px; }
.quick-card__rate { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.quick-card__rate b { font-size: 1.2rem; letter-spacing: -.01em; color: var(--navy-900); }
.quick-card .form-success { padding: 8px 0; }
.quick-card .form-success .form-actions { flex-direction: column; }
.quick-card .form-success .btn { margin-top: 0; }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 960px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .uses { grid-template-columns: 1fr; } }
.use { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); isolation: isolate; overflow: hidden; }
.use::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-900); transform: translateY(101%); transition: transform .5s var(--ease); }
.use:hover::before { transform: none; }
.use__ico { width: 48px; height: 48px; display: grid; place-items: center; color: var(--navy-900); border: 1px solid var(--line-strong); transition: color .3s, border-color .3s; }
.use__ico .ico { width: 24px; height: 24px; }
.use h3 { font-size: 1.04rem; color: var(--navy-900); transition: color .3s; }
.use p { flex: 1; font-size: .9rem; color: var(--ink-soft); transition: color .3s; }
.use__go { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-900); transition: color .3s, gap .3s; }
.use:hover .use__ico { color: var(--gold); border-color: rgba(246, 171, 53, .5); }
.use:hover h3 { color: var(--white); }
.use:hover p { color: rgba(255, 255, 255, .7); }
.use:hover .use__go { color: var(--gold); gap: 14px; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .3s; }
.contact-card:hover { background: var(--gray-50); }
.contact-card__ico { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; background: var(--navy-900); color: var(--gold); }
.contact-card__ico .ico { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.06rem; color: var(--navy-900); }
.contact-card p, .contact-card a { display: block; margin-top: 8px; color: var(--ink-soft); }
.contact-card a { width: fit-content; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid transparent; transition: border-color .25s; }
.contact-card a:hover { border-color: var(--gold); }
.map { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--gray); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map__pin { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 14px; max-width: 100%; padding: 18px 22px; background: var(--navy-900); color: var(--white); border-top: 3px solid var(--gold); }
.map__pin .ico { width: 24px; height: 24px; color: var(--gold); }
.map__pin small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 5; } }
.socials { display: grid; border-top: 1px solid var(--line); }
.social { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--navy-900); transition: padding .3s var(--ease); }
.social:hover { padding-left: 8px; }
.social__ico { width: 36px; height: 36px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); }
.social__ico svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* ---------- Nosotros ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.value { padding: 34px 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .3s; }
.value:hover { background: var(--navy-800); }
.value__letter { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.4rem; font-weight: 600; color: var(--navy-900); background: var(--gold); }
.value h3 { margin-top: 22px; font-size: 1.12rem; color: var(--white); }
.value p { margin-top: 10px; font-size: .9rem; }

.mission { position: relative; padding: clamp(36px, 5vw, 64px); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.mission blockquote { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; color: var(--navy-900); max-width: 34ch; }
.mission cite { display: block; margin-top: 22px; font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 700px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-item { display: flex; gap: 18px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.legal-item:hover { background: var(--gray-50); }
.legal-item .req__ico { background: var(--white); color: var(--navy-900); border: 1px solid var(--line-strong); transition: background .3s, color .3s; }
.legal-item:hover .req__ico { background: var(--navy-900); color: var(--gold); border-color: var(--navy-900); }
.legal-item h3 { font-size: .98rem; color: var(--navy-900); }
.legal-item p { margin-top: 6px; font-size: .88rem; color: var(--ink-soft); }

.inst-pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.inst-pillars li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 14px 0 0; }
.inst-pillars li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.inst-pillars b { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-text); }
.inst-pillars span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--navy-900); }
@media (max-width: 520px) { .inst-pillars { grid-template-columns: 1fr; } .inst-pillars li + li { padding-left: 0; border-left: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .66); padding-top: clamp(64px, 8vw, 96px); border-top: 3px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 150px; }
.footer__brand p { margin-top: 22px; max-width: 36ch; font-size: .9rem; }
.footer h4 { margin-bottom: 20px; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer__links { display: grid; gap: 10px; font-size: .9rem; }
.footer__links a { width: fit-content; transition: color .25s; }
.footer__links a:hover { color: var(--white); }
.footer__contact { display: grid; gap: 14px; font-size: .9rem; }
.footer__contact a, .footer__contact span { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ico { margin-top: 3px; color: var(--gold); }
.footer__contact a:hover { color: var(--white); }
.footer__social { display: flex; gap: 8px; margin-top: 24px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .25s, color .25s, border-color .25s; }
.footer__social a svg { width: 15px; height: 15px; fill: currentColor; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.footer__legal { max-width: 110ch; padding: 22px 0 6px; border-top: 1px solid var(--line-dark); font-size: .74rem; line-height: 1.7; color: rgba(255, 255, 255, .48); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .78rem; }
.footer__bottom a:hover { color: var(--gold); }
.footer__word { display: none; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; opacity: 0; animation: fadeUp .7s 2s var(--ease) forwards; }
.no-splash .wa-float { animation-delay: .6s; }
.wa-float__btn { width: 56px; height: 56px; display: grid; place-items: center; background: #25d366; color: #fff; transition: background .25s; }
.wa-float__btn svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover .wa-float__btn { background: #1fb457; }
.wa-float__label { height: 56px; display: flex; align-items: center; max-width: 0; padding-inline: 0; overflow: hidden; background: var(--navy-900); color: var(--white); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: max-width .45s var(--ease), padding .45s var(--ease); }
.wa-float:hover .wa-float__label { max-width: 260px; padding-inline: 18px; }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; } .wa-float__label { display: none; } }

/* ---------- Misc ---------- */
.disclaimer { margin-top: 26px; max-width: 80ch; font-size: .78rem; color: var(--ink-mute); }
.credits-list { border-top: 1px solid var(--line); }
.credits-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.credits-list a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .orbit__ring { animation: none; } }

/* =========================================================
   Hero a ancho completo con imagen de fondo
   ========================================================= */
.phero { background: var(--navy-900); color: var(--white); border-bottom: 0; }
.phero__bg { left: 0; right: 0; width: auto; }
.phero__bg::after { background: linear-gradient(90deg, rgba(0, 13, 52, .94) 0%, rgba(0, 13, 52, .82) 40%, rgba(0, 13, 52, .45) 75%, rgba(0, 13, 52, .3) 100%), linear-gradient(0deg, rgba(0, 13, 52, .55), transparent 40%); }
.phero__arrow { left: 42%; width: 58%; }
.phero .eyebrow { color: var(--gold); }
.phero__title { color: var(--white); }
.phero .accent { color: var(--gold); }
.phero__lead { color: rgba(255, 255, 255, .8); }
.phero .breadcrumb { color: rgba(255, 255, 255, .6); }
.phero .breadcrumb a:hover { color: var(--white); }
.phero .breadcrumb .sep { background: rgba(255, 255, 255, .35); }
.phero .trust { border-top-color: var(--line-dark); }
.phero .trust li { color: rgba(255, 255, 255, .85); }
.phero .trust .ico { color: var(--gold); }
.phero .inst-pillars { border-top-color: var(--line-dark); }
.phero .inst-pillars li + li { border-left-color: var(--line-dark); }
.phero .inst-pillars b { color: var(--gold); }
.phero .inst-pillars span { color: var(--white); }
.phero__actions .btn:not(.btn--outline) { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.phero__actions .btn:not(.btn--outline):hover { background: var(--gold-600); border-color: var(--gold-600); }
.phero__actions .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.phero__actions .btn--outline:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.phero .quick-card { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }

.hero-plaque { margin: 0; width: 100%; max-width: 520px; border: 1px solid rgba(246, 171, 53, .4); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hero-plaque img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 960px) {
  .phero__bg { position: absolute; height: auto; margin-inline: 0; left: 0; right: 0; }
  .phero__bg::after { background: linear-gradient(180deg, rgba(0, 13, 52, .9) 0%, rgba(0, 13, 52, .8) 60%, rgba(0, 13, 52, .92) 100%); }
  .phero__arrow { left: 0; width: 100%; opacity: .5; }
  .phero__aside .quick-card { margin-top: 0; }
  .phero--home .phero__aside { margin-inline: 0; padding-bottom: 40px; }
  .hero-stat { border: 1px solid var(--line-dark); border-top: 3px solid var(--gold); }
}

/* ---------- Galería: operaciones en notaría (formato grande) ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: repeat(2, clamp(260px, 26vw, 360px)); gap: 16px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; background: var(--gray); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 18px; background: var(--navy-900); color: var(--white); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-top: 2px solid var(--gold); }
.gallery__note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 16px; padding: 28px 32px; background: var(--navy-900); color: var(--white); border-left: 4px solid var(--gold); }
.gallery__note b { font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.gallery__note p { color: rgba(255, 255, 255, .78); font-size: .95rem; max-width: 52ch; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery__item--tall { grid-row: auto; aspect-ratio: 4 / 5; }
  .gallery__item:not(.gallery__item--tall) { aspect-ratio: 4 / 3; }
  .gallery__note { grid-template-columns: 1fr; gap: 12px; }
  .gallery__note .btn { width: fit-content; }
}

.hero-plaque--portrait { max-width: 340px; }
.hero-plaque--portrait img { aspect-ratio: 4 / 5; }
.hero-plaque figcaption { padding: 14px 18px; background: var(--navy-900); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-top: 2px solid var(--gold); }
