/* CAP 3 — Estrategia y Creación de Valor */
/* Estilos específicos del capítulo 3 (replicados desde pages.css). */

/* Bajo 820px la topbar pasa a dos filas (~145px) pero .page solo reserva 118px,
   por lo que la barra fija tapaba la parte superior de la portada. Reservamos la
   altura real de la topbar para que no quede cortada por arriba. */
@media (max-width: 820px) {
  .page {
    padding-top: 150px;
  }
}

/* Cap. 3 — índice lateral: más ancho para títulos largos */
[data-chapter="06"] .chapter-body__grid {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

@media (max-width: 920px) {
  [data-chapter="06"] .chapter-body {
    overflow-x: clip;
  }

  [data-chapter="06"] .chapter-body .wrap--bleed {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
    box-sizing: border-box;
  }

  [data-chapter="06"] .chapter-body__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 4vw, 2rem);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  [data-chapter="06"] .side-index {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 0 clamp(1rem, 3vw, 1.5rem);
    margin: 0;
    border-bottom: 1px solid var(--c-rule);
  }

  [data-chapter="06"] .side-index__item {
    font-size: 0.9375rem;
    line-height: 1.28;
  }

  [data-chapter="06"] .chapter-body__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  [data-chapter="06"] .chapter-body__content .section,
  [data-chapter="06"] .chapter-body__content .prose,
  [data-chapter="06"] .chapter-body__content .section > .table-scroll,
  [data-chapter="06"] .chapter-body__content .section > .estrategia-section-flow--full,
  [data-chapter="06"] .chapter-body__content .section > .estrategia-premios-montage {
    max-width: 100%;
    width: 100%;
  }

  [data-chapter="06"] .estrategia-premios-montage__media {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }

  [data-chapter="06"] .gov-media-layout {
    grid-template-columns: 1fr;
  }

  [data-chapter="06"] .gov-media-layout__aside {
    position: static;
    width: 100%;
    max-width: 100%;
  }
}

/* Cap. 3 — caja bauhaus grado de avance (ancho completo) */
[data-chapter="06"] .ods-inline-link {
  display: inline-flex;
  vertical-align: middle;
  margin-left: .15rem;
  text-decoration: none;
  background: none;
  background-image: none;
}
[data-chapter="06"] .regimen-bauhaus-box--estrategia-full {
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 38%);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 0;
}

[data-chapter="06"] .regimen-bauhaus-box--estrategia .regimen-bauhaus-box__body {
  display: grid;
  gap: clamp(.9rem, 1.8vw, 1.15rem);
}

[data-chapter="06"] .regimen-bauhaus-box--estrategia .regimen-bauhaus-box__body > p,
[data-chapter="06"] .regimen-bauhaus-box--estrategia .regimen-bauhaus-box__body .c-ul-content {
  margin: 0;
  max-width: none;
  line-height: 1.65;
}

[data-chapter="06"] .regimen-bauhaus-box--estrategia .regimen-bauhaus-box__body .c-ul-content {
  display: grid;
  gap: .55em;
  padding-left: 0;
}

[data-chapter="06"] .regimen-bauhaus-box--estrategia-full .regimen-bauhaus-box__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(17rem, 34vw, 24rem);
  max-width: none;
  justify-self: stretch;
  width: 100%;
  border: 0;
  background: transparent;
  overflow: visible;
  padding: 0;
}

[data-chapter="06"] .regimen-bauhaus-box--estrategia-full .regimen-bauhaus-box__art-figure {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes bauhausEstrategiaFiguraIdle {
  from { transform: translate(0, 0); }
  to { transform: translate(4px, -2px); }
}

@keyframes bauhausEstrategiaFiguraAltIdle {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.02) translate(2px, -2px); }
}

@keyframes bauhausEstrategiaTrianguloIdle {
  from { transform: translateX(0) scale(1); }
  to { transform: translate(-3px, 2px) scale(1.03); }
}

@keyframes bauhausEstrategiaDecoIdle {
  from { transform: translateX(0) scale(1); }
  to { transform: translate(-4px, -2px) scale(1.02); }
}

@keyframes bauhausEstrategiaRedCircleIdle {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes bauhausEstrategiaSquareIdle {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.02) translate(2px, -3px); }
}

@keyframes bauhausEstrategiaSemiIdle {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-3px) scale(1.03); }
}

@keyframes bauhausEstrategiaCircleIdle {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-4px) scale(1.04); }
}

@keyframes bauhausEstrategiaGridIdle {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-3px) scale(1.02); }
}

@keyframes bauhausEstrategiaLinesIdle {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(2px, -2px) scale(1.02); }
}

@keyframes bauhausEstrategiaFormaIdle {
  from { transform: scale(1) rotate(0deg) translate(0, 0); }
  to { transform: scale(1.04) rotate(3deg) translate(2px, -2px); }
}

@keyframes bauhausEstrategiaDotIdle {
  from { transform: scaleX(1); }
  to { transform: scaleX(1.06) translateX(2px); }
}

