*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.5s;
}

.emoji {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}


:root {
    --color-primario: #364350; /* Color primario  364350*/
    --color-secundario: #f4f1e8; /* Color secundario */
    --color-terciario: #a0bdd6; /* Color terciario a0bdd6 */
    --color-cuarto: #d3dee7; /* Cuarto color */
    --color-quinto: #5b595b; /* Quinto color */
    --color-sexto: #2b251c; /* Sexto color */
    --color-boton: #5b7085; /* Color del botón */
    --color-boton-hover: #82a0be; /* Color del botón al pasar el mouse */
  }

  #navbar {
    background-color: transparent;
    transition: background-color 0.5s ease;
}

  #navbar.scrolled {
    background-color: var(--color-primario); 
    transition: background-color 0.5s ease;
}

  .navbar-toggler{
    background-color: transparent;
  }
  
  .navbar-toggler-icon {
    background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"%3e%3cpath stroke="rgba(255, 255, 255, 1)" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"%3e%3c/path%3e%3c/svg%3e');
}

  .power {
    background-image: url('img/fondo.webp');
    background-size: cover; /* Ajusta la imagen para que cubra toda la sección */
    background-position: bottom; /* Centra la imagen horizontalmente */
    height: 100vh; /* Establece la altura de la sección al 100% de la viewport */
    color: white;
    align-items: center;
    justify-content: center;
}

.texto-hero{
  padding: 250px 1.5rem 1.5rem 1.5rem;
}
/* Estilos para pantallas grandes */
@media (min-width: 990px) {
  .power {
      height: 600px; /* Establece un límite de altura para pantallas grandes */
      background-attachment: fixed; /* Mantiene la imagen fija al hacer scroll */
  }

  .texto-hero{
    padding: 200px 1.5rem 1.5rem 1.5rem;
    width: 600px;
  }
}


/* Estilos para pantallas anchas */
.navbar-collapse {
  background-color: transparent; /* o cualquier otro valor que desees */
  border-radius: 0;
  margin: 10px; /* o cualquier otro valor que desees */
}

.navbar-nav .nav-item {
  margin: 10px; /* o cualquier otro valor que desees */
}

.navbar-collapse .nav-link {
  color: var(--color-secundario); /* o cualquier otro valor que desees */
  margin-left: 0;
}


/* Estilos para pantallas estrechas (menos de 990px) */
@media (max-width: 990px) {
  .navbar-collapse {
      background-color: var(--color-primario);
      border-radius: 0.5rem;
      margin: 5px 0 0 0;
      padding: 0.5rem;
  }

  .navbar-nav .nav-item {
      margin: 0;
  }

  .navbar-collapse .nav-link {
      color: white !important;
      margin-left: 15px;
      font-weight: 600; /* Hace el texto más grueso */
      transition: background-color 0.3s, color 0.3s; /* Suaviza la transición del color */
  }

  .navbar-nav .nav-item .boton-sign-in{
    display: flex;
    justify-content: end;
  }
  

  .navbar-collapse .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Cambia el color de fondo al pasar el mouse */
    color: var(--color-primario); /* Cambia el color del texto al pasar el mouse */
  }
}


.portair {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.carousel-inner img {
  height: 100vh;
  object-fit: cover;
}

.carousel-indicators {
  bottom: 20px; /* Ajusta la posición vertical */
  left: 20px; /* Ajusta la posición horizontal */
  margin-left: 0; /* Elimina el margen izquierdo predeterminado */
  justify-content: flex-start; /* Alinea los indicadores a la izquierda */
}

.carousel-indicators li {
  width: 50px; /* Ancho del indicador */
  height: 50px; /* Alto del indicador */
  background-color: transparent; /* Sin fondo */
  color: rgba(255, 255, 255, 1); /* Color del texto */
  font-size: 24px; /* Tamaño del texto (ajustado para que se vea bien) */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px; /* Espacio entre los indicadores */
  border: none; /* Elimina los bordes predeterminados */
  border-bottom: 2px solid rgba(255, 255, 255, 0.6); /* Solo borde inferior semi-transparente */
  cursor: pointer; /* Cambia el cursor al pasar el mouse */
  border-radius: 0; /* Sin bordes redondeados */
  text-indent: 0;
}

.carousel-indicators li.active {
  background-color: transparent; /* Sin fondo para el indicador activo */
  color: #fff; /* Color del texto para el indicador activo */
  border-bottom: 2px solid #fff; /* Borde inferior más opaco para el indicador activo */
}

.carousel-caption {
  position: absolute;
  top: 35%;
  left: 15%;
  color: #fff;
  text-align: left;
}

.carousel-caption h2 {
  font-size: 60px;
  margin-bottom: 20px;
}

.carousel-caption a {
  color: #fff;
  text-decoration: none;
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.carousel-caption a:hover {
  background-color: var(--color-primario);
}

/* HASTA ACA LOS CAMBIOS DE LA PRIMERA SECCION
 */
/* SECCION PARTERSHIP */

#partnership {
  scroll-margin-top: 480px; /* ajusta según la altura real de tu navbar */
}



.partnership-section {
    background-color: #757575; /* Fondo oscuro para diferenciarse */
    color: #fff;
    padding: 80px 20px;
}

.partnership-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.partnership-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    text-align: justify;
}

