/* Scale the entire home page, including navigation and spacing, to 90%. */
body.home-page {
  zoom: 0.90;
}

/* HOME header and hero */
.home-page .hero .cta {
  gap: 14px;
  background: #065cff;
  color: #fff;
  border-radius: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 12px 28px #065cff20;
}
.home-page .cta > span[aria-hidden] { font-size: 1.5em; line-height: 1; }
.home-page .hero .cta:hover { background: #004bdb; }
.home-page .hero {
  padding: clamp(26px, 2.4vw, 38px) 0 22px;
  color: #050b19;
  isolation: isolate;
  background: #f4f9fd;
}
.home-page .hero::after { content: none; }
/* Bound the artwork to the content width instead of enlarging it with the screen. */
.home-page .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: min(100%, 1600px);
  height: 100%;
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  background: url("../assets/fondo.webp") center top / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.home-page .hero-inner { width: min(1440px, 89.5%); max-width: 1440px; }
.home-page .hero-copy { width: 51%; }
.home-page .hero .eyebrow {
  margin-bottom: 16px;
  color: #475570;
  font-size: clamp(10px, 1vw, 16px);
  font-weight: 500;
  letter-spacing: .13em;
}
.home-page .hero .eyebrow strong { color: #065cff; font-weight: 800; }
.home-page .hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(32px, 3.85vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.055em;
  color: #030815;
  white-space: normal;
  text-shadow: none;
}
.home-page .hero h1 span { display: inline; white-space: nowrap; margin-top: 0; color: #065cff; text-shadow: none; }
.home-page .hero .hero-intro {
  text-shadow: none;
  max-width: 660px;
  margin: 16px 0 0;
  color: #44516b;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.6;
}
.home-page .hero-actions { margin-top: 18px; }
.home-page .hero .cta { min-height: 56px; padding: 15px 30px; font-size: 18px; gap: 14px; }
.hero-benefits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1450px, 91%);
  margin: clamp(20px, 1.7vw, 28px) auto 0;
  padding: 14px 24px;
  list-style: none;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 50px #274a7310;
}
.hero-benefits li { display: flex; align-items: center; gap: 26px; padding: 0 18px; }
.hero-benefits li + li { border-left: 1px solid #d6e0ed; padding-left: 38px; }
.benefit-icon {
  display: grid;
  place-items: center;
  width: clamp(62px, 6vw, 96px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, #e7f2ff, #f6faff);
  color: #065cff;
}
.benefit-icon img { width: 62%; height: 62%; object-fit: contain; }
.hero-benefits strong { display: block; font-size: clamp(15px, 1.35vw, 21px); font-weight: 800; }
.hero-benefits div > span { display: block; margin-top: 3px; color: #596983; font-size: clamp(13px, 1.2vw, 19px); }
@media (max-width: 1100px) {
.home-page .hero::before { content: none; }
  /* Keep the background independent of text height, including browser zoom. */
.home-page .hero {
    background: #f4f9fd;
  }
.home-page .hero-inner {
    isolation: isolate;
  }
.home-page .hero-copy {
    width: min(100%, 680px);
  }
.home-page .hero-inner::before {
    content: "";
    position: absolute;
    inset: -54px calc((100% - 100vw) / 2) -20px;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(rgba(255,255,255,.58), rgba(244,249,253,.68)),
      url("../assets/fondo.webp") right center / min(150vw, 1100px) auto no-repeat;
    filter: blur(4px);
  }
.hero-benefits li { gap: 14px; padding: 0 12px; }
.hero-benefits li + li { padding-left: 18px; }
}
@media (max-width: 980px) {
.home-page .hero h1 { font-size: clamp(30px, 3.9vw, 40px); }
.hero-benefits { padding: 16px 10px; }
.benefit-icon { width: 52px; }
}
@media (max-width: 700px) {
.home-page .hero {
    padding: 22px 0 18px;
    background: #f4f9fd;
  }
.home-page .hero-inner { width: calc(100% - 40px); }
.home-page .hero-copy { width: 100%; }
.home-page .hero .eyebrow { font-size: 10px; margin-bottom: 16px; }
.home-page .hero h1 { font-size: clamp(28px, 7vw, 46px); }
.home-page .hero .hero-intro { font-size: 16px; margin-top: 16px; }
.home-page .hero .cta { padding: 14px 28px; }
.hero-benefits { grid-template-columns: 1fr; width: calc(100% - 32px); margin-top: 12px; padding: 10px 22px; border-radius: 20px; }
.hero-benefits li { padding: 16px 0; gap: 20px; }
.hero-benefits li + li { border-left: 0; border-top: 1px solid #d6e0ed; padding-left: 0; }
.hero-benefits strong { font-size: 17px; }
.hero-benefits div > span { font-size: 14px; }
}

/* Statistics strip below the hero */
.home-stats-section {
  --line: rgba(32,145,255,.35);
  padding: 18px 0;
  background: linear-gradient(115deg, #102b51, #111d39);
}
.home-stats-section .stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
}
.home-stats-section .stat {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  padding: 0 24px;
  text-align: left;
  border-bottom: 0;
}
.home-stats-section .stat:first-child { padding-left: 0; }
.home-stats-section .stat-value { display: contents; }
.home-stats-section .stat-value svg {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 60px;
  height: 60px;
  padding: 8px;
  stroke: #065cff;
  stroke-width: 2;
}
.home-stats-section .stat strong {
  grid-column: 2;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.home-stats-section .stat > span {
  grid-column: 2;
  margin-top: 5px;
  color: #e4ebf8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.5;
}
@media (max-width: 980px) {
.home-stats-section .stat { grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; padding: 0 14px; }
.home-stats-section .stat-value svg { width: 48px; height: 48px; padding: 6px; }
}
@media (max-width: 700px) {
.home-stats-section { padding: 8px 0; }
.home-stats-section .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-stats-section .stat,

.home-stats-section .stat:first-child { padding: 16px 10px; column-gap: 10px; }
.home-stats-section .stat:nth-child(2) { border-right: 0; }
.home-stats-section .stat:nth-child(-n/**/+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 360px) {
.home-stats-section .stat { grid-template-columns: 38px minmax(0, 1fr); }
.home-stats-section .stat-value svg { width: 38px; height: 38px; padding: 4px; }
}
.home-page .home-proof {
  background: #d4eafa;
  border-bottom-color: #e1ebf8;
}


.home-proof blockquote mark {
  background: #dceaff;
  color: #24333e;
  font-weight: 700;
  padding: .08em .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.home-proof .compact-testimonials { gap: 20px; }
.home-proof .testimonial-card {
  position: relative;
  min-height: 0;
  padding: 28px 24px 24px;
  border: 1px solid #e5eefb;
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 30px rgba(37,79,132,.07);
}
.home-proof .testimonial-quote {
  position: absolute;
  top: 8px;
  right: 20px;
  color: #c3dcff;
  font: 800 64px/1 Georgia, serif;
  pointer-events: none;
}
.home-proof .testimonial-rating { margin-bottom: 14px; color: #ffae00; }
.home-proof .testimonial-card blockquote {
  color: #34415a;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.65;
}
.home-proof .testimonial-avatar {
  display: grid;
  flex-shrink: 0;
  background: #e6f0ff;
  color: #065cff;
}
.home-proof .testimonial-author strong { color: #152440; font-size: .84rem; }
.home-proof .testimonial-author div > span { color: #74829f; font-size: .75rem; }

/* Align every HOME section with the shared header. */
.home-page {
  --max: 1440px;
}
.home-page main .container,

.home-page footer .container {
  width: min(var(--max), 89.5%);
  max-width: var(--max);
}
@media (max-width: 1100px) {
  .home-page main .container,

  .home-page footer .container {
    width: 92%;
  }
}


/* The problem: practical questions paired with an engineering scene. */
.home-problem { position: relative; isolation: isolate; padding: 48px 0 58px; background: #fff; }
.problem-layout { display: grid; grid-template-columns: 1.08fr 1fr; position: relative; gap: 32px 12px; }
.problem-copy { position: relative; z-index: 1; }
body.home-page main .home-problem .problem-eyebrow { color: #ed0018; text-align: left; margin: 0 0 28px; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.home-page main .home-problem h2 { margin: 0 0 20px; color: #080b1e; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.18; letter-spacing: -.055em; text-transform: none; }
.problem-copy h2 span { color: #065cff; }
.problem-intro { margin: 0; color: #536180; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.55; }
.problem-question { display: flex; align-items: center; gap: 18px; margin: 24px 0 12px; padding: 14px 18px; border-radius: 10px; background: #fff0f5; color: #080b1e; font-size: clamp(18px, 1.85vw, 26px); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.problem-question-icon,
 .problem-doubt-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; color: #ff0048; background: #ffdae7; }
.problem-question-icon { width: 58px; height: 58px; font-size: 40px; font-weight: 700; }
.problem-doubts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.problem-doubts li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 9px; background: #fff0f5; color: #10192e; font-size: clamp(12px, 1.1vw, 16px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.problem-doubt-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem-visual { position: absolute; top: -48px; right: 0; bottom: -58px; width: 100%; min-width: 0; isolation: isolate; }
.problem-engineer { filter: blur(2px); position: absolute; inset: auto 0 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.15) 30%, #000 56%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.15) 30%, #000 56%, #000 90%, transparent); }
.problem-takeaway { position: relative; z-index: 1; grid-column: 1 / -1; padding: 22px 24px; text-align: left; }
.problem-takeaway strong { background: #fff; padding: 4px 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; color: #000; font-size: clamp(15px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.035em; line-height: 1.5; }
.problem-next {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #065cff;
  color: #fff;
  box-shadow: 0 3px 10px #065cff20;
}
.problem-next svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem-next:hover { background: #004bdb; }
.problem-next:focus-visible { outline: 3px solid #065cff; outline-offset: 4px; }
#methodology { scroll-margin-top: 120px; }
@media (max-width: 980px) {
  .problem-doubts li { gap: 8px; padding: 10px; }
  .problem-doubt-icon { width: 36px; height: 36px; }
  .problem-question { gap: 12px; padding: 12px; }
}
@media (max-width: 980px) {
  .home-problem { padding: 36px 0 54px; }
  .problem-layout { display: flex; flex-direction: column; gap: 24px; }
  .problem-copy { order: 0; }
  .home-page main .home-problem h2 { font-size: clamp(28px, 6vw, 40px); }
  .problem-intro { font-size: 15px; }
  .problem-question { font-size: 19px; }
  .problem-question-icon { width: 48px; height: 48px; font-size: 34px; }
  .problem-doubts li { font-size: 12px; padding: 12px 8px; }
  .problem-visual { position: absolute; inset: -36px 0 -54px; width: 100%; height: auto; overflow: hidden; }
  .problem-engineer {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 76% center;
    filter: blur(4px);
    opacity: .3;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .problem-takeaway { order: 2; padding: 18px; }
}

/* Practical methodology benefits. */
.home-method-benefits {
  padding: 76px 0 64px;
  background:
    radial-gradient(circle at 85% 12%, rgba(6,92,255,.22), transparent 25%),
    linear-gradient(145deg, #111a30, #1b2a44);
}
.home-page main .home-method-benefits > .container > .center .eyebrow { color: #fff; margin-bottom: 20px; }
.home-page main .home-method-benefits h2 {
  margin: 0 auto 36px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
  text-transform: none;
  color: #fff;
}
.home-method-benefits h2 span { color: #fff; }
.method-benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: method-benefit; }
.method-benefit-card { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid #e7edf5; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px #174d8609; text-align: left; counter-increment: method-benefit; }
.method-benefit-card::before { content: counter(method-benefit); position: absolute; top: 26px; left: 26px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #dfebff; color: #065cff; font-size: 24px; font-weight: 800; }
.home-page main .method-benefit-card h3 { margin: 0 0 8px; padding-left: 66px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(18px, 1.7vw, 24px); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; text-transform: none; color: #080b1e; }
.method-benefit-card > p { margin: 0 0 10px; padding-left: 66px; color: #66708c; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.45; }
.method-benefit-visual { display: flex; align-items: center; justify-content: center; min-height: 150px; margin-top: auto; border-radius: 12px; color: #065cff; }



















.method-benefit-wide { grid-column: 1 / -1; }


@media (max-width: 700px) {
  .home-method-benefits { padding: 64px 0 40px; }
  .method-benefits-grid { grid-template-columns: 1fr; gap: 18px; }
  .method-benefit-card { padding: 22px 18px; }
  .method-benefit-card::before { top: 22px; left: 18px; width: 40px; height: 40px; font-size: 21px; }
  .home-page main .method-benefit-card h3,
 .method-benefit-card > p { padding-left: 54px; }
  .method-benefit-wide { grid-column: auto; }
  
  
  
  
  
  
  
}

.home-page main .home-academy-section .academy-path-heading { color: #000; text-transform: none; }
.home-academy-section .academy-path-heading span { color: #065cff; }

/* Academy program cards, matched to the three learning tracks. */
.home-academy-section .course-card {
  overflow: visible;
  border: 1px solid var(--course-color);
  border-radius: 12px;
  box-shadow: 0 8px 26px color-mix(in srgb, var(--course-color) 9%, transparent);
}
.home-academy-section .course-card:nth-child(2) { --course-color: #00bd63; --course-soft: #e8fbf1; }
.home-academy-section .course-card:nth-child(3) { --course-color: #e7a000; --course-soft: #fff5de; }
.home-academy-section .course-content {
  padding: 22px 20px 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--course-soft) 25%, #fff), color-mix(in srgb, var(--course-soft) 65%, #fff));
}
.home-academy-section .course-label { gap: 8px; margin-bottom: 12px; }
.home-academy-section .course-step { width: 30px; height: 30px; flex-basis: 30px; }
body main section.home-academy-section .course-card .course-label .eyebrow { color: var(--course-color); font-size: 16px; padding: 7px 12px; letter-spacing: .04em; }
.home-academy-section .course-content h3 { text-transform: none; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(24px, 2vw, 29px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; color: #080b1e; margin-bottom: 8px; }
.home-academy-section .course-content > p:not(.eyebrow) { font-size: 14px; line-height: 1.45; }
.course-count { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; color: #10192e; font-size: 12px; }
.course-count svg { width: 22px; height: 22px; stroke: var(--course-color); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-academy-section .course-content > .course-tags-label { color: #536180; text-transform: uppercase; font-size: 10px; letter-spacing: .04em; }
.home-academy-section .course-content > .tags { gap: 6px; margin: 6px 0 12px; }
.home-academy-section .course-card .tag { font-size: 10px; line-height: 1.3; padding: 6px 10px; }
.home-academy-section .course-content > img { flex: 1; min-height: 0; width: 100%; height: 350px; object-fit: contain; background: transparent; margin: auto 0 14px; }
.home-academy-section .course-program-cta { gap: 10px; min-height: 46px; padding: 12px 8px; font-size: 15px; letter-spacing: 0; text-transform: none; border-radius: 7px; }
.home-academy-section .course-ribbon { top: -19px; right: 12px; left: auto; padding: 10px 18px; background: #e7a000; color: #fff; font-size: 14px; letter-spacing: .02em; box-shadow: 0 5px 18px #e7a00025; }
.home-academy-section .course-ribbon::before { color: #fff; }
@media (max-width: 980px) {
  .home-academy-section .course-grid { grid-template-columns: 1fr; gap: 28px; max-width: 520px; margin-inline: auto; }
  .home-academy-section .course-content h3 { font-size: 28px; }
  .home-academy-section .course-content > img { flex: none; height: auto; max-height: 440px; }
}

.home-academy-section .course-tags-break { flex-basis: 100%; height: 0; }

.home-academy-section .course-benefits { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; margin: 0 0 16px; }
.home-academy-section .course-benefit { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 8px 4px; border: 1px solid #e4edff; border-radius: 10px; background: #fff; color: #080b1e; font-size: clamp(8px, .7vw, 10px); font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.course-benefit-icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #065cff; color: #fff; font-size: 34px; font-weight: 500; line-height: 1; }
.course-benefit-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.course-benefit-calendar { flex-shrink: 0; width: 34px; height: 34px; stroke: #065cff; stroke-width: 2; stroke-linecap: round; }
.course-benefit-calendar text { fill: #065cff; stroke: none; font-size: 17px; font-weight: 800; font-family: "Plus Jakarta Sans", sans-serif; }
.course-benefit em { color: #065cff; font-style: normal; }
@media (max-width: 1100px) and (min-width: 981px) { .course-benefit-icon,
 .course-benefit-calendar { width: 26px; height: 26px; } .home-academy-section .course-benefit { gap: 4px; } }

.home-method-benefits .method-benefits-intro { margin: -16px 0 36px; color: #fff; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; }

.method-solution-image { width: 100%; margin-top: 0; }
.method-solution-image img { display: block; width: 100%; height: clamp(220px, 24vw, 340px); object-fit: contain; }
.method-benefit-wide .method-solution-image img { width: 100%; height: auto; max-height: none; }
@media (max-width: 700px) { .method-solution-image img { height: auto; } }

/* Center the current article in the Home blog preview. */