@media (max-width: 900px) {
[data-chapter="06"] .regimen-bauhaus-box--estrategia-full {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .regimen-bauhaus-box--estrategia-full .regimen-bauhaus-box__art {
    min-height: clamp(14rem, 48vw, 18rem);
    max-width: min(100%, 16rem);
    margin: 0 auto;
    justify-self: center;
  }
}

/* Cap. 3 — valores Hospital Habana */
[data-chapter="06"] .habana-mision-valores-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  row-gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: start;
  width: 100%;
  margin: clamp(1rem, 2.2vw, 1.5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
}

[data-chapter="06"] .habana-mision-valores-layout__intro {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

[data-chapter="06"] .habana-mision-valores-layout__main {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

[data-chapter="06"] .habana-mision-valores-layout__main .prose > p + p {
  margin-top: 1em;
}

[data-chapter="06"] .habana-mision-valores-layout__main .mision-vision-quote {
  margin-bottom: clamp(.85rem, 1.6vw, 1.15rem);
}

[data-chapter="06"] .habana-mision-valores-layout__aside {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

[data-chapter="06"] .habana-valores-list {
  margin: 0;
}

[data-chapter="06"] .habana-valores-list--boxed {
  border: 1px solid #000;
  background: var(--c-paper-box);
  padding: clamp(1.15rem, 2.4vw, 1.5rem);
}

[data-chapter="06"] .habana-valores-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(.9rem, 1.8vw, 1.2rem);
}

[data-chapter="06"] .habana-valores-list__item {
  display: grid;
  grid-template-columns: clamp(3.25rem, 7vw, 4.875rem) minmax(0, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.1rem);
  align-items: center;
}

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger > .habana-valores-list__item .habana-valores-list__icon {
  transform: translateX(-28px);
  transition: transform 720ms cubic-bezier(.2, .9, .3, 1);
}

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item .habana-valores-list__icon {
  transform: none;
}

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(1) .habana-valores-list__icon { transition-delay: 0ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(2) .habana-valores-list__icon { transition-delay: 120ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(3) .habana-valores-list__icon { transition-delay: 240ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(4) .habana-valores-list__icon { transition-delay: 360ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(1) { transition-delay: 0ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(2) { transition-delay: 120ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(3) { transition-delay: 240ms; }

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger.is-in > .habana-valores-list__item:nth-child(4) { transition-delay: 360ms; }

[data-chapter="06"] .habana-valores-list__icon {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__items.reveal-stagger > .habana-valores-list__item .habana-valores-list__icon {
    transform: none;
    transition: none;
  }
}

[data-chapter="06"] .habana-valores-list__copy {
  display: grid;
  gap: .2rem;
}

[data-chapter="06"] .habana-valores-list--boxed .habana-valores-list__title {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(1.05rem, 1.1rem + .2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-ink)!important;
}

[data-chapter="06"] .habana-valores-list__desc {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.02rem + .15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-ink);
}

@media (max-width: 900px) {
[data-chapter="06"] .habana-mision-valores-layout {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .habana-mision-valores-layout__intro,
  [data-chapter="06"] .habana-mision-valores-layout__main,
  [data-chapter="06"] .habana-mision-valores-layout__aside {
    grid-column: 1;
    grid-row: auto;
  }
}

#habana-logros-tab-clientes:checked ~ .junta-tabs__nav .habana-logros-tab--clientes,
#habana-logros-tab-excelencia:checked ~ .junta-tabs__nav .habana-logros-tab--excelencia,
#habana-logros-tab-cultura:checked ~ .junta-tabs__nav .habana-logros-tab--cultura,
#habana-logros-tab-innovacion:checked ~ .junta-tabs__nav .habana-logros-tab--innovacion {
  color: var(--c-white);
  background: var(--c-accent, #1b6db5);
}

#habana-logros-tab-clientes:checked ~ .junta-tabs__nav .habana-logros-tab--clientes::after,
#habana-logros-tab-excelencia:checked ~ .junta-tabs__nav .habana-logros-tab--excelencia::after,
#habana-logros-tab-cultura:checked ~ .junta-tabs__nav .habana-logros-tab--cultura::after,
#habana-logros-tab-innovacion:checked ~ .junta-tabs__nav .habana-logros-tab--innovacion::after {
  opacity: 1;
}

#habana-logros-tab-clientes:checked ~ .habana-logros-panel--clientes,
#habana-logros-tab-excelencia:checked ~ .habana-logros-panel--excelencia,
#habana-logros-tab-cultura:checked ~ .habana-logros-panel--cultura,
#habana-logros-tab-innovacion:checked ~ .habana-logros-panel--innovacion {
  display: block;
}

/* Cap. 3 — listas anidadas en pestañas horizontales con guion rojo */
[data-chapter="06"] .junta-tabs__panel .c-ul-content .c-ul-content {
  margin: .45rem 0 .2rem;
  gap: .35rem;
}

[data-chapter="06"] .junta-tabs__panel .c-ul-content .c-ul-content li {
  padding-left: 1rem;
}

[data-chapter="06"] .junta-tabs__panel .c-ul-content .c-ul-content li::before {
  content: "-";
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #e52228;
  font-weight: 700;
  line-height: 1.5;
}

/* Cap. 3 — pestañas verticales (líneas estratégicas Habana) */
[data-chapter="06"] .habana-lineas-tabs,
[data-chapter="06"] .habana-logros-tabs {
  --c-accent: #e52228;
}

[data-chapter="06"] .habana-lineas-tabs .organismos-tabs__panels {
  display: flex;
  flex-direction: column;
}

[data-chapter="06"] .habana-lineas-tabs .organismos-tabs__panel {
  flex: 0 0 auto;
}

[data-chapter="06"] .habana-lineas-tabs .habana-lineas-tabs__footer {
  margin-top: auto;
  padding-top: clamp(.75rem, 1.8vw, 1.25rem);
  line-height: 0;
  pointer-events: none;
}

[data-chapter="06"] .habana-lineas-tabs .habana-lineas-tabs__deco {
  display: block;
  width: 80%;
  height: auto;
}

.habana-lineas-tabs__tab--excelencia::before {
  content: "02";
}

.habana-lineas-tabs__tab--cultura::before {
  content: "03";
}

.habana-lineas-tabs__tab--innovacion::before {
  content: "04";
}

#habana-lineas-tab-clientes:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--clientes,
#habana-lineas-tab-excelencia:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--excelencia,
#habana-lineas-tab-cultura:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--cultura,
#habana-lineas-tab-innovacion:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--innovacion {
  color: var(--c-white);
  border-color: var(--c-accent, #1b6db5);
  background: var(--c-accent, #1b6db5);
}

#habana-lineas-tab-clientes:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--clientes::before,
#habana-lineas-tab-excelencia:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--excelencia::before,
#habana-lineas-tab-cultura:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--cultura::before,
#habana-lineas-tab-innovacion:checked ~ .organismos-tabs__nav .habana-lineas-tabs__tab--innovacion::before {
  color: var(--c-white);
  transform: translateY(-50%);
}

#habana-lineas-tab-clientes:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--clientes,
#habana-lineas-tab-excelencia:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--excelencia,
#habana-lineas-tab-cultura:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--cultura,
#habana-lineas-tab-innovacion:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--innovacion {
  display: block;
  animation: organismos-panel-in 320ms var(--easing);
}

/* Cap. 3 — pestañas horizontales bauhaus (logros Habana) */
[data-chapter="06"] .habana-logros-tabs.junta-tabs--bauhaus {
  overflow: visible;
  border-color: #000;
}

[data-chapter="06"] .habana-logros-tabs.junta-tabs--bauhaus + .prose {
  margin-top: clamp(3rem, 8vw, 5.5rem);
}

[data-chapter="06"] .habana-logros-tabs.junta-tabs--bauhaus .junta-tabs__footer .gov-destacado__deco--flip {
  width: min(92%, 28rem);
}

.habana-logros-tabs.instrucciones-tabs.junta-tabs--bauhaus .habana-logros-tab--innovacion {
  border-right: 0;
}

.junta-tabs--bauhaus #junta-tab-2024:checked ~ .junta-tabs__nav .junta-tabs__tab--2024::before,
.junta-tabs--bauhaus #junta-tab-2025:checked ~ .junta-tabs__nav .junta-tabs__tab--2025::before,
.junta-tabs--bauhaus #instrucciones-tab-interna:checked ~ .junta-tabs__nav .junta-tabs__tab--interna::before,
.junta-tabs--bauhaus #instrucciones-tab-gerencia:checked ~ .junta-tabs__nav .junta-tabs__tab--gerencia::before,
.junta-tabs--bauhaus #instrucciones-tab-operativas:checked ~ .junta-tabs__nav .junta-tabs__tab--operativas::before,
.junta-tabs--bauhaus #habana-logros-tab-clientes:checked ~ .junta-tabs__nav .habana-logros-tab--clientes::before,
.junta-tabs--bauhaus #habana-logros-tab-excelencia:checked ~ .junta-tabs__nav .habana-logros-tab--excelencia::before,
.junta-tabs--bauhaus #habana-logros-tab-cultura:checked ~ .junta-tabs__nav .habana-logros-tab--cultura::before,
.junta-tabs--bauhaus #habana-logros-tab-innovacion:checked ~ .junta-tabs__nav .habana-logros-tab--innovacion::before {
  opacity: 1;
  transform: scale(1);
  background: #fff;
}

[data-chapter="06"] .junta-tabs--bauhaus .junta-tabs__tab {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--c-ink);
  background: var(--c-white);
  cursor: pointer;
  text-transform: none;
}

@media (max-width: 560px) {
.habana-logros-tabs.instrucciones-tabs.junta-tabs--bauhaus .junta-tabs__tab {
    flex: 1 1 100%;
  }
}

@keyframes organismos-panel-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
#habana-lineas-tab-clientes:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--clientes,
  #habana-lineas-tab-excelencia:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--excelencia,
  #habana-lineas-tab-cultura:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--cultura,
  #habana-lineas-tab-innovacion:checked ~ .organismos-tabs__panels .habana-lineas-tabs__panel--innovacion {
    animation: none;
  }
}

/* Portadas editoriales — CAP 0, CAP 1, CAP 2, CAP 3, CAP 4 y CAP 5 */
.chapter-hero--government,
.chapter-hero--trabajo,
.chapter-hero--conocer,
.chapter-hero--estrategia,
.chapter-hero--informe,
.chapter-hero--cifras,
.chapter-hero--presidente,
.chapter-hero--director,
.chapter-hero--responsabilidad,
.chapter-hero--anexos {
  --gov-cover-bg: #f8f7f2;
  height: calc(100svh - var(--topbar-h));
  min-height: calc(100svh - var(--topbar-h));
  padding: 0;
  border-bottom: 0;
  background: var(--gov-cover-bg);
  display: block;
  align-content: stretch;
}

.chapter-hero--government .chapter-hero__gov-cover,
.chapter-hero--trabajo .chapter-hero__gov-cover,
.chapter-hero--conocer .chapter-hero__gov-cover,
.chapter-hero--estrategia .chapter-hero__gov-cover,
.chapter-hero--informe .chapter-hero__gov-cover,
.chapter-hero--cifras .chapter-hero__gov-cover,
.chapter-hero--presidente .chapter-hero__gov-cover,
.chapter-hero--director .chapter-hero__gov-cover,
.chapter-hero--responsabilidad .chapter-hero__gov-cover,
.chapter-hero--anexos .chapter-hero__gov-cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.chapter-hero--government .chapter-hero__gov-cover,
.chapter-hero--conocer .chapter-hero__gov-cover,
.chapter-hero--estrategia .chapter-hero__gov-cover,
.chapter-hero--informe .chapter-hero__gov-cover,
.chapter-hero--trabajo .chapter-hero__gov-cover,
.chapter-hero--responsabilidad .chapter-hero__gov-cover {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.chapter-hero--government .chapter-hero__gov-art,
.chapter-hero--conocer .chapter-hero__gov-art,
.chapter-hero--estrategia .chapter-hero__gov-art,
.chapter-hero--informe .chapter-hero__gov-art,
.chapter-hero--trabajo .chapter-hero__gov-art,
.chapter-hero--responsabilidad .chapter-hero__gov-art {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
  user-select: none;
}

.chapter-hero--government .gif-once-stack,
.chapter-hero--conocer .gif-once-stack,
.chapter-hero--estrategia .gif-once-stack,
.chapter-hero--informe .gif-once-stack,
.chapter-hero--trabajo .gif-once-stack,
.chapter-hero--responsabilidad .gif-once-stack {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  height: 100%;
}

.chapter-hero--government .gif-once-stack .chapter-hero__gov-art,
.chapter-hero--conocer .gif-once-stack .chapter-hero__gov-art,
.chapter-hero--estrategia .gif-once-stack .chapter-hero__gov-art,
.chapter-hero--informe .gif-once-stack .chapter-hero__gov-art,
.chapter-hero--trabajo .gif-once-stack .chapter-hero__gov-art,
.chapter-hero--responsabilidad .gif-once-stack .chapter-hero__gov-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: left center;
}

@media (prefers-reduced-motion: reduce) {
.chapter-hero--government .chapter-hero__gov-art,
  .chapter-hero--trabajo .chapter-hero__gov-art,
  .chapter-hero--conocer .chapter-hero__gov-art,
  .chapter-hero--estrategia .chapter-hero__gov-art,
  .chapter-hero--informe .chapter-hero__gov-art,
  .chapter-hero--cifras .chapter-hero__gov-art,
  .chapter-hero--presidente .chapter-hero__gov-art,
  .chapter-hero--director .chapter-hero__gov-art,
  .chapter-hero--responsabilidad .chapter-hero__gov-art {
    transform: none;
  }
}

/* Portada CAP 3 — ajuste a la altura real de la imagen en pantallas estrechas
   (evita el hueco vertical al usar object-fit: contain sobre 100svh) */
@media (max-width: 920px) {
  .chapter-hero.chapter-hero--estrategia {
    height: auto;
    min-height: 0;
  }

  .chapter-hero--estrategia .chapter-hero__gov-cover {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 1080;
  }

  .chapter-hero--estrategia .chapter-hero__gov-art,
  .chapter-hero--estrategia .gif-once-stack {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .chapter-hero--estrategia .gif-once-stack .chapter-hero__gov-art {
    object-fit: cover;
    object-position: center;
  }
}

/* Mismo ancho medido que .prose */
.chapter-body__content .section > .estrategia-intro-layout,
.chapter-body__content .section > .estrategia-propuestas-layout,
.chapter-body__content .section > .estrategia-hospital-layout,
.chapter-body__content .section > .estrategia-premio-calidad-layout,
.chapter-body__content .section > .estrategia-section-flow--full,
.chapter-body__content .section > .estrategia-cert-stack,
.chapter-body__content .section > .estrategia-photo-figure--full,
.chapter-body__content .section > .chapter-accordion,
.chapter-body__content .section > .table-block,
.chapter-body__content .section > .table-scroll,
.chapter-body__content .section > .table-wrap,
.chapter-body__content .section > .clima-layout,
.chapter-body__content .section > .energia-contrato-layout,
.chapter-body__content .section > .habana-intro-layout,
.chapter-body__content .section > .habana-funcionamiento-layout,
.chapter-body__content .section > .habana-leed-layout,
.chapter-body__content .section > .oficina-digital-layout,
.chapter-body__content .section > .presencia-marca-layout,
.chapter-body__content .section > .sistemas-info-intro-layout,
.chapter-body__content .section > .sistemas-info-arquitectura-layout,
.chapter-body__content .section > .gestion-economica-layout,
.chapter-body__content .section > .ciberseguridad-layout,
.chapter-body__content .section > .logros-destacados__figure,
.chapter-body__content .section > .sistemas-info-highlight,
.chapter-body__content .section > .oficina-qr-layout,
.chapter-body__content .section > .emprendedores-qr-layout,
.chapter-body__content .section > .fraterzen-layout,
.chapter-body__content .section > .redes-sociales-grafismo,
.chapter-body__content .section > .mi-frater-qr-layout,
.chapter-body__content .section > .territorial-layout,
.chapter-body__content .section > .ambito-highlight__banner,
.chapter-body__content .section > .infraestructuras-layout,
.chapter-body__content .section > .habana-mision-valores-layout,
.chapter-body__content .section > .mision-vision-quote,
.chapter-body__content .section > h3.section__sub,
.chapter-body__content .section > h4.section__sub,
.chapter-body__content .section > .checklist,
.chapter-body__content .section > ul.checklist,
.chapter-body__content .section > .junta-tabs,
.chapter-body__content .section > .gov-destacado,
.chapter-body__content .section > .teleconsulta-chart-block {
  width: 100%;
  max-width: 84ch;
  min-width: 0;
}

[data-chapter="06"] .section__title {
  --section-title-mark: linear-gradient(#e52228, #e52228);
  --section-title-mark-size: max(26px, 1.625rem);
  --section-title-mark-gap: clamp(.65rem, 1.4vw, 1.1rem);
  --section-title-mark-inset: 0;
  --section-title-line-reserve: calc(var(--section-title-mark-size) + var(--section-title-mark-gap));
}

[data-chapter="06"] .section__head {
  padding-bottom: calc(max(26px, 1.625rem) * 0.4 + .75rem);
}

[data-chapter="06"] .section__title::before {
  bottom: 0;
  right: 4rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-radius: 0;
  transform: translate(1.35rem, 0);
  transform-origin: bottom center;
}

[data-chapter="06"] .section__head.reveal.is-in .section__title::before,
[data-chapter="06"] .section__head.is-in .section__title::before {
  transform: translate(0, 0);
}

/* Cap. Estrategia: subtítulo previo al acordeón con menor separación */
[data-chapter="06"] .section__sub--tight {
  margin: .65rem 0 .2rem;
}

[data-chapter="06"] .section__sub--tight + .chapter-accordion {
  margin-top: .55rem;
}

/* Cap. 06 — espaciado títulos h3 ↔ contenido */
[data-chapter="06"] .chapter-body__content .section {
  gap: 0;
}

[data-chapter="06"] .chapter-body__content .section > * + * {
  margin-top: clamp(1rem, 2.1vw, 1.35rem);
}

[data-chapter="06"] .chapter-body__content .section > .section__head + * {
  margin-top: clamp(0.85rem, 1.8vw, 1.15rem);
}

[data-chapter="06"] .chapter-body__content .section > h3.section__sub,
[data-chapter="06"] .chapter-body__content .section > h4.section__sub {
  margin-bottom: 0;
}

[data-chapter="06"] .chapter-body__content .section > .section__head + :is(h3, h4).section__sub {
  margin-top: clamp(0.85rem, 1.8vw, 1.15rem);
}

[data-chapter="06"] .chapter-body__content .section > *:not(.section__head):not(.section__sub) + :is(h3, h4).section__sub {
  margin-top: clamp(1.5rem, 2.8vw, 2rem);
}

[data-chapter="06"] .chapter-body__content .section > h3.section__sub + * {
  margin-top: clamp(0.85rem, 1.6vw, 1.15rem);
}

[data-chapter="06"] .chapter-body__content .section > h4.section__sub + * {
  margin-top: clamp(0.85rem, 1.6vw, 1.15rem);
}

[data-chapter="06"] .chapter-body__content .section > h3.section__sub + h4.section__sub {
  margin-top: clamp(0.45rem, 0.9vw, 0.65rem);
}

[data-chapter="06"] .chapter-body__content .section > h4.section__sub.section__sub--tight {
  margin: .65rem 0 .2rem;
}

[data-chapter="06"] .chapter-body__content .section > .section__sub + .sedes-cards,
[data-chapter="06"] .chapter-body__content .section > .sedes-cards {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* Cap. 3 — Cambios normativos: acordeones por ámbito / h4 (norma) en panel */
#s-normativa > .prose + .estrategia-section-flow--full .chapter-accordion {
  margin-top: clamp(1.65rem, 3.25vw, 2.35rem);
}

#s-normativa .estrategia-section-flow--full .chapter-accordion {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

#s-normativa > .estrategia-photo-figure {
  display: grid;
  gap: clamp(0.45rem, 1vw, 0.65rem);
  width: 100%;
  max-width: 84ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  line-height: normal;
}

#s-normativa > .estrategia-photo-figure .ambito-highlight__caption {
  margin: 0;
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
  font-family: var(--ff-ui);
  font-size: clamp(0.78rem, 0.72rem + 0.15vw, 0.875rem);
  line-height: 1.4;
  color: var(--c-muted);
}

#s-normativa > .estrategia-photo-figure .gov-photo-frame {
  width: 100%;
  max-height: none;
  overflow: visible;
}

#s-normativa > .estrategia-photo-figure .gov-photo-frame__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Cap. 3 — bloques a ancho del contenedor de contenido */
[data-chapter="06"] .chapter-body__content .section > .estrategia-section-flow--full {
  width: 100%;
  max-width: 100%;
}

[data-chapter="06"] .estrategia-section-flow--full > :is(
  .chapter-accordion,
  h4.section__sub,
  .prose,
  .estrategia-photo-figure--full,
  .regimen-bauhaus-box--estrategia-full
) {
  max-width: 100%;
}

[data-chapter="06"] .chapter-body__content .section > h4.section__sub:has(em) {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Cap. 3 — tablas (cabeceras alineadas con el sistema global) */
[data-chapter="06"] .data-table thead th {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}

/* Cap. 3 — tabla Grupos de interés */
[data-chapter="06"] .data-table--interes {
  border: 0;
  background: #fff;
  border-collapse: collapse;
}

[data-chapter="06"] .data-table--interes th,
[data-chapter="06"] .data-table--interes td {
  border: 0;
  vertical-align: top;
}

[data-chapter="06"] .data-table--interes tbody th,
[data-chapter="06"] .data-table--interes tbody td {
  background: #fff;
  color: #000;
  border-bottom: 0;
}

[data-chapter="06"] .data-table--interes tbody td {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

[data-chapter="06"] .data-table--interes thead th {
  white-space: normal;
  border-left: 0;
  border-right: 0;
}

[data-chapter="06"] .data-table--interes thead th:first-child {
  text-align: left;
  line-height: 1.1;
}

[data-chapter="06"] .data-table--interes thead tr:last-child th {
  background: var(--c-accent);
  color: var(--c-white);
  border-top: 0;
  border-bottom: 2px solid var(--c-ink);
}

[data-chapter="06"] .data-table--interes .data-table__group-row th {
  background: #fff;
  color: #000;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-top: 2px solid #000;
}

[data-chapter="06"] .data-table--interes .data-table__group-row + tr > :is(td, th) {
  border-top: 1px solid #000;
}

[data-chapter="06"] .data-table--interes tbody tr:has(> .data-table__row-label):not(.data-table__group-row + tr) > :is(td, th) {
  border-top: 2px solid #000;
}

[data-chapter="06"] .data-table--interes .data-table__row-label {
  font-weight: 400;
  vertical-align: middle;
  width: 18%;
}

[data-chapter="06"] .data-table--interes .data-table__freq,
[data-chapter="06"] .data-table--interes .data-table__annot {
  text-align: center;
  vertical-align: top;
}

[data-chapter="06"] .data-table--interes .data-table__freq {
  width: 1%;
  white-space: nowrap;
}

[data-chapter="06"] .data-table--interes .data-table__annot {
  width: 8%;
  white-space: nowrap;
}

[data-chapter="06"] .data-table--interes .data-table__channel {
  position: relative;
  padding-left: 1rem;
  text-align: left;
}

[data-chapter="06"] .data-table--interes .data-table__channel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--c-accent);
}

/* Cap. 3 — tabla La calidad percibida */
[data-chapter="06"] .data-table--calidad {
  background: #fff;
}

[data-chapter="06"] .data-table--calidad th,
[data-chapter="06"] .data-table--calidad td {
  border-bottom: 1px solid #000;
  vertical-align: middle;
}

[data-chapter="06"] .data-table--calidad tbody th,
[data-chapter="06"] .data-table--calidad td {
  background: #fff;
  color: #000;
}

[data-chapter="06"] .data-table--calidad thead .data-table__group-row th {
  border: 0;
  padding: 0 .45rem .4rem;
  background: transparent;
  color: var(--c-accent);
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  vertical-align: bottom;
}

[data-chapter="06"] .data-table--calidad thead .data-table__group-row th:first-child {
  padding: 0;
  background: transparent;
}

[data-chapter="06"] .data-table--calidad thead tr:last-child th {
  background: var(--c-accent);
  color: var(--c-white);
  border-bottom: 2px solid var(--c-ink);
  border-top: 0;
  padding: .85rem 1rem;
  font-size: 1.15rem;
  text-transform: uppercase;
}

[data-chapter="06"] .data-table--calidad tbody td:first-child {
  font-weight: 700;
}

[data-chapter="06"] .data-table--calidad tbody td:not(:first-child) {
  text-align: center;
}

[data-chapter="06"] .data-table--calidad tbody tr:nth-child(even) td {
  background: #fff;
}

/* Cap. 3 — intro V Plan (columna izquierda destacada) */
[data-chapter="06"] .chapter-body__content .section > .estrategia-intro-layout {
  max-width: 100%;
}

[data-chapter="06"] .estrategia-intro-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: 0;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  overflow: visible;
}

