/* 1. Tipografías */
@font-face {
  font-family: 'Futura Md BT';
  src: url('../assets/fonts/futuramdbt_bold-webfont.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Light BT V1';
  src: url('../assets/fonts/Futura_Light_BT_V1.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Adam Bold';
  src: url('../assets/fonts/Adam-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat SemiBold';
  src: url('../assets/fonts/Adam-Montserrat-SemiBold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* 2. Estilos globales */

html,
body {
  height: 100%;
}

body {
  padding-top: var(--nav-h) !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.page-main {
  flex: 1 0 auto;
  /* empuja el footer hacia abajo */
  display: flex;
  flex-direction: column;
}

footer {
  flex-shrink: 0;
}

.bg-grishumo {
  background-color: #F8F9FA;
}

.logo-alianza {
  height: auto;
  width: auto;
  object-fit: contain;
}

.spda-logo {
  max-height: 60px;
}

.fbn-logo {
  max-height: 54px;
}

/* 3. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0 !important;
  --bs-navbar-padding-y: 0;
  display: flex;
  align-items: center;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand img {
  max-height: calc(var(--nav-h) - 10px);
  display: block;
}

/* 4. Menú (overlay y botones) */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  z-index: 1050;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s, transform 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay a {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 5.5rem;
  margin: 1rem;
  color: #FF7B8E;
  text-decoration: none;
}

.menu-overlay a:hover {
  text-decoration: none;
  color: #ffffff;
}

/* Botón con logo (desktop) — normalizado para no estirar el nav */
.menu-button {
  cursor: pointer;
  border: none;
  padding: 0;
  width: 160px;
  height: 70px;
  background-image: url('../assets/img/menu_logo.png') !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.25s ease, background-image 0.25s ease;
}

.menu-button:hover {
  transform: scale(1.28);
  background-image: url('../assets/img/menu_hover.png') !important;
}

.contenido-entrada .container {
  text-align: justify;
}

/* Botón hamburguesa (móvil) — altura sincronizada */
.hamburger-button {
  font-size: 28px;
  height: 40px;
  /* empata con .menu-button */
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submenu {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.submenu.show {
  display: flex;
  opacity: 1;
}

.menu-item {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 2.5rem;
  margin: 1rem;
  color: #ff1d25;
  text-decoration: none;
  text-align: right;
}

.menu-item:hover {
  text-decoration: underline;
}

#menuList {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 5. Contenidos principales */
.contenido-font {
  font-family: 'Futura Light BT V1', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  color: #fff;
  margin: 1rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contenido-principal,
.contenido-proyecto {
  position: relative;
  display: flex;
  height: auto;
  min-height: var(--h-principal);
  flex: 0 0 auto;
  overflow: visible;
  justify-content: flex-start;
  align-items: center;
  color: white;
  padding: clamp(2rem, 6vh, 5rem) 2rem;
  font-family: 'Futura Md BT', sans-serif;
  box-sizing: border-box;
}

.contenido-principal div,
.contenido-proyecto div {
  margin: 0 auto;
  max-width: 90%;
  padding: 0 2rem;
}

.contenido-entrada {
  height: auto;
  min-height: var(--h-entrada);
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  color: white;
  padding: 2rem 0;
  font-family: 'Futura Md BT', sans-serif;
  flex: 0 0 auto;
  overflow: visible;
}

.contenido-principal {
  background-color: #ff7ba7;
}

.contenido-proyecto {
  background-color: #ff7ba7;
}

.contenido-grilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  padding: 1rem;
  background-color: #fff;
}

.contenido-grilla img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.25rem;
  object-fit: cover;
}

.contenido-entrada p {
  font-family: 'Futura Light BT V1', sans-serif;
  color: #FF7B8E;
  font-size: 1rem;
}

.contenido-entrada h3 {
  font-family: 'Futura Md BT', sans-serif;
  color: #FF7B8E;
}

.contenido-entrada h1 {
  margin-top: 2rem;
  font-family: 'Futura Md BT', sans-serif;
  color: #FF7B8E;
}

/* 6. Fondos */
.fullscreen-image {
  position: relative;
  background: url('../assets/img/fondo1.jpg') no-repeat center center;
  background-size: cover;
  min-height: calc(100svh - var(--nav-h));
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: white;
  padding: 2rem;
}

.text-overlay {
  position: relative;
  background: url('../assets/img/fondo2.jpg') no-repeat center center/cover;
  height: auto;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: clamp(2rem, 6vh, 5rem) 1rem;
}

.text-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.text-overlay h5 {
  position: relative;
  font-size: clamp(18px, 4.8vw, 32px);
  font-family: 'Futura Md BT', sans-serif;
  color: #FF7B8E;
  z-index: 2;
  margin: 0 0 1rem;
  text-align: start;
  line-height: 1.6;
}

.text-overlay p {
  position: relative;
  z-index: 2;
  font-family: 'Futura Md BT', sans-serif;
  color: #FF7B8E;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.6;
}

/* Ajusta el contenido del modal */
.modal-dialog {
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
}

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: none;
  padding: 0;
}

.modal-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 60px;
  padding-right: 60px;
}

.btn-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: invert(1);
}

/* ===== Modal zoom: sin deformación ===== */

.modal-content img:not(.btn-img) {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  /* o 85vh si quieres más grande */
  object-fit: contain;
  /* clave: respeta proporción */
  display: block;
  margin: auto;
}

#zoomedImage {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: auto;
}


.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: black;
}

.modal.fade-custom {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.modal.fade-custom.show {
  opacity: 1;
}

/* visibilidad por breakpoint */
.menu-button {
  display: none;
}

@media (min-width: 768px) {
  .menu-button {
    display: block;
  }

  .hamburger-button {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .menu-button {
    display: none;
  }

  .hamburger-button {
    display: inline-flex;
  }
}

#prevImage,
#nextImage {
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

#prevImage {
  left: 10px;
}

#nextImage {
  right: 10px;
}

#prevImage:hover,
#nextImage:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* 7. Responsividad */
@media (max-width: 768px) {
  .fullscreen-image h1 {
    font-size: 2rem;
  }

  .text-overlay h2 {
    font-size: 1.8rem;
  }

  .contenido-principal,
  .contenido-proyecto {
    min-height: 60svh;
    /* o 60vh si prefieres */
    padding: 2rem 1rem;
  }

  .contenido-principal div,
  .contenido-proyecto div {
    padding: 0.5rem;
    margin: 0 auto;
  }

  .contenido-principal h1,
  .contenido-proyecto h1 {
    font-size: 1.5rem;
  }

  .contenido-principal h2,
  .contenido-proyecto h2 {
    font-size: 1.2rem;
  }

  .contenido-font {
    font-size: 0.9rem;
  }

  img[data-hide="mobile"] {
    display: none !important;
  }

  .fullscreen-image {
    background-size: cover !important;
    background-position: center center !important;
  }

  #prevImage,
  #nextImage {
    width: 40px;
    height: 40px;
    top: 45%;
    background-color: rgba(0, 0, 0, 0.4);
  }

  #prevImage {
    left: 5px;
  }

  #nextImage {
    right: 5px;
  }

  .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contenido-grilla img {
    margin-bottom: 1rem;
  }
}

