/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ESTILO GENERAL */
  body {
    font-family: Arial, sans-serif;
    background: #f0f7f0;
    color: #333;
    padding-top: 82px;
    margin-bottom:80px/*ajustarlo según el tamaño del footer*/
  }

  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* HEADER */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #2d6a4f;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  .logo span {
    color: #7ed957;
  }

  /* NAV */
  .nav {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .nav a:hover {
    color: #b7e4c7;
    transform: scale(1.1);
  }
  
  /* BOTÓN RESPONSIVE */
  .menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* Secciones */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #0b3d2e;
}
/* ----- Ajustes generales ----- */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }
}

  /* RESPONSIVE */
  @media (max-width: 1250px) {
    .nav {
      position: absolute;
      top: 70px;
      right: 0;
      background: #2d6a4f;
      flex-direction: column;
      width: 200px;
      padding: 1rem;
      display: none;
      animation: slide 0.3s ease;
    }
  
    .menu-btn {
      display: block;
    }
  }
  
  /* ANIMACIÓN */
  @keyframes slide {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  footer {
    background: #1b4332;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;

    position: fixed; /*situarlo al final*/
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  z-index: 1000;
  }

  footer a{
    color: rgb(134, 202, 247);
  }
  
  /* HERO */
.hero {
    height: 45vh;
    background: 
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
      url("img/bosque.jpg") center/cover no-repeat;
    background-attachment: fixed; /* PARALLAX */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
  }
  
  .hero-content {
    animation: fadeIn 2s ease forwards;
    opacity: 0;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px #000;
  }
  
  .hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  .btn-hero {
    background: #52b788;
    padding: 0.8rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
  }
  
  .btn-hero:hover {
    background: #40916c;
    transform: scale(1.05);
  }
  
  /* ANIMACIÓN FADE-IN */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease-out;
  }
  
  .scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
  }
   

  /*servicios*/

  .services {
    padding: 4rem 2rem;
    text-align: center;
    background: #f0f7f0;
  }
  
  .services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d6a4f;
  }
  
  .services-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .service-card {
    background: white;
    padding: 2rem;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    cursor: pointer;
  }
  
  .service-card img {
    width: 80px;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  
  .service-card:hover img {
    transform: rotate(-10deg) scale(1.1);
  }
  

  
/* --- BANNER DE IMPACTO AMBIENTAL --- */

.impacto {
    background: linear-gradient(rgba(11, 61, 46, 0.85), rgba(11, 61, 46, 0.85)),
                url('img/impacto.avif');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
  }
  
  .impacto h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #7ed957;
  }
  
  .impacto-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
  }
  
  .impacto-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .impacto-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    width: 220px;
    transition: 0.3s;
  }
  
  .impacto-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .impacto-item h3 {
    font-size: 32px;
    color: #7ed957;
    margin-bottom: 10px;
  }
  
  .impacto-item p {
    font-size: 16px;
    opacity: 0.9;
  }


/* Nosotros */
.about {
  padding: 4rem 2rem;
  background: white;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  /*justify-content: left;*/
  flex-wrap: wrap;
}

.about-img {
  width: 350px;
  height: 250px;
  background: url('img/nosotros.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }
 
}

/* --- CERTIFICACIONES AMBIENTALES --- */

.certificaciones {
  background: #e9f5e0;
  padding: 80px 0;
  text-align: center;
}

.cert-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #0b3d2e;
  opacity: 0.9;
}

.cert-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cert-item {
  background: white;
  width: 250px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.cert-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cert-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #7ed957;
}

.cert-item h3 {
  font-size: 22px;
  color: #0b3d2e;
  margin-bottom: 10px;
}

.cert-item p {
  font-size: 15px;
  color: #333;
  opacity: 0.9;
}



  /* efecto zoom */
  .gallery {
    padding: 4rem 2rem;
    background: #f0f7f0;
    text-align: center;
  }
  
  .gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d6a4f;
  }
  
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.15);
  }
  

  /* Sección general */
#ubicacion {
  padding: 50px 20px;
  background: #f0f2f5;
  text-align: center;
}

#ubicacion h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

/* Dirección */
.info-direccion {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: #444;
}

/* Botón "Cómo llegar" */
.btn-llegar {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #0078ff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-llegar:hover {
  background: #005fcc;
}