[data-chapter="06"] .chapter-body__content .section > .estrategia-intro-layout + h3.section__sub {
  position: relative;
  z-index: 1;
  margin-top: clamp(3.5rem, 8vw, 5.75rem);
}

[data-chapter="06"] .estrategia-intro-layout__lead-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: start;
  min-width: 0;
}

[data-chapter="06"] .estrategia-intro-layout__lead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
  padding: clamp(1.65rem, 3.2vw, 2.35rem);
  padding-bottom: clamp(3.25rem, 7vw, 4.75rem);
  background: #e52228;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: var(--lh-relaxed);
}

[data-chapter="06"] .estrategia-intro-layout__lead-footer {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}

[data-chapter="06"] .estrategia-intro-layout__deco {
  position: absolute;
  right: 8rem;
  bottom: 6.5rem;
  left: auto;
  display: block;
  width: min(88%, 20.5rem);
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  opacity: 0;
  transform-origin: right bottom;
  transform: translate(42%, 55%) scaleY(-1);
  transition:
    transform 1400ms cubic-bezier(.22, 1, .36, 1),
    opacity 1000ms cubic-bezier(.22, 1, .36, 1);
}

[data-chapter="06"] .estrategia-intro-layout.reveal.is-in .estrategia-intro-layout__deco {
  opacity: 1;
  transform: translate(62%, 42%) scaleY(-1);
  transition-delay: 900ms;
}

