.formation .section-heading {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
}
.formation .section-heading p { max-width: 46rem; }

.formation .pathways { grid-template-columns: minmax(0, 1fr); }
.formation .path h3 { font-size: clamp(1.55rem, 3.2vw, 2.7rem); }

.home-action {
  --cta-size: 52px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
}
.home-action .home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: var(--cta-size);
  min-height: var(--cta-size);
  padding: 0 clamp(.75rem, 1.8vw, 1.5rem);
  border: 0;
  border-radius: 6px;
  background: #fe67ab;
  color: #111;
  box-shadow: 0 8px 24px -12px #fe67ab8c;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
.home-action .home-cta:hover { background: #ff89bd; }
.home-action > .home-cta-isotipo {
  flex: 0 0 var(--cta-size);
  width: var(--cta-size);
  height: var(--cta-size);
  display: block;
  background: url("assets/isotipo-cta.png") center / contain no-repeat;
  border-radius: 6px;
}
.formation .path { min-height: 0; }
.formation .path-content { padding: clamp(1.15rem, 2.8vw, 2.4rem); }
.formation .path p { margin-bottom: 0; }
.formation .path-content .home-action { margin-top: 1.1rem; }
@media (max-width: 700px) {
  .home-action .home-cta { font-size: .875rem; }
}

@media (min-width: 900px) and (max-width: 1190px) {
  .header-inner {
    width: min(100% - 2rem, 1220px);
    flex-wrap: nowrap;
    gap: clamp(.55rem, 1vw, 1rem);
    padding-block: .6rem;
  }
  .header-inner .brand { flex: 0 0 clamp(7.5rem, 13vw, 11.875rem); }
  .header-inner .brand img { width: 100%; }
  .header-inner .main-nav {
    order: initial;
    width: auto;
    flex-wrap: nowrap;
    gap: clamp(.45rem, .95vw, 1rem);
    padding: 0;
    border: 0;
    white-space: nowrap;
  }
  .header-inner .main-nav a { font-size: clamp(.6875rem, 1.2vw, .875rem); }
}

.home-band {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.home-band .ribbons i { border-color: #bf477426; }
.home-band .ribbons i:nth-child(even) { border-color: #87537920; }
.home-band-intro .ribbons { transform: scaleX(-1); }
.home-band-training .ribbons { top: -4.5rem; }
.home-band-closing .ribbons {
  top: -5rem;
  transform: scaleX(-1);
}

.hero-inner {
  padding-block: clamp(2.35rem, 4.4vw, 4.25rem) clamp(1.65rem, 3vw, 3rem);
}
.hero .eyebrow,
.hero .hero-description {
  color: #f5ebf2;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: normal;
}
.hero h1 {
  max-width: 64rem;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.65vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero-description {
  max-width: none;
  margin-top: clamp(1.45rem, 2.8vw, 2.7rem);
}
.mobile-menu-toggle { display: none; }
.plv-mobile-mosaic { display: none; }

@media (max-width: 700px) {
  .plv-tile > img { display: none; }
  .plv-mobile-mosaic {
    display: grid;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    background: #fff;
  }
  .plv-mobile-mosaic span {
    aspect-ratio: 6 / 5;
    background-image: url("assets/plv-home-canonica.webp");
    background-repeat: no-repeat;
  }
  /* Frame each scene inside the existing eight-scene image. */
  .plv-mobile-mosaic .plv-stand { background-size: 327.84% auto; background-position: 1.29% 95.16%; }
  .plv-mobile-mosaic .plv-menu { background-size: 398.10% auto; background-position: 99.28% 19.29%; }
  .plv-mobile-mosaic .plv-vinyl { background-size: 403.86% auto; background-position: 69.32% 88.42%; }
  .plv-mobile-mosaic .plv-lanyard { background-size: 568.71% auto; background-position: 40.64% 98.28%; }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem .75rem;
    align-items: center;
    min-height: 0;
    padding-block: .6rem;
  }
  .header-inner .brand img { width: 145px; }
  .mobile-menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding-inline: .75rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid #bbb5c1;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
  }
  .mobile-menu-toggle::before {
    content: "";
    width: .85rem;
    height: .65rem;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
    border-block: 1px solid currentColor;
  }
  .header-inner .main-nav {
    grid-column: 1 / -1;
    order: initial;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .2rem .55rem;
    padding-top: .35rem;
  }
  .mobile-menu-toggle:not([hidden])[aria-expanded="false"] + .main-nav { display: none; }
  .header-inner .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.75rem);
    text-wrap: wrap;
  }
}