.partnership-button{
    display: flex;
    justify-content: flex-start;
    align-content: center;
}

.partnership-section .btn {
  background-color: #fff;
  display: inline-block; /* Hace que el botón ocupe solo el espacio necesario */
  padding: 10px 20px; /* Espaciado interno */
  font-size: 16px; /* Tamaño de la fuente */
  font-weight: bold; /* Texto en negrita */
  color: var(--color-primario); /* Color del texto (usando la variable de color primario) */
  border: 2px solid var(--color-primario); /* Borde con el color primario */
  border-radius: 5px; /* Bordes redondeados */
  text-align: left; /* Alineación del texto a la izquierda */
  text-decoration: none; /* Elimina el subrayado del enlace */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave */
}

.partnership-section .btn:hover {
    background-color: var(--color-primario); /* Cambia el fondo al color primario al pasar el mouse */
    color: #fff; /* Cambia el color del texto a blanco al pasar el mouse */
}


/* SECCION FILLING */ 

.filling .row {
  position: relative;
}

.filling-title{
    display: inline-block;
    transition: transform 0.5s ease, opacity 2s ease-in-out;
    position: relative;
    z-index: 2; /* Asegúrate de que esté por encima de otros elementos */
}

.filling-text{
  opacity: 0;
  padding: 15px;
  color: #777777;
  transition: opacity 0.5s ease, transform 0.5 ease;
  text-justify: auto;
}

.area-izq .filling-text{
  transform: translateX(100%);
}

.area-der .filling-text{
  transform: translateX(-100%);
}

