    :root {
      --color-bg: #02060E;
      --color-text: #ffffff;
      --font-serif: "Crimson Text", serif;
      --font-sans: "Albert Sans", sans-serif;
      --max-width: 1200px;
    }

    /* Reset */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .body-caixa {
      font-family: var(--font-sans);
      background-color: var(--color-bg);
      color: var(--color-text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Header */
    .header-caixa {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .header-caixa .collab {
      text-align: center;
      font-size: 0.8rem!important;
      font-family: var(--font-sans);
      font-style: normal;
      font-weight: 400;
      line-height: 127.075%; /* 12.708px */
      letter-spacing: 1.8px;
      text-transform: uppercase;
      padding-top: 1rem;
    }

    .nav-caixa {
    margin-top: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-inline: auto;
    flex-direction: row;
    align-content: center;
    width: 100%;
    }

    .nav-caixa .nav-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--color-text);
      font-size: 1.5rem;
      transition: transform 0.2s;
    }

    .nav-caixa .nav-btn:hover {
      transform: scale(1.1);
    }

    /* Hero dentro del header */
    .hero {
      background: url("https://brandedcontentgrupogodo.github.io/ext/caixabank-2025/cap1/assets/img/fondo-cabecera.png") no-repeat center/cover;
      display: grid;
      grid-template-columns: 1fr 1fr;
      flex: 1;
      margin: 0 auto;
      gap: 1rem;
      align-items: center;
      justify-items: center;
    }

    .hero__image {
      max-width: 540px;
      position: relative;
      overflow: hidden;
    }

    .hero__image img {
      width: 100%;
      height: auto;
      display: block;
    }
    .blend-hard {
      position: relative; /* mantiene el flujo */
      z-index: 1;
      mix-blend-mode: hard-light;
    }

    .blend-sat {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      z-index: 2;
      mix-blend-mode: saturation;
    }
    .hero__content {
      text-align: center;
      padding: 1rem;
    }

    .hero__title {
      font-family: var(--font-serif);
      font-size: clamp(2rem, 3.2vw, 3rem);
      font-style: normal;
      font-weight: 400;
      line-height: 93%; /* 46.5px */
      letter-spacing: -2px;
      margin-bottom: 1rem;
      opacity: 0;
      max-width: 530px;
    }

    .hero__cta {
      font-family: var(--font-sans);
      font-size: 1rem;
      cursor: pointer;
      opacity: 0.8;
      display: inline-block;
      transition: opacity 0.2s;
    }

    .hero__cta:hover {
      opacity: 1;
      color: #25447A!important;
    }

    /* Reportaje */
    #reportaje {
      padding: 5rem 1rem;
      max-width: var(--max-width);
      margin: 0 auto;
      opacity: 0; /* GSAP animará */
      transform: translateY(50px);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero {
        grid-template-columns: 1fr;
        text-align: center;
      }
    }

.constelacion-extra .logo {
  margin: 50px auto;
  max-width: 250px;
  text-align: center;
}

/* ===== BARRA REDES SOCIALES ===== */
.social-bar {
  height: 54px;
  width: 100%;
  background: #091B2B;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.social-bar a img {
  height: 20px;
  transition: transform 0.3s ease;
}

.social-bar a img:hover {
  transform: scale(1.1);
}

/* ---------------------------------- video ---------------------------------- */

.video-section {
  margin-top: 5rem;
  padding: 2rem 1rem; /* espacio arriba y abajo + respiro lateral en mobile */
}

