.subpage {
  background: var(--blanco-calido);
}

.subpage-main {
  min-height: 70vh;
}

.breadcrumb {
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(250, 247, 239, 0.7);
  font-size: 0.76rem;
}

.breadcrumb a {
  text-underline-offset: 4px;
}

.subpage-hero {
  position: relative;
  min-height: 560px;
  padding: 104px 0 88px;
  display: flex;
  align-items: center;
  color: var(--blanco-calido);
  background:
    linear-gradient(115deg, rgba(0, 124, 137, 0.24), transparent 54%),
    linear-gradient(135deg, var(--azul-profundo), var(--petroleo-profundo));
  overflow: hidden;
}

.subpage-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(250, 247, 239, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 247, 239, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
  content: "";
}

.subpage-hero .section-shell {
  position: relative;
  z-index: 1;
}

.subpage-kicker {
  margin-bottom: 14px;
  color: var(--dorado-suave);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.04;
}

.subpage-hero .subpage-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(250, 247, 239, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.subpage-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lineas-overview {
  padding: 96px 0;
  background: var(--marfil);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 88px;
  align-items: start;
}

.overview-grid h2,
.line-detail h2,
.magazine-intro h2,
.related-section h2 {
  margin: 15px 0 0;
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
}

.overview-grid p {
  margin: 30px 0 0;
  color: var(--gris-calido);
  line-height: 1.78;
}

.overview-index {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--linea-clara);
  list-style: none;
}

.overview-index a {
  padding: 18px 0;
  border-top: 1px solid var(--linea-clara);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  color: var(--texto-profundo);
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.overview-index a:hover,
.overview-index a:focus-visible {
  padding-left: 10px;
  color: var(--teal-vivo);
}

.overview-index span {
  color: var(--cobre);
  font-size: 0.76rem;
  font-weight: 850;
}

.line-detail {
  padding: 104px 0;
  background: var(--blanco-calido);
}

.line-detail:nth-of-type(even) {
  background: var(--arena-clara);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.92fr);
  gap: 88px;
  align-items: stretch;
}

.detail-visual {
  position: relative;
  min-height: 420px;
  padding: 38px;
  color: var(--blanco-calido);
  background:
    linear-gradient(145deg, rgba(0, 124, 137, 0.22), transparent 58%),
    var(--azul-profundo);
  overflow: hidden;
}

.line-detail:nth-of-type(3n) .detail-visual {
  background: linear-gradient(145deg, #096b75, var(--teal-vivo));
}

.line-detail:nth-of-type(4n) .detail-visual {
  background: linear-gradient(145deg, var(--petroleo-profundo), #0c555d);
}

.detail-visual::before,
.detail-visual::after {
  position: absolute;
  right: -80px;
  bottom: -40px;
  width: 280px;
  height: 170px;
  border: 1px solid rgba(250, 247, 239, 0.2);
  border-radius: 50%;
  content: "";
}

.detail-visual::after {
  right: 20px;
  bottom: -70px;
}

.detail-number {
  position: relative;
  z-index: 1;
  color: var(--dorado-suave);
  font-size: 0.8rem;
  font-weight: 850;
}

.detail-visual strong {
  position: absolute;
  right: 34px;
  bottom: 30px;
  left: 38px;
  z-index: 1;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.16;
}

.detail-copy {
  align-self: center;
}

.detail-copy .section-label {
  color: var(--teal-vivo);
}

.detail-copy > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--gris-calido);
  line-height: 1.78;
}

.detail-points {
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--linea-clara);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.detail-points li {
  padding: 7px 10px;
  border: 1px solid rgba(0, 124, 137, 0.26);
  border-radius: 4px;
  color: var(--petroleo-profundo);
  background: rgba(42, 157, 160, 0.06);
  font-size: 0.75rem;
  font-weight: 750;
}

.detail-copy .initiative-link {
  margin-top: 30px;
  color: var(--teal-vivo);
}

.lineas-cta,
.editorial-cta {
  padding: 82px 0;
  color: var(--blanco-calido);
  background:
    linear-gradient(110deg, rgba(0, 124, 137, 0.2), transparent 54%),
    var(--azul-profundo);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
}

.cta-grid h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.cta-grid p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(250, 247, 239, 0.7);
}

.magazine-hero {
  background:
    linear-gradient(90deg, rgba(7, 29, 58, 0.94), rgba(6, 47, 53, 0.7) 58%, rgba(6, 47, 53, 0.22)),
    url("assets/cuaderno-modelo-equilibrio.png") center / cover no-repeat;
}

