/* =========================================
   BASE GENERAL
========================================= */
body{
  margin: 0;
  padding-top: 120px; /* espacio para header fijo */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111;
  background: #fff;
}

/* =========================================
   HERO
========================================= */
.flota-hero{
  text-align: center;
  padding: 120px 20px 40px;
}

.flota-hero h1{
  font-size: 42px;
  margin-bottom: 10px;
}

.flota-hero p{
  font-size: 20px;
  color: #555;
}

/* =========================================
   DESCRIPCIÓN
========================================= */
.flota-descripcion{
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-size: 22px;
  line-height: 1.5;
  border-left: 4px solid #000;
}

/* =========================================
   FLOTA ZIG ZAG
========================================= */
.flota-zigzag{
  max-width: 1200px;
  margin: 100px auto 24px; /* deja aire antes de la franja */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.flota-item{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* invertir orden */
.flota-item.reverse{
  direction: rtl;
}
.flota-item.reverse > *{
  direction: ltr;
}

/* imagen */
.flota-img img{
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* texto */
.flota-text h3{
  font-size: 32px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
  font-weight: 600;
}

.flota-text h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: #000;
  border-radius: 2px;
}

.flota-text p{
  font-size: 20px;
  line-height: 1.6;
  color: #444;
}

/* =========================================
   FRANJA NEGRA FINAL
========================================= */
.flota-certificado{
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 20px 16px;
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  display: block;
}

/* =========================================
   ANIMACIÓN SCROLL
========================================= */
.fade-up{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE (CELULAR)
========================================= */
@media (max-width: 900px){

  .flota-hero{
    padding-top: 100px;
  }

  .flota-hero h1{
    font-size: 30px;
  }

  .flota-hero p{
    font-size: 16px;
  }

  .flota-descripcion{
    font-size: 17px;
    max-width: 90%;
    border-left: 3px solid #000;
    margin: 28px auto 32px; /* separación equilibrada */
  }

  .flota-zigzag{
    gap: 60px;
    margin-top: 20px; /* fotos no tan pegadas */
    margin-bottom: 12px;
  }

  .flota-item{
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .flota-img img{
    border-radius: 12px;
  }

  .flota-text h3{
    font-size: 18px;
    padding-left: 10px;
  }

  .flota-text h3::before{
    width: 3px;
  }

  .flota-text p{
    font-size: 14px;
    line-height: 1.4;
  }

  .flota-certificado{
    font-size: 14px;
    padding: 16px 12px;
  }
}

/* =====================================
   FORZAR FRANJA FLOTA
===================================== */
.flota-certificado{
  display: block !important;
  visibility: visible !important;
  background: #000 !important;
  color: #fff !important;
  padding: 24px 16px !important;
  text-align: center !important;
}

/* =====================================
   COLOR DEL HEADER CUANDO MENÚ ESTÁ ABIERTO
===================================== */
.header-fixed.menu-open{
  background: rgba(76, 139, 187, 0.70) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
