@font-face {
  font-family: "Archivo";
  src: url("assets/fuentes/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #2b366d;
  --navy-deep: #1c2560;
  --red: #e3141b;
  --red-dark: #b80f15;
  --paper: #eeeff3;
  --ink: #161c45;
  --muted: #4e5578;
  --line: #d3d6e2;
  --white: #fff;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 7vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--red); font-weight: 700; font-size: .95rem; margin-bottom: .5em; }

/* Botones y enlaces */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: .85em 1.4em;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { padding: .55em 1em; font-size: .95rem; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-deep); }
.btn-light:hover { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { color: var(--red); font-weight: 700; text-underline-offset: 4px; }
.back-link { display: inline-block; margin-top: 20px; color: var(--navy); font-weight: 600; font-size: .95rem; text-underline-offset: 3px; }
.back-link::before { content: "← "; }

/* Barra superior */
.utility { background: var(--navy-deep); color: #dfe2f0; font-size: .85rem; }
.utility-inner { display: flex; justify-content: flex-end; gap: 22px; padding-top: 6px; padding-bottom: 6px; }
.utility a { text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--white); text-decoration: underline; }

/* Encabezado y menú */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 24px 10px; text-decoration: none; font-weight: 600; color: var(--navy-deep); white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; }
.nav-list > li > a:hover { color: var(--red); }
.nav-list > li.is-active > a { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.nav-list a[aria-current="page"] { color: var(--red); }
.sub-toggle { display: grid; place-items: center; width: 24px; height: 32px; margin-left: -6px; padding: 0; border: 0; background: none; color: var(--navy-deep); cursor: pointer; }
.sub-toggle .icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
  box-shadow: 0 14px 30px rgba(22, 28, 69, .14);
  display: none;
}
.has-sub.open .sub { display: block; }
@media (hover: hover) and (min-width: 1181px) {
  .has-sub:hover .sub { display: block; }
}
.sub a { display: block; padding: 9px 18px; text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--navy-deep); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--paper); color: var(--red); }
.nav-wa { white-space: nowrap; }
.menu-toggle, .wa-quick { display: none; }