@media (prefers-reduced-motion: reduce) {
[data-chapter="06"] .estrategia-intro-layout__deco,
  [data-chapter="06"] .estrategia-intro-layout.reveal.is-in .estrategia-intro-layout__deco {
    opacity: 1;
    transform: translate(62%, 42%) scaleY(-1);
    transition: none;
  }
}

[data-chapter="06"] .estrategia-intro-layout__lead p {
  margin: 0;
  color: #fff;
}

[data-chapter="06"] .estrategia-intro-layout__lead p + p {
  margin-top: 1em;
}

[data-chapter="06"] .estrategia-intro-layout__lead strong {
  color: #fff;
  font-weight: 600;
}

[data-chapter="06"] .estrategia-intro-layout__body {
  min-width: 0;
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.25rem, 2.8vw, 2.15rem);
  background: #fff;
}

[data-chapter="06"] .estrategia-intro-layout__body > :first-child {
  margin-top: 0;
}

[data-chapter="06"] .estrategia-intro-layout__brand {
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;
  text-align: center;
}

[data-chapter="06"] .estrategia-intro-layout__brand img {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  margin-inline: auto;
}

[data-chapter="06"] .estrategia-intro-layout__objectives {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.8vw, 1.25rem);
  margin: clamp(.85rem, 1.8vw, 1.15rem) 0 0;
}

