/* ==========================================================================
   Colegios Región Centro Contadores Públicos
   Hoja de estilos principal
   Identidad: azul marino profundo + acento cian (derivada del logotipo)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens de diseño
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --navy-900: #050b3a;
  --navy-800: #081050;
  --navy-700: #0b1566;
  --navy-600: #101c7d;
  --navy-500: #1a2b98;
  --navy-100: #e8ecf9;
  --navy-050: #f4f6fd;

  --cyan-600: #0b83ad;
  --cyan-500: #0f9fc9;
  --cyan-400: #1fbaea;
  --cyan-300: #56cdf2;
  --cyan-100: #dcf4fc;
  --cyan-050: #eefaff;

  /* Neutros */
  --ink: #101828;
  --ink-soft: #38445c;
  --muted: #667085;
  --muted-light: #98a2b3;
  --line: #e3e8f0;
  --line-soft: #eef1f7;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --surface-alt2: #eef2fa;

  /* Acentos auxiliares */
  --gold: #f0a92b;
  --green: #12b76a;
  --red: #e5484d;

  /* Tipografía */
  --font-display: "Manrope", "Spartan", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --wrap: 1240px;
  --wrap-narrow: 880px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, .07);
  --shadow: 0 14px 38px rgba(16, 24, 40, .10);
  --shadow-lg: 0 28px 60px rgba(8, 16, 80, .18);

  /* Movimiento */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset y base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.08rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cyan-600);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--navy-700); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

strong { color: var(--navy-900); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--cyan-400); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .8rem 1.2rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout utilitario
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--surface-alt); }
.section--alt2 { background: var(--surface-alt2); }
.section--navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }
.section--navy strong { color: #fff; }
.section--navy a:not(.btn) { color: var(--cyan-300); }
.section--navy a:not(.btn):hover { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 350px; gap: 48px; align-items: start; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.6rem; }
.mt-4 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.6rem; }
.mb-4 { margin-bottom: 2.4rem; }
.lead { font-size: 1.09rem; color: var(--ink-soft); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

/* Visible solo para lectores de pantalla */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Encabezado de sección ------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .7rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan-400);
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--cyan-300); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  flex-wrap: wrap;
}
.section-head--split > div { max-width: 660px; }
.section-head--split p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   4. Botones
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--cyan-500);
  --btn-fg: #fff;
  --btn-bd: var(--cyan-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.7rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover {
  --btn-bg: var(--navy-800);
  --btn-bd: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn--navy { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--navy:hover { --btn-bg: var(--cyan-500); --btn-bd: var(--cyan-500); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  --btn-bd: var(--line);
}
.btn--outline:hover {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: var(--navy-800);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .45);
}
.btn--ghost-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  --btn-bd: #fff;
}
.btn--sm { padding: .62rem 1.15rem; font-size: .85rem; }
.btn--lg { padding: 1.08rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--cyan-600);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Barra superior + cabecera
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.topbar__list li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: var(--cyan-300); }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social li { margin: 0; }
.social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .85);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.social a:hover {
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  color: #fff;
}
.social svg { width: 15px; height: 15px; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 24, 40, .09); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: var(--header-h);
}

/* Logotipo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy-900);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy-900); }
.brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy-900);
}
.brand__tag {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-600);
}
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: var(--cyan-300); }

/* Navegación principal */
.nav { display: flex; align-items: center; margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list > li { margin: 0; position: relative; }
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .6rem .68rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: .895rem;
  font-weight: 700;
  color: var(--navy-800);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__list > li > a:hover { color: var(--cyan-600); background: var(--cyan-050); }
.nav__list > li > a.is-active { color: var(--cyan-600); }
.nav__list > li > a.is-active::after {
  content: "";
  position: absolute;
  left: .68rem;
  right: .68rem;
  bottom: .1rem;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan-400);
}
.nav__caret { width: 10px; height: 10px; opacity: .6; }

/* Submenú */
.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__list > li:hover > .nav__drop,
.nav__list > li:focus-within > .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__drop li { margin: 0; }
.nav__drop a {
  display: block;
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__drop a:hover { background: var(--cyan-050); color: var(--cyan-600); }

.header__cta { display: flex; align-items: center; gap: 12px; }

/* Botón hamburguesa */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(5, 11, 58, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 92px;
  background: linear-gradient(180deg, var(--cyan-050) 0%, #fff 78%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 186, 234, .16), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero h1 em {
  font-style: normal;
  color: var(--cyan-600);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .3em;
  background: rgba(31, 186, 234, .22);
  border-radius: 3px;
  z-index: -1;
}
.hero__lead { font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy-900);
}
.hero__stat span { font-size: .85rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -26px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  max-width: 285px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--cyan-500);
}
.hero__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.3;
  color: var(--navy-900);
}
.hero__badge span { font-size: .8rem; color: var(--muted); }

