/* =========================================================
   MK EMPRESARIAL — Sistema visual
   Azul marino + dorado (logo oficial) · Plus Jakarta Sans + Caveat
   ========================================================= */
:root {
  --navy-950: #031D35;
  --navy-900: #062D50;
  --navy-800: #0A3A66;
  --navy-700: #0B4E82;
  --gold-200: #F7E2A6;
  --gold-300: #F2D17A;
  --gold-500: #D5A33B;
  --gold-700: #AA741F;
  --gold-grad: linear-gradient(135deg, #F2D17A 0%, #E2B653 45%, #D5A33B 100%);
  --ink: #0E1B2C;
  --text: #3A4656;
  --muted: #5B6676;
  --bg: #FFFFFF;
  --surface: #F5F7FB;
  --surface-2: #EEF2F8;
  --line: #E3E8F0;
  --link: #1A5FD0;
  --danger: #D93A2F;
  --success: #138A66;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C3D0DF;

  --f-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-script: "Caveat", "Segoe Script", cursive;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(3, 29, 53, .06), 0 2px 8px rgba(3, 29, 53, .05);
  --shadow-md: 0 8px 24px rgba(3, 29, 53, .08), 0 2px 6px rgba(3, 29, 53, .05);
  --shadow-lg: 0 24px 60px rgba(3, 29, 53, .16), 0 6px 18px rgba(3, 29, 53, .08);
  --shadow-gold: 0 10px 28px rgba(213, 163, 59, .38);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 900ms;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 80px;

  --z-header: 100;
  --z-drawer: 200;
  --z-float: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-sans); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg, video { 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; color: var(--ink); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-300); color: var(--navy-950); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--navy-950); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section--surface { background: var(--surface); }