/* ===== Bufeo – Héroe alineado a la izquierda (override) ===== */
.hero-container {
  display: flex;
  justify-content: flex-start;
  margin: 0;
  /* anula margin:0 auto */
}

.hero-copy {
  margin: 0;
  /* evita centrado */
  max-width: none;
  /* usa todo el ancho disponible del contenedor */
  padding-left: 0;
  margin-left: 3rem;
  text-align: left;
}

/* En desktop, sin padding izquierdo en el héroe */
@media (min-width: 768px) {
  .fullscreen-image {
    padding-left: 0;
  }
}

/* En móvil, mantenemos un pequeño respiro para que no choque con el borde */
@media (max-width: 767.98px) {
  .fullscreen-image {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-copy {
    max-width: 100%;
    padding-left: .25rem;
  }
}


/* SECTION general */
.expo-section {
  height: var(--h-expo);
  flex: 0 0 auto;
  width: 100%;
  padding: 10px 0 15px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.expo-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 9fr 11fr;
  gap: 12px;
  padding: 12px;
  height: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.expo-grid,
.col-1,
.col-2 {
  height: 100%;
  width: 100%;
}

.expo-col,
.col1-block,
.col2-top,
.col2-bottom {
  min-height: 0;
  overflow: hidden;
}

/* ================= COLUMNA 1 ================= */

.col-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  height: 100%;
  box-sizing: border-box;
}

.col1-block {
  display: grid;
  gap: 12px;
  height: 100%;
}

.col1-block.block-1 {
  grid-template-rows: 3fr 2fr;
}

.col1-block.block-2 {
  grid-template-rows: 2fr 3fr;
}

/* ================= COLUMNA 2 ================= */

.col-2 {
  display: grid;
  grid-template-rows: 9fr 11fr;
  gap: 12px;
  padding: 12px;
  height: 100%;
  box-sizing: border-box;
}

.col2-top {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  min-height: 0;
}

.col2-bottom {
  min-height: 0;
}

/* ===== Bufeo – Mobile overflow + hero margin FIX v3 (añadido por ChatGPT) ===== */

/* 1) Evitar scroll horizontal global 

html,
body {
  width: 100%;
  overflow-x: hidden !important;
}


/* 3) Héroe alineado a la izquierda con margen controlado */
.hero-container {
  display: flex;
  justify-content: flex-start;
}

.hero-copy {
  text-align: left;
  margin-left: 3rem;
  max-width: 900px;
}

@media (max-width: 992px) {
  .hero-copy {
    margin-left: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-copy {
    margin-left: 1rem;
    max-width: 100%;
  }
}

/* 4) Padding del héroe: aire en móvil; limpio en desktop */
@media (min-width: 768px) {
  .fullscreen-image {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767.98px) {
  .fullscreen-image {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* 5) Tipografía fluida para evitar desbordes en títulos largos */
.fullscreen-image h1 {
  font-size: clamp(24px, 6.2vw, 48px);
  line-height: 1.15;
}

.fullscreen-image h3 {
  font-size: clamp(16px, 3.9vw, 28px);
  line-height: 1.20;
}

.fullscreen-image h4 {
  font-size: clamp(14px, 3.2vw, 22px);
  line-height: 1.25;
}

.fullscreen-image h5 {
  font-size: clamp(12px, 3.0vw, 18px);
  line-height: 1.25;
}

.menu-overlay a {
  font-size: clamp(24px, 10vw, 56px);
  margin: .5rem 1rem;
  max-width: 92vw;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Igualar tamaño entre contenido-grilla y contenido-principal === */
.contenido-grilla,
.contenido-principal {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Altura similar y adaptable */
.contenido-grilla {
  min-height: 100vh;
  background-color: #fff;
}

/* Asegurar coherencia interna */
.contenido-principal>div {
  margin: 0 auto;
  width: min(100%, 1000px);
  padding: 0;
  /* el aire ya lo da el section */
  box-sizing: border-box;
}

/* Para pantallas medianas */
@media (min-width: 576px) and (max-width: 991.98px) {

  .contenido-principal {
    min-height: 95vh;
  }
}


/* === Footer consistente en todas las páginas === */
footer {
  background-color: #F8F9FA;
  color: #000;
  font-family: 'Futura Light BT V1', sans-serif;
  padding: 2rem 0;
}

footer h5 {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 1rem;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

footer p,
footer a {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

footer ul {
  margin: 0;
  padding: 0;
}

footer li {
  list-style: none;
}

footer .fab {
  font-size: 1.4rem;
}

/* === FIX DEFINITIVO (append-only): NAV IGUAL EN TODAS LAS PÁGINAS === */
/* Mantengo todo tu CSS original arriba. Estos estilos sólo sobrescriben lo necesario. */
:root {
  --nav-h: 86px;
  --h-entrada: 220px;
  --h-expo: 100vh;
  --h-principal: 75vh;
}

.navbar {
  height: var(--nav-h) !important;
  padding: 0 !important;
  --bs-navbar-padding-y: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.navbar .container {
  height: var(--nav-h) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* El logo queda fijo en 46px para que nunca estire la barra */
.navbar-brand {
  height: var(--nav-h) !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.navbar-brand img {
  height: 76px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Botones con altura consistente para no alterar el alto del nav */
.hamburger-button {
  height: 76px !important;
  width: auto;
  border: none;
  background: transparent;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Opcional: en móviles baja apenas el nav para que se vea más compacto */
@media (max-width: 768px) {
  .navbar {
    height: 86px !important;
  }

  .navbar .container {
    height: 86px !important;
  }

  .navbar-brand {
    height: 86px !important;
  }

  .navbar-brand img {
    height: 42px !important;
  }
}

/* === FIN FIX === */

/* ===== Visiones Sonoras – sección de proyectos (videos) ===== */

.visiones-proyectos {
  background-color: #ffffff;
  padding: 3rem 0;
}

.titulo-proyectos {
  font-family: 'Futura Md BT', sans-serif;
  color: #FF7B8E;
  font-size: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}

.video-thumb {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.video-caption {
  font-family: 'Futura Light BT V1', sans-serif;
  font-size: 0.9rem;
  color: #FF7B8E;
  margin-top: .5rem;
}

/* ===== Sección rosada final ===== */

.visiones-rosa {
  background-color: #FF7B8E;
  padding: 4rem 0;
}

.visiones-rosa-text {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 2rem;
  color: #ffffff;
  margin: 0;
}

.visiones-rosa .video-caption {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 767.98px) {
  .visiones-rosa-text {
    text-align: center;
    margin-top: 1.5rem;
  }
}

/* Responsive YouTube embed */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* relación 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Fix: iframes dentro de .ratio (modales de video) deben ocupar todo */
.ratio iframe,
#videoModalIframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ===== Override específico para el modal de VIDEO ===== */

#videoModal .modal-dialog {
  max-width: 900px;
  max-height: none;
  margin: 1.75rem auto;
}

#videoModal .modal-content {
  background-color: #000 !important;
  border-radius: 0.5rem;
  border: none;
  padding: 0;
  display: block;
  /* quitar el flex global */
}

#videoModal .modal-body {
  padding: 0;
  display: block;
  /* quitar el flex global */
}

#videoModal .ratio {
  width: 100%;
}

#videoModal .ratio iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ===== Bloque editorial Bufeo ===== */

.bufeo-editorial {
  max-width: 960px;
  margin: 4rem auto 0;
  padding-left: 0;
  margin-left: 0;
  border-left: none;
  position: relative;
  font-family: 'Futura Md BT', sans-serif;
  line-height: 1.7;
}


.bufeo-editorial::before {
  position: absolute;
  left: -6px;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF7B8E;
  /* acento Bufeo */
}

.bufeo-editorial__header {
  margin-bottom: 2.5rem;
}

.bufeo-editorial__title {
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.bufeo-editorial__subtitle {
  max-width: 640px;
  font-size: 0.95rem;
  text-transform: none;
  opacity: 0.85;
}

/* grupos (categoría + lista) en dos columnas flexibles */

.bufeo-editorial__group {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  column-gap: 2rem;
  row-gap: 0.75rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}


.bufeo-editorial__group:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bufeo-editorial__label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #FF7B8E;
  white-space: nowrap;
}

.bufeo-editorial__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.bufeo-editorial__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.bufeo-editorial__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 1.5px;
  background: #FF7B8E;
  border-radius: 1px;
}

/* Color rosado para el título "Proyectos" */
.bufeo-editorial__header h2 {
  color: #FF7B8E;
}


/* Ajustes responsive */

@media (max-width: 768px) {
  .bufeo-editorial {
    padding-left: 1.6rem;
    border-left-width: 1px;
    margin-top: 2.5rem;
  }

  .bufeo-editorial__title {
    font-size: 1.6rem;
  }

  .bufeo-editorial__group {
    grid-template-columns: 1fr;
    row-gap: 0.6rem;
  }

  .bufeo-editorial__label {
    font-size: 0.8rem;
  }
}

/*=== Fix específico para impedir que otras reglas borren el contenido ===*/
.bufeo-editorial__list li {
  display: block !important;
  color: #FF7B8E !important;
  opacity: 1 !important;
}

/* Ajuste del texto del subtítulo */
.bufeo-editorial__subtitle {
  color: inherit;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  display: block;
}



@media (max-width: 768px) {
  .bufeo-editorial__group {
    row-gap: 0.35rem;
    /* más compactado para móvil */
    padding: 0.8rem 0;
    /* reduce aire vertical */
  }

  .bufeo-editorial__list li {
    margin-bottom: 0.15rem;
    /* compacta aún más los ítems */
  }

  .bufeo-editorial__list {
    margin: 0.4rem 0 0 !important;
  }

}

.texto_proyectos {
  margin-top: 2.5rem;
}

/* Todas las imágenes rellenan su bloque */
.expo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
}

/* === TIMELINE BUFEO – 3 FILAS, 8 COLUMNAS === */

.timeline-bufeo {
  background-color: #FF7B8E;
  color: #fff;
  padding: 60px 10px;
}

/* contenedor general del grid */
.timeline-grid-8 {
  max-width: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* espacio entre filas */
}

/* cada fila es un grid de 8 columnas */
.timeline-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

/* fila superior e inferior (contenido) */
.timeline-row-top .timeline-cell,
.timeline-row-bottom .timeline-cell {
  padding: 0 10px;
  box-sizing: border-box;
}

/* celdas vacías: ocupan espacio pero no muestran nada */
.timeline-cell-empty {
  min-height: 1px;
}

/* FILA 2: la línea blanca centrada */
.timeline-row-line {
  align-items: center;
}

.timeline-row-line .timeline-line {
  grid-column: 1 / -1;
  /* ocupa las 8 columnas */
  height: 2px;
  background-color: #fff;
}

/* tipografía del timeline */
.timeline-cell h3 {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}

.timeline-cell p {
  font-family: 'Futura Light BT V1', sans-serif;
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

/* último párrafo sin margen inferior extra */
.timeline-cell p:last-child {
  margin-bottom: 0;
}

.timeline-mobile {
  display: none;
}

/* responsive: en móvil, todo en una columna */
@media (max-width: 768px) {

  /* En móvil, ocultamos el grid antiguo */
  .timeline-grid-8 {
    display: none;
  }

  /* En móvil, mostramos el timeline nuevo */
  .timeline-mobile {
    display: block;
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding: 10px 12px 30px;
  }

  /* Línea vertical centrada */
  .timeline-mobile::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-50%);
    opacity: 0.95;
  }

  /* Cada item: 3 columnas (izq | centro | der) */
  .timeline-item {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    column-gap: 14px;
    align-items: start;
    margin: 26px 0;
    position: relative;
  }

  /* Punto en el centro */
  .timeline-dot {
    grid-column: 2;
    justify-self: center;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #fff;
    margin-top: 18px;
    /* ajusta para alinear con el año */
  }

  /* Contenido */
  .timeline-content {
    max-width: 180px;
    /* ayuda a que se vea como la referencia */
  }

  .timeline-item.left .timeline-content {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    padding-right: 4px;
  }

  .timeline-item.right .timeline-content {
    grid-column: 3;
    justify-self: start;
    text-align: left;
    padding-left: 4px;
  }

  /* Tipografía parecida a la referencia */
  .timeline-content h3 {
    font-family: 'Futura Md BT', sans-serif;
    font-size: 2.1rem;
    line-height: 1;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
  }

  .timeline-content p {
    font-family: 'Futura Light BT V1', sans-serif;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0;
  }

  /* El título en cursiva como en tu 2da imagen */
  .timeline-content p em {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
  }



  .timeline-grid-8 {
    gap: 24px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
  }

  .timeline-row-line .timeline-line {
    grid-column: 1;
  }

  .timeline-row-top .timeline-cell,
  .timeline-row-bottom .timeline-cell {
    padding: 0 0 16px;
  }
}

/* Navbar con respiro lateral */
.navbar .container-fluid {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* --- MODO MÓVIL: Eliminar imágenes en blanco y expandir las reales --- */
@media (max-width: 768px) {

  /* Ocultar cualquier placeholder */
  img.no-zoom,
  img[data-hide="mobile"],
  img[src*="fondoblanco"],
  img[src*="fondo-blanco"],
  img[src*="fondo_blanco"],
  img[src*="gris"] {
    display: none !important;
  }

  /* que la sección crezca según contenido (no 100vh fijo) */
  .expo-section {
    height: auto !important;
    /* antes: height: var(--h-expo) */
  }

  /* grid principal: 1 columna */
  .expo-grid {
    grid-template-columns: 1fr !important;
    /* antes: 9fr 11fr */
    height: auto !important;
    align-items: start;
  }

  /* desactivar grids internos y apilar */
  .col-1,
  .col-2,
  .col1-block,
  .col2-top {
    display: flex !important;
    /* antes: display:grid */
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
    /* opcional: quita padding interno */
    height: auto !important;
  }

  .col2-bottom {
    height: auto !important;
  }

  /* imágenes: una debajo de otra, mismo ancho */
  .expo-grid img {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    /* evita el “marco” de 5px */
    display: block;
    object-fit: cover;
  }

  /* si quieres aire extra entre bloques grandes */
  .expo-col {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* 2 columnas (layout general) */
.bufeo-editorial__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .bufeo-editorial__grid {
    grid-template-columns: 1fr;
  }
}

/* Grupo: título arriba + texto debajo (sin estar al costado) */
.bufeo-editorial__group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Items: texto simple, sin sangría, sin bullets */
.bufeo-editorial__items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.bufeo-editorial__item {
  margin: 0;
  padding: 0;
  position: static;
  color: #FF7B8E;
  /* por si antes estaba relative */
}

/* ===== Gente Bufeo (hero) ===== */
.gente-bufeo-hero {
  /* que se sienta como una pantalla completa bajo el nav */
  min-height: calc(100vh - var(--nav-h));
  justify-content: center;
  /* sobreescribe el flex-start del global */
  align-items: center;
  text-align: center;
  padding-top: clamp(2rem, 6vh, 5rem);
  padding-bottom: clamp(2rem, 8vh, 6rem);
}

.gente-bufeo-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gente-bufeo-gif {
  display: block;
  width: min(420px, 70vw);
  height: auto;
  margin: 0 auto 2rem;
}

.gente-bufeo-title {
  font-family: 'Futura Light BT V1', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #fff;
  font-weight: 300;
}

.gente-bufeo-title em {
  font-style: italic;
  font-weight: 300;
}

.gente-bufeo-text {
  color: #fff;
}

.gente-bufeo-sub {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 1rem;
  margin: 0 0 1rem;
}

.gente-bufeo-list {
  font-family: 'Futura Md BT', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.fullscreen-image h1 {
  font-family: 'Adam Bold', serif;
  font-size: 3rem;
  text-transform: uppercase;
}

.fullscreen-image h4,
.fullscreen-image h5 {
  font-family: 'Montserrat SemiBold', sans-serif;
}