/* Los SVG icónicos (trazo) heredan tamaño del contexto y nunca desbordan */
.acceso__icon svg,
.card__icon svg,
.contact-item__icon svg,
.event__info svg { width: 22px; height: 22px; }

/* Hero de páginas internas */
.page-hero {
  position: relative;
  padding: 74px 0 78px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(31, 186, 234, .3), transparent 52%),
    radial-gradient(circle at 4% 90%, rgba(16, 28, 125, .7), transparent 55%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: .45em; }
.page-hero p { font-size: 1.08rem; color: rgba(255, 255, 255, .8); margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  font-size: .82rem;
}
.breadcrumb li { margin: 0; color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: var(--cyan-300); }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   7. Tarjetas
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 186, 234, .45);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: 1.1rem; }
.card .link-arrow { margin-top: auto; }

.card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--cyan-050);
  color: var(--cyan-600);
  transition: background .28s var(--ease), color .28s var(--ease);
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--cyan-500); color: #fff; }

/* Tarjeta de acceso rápido */
.acceso {
  display: block;
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.acceso:hover {
  transform: translateY(-5px);
  border-color: var(--navy-600);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
}
.acceso__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--navy-050);
  color: var(--navy-700);
  transition: background .28s var(--ease), color .28s var(--ease);
}
.acceso:hover .acceso__icon { background: var(--navy-800); color: #fff; }
.acceso h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.acceso p { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; }
.acceso__go {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--cyan-600);
}

/* --------------------------------------------------------------------------
   8. Tarjetas de contenido (noticias, eventos, publicaciones)
   -------------------------------------------------------------------------- */
.post {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.post:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 186, 234, .45);
  box-shadow: var(--shadow);
}
.post__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.post:hover .post__media img { transform: scale(1.06); }
.post__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: .34rem .72rem;
  border-radius: var(--radius-pill);
  background: rgba(5, 11, 58, .86);
  color: #fff;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.post__tag--cyan { background: rgba(15, 159, 201, .94); }
.post__tag--gold { background: rgba(240, 169, 43, .95); color: #2b1a00; }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-bottom: .7rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cyan-600);
}
.post__meta span { display: inline-flex; align-items: center; gap: .34rem; }
.post__meta .sep { color: var(--line); }
.post h3 { font-size: 1.13rem; margin-bottom: .55rem; }
.post h3 a { color: var(--navy-900); }
.post h3 a:hover { color: var(--cyan-600); }
.post p { font-size: .92rem; color: var(--muted); margin-bottom: 1.1rem; }
.post .link-arrow { margin-top: auto; }

/* Noticia destacada ancha */
.feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature__media { position: relative; min-height: 320px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature__body { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.feature__body h3 { font-size: 1.5rem; }
.feature__body p { color: var(--muted); }

/* Evento en lista */
.event {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.event:hover {
  border-color: rgba(31, 186, 234, .45);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.event__date {
  display: grid;
  place-items: center;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  background: var(--navy-050);
  text-align: center;
}
.event__date b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy-800);
}
.event__date span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-600);
}
.event__info h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.event__info h3 a { color: var(--navy-900); }
.event__info h3 a:hover { color: var(--cyan-600); }
.event__info p { font-size: .88rem; color: var(--muted); margin-bottom: .5rem; }
.event__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .24rem .62rem;
  border-radius: var(--radius-pill);
  background: var(--surface-alt2);
  font-size: .73rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip--cyan { background: var(--cyan-050); color: var(--cyan-600); }
.chip--green { background: #e6f7ee; color: #0a7a45; }
.chip--gold { background: #fef4e2; color: #96650c; }

/* Publicación */
.pub {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pub:hover { border-color: rgba(31, 186, 234, .45); box-shadow: var(--shadow-sm); }
.pub__cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-xs);
}
.pub__cover img { width: 100%; height: 100%; object-fit: cover; }
.pub h3 { font-size: 1.04rem; margin-bottom: .35rem; }
.pub p { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }

/* --------------------------------------------------------------------------
   9. Franjas especiales
   -------------------------------------------------------------------------- */
/* Rejilla de estadísticas / datos */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { padding: 32px 26px; background: #fff; text-align: center; }
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan-600);
}
.fact span { font-size: .86rem; color: var(--muted); }

