/*======================================================================
  DOCUMENTAL  ·  "¿Ballenas o gas?" — página del documental
  Mismo patrón que texto_v2.css: bloques <section class="section ...">
  con fondo de color sólido (aqua / negro / limón) e ilustraciones a
  sangre que fluyen de un bloque al siguiente.
======================================================================*/

body {
  background-color: #ffffff !important;
}
header.navbar {
  background-color: #ffffff !important;
}

.documental-main {
  overflow-x: hidden;
}

.documental-main p:not(.costra),
.documental-main li {
  font-family: "KievitOT" !important;
}

/*====================================================================
  ZONA AQUA  ·  hero + sobre el documental / director
====================================================================*/
.doc-hero,
.doc-info {
  background-color: var(--aqua);
}

.doc-hero .padding-section {
  padding-top: 4.5rem !important;
  padding-bottom: 4rem !important;
}

.doc-eyebrow {
  font-size: var(--fs-8);
  margin-bottom: 0.5rem;
}

.doc-hero_component h1 {
  font-size: var(--fs-10);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.doc-laureles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}
.doc-laureles img {
  height: 3.02rem;
  width: auto;
}
.doc-laureles img:first-child {
  height: 3.4rem;
}

.doc-creditos p {
  font-size: var(--fs-7);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}
.doc-creditos b {
  font-weight: bold;
}
.doc-video {
  width: 100%;
  max-width: 56rem;
  margin: 3.5rem auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
}
.doc-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.doc-creditos-subrayado {
  font-weight: normal;
  text-decoration: underline;
  font-family: "KievitOT";
  color: inherit;
}
.doc-creditos-subrayado:hover {
  color: var(--azul-comercios);
}

/*--- Sobre el documental / Sobre el director -------------------------*/
.doc-info {
  position: relative;
}
.doc-info .padding-section {
  padding-top: 5rem !important;
  padding-bottom: 0 !important;
}
.doc-info_component {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 50rem;
  margin: 0 auto;
}
.doc-info-row {
  display: flex;
  gap: 3rem;
}
.doc-info-label {
  flex: 0 0 14rem;
  text-align: right;
  font-size: var(--fs-7);
}
.doc-info-text {
  flex: 1;
  max-width: 52rem;
  font-size: var(--fs-5);
  line-height: 1.5;
}

.doc-pajaro {
  position: absolute;
  right: 6%;
  top: 2rem;
  width: 6rem;
  pointer-events: none;
  user-select: none;
}

/* Ballena con lanchas: puente visual entre el bloque aqua (sobre el
   documental / director) y el bloque negro. */
.doc-info-bg {
  display: block;
  width: 100%;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .doc-laureles {
    margin-bottom: 3rem;
  }
  .doc-hero .padding-section {
    padding-bottom: 2.5rem !important;
  }
  .doc-info .padding-section {
    padding-top: 3.5rem !important;
  }
  .doc-info-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .doc-info-label {
    flex: none;
    text-align: left;
  }
  .doc-pajaro {
    width: 4rem;
  }
}

/*====================================================================
  BLOQUE LIMÓN  ·  acciones (compartir / peticiones / proyectar)
====================================================================*/
.doc-acciones {
  background-color: var(--limon);
  position: relative;
}
.doc-acciones-titulo {
  font-size: var(--fs-9);
  line-height: 1.05;
  margin-bottom: 3rem;
}

.doc-acciones_component {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Botones azules (peticiones) — mismo azul que la Red de Escuelas. */
.doc-btn-azul {
  background-color: var(--azul-1-escuelas);
}

.doc-compartir-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.doc-peticiones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 0px 5%;
}
.doc-peticiones-texto {
  flex: 1 1 32rem;
  max-width: 40rem;
}
.doc-peticiones-texto h2 {
  margin-bottom: 1rem;
}
.doc-peticiones-texto p {
  font-size: var(--fs-5);
  line-height: 1.5;
}
.doc-peticiones-botones {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* "Proyecta el documental": texto flotando a la derecha, sobre la
   ballena "proyectada" (cámara + pantalla) que cierra la sección. */
.doc-proyecta-wrap {
  position: relative;
  margin-top: 2rem;
}
.doc-acciones-bg {
  display: block;
  width: 100%;
  pointer-events: none;
  user-select: none;
}
.doc-proyecta {
  position: absolute;
  top: 20%;
  right: 10%;
  transform: translateY(-50%);
  max-width: 30rem;
}
.doc-proyecta h2 {
  margin-bottom: 1rem;
}
.doc-proyecta p {
  font-size: var(--fs-5);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .doc-proyecta {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 2rem;
  }
}

@media (max-width: 900px) {
  .doc-acciones_component {
    gap: 3.5rem;
  }
  .doc-peticiones {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 2rem;
  }
  .doc-peticiones-texto {
    flex-basis: auto;
    max-width: none;
  }
  .doc-peticiones-botones {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .doc-laureles {
    gap: 1.25rem;
  }
  .doc-laureles img {
    height: 2.27rem;
  }
  .doc-laureles img:first-child {
    height: 2.52rem;
  }
  .doc-compartir-row {
    flex-direction: column;
    align-items: center;
  }
}

/*====================================================================
  FOOTER  ·  en absoluto, sobre la ballena que cierra la página
====================================================================*/
.footer-documental {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1.5rem 0;
}
.footer-documental .footer-component p {
  color: #ffffff;
}

@media (max-width: 900px) {
  /* El texto/botón de .doc-proyecta vuelven al flujo normal debajo de la
     imagen, así que el footer absoluto ya no puede anclarse a su borde
     (quedaría montado sobre el botón "Descargar") — regresa al flujo. */
  .footer-documental {
    position: static;
    padding: 2rem 0 3rem;
  }
  .footer-documental .footer-component p {
    color: #000000;
  }
}
