/* ================= BANNER PRINCIPAL ================= */
.hero-wrapper {
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  padding: 40px 20px;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 25px;
  align-items: stretch;
}

/* ================= HERO PRINCIPAL ================= */
.hero-main {
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 450px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1e3a5f 0%, #3b82f6 50%, #1e3a5f 100%);
}

.hero-main::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-main:hover {
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.2);
  transform: translateY(-3px);
}

/* IZQUIERDA */
.hero-left {
  width: 55%;
  z-index: 2;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: #1e3a5f;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  padding-left: 22px;
  display: inline-block;
}

.hero-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 3px;
  background: linear-gradient(90deg, #1e3a5f, #3b82f6);
  border-radius: 2px;
}

.hero-left h1 {
  font-size: clamp(32px, 3vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.1;
  margin: 18px 0 12px 0;
  color: #1e3a5f;
  max-width: 500px;
  text-shadow: 0 2px 4px rgba(30, 58, 95, 0.1);
}

.hero-sub {
  font-size: 17px;
  color: #64748b;
  margin-bottom: 22px;
  font-weight: 500;
}

/* ===== PRECIO PREMIUM ===== */
.hero-price {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-price .old {
  font-size: 15px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.hero-price .new {
  font-size: 34px;
  font-weight: 800;
  color: #dc2626;
  background: linear-gradient(90deg, #ffffff 0%, #fef2f2 100%);
  padding: 10px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.25);
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(220, 38, 38, 0.15);
}

.hero-price .new::after {
  content: "OFERTA";
  position: absolute;
  top: -10px;
  right: -12px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== BENEFICIOS ===== */
.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  font-size: 15px;
  color: #334155;
}

.hero-benefits li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.hero-benefits li:hover {
  transform: translateX(5px);
}

.hero-benefits li::before {
  content: "✓";
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  color: white;
  width: 22px;
  height: 22px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(30, 58, 95, 0.3);
  flex-shrink: 0;
}

/* ===== BOTÓN PROFESIONAL ===== */
.hero-btn {
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  color: white;
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(30, 58, 95, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.3s ease;
  font-weight: 700;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(30, 58, 95, 0.4);
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a5f 100%);
}

.hero-btn:hover::after {
  transform: translateX(6px);
}

.hero-btn:active {
  transform: translateY(-1px);
}

/* DERECHA - IMAGEN */
.hero-right {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-right::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-right img {
  width: 400px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.2));
  transition: all 0.5s ease;
}

.hero-main:hover .hero-right img {
  transform: scale(1.08) translateY(-10px) rotate(2deg);
  filter: drop-shadow(0 45px 65px rgba(0, 0, 0, 0.25));
}

/* ================= CARDS LATERALES ================= */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.cards-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  flex: 1;
}

.card-small {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.08);
  border: 1px solid rgba(30, 58, 95, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a5f 0%, #3b82f6 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card-small:hover {
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
  transform: translateY(-3px);
}

.card-small:hover::before {
  transform: scaleX(1);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  width: fit-content;
}

.card-small:nth-child(1) .card-tag {
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.3);
}

.card-small:nth-child(2) .card-tag {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.card-small img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  padding: 12px;
  transition: transform 0.3s ease;
}

.card-small:hover img {
  transform: scale(1.05);
}

.card-small h3 {
  font-size: 0.9rem;
  color: #1e3a5f;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 600;
  flex: 1;
}

.card-price {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
  font-weight: 700;
}

