/* ==================================================================
   SISTEMA DE DISEÑO
   Concepto: "plano de obra". Divisiones 61.8 / 38.2 (proporción áurea),
   espaciado Fibonacci, escala tipográfica √φ y el azul de las señales
   de obligación como color de marca.
   ================================================================== */
:root {
  --ink: #0A1830;  --navy: #10284F;  --cobalt: #1F57E0;  --cobalt-dk: #1746BD;
  --sky: #E7EEFD;  --paper: #F6F8FC; --line: #DCE3EF;    --steel: #56637A;
  --text: #142033; --on-dark: #B9C7DE; --white: #FFFFFF;  --signal: #F2C230;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Escala √φ (1.272) sobre 17 px */
  --t-0: .84rem; --t-1: 1.0625rem; --t-2: 1.35rem; --t-3: 1.72rem; --t-4: 2.19rem;
  --t-5: clamp(2.1rem, 4.2vw, 2.78rem);
  --t-6: clamp(2.5rem, 6vw, 4.5rem);
  /* Fibonacci */
  --s-1: 8px; --s-2: 13px; --s-3: 21px; --s-4: 34px; --s-5: 55px; --s-6: 89px; --s-7: 144px;

  --container: 1180px; --radius: 13px; --radius-lg: 21px; --header-h: 77px;
  --shadow: 0 1px 2px rgba(10,24,48,.06), 0 13px 34px rgba(10,24,48,.08);
  --shadow-lg: 0 21px 55px rgba(10,24,48,.16);
}

/* ------------------------------ Base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: var(--t-1); line-height: 1.618; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--t-6); font-weight: 850; font-stretch: 112%; }
h2 { font-size: var(--t-5); font-weight: 800; font-stretch: 108%; }
h3 { font-size: var(--t-2); font-weight: 700; line-height: 1.2; }
p, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cobalt); color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--container) + 42px); margin-inline: auto; padding-left: max(21px, env(safe-area-inset-left, 0px)); padding-right: max(21px, env(safe-area-inset-right, 0px)); }
.band { padding-block: var(--s-7); }
.band--top0 { padding-top: 0; }
.band--tight { padding-block: var(--s-6); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3, .dark h4 { color: var(--white); }

.label { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--f-mono); font-size: var(--t-0); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.label::before { content: ""; width: 21px; height: 2px; background: currentColor; }
.label--signal { color: var(--signal); }
.lead { font-size: var(--t-2); line-height: 1.55; color: var(--steel); max-width: 34em; }
.dark .lead { color: var(--on-dark); }
.stack { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.muted { color: var(--steel); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--cobalt); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 55px; padding: 0 var(--s-4); border-radius: 999px; border: 1.5px solid transparent; font-family: var(--f-display); font-weight: 700; font-size: var(--t-1); font-stretch: 105%; cursor: pointer; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--cobalt); color: var(--white); }
.btn--primary:hover { background: var(--cobalt-dk); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sky); }
.btn--ghost { border-color: rgba(255,255,255,.32); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 var(--s-3); font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.pre { opacity: 0; transform: translateY(21px); }
.in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }

/* ------------------------------ Marca (wordmark) ------------------------------ */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cobalt); color: var(--white); font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: 1.05rem; letter-spacing: -.02em; }
.brand__word { display: grid; line-height: 1.05; }
.brand__word b { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.12rem; color: var(--ink); }
.brand__word small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.footer .brand__word b { color: var(--white); }
.footer .brand__word small { color: var(--on-dark); }
.brand__logo { height: 54px; width: auto; display: block; }
.brand__logo--footer { height: 66px; }
@media (max-width: 620px) { .brand__logo { height: 46px; } }

/* ------------------------------ Header ------------------------------ */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 21px rgba(10,24,48,.05); background: var(--white); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--header-h); }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: 2px; list-style: none; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 5px; white-space: nowrap; padding: 10px 13px; border-radius: 999px; font: 500 .97rem var(--f-body); color: var(--text); background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.nav__link:hover, .nav__link.active { background: var(--sky); color: var(--cobalt); }
.nav__link svg { width: 13px; height: 13px; transition: transform .2s; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; padding: var(--s-1); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover .menu, .nav__item:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.menu a { display: block; padding: 10px 13px; border-radius: 9px; font-size: .95rem; }
.menu a:hover { background: var(--paper); color: var(--cobalt); }
.menu small { display: block; color: var(--steel); font-size: .82rem; }
.header__cta { display: flex; align-items: center; gap: var(--s-2); }
.phone-link { font-family: var(--f-mono); font-size: .9rem; color: var(--steel); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.phone-link svg { width: 16px; height: 16px; color: var(--cobalt); }
.phone-link:hover { color: var(--cobalt); }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }
.nav__mobile { display: none; }

/* ------------------------------ Vistas ------------------------------ */
.view { animation: viewIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes viewIn { from { opacity: .001; transform: translateY(13px); } to { opacity: 1; transform: none; } }

/* Encabezado de página interna */
.page-hero { position: relative; padding-block: var(--s-6); overflow: hidden; }
.page-hero::before, .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(31,87,224,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(31,87,224,.07) 1px, transparent 1px); background-size: 55px 55px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s-6); align-items: center; }
.page-hero__grid > div { display: grid; gap: var(--s-4); min-width: 0; }
.page-hero img { aspect-ratio: 1.618 / 1; width: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--sky); }
.page-hero__grid--foto { grid-template-columns: 1fr 1.3fr; gap: var(--s-5); }
.page-hero__grid--foto img { aspect-ratio: 4 / 3; }
.crumbs { font-family: var(--f-mono); font-size: var(--t-0); color: var(--steel); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--cobalt); }
.crumbs span { color: var(--cobalt); }