.filling .text-izq h1 {
  background-image: linear-gradient(to right, #000 50%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filling .text-der h1 {
  background-image: linear-gradient(to right, #fff 50%, #000 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center:hover + .area-der .filling-text {
  transition-delay: 0.5s; /* Esperar a que termine la animación del título */
}

.filling .text-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.filling img {
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

.filling .row .text-center h1 {
  font-size: 100px;
}

.filling video{
  object-fit: cover;
}

@media (min-width: 992px) {
  .filling img {
      padding: 0;
      height: 100vh;
  }

  .filling video {
    padding: 0;
    width: 100%;
    height: 100vh;
}

  .filling .area-izq{
    padding-right: 0;
    display: flex;
    align-items: center;
  }

  .filling .area-der{
    padding-left: 0;
    display: flex;
    align-items: center;
  }

}



.filling-phone {
  position: relative;
  overflow: hidden;
  height: auto; /* Permitir que la altura se ajuste al contenido */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9; /* Fondo claro */
  padding: 20px; /* Espaciado interno */
}

.content-phone {
  text-align: justify; /* Centrar el texto */
  margin-bottom: 20px; /* Espacio entre el contenido y la imagen */
}

.filling-title-phone {
  font-size: 2.5rem; /* Tamaño del título */
}

.filling-text-phone {
  font-size: 1rem; /* Tamaño del texto */
  margin-top: 10px; /* Espacio entre el título y el texto */
}

.image-container-phone {
  display: block; /* Usar flexbox para alinear las imágenes */
  width: 100%;
}

.filling-image-phone {
  width: 100%; /* Ajustar el ancho de las imágenes */
  height: auto; /* Mantener la proporción de las imágenes */
  margin-bottom: 10px;
  object-fit: cover; /* Asegura que la imagen cubra el contenedor */
}


/* APARTADO PARA MODIFICAR TODO PARA TELEFONOS EN FILLING */

@media (max-width: 991px) {
  .filling {
    display: none; /* Ocultar la sección original en móviles */
  }

  .filling-phone {
    display: block; /* Mostrar la nueva sección para móviles */
  }
}

@media (min-width: 992px) {
  .filling {
    display: block; /* Mostrar la sección original en pantallas grandes */
  }

  .filling-phone {
    display: none; /* Ocultar la sección para móviles en pantallas grandes */
  }
}
/*  SECCION ABOUT US */

.aboutus {
  position: relative;
  padding: 80px 0;
  background-color: #fff; /* Color de fondo de la sección */
  overflow: hidden; /* Para asegurar que la marca de agua no se desborde */
}

.aboutus::before {
  content: "A    B    O    U    T";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  font-weight: bold;
  color: rgba(182, 182, 182, 0.1); /* Color de la marca de agua con transparencia */
  z-index: 1; /* Coloca la marca de agua detrás del contenido */
  pointer-events: none; /* Evita que la marca de agua interfiera con el contenido */
  white-space: nowrap;
}

.aboutus .container {
  position: relative;
  z-index: 2; /* Coloca el contenido por encima de la marca de agua */
}

.aboutus .row {
  justify-content: center;
}

.aboutus .col-md-6 {
  padding: 20px;
}

.aboutus p {
  line-height: 1.6;
  color: #646464; /* Color del texto */
}

.disclaimer {
  position: relative;
  padding: 100px 0;
  background-color: #fff; /* Color de fondo de la sección */
  overflow: hidden; /* Para asegurar que la marca de agua no se desborde */
}

.disclaimer .container {
  position: relative;
  z-index: 2; /* Coloca el contenido por encima de la marca de agua */
}

.disclaimer .row {
  justify-content: center;
}

.disclaimer .col-md-6 {
  padding: 20px;
}

.disclaimer p {
  line-height: 1.6;
  color: #7a7a7a; /* Color del texto */
}

.titulo-inv{
  color: transparent;
}

.boton-about {
  display: inline-block; /* Hace que el botón ocupe solo el espacio necesario */
  padding: 10px 20px; /* Espaciado interno */
  font-size: 16px; /* Tamaño de la fuente */
  font-weight: bold; /* Texto en negrita */
  color: var(--color-primario); /* Color del texto (usando la variable de color primario) */
  background-color: transparent; /* Fondo transparente */
  border: 2px solid var(--color-primario); /* Borde con el color primario */
  border-radius: 5px; /* Bordes redondeados */
  text-align: left; /* Alineación del texto a la izquierda */
  text-decoration: none; /* Elimina el subrayado del enlace */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave */
}

.boton-about:hover {
  background-color: var(--color-primario); /* Cambia el fondo al color primario al pasar el mouse */
  color: #fff; /* Cambia el color del texto a blanco al pasar el mouse */
}

@media (max-width: 992px) {
  .aboutus::before{
    color: transparent;
  }

}

/* SECCION DE PROJECTS */

.projects {
  margin-top: 15px;
}

.projects a:hover {
  text-decoration: none;
}

.project-container {
    position: relative;
    width: 100vw;
    max-width: 100%; /* Agregar esta línea */
    height: 90vh;
    background-color: #000;
}

.project-background {
  position: relative;
  width: 100vw;
  max-width: 100%;
  background-size: cover;
  background-position: center;
}

.project-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 90vh;
  opacity: 0; /* opacidad de las imágenes de fondo */
  transition: opacity 0.5s ease-in-out;
}

.project-columns {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 90vh;
  display: flex;
  justify-content: space-between;
}

.project-column {
  width: 33.33%; /* ancho de cada columna */
  height: 90vh;
  position: relative;
  display: flex; /* agregar display flex para que las columnas se muestren correctamente */
  justify-content: center; /* centrar el contenido de la columna */
  align-items: center; /* centrar el contenido de la columna verticalmente */
}

.project-link {
  display: flex;
  width: 100%;
  height: 90vh;
  position: relative;
  align-items: center;
  justify-content: center;
}

.project-image {
  position: absolute; /* Mantener como relative */
  width: 100%;
  height: 90vh;
  background-size: 100vw 90vh;
  transition: opacity 0.5s ease-in-out;
}

/* Estilos específicos para cada columna */
.proyecto1-link .project-image {
  background-image: url('img/fondo-5.webp');
  background-position: left; /* Muestra el primer tercio */
}

.proyecto2-link .project-image {
  background-image: url('img/fondo2.webp');
  background-position: center; /* Muestra el segundo tercio */
}

.proyecto3-link .project-image {
  background-image: url('img/fondo-4.webp');
  background-position: right; /* Muestra el último tercio */
}

.project-info {
  position: relative;
  z-index: 1; /* agregar z-index para que el texto se muestre encima de la imagen */
  color: #fff; /* agregar color al texto */
  text-align: center; /* centrar el texto */
}

.proyecto1-link:hover ~ .proyecto1 {
  opacity: 1;
  z-index: -1;
}

.proyecto2-link:hover ~ .proyecto2 {
  opacity: 1;
}

.proyecto3-link:hover ~ .proyecto3 {
  opacity: 1;
}

/* SECCION PROJECT EN TELEFONO */

.project-phone {
  margin-top: 15px;
}

.project-container-phone {
  position: relative;
  width: 100%; /* Asegurarse de que ocupe el ancho completo */
  background-color: #000; /* Fondo negro */
}

.project-columns-phone {
  display: flex;
  flex-direction: column; /* Apilar las columnas verticalmente */
  width: 100%; /* Asegurarse de que ocupe el ancho completo */
}

.project-column-phone {
  width: 100%; /* Cada columna ocupa el 100% del ancho */
  height: 180px; /* Ajustar la altura de cada tarjeta */
  position: relative;
  display: flex; /* agregar display flex para que las columnas se muestren correctamente */
  justify-content: center; /* centrar el contenido de la columna */
  align-items: center; /* centrar el contenido de la columna verticalmente */
}

.project-link {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
}

.project-image {
  position: absolute; /* Mantener como absolute */
  width: 100%;
  height: 100%;
  background-size: cover; /* Asegura que la imagen cubra el contenedor */
  transition: opacity 0.5s ease-in-out;
}

.project-info {
  position: relative;
  z-index: 1; /* agregar z-index para que el texto se muestre encima de la imagen */
  color: #fff; /* agregar color al texto */
  text-align: center; /* centrar el texto */
}

/* Estilos específicos para cada columna */
.proyecto1-link .project-image {
  background-image: url('img/fondo-5.webp');
}

.proyecto2-link .project-image {
  background-image: url('img/fondo2.webp');
}

.proyecto3-link .project-image {
  background-image: url('img/fondo-4.webp');
}

@media (max-width: 991px) {
  .projects {
    display: none; /* Ocultar la sección original en móviles */
  }

  .project-phone {
    display: block; /* Mostrar la nueva sección para móviles */
  }
}

@media (min-width: 992px) {
  .projects {
    display: block; /* Mostrar la sección original en pantallas grandes */
  }

  .project-phone {
    display: none; /* Ocultar la sección para móviles en pantallas grandes */
  }
}

/* ACA EMPIEZA EL CONTACT US */

.contactus {
  background-color: var(--color-primario); /* Color de fondo suave */
  padding: 50px 20px; /* Espaciado alrededor de la sección */
  text-align: center; /* Centrar el texto */
}

.container {
  max-width: 800px; /* Ancho máximo del contenedor */
  margin: 0 auto; /* Centrar el contenedor */
}

.section-title {
  font-size: 2em; /* Tamaño de fuente del título */
  margin-bottom: 30px; /* Espaciado debajo del título */
  color: white; /* Color del texto */
}

.contact-info {
  display: flex; /* Usar flexbox para alinear los elementos */
  flex-direction: row; /* Colocar los elementos en columna */
  flex-wrap: wrap;
}

.contact-item {
  border-radius: 8px; /* Bordes redondeados */
  padding: 20px; /* Espaciado interno */
  text-align: center; /* Centrar el texto */
  margin-bottom: 20px; /* Espacio entre los elementos */

}

@media (max-width: 902px) {
  .contact-item {
      flex: 0 0 100%; /* Hacer que cada elemento ocupe el 100% del ancho */
      max-width: 100%; /* Asegurarse de que no exceda el ancho */
  }

  .row {
      display: flex;
      flex-direction: column; /* Apilar los elementos verticalmente */
      align-items: center; /* Centrar los elementos */
  }
}

.contact-item h3 {
  margin: 0; /* Eliminar margen del título */
  font-size: 1.5em; /* Tamaño de fuente del subtítulo */
  color: white; /* Color del subtítulo */
}

.contact-item p {
  margin: 5px 0 0; /* Espaciado del párrafo */
  color: rgb(197, 197, 197); /* Color del texto del párrafo */
}

.contact-item a {
  color: rgb(197, 197, 197); /* Color del enlace */
  text-decoration: none; /* Sin subrayado */
}

.contact-item a:hover {
  text-decoration: underline; /* Subrayar al pasar el ratón */
}

.cta-investor {
  text-align: center;
  margin: 40px 0;
}

.btn-investor {
  background-color: var(--color-boton);
  color: #fff;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-investor:hover {
  background-color: var(--color-boton-hover);
}

.cta-investor a {
  color: #fff; /* Cambia el color del texto al pasar el ratón */
  text-decoration: none; /* Elimina el subrayado al pasar el ratón */
}

.investor-form-section {
  background-color: var(--color-secundario);
  padding: 80px 20px;
}

.investor-form-section .container {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.investor-form-section .section-title {
  text-align: center;
  color: var(--color-primario);
  margin-bottom: 30px;
}

.investor-form-section .form-intro {
  text-align: justify;
  color: var(--color-quinto);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.6;
}

.investor-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.investor-form fieldset {
  border: none;
}

.investor-form legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primario);
  margin-bottom: 10px;
}

.investor-form label {
  display: block;
  color: var(--color-quinto);
  margin: 10px 0 5px;
}

.investor-form input[type="text"],
.investor-form input[type="email"],
.investor-form input[type="url"],
.investor-form input[type="file"],
.investor-form select,
.investor-form textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--color-cuarto);
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  color: var(--color-sexto);
}