.video-wrapper {
  max-width: 1200px;        /* para que no se haga gigante en pantallas enormes */
  margin: 0 auto;           /* centrado */
  aspect-ratio: 16 / 9;     /* mantiene proporción */
  border-radius: 7px;
  overflow: hidden;         /* importante para que el iframe respete las esquinas */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- PARRAFOS ---------------------------------- */

.reportaje {
  padding-top: 3rem;
}

.parrafos-caixa {
  max-width:63ch; 
  margin:0 auto;
  padding: 16px;
  margin-bottom: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 168.8%; 
}

/* ---------- destacados ---------------------------------- */

.image-quote__wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.image-quote__img {
  display: block;
  width: 100%;
  height: auto;
}

.image-quote__text {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  color: #222;
  font-family: "Crimson Text", serif;
   font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-style: normal;
  font-weight: 400;
  line-height: 93%; /* 33.48px */
  letter-spacing: -2px;
  padding: 0.5rem 1rem; /* opcional */
  border-radius: 6px;   /* opcional */
}

/* Responsivo: ajustar tipografía en pantallas pequeñas */
@media (max-width: 768px) {
  .image-quote__text {
    font-size: 22px;
    max-width: 280px;
    right: 1rem;
    top: 1rem;
  }
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.gallery-item {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 7px;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none; /* oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 7px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}


/* ---------- tarjetas ---------------------------------- */
.cards-section {
  position: relative;
  padding: 5rem 1rem;
  background-color: #02060E;
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.cards-section__bg img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; /* para que las tarjetas queden sobre el fondo */
  z-index: 1;
}

.card {
  background-color: #222222;
  border-radius: 7px;
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Alturas distintas */
.card-1 { margin-top: 50px; }
.card-2 { margin-top: 0; }
.card-3 { margin-top: 70px; }
.card-4 { margin-top: 30px; }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 93%; /* 22.32px */
  letter-spacing: -1px;
}

.card p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  font-style: normal;
  font-weight: 400;
  line-height: 168.8%; 
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
  .cards-section {
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .card {
    height: auto; /* que se adapte al contenido en mobile */
  }
}

.highlight {
  position: relative;
  width: 100%;
  height: 60vh; /* ocupa toda la altura de la pantalla */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.highlight__bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* para que la imagen cubra toda la sección */
  z-index: 0;
}

.highlight__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 990px;
  padding: 1rem;
}

.highlight__content p {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -1px;
  padding: 1rem;
  border-radius: 7px;
}

.image-quote-bottom {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.image-quote-bottom__wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-quote-bottom__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-quote-bottom__text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 380px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  padding: 0.5rem 1rem;
  border-radius: 7px;
}

/* Responsivo */
@media (max-width: 768px) {
  .image-quote-bottom__text {
    font-size: 22px;
    max-width: 90%;
    bottom: 1rem;
    left: 1rem;
  }
}

/* QUALIFIO */
.iframeQualifio {
  display:flex;
  justify-content:center;
  -webkit-justify-content:center;
  -ms-justify-content:center;
  -moz-justify-content:center;
  -o-justify-content:center;
  align-items:center;
  -webkit-align-items:center;
  -ms-align-items:center;
  -moz-align-items:center;
  -o-align-items:center;
  width:100%;
  margin-top:0;
  max-height:670px;
    min-height: 400px;
}
  .iframeQualifio iframe{
    width:100%;
    height:100%;
    max-height:550px;
    border: 1px solid var(--red-color)!important;
    padding: 20px;
    margin-bottom: 60px;
      min-height: 400px;
  }
  .iframeQualifio span {
    font-style:normal;
    font-weight:400;
    font-size:28px;
    line-height:33px;
    /* color:#fff; */
  }

/* ===== SECCIÓN EXTRA DEBAJO DE LA GRID ===== */
.constelacion-extra {
  text-align: center;
  margin: 5rem auto;
  padding: 0 20px;
}

.constelacion-extra h3 {
  font-size: 2.3rem;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  margin-bottom: 15px;
  color: #fff; /* ajusta según tu paleta */
  max-width: 800px;
  margin: 50px auto 20px auto;
}

.constelacion-extra .back-btn {
  margin: 20px auto;
  padding: 12px 24px;
  border-radius: 7px;
  border: none;
  border: 1px solid #1C3257;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.constelacion-extra .back-btn:hover {
  background: #25447A;
}

.constelacion-extra .logo {
  margin: 50px auto;
  max-width: 250px;
}



/* ---------- CRÉDITOS ---------------------------------- */
.authorship-f {
  color: #888;
  font-size: 0.9em;
  text-align: center;
  padding-bottom: 30px;
  margin-top: 30px;
}

.container-fluid-f {
  width: calc(100% - 40px);
  margin-inline: auto;
  padding-inline: 20px;
}

/* estilos para que en LV se muestre el contenido sin margenes */
.wallpaper-inverted-ad{
    display: none!important;
  }
  
  .visual-article-free .col-12 {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
  }
  .content-free-html {
    margin:0 !important;
  }
  .container-fluid {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .visual__story--free .content-free-html {
    margin: 0px !important;
  }
  .row>* {
    padding-right: 0!important;
    padding-left: 0!important;
    margin-top: 0!important;
  }
  .article-default a:hover {
    text-decoration: none;
    box-shadow: none;
  }
button:focus {
    outline: 1px dotted var(--background-color);
    outline: 5px auto var(--background-color) -webkit-focus-ring-color;
}

/* ---------- MD --------- */
.article-default.visual__story--icon .content-free-html, .article-default.visual__story--square .content-free-html, .article-default.visual__story--panoramic .content-free-html, .article-default.visual__story--free .content-free-html {
    margin: 0 !important;
}

.article-default .content-free-html .blanco iframe {
  width: 120px;
}

.no-show {
  opacity: 0;


.fb_iframe_widget {
    display: inline-block;
    position: relative;
    padding-top: 0.8rem;
    color: white;
}
.fb-xfbml-parse-ignore {
  color: white!important;
}
._6a ._6b {
  color: white!important;
}
.blanco {
  color: #fff!important;
    padding-top: 0.8rem;
    width: 120px;
}
.fb-share-button {
  color: white!important;
}