.magazine-index {
  padding: 110px 0;
  background: var(--blanco-calido);
}

.magazine-intro {
  max-width: 850px;
}

.magazine-intro > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--gris-calido);
  line-height: 1.78;
}

.magazine-index .articles-grid {
  margin-top: 68px;
}

.editorial-principles {
  margin-top: 84px;
  padding: 42px 0;
  border-block: 1px solid var(--linea-clara);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.editorial-principles div {
  padding-left: 18px;
  border-left: 3px solid var(--teal-vivo);
}

.editorial-principles strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.editorial-principles span {
  display: block;
  margin-top: 7px;
  color: var(--gris-calido);
  font-size: 0.82rem;
}

.article-page {
  background: var(--blanco-calido);
}

.article-page-hero {
  padding: 90px 0 58px;
  background:
    linear-gradient(110deg, rgba(42, 157, 160, 0.08), transparent 54%),
    var(--marfil);
}

.article-page-hero .breadcrumb {
  color: var(--gris-calido);
}

.article-page-hero .article-category {
  color: var(--teal-vivo);
}

.article-page-hero h1 {
  max-width: 980px;
  margin: 16px 0 0;
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.06;
}

.article-page-deck {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--gris-calido);
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.5;
}

.article-page-hero .article-meta {
  margin-top: 25px;
}

.article-main-image {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--arena);
}

.article-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-poster-stage {
  height: 780px;
  padding: 38px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(42, 157, 160, 0.24), transparent 58%),
    var(--azul-profundo);
}

.article-poster-stage img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 28px 70px rgba(2, 31, 40, 0.3);
}

.article-reading {
  padding: 80px 0 104px;
  background: var(--blanco-calido);
}

.reading-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 70px;
  justify-content: center;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 104px;
  padding-top: 16px;
  border-top: 1px solid var(--linea-clara);
  color: var(--gris-calido);
  font-size: 0.76rem;
}

.article-aside strong {
  display: block;
  margin-bottom: 10px;
  color: var(--texto-profundo);
}

.article-aside a {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal-vivo);
  text-underline-offset: 4px;
}

.article-body > p {
  margin: 0 0 25px;
  color: #3f504f;
  font-size: 1.06rem;
  line-height: 1.88;
}

.article-body .article-lead {
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 1.38rem;
  line-height: 1.62;
}

.article-body h2 {
  margin: 54px 0 18px;
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.article-quote {
  margin: 45px 0;
  padding: 12px 0 12px 30px;
  border-left: 4px solid var(--cobre);
  color: var(--petroleo-profundo);
  font-family: var(--serif);
  font-size: 1.52rem;
  line-height: 1.5;
}

.article-closing {
  margin-top: 54px;
  padding: 28px 0;
  border-block: 1px solid var(--linea-clara);
  color: var(--petroleo-profundo);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.55;
}

.conversation-section {
  padding: 0 0 104px;
  background: var(--blanco-calido);
}

.conversation-box {
  padding: 44px 50px;
  border-left: 5px solid var(--teal-vivo);
  background: var(--arena-clara);
}

.conversation-box h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}

.conversation-box p {
  max-width: 760px;
  margin: 15px 0 0;
  color: var(--gris-calido);
}

.related-section {
  padding: 92px 0 104px;
  background: var(--marfil);
}

.related-section h2 {
  margin-top: 0;
}

.related-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.related-card {
  border-top: 1px solid var(--linea-clara);
  padding-top: 18px;
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center top;
}

.related-card span {
  display: block;
  margin-top: 18px;
  color: var(--teal-vivo);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 10px 0 15px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.24;
}