.investor-form textarea {
  resize: vertical;
}

.investor-form input[type="checkbox"] {
  margin-right: 8px;
}

.investor-form .disclaimer {
  font-size: 0.85rem;
  color: #888;
  margin-top: 20px;
  line-height: 1.6;
}

.investment-guide {
    padding: 80px 0;
    background-color: #f9f9f9; /* similar al aboutus si lo necesitas */
}

.investment-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primario); /* adaptado a tu esquema de colores */
}

.investment-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--color-primario);
}

.protect-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-segundo);
}

.investment-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.sweet-spot {
    padding: 80px 0;
    background-color: #fff;
}

.sweet-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 30px;
}

/* Tabla comparativa con diseño tipo "cards" */
body[data-page="one_big_bill"] .comparison-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}


body[data-page="one_big_bill"] .comparison-row,
body[data-page="protect"] .comparison-row {
    display: table-row;
}

body[data-page="one_big_bill"] .comparison-row.header,
body[data-page="protect"] .comparison-row.header {
    background: var(--color-primario);
    color: #fff;
    font-weight: bold;
}

body[data-page="one_big_bill"] .comparison-cell,
body[data-page="protect"] .comparison-cell {
    display: table-cell;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

/* Última fila sin borde */
body[data-page="one_big_bill"] .comparison-row:last-child .comparison-cell {
    border-bottom: none;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    body[data-page="one_big_bill"] .comparison-table {
        display: block;
    }
    body[data-page="one_big_bill"] .comparison-row {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ddd;
    }
    body[data-page="one_big_bill"] .comparison-cell {
        display: block;
        width: 100%;
        border-bottom: none;
        padding: 10px 15px;
    }
    body[data-page="one_big_bill"] .comparison-row.header {
        display: none;
    }
}

/* Sección Investment Structures */
body[data-page="one_big_bill"] .investment-structures {
    padding: 80px 0;
    background-color: #f9f9f9;
}

body[data-page="one_big_bill"] .investment-structures-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 30px;
}