[data-chapter="06"] .estrategia-intro-layout__objective {
  margin: 0 0 2rem;
  display: grid;
  gap: .55rem;
  text-align: center;
}

[data-chapter="06"] .estrategia-intro-layout__objective img {
  display: block;
  height: auto;
  margin-inline: auto;
}

[data-chapter="06"] .estrategia-intro-layout__objective figcaption {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(.82rem, 1.05vw, .95rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--c-ink);
}

[data-chapter="06"] .gov-media-layout {
  width: 100%;
  max-width: 84ch;
  min-width: 0;
  margin-top: 0;
}

[data-chapter="06"] .gov-media-layout__aside {
  position: static;
}

/* CAP 3 — innovación sanitaria (silueta izquierda + texto) */
[data-chapter="06"] .estrategia-innovacion-layout {
  grid-template-columns: minmax(260px, 58%) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.8vw, 2.25rem);
  align-items: start;
  width: 100%;
  max-width: none;
  margin: clamp(1rem, 2.2vw, 1.75rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
}

[data-chapter="06"] .estrategia-innovacion-layout .gov-media-layout__aside {
  position: sticky;
  top: calc(var(--topbar-h) + 1.5rem);
}

[data-chapter="06"] .estrategia-innovacion-layout__media img {
  display: block;
  width: 100%;
  height: auto;
}