.back-link {
  color: var(--teal-vivo);
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .subpage-hero h1,
  .article-page-hero h1 {
    font-size: 48px;
  }

  .overview-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .overview-grid h2,
  .line-detail h2,
  .magazine-intro h2,
  .related-section h2 {
    font-size: 38px;
  }

  .detail-visual {
    min-height: 320px;
  }

  .reading-grid {
    grid-template-columns: minmax(0, 720px);
  }

  .article-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
  }

  .article-aside strong {
    margin: 0;
  }

  .article-aside a {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .subpage-hero {
    min-height: 480px;
    padding: 76px 0 68px;
  }

  .subpage-hero h1,
  .article-page-hero h1 {
    font-size: 36px;
  }

  .lineas-overview,
  .line-detail,
  .magazine-index,
  .article-reading,
  .related-section {
    padding-block: 76px;
  }

  .overview-grid h2,
  .line-detail h2,
  .magazine-intro h2,
  .related-section h2 {
    font-size: 30px;
  }

  .detail-visual {
    min-height: 280px;
    padding: 26px;
  }

  .detail-visual strong {
    right: 26px;
    bottom: 24px;
    left: 26px;
    font-size: 1.58rem;
  }

  .cta-grid,
  .editorial-principles,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid h2 {
    font-size: 1.9rem;
  }

  .article-page-hero {
    padding: 68px 0 48px;
  }

  .article-page-deck {
    font-size: 1.15rem;
  }

  .article-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .article-poster-stage {
    height: auto;
    padding: 18px 14px;
  }

  .article-poster-stage img {
    width: 100%;
    height: auto;
  }

  .article-body .article-lead {
    font-size: 1.2rem;
  }

  .article-body h2 {
    font-size: 1.65rem;
  }

  .article-quote {
    padding-left: 20px;
    font-size: 1.25rem;
  }

  .conversation-box {
    padding: 34px 26px;
  }

  .conversation-box h2 {
    font-size: 1.65rem;
  }
}

/* Multi-page institutional sections */

.subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.subpage-hero-grid > * {
  min-width: 0;
}

.subpage-photo {
  position: relative;
  margin: 0;
  min-height: 420px;
  border: 1px solid rgba(250, 247, 239, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(2, 31, 40, 0.28);
}

.subpage-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 31, 40, 0.08), rgba(2, 31, 40, 0.22));
  content: "";
}

.subpage-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.page-hero-consultoria,
.page-hero-sembrar,
.page-hero-escena,
.page-hero-lab,
.page-hero-podcast,
.page-hero-contacto,
.page-hero-operativo {
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 170, 91, 0.16), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--petroleo-profundo));
}

.page-hero-sembrar {
  background:
    radial-gradient(circle at 82% 20%, rgba(42, 157, 160, 0.24), transparent 28%),
    linear-gradient(135deg, var(--petroleo-profundo), #0a6873);
}

.page-hero-escena {
  background:
    radial-gradient(circle at 84% 18%, rgba(200, 138, 61, 0.2), transparent 28%),
    linear-gradient(135deg, #071d3a, #2b2c2b);
}

.page-hero-lab {
  background:
    radial-gradient(circle at 78% 16%, rgba(42, 157, 160, 0.26), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), #032d46 56%, var(--petroleo-oscuro));
}

.page-hero-operativo {
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 170, 91, 0.14), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), #082632);
}

.page-intro {
  padding: 96px 0;
  background: var(--blanco-calido);
}

.intro-grid,
.contact-options-grid,
.podcast-feature-grid,
.simulator-grid,
.related-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 82px;
  align-items: start;
}

.intro-grid h2,
.compact-heading h2,
.podcast-feature h2,
.simulator-panel h2,
.contact-options-grid h2,
.related-lab-grid h2 {
  margin: 15px 0 0;
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
}

.intro-copy {
  padding-top: 24px;
  border-top: 1px solid var(--linea-clara);
}

.intro-copy p,
.contact-options-grid p,
.podcast-feature p,
.simulator-panel p,
.related-lab-grid p {
  margin: 0 0 20px;
  color: var(--gris-calido);
  line-height: 1.78;
}

.blocks-section {
  padding: 104px 0;
  background:
    linear-gradient(120deg, rgba(42, 157, 160, 0.08), transparent 48%),
    var(--marfil);
}

.compact-heading {
  max-width: 860px;
}

.service-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(8, 38, 50, 0.14);
  border-radius: 8px;
  background: rgba(250, 247, 239, 0.82);
  box-shadow: 0 16px 44px rgba(7, 29, 58, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 124, 137, 0.32);
  box-shadow: 0 28px 62px rgba(7, 29, 58, 0.12);
}

.service-card span {
  color: var(--cobre);
  font-size: 0.76rem;
  font-weight: 850;
}

.service-card h3 {
  margin: 14px 0 10px;
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--gris-calido);
  font-size: 0.96rem;
  line-height: 1.62;
}

.related-lab {
  padding: 82px 0;
  color: var(--blanco-calido);
  background: linear-gradient(135deg, var(--azul-profundo), var(--petroleo-profundo));
}