/* Hero (inicio) */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  min-height: min(560px, calc(100vh - 106px));
  padding-top: 56px; padding-bottom: 56px;
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 15ch; margin-bottom: .4em; }
.hero-kicker { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; color: var(--red); max-width: 34ch; line-height: 1.35; margin-bottom: .8em; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-media { position: relative; align-self: stretch; min-height: 420px; margin: -56px 0; }
.hero-panels { position: absolute; inset: 0; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); background: var(--navy-deep); }
.hero-top { position: absolute; top: 0; left: 0; width: 100%; height: 62%; object-fit: cover; object-position: 30% 35%; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; }
.hero-bottom img, .band { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bottom img { object-fit: cover; object-position: 60% 40%; clip-path: polygon(0 30%, 100% 10%, 100% 100%, 0 100%); }
.band-red { background: var(--red); clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
.band-navy { background: var(--navy-deep); clip-path: polygon(0 25%, 100% 5%, 100% 100%, 0 100%); }
.slash { position: absolute; top: -10%; bottom: -10%; transform: skewX(-12deg); }
.slash-navy { left: 4%; width: 30%; background: var(--navy); }
.slash-red { left: 0; width: 7%; background: var(--red); z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .slash-red { animation: sweep .9s cubic-bezier(.2, .7, .2, 1) both; }
  .slash-navy { animation: sweep .9s .08s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-bottom { animation: rise .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes sweep { from { transform: skewX(-12deg) translateY(-110%); } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* Secciones */
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.featured-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.featured-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.card-grid + .featured-head { margin-top: 48px; }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 56px; align-items: start; }
.more-row { margin: 28px 0 0; }

/* Encabezado de páginas internas */
.page-head { background: var(--paper); padding: 28px 0 44px; border-bottom: 4px solid var(--red); }
.page-head h1 { max-width: 22ch; }
.page-lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.page-head .btn-row { margin-top: 22px; }
.page-head-dark { background: var(--navy-deep); }
.page-head-dark h1 { color: var(--white); }
.page-head-dark .page-lead, .page-head-dark .crumbs, .page-head-dark .crumbs [aria-current] { color: #c8cce0; }
.page-head-dark .eyebrow { color: #ff8a8e; }
.page-head-dark .crumbs a { color: var(--white); }
.page-head-slim { padding: 18px 0; border-bottom: 1px solid var(--line); }
.page-head-slim .crumbs { margin: 0; }
.student-access { margin: 20px 0 0; color: var(--muted); font-size: .97rem; }

/* Migas de pan */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; color: var(--red); margin: 0 .55em; }
.crumbs a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--muted); }

/* Tarjetas */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red);
  padding: 22px 24px 24px;
  transition: box-shadow .15s, transform .15s;
}
.card-tech { border-top-color: var(--navy); padding: 0; }
.card:has(.card-link):hover { box-shadow: 0 10px 24px rgba(22, 28, 69, .12); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-link { color: var(--red); }
.card .tag { font-size: .82rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.card-tech .tag { color: var(--navy); }
.card-meta { font-size: .92rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.card-text { color: var(--ink); font-size: .98rem; margin-bottom: 12px; }
.card-more { margin-top: auto; padding-top: 8px; color: var(--red); font-weight: 700; font-size: .95rem; }
.card-more::after { content: " →"; }
.card-body { padding: 6px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-actions { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-actions .card-more { padding-top: 0; }
.card-actions .btn { position: relative; z-index: 1; }
.cat-icon { width: 40px; height: 40px; fill: none; stroke: var(--navy-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.cat-card h3 { font-size: 1.55rem; }

/* Tarjetas de las dos líneas */
.line-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.line-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.line-card:hover { box-shadow: 0 12px 28px rgba(22, 28, 69, .14); transform: translateY(-2px); }
.line-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.line-edu { border-top: 5px solid var(--red); }
.line-tech { border-top: 5px solid var(--navy); }
.line-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.line-body h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); max-width: 22ch; }
.line-body p { color: var(--muted); }
.line-card:hover .card-link { color: var(--red); }

/* Indicadores */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats li { padding: 4px 24px; border-left: 3px solid var(--red); display: grid; gap: 4px; align-content: start; }
.stats strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; font-variation-settings: "wdth" 75; color: var(--navy-deep); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .97rem; line-height: 1.4; }

/* Franja de llamado a la acción */
.cta-band { background: var(--navy-deep); color: var(--white); padding: 48px 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 48px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3em; }
.cta-band p { color: #c8cce0; margin: 0; max-width: 52ch; }
.cta-band .btn-row { justify-content: flex-end; }

/* Filtros y buscador */
.toolbar { display: grid; gap: 12px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  font: inherit; font-size: .95rem; font-weight: 600;
  min-height: 40px; padding: .4em 1em;
  border: 1.5px solid var(--navy); border-radius: 999px;
  background: transparent; color: var(--navy); cursor: pointer;
}
.chips button span { opacity: .6; margin-left: 2px; font-variant-numeric: tabular-nums; }
.chips button:hover { background: rgba(43, 54, 109, .08); }
.chips button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.search { position: relative; display: block; max-width: 520px; }
.search-icon { position: absolute; left: .8em; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; font: inherit; color: var(--ink);
  padding: .7em .9em .7em 2.6em; border: 1.5px solid var(--line); border-radius: 3px; background: var(--white);
}
.search input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(43, 54, 109, .2); }
.result-count { font-size: .92rem; color: var(--muted); margin: -6px 0 12px; }
.result-count:empty { display: none; }
.empty { background: var(--paper); padding: 24px; color: var(--muted); }

/* Productos */
.product-img { background: linear-gradient(180deg, var(--white), #f5f6f9); padding: 20px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.product-img img { max-height: 100%; width: auto; object-fit: contain; }
.warranty { color: var(--red); font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.specs { margin: 0; font-size: .95rem; }
.spec { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.spec dt { color: var(--muted); flex: 1 0 auto; display: flex; align-items: baseline; gap: 8px; }
.spec dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line); }
.spec dd { margin: 0; max-width: 62%; text-align: right; font-weight: 600; }
.ficha { display: inline-block; margin: 16px 0 0; color: var(--red); font-weight: 700; font-size: .95rem; text-underline-offset: 3px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-photo { background: linear-gradient(180deg, var(--white), #f1f2f6); border: 1px solid var(--line); padding: 40px; display: grid; place-items: center; aspect-ratio: 1; }
.product-photo img { max-height: 100%; width: auto; object-fit: contain; }
.product-detail h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.product-detail .specs { max-width: 480px; font-size: 1rem; }
.product-detail .btn-row { margin-top: 24px; }
.other-cats { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.other-cats p { margin: 0; font-weight: 700; color: var(--navy-deep); }
.other-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.other-cats a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* Fichas de cursos y técnicos */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-lead { font-size: 1.12rem; max-width: 62ch; }
.detail-sub { font-size: 1.6rem; margin-top: 32px; }
.detail-aside { position: sticky; top: 100px; }
.aside-card { background: var(--paper); border-top: 4px solid var(--red); padding: 24px; display: grid; gap: 10px; }
.aside-title { font-weight: 800; font-variation-settings: "wdth" 80; font-size: 1.25rem; color: var(--navy-deep); margin: 0 0 4px; }
.course-info { margin: 20px 0 0; display: grid; gap: 0; max-width: 640px; }
.course-info div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.course-info dt { font-weight: 700; color: var(--navy-deep); }
.course-info dd { margin: 0; color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--red); }
.doc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-deep); font-weight: 700; font-size: .95rem; text-underline-offset: 3px; }
.doc-link::before { content: "XLS"; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--white); background: #1d6f42; padding: 3px 5px; border-radius: 2px; }
.doc-row { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.doc-row span { color: var(--muted); font-size: .92rem; }
.aside-card .doc-link { justify-self: center; margin-top: 6px; }
.detail-sub-first { margin-top: 0; }
.modules { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; max-width: 760px; }
.modules > div { background: var(--paper); padding: 20px 22px; }
.modules h3 { font-size: 1.1rem; font-variation-settings: "wdth" 85; margin: 0 0 10px; }
.modules ol, .modules ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.modules li::marker { color: var(--red); font-weight: 700; }
.accordion { margin-top: 32px; border-top: 1px solid var(--line); max-width: 640px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--navy-deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { color: var(--muted); margin: 0 0 16px; }
.accordion a { color: var(--navy); font-weight: 600; }

/* Capacitación empresarial */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area-grid li { background: var(--paper); padding: 18px 20px 18px 44px; position: relative; font-weight: 700; color: var(--navy-deep); }
.area-grid li::before { content: ""; position: absolute; left: 20px; top: 1.6em; width: 10px; height: 10px; background: var(--red); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefits li { border-top: 3px solid var(--red); padding-top: 14px; color: var(--muted); }
.benefits strong { display: block; color: var(--navy-deep); font-size: 1.15rem; font-variation-settings: "wdth" 80; margin-bottom: 4px; }

/* Soluciones, industrias, guías, marcas */
.solutions { background: var(--navy-deep); color: var(--white); padding: var(--section) 0; }
.solutions-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
.solutions h2 { color: var(--white); max-width: 12ch; }
.areas { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 700; font-variation-settings: "wdth" 80; }
.areas li:not(:last-child)::after { content: "/"; color: var(--red); margin: 0 .45em; font-weight: 400; }
.solutions-note { color: #c8cce0; max-width: 56ch; margin: 0; }
.solutions-note strong { color: var(--white); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector { margin: 0; }
.sector img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.sector figcaption { padding-top: 14px; color: var(--muted); font-size: .97rem; }
.sector strong { display: block; color: var(--navy-deep); font-size: 1.2rem; font-variation-settings: "wdth" 80; margin-bottom: 4px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.guide { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; text-decoration: none; background: var(--white); padding: 16px; border-left: 4px solid var(--red); }
.guide img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; }
.guide strong { display: block; font-size: 1.2rem; font-variation-settings: "wdth" 80; color: var(--navy-deep); margin-bottom: 6px; }
.guide span { color: var(--muted); }
.guide:hover strong { color: var(--red); }
.brands { text-align: center; }
.brands h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.brand-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 24px; align-items: center; }
.brand-list li { display: grid; place-items: center; height: 64px; }
.brand-list img { max-height: 52px; max-width: 120px; width: auto; object-fit: contain; }

/* Misión, visión, calidad */
.mv { margin: 0; }
.mv dt { font-weight: 800; font-size: 1.3rem; font-variation-settings: "wdth" 75; color: var(--red); }
.mv dd { margin: 4px 0 24px; color: var(--muted); }
.mv dd:last-child { margin-bottom: 0; }
.mv-edu { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 56px; }
.mv-edu-head p { color: var(--muted); max-width: 40ch; }
.mv-edu .mv dd { color: var(--ink); }
.quality { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 56px; align-items: center; margin-bottom: 48px; }
.quality p { color: var(--muted); max-width: 60ch; }
.seal { border: 3px solid var(--navy-deep); padding: 28px; text-align: center; }
.seal .seal-title { font-size: 2.6rem; font-weight: 900; font-variation-settings: "wdth" 75; color: var(--navy-deep); margin: 0 0 6px; line-height: 1; }
.seal p { margin: 0 auto; max-width: 30ch; }
.recognitions { padding-top: 28px; border-top: 1px solid var(--line); }
.recognitions h3 { font-size: 1.2rem; font-variation-settings: "wdth" 80; margin: 0 0 18px; }
.recognitions ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.recognitions li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--navy-deep); line-height: 1.3; }
.recognitions img { width: 96px; height: 76px; object-fit: contain; flex-shrink: 0; }
.rec-icon { width: 96px; height: 52px; flex-shrink: 0; fill: none; stroke: var(--navy-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; padding: 0 6px; }
.etdh-note { background: var(--paper); border-left: 6px solid var(--navy-deep); padding: 18px 22px; color: var(--ink); font-size: .95rem; margin: 28px 0 0; }
.legal-strip { padding-bottom: var(--section); }
.legal-strip .etdh-note { margin-top: 32px; }

/* Sedes */
.campus-list { margin: 0; display: grid; gap: 16px; }
.campus-list div { padding: 14px 0 0; border-top: 1px solid var(--line); }
.campus-list dt { font-weight: 800; color: var(--red); font-variation-settings: "wdth" 80; font-size: 1.15rem; }
.campus-list dd { margin: 2px 0 0; }
.campus-list a { color: var(--muted); text-decoration: none; }
.campus-list a:hover { color: var(--red); text-decoration: underline; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-sub { font-size: 1.5rem; margin: 0 0 10px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.contact-list small { color: var(--muted); font-weight: 400; }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 700; color: var(--navy-deep); text-decoration: none; }
.contact-list a:hover { color: var(--red); text-decoration: underline; }
.quote { background: var(--paper); padding: 32px; display: grid; gap: 16px; align-content: start; }
.quote label { display: grid; gap: 6px; font-weight: 600; color: var(--navy-deep); }
.quote input, .quote textarea, .quote select {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .7em .8em; border: 1.5px solid var(--line); border-radius: 3px; background: var(--white);
}
.quote input:focus, .quote textarea:focus, .quote select:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(43, 54, 109, .2); }
.quote .btn { justify-self: start; }
.quote .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.quote .consent input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--navy); }
.quote .consent a { color: var(--navy-deep); font-weight: 700; }
.form-hint { font-size: .9rem; color: var(--muted); margin: 0; }

/* Página legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 0 0 1em; }
.legal a { color: var(--red); font-weight: 700; }

/* Pie */
.site-footer { background: var(--navy-deep); color: #c8cce0; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.4fr; gap: 32px; }
.site-footer h2 { font-size: 1.05rem; font-variation-settings: "wdth" 85; color: var(--white); margin: 0 0 12px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand img { height: 44px; width: auto; background: var(--white); padding: 6px 10px; border-radius: 3px; margin-bottom: 14px; }
.footer-phones a { color: var(--white); font-weight: 600; }
.footer-phones a { white-space: nowrap; }
.footer-phones span { display: block; margin-top: 8px; font-size: .85rem; }
.footer-phones span:first-child { margin-top: 0; }
.footer-sedes strong { display: block; color: var(--white); }
.footer-legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: #aab0cc; }

/* Responsivo */
@media (max-width: 1180px) {
  .menu-toggle {
    display: block; font: inherit; font-weight: 700;
    padding: .5em 1em; border: 1.5px solid var(--navy); border-radius: 3px;
    background: var(--white); color: var(--navy); cursor: pointer;
  }
  .wa-quick { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 3px; background: var(--red); color: var(--white); }
  .wa-quick .icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .header-inner { gap: 12px; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 20px;
    box-shadow: 0 14px 30px rgba(22, 28, 69, .14);
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 14px 0; box-shadow: none; }
  .nav-list > li.is-active > a { box-shadow: inset 4px 0 0 var(--red); padding-left: 12px; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub { position: static; flex-basis: 100%; min-width: 0; border: 0; border-left: 3px solid var(--red); box-shadow: none; padding: 0 0 10px; margin-bottom: 10px; }
  .sub a { padding: 10px 16px; }
  .nav-wa { margin-top: 16px; }
}
@media (max-width: 980px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-list { grid-template-columns: repeat(4, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .stats, .benefits { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 32px; }
  .hero-media { min-height: 360px; margin: 0 calc(var(--gutter) * -1) -56px; }
  .hero-media .slash { top: 0; }
  .brand img { height: 38px; }
  .utility-inner { justify-content: center; }
  .utility-tel { display: none; }
  .section-head, .two-col, .mv-edu, .quality, .solutions-grid, .contact-grid, .cta-inner, .line-cards, .product-detail, .detail { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .detail-aside { position: static; order: -1; }
  .detail-aside .back-link { display: none; }
  .product-photo { padding: 24px; aspect-ratio: 4 / 3; }
  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 110px 1fr; }
  .quote { padding: 24px; }
  .page-head { padding-bottom: 32px; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  .sector-grid { grid-template-columns: 1fr; }
  .sector img { aspect-ratio: 16 / 10; }
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .contact-list li, .course-info div, .modules { grid-template-columns: 1fr; gap: 2px; }
  .modules { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats, .benefits, .area-grid { grid-template-columns: 1fr; }
  .card-actions { flex-wrap: wrap; }
}