.card-link:hover {
  color: #1e3a5f;
  gap: 10px;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* CARD GRANDE */
.card-large {
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 50%, #1e3a5f 100%);
  border-radius: 16px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 10px 35px rgba(30, 58, 95, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex: 1.2;
}

.card-large::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.card-large .card-tag {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  margin-bottom: 12px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
  position: relative;
  z-index: 1;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.card-large h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-large .card-price {
  font-size: 1.8rem;
  color: #fbbf24;
  background: none;
  -webkit-text-fill-color: #fbbf24;
  margin-bottom: 12px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
}

.card-large .card-link {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.card-large .card-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.card-large img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.3));
  transition: transform 0.4s ease, filter 0.4s ease;
  position: relative;
  z-index: 1;
}

.card-large:hover img {
  transform: scale(1.08) translateY(-8px) rotate(2deg);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: 40px 30px;
    min-height: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left h1 {
    max-width: 100%;
  }

  .hero-price {
    justify-content: center;
  }

  .hero-benefits {
    display: inline-block;
    text-align: left;
  }

  .hero-right img {
    width: 320px;
    margin-top: 25px;
  }

  .hero-right::before {
    width: 300px;
    height: 300px;
  }

  .hero-side {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
  }

  .cards-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding: 25px 15px;
  }

  .hero-main {
    padding: 30px 20px;
    border-radius: 14px;
  }

  .hero-left h1 {
    font-size: 26px !important;
  }

  .hero-price .new {
    font-size: 26px;
    padding: 8px 18px;
  }

  .hero-right img {
    width: 260px;
  }

  .hero-right::before {
    width: 220px;
    height: 220px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
 .hero-btn{
    display: block;
    margin: 20px auto 0 auto;
    text-align: center;
  }
  .cards-top {
    grid-template-columns: 1fr;
  }

  .card-large {
    grid-template-columns: 1fr;
    padding: 20px;
    text-align: center;
  }

  .card-large h3 {
    font-size: 1.1rem;
  }

  .card-large img {
    max-width: 200px;
    margin: 0 auto;
  }
    .hero-main .hero-left > * {
    transform: translateY(15px);
  }
  
  .hero-main .hero-right {
    transform: translateY(20px) scale(0.95);
  }
  
  .hero-main.active .hero-right {
    transition-delay: 0.4s;
  }
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-main,
.hero-side {
  animation: fadeInUp 0.6s ease;
}

/* ===== SLIDER ESTABLE ===== */
.hero-container {
  position: relative;
}

.hero-container > .hero-main {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  pointer-events: none;
}

.hero-container > .hero-main.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Animación escalonada para los elementos de la izquierda */
.hero-main .hero-left > * {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
}

/* Tag - aparece primero */
.hero-main.active .hero-left > *:nth-child(1) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

/* Título - aparece segundo */
.hero-main.active .hero-left > *:nth-child(2) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.2s;
}

/* Subtítulo - aparece tercero */
.hero-main.active .hero-left > *:nth-child(3) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

/* Precio - aparece cuarto */
.hero-main.active .hero-left > *:nth-child(4) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.4s;
}

/* Beneficios - aparece quinto */
.hero-main.active .hero-left > *:nth-child(5) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}

/* Botón - aparece último */
.hero-main.active .hero-left > *:nth-child(6) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.6s;
}

/* Animación individual para cada beneficio */
.hero-main .hero-benefits li {
  transform: translateX(-15px);
  opacity: 0;
  transition: all 0.5s ease;
}

.hero-main.active .hero-benefits li:nth-child(1) {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.hero-main.active .hero-benefits li:nth-child(2) {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.6s;
}

.hero-main.active .hero-benefits li:nth-child(3) {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.7s;
}

/* Imagen - animación más dinámica */
.hero-main .hero-right {
  transform: translateX(30px) scale(0.95);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-main.active .hero-right {
  transform: translateX(0) scale(1);
  opacity: 1;
  transition-delay: 0.3s;
}

.hero-main .hero-right img {
  transform: rotate(-3deg) scale(0.97);
  filter: brightness(0.95);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-main.active .hero-right img {
  transform: rotate(0deg) scale(1);
  filter: brightness(1);
  transition-delay: 0.4s;
}

/* Efecto hover más suave en la imagen */
.hero-main:hover .hero-right img {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.25));
  transition: all 0.5s ease;
}

/* Animación de salida más suave */
.hero-container > .hero-main:not(.active) {
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

/* Animación del badge OFERTA */
.hero-price .new::after {
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

/* Animación del botón */
.hero-main.active .hero-btn {
  animation: button-glow 2s ease-in-out infinite;
}

@keyframes button-glow {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.3);
  }
  50% {
    box-shadow: 0 10px 35px rgba(30, 58, 95, 0.5);
  }
}

/* Responsive - ajustar animaciones en móviles */
/* ===== DOTS SLIDER PREMIUM ===== */
.hero-container{
  position:relative;
}

/* DOTS CENTRADOS PERFECTAMENTE */
.hero-dots{
  position:absolute;
  bottom:25px;           /* espacio desde abajo */
  left:35%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;              /* espacio entre puntos */
}

.hero-dots button{
  width:12px;
  height:12px;
  border-radius:50%;
  border:none;
  background:#c5cfde; /* gris azulado suave */
  cursor:pointer;
  transition:all .3s ease;
}

.hero-dots button.active{
  background:#2F4373; /* azul principal de tu marca */
  transform:scale(1.2);
  box-shadow:0 0 0 4px rgba(47,67,115,0.15);
  
}

.hero-dots button:hover{
  background:#1F315A;
}