.related-lab h2,
.related-lab .section-label {
  color: var(--blanco-calido);
}

.related-lab .section-label {
  color: var(--dorado-suave);
}

.related-lab p {
  color: rgba(250, 247, 239, 0.76);
}

.related-lab-grid {
  align-items: center;
}

.operativo-hero-visual {
  position: relative;
  min-height: 400px;
  border: 1px solid rgba(250, 247, 239, 0.16);
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(250, 247, 239, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 247, 239, 0.07) 1px, transparent 1px),
    rgba(250, 247, 239, 0.06);
  background-size: 54px 54px;
  box-shadow: 0 28px 80px rgba(2, 31, 40, 0.28);
}

.operativo-hero-visual span {
  position: absolute;
  width: 56%;
  height: 30%;
  border: 1px solid rgba(217, 170, 91, 0.42);
  border-radius: 999px;
}

.operativo-hero-visual span:nth-child(1) {
  transform: rotate(-18deg);
}

.operativo-hero-visual span:nth-child(2) {
  width: 44%;
  height: 24%;
  border-color: rgba(42, 157, 160, 0.42);
  transform: rotate(22deg);
}

.operativo-hero-visual span:nth-child(3) {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--dorado-suave);
}

.operativo-hero-visual strong {
  position: relative;
  z-index: 1;
  width: min(280px, calc(100% - 48px));
  color: var(--blanco-calido);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.simulator-section {
  padding: 104px 0;
  color: var(--blanco-calido);
  background:
    radial-gradient(circle at 88% 16%, rgba(42, 157, 160, 0.2), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--petroleo-profundo));
}

.simulator-grid {
  align-items: center;
}

.simulator-panel {
  padding: 44px;
  border: 1px solid rgba(250, 247, 239, 0.18);
  border-radius: 8px;
  background: rgba(250, 247, 239, 0.08);
}

.simulator-panel h2 {
  color: var(--blanco-calido);
}

.simulator-panel .section-label {
  color: var(--dorado-suave);
}

.simulator-panel p {
  color: rgba(250, 247, 239, 0.78);
}

.simulator-note {
  padding: 18px 0 18px 20px;
  border-left: 3px solid var(--dorado-suave);
}

.simulator-access-note {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(250, 247, 239, 0.68);
  font-size: 0.86rem;
  line-height: 1.55;
}

.simulator-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(250, 247, 239, 0.16);
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.simulator-visual::before {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(250, 247, 239, 0.1);
  border-radius: 50%;
  content: "";
}

.simulator-visual img {
  width: 180px;
  opacity: 0.18;
}

.simulator-visual span {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(250, 247, 239, 0.18);
  border-radius: 999px;
  color: rgba(250, 247, 239, 0.78);
  background: rgba(250, 247, 239, 0.06);
  font-size: 0.75rem;
  font-weight: 800;
}

.simulator-visual span:nth-of-type(1) {
  top: 18%;
  left: 18%;
}

.simulator-visual span:nth-of-type(2) {
  top: 20%;
  right: 14%;
}

.simulator-visual span:nth-of-type(3) {
  right: 18%;
  bottom: 18%;
}

.simulator-visual span:nth-of-type(4) {
  bottom: 20%;
  left: 14%;
}

.podcast-feature,
.contact-page-section {
  padding: 104px 0;
  background: var(--blanco-calido);
}

.episode-card,
.contact-hero-card {
  padding: 34px;
  border: 1px solid rgba(8, 38, 50, 0.14);
  border-radius: 8px;
  background: var(--marfil);
  box-shadow: 0 18px 48px rgba(7, 29, 58, 0.08);
}