.section--navy { background: radial-gradient(120% 90% at 85% 0%, #0B4E82 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: var(--on-dark-muted); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold-300); }

.h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.04; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.section--navy .lead { color: var(--on-dark-muted); }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.script { font-family: var(--f-script); font-weight: 600; letter-spacing: 0; line-height: 1; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold-grad); --btn-fg: var(--navy-950);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; letter-spacing: -0.005em; white-space: nowrap;
  box-shadow: var(--shadow-gold); isolation: isolate; overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background-color var(--t-fast);
  touch-action: manipulation; cursor: pointer;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(213,163,59,.48); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.btn--ghost::after { display: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--navy-700); }
.btn--outline::after { display: none; }
.btn--navy { --btn-bg: var(--navy-900); --btn-fg: #fff; box-shadow: var(--shadow-md); }
.btn--navy:hover { --btn-bg: var(--navy-700); box-shadow: var(--shadow-lg); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 700; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 500; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .ico { width: 18px; height: 18px; color: var(--gold-300); }
.checks--dark .ico { color: var(--success); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h);
  color: #fff; transition: background-color var(--t-med), box-shadow var(--t-med), color var(--t-med), transform var(--t-med) var(--ease-out);
}
.site-header.is-solid { background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(3,29,53,.06); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1360px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { height: 43px; width: auto; }
/* La palabra EMPRESARIAL ocupa la mitad superior del logo: se baja para alinearla con los textos del menú */
.site-header .brand svg { transform: translateY(18%); }
@media (max-width: 640px) { .brand svg { height: 36px; } }
.brand { color: #fff; --logo-tag: #FFFFFF; transition: color var(--t-med); }
.site-header.is-solid .brand { color: var(--navy-900); --logo-tag: #171A3A; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; padding: 0 12px; font-size: .92rem; font-weight: 600; border-radius: var(--r-pill); white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav > a::after, .nav-drop > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav-drop.is-current > button::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop > button .ico { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.nav-drop[data-open="true"] > button .ico { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.nav-drop[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); transition: background-color var(--t-fast); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--surface); }
.dropdown .d-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--navy-700); flex: none; }
.dropdown .d-ico .ico { width: 20px; height: 20px; }
.dropdown strong { display: block; font-size: .92rem; line-height: 1.3; }
.dropdown span { display: block; font-size: .8rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.dropdown .d-feature { grid-column: 1 / -1; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.dropdown .d-feature:hover { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.dropdown .d-feature span { color: var(--on-dark-muted); }
.dropdown .d-feature .d-ico { background: rgba(255,255,255,.12); color: var(--gold-300); }

.header-cta { margin-left: 8px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; place-items: center; margin-left: auto; }
.menu-toggle .ico { width: 26px; height: 26px; }

@media (max-width: 1280px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
}

/* Drawer móvil */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(3,29,53,.55); opacity: 0; transition: opacity var(--t-med); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--navy-950); color: #fff;
  display: flex; flex-direction: column; padding: 16px var(--gutter) 28px; overflow-y: auto;
  transform: translateX(100%); transition: transform 420ms var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 16px; }
.drawer__top .brand svg { height: 46px; }
.drawer__top .brand { color: #fff; }
.drawer__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer nav a[aria-current="page"] { color: var(--gold-300); }
.drawer nav .sub { padding-left: 16px; font-size: 1rem; font-weight: 500; color: var(--on-dark-muted); }
.drawer nav .label { margin-top: 20px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.drawer .btn { margin-top: 28px; }
.drawer__contact { margin-top: 24px; display: grid; gap: 8px; font-size: .92rem; color: var(--on-dark-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark-muted);
  background: var(--navy-950);
  min-height: min(880px, 100svh); display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
}
.hero--inner { min-height: auto; padding-bottom: clamp(64px, 8vw, 104px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, rgba(3,29,53,.96) 30%, rgba(3,29,53,.72) 52%, rgba(3,29,53,.12) 78%, rgba(3,29,53,.05) 100%),
    linear-gradient(0deg, rgba(3,29,53,.85) 0%, rgba(3,29,53,0) 30%);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -260px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,78,130,.55), transparent 65%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; align-items: center; width: 100%; }
.hero__content { display: grid; gap: 24px; justify-items: start; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__note { font-size: .92rem; color: var(--on-dark-muted); max-width: 560px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--on-dark-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.breadcrumb [aria-current] { color: var(--gold-300); }

.hero__script {
  position: absolute; right: clamp(16px, 8vw, 140px); top: calc(var(--header-h) + 40px);
  color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.6rem); transform: rotate(-8deg); text-shadow: 0 2px 18px rgba(3,29,53,.5);
}
.hero__script svg { width: 100%; height: 18px; margin-top: 4px; overflow: visible; }
.hero__script path { stroke: var(--gold-300); stroke-width: 4; fill: none; stroke-linecap: round; }

.hero-card {
  position: absolute; right: clamp(16px, 6vw, 96px); bottom: 72px; z-index: 1;
  display: grid; grid-template-columns: repeat(3, auto); gap: 4px 28px; padding: 20px 24px;
  background: rgba(255,255,255,.92); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-card b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-card > div > span { font-size: .78rem; line-height: 1.35; color: var(--muted); display: block; max-width: 110px; }
@media (min-width: 1081px) {
  .hero:not(.hero--inner) .hero__media { left: 30%; }
  .hero:not(.hero--inner) .hero__media::after {
    background:
      linear-gradient(90deg, var(--navy-950) 0%, rgba(3,29,53,.75) 18%, rgba(3,29,53,.15) 45%, rgba(3,29,53,0) 100%),
      linear-gradient(0deg, rgba(3,29,53,.7) 0%, rgba(3,29,53,0) 30%);
  }
  .hero:not(.hero--inner) .hero__media img { object-position: 50% 25%; }
}

@media (max-width: 1080px) {
  .hero__script { display: none; }
  .hero-card { position: relative; right: auto; bottom: auto; margin-top: 32px; grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero { align-items: flex-end; min-height: auto; padding-top: calc(var(--header-h) + 160px); }
  .hero__media img { object-position: 70% 20%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(3,29,53,.25) 0%, rgba(3,29,53,.7) 30%, var(--navy-950) 58%);
  }
  .hero--inner { padding-top: calc(var(--header-h) + 120px); }
  .hero:not(.hero--inner) { padding-top: 380px; }
  .hero:not(.hero--inner) .hero__media { inset: 0 0 auto 0; height: 470px; }
  .hero:not(.hero--inner) .hero__media img { object-position: 50% 18%; }
  .hero:not(.hero--inner) .hero__media::after {
    background: linear-gradient(180deg, rgba(3,29,53,.55) 0%, rgba(3,29,53,.05) 28%, rgba(3,29,53,.25) 60%, var(--navy-950) 97%);
  }
  .hero-card { gap: 4px 14px; padding: 16px; }
  .hero-card b { font-size: 1.3rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Marquee de sectores ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-block: 28px; }
.strip__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 150px; line-height: 1.4; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; font-weight: 700; font-size: 1.05rem; color: var(--navy-900); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip__script { font-family: var(--f-script); font-size: 1.6rem; color: var(--navy-900); transform: rotate(-6deg); line-height: 1; text-align: center; }
.strip__script small { display: block; width: 70%; height: 3px; margin: 6px auto 0; background: var(--gold-grad); border-radius: 3px; }
@media (max-width: 900px) {
  .strip__inner { grid-template-columns: 1fr; gap: 16px; }
  .strip__label { max-width: none; }
  .strip__script { display: none; }
}

/* ---------- Antes / después ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); background: var(--navy-950); }
.split__side { position: relative; min-height: 460px; overflow: hidden; isolation: isolate; }
.split__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.split__side::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.split__side--bad img { filter: saturate(.55) brightness(.85); }
.split__side--bad::after { background: linear-gradient(90deg, rgba(3,29,53,.9) 0%, rgba(3,29,53,.55) 55%, rgba(3,29,53,.2) 100%); }
.split__side--good::after { background: linear-gradient(270deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,0) 80%); }
.split__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.split__side--good .split__body { align-items: flex-end; text-align: left; }
.split__side--good .split__body > * { width: min(100%, 300px); }
.split__title { font-family: var(--f-script); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.02; color: #fff; transform: rotate(-4deg); transform-origin: left; }
.split__side--good .split__title { color: var(--navy-950); }
.split__list { display: grid; gap: 10px; }
.split__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.split__side--bad .split__list li { color: #fff; }
.split__side--good .split__list li { color: var(--ink); }
.dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.dot .ico { width: 13px; height: 13px; stroke-width: 3; }
.dot--bad { background: var(--danger); }
.dot--good { background: var(--success); }
.split__arrow { position: absolute; left: 50%; top: 50%; width: 180px; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; filter: drop-shadow(0 4px 10px rgba(3,29,53,.3)); }
.split__arrow path { fill: none; stroke: var(--gold-500); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.split__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; transform: translateX(-50%) skewX(-6deg); background: #fff; z-index: 1; }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .split__side { min-height: 380px; }
  .split__divider { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 6px; transform: translateY(-50%) skewY(-3deg); }
  .split__arrow { width: 110px; transform: translate(-50%, -50%) rotate(70deg); }
  .split__side--good::after { background: linear-gradient(0deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 50%, rgba(255,255,255,.1) 100%); }
  .split__side--good .split__body { justify-content: flex-end; align-items: flex-start; }
}

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D3DCE8; }
.card p { font-size: .96rem; color: var(--muted); line-height: 1.6; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--surface-2), #fff); color: var(--navy-700); border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease-out), background var(--t-med), color var(--t-med);
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); background: var(--navy-900); color: var(--gold-300); }
.card__icon--gold { background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
.card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.card--dark:hover { background: rgba(255,255,255,.07); border-color: rgba(242,209,122,.35); box-shadow: none; }
.card--dark p { color: var(--on-dark-muted); }
.card--dark .card__icon { background: rgba(255,255,255,.08); color: var(--gold-300); border-color: rgba(255,255,255,.1); }
.card--link { cursor: pointer; }
.card--link .link-arrow { margin-top: 4px; }
.card__num { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--gold-700); }

/* Carrusel de áreas */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 3 * 20px) / 4)); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 8px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.area-card {
  scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.area-card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--surface-2); }
.area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.area-card:hover .area-card__media img { transform: scale(1.07); }
.area-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,53,.35), transparent 50%); }
.area-card__badge { position: absolute; left: 18px; bottom: -22px; z-index: 1; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--navy-700); box-shadow: var(--shadow-md); }
.area-card__badge .ico { width: 22px; height: 22px; }
.area-card__body { display: flex; flex-direction: column; gap: 10px; padding: 36px 22px 22px; flex: 1; }
.area-card__body p { font-size: .93rem; color: var(--muted); line-height: 1.55; flex: 1; }
.area-card__go { margin-top: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--navy-900); transition: background var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.area-card__go .ico { width: 18px; height: 18px; }
.area-card:hover .area-card__go { background: var(--navy-900); color: var(--gold-300); border-color: var(--navy-900); transform: translateX(4px); }
.area-card--feature { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); border-color: transparent; }
.area-card--feature h3 { color: #fff; }
.area-card--feature .area-card__body p { color: var(--on-dark-muted); }
.area-card--feature .area-card__badge { background: var(--gold-grad); color: var(--navy-950); }
.area-card--feature .area-card__go { color: #fff; border-color: rgba(255,255,255,.3); }
.rail-ctrl { display: flex; gap: 10px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast); }
.rail-btn:hover:not([disabled]) { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.rail-btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 1024px) { .rail { grid-auto-columns: minmax(260px, 42%); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 82%; } }

/* ---------- Proceso / timeline ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps__line { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; border-radius: 2px; }
.section:not(.section--navy) .steps__line { background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-in-out) .2s; }
.steps.is-in .steps__line i { transform: scaleX(1); }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  font-weight: 800; font-size: 1.35rem; color: var(--gold-300); background: var(--navy-900);
  box-shadow: 0 0 0 6px var(--navy-950), inset 0 0 0 1.5px rgba(242,209,122,.5);
  transition: background var(--t-med), color var(--t-med);
}
.section:not(.section--navy) .step__num { background: #fff; color: var(--navy-900); box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.section--surface .step__num { box-shadow: 0 0 0 6px var(--surface), inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.step:hover .step__num { background: var(--gold-grad); color: var(--navy-950); }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .94rem; line-height: 1.55; }
.step__time { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.section--navy .step__time { color: var(--gold-300); }
.step__time .ico { width: 15px; height: 15px; }
.step__deliv { margin-top: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px dashed #CBD5E3; font-size: .88rem; }
.step__deliv b { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .steps__line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .steps__line i { transform: scaleY(0); transform-origin: top; }
  .steps.is-in .steps__line i { transform: scaleY(1); }
  .step { grid-template-columns: 64px 1fr; column-gap: 20px; }
  .step > :not(.step__num) { grid-column: 2; }
  .step__num { grid-row: 1 / span 4; }
}

/* ---------- Bloque pre-diagnóstico / tablet ---------- */
.promo { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.promo__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.promo__text { display: grid; gap: 22px; justify-items: start; }
.promo .checks { color: var(--text); }
.promo .checks .ico { color: var(--success); }
.device { perspective: 1400px; }
.device__frame {
  position: relative; padding: 14px; border-radius: 34px; background: linear-gradient(145deg, #1a2433, #0b111a);
  box-shadow: 0 50px 90px -20px rgba(3,29,53,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transform-style: preserve-3d;
  transition: transform 1.4s var(--ease-out);
}
.device.is-in .device__frame { transform: rotateY(-6deg) rotateX(3deg); }
.device__screen { border-radius: 22px; background: #fff; padding: clamp(18px, 3vw, 28px); overflow: hidden; }
.device__frame::before { content: ""; position: absolute; top: 50%; left: 5px; width: 4px; height: 4px; border-radius: 50%; background: #333d4a; }
@media (max-width: 900px) { .promo__grid { grid-template-columns: 1fr; } .device__frame, .device.is-in .device__frame { transform: none; } }

/* Resultado / radar */
.result { display: grid; gap: 18px; }
.result__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result__tag { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); }
.result__tag small { display: block; font-size: .66rem; color: var(--muted); letter-spacing: .12em; }
.result__score { display: flex; align-items: baseline; gap: 8px; }
.result__score b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--navy-900); line-height: 1; font-variant-numeric: tabular-nums; }
.result__score span { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 80px; line-height: 1.3; }
.result__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; }
@media (max-width: 520px) { .result__body { grid-template-columns: 1fr; } }
.radar { width: 100%; max-width: 300px; margin-inline: auto; overflow: visible; }
.radar .grid-l { fill: none; stroke: #DFE5EE; stroke-width: 1; }
.radar .axis { stroke: #E7ECF3; stroke-width: 1; }
.radar .area { fill: rgba(26, 95, 208, .18); stroke: var(--link); stroke-width: 2.5; stroke-linejoin: round; transform-origin: 150px 150px; transform: scale(.001); transition: transform 1.3s var(--ease-out) .25s; }
.is-in .radar .area, .radar.is-drawn .area { transform: scale(1); }
.radar .pt { fill: #fff; stroke: var(--link); stroke-width: 2.5; opacity: 0; transition: opacity .4s 1.2s; }
.is-in .radar .pt, .radar.is-drawn .pt { opacity: 1; }
.radar text { font-family: var(--f-sans); font-size: 12px; font-weight: 700; fill: var(--navy-900); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: .82rem; }
.bar__name { font-weight: 700; color: var(--ink); }
.bar__val { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.bar__track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 8px; width: var(--v); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.is-in .bar__fill, .bars.is-drawn .bar__fill { transform: scaleX(1); }
.bar__state { grid-column: 1 / -1; font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.st-low .bar__fill { background: var(--danger); } .st-low .bar__state { color: var(--danger); }
.st-mid .bar__fill { background: var(--gold-500); } .st-mid .bar__state { color: var(--gold-700); }
.st-high .bar__fill { background: var(--success); } .st-high .bar__state { color: var(--success); }
.result__note { font-size: .78rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow var(--t-med), border-color var(--t-med); }
.faq details[open] { box-shadow: var(--shadow-md); border-color: #D3DCE8; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 22px; font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--navy-900); transition: transform var(--t-med) var(--ease-out), background var(--t-med); }
.faq summary .pm .ico { width: 18px; height: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--gold-grad); }
.faq .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out); }
.faq details[open] .faq__a { grid-template-rows: 1fr; }
.faq .faq__a > div { overflow: hidden; }
.faq .faq__a p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark-muted); background: var(--navy-950); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.cta-band.is-in .cta-band__media img { transform: scale(1); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,29,53,.96) 0%, rgba(3,29,53,.82) 45%, rgba(3,29,53,.35) 100%); }
.cta-band__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.cta-band__inner .brand-mark { width: 130px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { margin-top: 10px; font-size: 1.1rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__inner .brand-mark { width: 84px; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-brand a { display: inline-block; color: var(--navy-900); --logo-tag: #171A3A; }
.footer-brand svg { height: 64px; width: auto; max-width: 100%; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 340px; }
.site-footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--muted); transition: color var(--t-fast); }
.site-footer ul a:hover { color: var(--navy-900); }
.site-footer ul .ico { width: 18px; height: 18px; color: var(--navy-700); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--navy-900); }
.consent a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.form-status { font-size: .9rem; font-weight: 600; color: var(--danger); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pdx__sent { padding: 14px 16px; border-radius: var(--r-md); font-size: .92rem; font-weight: 600; }
.pdx__sent--ok { background: #E8F6EF; color: #0D6B4F; }
.pdx__sent--wa { background: #FFF6E5; color: #7A5410; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background: #128C4B; color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 12px 30px rgba(18,140,75,.4);
  transform: translateY(120px); transition: transform 600ms var(--ease-out), background-color var(--t-fast);
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { background: #0E7A40; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 58px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } }

/* ---------- Páginas de servicio ---------- */
.hero__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.hero__icon .ico { width: 30px; height: 30px; }
.panel { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); display: grid; gap: 20px; align-content: start; }
.panel--bad { background: #FFF6F5; border: 1px solid #F7D9D6; }
.panel--good { background: #F1FAF6; border: 1px solid #CDEBDD; }
.panel h3 { font-size: 1.3rem; }
.panel p.lead { font-size: 1rem; }
.panel__list { display: grid; gap: 14px; }
.panel__list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-weight: 500; color: var(--ink); }
.panel__list .dot { width: 26px; height: 26px; margin-top: 1px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy-900); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-med) var(--ease-out); }
a.chip:hover { border-color: var(--navy-700); transform: translateY(-2px); }
.chip .ico { width: 18px; height: 18px; color: var(--navy-700); }
.chip--static { cursor: default; }

.mini-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xl); background: radial-gradient(100% 140% at 100% 0%, #0B4E82 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.mini-cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(242,209,122,.08); }
.mini-cta h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mini-cta p { margin-top: 10px; }
.mini-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 900px) { .mini-cta { grid-template-columns: 1fr; } }

/* Estadísticas */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.stat { padding: 18px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat > span { font-size: .84rem; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

.quote { position: relative; padding: clamp(28px, 4vw, 40px); border-radius: var(--r-xl); background: var(--navy-950); color: #fff; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; font-weight: 600; }
.quote::before { content: "\201C"; position: absolute; top: -18px; left: 28px; font-size: 6rem; line-height: 1; font-family: Georgia, serif; color: var(--gold-500); }
.quote footer { margin-top: 18px; font-size: .9rem; font-weight: 600; color: var(--gold-300); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.two-col--top { align-items: start; }
.two-col--wide { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 900px) { .two-col, .two-col--wide { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; }
.prose p { font-size: 1.05rem; }

.photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__tag { position: absolute; left: 20px; bottom: 20px; padding: 12px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.94); box-shadow: var(--shadow-md); font-size: .85rem; font-weight: 700; color: var(--navy-900); display: flex; align-items: center; gap: 10px; }
.photo__tag .ico { color: var(--gold-700); width: 20px; height: 20px; }

.notfor { margin-top: 20px; padding: 20px 22px; border-radius: var(--r-md); background: #FFF8EA; border: 1px solid #F1DDAE; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.notfor .ico { color: var(--gold-700); }
.notfor b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- Bloques visuales con CTA (páginas internas) ---------- */
.need-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.need-grid__panels { display: grid; gap: 20px; }
@media (max-width: 900px) { .need-grid { grid-template-columns: 1fr; } }

.photo-cta { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-xl); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow-lg); background: var(--navy-950); }
.photo-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.photo-cta:hover > img { transform: scale(1.04); }
.photo-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,29,53,0) 35%, rgba(3,29,53,.75) 100%); }
.photo-cta__card { margin: 20px; padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.95); box-shadow: var(--shadow-lg); display: grid; gap: 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); width: calc(100% - 40px); }
.photo-cta__card .pdx__badge { font-size: .7rem; }
.photo-cta__card h3 { font-size: 1.3rem; }
.photo-cta__card .checks { color: var(--text); font-size: .84rem; gap: 6px 14px; }
.photo-cta__card .checks .ico { color: var(--success); width: 16px; height: 16px; }
.photo-cta__card .btn { margin-top: 6px; }
@media (max-width: 900px) { .photo-cta { position: relative; top: auto; min-height: 460px; } }

.img-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--on-dark-muted); }
.img-band__media { position: absolute; inset: 0; z-index: -2; }
.img-band__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.4s var(--ease-out); }
.img-band.is-in .img-band__media img { transform: scale(1); }
.img-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,29,53,.95) 0%, rgba(3,29,53,.85) 40%, rgba(3,29,53,.25) 100%); }
.img-band__inner { padding-block: clamp(80px, 11vw, 140px); display: grid; gap: 20px; justify-items: start; max-width: 640px; }
.img-band h2 { color: #fff; }
.img-band .lead { color: var(--on-dark-muted); }
.img-band__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 767px) { .img-band::after { background: linear-gradient(180deg, rgba(3,29,53,.6) 0%, rgba(3,29,53,.92) 55%); } }

