﻿.banner-promoaires {
    position: relative;
    width: 90%; /* 👈 ahora ocupa el 90% */
    height: 400px;
    background-image: url('../image/oficinamodernaconaireacondicionado.png');
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    margin: 50px auto; /* 👈 centrado automático */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: breeze-bg 10s ease-in-out infinite alternate;
}

/* Efecto de movimiento del fondo */
@keyframes breeze-bg {
  0% { background-position: center top; }
  100% { background-position: center bottom; }
}

/* Capa oscura con degradado */
.banner-promoaires__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 2;
}

/* Partículas flotantes simulando aire */
.banner-promoaires__particles::before,
.banner-promoaires__particles::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: move-particles 20s linear infinite;
  z-index: 1;
}

.banner-promoaires__particles::after {
  animation-duration: 25s;
  opacity: 0.5;
}

/* Movimiento de partículas */
@keyframes move-particles {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, 40px); }
}

/* Contenido del banner */
.banner-promoaires__content {
  text-align: center;
  color: #fff;
  max-width: 650px;
  z-index: 3;
  position: relative;
}

.banner-promoaires__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-promoaires__text {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #eaeaea;
}

.banner-promoaires__btn {
  background-color: #00c4d6;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.banner-promoaires__btn:hover {
  background-color: #009aae;
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
  .banner-promoaires {
    height: 320px;
    width: 95%;
  }

  .banner-promoaires__title {
    font-size: 1.5rem;
  }

  .banner-promoaires__text {
    font-size: 1rem;
  }
}

/*Banner categorias*/
.mini-banner {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem;
  background-color: #f9f9fb;
}

.banner-card {
  position: relative;
  width: 320px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.banner-card img {
  width: 100%;
  height: 100%;
 /* object-fit: cover;*/
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}

.banner-card:hover img {
  filter: brightness(0.8);
}

.banner-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

.banner-content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 5px;
}

.banner-content p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn-banner {
  background-color: #00a8e8;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
}

.btn-banner:hover {
  background-color: #007bbd;
}



/* === BANNER PROMOCIONAL === */
.banner__promocional {
  width: 94%;
  background: linear-gradient(90deg, #012a36 0%, #003d4a 50%, #00c4d6 100%);
  color: #fff;
  margin: auto;
  padding: 60px 5%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

.banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.banner__text {
  flex: 1 1 300px;
  z-index: 2;
}

.banner__tag {
  display: inline-block;
  background: #e0f7f9;
  color: #003d4a;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.banner__text h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
}

.banner__text h1 span {
  color: #00c4d6;
  font-weight: 900;
}

.banner__text p {
  color: #dff6f8;
  font-size: 17px;
  max-width: 460px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.banner__btn {
  display: inline-block;
  background: #00c4d6;
  color: #012a36;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 196, 214, 0.4);
}

.banner__btn:hover {
  background: #e0f7f9;
  color: #003d4a;
  transform: translateY(-3px);
}

.banner__image {
  flex: 1 1 300px;
  text-align: center;
}

.banner__image img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0px 8px 25px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.banner__image img:hover {
  transform: scale(1.05);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .banner__promocional {
    padding: 50px 5%;
    text-align: center;
  }

  .banner__content {
    flex-direction: column;
    gap: 30px;
  }

  .banner__text h1 {
    font-size: 34px;
  }

  .banner__image img {
    max-width: 350px;
  }
}

@media (max-width: 600px) {
  .banner__text h1 {
    font-size: 28px;
  }

  .banner__btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .banner__image img {
    max-width: 300px;
  }
}


