/* ==========================================================================
   Educalimpia — hoja de estilos
   Escrita sin variables CSS, sin grid obligatorio, sin flex-gap ni clamp()
   para que funcione igual en móviles y navegadores antiguos (Safari 12+,
   Android 5+, Chrome 49+).

   Paleta
   - Naranja marca   #FF9A00  (fondos, botones)     hover #F28C00
   - Naranja texto   #B25900  (texto sobre blanco, AA)
   - Azul marca      #149AEF  (acentos, iconos)
   - Azul texto      #0A6FBF  (texto sobre blanco, AA)
   - Marino          #0C2D6B  (títulos, secciones oscuras)   oscuro #081F4D
   - Texto           #3A4660   secundario #5B6782
   - Fondos suaves   #FFF7EC (crema)  #F3F7FC (azulado)  líneas #E3E9F2
   ========================================================================== */

/* ---------- Base ---------- */
*, *:before, *:after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3A4660;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
picture { display: block; }
a { color: #0A6FBF; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; }

.h2, .h3, .h4, h1,
.pillar__title, .course__title, .ccard__title, .b2b__title, .explainer__title,
.why__item h3, .form__title, .footer__title, .faq summary, .btn,
.fact__num, .stat strong, .hero__badge strong, .cert-mock__title, .req-card__title {
  font-family: "Poppins", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: 880px; }

a:focus, button:focus, input:focus, select:focus, textarea:focus, summary:focus {
  outline: 3px solid #149AEF;
  outline-offset: 2px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible), summary:focus:not(:focus-visible) { outline: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: #0C2D6B;
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { left: 16px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  vertical-align: middle;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  -webkit-transition: background-color .2s, color .2s, -webkit-transform .2s, box-shadow .2s;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; stroke-width: 2.4; }
.btn--primary { background: #FF9A00; color: #0C2D6B; box-shadow: 0 8px 22px rgba(255, 154, 0, .32); }
.btn--primary:hover { background: #F28C00; color: #081F4D; -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: #0C2D6B; color: #0C2D6B; }
.btn--ghost:hover { background: #0C2D6B; color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: #0C2D6B; }
.btn--light:hover { background: #FFF1DD; }
.btn--sm { padding: 10px 20px; font-size: 14.5px; box-shadow: none; }
.btn--block { display: block; width: 100%; }
button.btn { font-size: 16px; }

.link { color: #B25900; font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link .ico { width: 18px; height: 18px; }

/* ---------- Barra superior ---------- */
.topbar { background: #081F4D; color: #C9D6EA; font-size: 13px; }
.topbar__in {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  min-height: 38px;
}
.topbar p { margin: 0; }
.topbar .ico { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.topbar__claim .ico { color: #FFB547; }
.topbar a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.topbar__hours { margin-left: 18px; }

@media (max-width: 759px) {
  .topbar__claim, .topbar__hours { display: none; }
  .topbar__in { -webkit-justify-content: center; justify-content: center; }
}

/* ---------- Cabecera ---------- */
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid #EDF1F7;
  -webkit-transition: box-shadow .2s;
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(12, 45, 107, .10); }
.header__in {
  position: relative;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  min-height: 72px;
}
.brand { display: block; padding: 10px 0; }
.brand img { display: block; width: auto; height: 42px; }

.navtoggle {
  display: none;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  background: #F3F7FC;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #0C2D6B;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.navtoggle .ico { width: 22px; height: 22px; margin-right: 6px; }
.navtoggle .ico--close { display: none; }
.navtoggle[aria-expanded="true"] .ico--open { display: none; }
.navtoggle[aria-expanded="true"] .ico--close { display: inline-block; }

.nav ul { list-style: none; padding: 0; }
.nav a {
  color: #0C2D6B;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: #B25900; }
.nav .btn--primary, .nav .btn--primary:hover { color: #0C2D6B; }

/* Sin JavaScript: el menú se muestra como una lista bajo el logo */
@media (max-width: 1023px) {
  .no-js .header { position: static; }
}
.no-js .nav { width: 100%; padding-bottom: 12px; }
.no-js .nav ul { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.no-js .nav li { margin: 6px 18px 6px 0; }

@media (max-width: 1023px) {
  .js .navtoggle { display: -webkit-box; display: -webkit-flex; display: flex; }
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #EDF1F7;
    box-shadow: 0 18px 30px rgba(12, 45, 107, .12);
    padding: 8px 20px 20px;
  }
  .js .nav.is-open { display: block; }
  .js .nav li { border-bottom: 1px solid #EEF2F7; }
  .js .nav a { display: block; padding: 14px 4px; font-size: 17px; }
  .js .nav .nav__cta { border-bottom: 0; padding-top: 16px; }
  .js .nav .nav__cta a { display: block; padding: 14px 20px; }
}

@media (min-width: 1024px) {
  .nav ul { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
  .nav li { margin-left: 26px; }
  .nav .nav__cta { margin-left: 30px; }
  .no-js .nav { width: auto; padding-bottom: 0; }
  .brand img { height: 46px; }
}

/* ---------- Tipos comunes ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B25900;
}
.eyebrow--light { color: #FFB547; }
.dots {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 13px;
  margin-right: 10px;
  vertical-align: -1px;
}
.dots:before, .dots:after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.dots:before { left: 0; top: 0; width: 13px; height: 13px; background: #FF9A00; }
.dots:after { left: 9px; top: 3px; width: 10px; height: 10px; background: #149AEF; }

.h2 {
  font-size: 29px;
  line-height: 1.18;
  font-weight: 700;
  color: #0C2D6B;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.h3 { font-size: 20px; color: #0C2D6B; margin: 36px 0 16px; }
.h4 { font-size: 18px; color: #0C2D6B; margin: 0 0 6px; }
.lead { font-size: 17.5px; line-height: 1.65; color: #3A4660; max-width: 680px; }
.note {
  margin-top: 18px;
  font-size: 14px;
  color: #5B6782;
  border-left: 3px solid #FFC98A;
  padding-left: 12px;
  max-width: 640px;
}
.cta-row { margin-top: 28px; }

@media (min-width: 768px) {
  .h2 { font-size: 36px; }
  .lead { font-size: 18.5px; }
  body { font-size: 17px; }
}
@media (min-width: 1100px) {
  .h2 { font-size: 40px; }
}

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section--cream { background: #FFF7EC; }
.section--soft { background: #F3F7FC; }
.section--navy { background: #0C2D6B; color: #C9D6EA; }
.section--navy .h2 { color: #FFFFFF; }
.section--navy .lead { color: #C9D6EA; }
.section__head { max-width: 780px; }
.section__head--center { margin: 0 auto 32px; text-align: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }
@media (min-width: 960px) {
  .section { padding: 96px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #FFF7EC;
  background: -webkit-linear-gradient(top, #FFF3E2 0%, #FFFFFF 100%);
  background: linear-gradient(180deg, #FFF3E2 0%, #FFFFFF 100%);
  padding: 40px 0 120px;
}
.hero:before, .hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero:before { width: 360px; height: 360px; right: -160px; top: -170px; background: #149AEF; opacity: .12; }
.hero:after { width: 560px; height: 560px; left: -330px; bottom: -380px; border: 30px solid #FF9A00; opacity: .16; }

.hero__in {
  position: relative;
  z-index: 1;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  color: #0C2D6B;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.hl {
  background-image: -webkit-linear-gradient(transparent 60%, rgba(255, 154, 0, .5) 60%, rgba(255, 154, 0, .5) 92%, transparent 92%);
  background-image: linear-gradient(transparent 60%, rgba(255, 154, 0, .5) 60%, rgba(255, 154, 0, .5) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead { font-size: 17.5px; line-height: 1.65; max-width: 580px; margin-bottom: 26px; }
.hero__lead strong { color: #0C2D6B; }
.hero__ctas .btn { margin: 0 10px 12px 0; }
.hero__trust { list-style: none; padding: 0; margin: 12px 0 0; }
.hero__trust li { display: inline-block; margin: 0 18px 8px 0; font-size: 15px; font-weight: 600; color: #0C2D6B; }
.hero__trust .ico { width: 20px; height: 20px; padding: 3px; margin-right: 4px; border-radius: 50%; background: #E3F5EC; color: #1F8A57; stroke-width: 3; }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 40px auto 0;
}
.hero__visual:before { content: ""; display: block; padding-top: 94%; }
.hero__sun, .hero__photo, .hero__lens { position: absolute; border-radius: 50%; }
.hero__sun:before, .hero__photo:before, .hero__lens:before { content: ""; display: block; padding-top: 100%; }
.hero__sun { left: 0; top: 0; width: 58%; background: #FF9A00; }
.hero__photo {
  right: 0;
  top: 5%;
  width: 80%;
  overflow: hidden;
  border: 8px solid #FFFFFF;
  box-shadow: 0 24px 50px rgba(12, 45, 107, .22);
  background: #E3E9F2;
}
.hero__lens {
  left: 6%;
  bottom: 0;
  width: 36%;
  border: 6px solid #FFFFFF;
  box-shadow: 0 16px 34px rgba(12, 45, 107, .22);
  background: #E3E9F2;
}
.hero__lens picture { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 50%; }
.hero__lens:after {
  content: "";
  position: absolute;
  top: -16px; left: -16px; right: -16px; bottom: -16px;
  border-radius: 50%;
  border: 4px solid #149AEF;
  border-left-color: transparent;
  border-bottom-color: transparent;
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);
}
.hero__photo img, .hero__lens img, .course__media img, .gallery__item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  z-index: 3;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(12, 45, 107, .18);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.3;
  color: #5B6782;
}
.hero__badge strong { display: block; color: #0C2D6B; font-size: 14px; }
.hero__badge--a { left: -2%; top: 52%; }
.hero__badge-ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  width: 36px; height: 36px;
  margin-right: 10px;
  border-radius: 50%;
  background: #E3F5EC;
  color: #1F8A57;
}
.hero__badge--b { right: 0; bottom: 3%; background: #0C2D6B; color: #FFFFFF; }
.hero__badge .hero__badge-num { display: inline; color: #FFB547; font-size: 26px; margin-right: 10px; line-height: 1; }

@media (min-width: 600px) {
  .hero h1 { font-size: 46px; }
  .hero__badge { font-size: 13.5px; padding: 12px 16px; }
  .hero__badge strong { font-size: 15px; }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 150px; }
  .hero__in {
    -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row;
    -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  }
  .hero__text { -webkit-box-flex: 1; -webkit-flex: 1 1 54%; flex: 1 1 54%; padding-right: 48px; }
  .hero__visual { -webkit-flex: 0 0 44%; flex: 0 0 44%; max-width: 500px; margin: 0; }
  .hero__lead { font-size: 19px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: 56px; }
}

/* ---------- Cuatro pilares ---------- */
.pillars { position: relative; z-index: 2; margin-top: -84px; }
.pillars__list {
  list-style: none;
  padding: 0;
  margin: 0 -10px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.pillar {
  width: -webkit-calc(100% - 20px);
  width: calc(100% - 20px);
  margin: 0 10px 20px;
  display: -webkit-box; display: -webkit-flex; display: flex;
}
.pillar a {
  display: block;
  width: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  border-top: 5px solid #FF9A00;
  padding: 24px 24px 22px;
  box-shadow: 0 16px 40px rgba(12, 45, 107, .12);
  color: #3A4660;
  text-decoration: none;
  -webkit-transition: -webkit-transform .2s, box-shadow .2s;
  transition: transform .2s, box-shadow .2s;
}
.pillar--blue a { border-top-color: #149AEF; }
.pillar a:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(12, 45, 107, .18); }
.pillar__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #FFF1DD;
  color: #B25900;
  margin-bottom: 14px;
}
.pillar__ico .ico { width: 28px; height: 28px; stroke-width: 1.8; }
.pillar--blue .pillar__ico { background: #E6F4FE; color: #0A6FBF; }
.pillar__title { font-size: 19px; line-height: 1.25; color: #0C2D6B; margin-bottom: 8px; }
.pillar p { font-size: 15.5px; margin-bottom: 14px; }
.pillar__more { font-weight: 700; font-size: 15px; color: #B25900; }
.pillar--blue .pillar__more { color: #0A6FBF; }
.pillar__more .ico { width: 18px; height: 18px; -webkit-transition: -webkit-transform .2s; transition: transform .2s; }
.pillar a:hover .pillar__more .ico { -webkit-transform: translateX(4px); transform: translateX(4px); }

/* Móvil: tarjetas compactas con el icono a la izquierda */
@media (max-width: 639px) {
  .pillar { margin-bottom: 14px; }
  .pillar a { position: relative; padding: 18px 18px 16px 84px; min-height: 96px; }
  .pillar__ico { position: absolute; left: 18px; top: 20px; width: 48px; height: 48px; margin: 0; }
  .pillar__ico .ico { width: 24px; height: 24px; }
  .pillar__title { font-size: 17.5px; margin-bottom: 4px; }
  .pillar p { font-size: 14.5px; line-height: 1.5; margin-bottom: 8px; }
  .pillar__more { font-size: 14px; }
  .trust-logos { margin-top: 16px; }
  .trust-logos img { height: 29px; max-width: 108px; margin-left: 5px; margin-right: 5px; }
  .trust-logos img:nth-child(2) { height: 35px; max-width: 78px; }
  .trust-logos img:nth-child(3) { height: 26px; max-width: 72px; }
  .trust-logos img:nth-child(4) { height: 31px; max-width: 62px; }
  .trust-logos img:nth-child(5) { height: 29px; max-width: 76px; }
}
@media (min-width: 640px) {
  .pillar { width: -webkit-calc(50% - 20px); width: calc(50% - 20px); }
}
@media (min-width: 1024px) {
  .pillars { margin-top: -104px; }
  .pillar { width: -webkit-calc(25% - 20px); width: calc(25% - 20px); }
}

/* ---------- Bloques partidos (texto + lateral) ---------- */
.split {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.split__aside { margin-top: 40px; }
@media (min-width: 960px) {
  .split { -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row; -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start; }
  .split__main { -webkit-box-flex: 1; -webkit-flex: 1 1 58%; flex: 1 1 58%; padding-right: 64px; }
  .split__aside { -webkit-flex: 0 0 38%; flex: 0 0 38%; margin-top: 8px; position: -webkit-sticky; position: sticky; top: 104px; }
  .split--reverse { -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -webkit-flex-direction: row-reverse; flex-direction: row-reverse; }
  .split--reverse .split__main { padding-right: 0; padding-left: 64px; }
}

/* Datos clave del arraigo */
.facts {
  list-style: none;
  padding: 0;
  margin: 28px -8px 0;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.fact {
  -webkit-box-flex: 1; -webkit-flex: 1 1 170px; flex: 1 1 170px;
  margin: 0 8px 16px;
  background: #FFFFFF;
  border: 1px solid #F6E3C8;
  border-radius: 18px;
  padding: 18px 20px;
}
.fact__num { display: block; font-size: 28px; line-height: 1.1; font-weight: 700; color: #0C2D6B; margin-bottom: 4px; }
.fact__txt { display: block; font-size: 15px; line-height: 1.45; color: #5B6782; }

/* Pasos numerados */
.steps { list-style: none; padding: 0; }
.step {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  margin-bottom: 16px;
}
.step__n {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: 0 0 38px; flex: 0 0 38px;
  width: 38px; height: 38px;
  margin-right: 14px;
  border-radius: 50%;
  background: #0C2D6B;
  color: #FFFFFF;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}
.step:nth-child(even) .step__n { background: #FF9A00; color: #0C2D6B; }
.step div { padding-top: 6px; }
.step strong { color: #0C2D6B; }

/* Tarjeta con foto */
.photo-card {
  margin: 0 0 20px;
  background: #FFFFFF;
  border-radius: 24px 110px 24px 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(12, 45, 107, .12);
}
.photo-card img { display: block; width: 100%; }
.photo-card figcaption { padding: 14px 20px 16px; font-size: 14px; color: #5B6782; }

.req-card {
  background: #FFFFFF;
  border: 1px solid #F6E3C8;
  border-radius: 20px;
  padding: 22px 24px 10px;
}
.req-card__title { font-size: 17px; color: #0C2D6B; margin-bottom: 14px; }
.req-card__title .ico { color: #B25900; margin-right: 6px; vertical-align: -4px; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; font-size: 15.5px; }
.checklist .ico {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #E6F4FE;
  color: #0A6FBF;
  stroke-width: 3;
}
.checklist--lg li { font-size: 16.5px; margin-bottom: 14px; }

/* Recorrido de acreditación */
.timeline {
  list-style: none;
  padding: 0;
  margin: 32px -8px 0;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  counter-reset: paso;
}
.timeline li {
  position: relative;
  -webkit-box-flex: 1; -webkit-flex: 1 1 210px; flex: 1 1 210px;
  margin: 0 8px 16px;
  background: #F3F7FC;
  border-radius: 18px;
  padding: 20px;
  counter-increment: paso;
}
.timeline li:before {
  content: "0" counter(paso);
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #CFDAEA;
}
.timeline strong { display: block; color: #0C2D6B; font-size: 16px; margin-bottom: 4px; }
.timeline span { display: block; font-size: 14.5px; line-height: 1.5; color: #5B6782; }
.timeline .timeline__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0A6FBF;
}

/* Maqueta de certificado */
.cert-mock {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E3E9F2;
  border-radius: 24px;
  padding: 24px 24px 22px;
  box-shadow: 0 24px 60px rgba(12, 45, 107, .14);
}
.cert-mock:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22px;
  right: -14px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #FF9A00;
  opacity: .9;
}
.cert-mock__head {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  margin-bottom: 18px;
}
.cert-mock__head img { width: auto; height: 30px; }
.cert-mock__tag { background: #E6F4FE; color: #0A6FBF; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.cert-mock__kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5B6782; }
.cert-mock__title { margin: 0 0 10px; font-size: 22px; font-weight: 700; color: #0C2D6B; }
.cert-mock__list { list-style: none; padding: 0; }
.cert-mock__list li {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #E3E9F2;
  font-weight: 700;
  color: #0C2D6B;
  font-size: 15px;
  line-height: 1.3;
}
.cert-mock__list em { display: block; font-style: normal; font-weight: 400; font-size: 13.5px; color: #5B6782; }
.cert-mock__dot {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: 0 0 34px; flex: 0 0 34px;
  width: 34px; height: 34px;
  margin-right: 12px;
  border-radius: 50%;
}
.is-done .cert-mock__dot { background: #E3F5EC; color: #1F8A57; }
.is-done .cert-mock__dot .ico { stroke-width: 3; width: 18px; height: 18px; }
.is-next .cert-mock__dot { background: #FFF1DD; color: #B25900; }
.cert-mock__foot {
  margin-top: 18px;
  background: #0C2D6B;
  color: #FFFFFF;
  border-radius: 14px;
  padding: 13px 16px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}
.cert-mock__foot .ico { color: #FFB547; margin-right: 8px; }

.mini-benefits { list-style: none; padding: 0; margin: 26px 0 0; }
.mini-benefits li { padding: 14px 0; border-top: 1px solid #E3E9F2; font-size: 15px; color: #5B6782; }
.mini-benefits strong { display: block; color: #0C2D6B; font-size: 15.5px; }

/* ---------- Certificados ---------- */
.courses {
  list-style: none;
  padding: 0;
  margin: 36px -12px 0;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.course {
  width: -webkit-calc(100% - 24px);
  width: calc(100% - 24px);
  margin: 0 12px 24px;
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(12, 45, 107, .10);
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.course__media { position: relative; height: 0; padding-top: 60%; overflow: hidden; background: #E3E9F2; }
.course__status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1F8A57;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.course__body {
  -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  padding: 22px 22px 24px;
}
.course__body p { font-size: 15.5px; }
.course__body .btn { margin-top: auto; }
.chips { margin: 0 0 8px !important; }
.chip {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: #F3F7FC;
  color: #3A4660;
  font-size: 12.5px;
  font-weight: 700;
}
.chip--code { background: #0C2D6B; color: #FFFFFF; letter-spacing: .04em; }
.course__title { font-size: 19px; line-height: 1.3; color: #0C2D6B; margin-bottom: 10px; }
.course__facts { list-style: none; padding: 0; margin: 0 0 16px; }
.course__facts li {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  font-size: 14.5px;
  margin-bottom: 8px;
  color: #3A4660;
}
.course__facts .ico { color: #E07F00; margin-right: 10px; }
.course__note {
  background: #FFF7EC;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px !important;
  line-height: 1.5;
  color: #6E440A;
}
.course__more { margin: 0 0 18px; font-size: 14.5px; }
.course__more summary { cursor: pointer; font-weight: 700; color: #0A6FBF; }
.course__more ul { padding-left: 20px; margin-top: 8px; color: #3A4660; }

@media (min-width: 640px) {
  .course { width: -webkit-calc(50% - 24px); width: calc(50% - 24px); }
}
@media (min-width: 1024px) {
  .course { width: -webkit-calc(33.333% - 24px); width: calc(33.333% - 24px); }
}

.explainer {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  margin-top: 16px;
  background: #FFFFFF;
  border-left: 5px solid #149AEF;
  border-radius: 20px;
  padding: 24px;
}
.explainer__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: 0 0 50px; flex: 0 0 50px;
  width: 50px; height: 50px;
  margin-right: 18px;
  border-radius: 50%;
  background: #E6F4FE;
  color: #0A6FBF;
}
.explainer__ico .ico { width: 26px; height: 26px; }
.explainer__title { font-size: 18px; color: #0C2D6B; margin-bottom: 6px; }
.explainer p { margin: 0; font-size: 15.5px; }

/* ---------- Campus ---------- */
.campus__head {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.campus__features { list-style: none; padding: 0; margin: 8px 0 0; }
.campus__features li {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  margin-bottom: 14px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15.5px;
}
.campus__features .ico { width: 24px; height: 24px; margin-right: 12px; color: #FFB547; }
@media (min-width: 960px) {
  .campus__head {
    -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row;
    -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
    -webkit-box-align: end; -webkit-align-items: flex-end; align-items: flex-end;
  }
  .campus__head > div { max-width: 640px; }
  .campus__features { -webkit-flex: 0 0 360px; flex: 0 0 360px; margin: 0 0 16px 40px; }
}

.catalog {
  list-style: none;
  padding: 0;
  margin: 36px -10px 0;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.ccard {
  width: -webkit-calc(100% - 20px);
  width: calc(100% - 20px);
  margin: 0 10px 20px;
  display: -webkit-box; display: -webkit-flex; display: flex;
}
.ccard a {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  width: 100%;
  min-height: 200px;
  background: #FFFFFF;
  border-top: 5px solid #149AEF;
  border-radius: 20px;
  padding: 22px;
  color: #3A4660;
  text-decoration: none;
  -webkit-transition: -webkit-transform .2s, box-shadow .2s;
  transition: transform .2s, box-shadow .2s;
}
.ccard a:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.ccard__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #E6F4FE;
  color: #0A6FBF;
}
.ccard__ico .ico { width: 24px; height: 24px; }
.ccard__cat { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0A6FBF; }
.ccard__title { font-size: 17.5px; line-height: 1.35; color: #0C2D6B; margin: 6px 0 16px; }
.ccard__more { margin-top: auto; font-weight: 700; font-size: 14.5px; color: #0A6FBF; }
.ccard__more .ico { width: 18px; height: 18px; }
.ccard--orange a { border-top-color: #FF9A00; }
.ccard--orange .ccard__ico { background: #FFF1DD; color: #B25900; }
.ccard--orange .ccard__cat, .ccard--orange .ccard__more { color: #B25900; }
.ccard--sky a { border-top-color: #7FC6F5; }
.ccard--sky .ccard__ico { background: #E8EDF7; color: #0C2D6B; }
.ccard--sky .ccard__cat, .ccard--sky .ccard__more { color: #0C2D6B; }
.ccard--green a { border-top-color: #2E9D6A; }
.ccard--green .ccard__ico { background: #E3F5EC; color: #1F7A4D; }
.ccard--green .ccard__cat, .ccard--green .ccard__more { color: #1F7A4D; }
@media (min-width: 640px) {
  .ccard { width: -webkit-calc(50% - 20px); width: calc(50% - 20px); }
}
@media (min-width: 1024px) {
  .ccard { width: -webkit-calc(33.333% - 20px); width: calc(33.333% - 20px); }
}
.campus__foot { text-align: center; margin-top: 12px; }

.b2b {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  margin-top: 48px;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
}
.b2b__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: 0 0 54px; flex: 0 0 54px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #FF9A00;
  color: #0C2D6B;
}
.b2b__ico .ico { width: 26px; height: 26px; }
.b2b__txt { margin: 16px 0 18px; }
.b2b__title { color: #FFFFFF; font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
.b2b p { margin: 0; color: #C9D6EA; font-size: 15.5px; }
.b2b .btn { white-space: nowrap; }
@media (min-width: 860px) {
  .b2b { -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
  .b2b__txt { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; margin: 0 28px; }
}

/* ---------- El centro ---------- */
.gallery {
  margin-top: 36px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #E3E9F2;
}
/* La foto de la fachada viene recortada en círculo desde el PDF: se muestra
   como círculo (eco del logo) sobre fondo crema con el "sol" naranja detrás. */
.gallery__item--big {
  padding-top: 100%;
  margin-bottom: 16px;
  border-radius: 24px;
  background: #FFF7EC;
}
.gallery__item--big:before {
  content: "";
  position: absolute;
  left: 2%;
  top: 2%;
  width: 44%;
  height: 44%;
  border-radius: 50%;
  background: #FF9A00;
}
.gallery__item--big:after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 3%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  border: 4px solid #149AEF;
  border-left-color: transparent;
  border-top-color: transparent;
}
.gallery__item--big picture {
  position: absolute;
  z-index: 1;
  top: 7%;
  left: 7%;
  width: 86%;
  height: 86%;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid #FFFFFF;
  box-shadow: 0 20px 44px rgba(12, 45, 107, .20);
}
.gallery__item--big figcaption { z-index: 2; }
.gallery__grid {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  margin: -8px;
}
.gallery__grid .gallery__item {
  width: -webkit-calc(50% - 16px);
  width: calc(50% - 16px);
  margin: 8px;
  padding-top: -webkit-calc(50% - 16px);
  padding-top: calc(50% - 16px);
}
.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: -webkit-calc(100% - 24px);
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 31, 77, .85);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.gallery__item--big figcaption { left: 16px; bottom: 16px; }
@media (max-width: 599px) {
  .gallery__grid figcaption {
    left: 8px;
    bottom: 8px;
    max-width: -webkit-calc(100% - 16px);
    max-width: calc(100% - 16px);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
  }
}
@media (min-width: 960px) {
  .gallery {
    -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row;
    -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  }
  /* padding-top en % se calcula sobre el ancho de .gallery: 48% => cuadrado */
  .gallery__item--big { -webkit-flex: 0 0 48%; flex: 0 0 48%; padding-top: 48%; margin: 0 24px 0 0; }
  .gallery__grid { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; }
}

.spaces {
  margin-top: 32px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.spaces__list {
  list-style: none;
  padding: 0;
  margin: 0 -6px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-align-content: flex-start; align-content: flex-start;
}
.spaces__list li {
  width: -webkit-calc(100% - 12px);
  width: calc(100% - 12px);
  margin: 0 6px 12px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  background: #F3F7FC;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #0C2D6B;
}
.spaces__list .ico { margin-right: 12px; color: #0A6FBF; }
.spaces__rent {
  margin-top: 12px;
  background: #FFF7EC;
  border: 1px dashed #FFC98A;
  border-radius: 20px;
  padding: 22px 24px;
}
.spaces__rent p { font-size: 15.5px; margin-bottom: 10px; }
@media (min-width: 600px) {
  .spaces__list li { width: -webkit-calc(50% - 12px); width: calc(50% - 12px); }
}
@media (min-width: 960px) {
  .spaces { -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row; -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start; }
  .spaces__list { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; }
  .spaces__rent { -webkit-flex: 0 0 340px; flex: 0 0 340px; margin: 0 0 0 24px; }
}

/* ---------- Por qué Educalimpia ---------- */
.why {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.stat-row {
  display: -webkit-box; display: -webkit-flex; display: flex;
  margin: 26px -8px 24px;
}
.stat { -webkit-box-flex: 1; -webkit-flex: 1 1 0; flex: 1 1 0; margin: 0 8px; }
.stat strong { display: block; font-size: 32px; line-height: 1; font-weight: 700; color: #0C2D6B; margin-bottom: 6px; }
.stat span { display: block; font-size: 13.5px; line-height: 1.35; color: #5B6782; }
.institutional {
  background: #FFFFFF;
  border-left: 4px solid #FF9A00;
  border-radius: 0 16px 16px 0;
  padding: 16px 18px;
  font-size: 14.5px;
}
.institutional p { margin: 0; }
.institutional .institutional__kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #B25900; margin-bottom: 4px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; margin: 20px -8px -4px; }
.trust-logos img { display: block; width: auto; height: 34px; max-width: 132px; object-fit: contain; object-position: center; margin: 4px 8px; mix-blend-mode: multiply; }
.trust-logos img:nth-child(2) { height: 42px; max-width: 90px; }
.trust-logos img:nth-child(3) { height: 30px; max-width: 86px; }
.trust-logos img:nth-child(4) { height: 36px; max-width: 72px; }
.trust-logos img:nth-child(5) { height: 34px; max-width: 86px; }
.why__grid {
  list-style: none;
  padding: 0;
  margin: 32px -8px 0;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.why__item {
  width: -webkit-calc(100% - 16px);
  width: calc(100% - 16px);
  margin: 0 8px 16px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(12, 45, 107, .07);
}
.why__item h3 { font-size: 16.5px; line-height: 1.3; color: #0C2D6B; margin: 12px 0 6px; }
.why__item p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #5B6782; }
.why__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #FFF1DD;
  color: #B25900;
}
.why__ico .ico { width: 24px; height: 24px; }
.why__ico--blue { background: #E6F4FE; color: #0A6FBF; }
@media (min-width: 600px) {
  .why__item { width: -webkit-calc(50% - 16px); width: calc(50% - 16px); }
}
@media (min-width: 960px) {
  .why { -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
  .why__intro { -webkit-flex: 0 0 42%; flex: 0 0 42%; padding-right: 56px; }
  .why__grid { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; margin-top: 0; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq details {
  background: #FFFFFF;
  border: 1px solid #E3E9F2;
  border-radius: 16px;
  margin-bottom: 12px;
  -webkit-transition: border-color .2s, box-shadow .2s;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #FFC98A; box-shadow: 0 12px 30px rgba(12, 45, 107, .08); }
.faq summary {
  display: block;
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 58px 18px 22px;
  font-size: 16.5px;
  line-height: 1.4;
  color: #0C2D6B;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico {
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 50%;
  background: #FFF1DD;
  color: #B25900;
  -webkit-transition: -webkit-transform .2s;
  transition: transform .2s;
}
.faq details[open] summary .ico { -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; font-size: 16px; }

/* ---------- Contacto ---------- */
.contact {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.contact__info {
  position: relative;
  overflow: hidden;
  background: #0C2D6B;
  color: #C9D6EA;
  border-radius: 24px;
  padding: 32px 26px 36px;
}
.contact__info:after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #FF9A00;
  opacity: .9;
}
@media (min-width: 600px) {
  .contact__info:after { right: -90px; width: 240px; height: 240px; }
}
.contact__info > * { position: relative; z-index: 1; }
.contact__info .h2 { color: #FFFFFF; }
.contact__list { list-style: none; padding: 0; margin: 22px 0 26px; }
.contact__list li {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  margin-bottom: 16px;
  color: #FFFFFF;
  font-size: 15.5px;
  line-height: 1.45;
}
.contact__list small {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9FB3D1;
}
.contact__list a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__ico {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: 0 0 42px; flex: 0 0 42px;
  width: 42px; height: 42px;
  margin-right: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  color: #FFB547;
}

.form {
  margin-top: 24px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 18px 44px rgba(12, 45, 107, .10);
}
.form__title { font-size: 20px; color: #0C2D6B; margin-bottom: 18px; }
.form__alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FDECEA;
  border-left: 4px solid #C62828;
  color: #7F1D1D;
  font-size: 15px;
}
[hidden] { display: none !important; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14.5px; color: #0C2D6B; }
.field label span { color: #B25900; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: #1A2540;
  background: #FFFFFF;
  border: 1.5px solid #C9D3E2;
  border-radius: 12px;
  padding: 13px 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2D6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #149AEF;
  box-shadow: 0 0 0 4px rgba(20, 154, 239, .18);
}
.field--check {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  margin: 4px 0 20px;
}
.field--check input {
  -webkit-flex: 0 0 22px; flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 1px 12px 0 0;
  padding: 0;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: auto;
  accent-color: #0C2D6B;
}
.field--check label { margin: 0; font-weight: 400; font-size: 14.5px; color: #3A4660; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: #5B6782; }

@media (min-width: 600px) {
  .form { padding: 32px; }
  .form__row { display: -webkit-box; display: -webkit-flex; display: flex; margin: 0 -8px; }
  .form__row .field { -webkit-box-flex: 1; -webkit-flex: 1 1 0; flex: 1 1 0; margin-left: 8px; margin-right: 8px; }
}
@media (min-width: 960px) {
  .contact { -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row; -webkit-box-align: stretch; -webkit-align-items: stretch; align-items: stretch; }
  .contact__info { -webkit-flex: 0 0 40%; flex: 0 0 40%; margin-right: 28px; padding: 40px 36px; }
  .form { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; margin-top: 0; padding: 36px 40px; }
}

/* ---------- Pie ---------- */
.footer { background: #081F4D; color: #AFC0DA; padding: 56px 0 96px; font-size: 14.5px; }
.footer__top {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.footer__brand { width: 100%; margin-bottom: 8px; }
.footer__brand img { width: 170px; height: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 340px; }
.footer__col { -webkit-box-flex: 1; -webkit-flex: 1 1 180px; flex: 1 1 180px; margin-top: 16px; padding-right: 16px; }
.footer__title { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #DCE6F5; text-decoration: none; word-break: break-word; }
.footer a:hover { color: #FFB547; }
.footer__bottom {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
}
.footer__bottom p { margin: 4px 24px 4px 0; }
@media (min-width: 960px) {
  .footer { padding-bottom: 28px; }
  .footer__brand { width: auto; -webkit-flex: 0 0 34%; flex: 0 0 34%; margin-right: auto; }
}

/* Botón flotante de llamada (solo móvil) */
.callfab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  background: #FF9A00;
  color: #0C2D6B;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 10px 26px rgba(12, 45, 107, .30);
}
.callfab .ico { width: 20px; height: 20px; margin-right: 8px; }
@media (min-width: 960px) {
  .callfab { display: none; }
}

/* ---------- Páginas interiores (legal, gracias) ---------- */
.page { padding: 56px 0 72px; }
.page h1 { font-size: 32px; line-height: 1.2; color: #0C2D6B; margin-bottom: 20px; font-weight: 700; }
.page h2 { font-size: 20px; color: #0C2D6B; margin: 32px 0 10px; font-family: "Poppins", "Segoe UI", Arial, sans-serif; }
.page p, .page li { font-size: 16px; }
.page ul { padding-left: 22px; margin-bottom: 16px; }
.page .back { display: inline-block; margin-bottom: 24px; font-weight: 700; text-decoration: none; color: #B25900; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks__ico {
  display: inline-block;
  width: 84px; height: 84px;
  padding: 20px;
  border-radius: 50%;
  background: #E3F5EC;
  color: #1F8A57;
  margin-bottom: 20px;
}
.thanks__ico .ico { width: 44px; height: 44px; stroke-width: 2.6; }
.thanks .btn { margin: 8px 6px; }

/* ==========================================================================
   Catálogo y fichas de curso
   ========================================================================== */
.nav a[aria-current="page"] { color: #B25900; }
.crumbs { margin-bottom: 18px; font-size: 14px; color: #5B6782; }
.crumbs a { color: #0A6FBF; font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 8px; color: #AAB6C8; }

.pagehero, .chero {
  position: relative;
  overflow: hidden;
  background: #FFF7EC;
  background: -webkit-linear-gradient(top, #FFF3E2 0%, #FFFFFF 100%);
  background: linear-gradient(180deg, #FFF3E2 0%, #FFFFFF 100%);
}
.pagehero { padding: 32px 0 30px; }
.pagehero:before, .chero:before {
  content: "";
  position: absolute;
  right: -150px;
  top: -170px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #149AEF;
  opacity: .12;
  pointer-events: none;
}
.pagehero .wrap, .chero .wrap { position: relative; z-index: 1; }
.pagehero h1, .chero h1 {
  margin: 0 0 14px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: #0C2D6B;
}
@media (min-width: 768px) {
  .pagehero h1 { font-size: 44px; }
  .chero h1 { font-size: 38px; }
}

.filters { margin-top: 20px; }
.filter {
  display: inline-block;
  margin: 0 8px 10px 0;
  padding: 9px 16px;
  border: 1.5px solid #D5DEEA;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0C2D6B;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  -webkit-transition: background-color .2s, border-color .2s, color .2s;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter span {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #F3F7FC;
  color: #5B6782;
  font-size: 12.5px;
}
.filter:hover { border-color: #FF9A00; }
.filter.is-active { background: #0C2D6B; border-color: #0C2D6B; color: #FFFFFF; }
.filter.is-active span { background: rgba(255, 255, 255, .18); color: #FFFFFF; }
.no-js .filters { display: none; }
.catalog-count { margin: 0; font-size: 15px; font-weight: 700; color: #5B6782; }
.section.catalogo { padding-top: 32px; }
.courses--catalog { margin-top: 18px; }
.course.is-hidden { display: none !important; }
a.course__media { display: block; }
.course__title a { color: inherit; text-decoration: none; }
.course__title a:hover { color: #B25900; }
.course__body .course__link { margin: auto 0 14px; font-size: 15px; }
.course__body .course__link + .btn { margin-top: 0; }
.chip--presencial { background: #FFF1DD; color: #8A4500; }
.chip--online { background: #E6F4FE; color: #0A5C9E; }
.center-cta { margin: 8px 0 0; text-align: center; }
.ico.ico--left { margin: 0 8px 0 0; }

/* Ilustración de los cursos online (sin foto) */
.course__art {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  color: #FFFFFF;
  background: #149AEF;
  background: -webkit-linear-gradient(315deg, #149AEF 0%, #0C2D6B 100%);
  background: linear-gradient(135deg, #149AEF 0%, #0C2D6B 100%);
}
.course__art:before, .course__art:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  -webkit-transition: -webkit-transform .5s;
  transition: transform .5s;
}
.course__art:before { width: 64%; padding-top: 64%; right: -16%; bottom: -34%; background: #FF9A00; opacity: .95; }
.course__art:after { width: 44%; padding-top: 44%; left: -10%; top: -20%; border: 3px solid rgba(255, 255, 255, .35); }
.course__art-ico {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.course__art-ico .ico { width: 56px; height: 56px; stroke-width: 1.6; }
.course__art-label {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 31, 77, .6);
  font-size: 12.5px;
  font-weight: 700;
}
.course__art--administracion {
  background: #3B6FD1;
  background: -webkit-linear-gradient(315deg, #4B7BE0 0%, #0C2D6B 100%);
  background: linear-gradient(135deg, #4B7BE0 0%, #0C2D6B 100%);
}
.course__art--sociosanitario {
  background: #F28C00;
  background: -webkit-linear-gradient(315deg, #FFB547 0%, #D96C00 100%);
  background: linear-gradient(135deg, #FFB547 0%, #D96C00 100%);
}
.course__art--sociosanitario:before { background: #149AEF; }
.course__art--medioambiente {
  background: #2E9D6A;
  background: -webkit-linear-gradient(315deg, #47C28B 0%, #1B5E40 100%);
  background: linear-gradient(135deg, #47C28B 0%, #1B5E40 100%);
}

/* Cabecera de la ficha */
.chero { padding: 30px 0 52px; }
.chero__in {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.chero .lead { font-size: 17.5px; }
.kfacts {
  list-style: none;
  padding: 0;
  margin: 22px -6px 16px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.kfacts li {
  -webkit-box-flex: 1; -webkit-flex: 1 1 130px; flex: 1 1 130px;
  margin: 0 6px 12px;
  padding: 12px 14px;
  border: 1px solid #F1E2CC;
  border-radius: 16px;
  background: #FFFFFF;
}
.kfacts strong {
  display: block;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.15;
  color: #0C2D6B;
}
.kfacts span { display: block; font-size: 13px; line-height: 1.35; color: #5B6782; }
.chero__media { position: relative; width: 100%; max-width: 460px; margin: 30px auto 0; }
.chero__media:before {
  content: "";
  position: absolute;
  left: -6%;
  top: -7%;
  width: 46%;
  padding-top: 46%;
  border-radius: 50%;
  background: #FF9A00;
}
.chero__media picture, .chero__media .course__art {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  border-radius: 28px 120px 28px 28px;
  box-shadow: 0 24px 50px rgba(12, 45, 107, .20);
}
.chero__media img { display: block; width: 100%; height: auto; }
.chero__media .course__art { height: 0; padding-top: 82%; }
.chero__media .course__art-ico { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
.chero__media .course__art-ico .ico { width: 72px; height: 72px; }
@media (min-width: 960px) {
  .chero { padding: 36px 0 72px; }
  .chero__in {
    -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row;
    -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  }
  .chero__text { -webkit-box-flex: 1; -webkit-flex: 1 1 58%; flex: 1 1 58%; padding-right: 56px; }
  .chero__media { -webkit-flex: 0 0 40%; flex: 0 0 40%; margin: 0; }
}

.edition {
  margin: 0 0 40px;
  padding: 20px 22px;
  border: 1px dashed #FFC98A;
  border-radius: 20px;
  background: #FFF7EC;
}
.edition__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1F8A57;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}
.edition p { margin: 0 0 8px; color: #6E440A; }

.cdetail {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
}
.cdetail__main .h3:first-child { margin-top: 0; }
.cdetail__aside { margin-top: 40px; }
@media (min-width: 960px) {
  .cdetail {
    -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row;
    -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start;
  }
  .cdetail__main { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; padding-right: 56px; }
  .cdetail__aside {
    -webkit-flex: 0 0 380px; flex: 0 0 380px;
    margin-top: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
  }
}
.form--side { margin-top: 0; padding: 26px 24px; border-top: 5px solid #FF9A00; }
.form__sub { margin: -8px 0 18px; font-size: 15px; color: #5B6782; }
.form__phone { margin: 12px 0 0; text-align: center; font-size: 14.5px; }
.form__phone a { color: #0A6FBF; font-weight: 700; text-decoration: none; }

.modules {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  overflow: hidden;
  border: 1px solid #E3E9F2;
  border-radius: 18px;
  background: #FFFFFF;
}
.modules__item {
  position: relative;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  padding: 16px 18px 22px;
  border-bottom: 1px solid #EEF2F7;
}
.modules__item:last-child { border-bottom: 0; }
.modules__n {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: 0 0 40px; flex: 0 0 40px;
  width: 40px; height: 40px;
  margin-right: 14px;
  border-radius: 50%;
  background: #E6F4FE;
  color: #0A6FBF;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.modules__item--mp .modules__n { background: #FFF1DD; color: #B25900; }
.modules__txt { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; }
.modules__txt strong { display: block; font-size: 15.5px; line-height: 1.35; color: #0C2D6B; }
.modules__txt small { font-size: 12.5px; letter-spacing: .04em; color: #5B6782; }
.modules__h {
  -webkit-flex: 0 0 auto; flex: 0 0 auto;
  margin-left: 14px;
  white-space: nowrap;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #0C2D6B;
}
.modules__bar {
  position: absolute;
  left: 72px;
  right: 18px;
  bottom: 9px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #EEF2F7;
}
.modules__bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #149AEF;
  background: -webkit-linear-gradient(left, #149AEF, #0C2D6B);
  background: linear-gradient(90deg, #149AEF, #0C2D6B);
  -webkit-transform-origin: left center;
  transform-origin: left center;
}
.modules__item--mp .modules__bar i { background: #FF9A00; }
.tags { list-style: none; padding: 0; margin: 0; }
.tags li {
  display: inline-block;
  margin: 0 8px 10px 0;
  padding: 7px 14px;
  border: 1px solid #E3E9F2;
  border-radius: 999px;
  background: #F3F7FC;
  color: #0C2D6B;
  font-size: 14.5px;
  font-weight: 600;
}

.ctaband {
  position: relative;
  overflow: hidden;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  padding: 32px 26px;
  border-radius: 28px;
  background: #0C2D6B;
  color: #C9D6EA;
}
.ctaband:after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #FF9A00;
  opacity: .9;
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband .h2 { color: #FFFFFF; }
.ctaband__btns .btn { margin: 6px 10px 6px 0; }
@media (min-width: 860px) {
  .ctaband {
    -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row;
    -webkit-box-align: center; -webkit-align-items: center; align-items: center;
    padding: 44px 48px;
  }
  .ctaband__txt { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; padding-right: 40px; }
  .ctaband__btns { -webkit-flex: 0 0 auto; flex: 0 0 auto; }
}

/* Tarjetas: elevación al pasar el ratón */
.courses .course {
  -webkit-transition: -webkit-transform .25s, box-shadow .25s;
  transition: transform .25s, box-shadow .25s;
}
.courses .course:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: 0 22px 48px rgba(12, 45, 107, .16); }
.course__media img { -webkit-transition: -webkit-transform .6s; transition: transform .6s; }
.courses .course:hover .course__media img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.courses .course:hover .course__art:before { -webkit-transform: scale(1.12); transform: scale(1.12); }
.pillar__ico { -webkit-transition: -webkit-transform .3s; transition: transform .3s; }
.pillar a:hover .pillar__ico { -webkit-transform: rotate(-8deg) scale(1.08); transform: rotate(-8deg) scale(1.08); }

/* ==========================================================================
   Animaciones
   Todo va dentro de prefers-reduced-motion: no-preference. Los navegadores
   antiguos no conocen esta media query y muestran la página sin animar; las
   personas que piden "reducir movimiento" en su sistema, también.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @-webkit-keyframes subir { from { opacity: 0; -webkit-transform: translateY(22px); } to { opacity: 1; -webkit-transform: none; } }
  @keyframes subir { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @-webkit-keyframes aparecer { from { opacity: 0; -webkit-transform: scale(.82); } to { opacity: 1; -webkit-transform: none; } }
  @keyframes aparecer { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
  @-webkit-keyframes flotar { 0%, 100% { -webkit-transform: translateY(0); } 50% { -webkit-transform: translateY(-12px); } }
  @keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @-webkit-keyframes girar { from { -webkit-transform: rotate(10deg); } to { -webkit-transform: rotate(370deg); } }
  @keyframes girar { from { transform: rotate(10deg); } to { transform: rotate(370deg); } }
  @-webkit-keyframes subrayar { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
  @keyframes subrayar { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
  @-webkit-keyframes pulso { from { box-shadow: 0 0 0 0 rgba(255, 154, 0, .6), 0 10px 26px rgba(12, 45, 107, .3); } to { box-shadow: 0 0 0 18px rgba(255, 154, 0, 0), 0 10px 26px rgba(12, 45, 107, .3); } }
  @keyframes pulso { from { box-shadow: 0 0 0 0 rgba(255, 154, 0, .6), 0 10px 26px rgba(12, 45, 107, .3); } to { box-shadow: 0 0 0 18px rgba(255, 154, 0, 0), 0 10px 26px rgba(12, 45, 107, .3); } }
  @-webkit-keyframes brillo { from { -webkit-transform: translateX(-150%) skewX(-20deg); } to { -webkit-transform: translateX(350%) skewX(-20deg); } }
  @keyframes brillo { from { transform: translateX(-150%) skewX(-20deg); } to { transform: translateX(350%) skewX(-20deg); } }

  /* Entrada de la portada y de las cabeceras de página */
  .js .hero__text > *, .js .pagehero .wrap > *, .js .chero__text > * {
    -webkit-animation: subir .75s cubic-bezier(.2, .7, .2, 1) both;
    animation: subir .75s cubic-bezier(.2, .7, .2, 1) both;
  }
  .js .hero__text > :nth-child(2), .js .pagehero .wrap > :nth-child(2), .js .chero__text > :nth-child(2) { -webkit-animation-delay: .1s; animation-delay: .1s; }
  .js .hero__text > :nth-child(3), .js .pagehero .wrap > :nth-child(3), .js .chero__text > :nth-child(3) { -webkit-animation-delay: .2s; animation-delay: .2s; }
  .js .hero__text > :nth-child(4), .js .pagehero .wrap > :nth-child(4), .js .chero__text > :nth-child(4) { -webkit-animation-delay: .3s; animation-delay: .3s; }
  .js .hero__text > :nth-child(5), .js .pagehero .wrap > :nth-child(5), .js .chero__text > :nth-child(5) { -webkit-animation-delay: .4s; animation-delay: .4s; }
  .js .hero__text > :nth-child(6), .js .pagehero .wrap > :nth-child(6), .js .chero__text > :nth-child(6) { -webkit-animation-delay: .5s; animation-delay: .5s; }

  .js .hero__sun { -webkit-animation: aparecer .9s .1s both, flotar 8s 1.2s ease-in-out infinite; animation: aparecer .9s .1s both, flotar 8s 1.2s ease-in-out infinite; }
  .js .hero__photo { -webkit-animation: aparecer 1s .2s both; animation: aparecer 1s .2s both; }
  .js .hero__lens { -webkit-animation: aparecer .9s .5s both, flotar 6.5s 1.6s ease-in-out infinite; animation: aparecer .9s .5s both, flotar 6.5s 1.6s ease-in-out infinite; }
  .hero__lens:after, .gallery__item--big:after { -webkit-animation: girar 22s linear infinite; animation: girar 22s linear infinite; }
  .js .hero__badge--a { -webkit-animation: subir .7s .8s both; animation: subir .7s .8s both; }
  .js .hero__badge--b { -webkit-animation: subir .7s 1s both; animation: subir .7s 1s both; }
  .js .hl { -webkit-animation: subrayar .9s .7s both; animation: subrayar .9s .7s both; }
  .js .chero__media { -webkit-animation: aparecer .9s .2s both; animation: aparecer .9s .2s both; }
  .chero__media:before, .gallery__item--big:before { -webkit-animation: flotar 8s ease-in-out infinite; animation: flotar 8s ease-in-out infinite; }
  .callfab { -webkit-animation: pulso 1.6s 2.5s 3; animation: pulso 1.6s 2.5s 3; }

  /* Destello en los botones principales */
  .btn--primary { position: relative; overflow: hidden; }
  .btn--primary:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 36%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
    -webkit-transform: translateX(-150%) skewX(-20deg);
    transform: translateX(-150%) skewX(-20deg);
    pointer-events: none;
  }
  .btn--primary:hover:after { -webkit-animation: brillo .9s ease; animation: brillo .9s ease; }

  /* Aparición al hacer scroll (main.js añade .reveal solo si el navegador
     tiene IntersectionObserver; sin él todo se ve desde el principio). */
  .reveal {
    opacity: 0;
    -webkit-transform: translateY(28px);
    transform: translateY(28px);
    -webkit-transition: opacity .7s cubic-bezier(.2, .7, .2, 1), -webkit-transform .7s cubic-bezier(.2, .7, .2, 1);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  }
  .reveal.is-visible { opacity: 1; -webkit-transform: none; transform: none; }
  .reveal .modules__bar i { -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transition: -webkit-transform 1.1s .25s cubic-bezier(.2, .7, .2, 1); transition: transform 1.1s .25s cubic-bezier(.2, .7, .2, 1); }
  .reveal.is-visible .modules__bar i { -webkit-transform: none; transform: none; }

  /* Tarjetas que reaparecen al filtrar el catálogo */
  .course.pop { -webkit-animation: subir .45s both; animation: subir .45s both; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { -webkit-transition: none !important; transition: none !important; -webkit-animation: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .topbar, .header, .callfab, .form, .hero__visual { display: none !important; }
  .section { padding: 24px 0; }
}