/* Mapa responsive */
.mapa-responsive {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mapa-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ventana modal*/
/* Fondo del modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
}

/* Contenido del modal */
.modal-contenido {
  background: white;
  padding: 25px;
  width: 90%;
  max-width: 900px;
  border-radius: 10px;
  text-align: justify;
  animation: aparecer 0.3s ease;
  
}

/* Scroll interno */
.modal-scroll {
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 10px;
  max-height: 60vh; /* altura máxima del contenido */
}

/* Barra de scroll más elegante */
.modal-scroll::-webkit-scrollbar {
  width: 8px;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* Botón cerrar */
.cerrar {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  
}

.cerrar:hover {
  color: #000;
}

/* Animación */
@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* Responsive */
@media (max-width: 480px) {
  .modal-contenido {
    padding: 15px;
  }
}

/* carrusel  ***/
.carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-inner {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
 flex: 0 0 100%;
 user-select: none;
}

.slide img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Botones */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ffffff88;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #fff;
}


/**************************************************
 *********** pagina about   ***********************
 **************************************************/
 .sobre-nosotros {
  padding: 50px 20px;
  background: #f7f7f7;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  color: #333;
}

.sobre-nosotros .contenedor {
  max-width: 900px;
  margin: 0 auto;
}

.sobre-nosotros h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  text-align: center;
  color: #1a1a1a;
}

.sobre-nosotros ul {
  margin: 15px 0;
  padding-left: 20px;
}

.sobre-nosotros ul li {
  margin-bottom: 8px;
}

.ubicacion {
  margin-top: 40px;
  padding: 20px;
  background: #ffffff;
  border-left: 5px solid #0078ff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ubicacion h2 {
  margin-top: 0;
  color: #0078ff;
}