/* ------------------------------ Hero inicio ------------------------------ */
.hero { position: relative; padding-block: var(--s-6) var(--s-7); overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s-6); align-items: center; }
.hero__copy { display: grid; gap: var(--s-4); min-width: 0; }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero .lead { max-width: 30em; }
.facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.fact { display: grid; gap: 2px; }
.fact b { font-family: var(--f-display); font-size: var(--t-3); font-weight: 800; font-stretch: 110%; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { font-family: var(--f-mono); font-size: var(--t-0); color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }
.fact--logo { align-items: center; }
.fact--logo img { height: 56px; width: auto; display: block; }
.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 1 / 1.618; max-height: 640px; width: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--sky); }
.sign { position: absolute; left: -55px; bottom: 89px; width: 144px; height: 144px; border-radius: 50%; background: #D7262E; color: var(--white); display: grid; place-items: center; border: 6px solid var(--white); box-shadow: var(--shadow-lg); }
.sign svg { width: 62px; height: 62px; }
.sign__caption { position: absolute; left: -55px; bottom: 21px; width: 220px; font-family: var(--f-mono); font-size: .72rem; line-height: 1.45; color: var(--steel); text-transform: uppercase; letter-spacing: .05em; background: var(--paper); padding: 6px 8px; border-radius: 8px; }
.pill { position: absolute; right: 21px; top: 21px; padding: 7px 13px; border-radius: 999px; background: var(--white); color: var(--ink); font: 500 .78rem var(--f-mono); letter-spacing: .05em; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(242,194,48,.28); }

/* Cifras */
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.num { padding: var(--s-5) var(--s-4); border-left: 1px solid rgba(255,255,255,.09); display: grid; gap: var(--s-1); align-content: start; }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { font-family: var(--f-display); font-weight: 850; font-stretch: 115%; font-size: var(--t-5); color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.num > span { font-size: .97rem; max-width: 18em; }
.numbers__grid:has(.num--m2:not([hidden])) { grid-template-columns: 1fr 1fr 1.7fr; }
.num--m2 b { color: var(--signal); white-space: nowrap; display: flex; align-items: baseline; gap: 8px; }
.num--m2 b small { font-size: .5em; font-weight: 700; color: var(--white); }

/* Clientes (texto) */
.clients { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; justify-content: space-between; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
/* Carrusel de logos de clientes */
.marquee { display: flex; overflow: hidden; width: 100%; -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; align-items: center; flex-shrink: 0; gap: 72px; padding: 0 72px 0 0; margin: 0; list-style: none; animation: marquee 100s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex-shrink: 0; display: flex; align-items: center; height: 64px; }
.marquee__track img { height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.marquee__track img.is-tall { height: 60px; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 24px; padding-right: 0; }
  .marquee__track[aria-hidden="true"] { display: none; }
}
.clients small { font-family: var(--f-mono); font-size: var(--t-0); color: var(--steel); text-transform: uppercase; letter-spacing: .08em; flex-basis: 100%; }

/* Método */
.split { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
.split--rev { grid-template-columns: 1.618fr 1fr; }
.sticky { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.phases { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.phase { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-4); align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: var(--s-3); box-shadow: var(--shadow); }
.phase__img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.phase__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.phase:hover .phase__img img { transform: scale(1.05); }
.phase__body { display: grid; gap: var(--s-2); padding-right: var(--s-3); min-width: 0; }
.step { font-family: var(--f-mono); font-size: var(--t-0); color: var(--cobalt); letter-spacing: .08em; text-transform: uppercase; display: flex; gap: var(--s-2); align-items: center; }
.step b { font-weight: 500; color: var(--white); background: var(--cobalt); border-radius: 6px; padding: 2px 8px; }
.phase__body p { color: var(--steel); }

/* Bento */
.head2 { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s-6); align-items: end; margin-bottom: var(--s-5); }
.bento { display: grid; grid-template-columns: 1.618fr 1fr; grid-template-rows: repeat(3, auto); gap: var(--s-3); }
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); display: grid; transition: transform .35s, box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile--anchor { grid-row: span 3; min-height: 610px; color: var(--white); isolation: isolate; align-content: end; background: var(--navy); }
.tile--anchor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile--anchor::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,24,48,.95) 8%, rgba(10,24,48,.55) 45%, rgba(10,24,48,.05) 80%); }
.tile--anchor .tile__body { padding: var(--s-5); gap: var(--s-3); }
.tile--anchor h3 { color: var(--white); font-size: var(--t-4); font-stretch: 108%; }
.tile--anchor .tile__body p { color: #D3DDEC; max-width: 30em; }
.tile--row { grid-template-columns: 1fr 1.618fr; align-items: stretch; }
.tile--row .tile__img { background: var(--sky); min-height: 100%; }
.tile--row .tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-4) var(--s-4) var(--s-3); align-content: center; min-width: 0; }
.tile__body p { color: var(--steel); font-size: .97rem; }
.tag { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.tile--anchor .tag { color: var(--signal); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--cobalt); margin-top: 4px; }
.tile--anchor .more { color: var(--white); }
.more svg { width: 16px; height: 16px; transition: transform .25s; }
.tile:hover .more svg, a:hover > .more svg { transform: translateX(4px); }

