/* ONEspecialistas — estilos del sitio público (tokens del README del diseño) */
:root {
  --navy-1: #0A2D4E; --navy-2: #0A2E4F; --navy-3: #0B2E4F; --navy-btn: #0B3354; --navy-hover: #0F4673;
  --navy-4: #0C3C68; --navy-5: #0F5C9C; --nav-on: #1468A8;
  --ink: #0D2C4A; --ink-2: #4C5F76; --muted: #5F7390;
  --blue: #1565B0; --blue-2: #1A5A8F; --blue-3: #2A7FC1; --blue-ice: #8FC3EE; --blue-4: #5B9BD0;
  --yellow: #F7E017; --yellow-hover: #FFEA3D;
  --bg-1: #F3F6FA; --bg-2: #F4F7FB; --bg-3: #F7F9FC; --bg-4: #EEF3F8; --bg-5: #E3ECF6;
  --line-1: #DDE5EE; --line-2: #DFE6EE; --line-3: #E1E9F2; --line-4: #D5DFEA; --line-5: #D2E1F0; --line-6: #C3D3E4;
  --ok: #2F9E62; --ok-bg: #E6F4EC; --wa: #25A35A;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
button, input, select, textarea { font-family: var(--font); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--yellow); color: var(--ink); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 2px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 64px); }
.sec { scroll-margin-top: 96px; }
.pad { padding-block: clamp(72px, 9vw, 128px); }
.pad-120 { padding-block: clamp(72px, 9vw, 120px); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 80px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }

/* Tipografía */
.h2 { margin: 0; font-weight: 700; line-height: 1.04; letter-spacing: -.05em; color: var(--ink); }
.h2 .l2 { display: block; color: var(--muted); }
.h2.on-dark { color: #fff; }
.h2.on-dark .l2 { color: var(--yellow); }
.h2 .l2.blue { color: var(--blue); }
.lead { margin: 0; font-size: 17px; line-height: 1.8; color: var(--muted); }
.eyebrow { font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; height: 56px; padding: 0 26px; border-radius: 999px; border: 0; text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-y:hover { background: var(--yellow-hover); color: var(--ink); }
.btn-n { background: var(--navy-btn); color: #fff; }
.btn-n:hover { background: var(--navy-hover); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sm { height: 46px; padding: 0 20px; gap: 26px; font-size: 13.5px; }
.lnk { display: inline-flex; align-items: center; gap: 18px; font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.lnk svg { transition: transform .2s var(--ease); }
.lnk:hover svg { transform: translateX(3px); }
.lnk-w { color: #fff; }
.lnk-w:hover { color: var(--yellow); }

/* ---------------------------------------------------------------- Header */
.hdr { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, #0A2D4E 0%, #0C3C68 55%, #0F5C9C 100%); border-bottom: 1px solid rgba(255,255,255,.08); }
.hdr-in { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo:hover { color: #fff; }
.logo img { height: 42px; width: auto; display: block; }
.logo-txt { font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.logo-txt span { font-weight: 600; font-size: 17px; letter-spacing: 0; margin-left: 3px; }
.nav { display: flex; align-items: center; gap: 10px; }
.nav a { white-space: nowrap; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: #fff; text-decoration: none; transition: background .15s; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a.on { background: var(--nav-on); }
.btn-hab { flex: none; display: inline-flex; align-items: center; gap: 18px; height: 44px; padding: 0 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn-hab:hover { background: rgba(255,255,255,.14); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: transparent; place-items: center; cursor: pointer; color: #fff; }
.mnav { display: none; padding: 8px 20px 20px; gap: 4px; }
.mnav a { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 16px; color: #fff; text-decoration: none; }
.mnav a.on { background: var(--nav-on); }
.mnav .mnav-cta { margin-top: 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); text-align: center; }
@media (max-width: 1099px) { .nav { gap: 2px; } .nav a { padding: 10px 11px; } .btn-hab { padding: 0 12px; gap: 8px; } }
@media (max-width: 899px) { .nav a { padding: 9px 7px; font-size: 13px; } }
@media (min-width: 640px) and (max-width: 859px) { .logo-txt { display: none; } }
@media (max-width: 639px) {
  .nav, .btn-hab { display: none; }
  .burger { display: grid; }
  .hdr.open .mnav { display: grid; }
}

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; background: var(--navy-3); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,40,72,.95) 0%, rgba(12,62,108,.86) 45%, rgba(14,84,146,.78) 100%); }
.hero-ring { position: absolute; right: -10%; top: -30%; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 0 0 60px rgba(255,255,255,.012), 0 0 0 120px rgba(255,255,255,.012); pointer-events: none; }
.hero-in { position: relative; padding-top: clamp(56px, 7vw, 80px); padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 18px; height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.05); font-weight: 600; font-size: 13.5px; color: #fff; text-decoration: none; }
.chip:hover { color: #fff; background: rgba(255,255,255,.1); }
.hero h1 { margin: 34px 0 0; font-weight: 700; font-size: clamp(46px, 6vw, 84px); line-height: .98; letter-spacing: -.05em; color: #fff; }
.hero h1 .l2 { display: block; color: var(--yellow); }
.hero-p { margin: 36px 0 0; max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: rgba(255,255,255,.86); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero-ctas .lnk { color: #fff; gap: 16px; }
.hero-ctas .lnk:hover { color: var(--yellow); }
.hero-dot { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 13.5px; color: rgba(255,255,255,.82); }
.hero-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.hero-art { position: relative; height: 560px; }
@media (max-width: 999px) { .hero-art { display: none; } }
.ha-card { position: absolute; left: 4%; right: 0; top: 70px; bottom: 70px; background: #F5F8FC; border-radius: 18px; box-shadow: 0 30px 60px rgba(4,22,44,.35); transform: perspective(1400px) rotateY(-6deg) rotateZ(-3deg); padding: 44px 34px 28px; color: var(--ink); display: flex; flex-direction: column; }
.ha-brand { font-weight: 700; font-size: 17px; }
.ha-brand span { font-weight: 400; font-size: 11px; color: var(--muted); }
.ha-title { margin-top: 36px; font-weight: 500; font-size: 27px; line-height: 1.2; letter-spacing: -.01em; }
.ha-title span { display: block; color: var(--blue); font-weight: 600; }
.ha-diag { position: relative; flex: 1; margin-top: 10px; }
.ha-orbit { position: absolute; left: 18%; right: 14%; top: 22%; bottom: 16%; border: 1.5px dashed var(--line-6); border-radius: 50%; }
.ha-core { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 14px; background: #E3EEF9; border: 1px solid #CFE0F1; display: grid; place-items: center; }
.ha-pill { position: absolute; padding: 7px 14px; background: #fff; border-radius: 999px; box-shadow: 0 4px 14px rgba(13,44,74,.1); font-weight: 500; font-size: 12px; }
.ha-foot { border-top: 1px solid #DDE6F0; padding-top: 16px; display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--muted); }
.ha-foot b { color: var(--blue); font-weight: 400; }
.ha-audit { position: absolute; right: 6%; top: 30px; width: 290px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(4,22,44,.3); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; color: var(--ink); transform: rotate(1.5deg); }
.ha-ok { flex: none; width: 38px; height: 38px; border-radius: 8px; background: var(--ok-bg); display: grid; place-items: center; }
.ha-audit small { display: block; font-weight: 600; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); }
.ha-audit strong { display: block; font-weight: 700; font-size: 15px; margin-top: 6px; }
.ha-audit span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.ha-team { position: absolute; left: 0; bottom: 34px; width: 336px; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px rgba(4,22,44,.3); padding: 20px 24px; display: flex; gap: 16px; align-items: center; color: var(--ink); }
.ha-team .av { display: flex; }
.ha-team .av img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top; background: #DCE8F4; border: 2px solid #fff; }
.ha-team .av img + img { margin-left: -10px; }
.ha-team strong { display: block; font-weight: 700; font-size: 14px; }
.ha-team span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.ha-note { position: absolute; right: 0; bottom: 0; font-size: 12px; color: rgba(255,255,255,.75); }
.hero-strip { position: relative; padding-top: 36px; padding-bottom: 40px; display: flex; align-items: center; gap: 40px; }
.hero-strip > p { flex: none; margin: 0; font-weight: 500; font-size: 11.5px; line-height: 1.7; letter-spacing: .12em; color: rgba(255,255,255,.8); }
.marquee { flex: 1; min-width: 0; 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; width: max-content; animation: one-marquee 38s linear infinite; margin: 0; padding: 0; list-style: none; }
.marquee-track li { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; white-space: nowrap; font-weight: 600; font-size: 21px; letter-spacing: -.02em; color: #fff; }
.marquee-track li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); }
@keyframes one-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 639px) { .hero-strip { flex-direction: column; align-items: flex-start; gap: 18px; } .marquee { width: 100%; } }

/* -------------------------------------------------------------- La firma */
.firma .h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.firma-txt { display: grid; gap: 22px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.firma-txt p { margin: 0; }
.firma-txt .lnk { margin-top: 10px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 0; margin-top: clamp(56px, 7vw, 90px); }
.pillar { border-left: 1px solid var(--line-1); padding: 0 28px; display: grid; gap: 14px; align-content: start; }
.pillar h3 { margin: 22px 0 0; font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--muted); }

/* ------------------------------------------------------------ Soluciones */
.soluciones { background: var(--bg-2); }
.soluciones .h2 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.045em; }
.sol-lead { margin-top: 32px; max-width: 640px; }
.sol-stage { margin-top: clamp(64px, 8vw, 100px); }
.sol-item { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 80px; align-items: center; }
.sol-item.in > * { animation: solIn .55s var(--ease) both; }
@keyframes solIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sol-item h3 { margin: 0; font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1.18; letter-spacing: -.035em; }
.sol-item h3 a { color: inherit; text-decoration: none; }
.sol-d { margin: 26px 0 0; max-width: 520px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.checks { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.checks svg { flex: none; margin-top: 3px; }
.sol-cta { margin-top: 40px; }
.sol-cta.btn { height: 58px; padding: 0 28px; gap: 30px; }
.sol-card { border: 1px solid var(--line-5); border-radius: 18px; padding: 32px 32px 40px; overflow: hidden; }
.sol-card-top { display: flex; justify-content: space-between; font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.sol-vis { position: relative; height: 330px; margin-top: 20px; }
.sol-orbit { position: absolute; left: 50%; top: 50%; width: 340px; max-width: 100%; height: 240px; margin: -130px 0 0 -170px; border: 1.5px dashed #B9CDE1; border-radius: 50%; }
.sol-doc { position: absolute; left: 50%; top: 10px; width: 290px; margin-left: -150px; background: #fff; border-radius: 12px; box-shadow: 0 24px 50px rgba(13,44,74,.16); padding: 30px 30px 26px; }
.sol-doc-t { font-weight: 700; font-size: 12px; letter-spacing: .02em; color: var(--blue-2); }
.sol-lines { margin-top: 16px; display: grid; gap: 7px; }
.sol-lines span { display: block; height: 4px; border-radius: 2px; background: #E7EEF5; }
.sol-checks { display: grid; gap: 14px; margin-top: 28px; }
.sol-checks div { display: flex; gap: 12px; align-items: center; font-size: 12.5px; }
.sol-checks i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); display: grid; place-items: center; }
.sol-bars { display: flex; align-items: flex-end; gap: 10px; height: 44px; margin-top: 22px; }
.sol-bars span { width: 18px; background: #D6E6F4; border-radius: 2px; }
.sol-bars span.hi { background: var(--blue-4); }
.sol-tag { position: absolute; right: 0; bottom: 30px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--navy-btn); border-radius: 6px; box-shadow: 0 14px 30px rgba(11,51,84,.3); color: #fff; font-size: 14px; }
.sol-ct { font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin-top: 10px; }
.sol-cd { font-size: 15px; color: var(--muted); margin-top: 10px; }
.sol-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.sol-dots { display: flex; gap: 8px; }
.sol-dot { width: 40px; height: 14px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.sol-dot span { display: block; position: relative; width: 100%; height: 3px; border-radius: 2px; background: var(--line-6); overflow: hidden; }
.sol-dot span::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.sol-dot.done span::after { transform: scaleX(1); }
.sol-dot.on span::after { animation: solBar 6s linear both; }
.sol-stage.paused .sol-dot.on span::after { animation-play-state: paused; }
@keyframes solBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; }
.arr { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy-3); color: var(--blue-ice); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.arr:hover { background: var(--navy-hover); }
@media (max-width: 480px) { .sol-card { padding: 24px 18px 28px; } .sol-doc { width: 250px; margin-left: -125px; padding: 24px; } .sol-tag { padding: 12px 14px; font-size: 13px; } }

/* -------------------------------------------------------------- Sectores */
.sectores .h2 { font-size: clamp(38px, 4.8vw, 66px); }
.sectores .head-row .lead { margin-bottom: 30px; max-width: 360px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; margin-top: 48px; border-radius: 999px; background: var(--bg-4); border: 1px solid #DFE8F1; }
.seg button { display: inline-flex; align-items: center; gap: 26px; height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 15px; cursor: pointer; }
.seg button svg { stroke: var(--blue); }
.seg button[aria-selected="true"] { background: linear-gradient(90deg, #0B2E4F, #0F5C9C); color: #fff; }
.seg button[aria-selected="true"] svg { stroke: var(--yellow); }
@media (max-width: 520px) { .seg { border-radius: 18px; } .seg button { padding: 0 18px; gap: 12px; flex: 1; } }
.sector { margin-top: 56px; gap: 48px 64px; align-items: start; }
.sector-img { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--bg-4); margin: 0; }
.sector-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sector h3 { margin: 0; font-weight: 600; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -.03em; }
.sector-d { margin: 22px 0 0; font-size: 17.5px; line-height: 1.75; color: var(--muted); }
.sector-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.sector-list li { padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 1.5; }
.sector .lnk { margin-top: 40px; }
.sector .lnk + .lnk { margin-left: 28px; }

/* ---------------------------------------------------------------- Método */
.metodo { position: relative; background: var(--navy-2); color: #fff; overflow: hidden; }
.metodo-c1 { position: absolute; left: -40%; top: -10%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.035) 0%, rgba(255,255,255,.035) 60%, transparent 61%); }
.metodo-c2 { position: absolute; left: -30%; top: 0; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.025); }
.metodo-in { position: relative; gap: 56px 80px; align-items: center; }
.metodo .h2 { font-size: clamp(40px, 4.6vw, 62px); }
.metodo-p { margin: 30px 0 0; max-width: 440px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.82); }
.metodo .btn { margin-top: 36px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 28px; padding: 38px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.steps li:last-child { border-bottom: 0; }
.step-ic { flex: none; width: 64px; height: 64px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); display: grid; place-items: center; }
.steps h3 { margin: 0; font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.steps p { margin: 14px 0 0; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.72); }
@media (max-width: 480px) { .steps li { gap: 18px; } .step-ic { width: 52px; height: 52px; } .steps h3 { font-size: 22px; } }

/* ---------------------------------------------------------------- Equipo */
.equipo .h2 { font-size: clamp(40px, 4.8vw, 66px); }
.equipo .head-row .lead { margin-bottom: 10px; max-width: 420px; }
.car-head { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.car-count { font-size: 15px; color: var(--muted); }
.car-arrows { display: flex; gap: 12px; }
.car-arr { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #DCE6F0; background: var(--navy-3); color: var(--blue-ice); display: grid; place-items: center; cursor: pointer; }
.car-arr:disabled { background: var(--bg-2); color: #B5C6D8; cursor: default; }
.car-view { overflow: hidden; margin-top: 24px; padding: 4px 2px 8px; }
.car-track { --vis: 4; display: flex; gap: 20px; transition: transform .5s var(--ease); margin: 0; padding: 0; list-style: none; }
.car-track > li { flex: 0 0 calc((100% - (var(--vis) - 1) * 20px) / var(--vis)); }
@media (max-width: 1099px) { .car-track { --vis: 2; } }
@media (max-width: 699px) { .car-track { --vis: 1; } }
.person { height: 100%; background: #fff; border: 1px solid var(--line-3); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: border-color .15s, box-shadow .15s; text-align: left; padding: 0; width: 100%; font: inherit; color: inherit; }
.person:hover { border-color: #B9D0E6; box-shadow: 0 10px 30px rgba(13,44,74,.08); }
.person-ph { height: 280px; background: linear-gradient(180deg, #EEF3F9 0%, #DCE8F4 100%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.person-ph img { height: 94%; width: auto; max-width: 100%; object-fit: contain; display: block; border-radius: 14px 14px 0 0; }
.person-b, .person-ph { width: 100%; }
.person-b { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.person-ally { font-size: 11px; color: var(--muted); margin-bottom: -8px; }
.person-n { display: block; margin: 0; font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.person-r { font-size: 13.5px; color: var(--muted); flex: 1; }
.person-f { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line-3); font-weight: 600; font-size: 14px; color: var(--blue-2); }
.car-bar { position: relative; height: 2px; margin-top: 24px; background: var(--line-3); border-radius: 2px; overflow: hidden; }
.car-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: linear-gradient(90deg, #0B2E4F, #2A7FC1); border-radius: 2px; transition: left .5s var(--ease); }

/* ------------------------------------------------------------- Formación */
.formacion { background: var(--bg-3); }
.formacion .h2 { font-size: clamp(40px, 4.8vw, 66px); }
.acc-ctrl { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.acc-ctrl .car-count { font-size: 13px; margin-right: 14px; }
.sq-arr { width: 52px; height: 52px; border-radius: 6px; border: 0; background: var(--bg-5); color: var(--blue); display: grid; place-items: center; cursor: pointer; }
.sq-arr:hover { background: #D3E2F2; }
.acc { display: flex; gap: 10px; height: clamp(440px, 38vw, 520px); margin: 48px 0 0; padding: 0; list-style: none; }
.acc-p { flex: 0 0 38px; min-width: 0; position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; transition: flex .5s var(--ease); }
.acc-p:nth-child(3n+1) { background: linear-gradient(180deg, #0B4A80 0%, #0A2F52 60%); }
.acc-p:nth-child(3n+2) { background: linear-gradient(180deg, #0E6AAE 0%, #0A3A64 60%); }
.acc-p:nth-child(3n+3) { background: linear-gradient(180deg, #0C3D68 0%, #092B4C 60%); }
.acc-p.on { flex: 1 1 auto; background: linear-gradient(170deg, #0F5C9C 0%, #0B3F6E 45%, #082B4B 100%); cursor: default; }
.acc-num { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 11px; color: var(--yellow); background: none; border: 0; padding: 0; cursor: pointer; height: calc(100% - 24px); display: flex; align-items: flex-start; justify-content: center; font-family: var(--font); }
.acc-p.on .acc-num { justify-content: flex-start; text-align: left; padding: 0 clamp(24px, 3vw, 36px); font-size: 14px; height: auto; cursor: default; }
.acc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 36px); color: #fff; min-width: 300px; opacity: 0; visibility: hidden; transition: opacity .3s; }
.acc-p.on .acc-body { opacity: 1; visibility: visible; transition-delay: .2s; }
.acc-body h3 { margin: 0; max-width: 640px; font-weight: 600; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -.03em; }
.acc-body p { margin: 18px 0 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.86); }
.acc-body .btn { height: 50px; padding: 0 22px; margin-top: 26px; gap: 26px; font-size: 14.5px; }
@media (max-width: 699px) { .acc-p { display: none; } .acc-p.on { display: block; } .acc-body { min-width: 0; } }
.acc-foot { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.acc-foot a { margin-left: auto; font-weight: 600; color: var(--blue); text-decoration: none; }

/* ------------------------------------------------- Herramientas (leads) */
.tools { background: #fff; }
.tools .h2 { font-size: clamp(38px, 4.6vw, 60px); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 56px; }
.tool { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 34px 30px 30px; border: 1px solid var(--line-3); border-radius: 12px; background: #fff; }
.tool.feat { background: linear-gradient(160deg, #0B2E4F 0%, #0F5C9C 100%); border-color: transparent; color: #fff; }
.tool-ic { width: 56px; height: 56px; border-radius: 12px; background: var(--bg-5); display: grid; place-items: center; }
.tool.feat .tool-ic { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.tool h3 { margin: 6px 0 0; font-weight: 600; font-size: 23px; line-height: 1.25; letter-spacing: -.02em; }
.tool p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); flex: 1; }
.tool.feat p { color: rgba(255,255,255,.82); }
.tool .badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 11px; letter-spacing: .04em; }
.tool .btn { align-self: flex-start; height: 50px; padding: 0 22px; gap: 22px; font-size: 14.5px; }
.tool-res { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-res a { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 14.5px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.news { display: grid; gap: 12px; }
.news-row { display: flex; gap: 8px; flex-wrap: wrap; }
.news-row input[type=email] { flex: 1 1 180px; }
.sessions { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.sessions li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.sessions time { flex: none; font-weight: 600; color: var(--blue); min-width: 74px; }
.sessions a { text-decoration: none; }

/* -------------------------------------------------------------- Contacto */
.contacto .h2 { font-size: clamp(40px, 4.4vw, 58px); line-height: 1.06; }
.contacto-in { gap: 56px 80px; align-items: start; }
.c-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding-bottom: 12px; border-bottom: 1px solid #C9D6E3; font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; word-break: break-all; }
.c-tels { display: grid; gap: 8px; margin-top: 26px; font-size: 16px; }
.c-tels a { color: var(--ink); text-decoration: none; }
.c-city { margin-top: 18px; font-size: 15.5px; color: var(--muted); }
.c-wa { display: inline-flex; align-items: center; gap: 20px; margin-top: 28px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.card-form { background: var(--bg-1); border-radius: 12px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; }
.card-form h3 { margin: 0 0 4px; font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.fld { display: grid; gap: 10px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea, .inp { height: 50px; padding: 0 14px; border: 1px solid var(--line-4); border-radius: 4px; background: #fff; font-size: 14.5px; font-weight: 400; color: var(--ink); outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
.fld select { font-weight: 600; padding: 0 12px; }
.fld textarea { height: auto; padding: 14px; resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .inp:focus { border-color: var(--blue-3); box-shadow: 0 0 0 3px rgba(42,127,193,.15); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.chk input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--navy-btn); flex: none; }
.chk a { color: var(--blue); }
.card-form .btn { width: 100%; height: 52px; gap: 22px; font-size: 14.5px; }
.btn[disabled] { opacity: .65; cursor: wait; }
.f-note { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.f-msg { margin: 0; padding: 14px 16px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.f-msg.ok { background: var(--ok-bg); color: #1D6B42; }
.f-msg.err { background: #FDECEC; color: #9B2C2C; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

/* ---------------------------------------------------------------- Footer */
.ftr { position: relative; background: linear-gradient(100deg, #0A2D4E 0%, #0C3E6C 60%, #0F5C9C 100%); color: #fff; overflow: hidden; }
.ftr-ring { position: absolute; left: 25%; top: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 0 0 30px rgba(255,255,255,.01), 0 0 0 60px rgba(255,255,255,.01), 0 0 0 90px rgba(255,255,255,.01); pointer-events: none; }
.ftr-in { position: relative; padding-top: 60px; padding-bottom: 28px; }
.ftr-top { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ftr-logo { display: grid; justify-items: center; gap: 6px; color: #fff; text-decoration: none; }
.ftr-logo:hover { color: #fff; }
.ftr-logo img { height: 78px; width: auto; display: block; }
.ftr-quote { margin: 0; flex: 1; min-width: 240px; font-weight: 600; font-size: 16px; line-height: 1.6; color: var(--yellow); }
.ftr-up { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.ftr-up:hover { color: var(--yellow); }
.ftr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 13.5px; line-height: 2; color: rgba(255,255,255,.82); }
.ftr-cols > div { display: grid; align-content: start; }
.ftr-cols h2 { margin: 0 0 14px; font-weight: 600; font-size: 14px; color: #fff; line-height: 1.5; }
.ftr-cols a { color: rgba(255,255,255,.82); text-decoration: none; word-break: break-word; }
.ftr-cols a:hover { color: #fff; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.75); }
.ftr-bot a { color: rgba(255,255,255,.75); }

/* ------------------------------------------------------- WhatsApp y modal */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); box-shadow: 0 10px 24px rgba(4,22,44,.3); display: grid; place-items: center; transition: transform .2s var(--ease); }
.wa-fab:hover { transform: scale(1.06); }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(9,36,62,.62); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal-box { position: relative; width: 100%; max-width: 608px; background: #fff; border-radius: 12px; box-shadow: 0 30px 80px rgba(4,22,44,.4); padding: clamp(28px, 5vw, 52px) clamp(24px, 5vw, 40px) clamp(28px, 5vw, 40px); animation: solIn .3s var(--ease) both; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bg-4); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.modal h2 { margin: 0; padding-right: 24px; font-weight: 700; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
.modal p, .modal li { font-size: 15px; line-height: 1.75; color: var(--muted); }
.modal ul { margin: 16px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.modal-person { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.modal-ph { flex: none; width: 104px; height: 130px; border-radius: 8px; background: linear-gradient(160deg, #EEF3F9, #D8E6F3); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.modal-ph img { height: 96%; width: auto; display: block; border-radius: 8px 8px 0 0; }
.modal-role { margin-top: 14px; font-size: 14px; color: var(--muted); }
.modal-bio { display: grid; gap: 14px; margin-top: 26px; }
.modal-bio p { margin: 0; font-size: 14.5px; }
.modal-acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 26px; }
.modal .card-form { margin-top: 24px; padding: 22px; }
body.locked { overflow: hidden; }

/* ------------------------------------------------- Páginas interiores */
.phero { position: relative; background: linear-gradient(100deg, #0A2D4E 0%, #0C3E6C 60%, #0F5C9C 100%); color: #fff; overflow: hidden; }
.phero .hero-ring { right: -20%; top: -60%; width: 70%; }
.phero-in { position: relative; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.phero h1 { margin: 0; max-width: 900px; font-weight: 700; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.phero h1 .l2 { display: block; color: var(--yellow); }
.phero-p { margin: 28px 0 0; max-width: 680px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: rgba(255,255,255,.86); }
.phero .hero-ctas { margin-top: 36px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.prose h2 { margin: 48px 0 12px; font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.03em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px 80px; align-items: start; }
@media (max-width: 999px) { .layout-side { grid-template-columns: 1fr; } }
.side-sticky { position: sticky; top: 120px; }
.box { border: 1px solid var(--line-3); border-radius: 12px; padding: 28px; background: #fff; }
.box h2, .box h3 { margin: 0 0 14px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.box .sector-list { margin-top: 0; }
.faq { margin-top: 56px; max-width: 760px; }
.faq h2 { margin: 0 0 18px; font-weight: 700; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 14px 0 0; font-size: 16px; line-height: 1.75; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.lcard { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line-3); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.lcard:hover { border-color: #B9D0E6; box-shadow: 0 10px 30px rgba(13,44,74,.08); color: var(--ink); }
.lcard .num { font-weight: 600; font-size: 13px; color: var(--blue); }
.lcard h3 { margin: 0; font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.lcard p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); flex: 1; }
.lcard .go { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-3); font-weight: 600; font-size: 14px; color: var(--blue-2); }
.bg-soft { background: var(--bg-2); }

/* Diagnóstico */
.diag-q { display: grid; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.diag-q legend { float: left; width: 100%; padding: 0; font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--ink); }
.diag-q legend b { color: var(--blue); margin-right: 8px; }
.diag-q fieldset { border: 0; margin: 0; padding: 0; }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--line-4); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: #fff; cursor: pointer; transition: all .15s; }
.opts input:checked + span { background: var(--navy-btn); border-color: var(--navy-btn); color: #fff; }
.opts input:focus-visible + span { outline: 2px solid var(--blue-3); outline-offset: 2px; }
.progress { position: sticky; top: 96px; z-index: 5; background: #fff; padding: 14px 0; border-bottom: 1px solid var(--line-3); }
.progress-bar { height: 4px; background: var(--line-3); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0B2E4F, #2A7FC1); transition: width .3s var(--ease); }
.meter { position: relative; width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.meter::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: var(--navy-3); }
.meter b { position: relative; font-weight: 700; font-size: 44px; letter-spacing: -.04em; }
.recs { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: r; }
.recs li { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line-3); border-left: 4px solid var(--blue); border-radius: 8px; }
.recs li.no { border-left-color: #D64545; }
.recs li.parcial { border-left-color: #E0A100; }
.recs small { font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.recs strong { font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.recs p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Cuadrícula del equipo (páginas /equipo y /nosotros) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
a.person { text-decoration: none; color: inherit; }
a.person:hover { color: inherit; }
.firma-txt p { margin: 0; }
