/* ============================= */
/* BANNER CATEGORÍAS             */
/* ============================= */

.banner-categoria {
  position: relative;
  overflow: hidden;
  padding: 70px 8%;
  background: linear-gradient(90deg, #07152f 0%, #0a1f44 40%, #123d7a 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
}

/* Viso superior izquierdo */
.banner-shape-left {
  position: absolute;
  left: -80px;
  top: -50px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.22), transparent 65%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 1;
}

/* Viso inferior derecho */
.banner-shape-right {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.banner-categoria-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 30px;
}

.banner-texto {
  max-width: 700px;
  transition: all 0.45s ease;
}

/* Tag */
.banner-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Título */
.banner-categoria h1 {
  font-size: 74px;
  line-height: 0.95;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 18px rgba(0, 194, 255, 0.18);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Descripción */
.banner-categoria p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 620px;
}

/* Botones */
.banner-botones {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-banner-principal,
.btn-banner-secundario {
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-banner-principal {
  background: var(--celeste-acento);
  color: white;
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.35);
}

.btn-banner-principal:hover {
  background: #00a8dd;
  transform: translateY(-2px);
}

.btn-banner-secundario {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.btn-banner-secundario:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Imagen producto */
.banner-producto {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.45s ease;
}

.banner-producto-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35), 0 0 30px rgba(0, 194, 255, 0.12);
  transition: all 0.45s ease;
}

.banner-producto-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(0,194,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.banner-producto-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 250px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35));
}

/* ============================= */
/* ANIMACIONES                   */
/* ============================= */

.banner-categoria.animate .banner-texto {
  animation: bannerTextIn 0.7s ease;
}

.banner-categoria.animate .banner-producto-card {
  animation: bannerProductIn 0.75s ease;
}

@keyframes bannerTextIn {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bannerProductIn {
  from { opacity: 0; transform: translateX(30px) scale(0.92); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

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

@media (max-width: 992px) {
  .banner-categoria-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .banner-texto { max-width: 100%; }

  .banner-categoria p { margin: 0 auto; }

  .banner-botones { justify-content: center; }

  .banner-categoria h1 { font-size: 52px; }

  .banner-shape-right { opacity: 0.2; }
}

@media (max-width: 600px) {
  .banner-categoria {
    padding: 55px 6%;
    min-height: auto;
  }

  .banner-categoria h1 { font-size: 36px; }

  .banner-categoria p { font-size: 16px; }

  .banner-producto-card img { height: 200px; }

  .banner-producto { display: none; }
}