/* Rescate */
.tape-top { position: relative; }
.tape-top::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--signal) 0 13px, var(--ink) 13px 26px); }
.media-golden { aspect-ratio: 1.618 / 1; width: 100%; object-fit: cover; border-radius: var(--radius-lg); background: var(--navy); }
.chips-static { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.chips-static span { font-size: .9rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.dark .chips-static span { border-color: rgba(255,255,255,.16); color: var(--white); background: transparent; }
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec caption { text-align: left; font-family: var(--f-mono); font-size: var(--t-0); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); padding-bottom: var(--s-2); }
.spec td { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.spec td:first-child { width: 72px; font-family: var(--f-mono); color: var(--white); font-variant-numeric: tabular-nums; }

/* Filosofía */
.about { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: center; }
.photo-tall { aspect-ratio: 1 / 1.618; max-height: 610px; width: 100%; object-fit: cover; border-radius: var(--radius-lg); background: var(--sky); }
.quote { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; color: var(--ink); font-size: var(--t-5); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.quote mark { background: linear-gradient(transparent 62%, var(--sky) 62%); color: var(--cobalt); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.trio > div { display: grid; gap: var(--s-1); align-content: start; }
.trio svg { width: 34px; height: 34px; color: var(--cobalt); margin-bottom: var(--s-1); }
.trio h3 { font-size: var(--t-1); font-stretch: 105%; }
.trio p { font-size: .95rem; color: var(--steel); }

/* Tarjetas con foto */
.duo { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s-3); }
.card { position: relative; min-height: 466px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; display: grid; align-content: end; color: var(--white); box-shadow: var(--shadow); background: var(--navy); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s; }
.card:hover img { transform: scale(1.04); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,24,48,.94) 12%, rgba(10,24,48,.15) 70%); }
.card__body { padding: var(--s-5); display: grid; gap: var(--s-2); }
.card h3 { color: var(--white); font-size: var(--t-4); font-stretch: 108%; }
.card p { color: #D3DDEC; max-width: 28em; }

/* CTA */
.cta { background: var(--cobalt); color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -144px; top: 50%; width: 466px; height: 466px; transform: translateY(-50%); border-radius: 50%; border: 55px solid rgba(255,255,255,.07); box-shadow: 0 0 0 89px rgba(255,255,255,.04); }
.cta__row { position: relative; display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s-5); align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: #DCE6FD; font-size: var(--t-2); margin-top: var(--s-2); max-width: 32em; }
.cta .actions { justify-content: flex-end; }
.cta .actions .btn { min-width: 233px; }

/* Listas de verificación */
.checks { list-style: none; padding: 0; display: grid; gap: 10px var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 3px; }
.checks--1 { grid-template-columns: 1fr; }
.panel { background: var(--white); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow); display: grid; gap: var(--s-4); min-width: 0; }
.panel--sky { background: var(--sky); box-shadow: none; }
.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 10px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-mono); font-size: .85rem; color: var(--cobalt); }
.note { font-size: .92rem; color: var(--steel); border-left: 3px solid var(--signal); padding-left: var(--s-2); }

/* Grupos de servicios (salud) */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.group { background: var(--white); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: var(--shadow); display: grid; gap: var(--s-3); align-content: start; }
.group__head { display: flex; align-items: center; gap: var(--s-2); }
.ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--sky); color: var(--cobalt); display: grid; place-items: center; }
.ico svg { width: 20px; height: 20px; }

/* Proyectos: pestañas, buscador, mapa */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap; }
.tabs button { font: 600 .95rem var(--f-body); color: var(--steel); background: none; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--steel); }
.search input { width: 100%; font: inherit; padding: 13px 15px 13px 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--text); }
.search input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--sky); }
.count { font-family: var(--f-mono); font-size: var(--t-0); color: var(--steel); }

.clientgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: var(--s-3); align-items: start; }
.client { background: var(--white); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: var(--shadow); display: grid; gap: var(--s-2); min-width: 0; }
.client__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); }
.client__head h3 { font-size: var(--t-2); font-stretch: 108%; }
.client__head b { font-family: var(--f-mono); font-weight: 500; font-size: .85rem; color: var(--white); background: var(--cobalt); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.client ul { list-style: none; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.client li { display: flex; justify-content: space-between; gap: var(--s-2); border-top: 1px solid var(--line); padding-top: 6px; }
.client li span:last-child { font-family: var(--f-mono); font-size: .78rem; color: var(--steel); text-align: right; flex-shrink: 0; }
.client .note { margin-top: var(--s-1); }
.client--wide { grid-column: span 2; }
.client--total { align-content: space-between; min-height: 150px; }
.client__logo { height: 56px; display: flex; align-items: center; }
.client__logo img { max-height: 48px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.client--total h3 { font-size: var(--t-2); font-stretch: 108%; }
.client--total p { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.client--total b { font-family: var(--f-display); font-weight: 850; font-stretch: 115%; font-size: var(--t-4); color: var(--cobalt); line-height: 1; }
.client--total span { font-family: var(--f-mono); font-size: var(--t-0); color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }
.client--wide ul { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
.empty { padding: var(--s-5); text-align: center; color: var(--steel); background: var(--white); border-radius: var(--radius-lg); }

.mapwrap { max-width: 1000px; margin-inline: auto; }
.proj-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-5); align-items: start; }
.proj-map { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
.proj-head { display: grid; gap: var(--s-1); margin-bottom: var(--s-3); }
.proj-head h2 { font-size: var(--t-4); }
.proj-head p { margin: 0; color: var(--ink-2, inherit); opacity: .85; }
.proj-map .mapwrap { max-width: none; }
.proj-list .clientgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proj-list .toolbar { margin-bottom: var(--s-3); }
.proj-list .search { max-width: none; }
@media (max-width: 1000px) {
  .proj-layout { grid-template-columns: 1fr; gap: var(--s-6); }
  .proj-map { position: static; }
}
@media (max-width: 480px) { .proj-list .clientgrid { grid-template-columns: 1fr; } }
.mexmap { position: relative; background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.mexmap svg { display: block; width: 100%; height: auto; }
.st { fill: #EEF2F8; stroke: var(--navy); stroke-width: .6; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .15s; }
.st[data-lv="1"] { fill: #C9D8FA; }
.st[data-lv="2"] { fill: #8FB0F3; }
.st[data-lv="3"] { fill: #4A7DE8; }
.st[data-lv="4"] { fill: var(--cobalt); }
.st[data-on]:hover { fill: var(--signal); }
.map-ctx { fill: #1B2D4D; pointer-events: none; }
.map-num { font-family: var(--f-mono); font-size: 13px; font-weight: 500; fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map-num[data-lv="3"], .map-num[data-lv="4"] { fill: var(--white); }
.map-geo { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: #8497B8; text-anchor: middle; pointer-events: none; }
.map-geo--zoom { text-anchor: start; fill: var(--white); font-size: 10px; }
.map-zoomtag { fill: var(--navy); }
.map-zona { fill: none; stroke: var(--white); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-zoombg { fill: #1B2D4D; }
.map-zoomline { fill: none; stroke: var(--white); stroke-width: 1; pointer-events: none; }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); padding: 5px 10px; border-radius: 8px; background: var(--white); color: var(--ink); font-size: .85rem; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow); pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s-3); font-family: var(--f-mono); font-size: .78rem; color: var(--steel); }
.legend i { width: 21px; height: 13px; border-radius: 4px; display: inline-block; }
.world { display: flex; flex-wrap: wrap; gap: var(--s-1); }

/* Cursos */
.catnav { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-4); }
.catnav button { font: 500 .9rem var(--f-body); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; }
.catnav button[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.courses { columns: 3 300px; column-gap: var(--s-3); }
.course-cat { break-inside: avoid; background: var(--white); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: var(--shadow); margin-bottom: var(--s-3); display: grid; gap: var(--s-2); }
.course-cat__img { display: block; width: calc(100% + 2 * var(--s-4)); max-width: none; aspect-ratio: 3 / 2; object-fit: cover; margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-1); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--line); }
.course-cat h3 { font-size: var(--t-1); font-stretch: 108%; }
.course-cat ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: .95rem; }
.course-cat li { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 7px; }
.course-cat li em { font-style: normal; font-family: var(--f-mono); font-size: .74rem; color: var(--cobalt); }

/* Salud ocupacional */
.sl-hero { position: relative; overflow: hidden; padding-block: var(--s-6); background: linear-gradient(135deg, var(--cobalt) 0%, var(--navy) 75%); color: #DCE6FA; }
.sl-hero::before, .sl-hero::after { content: ""; position: absolute; pointer-events: none; background: rgba(255,255,255,.06);
  -webkit-mask: linear-gradient(#000 0 0) center / 34% 100% no-repeat, linear-gradient(#000 0 0) center / 100% 34% no-repeat; mask: linear-gradient(#000 0 0) center / 34% 100% no-repeat, linear-gradient(#000 0 0) center / 100% 34% no-repeat; }
.sl-hero::before { width: 420px; height: 420px; right: -90px; top: -110px; background: rgba(255,255,255,.05); }
.sl-hero::after { display: none; }
.sl-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-5); align-items: center; }
.sl-hero .crumbs { color: #B9C7DE; }
.sl-hero .crumbs span { color: var(--signal); }
.sl-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.sl-hero h1::after { content: ""; display: block; width: 55px; height: 4px; margin-top: var(--s-3); background: var(--signal); border-radius: 2px; }
.sl-hero .lead { color: #DCE6FA; font-size: 1.08rem; line-height: 1.7; max-width: 40em; }
.sl-hero__text { gap: var(--s-3); }

/* Ícono animado: corazón con pulso */
.sl-pulse { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.sl-pulse__ring { position: absolute; inset: 18%; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); animation: sl-ring 3s ease-out infinite; }
.sl-pulse__ring:nth-child(2) { animation-delay: 1s; }
.sl-pulse__ring:nth-child(3) { animation-delay: 2s; }
@keyframes sl-ring { 0% { transform: scale(.75); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
.sl-pulse__core { position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ffffff, #E7EEFD 70%); box-shadow: 0 0 0 13px rgba(255,255,255,.08), 0 34px 70px rgba(0,0,0,.35); }
.sl-pulse__core svg { width: 68%; overflow: visible; }
.sl-heart { fill: #E5383B; transform-origin: 60px 60px; animation: sl-beat 1.2s ease-in-out infinite; }
@keyframes sl-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.97); } 45% { transform: scale(1.08); } }
.sl-ecg { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 190; stroke-dashoffset: 190; animation: sl-ecg 2.4s linear infinite; }
@keyframes sl-ecg { 0% { stroke-dashoffset: 190; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -190; } }
.sl-pulse__cross { position: absolute; right: 8%; top: 10%; width: 56px; height: 56px; border-radius: 14px; background: var(--signal); box-shadow: 0 13px 30px rgba(0,0,0,.3); animation: sl-float 5s ease-in-out infinite; }
.sl-pulse__cross::before, .sl-pulse__cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 3px; transform: translate(-50%, -50%); }
.sl-pulse__cross::before { width: 12px; height: 32px; } .sl-pulse__cross::after { width: 32px; height: 12px; }
@keyframes sl-float { 50% { transform: translateY(-12px) rotate(8deg); } }

/* Lista de servicios con íconos */
.sl-services-band { background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%); }
.sl-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
.sl-list li { display: grid; grid-template-columns: 52px 1fr; gap: var(--s-3); align-items: center; padding-block: var(--s-3); border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; line-height: 1.45; color: var(--text); }
.sl-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow); transition: background .3s, transform .3s; }
.sl-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--cobalt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.sl-list li:nth-child(4n+2) .sl-ico svg, .sl-list li:nth-child(4n+3) .sl-ico svg { stroke: #E5383B; }
.sl-list li:hover .sl-ico { background: var(--cobalt); transform: scale(1.08) rotate(-6deg); }
.sl-list li:hover .sl-ico svg { stroke: var(--white); }
.sl-list li .sl-ico { animation: sl-bob 4s ease-in-out infinite; }
.sl-list li:nth-child(odd) .sl-ico { animation-delay: -2s; }
@keyframes sl-bob { 50% { transform: translateY(-3px); } }
.sl-list li:hover .sl-ico { animation: none; }
@media (max-width: 1000px) {
  .sl-hero__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .sl-pulse { width: min(70%, 300px); }
  .sl-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sl-pulse__ring, .sl-heart, .sl-ecg, .sl-pulse__cross, .sl-list li .sl-ico { animation: none; } .sl-ecg { stroke-dashoffset: 0; } }

/* Realidad Virtual LUDUS */
.vr-hero { position: relative; overflow: hidden; padding-block: var(--s-6); background: radial-gradient(ellipse 60% 80% at 85% 40%, rgba(31,87,224,.55), transparent 70%), linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%); color: var(--on-dark); }
.vr-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 55px 55px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.vr-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s-5); align-items: center; }
.vr-hero__text { gap: var(--s-3); }
.vr-hero .crumbs { color: var(--on-dark); }
.vr-hero .crumbs span { color: var(--signal); }
.vr-hero h1 { color: var(--white); }
.vr-hero h1 span { display: block; color: var(--signal); letter-spacing: .04em; }
.vr-hero .lead { color: #DCE6FA; }
.vr-btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.vr-btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.vr-visor { position: relative; display: grid; place-items: center; }
.vr-visor::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); box-shadow: 0 0 0 34px rgba(255,255,255,.03), 0 0 0 89px rgba(255,255,255,.02); }
.vr-photo { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 34px 89px rgba(0,0,0,.5); }
.vr-goggles { position: absolute; left: -8%; bottom: -14%; width: 42%; max-width: 230px; filter: drop-shadow(0 21px 34px rgba(0,0,0,.5)); animation: vr-float 6s ease-in-out infinite; }
@keyframes vr-float { 50% { transform: translateY(-13px) rotate(-3deg); } }

.vr-intro { background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%); }
.vr-intro__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-6); align-items: center; }
.vr-big { font-family: var(--f-display); font-size: var(--t-3); font-weight: 700; font-stretch: 105%; line-height: 1.3; color: var(--ink); }
.vr-intro .muted { font-size: 1.1rem; line-height: 1.7; padding-left: var(--s-3); border-left: 4px solid var(--signal); }
.vr-video { margin: 0; display: grid; gap: var(--s-2); }
.vr-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--cobalt)); box-shadow: var(--shadow-lg); }
.vr-video__frame iframe, .vr-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vr-video__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-2); color: var(--white); font-weight: 600; text-align: center; padding: var(--s-3); }
.vr-play { width: 77px; height: 77px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); box-shadow: 0 0 0 13px rgba(242,194,48,.2); }
.vr-play svg { width: 30px; height: 30px; fill: var(--ink); margin-left: 4px; }
.vr-video figcaption { font-family: var(--f-mono); font-size: var(--t-0); color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }

.vr-benefits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-3); }
.vr-benefits li { grid-column: span 2; display: grid; gap: var(--s-1); align-content: start; padding: var(--s-4); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.vr-benefits li:nth-child(4), .vr-benefits li:nth-child(5) { grid-column: span 3; }
.vr-benefits li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vr-benefits b { font-family: var(--f-display); font-weight: 750; font-stretch: 108%; font-size: var(--t-2); color: var(--ink); line-height: 1.2; margin-top: var(--s-2); }
.vr-benefits span:not(.vr-ico) { color: var(--steel); line-height: 1.6; }
.vr-ico { width: 55px; height: 55px; border-radius: var(--radius); display: grid; place-items: center; background: var(--sky); }
.vr-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--cobalt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vr-benefits li:nth-child(2) .vr-ico { background: #FFF3CC; } .vr-benefits li:nth-child(2) .vr-ico svg { stroke: #8A6400; }
.vr-benefits li:nth-child(4) .vr-ico { background: var(--navy); } .vr-benefits li:nth-child(4) .vr-ico svg { stroke: var(--signal); }
.vr-benefits li:nth-child(5) { background: linear-gradient(120deg, var(--cobalt), var(--navy)); }
.vr-benefits li:nth-child(5) b { color: var(--white); }
.vr-benefits li:nth-child(5) span:not(.vr-ico) { color: #DCE6FA; }
.vr-benefits li:nth-child(5) .vr-ico { background: rgba(255,255,255,.12); } .vr-benefits li:nth-child(5) .vr-ico svg { stroke: var(--signal); }
.cta .vr-close { margin-top: 0; font-size: var(--t-2); line-height: 1.55; color: var(--white); max-width: 36em; }
@media (max-width: 1000px) {
  .vr-hero__grid, .vr-intro__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .vr-visor::before { display: none; }
  .vr-benefits { grid-template-columns: 1fr 1fr; }
  .vr-benefits li, .vr-benefits li:nth-child(4) { grid-column: span 1; }
  .vr-benefits li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .vr-benefits { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vr-goggles { animation: none; } .vr-benefits li { transition: none; } }
@media (max-width: 620px) { .vr-goggles { left: -4px; bottom: -10%; width: 34%; } }

/* Nosotros */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.values { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-3); }
.values li { background: var(--white); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: var(--shadow); display: grid; gap: var(--s-1); }
.values b { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; color: var(--ink); font-size: var(--t-1); }
.values span { color: var(--steel); font-size: .95rem; }

/* Quiénes somos */
.ab-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-6); align-items: center; }
.ab-photo { position: relative; margin: 0; isolation: isolate; }
.ab-photo::before { content: ""; position: absolute; inset: var(--s-4) calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-4); border: 2px solid var(--cobalt); border-radius: var(--radius-lg); opacity: .25; z-index: -1; }
.ab-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--sky); }
.ab-photo figcaption { position: absolute; left: var(--s-3); bottom: var(--s-3); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(10,24,48,.82); backdrop-filter: blur(6px); color: var(--white); font-size: .9rem; font-weight: 500; }
.ab-photo figcaption span { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.ab-intro__text { gap: var(--s-4); }
.ab-body { font-size: var(--t-2); line-height: 1.6; color: var(--text); padding-left: var(--s-4); border-left: 4px solid var(--cobalt); }
.ab-pillars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.ab-pillars li { display: grid; gap: 4px; padding: var(--s-3); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border-top: 3px solid var(--cobalt); font-family: var(--f-display); font-weight: 700; font-stretch: 105%; color: var(--ink); line-height: 1.2; }
.ab-pillars b { font-family: var(--f-mono); font-size: var(--t-0); font-weight: 500; color: var(--cobalt); }

.ab-perfil { position: relative; overflow: hidden; }
.ab-perfil::after { content: "TG3"; position: absolute; right: -0.05em; bottom: -0.28em; font-family: var(--f-display); font-weight: 900; font-stretch: 120%; font-size: clamp(9rem, 24vw, 20rem); line-height: 1; color: rgba(255,255,255,.035); pointer-events: none; }
.ab-perfil__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
.ab-perfil h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.ab-perfil h2::after { content: ""; display: block; width: 55px; height: 4px; margin-top: var(--s-4); background: var(--signal); border-radius: 2px; }
.ab-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1); }
.ab-chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: var(--white); font-size: .92rem; font-weight: 500; }