.cta-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: radial-gradient(120% 140% at 100% 0%, #0B4E82 0%, var(--navy-900) 45%, var(--navy-950) 100%); }
.cta-split__media { position: relative; min-height: 380px; overflow: hidden; }
.cta-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cta-split:hover .cta-split__media img { transform: scale(1.05); }
.cta-split__body { padding: clamp(32px, 5vw, 56px); display: grid; gap: 18px; align-content: center; color: var(--on-dark-muted); }
.cta-split__body h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.cta-split__body .checks .ico { color: var(--gold-300); }
@media (max-width: 900px) { .cta-split { grid-template-columns: 1fr; } .cta-split__media { min-height: 260px; } }

.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rel-grid--5 { grid-template-columns: repeat(5, 1fr); }
.rel-grid--6 { grid-template-columns: repeat(3, 1fr); }
.rel-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); }
@media (max-width: 1024px) { .rel-grid, .rel-grid--5, .rel-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rel-grid, .rel-grid--5, .rel-grid--6 { grid-template-columns: 1fr; } }

.photo--quote { aspect-ratio: auto; min-height: 460px; display: flex; align-items: flex-end; }
.photo--quote > img { position: absolute; inset: 0; }
.photo--quote::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(3,29,53,.7)); }
.photo--quote .quote { position: relative; z-index: 1; margin: 20px; font-size: clamp(1rem, 1.5vw, 1.15rem); }