/* BANNER SUPERIOR */
.banner-sobre {
  width: 100%;
  height: 150px;
  background-image: url('img/banner-sobre.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Oscurecimiento para mejorar la lectura */
.banner-sobre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

/* Contenido del banner */
.banner-contenido {
  position: relative;
  text-align: center;
  color: white;
  z-index: 2;
}

.banner-contenido h1 {
  font-size: 2.8rem;
  margin: 0;
  font-weight: bold;
}

.banner-contenido p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-sobre {
    height: 220px;
  }

  .banner-contenido h1 {
    font-size: 2rem;
  }

  .banner-contenido p {
    font-size: 1rem;
  }
}


/************************************************************
 *******************  residuos  *****************************
 ************************************************************/

/* BANNER SUPERIOR */
.hero-residuos {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.hero-residuos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-texto {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: rgba(0,0,0,0.35);
  text-align: center;
}

.hero-texto h1 {
  font-size: 2.6rem;
  margin: 0;
}

.hero-texto p {
  margin-top: 8px;
  font-size: 1.1rem;
}

/* BLOQUES GENERALES */
.bloque-residuos {
  padding: 40px 20px;
}

.bloque-residuos.gris {
  background: #f5f5f5;
}

.bloque-residuos .contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.bloque-residuos .texto {
  flex: 1 1 55%;
}

.bloque-residuos .texto-rojo {
  flex: 1 1 55%;
}

.bloque-residuos .imagen {
  flex: 1 1 40%;
}

.bloque-residuos .imagen img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.bloque-residuos h2 {
  margin-top: 0;
  color: #0078ff;
}

.bloque-residuos h3 {
  margin-top: 20px;
  color: #444;
}

.texto-rojo h2 {
  margin-top: 0;
  color: #a80707;
}

.bloque-residuos p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.bloque-residuos ul {
  padding-left: 20px;
  margin: 10px 0 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-residuos {
    height: 240px;
  }

  .hero-texto h1 {
    font-size: 2rem;
  }

  .bloque-residuos .contenedor {
    flex-direction: column;
  }

  .bloque-residuos .imagen,
  .bloque-residuos .texto {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .hero-texto p {
    font-size: 0.95rem;
  }

  .bloque-residuos {
    padding: 30px 15px;
  }
}


/************************************************
 ************** desmontaje   ********************
 ************************************************/
/* BANNER SUPERIOR */
.hero-desmontajes {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.hero-desmontajes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-texto {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-texto h1 {
  font-size: 2.6rem;
  margin: 0;
}

.hero-texto p {
  margin-top: 8px;
  font-size: 1.1rem;
}

/* SECCIONES GENERALES */
.contenedor {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.texto {
  flex: 1 1 55%;
}

.imagen {
  flex: 1 1 40%;
}

.imagen img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* EQUIPOS */
.equipos h2 {
  color: #0078ff;
  margin-bottom: 10px;
}

.lista-equipos {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 25px 0;
}

.lista-equipos .item {
  width: 180px;
  text-align: center;
}

.lista-equipos .item img {
  width: 120px;
  margin-bottom: 10px;
}

.legal {
  margin-top: 20px;
  font-style: italic;
  color: #555;
}

/* PERSONAL */
.personal h2 {
  color: #0078ff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-desmontajes {
    height: 240px;
  }

  .hero-texto h1 {
    font-size: 2rem;
  }

  .contenedor {
    flex-direction: column;
  }

  .imagen,
  .texto {
    flex: 1 1 100%;
  }

  .lista-equipos {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-texto p {
    font-size: 0.95rem;
  }
}


/*****************************************************************
 ************   demoliciones   ***********************************
 *****************************************************************/
 /* BANNER SUPERIOR */
.hero-demoliciones {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.hero-demoliciones img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-texto {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-texto h1 {
  font-size: 2.6rem;
  margin: 0;
}

.hero-texto p {
  margin-top: 8px;
  font-size: 1.1rem;
}

/* CONTENIDO */
.demoliciones .contenedor {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.demoliciones .texto {
  flex: 1 1 55%;
}

.demoliciones .imagen {
  flex: 1 1 40%;
}

.demoliciones .imagen img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.demoliciones p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-demoliciones {
    height: 240px;
  }

  .hero-texto h1 {
    font-size: 2rem;
  }

  .demoliciones .contenedor {
    flex-direction: column;
  }

  .demoliciones .texto,
  .demoliciones .imagen {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .hero-texto p {
    font-size: 0.95rem;
  }
}


/************************************************************
 **************   contacto **********************************
 ************************************************************/
 /* BANNER SUPERIOR */
.hero-contact {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.hero-contact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-texto {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-texto h1 {
  font-size: 2.6rem;
  margin: 0;
}

.hero-texto p {
  margin-top: 8px;
  font-size: 1.1rem;
}

/* BLOQUE CONTACTO */
.contact .contenedor {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.info-contact {
  flex: 1 1 50%;
}

.info-contact h2 {
  color: #0078ff;
  margin-bottom: 15px;
}

.info-contact p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.info-contact a {
  color: #0078ff;
  text-decoration: none;
}

.info-contact a:hover {
  text-decoration: underline;
}

.contact .imagen {
  flex: 1 1 45%;
}

.contact .imagen img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* AVISO LEGAL */
.aviso-legal {
  background: #f5f5f5;
  padding: 40px 20px;
}

.aviso-legal .contenedor {
  max-width: 900px;
  margin: 0 auto;
}

.aviso-legal h2 {
  color: #0078ff;
  margin-bottom: 15px;
}

.aviso-legal p {
  line-height: 1.7;
  color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-contacto {
    height: 220px;
  }

  .hero-texto h1 {
    font-size: 2rem;
  }

  .contacto .contenedor {
    flex-direction: column;
  }

  .info-contacto,
  .contacto .imagen {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .hero-texto p {
    font-size: 0.95rem;
  }
}



/*cookies*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 15px;
  display: flex; /* Importante */
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  z-index: 9999;
}


.cookie-banner a {
  color: #4ea3ff;
}

.cookie-buttons button {
  margin-left: 10px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#btn-aceptar {
  background: #4caf50;
  color: white;
}

#btn-rechazar {
  background: #f44336;
  color: white;
}




/*******************************************
********  banner hero  *********************
********************************************/
/* HERO */
.baner-hero {
  height: 45vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  overflow: hidden;
}

/* Overlay oscuro (igual que antes) */
.baner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: 1;
}

/* Contenido encima */
.baner-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 2s ease forwards;
  opacity: 0;
}

/* CARRUSEL */
/* CARRUSEL FADE */
.baner-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.baner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.baner-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 1.5s ease;
}

.baner-slides img.baner-active {
  opacity: 1;
}

/* Indicadores */
.baner-indicators {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.baner-dot {
  width: 12px;
  height: 12px;
  background: #ffffff88;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.baner-dot.baner-active {
  background: #fff;
}


/* Responsive */
@media (max-width: 600px) {
  .baner-hero {
    height: 35vh;
  }
}