/* Bloque partido (imagen + contenido) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split__media { position: relative; min-height: 440px; height: 100%; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
  padding: 56px 52px;
  background: var(--surface-alt);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split--navy .split__body { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.split--navy .split__body h2,
.split--navy .split__body h3 { color: #fff; }
.split--navy .split__body p { color: rgba(255, 255, 255, .78); }

/* Lista de características */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: .7rem;
  font-size: .95rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9fc9' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--navy .checks li::before,
.split--navy .checks li::before {
  background-color: rgba(31, 186, 234, .18);
}
.checks--2 { columns: 2; column-gap: 34px; }
.checks--2 li { break-inside: avoid; }

/* Lista numerada de proceso */
.steps { display: grid; gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step {
  position: relative;
  padding: 26px 0 26px 74px;
  border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--navy-050);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy-700);
}
.step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Tarjeta de certificación */
.cert {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--cyan-500);
  border-radius: var(--radius);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert--pro { border-top-color: var(--navy-700); }
.cert--master { border-top-color: var(--gold); }
.cert__kicker {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-600);
}
.cert h3 { margin: .5rem 0 .6rem; }
.cert p { font-size: .92rem; color: var(--muted); }
.cert__list { list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: .9rem; }
.cert__list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  margin: 0;
}
.cert__list li:last-child { border-bottom: 0; }
.cert__list span:first-child { color: var(--muted); }
.cert__list span:last-child { font-weight: 700; color: var(--navy-900); text-align: right; }
.cert .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   10. Tabla
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.tbl th,
table.tbl td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
table.tbl thead th {
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 0;
}
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:nth-child(even) { background: var(--surface-alt); }
table.tbl td strong { font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   11. Acordeón (FAQ)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item.is-open { border-color: rgba(31, 186, 234, .5); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--cyan-600); }
.faq__sign {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-050);
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-600);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a > div { padding: 0 24px 22px; font-size: .94rem; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Formularios
   -------------------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy-900);
}
.field .req { color: var(--red); }
.input,
.select,
.textarea {
  width: 100%;
  padding: .88rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(31, 186, 234, .16);
}
.input::placeholder,
.textarea::placeholder { color: var(--muted-light); }
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  padding-right: 42px;
}
.field--check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .87rem;
  color: var(--muted);
}
.field--check input { margin-top: .28rem; width: 17px; height: 17px; accent-color: var(--cyan-500); flex-shrink: 0; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-alert {
  display: none;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: #e6f7ee;
  border: 1px solid #a9e6c5;
  color: #0a7a45;
  font-size: .9rem;
}
.form-alert.is-visible { display: block; }

/* Tarjeta de formulario flotante (patrón del template) */
.form-card {
  padding: 36px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-card h2,
.form-card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.form-card__sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   13. CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding: 66px 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-500) 100%);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 186, 234, .34), transparent 68%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: .5rem; }
.cta p { margin: 0; max-width: 620px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   14. Listas de contenido / enlaces
   -------------------------------------------------------------------------- */
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.linklist li:last-child { border-bottom: 0; }
.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.linklist a:hover { color: var(--cyan-600); }
.linklist a svg { flex-shrink: 0; opacity: .5; transition: transform .2s var(--ease); }
.linklist a:hover svg { transform: translateX(3px); opacity: 1; }

/* Tarjeta lateral / caja */
.aside-card {
  padding: 28px 26px;
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.aside-card + .aside-card { margin-top: 24px; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.aside-card--navy { background: var(--navy-900); border-color: var(--navy-900); }
.aside-card--navy h3 { color: #fff; }
.aside-card--navy p { color: rgba(255, 255, 255, .75); }

/* Datos de contacto */
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--cyan-050);
  color: var(--cyan-600);
}
.contact-item h4 { margin: 0 0 .2rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item p,
.contact-item a { margin: 0; font-size: .98rem; font-weight: 600; color: var(--navy-900); }
.contact-item a:hover { color: var(--cyan-600); }

/* Mapa */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface-alt2);
  min-height: 380px;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Directorio de colegios
   -------------------------------------------------------------------------- */
.colegio {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.colegio:hover { transform: translateY(-4px); border-color: rgba(31, 186, 234, .45); box-shadow: var(--shadow-sm); }
.colegio__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.colegio__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--navy-050);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-700);
}
.colegio h3 { font-size: 1.02rem; margin: 0 0 .15rem; }
.colegio__state { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-600); }
.colegio p { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.colegio__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   16. Testimonios
   -------------------------------------------------------------------------- */
.quote {
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold); }
.quote blockquote {
  margin: 0 0 22px;
  font-size: .97rem;
  font-style: italic;
  color: var(--ink-soft);
}
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.quote__who b { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--navy-900); }
.quote__who span { font-size: .8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. Pie de página
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding: 74px 0 0;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 46px;
  padding-bottom: 56px;
}
.footer h4 {
  margin-bottom: 1.2rem;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.footer p { color: rgba(255, 255, 255, .68); }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: var(--cyan-300); }