.ab-mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.ab-mv__card { position: relative; display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); border-radius: var(--radius-lg); overflow: hidden; }
.ab-mv__card p { font-size: 1.15rem; line-height: 1.65; }
.ab-mv__card--mision { background: linear-gradient(140deg, var(--cobalt) 0%, var(--navy) 100%); color: #DCE6FA; box-shadow: var(--shadow-lg); }
.ab-mv__card--vision { background: var(--white); color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--line); }
.ab-mv__icon { width: 55px; height: 55px; padding: 13px; border-radius: 50%; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-mv__card--mision .ab-mv__icon { stroke: var(--signal); background: rgba(255,255,255,.1); }
.ab-mv__card--vision .ab-mv__icon { stroke: var(--cobalt); background: var(--sky); }

.ab-values { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s-3); counter-reset: valor; }
.ab-values li { counter-increment: valor; position: relative; display: grid; gap: var(--s-1); align-content: start; padding: var(--s-4); padding-top: var(--s-5); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.ab-values li::before { content: counter(valor, decimal-leading-zero); position: absolute; top: var(--s-3); right: var(--s-4); font-family: var(--f-display); font-weight: 850; font-stretch: 115%; font-size: 2.6rem; line-height: 1; color: var(--sky); }
.ab-values li::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 55px; background: var(--cobalt); transition: width .4s; }
.ab-values li:last-child { grid-column: 1 / -1; background: var(--sky); box-shadow: none; }
.ab-values li:last-child::before { color: var(--white); }
.ab-values li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ab-values li:hover::after { width: 100%; }
.ab-values b { position: relative; font-family: var(--f-display); font-weight: 750; font-stretch: 108%; font-size: var(--t-2); color: var(--ink); line-height: 1.2; }
.ab-values span { position: relative; color: var(--steel); font-size: .97rem; line-height: 1.6; }
/* Color: fondos y acentos */
.ab-hero { background: linear-gradient(160deg, var(--sky) 0%, var(--paper) 70%); }
.ab-hero .facts b { color: var(--cobalt); }
.ab-filo { background: linear-gradient(180deg, var(--paper) 0%, var(--sky) 100%); }
.ab-pillars li { border-top: 0; color: var(--white); box-shadow: var(--shadow); }
.ab-pillars b { color: rgba(255,255,255,.7); }
.ab-pillars li:nth-child(1) { background: var(--cobalt); }
.ab-pillars li:nth-child(2) { background: var(--navy); }
.ab-pillars li:nth-child(3) { background: var(--signal); color: var(--ink); }
.ab-pillars li:nth-child(3) b { color: rgba(10,24,48,.6); }
.ab-perfil { background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 60%, #173A7A 100%); }
.ab-chips li:nth-child(1) { background: var(--cobalt); border-color: var(--cobalt); }
.ab-chips li:nth-child(2) { background: rgba(255,255,255,.1); }
.ab-chips li:nth-child(3) { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.ab-mv__card--vision { background: linear-gradient(140deg, #FFF6D6 0%, #FDE9A6 100%); border: 0; box-shadow: var(--shadow); }
.ab-mv__card--vision .label { color: #8A6400; }
.ab-mv__card--vision .ab-mv__icon { stroke: #8A6400; background: rgba(255,255,255,.6); }
.ab-valores { background: linear-gradient(180deg, var(--sky) 0%, #DCE7FC 100%); }
.ab-values li:nth-child(3n+1)::after { background: var(--cobalt); }
.ab-values li:nth-child(3n+2)::after { background: var(--signal); }
.ab-values li:nth-child(3n)::after { background: var(--navy); }
.ab-values li::before { color: var(--sky); }
.ab-values li:nth-child(3n+1)::before { color: rgba(31,87,224,.16); }
.ab-values li:nth-child(3n+2)::before { color: rgba(242,194,48,.35); }
.ab-values li:nth-child(3n)::before { color: rgba(16,40,79,.13); }
.ab-values li:last-child { background: linear-gradient(120deg, var(--cobalt) 0%, var(--navy) 100%); box-shadow: var(--shadow-lg); }
.ab-values li:last-child b { color: var(--white); }
.ab-values li:last-child span { color: #DCE6FA; }
.ab-values li:last-child::before { color: rgba(255,255,255,.18); }
.ab-values li:last-child::after { background: var(--signal); }
@media (max-width: 1000px) {
  .ab-intro, .ab-perfil__grid, .ab-mv { grid-template-columns: 1fr; gap: var(--s-5); }
  .ab-photo img { aspect-ratio: 4 / 3; }
  .ab-photo::before { display: none; }
}
@media (max-width: 620px) {
  .ab-pillars { grid-template-columns: 1fr; }
  .ab-mv__card { padding: var(--s-4); }
  .ab-values { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ab-values li, .ab-values li::after { transition: none; } }
.timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid rgba(255,255,255,.12); }
.timeline li { position: relative; padding: 0 0 var(--s-4) var(--s-4); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.timeline b { display: block; color: var(--white); font-family: var(--f-display); font-stretch: 105%; font-size: var(--t-1); }
.credential { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: var(--shadow); }
.credential__logo { height: 70px; width: auto; display: block; }
.credential__seal { width: 89px; height: 89px; border-radius: 50%; border: 3px solid var(--cobalt); display: grid; place-items: center; font: 800 .95rem var(--f-display); color: var(--cobalt); font-stretch: 112%; }
.mono { font-family: var(--f-mono); font-size: .88rem; }

/* Documentos */
.doc { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
.doc__toc { position: sticky; top: calc(var(--header-h) + var(--s-4)); display: grid; gap: var(--s-2); }
.doc__toc a { font-size: .95rem; color: var(--steel); padding-left: var(--s-2); border-left: 2px solid var(--line); }
.doc__toc a:hover { color: var(--cobalt); border-color: var(--cobalt); }
.doc__body { display: grid; gap: var(--s-5); min-width: 0; }
.doc__body section { display: grid; gap: var(--s-2); }
.doc__body h2 { font-size: var(--t-3); }
.doc__body ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc__body p { max-width: 40em; }
.fill { background: #FFF6D6; border-radius: 4px; padding: 0 4px; font-family: var(--f-mono); font-size: .9em; }
.signature { border-top: 1px solid var(--line); padding-top: var(--s-3); display: grid; gap: 2px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-6); align-items: start; }
.contact__list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-2); align-items: start; }
.contact__list small { display: block; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.contact__list a:hover { color: var(--cobalt); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1.618 / 1; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: var(--white); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-lg); display: grid; gap: var(--s-4); min-width: 0; }
.form__intro { display: grid; gap: var(--s-1); }
.form__intro h3 { font-size: var(--t-3); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .fieldset legend { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 144px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: var(--white); box-shadow: 0 0 0 4px var(--sky); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2410C; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { margin-bottom: var(--s-1); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { font-weight: 500; font-size: .92rem; padding: 9px 15px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--line); background: var(--paper); transition: .2s; color: var(--text); }
.chips label:hover { border-color: var(--cobalt); }
.chips input:checked + label { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.chips input:focus-visible + label { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.form__foot p { font-size: .85rem; color: var(--steel); max-width: 26em; }
.form__foot a { text-decoration: underline; }
.form__status { font-size: .92rem; color: var(--cobalt); font-weight: 600; }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark); padding-block: var(--s-6) var(--s-4); font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.618fr 1fr 1fr 1fr; gap: var(--s-5); }
.footer__brand { display: grid; gap: var(--s-3); align-content: start; max-width: 22em; }
.footer h4 { color: var(--white); font-size: var(--t-1); font-stretch: 105%; margin-bottom: var(--s-2); }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--white); }
.social { display: flex; gap: var(--s-1); }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: .2s; }
.social a:hover { background: var(--cobalt); border-color: var(--cobalt); }
.social svg { width: 17px; height: 17px; }
.footer__bottom { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.09); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); font-size: .85rem; }
.footer__bottom span:last-child { font-family: var(--f-mono); font-size: .78rem; }
.footer__repse { display: inline-flex; align-items: center; gap: var(--s-2); }
.footer__repse img { height: 36px; width: auto; display: block; background: var(--white); padding: 4px 8px; border-radius: 6px; box-sizing: content-box; }
/* Pop-up de aviso al abrir la página */
.pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .3s; }
.pop.open { opacity: 1; }
.pop[hidden] { display: none; }
.pop__backdrop { position: absolute; inset: 0; background: rgba(10, 24, 48, .78); backdrop-filter: blur(4px); }
.pop__box { position: relative; width: min(860px, 100%, calc((100vh - 140px) * 2000 / 960)); margin-top: 50px; border-radius: var(--radius-lg); background: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: translateY(16px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pop.open .pop__box { transform: none; }
.pop__img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.pop__close { position: absolute; top: -52px; right: 0; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--white); color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.pop__close svg { width: 20px; height: 20px; }
.pop__close:hover { background: var(--signal); }
.pop__close:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pop, .pop__box { transition: none; } }

.to-top { position: fixed; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; right: calc(21px + env(safe-area-inset-right, 0px)); bottom: calc(21px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1300px) { .phone-link { display: none; } }
@media (max-width: 1160px) {
  .nav__link { padding: 10px 10px; }
  .clientgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .band { padding-block: var(--s-6); }
  .band--top0 { padding-top: 0; }
  .burger { display: grid; }
  .header__cta .btn { display: none; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); background: var(--white); flex-direction: column; align-items: stretch; padding: var(--s-3) max(21px, env(safe-area-inset-right, 0px)) calc(var(--s-4) + env(safe-area-inset-bottom, 0px)) max(21px, env(safe-area-inset-left, 0px)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 17px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: var(--t-1); }
  .nav__link:hover, .nav__link.active { background: none; }
  .menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 var(--s-2) var(--s-2); min-width: 0; }
  .menu::before { display: none; }
  .nav__item.open .menu { display: block; }
  .nav__item:hover > .nav__link svg { transform: none; }
  .nav__item.open > .nav__link svg { transform: rotate(180deg); }
  .nav__mobile { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
  .nav__mobile p { font-family: var(--f-mono); font-size: .85rem; color: var(--steel); }

  .hero { padding-block: var(--s-5) var(--s-6); }
  .page-hero { padding-block: var(--s-5); }
  .hero__grid, .page-hero__grid, .split, .split--rev, .about, .contact, .head2, .cta__row, .mapwrap, .doc, .mv { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__visual { width: 100%; }
  .hero__photo, .photo-tall { aspect-ratio: 1.618 / 1; max-height: none; }
  .sign { width: 104px; height: 104px; left: auto; right: 21px; bottom: -34px; border-width: 5px; }
  .sign svg { width: 44px; height: 44px; }
  .sign__caption { display: none; }
  .sticky, .doc__toc { position: static; }
  .bento, .duo, .groups { grid-template-columns: 1fr; }
  .tile--anchor { grid-row: auto; min-height: 466px; }
  .cta .actions { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .numbers__grid, .numbers__grid:has(.num--m2:not([hidden])) { grid-template-columns: 1fr 1fr; }
  .num--m2 { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .num:nth-child(odd) { padding-left: 0; border-left: 0; }
  .doc__toc { display: none; }
}
@media (max-width: 700px) {
  .clientgrid { grid-template-columns: 1fr; }
  .client--wide { grid-column: auto; }
  .client--wide ul, .checks { grid-template-columns: 1fr; }
  .map-num { font-size: 22px; }
  .map-num[data-st="COL"], .map-geo { display: none; }
  .tabs { border-radius: 21px; }
  .tabs button { padding: 9px 14px; }
  /* Categorías de cursos: una sola fila deslizable en lugar de varias filas de botones */
  .catnav { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(21px, env(safe-area-inset-left, 0px));scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * max(21px, env(safe-area-inset-left, 0px))); padding: 2px max(21px, env(safe-area-inset-left, 0px)) 4px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
  .catnav::-webkit-scrollbar { display: none; }
  .catnav button { flex-shrink: 0; white-space: nowrap; scroll-snap-align: start; }
}
@media (max-width: 620px) {
  .phase, .tile--row { grid-template-columns: 1fr; }
  .phase__img, .tile--row .tile__img { aspect-ratio: 1.618 / 1; }
  .phase__body { padding: 0 var(--s-1) var(--s-1); }
  .tile__body, .group, .client, .values li, .course-cat { padding: var(--s-3); }
  .course-cat__img { width: calc(100% + 2 * var(--s-3)); margin: calc(-1 * var(--s-3)) calc(-1 * var(--s-3)) var(--s-1); }
  .tile--anchor .tile__body, .card__body, .panel { padding: var(--s-4) var(--s-3); }
  .trio { grid-template-columns: 1fr; }
  .form { padding: var(--s-4) var(--s-3); }
  .form__grid, .numbers__grid, .numbers__grid:has(.num--m2:not([hidden])) { grid-template-columns: 1fr; }
  .footer__top { gap: var(--s-4) var(--s-3); }
  .vr-big { font-size: 1.3rem; }
  .num--m2 b { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .num { padding: var(--s-4) 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
  .num:first-child { border-top: 0; }
  .btn { white-space: normal; text-align: center; }
  .credential { grid-template-columns: 1fr; }
  .marquee__track { gap: 48px; padding-right: 48px; animation-duration: 78s; }
  .marquee__track img { height: 28px; }
  .marquee__track img.is-tall { height: 50px; }}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .pre { opacity: 1; transform: none; }
}