/* ---------- Blog / Recursos ---------- */
.blog-search { position: relative; width: min(100%, 560px); margin-top: 8px; }
.blog-search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.blog-search input { width: 100%; min-height: 56px; padding: 0 20px 0 50px; border-radius: var(--r-pill); border: 0; background: #fff; color: var(--ink); font-size: 1rem; box-shadow: var(--shadow-lg); }
.blog-search input:focus { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.blog-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--on-dark-muted); }
.blog-stats b { color: #fff; }

.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.post-feature:hover { transform: translateY(-4px); }
.post-feature__media { position: relative; min-height: 360px; overflow: hidden; background: var(--surface-2); }
.post-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-feature:hover .post-feature__media img { transform: scale(1.05); }
.post-feature__body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.post-feature__body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.post-feature__body p { color: var(--muted); }
.post-flag { position: absolute; left: 20px; top: 20px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--gold-grad); color: var(--navy-950); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .post-feature { grid-template-columns: 1fr; } .post-feature__media { min-height: 240px; } }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--muted); }
.post-meta .ico { width: 15px; height: 15px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.topic { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--navy-700); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.topic .ico { width: 14px; height: 14px; }

.blog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.topic-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.topic-btn small { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--surface-2); font-size: .74rem; font-weight: 700; color: var(--muted); }
.topic-btn:hover { border-color: var(--navy-700); }
.topic-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.topic-btn[aria-pressed="true"] small { background: var(--gold-grad); color: var(--navy-950); }
.blog-count { font-size: .9rem; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.post-card[hidden] { display: none; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__media .topic { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.post-card__body h3 { font-size: 1.12rem; line-height: 1.3; }
.post-card__body p { font-size: .93rem; color: var(--muted); line-height: 1.55; flex: 1; }
.post-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.blog-empty { padding: 48px 24px; text-align: center; border-radius: var(--r-lg); background: #fff; border: 1px dashed #CBD5E3; color: var(--muted); }

.topic-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .topic-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .topic-tiles { grid-template-columns: 1fr; } }
.topic-tile { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.topic-tile:hover { background: rgba(255,255,255,.09); border-color: rgba(242,209,122,.4); transform: translateY(-3px); }
.topic-tile .card__icon { grid-row: span 2; background: rgba(255,255,255,.08); color: var(--gold-300); border-color: rgba(255,255,255,.1); }
.topic-tile strong { color: #fff; font-size: 1.05rem; }
.topic-tile span { font-size: .85rem; color: var(--on-dark-muted); }
.topic-tile .links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; font-size: .86rem; font-weight: 700; }
.topic-tile .links a { color: var(--gold-300); display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.topic-tile .links a:hover { text-decoration: underline; }
.topic-tile .links .ico { width: 15px; height: 15px; }

.newsletter { display: grid; grid-template-columns: auto 1fr minmax(320px, 440px); gap: 24px 36px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); background: linear-gradient(135deg, #FFF8E6, #FDF1D2); border: 1px solid #F1DDAE; }
.newsletter__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.newsletter__icon .ico { width: 30px; height: 30px; }
.newsletter h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.newsletter p { color: var(--text); margin-top: 6px; }
.newsletter form { display: grid; gap: 10px; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__row .field { flex: 1; }
.newsletter__row .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter .consent { font-size: .8rem; }
.newsletter .form-success { padding: 0; justify-items: start; text-align: left; }
.newsletter .form-success .ok { width: 48px; height: 48px; }
@media (max-width: 1024px) { .newsletter { grid-template-columns: 1fr; } .newsletter__icon { display: none; } }
@media (max-width: 520px) { .newsletter__row { flex-direction: column; } }

/* Artículo */
.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: calc(var(--z-header) + 1); height: 3px; background: transparent; }
.read-progress i { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); color: #fff; max-width: 900px; }
.article-hero .lead { max-width: 760px; }
.author { display: flex; align-items: center; gap: 14px; }
.author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold-500); }
.author strong { display: block; color: #fff; font-size: .95rem; }
.author span { font-size: .84rem; color: var(--on-dark-muted); }
.hero .post-meta { color: var(--on-dark-muted); }
.hero .topic { background: rgba(242,209,122,.16); color: var(--gold-300); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); font-size: .88rem; font-weight: 700; border: 1.5px solid rgba(255,255,255,.3); color: #fff; transition: background var(--t-fast), border-color var(--t-fast); }
.share-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.share-btn .ico { width: 17px; height: 17px; }
.share--light .share-btn { color: var(--navy-900); border-color: var(--line); background: #fff; }
.share--light .share-btn:hover { border-color: var(--navy-700); background: var(--surface); }
.article-cover { margin-top: calc(clamp(56px, 7vw, 88px) * -1); position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21 / 9; background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .article-cover { aspect-ratio: 4 / 3; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1024px) { .article-aside { position: static; order: -1; } .article-aside .aside-cta { display: none; } }
.toc { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); min-height: 32px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .ico { width: 18px; height: 18px; transition: transform var(--t-med); }
.toc[open] summary .ico { transform: rotate(180deg); }
.toc ol { margin-top: 12px; display: grid; gap: 2px; counter-reset: toc; }
.toc a { position: relative; display: block; padding: 8px 10px 8px 34px; border-radius: 10px; font-size: .9rem; line-height: 1.4; color: var(--text); transition: background var(--t-fast), color var(--t-fast); }
.toc a::before { counter-increment: toc; content: counter(toc); position: absolute; left: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 800; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.toc a:hover { background: #fff; color: var(--navy-900); }
.toc a.is-active { background: #fff; color: var(--navy-900); font-weight: 700; box-shadow: var(--shadow-sm); }
.toc a.is-active::before { background: var(--gold-grad); border-color: transparent; color: var(--navy-950); }
.aside-cta { padding: 24px; border-radius: var(--r-lg); background: radial-gradient(120% 120% at 100% 0%, #0B4E82 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: var(--on-dark-muted); display: grid; gap: 12px; }
.aside-cta strong { color: #fff; font-size: 1.1rem; line-height: 1.3; }
.aside-cta p { font-size: .9rem; }

.prose-article { max-width: 720px; font-size: 1.08rem; line-height: 1.8; color: #2E3A4A; }
.prose-article .article-lead { font-size: 1.22rem; line-height: 1.65; color: var(--ink); font-weight: 500; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose-article section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose-article h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 44px 0 16px; display: flex; gap: 14px; align-items: baseline; }
.prose-article h2 .n { flex: none; font-size: .9rem; font-weight: 800; color: var(--gold-700); letter-spacing: .06em; }
.prose-article p { margin: 0 0 18px; }
.prose-article strong { color: var(--ink); }
.prose-article a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose-article ul { display: grid; gap: 10px; margin: 0 0 22px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border-left: 3px solid var(--gold-500); }
.prose-article li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 1rem; line-height: 1.6; }
.prose-article li .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--gold-700); stroke-width: 2.4; }
.article-box { margin: 36px 0; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: radial-gradient(120% 140% at 100% 0%, #0B4E82 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: var(--on-dark-muted); display: grid; gap: 12px; justify-items: start; }
.article-box h3 { color: #fff; font-size: 1.35rem; }
.article-box p { margin: 0; font-size: 1rem; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 44px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold-500); }
.author-box small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.author-box strong { display: block; color: var(--ink); font-size: 1.1rem; }
.author-box p { margin: 6px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } }
.article-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-share > span { font-weight: 700; color: var(--ink); }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; }
.form-card__head h2, .form-card__head h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.form-card__head p { margin-top: 6px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #D5DDE8; border-radius: 12px; background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23062D50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B6C3D4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(11,78,130,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: .84rem; color: var(--danger); font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-900); }
.consent.has-error { color: var(--danger); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); justify-content: center; }
.form-note .ico { width: 16px; height: 16px; }
.form-success { display: none; text-align: center; gap: 14px; justify-items: center; padding: 20px 0; }
.form-success .ok { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #E6F6EF; color: var(--success); }
.form-success .ok .ico { width: 34px; height: 34px; stroke-width: 2.5; }
form.is-sent .fields, form.is-sent .consent, form.is-sent .btn, form.is-sent .form-note { display: none; }
form.is-sent .form-success { display: grid; animation: pop .6s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* ---------- Pre-diagnóstico (quiz) ---------- */
.pdx { max-width: 860px; margin-inline: auto; }
.pdx__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.pdx__steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.pdx__steps b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); font-size: .9rem; flex: none; }
.pdx__steps strong { display: block; font-size: .74rem; letter-spacing: .14em; color: var(--navy-900); }
.pdx__steps span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 640px) { .pdx__steps { grid-template-columns: 1fr; } }
.pdx__shell { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.pdx__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(20px, 4vw, 36px); border-bottom: 1px solid var(--line); background: var(--surface); }
.pdx__stage { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); }
.pdx__count { font-size: .9rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pdx__bar { height: 4px; background: var(--surface-2); }
.pdx__bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width 500ms var(--ease-out); }
.pdx__body { padding: clamp(24px, 5vw, 48px); min-height: 380px; }
.pdx__intro { display: grid; gap: 18px; justify-items: center; text-align: center; padding-block: 12px; }
.pdx__badge { display: inline-flex; gap: 10px; align-items: center; font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--navy-700); }
.pdx__badge em { font-style: normal; padding: 4px 10px; border-radius: var(--r-pill); background: var(--gold-grad); color: var(--navy-950); }
.pdx__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pdx__facts span { padding: 6px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--navy-900); }
.pdx__hint { font-size: .86rem; color: var(--muted); }
.q { border: 0; margin: 0; padding: 0; display: none; }
.q.is-active { display: grid; gap: 22px; animation: qIn .5s var(--ease-out); }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }
.q legend { padding: 0; display: grid; gap: 10px; }
.q legend small { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.q legend span { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.opt label:hover { border-color: #B6C3D4; background: var(--surface); }
.opt label kbd { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--surface-2); font: 800 .85rem var(--f-sans); color: var(--navy-900); transition: background var(--t-fast), color var(--t-fast); }
.opt input:checked + label { border-color: var(--navy-900); background: #F0F5FC; }
.opt input:checked + label kbd { background: var(--navy-900); color: var(--gold-300); }
.opt input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.opt label:active { transform: scale(.99); }
.pdx__nav { display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(24px, 5vw, 48px) clamp(24px, 4vw, 36px); }
.pdx__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy-900); }
.pdx__back .ico { width: 18px; height: 18px; }
.pdx__dim { font-size: .82rem; font-weight: 700; color: var(--muted); }
.pdx__gate { display: grid; gap: 20px; }
.pdx__verdict { padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border-left: 4px solid var(--gold-500); }
.pdx__verdict h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pdx__verdict p { font-size: .95rem; }
.pdx__insight { padding: 18px 20px; border-radius: var(--r-md); background: #FFF6F5; border: 1px solid #F7D9D6; font-size: .95rem; }
.pdx__insight b { color: var(--danger); }
.pdx__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdx__reset { font-size: .86rem; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* Métricas de fuga */
.leaks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.leak { padding: 22px 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; }
.leak small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--gold-300); }
.leak b { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; color: #fff; font-weight: 800; }
.leak b .ico { width: 22px; height: 22px; color: #FF8A80; }
.leak span { font-size: .86rem; }
@media (max-width: 1024px) { .leaks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .leaks { grid-template-columns: 1fr 1fr; } }

/* Fundador */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.founder__mono { width: clamp(120px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--navy-700), var(--navy-950)); color: #fff; font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.04em; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gold-500), var(--shadow-lg); }
.founder__photo { width: clamp(140px, 18vw, 200px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gold-500), var(--shadow-lg); }
.founder h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(20px, 3vw, 28px); }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: grid; gap: 10px; align-content: start; justify-items: start; padding: clamp(24px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold-500), var(--shadow-md); transition: transform var(--t-med) var(--ease-out); }
.team-card:hover .team-card__photo { transform: scale(1.04); }
.team-card h3 { font-size: 1.2rem; }
.team-card__role { font-weight: 700; color: var(--gold-700); font-size: .88rem; }
.team-card__bio { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.team-card .related { margin-top: 6px; gap: 8px; }
.team-card .chip { min-height: 36px; padding: 0 12px; font-size: .82rem; }
.founder__role { margin-top: 6px; font-weight: 700; color: var(--gold-700); font-size: .92rem; }
.founder p { margin-top: 14px; color: var(--muted); }
.founder .related { margin-top: 16px; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; justify-items: start; } }

.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color var(--t-fast), transform var(--t-med) var(--ease-out); }
a.contact-item:hover { border-color: var(--navy-700); transform: translateY(-2px); }
.contact-item .card__icon { width: 48px; height: 48px; }
.contact-item small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.contact-item strong { color: var(--ink); overflow-wrap: anywhere; }
.info-box { padding: 22px; border-radius: var(--r-md); background: var(--surface); display: grid; gap: 8px; font-size: .94rem; }
.info-box h3 { font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.info-box h3 .ico { width: 20px; height: 20px; color: var(--gold-700); }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 767px) { .js [data-reveal="left"]:not(.is-in), .js [data-reveal="right"]:not(.is-in) { transform: translate3d(0, 28px, 0); } }

.js .hero [data-hero] { opacity: 0; transform: translate3d(0, 24px, 0); }
.js.is-loaded .hero [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translate3d(0, 105%, 0); }
.js.is-loaded .hero h1 .line > span { transform: none; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js .hero__media img { transform: scale(1.12); }
.js.is-loaded .hero__media img { transform: scale(1); transition: transform 2.6s var(--ease-out); }
.js .hero__script path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.js.is-loaded .hero__script path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-out) 1.3s; }
.hero-card { animation: float 7s ease-in-out infinite 2s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 1080px) { .hero-card { animation: none; } }

.js .split__arrow path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.4s var(--ease-out) .5s; }
.js .split.is-in .split__arrow path { stroke-dashoffset: 0; }
.js .split__side--bad { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-in-out); }
.js .split__side--good { clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease-in-out) .25s; }
.js .split.is-in .split__side { clip-path: inset(0 0 0 0); }
.split.is-in .split__side img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: 16px 32px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* ===== Cierre: la franja «¿Listo para…?» y el pie comparten la foto de la montaña,
   así el fondo llega hasta el final de la página. Más oscuro hacia abajo para leer el pie. */
.cierre { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); }
.cierre__media { position: absolute; inset: 0; z-index: -2; }
.cierre__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cierre::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,29,53,.30) 0%, rgba(3,29,53,.55) 38%, rgba(3,29,53,.88) 62%, rgba(3,29,53,.96) 100%); }
.cierre .cta-band { background: transparent; }
.cierre .cta-band__media { display: none; }
.cierre .cta-band::after { background: linear-gradient(90deg, rgba(3,29,53,.85) 0%, rgba(3,29,53,.55) 45%, rgba(3,29,53,0) 100%); }
.cierre .site-footer { background: transparent; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); }
.cierre .footer-brand a { color: #fff; --logo-tag: #FFFFFF; }
.cierre .footer-brand p { color: rgba(255,255,255,.72); }
.cierre .site-footer h4 { color: var(--gold-300); }
.cierre .site-footer ul a { color: rgba(255,255,255,.78); }
.cierre .site-footer ul a:hover { color: #fff; }
.cierre .footer-bottom { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.cierre .footer-legal a:hover { color: #fff; }
/* La foto se sube para que la persona en la montaña quede en la franja «¿Listo para…?» y no detrás del pie */
.cierre:not(.cierre--solo) .cierre__media { top: -30%; }
.cierre:not(.cierre--solo) .cierre__media img { object-position: center 40%; }
/* Páginas sin la franja (Contacto, blog): el pie va más oscuro desde arriba */
.cierre--solo::after { background: linear-gradient(180deg, rgba(3,29,53,.88) 0%, rgba(3,29,53,.96) 100%); }
.cierre .site-footer ul a svg { color: var(--gold-300); }

/* Lo que la página marca como oculto (hidden) nunca se muestra, aunque su clase le dé
   un display. Sin esto, el formulario del Pre-Diagnóstico (.pdx__gate, display:grid)
   aparecía debajo de las preguntas antes de terminar. */
[hidden] { display: none !important; }

/* Franja final sin el símbolo MK (Pre-Diagnóstico): el texto ocupa ese espacio */
.cta-band__inner--sin-marca { grid-template-columns: 1fr auto; }
@media (max-width: 900px) { .cta-band__inner--sin-marca { grid-template-columns: 1fr; } }

/* ===== Pie en color sólido: la foto de la montaña queda sólo en la franja final
   («¿Listo para…?» / «Empieza por saber dónde estás.») y se desvanece hacia abajo
   hasta el azul del pie (#031D35), que separa las dos partes con un degradado. */
.cierre__media, .cierre::after { display: none; }
.cierre .cta-band__media { display: block; }
.cierre .cta-band::after {
  background:
    linear-gradient(180deg, rgba(3,29,53,0) 40%, rgba(3,29,53,.75) 80%, var(--navy-950) 100%),
    linear-gradient(90deg, rgba(3,29,53,.9) 0%, rgba(3,29,53,.65) 45%, rgba(3,29,53,.25) 100%);
}
.cierre .site-footer { background: var(--navy-950); border-top: 0; }
