/* ================= FLOTA ESPECIALIZADA ================= */
.flota-especializada {
  background-color: #ffffff;
  padding: 20px 20px 20px 20px; /* reducimos top y bottom */
}

.flota-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* Lado izquierdo */
.flota-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flota-titulo {
  background-color: #111111; /* rectángulo negro */
  color: #ffffff;
  display: inline-block;
  font-family:"BEBAS";
  padding: 10px 25px;
  font-size: 2.8rem;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  margin-bottom: 35px;
}

/* Borde inferior amarillo */
.flota-titulo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #f2b233;
}

/* Descripción */
.flota-descripcion {
  font-family:"bebas_regular";
  font-size: 1.8rem;
  color: #111111;
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing:0.09rem ;
 
}

/* Lado derecho: imagen */
.flota-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Animación de entrada desde la derecha */
.flota-imagen img {
  max-width: 100%;
  height: auto;
  transform: translateX(50px);
  opacity: 0;
  transition: all 1s ease;
}

/* Clase para mostrar imagen (fade-in) */
.flota-imagen.visible img {
  transform: translateX(0);
  opacity: 1;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {
  .flota-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flota-texto {
    margin-bottom: 30px;
  }

  .flota-titulo {
    font-size: 2.8rem;
  }

  .flota-descripcion {
    font-size: 2.0rem;
  }
}