[data-chapter="06"] .estrategia-innovacion-layout__body .prose > p + p {
  margin-top: 1em;
}

[data-chapter="06"] .estrategia-innovacion-layout__body > .prose + .checklist {
  margin-top: clamp(.35rem, .8vw, .55rem);
}

[data-chapter="06"] .estrategia-innovacion-layout__sources {
  gap: clamp(.65rem, 1.2vw, .85rem);
}

[data-chapter="06"] .estrategia-innovacion-layout__sources li strong {
  font-weight: 700;
}

@media (max-width: 920px) {
[data-chapter="06"] .estrategia-innovacion-layout {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .estrategia-innovacion-layout .gov-media-layout__aside {
    position: static;
    width: min(100%, 28rem);
    margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
  }
}

/* CAP 3 — satisfacción hospitalaria (silueta + texto intro, ancho prose) */
[data-chapter="06"] .estrategia-hospital-layout {
  grid-template-columns: minmax(160px, 45%) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  align-items: start;
  width: 100%;
  max-width: 84ch;
  margin: 0 0 clamp(1rem, 2.2vw, 1.35rem);
}

[data-chapter="06"] .estrategia-hospital-layout .gov-media-layout__aside {
  position: static;
  align-self: stretch;
}

[data-chapter="06"] .estrategia-hospital-layout__media img {
  display: block;
  width: 100%;
  height: auto;
}

[data-chapter="06"] .estrategia-hospital-layout__body .prose > p + p {
  margin-top: 1em;
}

@media (max-width: 720px) {
[data-chapter="06"] .estrategia-hospital-layout {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .estrategia-hospital-layout .gov-media-layout__aside {
    width: min(100%, 14rem);
    margin: 0 auto clamp(1rem, 2.5vw, 1.35rem);
  }
}

/* CAP 3 — reconocimiento QH** (texto + sello en dos columnas) */
[data-chapter="06"] .estrategia-premio-calidad-layout {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 30%);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  align-items: start;
  width: 100%;
  max-width: 84ch;
  margin: 0 0 clamp(1rem, 2.2vw, 1.35rem);
}

[data-chapter="06"] .estrategia-premio-calidad-layout .gov-media-layout__aside {
  position: static;
  align-self: start;
}

[data-chapter="06"] .estrategia-premio-calidad-layout__media img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

@media (max-width: 720px) {
[data-chapter="06"] .estrategia-premio-calidad-layout {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .estrategia-premio-calidad-layout .gov-media-layout__aside {
    width: min(100%, 10rem);
    margin: 0 auto clamp(1rem, 2.5vw, 1.35rem);
  }
}

/* CAP 3 — premios finales (texto + silueta bauhaus, como maqueta) */
[data-chapter="06"] .chapter-body__content .section > .estrategia-premios-montage {
  width: 100%;
  max-width: 100%;
}

[data-chapter="06"] .estrategia-premios-montage {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

[data-chapter="06"] .estrategia-premios-montage__stage {
  display: grid;
  grid-template-columns: minmax(0, 41.5%) minmax(0, 58.5%);
  column-gap: 0;
  align-items: stretch;
}

[data-chapter="06"] .estrategia-premios-montage__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  min-width: 0;
  min-height: 100%;
  padding-right: clamp(0.25rem, 1vw, 0.65rem);
}

[data-chapter="06"] .estrategia-premios-montage__item {
  min-width: 0;
}

[data-chapter="06"] .estrategia-premios-montage__title {
  margin: 0 0 0.45em;
  font-family: "Futura Medium BT", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.98rem, 0.92rem + 0.22vw, 1.125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #e52228;
}

[data-chapter="06"] .estrategia-premios-montage__text {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: #000;
}

[data-chapter="06"] .estrategia-premios-montage__media {
  display: grid;
  gap: clamp(0.45rem, 1vw, 0.65rem);
  margin: 0 0 0 clamp(-1.35rem, -3.8vw, -2.5rem);
  line-height: normal;
  align-self: start;
}

[data-chapter="06"] .estrategia-premios-montage__media .ambito-highlight__caption {
  margin: 0;
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
  font-family: var(--ff-ui);
  font-size: clamp(0.78rem, 0.72rem + 0.15vw, 0.875rem);
  line-height: 1.4;
  color: var(--c-muted);
  text-align: right;
}

[data-chapter="06"] .estrategia-premios-montage__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

[data-chapter="06"] .estrategia-premios-montage__media.reveal[data-reveal="right"] {
  opacity: 1;
  transform: none;
}

[data-chapter="06"] .estrategia-premios-montage__media.reveal[data-reveal="right"] img {
  opacity: 0;
  transform: translateX(3.25rem) scale(0.94);
  transition:
    opacity 980ms cubic-bezier(.22, 1, .36, 1),
    transform 980ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: 420ms;
  will-change: opacity, transform;
}

[data-chapter="06"] .estrategia-premios-montage__media.reveal.is-in[data-reveal="right"] img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (max-width: 900px) {
[data-chapter="06"] .estrategia-premios-montage__stage {
    grid-template-columns: 1fr;
    row-gap: clamp(1.25rem, 3vw, 1.75rem);
  }

[data-chapter="06"] .estrategia-premios-montage__copy {
    justify-content: flex-start;
    padding-right: 0;
    min-height: 0;
  }

[data-chapter="06"] .estrategia-premios-montage__media {
    width: min(100%, 20rem);
    margin: 0 auto;
  }

[data-chapter="06"] .estrategia-premios-montage__media img {
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
[data-chapter="06"] .estrategia-premios-montage__media.reveal[data-reveal="right"] img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* CAP 3 — cierre de premios (patrón gov-destacado con comillas rojas) */
[data-chapter="06"] .estrategia-premios-highlight.gov-destacado {
  width: 100%;
  max-width: 100%;
  margin-top: clamp(2rem, 4.5vw, 3.25rem);
}

[data-chapter="06"] .estrategia-premios-highlight .gov-destacado__panel--quote {
  min-height: 0;
  padding-bottom: clamp(3.25rem, 8vw, 5.5rem);
}

[data-chapter="06"] .estrategia-premios-highlight .gov-destacado__panel--quote .gov-destacado__text {
  max-width: none;
}

[data-chapter="06"] .estrategia-premios-highlight .gov-destacado__text strong {
  color: var(--c-ink);
}

[data-chapter="06"] .estrategia-premios-highlight .gov-destacado__deco--bleed-left {
  right: auto;
  left: 15px;
  bottom: 2.4rem;
  width: min(84%, 18.5rem);
  object-position: left bottom;
  transform: translate(-42%, 55%);
}

[data-chapter="06"] .estrategia-premios-highlight.is-in .gov-destacado__deco--bleed-left {
  transform: translate(-16%, 42%);
}

[data-chapter="06"] .chapter-body__content .section > .prose + .estrategia-cert-stack {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* CAP 3 — certificaciones (cajas bauhaus + logo) */
[data-chapter="06"] .estrategia-cert-stack {
  display: grid;
  gap: clamp(1.15rem, 2.3vw, 1.65rem);
  width: 100%;
  max-width: 84ch;
}

[data-chapter="06"] .estrategia-cert-card.gov-destacado {
  margin: 0;
  padding-bottom: clamp(1rem, 2.1vw, 1.35rem);
}

[data-chapter="06"] .estrategia-cert-card__panel {
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2.2vw, 1.4rem);
  min-width: 0;
}

[data-chapter="06"] .estrategia-cert-card__title {
  margin: 0 0 clamp(0.65rem, 1.2vw, 0.85rem);
  font-family: "Futura Medium BT", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-accent);
}

[data-chapter="06"] .estrategia-cert-card__body {
  max-width: none;
}

[data-chapter="06"] .estrategia-cert-card__body::after {
  content: "";
  display: table;
  clear: both;
}

[data-chapter="06"] .estrategia-cert-card__body > p {
  line-height: 1.62;
}

[data-chapter="06"] .estrategia-cert-card__body .c-ul-content {
  margin: 0.35rem 0 0;
}

[data-chapter="06"] .estrategia-cert-card__logo {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

[data-chapter="06"] .estrategia-cert-card__logo--right {
  float: right;
  width: min(7rem, 32%);
  margin: 0.1rem 0 0.65rem clamp(0.85rem, 2vw, 1.25rem);
  shape-margin: 0.65rem;
}

[data-chapter="06"] .estrategia-cert-card__logo--left {
  float: left;
  width: min(7rem, 32%);
  margin: 0.1rem clamp(0.85rem, 2vw, 1.25rem) 0.65rem 0;
  shape-margin: 0.65rem;
}

[data-chapter="06"] .estrategia-cert-card__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* CAP 3 — sellos de calidad: misma entrada lateral al activarse la caja */
[data-chapter="06"] .estrategia-sello-enter img {
  opacity: 0;
  transition:
    opacity 980ms cubic-bezier(.22, 1, .36, 1),
    transform 980ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: 480ms;
  will-change: opacity, transform;
}

[data-chapter="06"] .estrategia-sello-enter--left img {
  transform: translateX(-3.25rem) scale(0.86);
}

[data-chapter="06"] .estrategia-sello-enter--right img {
  transform: translateX(3.25rem) scale(0.86);
}

[data-chapter="06"] .estrategia-cert-card.is-in .estrategia-sello-enter img,
[data-chapter="06"] .estrategia-premio-calidad-layout.is-in .estrategia-sello-enter img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
[data-chapter="06"] .estrategia-sello-enter img {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

[data-chapter="06"] .estrategia-cert-card .gov-destacado__mark {
  width: clamp(4.25rem, 38%, 11.5rem);
  top: -14px;
  right: 0;
}

[data-chapter="06"] .estrategia-cert-card.is-in :is(
  .estrategia-cert-card__title,
  .estrategia-cert-card__body > p
).reveal {
  opacity: 1;
  transform: none;
}

[data-chapter="06"] .estrategia-cert-card .gov-destacado__mark--left {
  position: absolute;
  width: clamp(4.25rem, 38%, 11.5rem);
  height: var(--box-mark-height);
  max-height: var(--box-mark-height);
  display: block;
  object-fit: contain;
  top: -14px;
  left: -2px;
  right: auto;
  object-position: left top;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transform: translateX(-130%);
  transition:
    transform 1200ms cubic-bezier(.22, 1, .36, 1),
    opacity 900ms cubic-bezier(.22, 1, .36, 1);
}

[data-chapter="06"] .estrategia-cert-card.is-in .gov-destacado__mark--left {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 400ms;
}

@media (max-width: 720px) {
[data-chapter="06"] .estrategia-cert-card__logo--right,
  [data-chapter="06"] .estrategia-cert-card__logo--left {
    float: none;
    width: min(6.25rem, 42vw);
    margin: 0 0 0.75rem;
  }
}

/* CAP 3 — FOTO_1 modelo participativo */
[data-chapter="06"] .estrategia-photo-frame {
  overflow: visible;
}

[data-chapter="06"] .estrategia-photo-frame .gov-photo-frame__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right top;
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) {
  align-items: stretch;
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .gov-media-layout__aside {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  overflow: visible;
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1 {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: 1fr;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  container-type: size;
  overflow: visible;
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1 .gov-photo-frame__photo {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: right top;
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__forma {
  top: -1rem;
  right: -0.5rem;
  left: auto;
  z-index: 99;
  width: clamp(2.5rem, 26%, 4.5rem);
  height: auto;
  object-fit: contain;
  object-position: right top;
  transform: translate(20%, -30%) scale(.86);
  transform-origin: top right;
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__mark {
  top: clamp(0.85rem, 0%, -1.35rem);
  right: clamp(0.45rem, 5.75%, 4rem);
  left: auto;
  z-index: 999;
  width: clamp(6rem, 145%, 15rem);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: right top;
  transform: rotate(-90deg) translateY(-108%);
  transform-origin: top right;
}

.reveal.is-in [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__forma,
[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .reveal.is-in .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__forma,
[data-chapter="06"] .gov-media-layout__aside.reveal.is-in .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__forma {
  transform: translate(20%, -30%) scale(1);
}

.reveal.is-in [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__mark,
[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .reveal.is-in .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__mark,
[data-chapter="06"] .gov-media-layout__aside.reveal.is-in .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__mark {
  transform: rotate(-90deg) translateY(0);
}

[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right:hover .gov-photo-frame__forma,
[data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right:focus-within .gov-photo-frame__forma {
  transform: translate(calc(20% + 1px), calc(-30% - 1px)) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__mark {
    transform: rotate(-90deg) translateY(0);
  }
}

@media (max-width: 920px) {
  [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) {
    align-items: start;
  }

  [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1 {
    height: auto;
    flex: none;
    container-type: normal;
  }

  [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1 .gov-photo-frame__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 739 / 1311;
  }

  [data-chapter="06"] .gov-media-layout:has(.estrategia-photo-frame--foto1) .estrategia-photo-frame--foto1.gov-photo-frame--deco-right .gov-photo-frame__mark {
    width: clamp(8rem, 105%, 16rem);
  }
}

/* CAP 3 — propuestas innovación (lista + FOTO_2) */
[data-chapter="06"] .estrategia-propuestas-layout {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 40%);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
  max-width: 84ch;
  margin: clamp(.35rem, 1vw, .75rem) 0 clamp(1.5rem, 3vw, 2rem);
}

[data-chapter="06"] .estrategia-propuestas-layout .gov-media-layout__aside {
  position: sticky;
  top: calc(var(--topbar-h) + 1.5rem);
}

[data-chapter="06"] .estrategia-propuestas-layout__body .checklist {
  margin: 0;
}

/* CAP 3 — FOTO_2 propuestas innovación (posiciones según arte SVG) */
[data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__forma {
  top: -6%;
  right: -6%;
  width: 24.6%;
  transform: translate(0, 0) scale(.86);
  transform-origin: top right;
}

[data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark {
  top: 1.6%;
  right: -2.6%;
  width: 152%;
  max-width: none;
  height: auto;
  transform: rotate(-90deg) translateY(-108%);
  transform-origin: top right;
}

.reveal.is-in [data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__forma,
[data-chapter="06"] .reveal.is-in .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__forma {
  transform: translate(0, 0) scale(1);
}

.reveal.is-in [data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark,
[data-chapter="06"] .reveal.is-in .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark {
  transform: rotate(-90deg) translateY(0);
}

[data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right:hover .gov-photo-frame__forma,
[data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right:focus-within .gov-photo-frame__forma {
  transform: translate(1px, -1px) scale(1.02);
}

[data-chapter="06"] .gov-media-layout__aside .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__forma {
  top: -15%;
  right: -9%;
  width: 24.6%;
  transform: translate(0, 0) scale(.86);
  transform-origin: top right;
}

[data-chapter="06"] .gov-media-layout__aside .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark {
  top: 1.6%;
  right: 19px;
  width: 75%;
  max-width: none;
  transform: rotate(-90deg) translateY(-108%);
  transform-origin: top right;
}

.reveal.is-in [data-chapter="06"] .gov-media-layout__aside .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__forma,
[data-chapter="06"] .gov-media-layout__aside.reveal.is-in .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__forma {
  transform: translate(0, 0) scale(1);
}

.reveal.is-in [data-chapter="06"] .gov-media-layout__aside .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark,
[data-chapter="06"] .gov-media-layout__aside.reveal.is-in .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark {
  transform: rotate(-90deg) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
[data-chapter="06"] .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark,
  [data-chapter="06"] .gov-media-layout__aside .estrategia-photo-frame--foto2.gov-photo-frame--deco-right .gov-photo-frame__mark {
    transform: rotate(-90deg) translateY(0);
  }
}

/* CAP 3 — FOTO_4 normativa (ancho completo + decoración derecha) */
[data-chapter="06"] .chapter-body__content .section > .estrategia-photo-figure--full {
  max-width: 100%;
}

[data-chapter="06"] .estrategia-photo-figure--full {
  width: 100%;
  margin: 2rem 0 0 0;
  line-height: 0;
}

[data-chapter="06"] .estrategia-photo-figure--full .gov-photo-frame {
  width: 100%;
  max-height: none;
  overflow: visible;
}

[data-chapter="06"] .estrategia-photo-figure--full .gov-photo-frame__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

[data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__forma {
  top: -10%;
  right: -4.5%;
  width: clamp(2.75rem, 7.5vw, 6rem);
  transform: translate(0, 0) scale(.86);
  transform-origin: top right;
}

[data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__mark {
  top: 5%;
  right: 2%;
  width: clamp(7rem, 38%, 12.5rem);
  max-width: none;
  height: auto;
  transform: rotate(-90deg) translateY(-108%);
  transform-origin: top right;
}

.reveal.is-in [data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__forma,
[data-chapter="06"] .reveal.is-in .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__forma {
  transform: translate(0, 0) scale(1);
}

.reveal.is-in [data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__mark,
[data-chapter="06"] .reveal.is-in .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__mark {
  transform: rotate(-90deg) translateY(0);
}

[data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right:hover .gov-photo-frame__forma,
[data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right:focus-within .gov-photo-frame__forma {
  transform: translate(1px, -1px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
[data-chapter="06"] .estrategia-photo-frame--foto4.gov-photo-frame--deco-right .gov-photo-frame__mark {
    transform: rotate(-90deg) translateY(0);
  }
}

@media (max-width: 920px) {
[data-chapter="06"] .estrategia-propuestas-layout {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .estrategia-propuestas-layout .gov-media-layout__aside {
    position: static;
    width: min(100%, 22rem);
    margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  }
}

@media (max-width: 920px) {
[data-chapter="06"] .estrategia-intro-layout {
    grid-template-columns: 1fr;
  }

[data-chapter="06"] .chapter-body__content .section > .estrategia-intro-layout + h3.section__sub {
    margin-top: clamp(2.75rem, 7vw, 4.25rem);
  }

[data-chapter="06"] .estrategia-intro-layout__body {
    padding-top: clamp(1.15rem, 3vw, 1.5rem);
  }

[data-chapter="06"] .estrategia-intro-layout__objectives {
    grid-template-columns: 1fr;
    max-width: 16rem;
    margin-inline: auto;
  }
}

/* Animaciones (@keyframes) usadas por el capítulo 3 */

@keyframes bauhausEstrategiaCircleIdle {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-4px) scale(1.04); }
}

@keyframes bauhausEstrategiaDecoIdle {
  from { transform: translateX(0) scale(1); }
  to { transform: translate(-4px, -2px) scale(1.02); }
}

@keyframes bauhausEstrategiaDotIdle {
  from { transform: scaleX(1); }
  to { transform: scaleX(1.06) translateX(2px); }
}

@keyframes bauhausEstrategiaFiguraAltIdle {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.02) translate(2px, -2px); }
}

@keyframes bauhausEstrategiaFiguraIdle {
  from { transform: translate(0, 0); }
  to { transform: translate(4px, -2px); }
}

@keyframes bauhausEstrategiaFormaIdle {
  from { transform: scale(1) rotate(0deg) translate(0, 0); }
  to { transform: scale(1.04) rotate(3deg) translate(2px, -2px); }
}

@keyframes bauhausEstrategiaGridIdle {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-3px) scale(1.02); }
}

@keyframes bauhausEstrategiaLinesIdle {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(2px, -2px) scale(1.02); }
}

@keyframes bauhausEstrategiaRedCircleIdle {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes bauhausEstrategiaSemiIdle {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-3px) scale(1.03); }
}

@keyframes bauhausEstrategiaSquareIdle {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.02) translate(2px, -3px); }
}

@keyframes bauhausEstrategiaTrianguloIdle {
  from { transform: translateX(0) scale(1); }
  to { transform: translate(-3px, 2px) scale(1.03); }
}

@keyframes organismos-panel-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
