/* ============ BDS Hero Slider ============ */

.bds-hero {
  position: relative;
  width: 100%;
  padding: 60px 120px;
  box-sizing: border-box;
}

.bds-hero-swiper {
  overflow: hidden;
}

/* ===== Slide layout: 2 columnas desktop ===== */
.bds-hero-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
}

/* ===== Columna izquierda: contenido ===== */
.bds-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--bds-h-gap, 20px);
  font-family: var(--bds-h-font-desc), sans-serif;
  color: var(--bds-h-color-texto);
}

.bds-hero-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bds-hero-etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bds-h-color-etiqueta);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bds-hero-etiqueta-icono {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.bds-hero-titulo {
  font-family: var(--bds-h-font-titulo), sans-serif;
  font-weight: 900;
  margin: 0;
  color: var(--bds-h-color-texto);
}

.bds-hero-descripcion {
  color: var(--bds-h-color-texto);
}

.bds-hero-descripcion p { margin: 0 0 10px; }
.bds-hero-descripcion p:last-child { margin-bottom: 0; }

.bds-hero-shortcode { margin: 4px 0; }

.bds-hero-acciones {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Botón con variables CSS por slide */
.bds-hero .bds-hero-boton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--bds-h-font-desc), sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid;
}

.bds-hero .bds-hero-boton:hover {
  color: var(--btn-c-th, #c8102e) !important;
  background-color: var(--btn-c-fh, #fff) !important;
  border-color: var(--btn-c-fh, #fff) !important;
}

.bds-hero .bds-hero-boton-arrow {
  transition: transform 0.25s ease;
  color: inherit !important;
}
.bds-hero .bds-hero-boton:hover .bds-hero-boton-arrow {
  transform: translateX(4px);
}

/* Enlace secundario con flecha y subrayado de color */
.bds-hero .bds-hero-enlace {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  text-decoration: none !important;
  padding-bottom: 4px;
  border-bottom: 2px solid;
  transition: opacity 0.2s ease;
  font-family: var(--bds-h-font-desc), sans-serif;
  margin-top: 4px;
  align-self: flex-start;
}
.bds-hero .bds-hero-enlace:hover {
  opacity: 0.8;
}
.bds-hero .bds-hero-enlace-arrow {
  font-size: 18px;
  line-height: 1;
  color: inherit !important;
}

/* ===== Columna derecha: imagen ===== */
.bds-hero-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bds-hero-imagen img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Flechas a los lados ===== */
.bds-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
}

.bds-hero-arrow:hover {
  background: var(--bds-h-color-boton);
  border-color: var(--bds-h-color-boton);
}

.bds-hero-arrow svg {
  width: 22px;
  height: 22px;
}

.bds-hero-arrow--prev { left: 16px; }
.bds-hero-arrow--next { right: 16px; }

.bds-hero-arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

/* ===== Pagination (puntitos) ===== */
.bds-hero-pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.bds-hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  margin: 0;
}

.bds-hero-pagination .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.5);
}

.bds-hero-pagination .swiper-pagination-bullet-active {
  background: var(--bds-h-color-boton);
}

.bds-hero-pagination .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid var(--bds-h-color-boton);
  border-radius: 50%;
}

/* ===== Responsive ===== */
/* Tablet: mantiene 2 columnas, solo reduce padding/gap */
@media (max-width: 992px) {
  .bds-hero {
    padding: 40px 80px;
  }
  .bds-hero-slide {
    gap: 40px;
    min-height: auto;
  }
  .bds-hero-imagen img { max-width: 100%; }
  .bds-hero-arrow { width: 44px; height: 44px; }
  .bds-hero-arrow--prev { left: 12px; }
  .bds-hero-arrow--next { right: 12px; }
}

/* Mobile: 1 columna, imagen arriba, texto centrado abajo */
@media (max-width: 768px) {
  .bds-hero {
    padding: 30px 60px;
  }
  .bds-hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bds-hero-imagen { order: 1; }
  .bds-hero-content { order: 2; text-align: center; align-items: center; }
  .bds-hero-acciones { justify-content: center; }
  .bds-hero .bds-hero-enlace { align-self: center; }
  .bds-hero-logo { display: flex; justify-content: center; width: 100%; }
  .bds-hero-etiqueta { justify-content: center; }
  .bds-hero-imagen img { max-width: 70%; }
}

@media (max-width: 600px) {
  .bds-hero {
    padding: 30px 50px;
  }
  .bds-hero-imagen img { max-width: 85%; }
  .bds-hero-arrow {
    width: 38px;
    height: 38px;
  }
  .bds-hero-arrow svg {
    width: 18px;
    height: 18px;
  }
  .bds-hero-arrow--prev { left: 8px; }
  .bds-hero-arrow--next { right: 8px; }
}