.footer .brand { margin-bottom: 1.3rem; }

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin: 0 0 .62rem; }
.footer__list a { display: inline-flex; align-items: center; gap: .5rem; }
.footer__list a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-400);
  flex-shrink: 0;
}

.footer__contact { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.footer__contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: .85rem;
}
.footer__contact svg { flex-shrink: 0; margin-top: .25rem; color: var(--cyan-400); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}
.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__bottom li { margin: 0; }

/* Botón volver arriba */
.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--cyan-500);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .2s var(--ease);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--navy-800); }

/* --------------------------------------------------------------------------
   18. Animación de entrada
   Los elementos solo se ocultan si JavaScript está disponible; sin JS el
   contenido se muestra completo (evita secciones invisibles).
   -------------------------------------------------------------------------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.has-js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Utilidades de marca / decoración
   -------------------------------------------------------------------------- */
.tint {
  background: linear-gradient(180deg, var(--cyan-050), #fff);
}
.rule {
  height: 1px;
  border: 0;
  margin: 46px 0;
  background: var(--line-soft);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.badge svg { color: var(--cyan-500); }

/* Franja de logos / aliados */
.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}
.partners .badge { background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); }

/* Tamaño por defecto de los iconos SVG en línea.
   Un SVG sin width/height propios adoptaría el tamaño del contenedor y
   podría desbordarse; por eso todo icono parte de 1em y los contenedores
   que requieren iconos mayores lo sobrescriben aquí abajo. */
svg { width: 1em; height: 1em; flex-shrink: 0; }
.social svg,
.topbar svg,
.linklist svg,
.badge svg,
.eyebrow svg,
.checks svg { width: 15px; height: 15px; }
.footer__contact svg { width: 16px; height: 16px; }
.btn svg { width: 17px; height: 17px; }
.contact-item__icon svg { width: 22px; height: 22px; }

/* Iconos de encabezado de tarjeta */
.card__icon svg { width: 27px; height: 27px; }
.acceso__icon svg { width: 27px; height: 27px; }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .header__cta .btn { display: none; }
  .burger { display: grid; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(360px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 22px 20px 40px;
    background: #fff;
    box-shadow: -14px 0 44px rgba(5, 11, 58, .18);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__list > li > a {
    justify-content: space-between;
    padding: 1rem .3rem;
    font-size: 1rem;
  }
  .nav__list > li > a.is-active::after { display: none; }
  .nav__list > li > a.is-active { color: var(--cyan-600); }

  .nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: none;
  }
  .nav__list > li.is-expanded > .nav__drop { display: block; }
  .nav__caret { transition: transform .25s var(--ease); }
  .nav__list > li.is-expanded .nav__caret { transform: rotate(180deg); }

  .hero { padding: 60px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .hero__badge { left: 16px; bottom: -20px; }
  .hero__stats { gap: 26px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--sidebar { grid-template-columns: 1fr; gap: 44px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 260px; }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 300px; }
  .split__body { padding: 44px 34px; }
  .cta { padding: 50px 36px; }
  .checks--2 { columns: 1; }
}

@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .section--tight { padding: 48px 0; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .hero__stats { margin-top: 2.2rem; padding-top: 1.6rem; gap: 22px; }
  .hero__stat b { font-size: 1.55rem; }
  .event { grid-template-columns: 64px 1fr; gap: 16px; padding: 18px; }
  .event .btn { grid-column: 1 / -1; width: 100%; }
  .pub { grid-template-columns: 92px 1fr; gap: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 16px; }
  .fact b { font-size: 1.8rem; }
  .cta { padding: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .topbar__inner { justify-content: center; }
  .topbar__right { width: 100%; justify-content: center; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__name { font-size: .92rem; }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 18px; }
  .btn { width: 100%; }
  .hero__actions .btn,
  .cta__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   21. Impresión
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .header, .totop, .cta, .footer__bottom { display: none; }
  body { color: #000; font-size: 11pt; }
  .section { padding: 18pt 0; }
  a { color: #000; }
  .card, .post, .event, .cert { box-shadow: none; border: 1px solid #ccc; }
}