/* Tabla Comparativa de 3 Columnas */
body[data-page="one_big_bill"] .comparison-table.large,
body[data-page="protect"] .comparison-table.large {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body[data-page="one_big_bill"] .comparison-row:not(.header):hover,
body[data-page="protect"] .comparison-row:not(.header):hover {
    background-color: rgba(0, 46, 75, 0.05);
}

/* Quick Takeaway */
body[data-page="one_big_bill"] .quick-takeaway h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primario);
}

body[data-page="one_big_bill"] .quick-takeaway ul {
    list-style: disc;
    padding-left: 20px;
}

body[data-page="one_big_bill"] .quick-takeaway li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 768px) {
    body[data-page="one_big_bill"] .comparison-table.large {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    body[data-page="one_big_bill"] .comparison-cell {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Sección Real-World Example */
body[data-page="one_big_bill"] .real-world-example {
    padding: 80px 0;
    background-color: #fff;
}

body[data-page="one_big_bill"] .real-world-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 30px;
}

/* Tabla Comparativa 2 Columnas */
body[data-page="one_big_bill"] .comparison-table.medium {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    body[data-page="one_big_bill"] .comparison-table.medium {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    body[data-page="one_big_bill"] .comparison-cell {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Sección Forms Needed */
body[data-page="one_big_bill"] .forms-needed {
    padding: 80px 0;
    background-color: #f9f9f9;
}

body[data-page="one_big_bill"] .forms-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 30px;
}

/* Tabla Comparativa 2 Columnas */
body[data-page="one_big_bill"] .comparison-table.small {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    body[data-page="one_big_bill"] .comparison-table.small {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    body[data-page="one_big_bill"] .comparison-cell {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Ocultar tablas en pantallas móviles */
@media (max-width: 768px) {
  body[data-page="one_big_bill"] .comparison-table {
    display: none !important;
  }
}

@media (min-width: 768px) {
  body[data-page="one_big_bill"] .comparison-cards-mobile {
    display: none;
  }
  
  body[data-page="one_big_bill"] .comparison-card {
    display: none;
  }
}

@media (max-width: 768px) {
  body[data-page="one_big_bill"] .comparison-cards-mobile {
    display: block;
    margin-top: 20px;
  }
}

body[data-page="one_big_bill"] .investment-structures-cards {
    margin-top: 20px;
}

body[data-page="one_big_bill"] .investment-structures .comparison-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body[data-page="one_big_bill"] .investment-structures .comparison-card .card-title {
    background: var(--color-primario);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1rem;
}

body[data-page="one_big_bill"] .investment-structures .comparison-card .row-zone {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 576px) {
    body[data-page="one_big_bill"] .investment-structures .comparison-card .row-zone {
        flex-direction: row;
        justify-content: space-between;
    }
}

body[data-page="one_big_bill"] .investment-structures .comparison-card .card-col {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    flex: 1;
}

body[data-page="one_big_bill"] .investment-structures .comparison-card .card-col strong {
    display: block;
    margin-bottom: 5px;
    color: #003b5c;
}




.final-notes {
    padding: 80px 0;
    background-color: #fff;
}

.final-notes-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 30px;
}

.final-notes-list {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

.final-notes-cta {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.final-notes-btn {
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    background-color: var(--color-primario);
    border: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.final-notes-btn:hover {
    background-color: var(--color-boton-hover);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 350px; /* Ajusta la altura de la portada */
    background-image: url('img/onebigbill.webp'); /* Cambia esta ruta a tu imagen */
    background-size: contain; /* Ajusta la imagen para que se ajuste al contenedor */
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Oscurece la imagen para resaltar el texto */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 0 15px;
}

.one-big-bill {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.one-big-bill h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
}

.one-big-bill p {
    font-size: 1.1rem;
    color: #333;
    max-width: 700px;
    margin: 0 auto 20px;
}

.one-big-bill .btn-primary {
    background-color: var(--color-primario);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.one-big-bill .btn-primary:hover {
    background-color: var(--color-segundo);
}

.boosters-section {
    background-color: #fff;
    padding: 60px 0;
}

.boosters-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primario);
}

.boosters-section p {
    font-size: 1.1rem;
    color: #333;
    max-width: 700px;
    margin: 0 auto 20px;
}

.boosters-section .btn-primary {
    background-color: var(--color-primario);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.boosters-section .btn-primary:hover {
    background-color: var(--color-segundo);
}

.oportunity-hero {
    position: relative;
    width: 100%;
    height: 350px; /* Ajusta la altura de la portada */
    background-color: #273E5A;
    background-image: url('img/oportunity.webp'); /* Cambia esta ruta a tu imagen */
    background-size: contain; /* Ajusta la imagen para que se ajuste al contenedor */
    background-position: center;
    background-repeat: no-repeat;
}

.oportunity-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- ESTILOS PARA TABLA (PC) --- */
.comparison-table th, 
.comparison-table td {
    text-align: left;
    vertical-align: top;
    padding: 15px;
}

.comparison-table th {
    background-color: #364350;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tbody tr td:first-child {
    font-weight: 600;
    color: #364350;
    width: 20%;
}

/* --- ESTILOS PARA TARJETAS (MÓVIL) --- */
.cards-mobile {
    margin-top: 20px;
}

.comparison-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.comparison-card .card-title {
    text-align: center;
    font-weight: 700;
    margin: -15px -15px 10px -15px; /* para que cubra todo el ancho de la tarjeta */
    padding: 10px;
    background-color: #364350; /* color de fondo */
    color: #fff; /* color del texto */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-size: 1.1rem;
}

.card-col {
    padding: 10px;
    border-right: 1px solid #eee;
}

.card-col:last-child {
    border-right: none;
}

.card-col strong {
    display: block;
    margin-bottom: 5px;
    color: #364350;
}

.row-zone {
  align-items: center;
  display: flex;
  justify-content: center;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 768px) {
    /* Ocultar la tabla en móviles */
    .comparison-table {
        display: none;
    }

    /* Mostrar las tarjetas en móviles */
    .cards-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    /* Ocultar las tarjetas en PC */
    .cards-mobile {
        display: none;
    }
}

/* Sección de inversor general */
.investor-section {
    padding: 60px 0px;
    background-color: #f9fafb;
}

.oportunity-title {
    font-size: 2rem;
    font-weight: bold;
    color: #364350;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Paso individual (Step 1 y 3) */
.investor-step {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.investor-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.investor-step h4 {
    font-size: 1.3rem;
    color: #fff;
    margin: -20;
    background-color: #364350;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.investor-step p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Bullets personalizadas para la lista */
.investor-step p::marker {
    color: #364350;
    font-weight: bold;
}

/* --- Responsive ajustes --- */
@media (max-width: 768px) {
    .investor-step h4 {
        font-size: 1.1rem;
    }
    .investor-step p {
        font-size: 0.95rem;
    }
    .investor-section .row-zone {
        gap: 15px;
        flex-direction: column;
    }
    .investor-section .card-col {
        min-width: 100%;
    }
}

.why-work-section {
  background-color: #364350; /* Azul oscuro */
  color: #fff;
}

.why-work-section h2 {
  font-weight: bold;
  text-transform: uppercase;
}

.upper-tittle {
  font-weight: bold;
  text-transform: uppercase;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.why-list li {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.05rem;
  line-height: 1.6;
}

.why-list li:last-child {
  border-bottom: none;
}

.why-list strong {
  color: var(--color-cuarto); /* Amarillo dorado para resaltar */
}

.bottom-line-section {
  background-color: #f8f9fa; /* Fondo claro */
  padding: 40px 0;
}

.bottom-line-content {
  border-left: 6px solid #364350; /* Barra lateral azul */
  padding: 20px 30px;
  background-color: #ffffff; /* Fondo interno blanco */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  max-width: 850px;
  margin: 0 auto;
}

.bottom-line-content h4 {
  font-weight: bold;
  color: #364350;
  text-transform: uppercase;
}

.bottom-line-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.bottom-line-content strong {
  color: #003b5c; /* Rojo elegante para resaltar */
}

.oversight-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.oversight-card:hover {
  transform: translateY(-3px);
}
.oversight-card h5 {
  font-weight: 600;
  font-size: 1.1rem;
}
.oversight-card ul li {
  margin-bottom: 8px;
  color: #333;
  margin-left: 10px;
}

.checklist {
  list-style-type: none; /* Elimina los puntos de la lista */
  margin: 0 auto;
  max-width: 800px;
}

.checklist li::before {
  content: "✓"; /* Marca de verificación */
  margin-right: 8px;
  padding-left: -1.2rem;
}

.dotlist {
  list-style-type: disc;
  padding-left: 1.2rem;
}


.table th, .table td {
  vertical-align: middle;
}

.card-oz {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.oz-card .card-title {
  color: #006BA6;
}

.lihtc-card .card-title {
  color: #ED8B00;
}

.qof-section {
    padding: 60px 0px;
    background-color: #364350;
    color: #fff;
}

.equal-columns-table td, .equal-columns-table th {
  word-break: break-word;
  white-space: normal;
  vertical-align: top;
}

.equal-columns-table {
  table-layout: fixed;
  width: 100%;
}

.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* ---------- Live Local: Intro ---------- */
body[data-page="live_local"] .live-local-intro {
  padding: 0px 0 56px;
  background: #fff;
}

body[data-page="live_local"] .ll-title {
  color: var(--color-primario);
   font-weight: 700; 

  /* font-size: clamp(1.8rem, 2.2vw + 1rem, 2.4rem); */
  line-height: 1.25;
  margin-bottom: 8px;
}

body[data-page="live_local"] .ll-subtitle {
  color: #364350;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.2vw + .6rem, 1.25rem);
  opacity: .95;
}

body[data-page="live_local"] .ll-block-title {
  color: var(--color-primario);
  font-weight: 700;
  margin: 22px 0 10px;
}

body[data-page="live_local"] .ll-text {
  font-size: 1rem;
  color: #2f2f2f;
  line-height: 1.7;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  body[data-page="live_local"] .ll-text { text-align: left; }
}

/* ---------- Live Local: Benefits Grid ---------- */
body[data-page="live_local"] .live-benefits {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

body[data-page="live_local"] .feature-grid {
  display: flex;
  flex-wrap: wrap;
}

body[data-page="live_local"] .feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

body[data-page="live_local"] .feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-primario);
  opacity: .9;
}

body[data-page="live_local"] .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,.08);
}

body[data-page="live_local"] .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--color-primario);
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}

body[data-page="live_local"] .feature-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f2336;
  margin: 4px 0 6px;
  line-height: 1.35;
}

body[data-page="live_local"] .feature-text {
  color: #364350;
  font-size: .985rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 575.98px) {
  body[data-page="live_local"] .feature-card { padding: 18px 16px; }
  body[data-page="live_local"] .icon-wrap { width: 52px; height: 52px; font-size: 20px; }
  body[data-page="live_local"] .feature-title { font-size: 1rem; }
  body[data-page="live_local"] .feature-text { font-size: .95rem; }
}

/* ===== LIVE LOCAL – Case Study (safe custom classes) ===== */
body[data-page="live_local"] .live-case-study { background:#f7fafc; }

body[data-page="live_local"] .cs-panel{
  background:var(--color-primario);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  border-radius:16px;
  padding:22px;
  display:flex;
  flex-direction:column;
  height:100%;
}

body[data-page="live_local"] .cs-title{
  color:#fff;
  font-weight:700;
  margin-bottom:.75rem;
}

body[data-page="live_local"] .cs-list{
  color: rgba(255,255,255,0.92);
  list-style:disc;
  padding-left:1.2rem;
  margin:0;
}

body[data-page="live_local"] .cs-list li{ 
  margin-bottom:.55rem; 
  line-height:1.55;
}
body[data-page="live_local"] .cs-list li::marker{ color:#fff; }

/* badges */
body[data-page="live_local"] .case-badges .cs-badge{
  display:inline-block;
  color:#fff;
  border-radius:999px;
  padding:.45rem .75rem;
  font-weight:600;
  margin:0 .25rem;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}
body[data-page="live_local"] .case-badges .cs-badge--before{ background:var(--color-primario); }
body[data-page="live_local"] .case-badges .cs-badge--after { background:#2e7d32; }
body[data-page="live_local"] .case-badges .cs-badge--delta { background:#0288d1; }

/* responsive */
@media (max-width: 991.98px){
  body[data-page="live_local"] .cs-panel{ padding:18px; }
}

/* Por si hay textos en <strong> o links dentro del panel */
body[data-page="live_local"] .cs-panel strong{ color:#fff; }
body[data-page="live_local"] .cs-panel a{
  color:#fff; 
  text-decoration: underline; 
  text-underline-offset: 2px;
}


/* ===== LIVE LOCAL – Why We Use This Strategy ===== */
body[data-page="live_local"] .strategy-section{
  background: var(--color-primario);
  color: #fff;
}

body[data-page="live_local"] .strategy-section .oportunity-title{
  color:#fff;
}

body[data-page="live_local"] .strategy-intro{
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: .95;
  margin: 0;
}

body[data-page="live_local"] .strategy-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

body[data-page="live_local"] .strategy-list li{
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

body[data-page="live_local"] .strategy-list li:last-child{
  border-bottom: none;
}

body[data-page="live_local"] .strategy-list i{
  font-size: 1.15rem;
  line-height: 1.15rem;
  margin-top: .2rem;
  color: #A4F3A1; /* check verde suave sobre el primario */
}

body[data-page="live_local"] .strategy-outro{
  font-weight: 600;
  opacity: .98;
}

/* Ajustes móviles */
@media (max-width: 768px){
  body[data-page="live_local"] .strategy-intro{
    margin-bottom: .75rem;
  }
}

/* ===== BEFORE/AFTER – LIVE_LOCAL ===== */
body[data-page="live_local"] .ba-compare{
  --ba-pos: 50%;
  --ba-accent: var(--color-primario, #003b5c);
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16/9;              /* alto automático y responsivo */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  background: #e9ecef;
}

body[data-page="live_local"] .ba-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; user-select: none; pointer-events: none;
}

/* La capa "después" revela con width */
body[data-page="live_local"] .ba-reveal{
  position: absolute; inset: 0;
  width: var(--ba-pos);
  overflow: hidden;
}

/* Range ocupa todo pero es invisible → accesible por teclado */
body[data-page="live_local"] .ba-range{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent; opacity: 0;
  cursor: ew-resize;
}

/* Manilla/Divisor */
body[data-page="live_local"] .ba-handle{
  position: absolute; top: 0; left: var(--ba-pos);
  transform: translateX(-50%);
  height: 100%; pointer-events: none;
}
body[data-page="live_local"] .ba-handle::before{
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
body[data-page="live_local"] .ba-grip{
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ba-accent); border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
body[data-page="live_local"] .ba-grip::before,
body[data-page="live_local"] .ba-grip::after{
  content: ""; position: absolute; top: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
body[data-page="live_local"] .ba-grip::before{ left: 12px; transform: translateY(-50%) rotate(225deg); }
body[data-page="live_local"] .ba-grip::after{ right: 12px; transform: translateY(-50%) rotate(45deg); }

/* Etiquetas */
body[data-page="live_local"] .ba-label{
  position: absolute; top: 12px; padding: 6px 12px;
  border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: rgba(0,0,0,.55); color: #fff; letter-spacing: .2px;
}
body[data-page="live_local"] .ba-left{ left: 12px; }
body[data-page="live_local"] .ba-right{ right: 12px; }

/* Ajustes móviles */
@media (max-width: 768px){
  body[data-page="live_local"] .ba-compare{ aspect-ratio: 4/3; border-radius: 12px; }
  body[data-page="live_local"] .ba-grip{ width: 40px; height: 40px; }
}

.live-hero {
    position: relative;
    width: 100%;
    height: 350px; /* Ajusta la altura de la portada */
    background-image: url('img/live_local.webp'); /* Cambia esta ruta a tu imagen */
    background-size: contain; /* Ajusta la imagen para que se ajuste al contenedor */
    background-position: center;
    background-repeat: no-repeat;
}

.live-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}