/* === FUENTES Y TIPOGRAFÍA === */
.image-title,
.title-carbon {
  font-family: 'CarbonBL', sans-serif !important;
  letter-spacing: 1px;
}

.image-title {
  margin-top: 10px;
}

.title-carbon {
  font-size: 5.5rem;
  color: #fff;
  line-height: 1;
  margin-top: -1rem;
  letter-spacing: 1.8px;
}

/* === TEXTOS GENERALES === */
.subtitle {
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 0;
  position: relative;
  left: 10px;
  color: #fff;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #fff;
}

.highlighted-title {
  display: inline-block;
  font-size: 1.5rem;
  background-color: #ffed00;
  padding: 10px;
  border-radius: 60px;
  color: #000;
  line-height: 1.2;
}

.d-block {
  display: inline-block;
  font-size: 4.5rem;
  font-weight: 900;
  font-style: italic;
  color: #000;
  line-height: 1.2;
  text-transform: uppercase;
}

/* === SECCIONES === */
.section-lg {
  padding: 20px 0;
}

.section-nosotros {
  background-color: #000;
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.faq-section {
  background-color: #000;
  background-image: url('../images/logos/amarillo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.faq-overlay {
  padding: 20px 0;
}

.fullscreen-section {
  width: 100vw;
  overflow: hidden;
}

/* === CONTENEDORES === */
.content-container {
  z-index: 1;
  padding: 100px 0;
  position: relative;
  max-width: 100%;
}

.intro-text {
  padding-left: 10%;
}

/* === IMÁGENES CON MÁSCARA === */
.image-masked-container {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 60%;
  z-index: 0;
}

.masked-image {
  height: 100%;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
}

.image-masked-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}

/* === IMÁGENES SUELTAS === */
.img-fluid.w-300 {
  width: 150%;
  max-width: 170px;
  height: auto;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease;
}

.img-fluid.w-200:hover {
  transform: scale(1.03);
}

/* === LAYOUT === */
.row.no-gutters {
  margin: 0 -10px;
}

.col-md-4 {
  padding: 0 10px;
}

.br-mobile {
  display: inline;
}

/* === MEDIA QUERIES: RESPONSIVE (<= 992px) === */
@media (max-width: 992px) {
  .position-absolute {
    width: 100% !important;
    opacity: 0.3;
  }

  .image-container {
    height: 300px !important;
  }

  .order-lg-1.order-2,
  .order-lg-2.order-1 {
    order: inherit !important;
  }

  .pr-lg-5 {
    padding-right: 0 !important;
    margin-top: 30px;
  }
}

/* === MEDIA QUERIES: MOBILE (<= 767.98px) === */
@media (max-width: 767.98px) {
  /* General layout adjustments */
  .section-nosotros {
    padding: 30px 10px;
    min-height: unset;
  }

  .content-container .row,
  .container .row {
    margin-left: 0 !important;
  }

  .col-lg-6.col-md-8 {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .br-mobile {
    display: none;
  }

  .intro-text {
    padding-left: 0 !important;
  }

  /* Imagen y máscara */
  .image-masked-container {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .masked-image {
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .image-masked-container img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    object-position: center;
  }

  /* Texto ajustado */
  .title-carbon {
    font-size: 2.8rem !important;
  }

  .lead {
    font-size: 1rem !important;
  }

  .heading-1 h1,
  .heading-1 h2 {
    font-size: 2rem !important;
  }

  /* Ajustes imagenes verticales */
  .d-flex.flex-row {
    flex-direction: column !important;
    align-items: center;
  }

  .image-block {
    margin-bottom: 20px;
  }

  .image-block img {
    width: 80%;
    height: auto;
  }

  .accordion-item p {
    font-size: 1.4rem !important;
  }

  /* Ajustes para contenedor texto e imagen juntos */
  .position-relative {
    padding: 30px 7px !important;
  }

  .position-absolute.h-100 {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .position-absolute.h-100 img {
    height: auto !important;
    object-fit: cover;
  }
}