.episode-card span,
.contact-hero-card span {
  display: block;
  color: var(--teal-vivo);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.episode-card h3 {
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.contact-hero-card {
  align-self: center;
  background: rgba(250, 247, 239, 0.95);
}

.contact-hero-card a {
  display: block;
  margin: 8px 0 24px;
  color: var(--texto-profundo);
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration-color: var(--dorado-suave);
  overflow-wrap: anywhere;
}

.contact-hero-card a:last-child {
  margin-bottom: 0;
}

.contact-option-list {
  border-bottom: 1px solid var(--linea-clara);
}

.contact-option-list a {
  padding: 24px 0;
  border-top: 1px solid var(--linea-clara);
  display: grid;
  gap: 6px;
  color: var(--texto-profundo);
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.contact-option-list a:hover,
.contact-option-list a:focus-visible {
  padding-left: 12px;
  color: var(--teal-vivo);
}

.contact-option-list span {
  color: var(--gris-calido);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-option-list strong {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
}

@media (max-width: 1060px) {
  .subpage-hero-grid,
  .intro-grid,
  .contact-options-grid,
  .podcast-feature-grid,
  .simulator-grid,
  .related-lab-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .service-grid,
  .service-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .subpage-photo,
  .subpage-photo img,
  .operativo-hero-visual,
  .simulator-visual {
    min-height: 300px;
  }

  .page-intro,
  .blocks-section,
  .simulator-section,
  .podcast-feature,
  .contact-page-section {
    padding-block: 76px;
  }

  .intro-grid h2,
  .compact-heading h2,
  .podcast-feature h2,
  .simulator-panel h2,
  .contact-options-grid h2,
  .related-lab-grid h2 {
    font-size: 30px;
  }

  .service-grid,
  .service-grid-five {
    grid-template-columns: 1fr;
  }

  .simulator-panel,
  .episode-card,
  .contact-hero-card {
    padding: 28px;
  }

  .operativo-hero-visual strong {
    font-size: 1.45rem;
  }
}

/* Final page-level polish */

.subpage {
  background:
    radial-gradient(circle at 10% 0%, rgba(118, 208, 207, 0.12), transparent 28%),
    var(--nv-white);
}

.subpage-hero {
  min-height: clamp(520px, 66svh, 720px);
  background:
    radial-gradient(circle at 18% 18%, rgba(118, 208, 207, 0.24), transparent 30%),
    radial-gradient(circle at 86% 15%, rgba(242, 140, 40, 0.14), transparent 28%),
    linear-gradient(135deg, #062b5f, #123b7a 52%, #041d3f);
}

.subpage-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  letter-spacing: -0.01em;
}

.subpage-hero .subpage-lead {
  color: rgba(251, 250, 245, 0.84);
}

.breadcrumb,
.subpage-kicker {
  letter-spacing: 0.04em;
}

.subpage-photo,
.detail-visual,
.operativo-hero-visual,
.simulator-visual {
  border-radius: 30px;
  box-shadow: 0 30px 78px rgba(4, 29, 63, 0.22);
}

.subpage-photo img {
  filter: saturate(1.05) contrast(1.02);
}

.page-intro,
.contact-page-section,
.podcast-feature {
  background:
    radial-gradient(circle at 90% 12%, rgba(118, 208, 207, 0.12), transparent 28%),
    #ffffff;
}

.blocks-section,
.lineas-overview,
.work-section {
  background:
    linear-gradient(180deg, #fbfaf5, #edf7f5);
}

.service-card,
.episode-card,
.contact-hero-card,
.contact-option-list a {
  border-color: rgba(0, 140, 149, 0.14);
}

.service-card,
.episode-card,
.contact-hero-card {
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfaf5);
  box-shadow: 0 18px 52px rgba(6, 43, 95, 0.08);
}

.service-card:hover,
.episode-card:hover,
.contact-option-list a:hover {
  border-color: rgba(0, 140, 149, 0.3);
  box-shadow: 0 26px 70px rgba(6, 43, 95, 0.12);
}

.area-card a,
.detail-visual {
  border-radius: 28px;
}

.area-card a {
  box-shadow: 0 18px 56px rgba(6, 43, 95, 0.08);
}

.area-card:hover a {
  box-shadow: 0 32px 80px rgba(6, 43, 95, 0.14);
}

.simulator-section {
  background:
    radial-gradient(circle at 15% 18%, rgba(118, 208, 207, 0.22), transparent 30%),
    radial-gradient(circle at 85% 14%, rgba(242, 140, 40, 0.14), transparent 26%),
    linear-gradient(135deg, #062b5f, #123b7a 52%, #041d3f);
}

.simulator-panel {
  border-color: rgba(118, 208, 207, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  box-shadow: 0 30px 82px rgba(4, 29, 63, 0.28);
}

.simulator-panel .section-label {
  color: var(--nv-aqua);
}

.simulator-note {
  border-left-color: var(--nv-aqua);
}

.simulator-visual {
  border-color: rgba(118, 208, 207, 0.22);
  background:
    radial-gradient(circle at center, rgba(118, 208, 207, 0.14), transparent 44%),
    rgba(255, 255, 255, 0.055);
}

.simulator-visual img {
  width: clamp(170px, 18vw, 230px);
  opacity: 0.22;
}

.simulator-visual span {
  border-color: rgba(118, 208, 207, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.simulator-info-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(118, 208, 207, 0.13), transparent 28%),
    #fbfaf5;
}

.audience-section {
  background: #ffffff;
}

.audience-list {
  border-radius: 28px;
}

.ethical-care-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(118, 208, 207, 0.2), transparent 30%),
    linear-gradient(135deg, #062b5f, #041d3f);
}

.contact-option-list {
  padding: 8px;
  border: 1px solid rgba(0, 140, 149, 0.14);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(6, 43, 95, 0.07);
}

.contact-option-list a {
  padding: 22px 24px;
  border-top: 0;
  border-radius: 18px;
}

.contact-option-list a + a {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .subpage-hero {
    min-height: auto;
    padding-block: 84px 68px;
  }

  .subpage-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }

  .contact-option-list {
    padding: 6px;
  }

  .contact-option-list a {
    padding: 18px;
  }
}

/* Sembrar courses and training catalog */

.sembrar-courses-feature,
.course-route-section,
.courses-catalog-section,
.course-topics-section,
.course-access-section,
.course-detail-section {
  position: relative;
}

.ecosystem-training-cta {
  margin-top: 34px;
  padding: 30px;
  border: 1px solid rgba(0, 140, 149, 0.16);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at 8% 24%, rgba(118, 208, 207, 0.18), transparent 32%),
    #ffffff;
  box-shadow: 0 18px 54px rgba(6, 43, 95, 0.08);
}

.ecosystem-training-cta span {
  color: var(--nv-teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ecosystem-training-cta p {
  margin: 0;
  color: var(--nv-text-soft);
}

.sembrar-courses-feature {
  padding: 92px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(118, 208, 207, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff, #edf7f5);
}

.sembrar-courses-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.58fr);
  gap: clamp(38px, 7vw, 78px);
  align-items: center;
}

.sembrar-courses-grid h2,
.course-route-grid h2,
.courses-catalog-section .compact-heading h2,
.course-topics-grid h2,
.course-access-section h2,
.course-detail-body h2 {
  color: var(--nv-text);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
}

.sembrar-courses-grid h2,
.course-route-grid h2,
.courses-catalog-section .compact-heading h2,
.course-topics-grid h2,
.course-access-section h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.sembrar-courses-grid p,
.course-route-grid p,
.catalog-note,
.course-access-section p,
.course-detail-body p,
.course-detail-body li {
  color: var(--nv-text-soft);
  line-height: 1.76;
}

.sembrar-courses-grid > div > p {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.sembrar-courses-card,
.course-hero-card,
.course-fact-card,
.course-card,
.course-detail-aside {
  border: 1px solid rgba(0, 140, 149, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #fbfaf5);
  box-shadow: 0 24px 72px rgba(6, 43, 95, 0.09);
}

.sembrar-courses-card {
  padding: 32px;
}

.sembrar-courses-card span,
.course-hero-card span,
.course-card-top small,
.course-fact-card span {
  color: var(--nv-teal);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sembrar-courses-card p {
  margin: 18px 0 26px;
  color: var(--nv-text-soft);
}

.course-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(118, 208, 207, 0.24), transparent 30%),
    radial-gradient(circle at 18% 14%, rgba(79, 138, 47, 0.16), transparent 30%),
    linear-gradient(135deg, #062b5f, #123b7a 52%, #041d3f);
}

.course-hero-card {
  padding: 34px;
  color: var(--nv-text);
}

.course-hero-card strong {
  display: block;
  margin-top: 18px;
  color: var(--nv-text);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.22;
}

.course-hero-card ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.course-hero-card li {
  padding: 12px 0;
  border-top: 1px solid rgba(0, 140, 149, 0.16);
  color: var(--nv-text-soft);
  font-weight: 750;
}

.course-hero-card .course-coming-soon {
  display: grid;
  gap: 6px;
  color: var(--nv-text-soft);
}

.course-hero-card .course-coming-soon strong {
  margin: 0;
  color: var(--cobre);
  font-family: var(--sans);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.08;
}

.course-hero-card .course-coming-soon span {
  color: #334754;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.5;
  text-transform: none;
}

.course-route-section {
  padding: 100px 0;
  background: #ffffff;
}

.course-route-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 82px);
  align-items: start;
}

.course-route-grid > div > p {
  margin: 22px 0 0;
}

.course-route-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.course-route-list li {
  padding: 26px 28px;
  border: 1px solid rgba(0, 140, 149, 0.14);
  border-radius: 24px;
  background: #fbfaf5;
  box-shadow: 0 14px 42px rgba(6, 43, 95, 0.06);
}

.course-route-list span {
  color: var(--nv-teal);
  font-size: 0.76rem;
  font-weight: 850;
}

.course-route-list strong {
  display: block;
  margin-top: 8px;
  color: var(--nv-text);
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
}

.course-route-list p {
  margin: 10px 0 0;
}

.courses-catalog-section {
  padding: 106px 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(118, 208, 207, 0.18), transparent 28%),
    linear-gradient(180deg, #edf7f5, #fbfaf5);
}

.catalog-note {
  max-width: 760px;
  margin: 20px 0 0;
}

.course-card-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.course-card:hover {
  border-color: rgba(0, 140, 149, 0.36);
  box-shadow: 0 30px 82px rgba(6, 43, 95, 0.13);
  transform: translateY(-4px);
}

.course-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.course-card-top > span {
  color: var(--cobre);
  font-size: 0.8rem;
  font-weight: 900;
}

.course-card h3 {
  margin: 18px 0 12px;
  color: var(--nv-text);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.12;
}

.course-card p {
  color: var(--nv-text-soft);
  line-height: 1.64;
}

.course-card dl {
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px solid rgba(0, 140, 149, 0.14);
  display: grid;
  gap: 12px;
}

.course-card dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.course-card dt {
  color: var(--nv-text-soft);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.course-card dd {
  margin: 0;
  color: var(--nv-text);
  font-weight: 750;
  text-align: right;
}

.course-card ul {
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.course-card li,
.module-list span,
.topics-list span {
  padding: 8px 11px;
  border: 1px solid rgba(0, 140, 149, 0.16);
  border-radius: 999px;
  color: var(--nv-navy);
  background: rgba(118, 208, 207, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.course-link {
  width: fit-content;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--nv-teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.course-link:hover,
.course-link:focus-visible {
  color: var(--cobre);
}

.course-topics-section {
  padding: 88px 0;
  background: #ffffff;
}

.course-topics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 78px);
  align-items: start;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-access-section {
  padding: 92px 0;
  color: var(--nv-white);
  background:
    radial-gradient(circle at 14% 18%, rgba(118, 208, 207, 0.22), transparent 30%),
    linear-gradient(135deg, var(--nv-navy), #001f45);
}

.course-access-section h2,
.course-access-section .section-label {
  color: var(--nv-white);
}

.course-access-section .section-label {
  color: var(--nv-aqua);
}

.course-access-section p {
  color: rgba(248, 250, 250, 0.78);
}

.course-detail-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(118, 208, 207, 0.2), transparent 30%),
    linear-gradient(135deg, #062b5f, #123b7a 52%, #041d3f);
}

.course-fact-card {
  padding: 32px;
  align-self: center;
}

.course-fact-card dl {
  margin: 18px 0 0;
  display: grid;
  gap: 16px;
}

.course-fact-card div {
  padding-top: 14px;
  border-top: 1px solid rgba(0, 140, 149, 0.14);
}

.course-fact-card dt {
  color: var(--nv-text-soft);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.course-fact-card dd {
  margin: 5px 0 0;
  color: var(--nv-text);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.course-detail-section {
  padding: 104px 0;
  background:
    radial-gradient(circle at 92% 10%, rgba(118, 208, 207, 0.12), transparent 28%),
    #ffffff;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.72fr);
  gap: clamp(42px, 7vw, 82px);
  align-items: start;
}

.course-detail-aside {
  position: sticky;
  top: 104px;
  padding: 28px;
}

.course-detail-aside p {
  color: var(--nv-text-soft);
  font-size: 0.94rem;
}

.course-detail-body {
  max-width: 820px;
}

.course-detail-body h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.course-detail-body h2:not(:first-child) {
  margin-top: 54px;
}

.course-detail-body ul {
  margin: 0;
  padding-left: 22px;
}

.course-detail-body li + li {
  margin-top: 10px;
}

.module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .sembrar-courses-grid,
  .course-route-grid,
  .course-topics-grid,
  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-training-cta {
    grid-template-columns: 1fr;
  }

  .course-card-grid {
    grid-template-columns: 1fr;
  }

  .course-detail-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .course-hero .subpage-hero-grid {
    width: min(calc(100% - 34px), 288px);
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch;
    overflow: hidden;
  }

  .course-hero .subpage-hero-grid > * {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }

  .course-hero .subpage-hero h1,
  .course-hero h1 {
    max-width: 100%;
    font-size: clamp(1.92rem, 8vw, 2.28rem);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .course-hero-card strong {
    max-width: 100%;
    font-size: clamp(1.2rem, 5.8vw, 1.5rem);
    overflow-wrap: anywhere;
  }

  .course-hero-card .course-coming-soon span {
    overflow-wrap: anywhere;
  }

  .sembrar-courses-feature,
  .course-route-section,
  .courses-catalog-section,
  .course-topics-section,
  .course-access-section,
  .course-detail-section {
    padding-block: 74px;
  }

  .sembrar-courses-card,
  .course-hero-card,
  .course-fact-card,
  .course-card,
  .course-detail-aside {
    padding: 24px;
    border-radius: 24px;
  }

  .course-card dl div {
    grid-template-columns: 1fr;
  }

  .course-card dd {
    text-align: left;
  }
}

/* Lab product hierarchy */

.lab-page .subpage-hero h1,
.simulator-page .subpage-hero h1 {
  max-width: 960px;
}

.lab-definition {
  background:
    radial-gradient(circle at 88% 10%, rgba(118, 208, 207, 0.14), transparent 28%),
    #ffffff;
}

.lab-capabilities-section,
.lab-flow-section,
.lab-access-section {
  padding: 98px 0;
}

.lab-capabilities-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(118, 208, 207, 0.14), transparent 28%),
    var(--nv-mist);
}

.capability-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-grid .service-card {
  min-height: 250px;
}

.lab-flow-section {
  background: #ffffff;
}

.lab-flow-list {
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.lab-flow-list li {
  position: relative;
  min-height: 170px;
  padding: 22px 18px;
  border: 1px solid rgba(0, 140, 149, 0.16);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfaf5);
  box-shadow: 0 16px 44px rgba(6, 43, 95, 0.07);
}

.lab-flow-list li::after {
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 1;
  width: 10px;
  height: 1px;
  background: rgba(0, 140, 149, 0.32);
  content: "";
}

.lab-flow-list li:last-child::after {
  display: none;
}

.lab-flow-list span {
  color: var(--nv-teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.lab-flow-list strong {
  color: var(--nv-text);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.22;
}

.lab-access-section {
  color: var(--nv-white);
  background:
    radial-gradient(circle at 12% 18%, rgba(118, 208, 207, 0.22), transparent 30%),
    linear-gradient(135deg, var(--nv-navy), #001f45);
}

.lab-access-section h2,
.lab-access-section .section-label {
  color: var(--nv-white);
}

.lab-access-section .section-label {
  color: var(--nv-aqua);
}

.lab-access-section p {
  color: rgba(248, 250, 250, 0.78);
}

.simulator-page .ethical-care-section {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-flow-list li::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .lab-page .subpage-hero .section-shell,
  .simulator-page .subpage-hero .section-shell {
    width: calc(100% - 34px);
    max-width: 1220px;
  }

  .lab-page .subpage-hero h1,
  .simulator-page .subpage-hero h1 {
    width: 100%;
    max-width: min(100%, 330px);
    max-inline-size: min(100%, 330px);
    font-size: clamp(1.82rem, 7.7vw, 2.08rem);
    line-height: 1.05;
    white-space: normal !important;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .lab-page .subpage-hero .subpage-lead,
  .simulator-page .subpage-hero .subpage-lead {
    max-width: min(100%, 324px);
    max-inline-size: min(100%, 324px);
    font-size: 0.98rem;
    line-height: 1.68;
    overflow-wrap: break-word;
  }

  .lab-page .subpage-actions,
  .simulator-page .subpage-actions {
    width: 100%;
    max-width: min(100%, 330px);
    display: grid;
    grid-template-columns: 1fr;
  }

  .lab-page .subpage-actions .button,
  .simulator-page .subpage-actions .button {
    width: 100%;
    white-space: normal;
  }

  .lab-capabilities-section,
  .lab-flow-section,
  .lab-access-section {
    padding-block: 74px;
  }

  .capability-grid,
  .lab-flow-list {
    grid-template-columns: 1fr;
  }

  .lab-flow-list li {
    min-height: 0;
  }
}
