:root {
  --rojo: #aa3824;
  --rojo-oscuro: #90271a;
  --amarillo: #c9902b;
  --amarillo-hover: #a8741f;
  --texto: #0F172A;
  --gris: #334155;
  --gris-claro: #E5E7EB;
  --blanco: #FFFFFF;
  --sombra-suave: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* =============ANIMACIONES =============== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-oferta {
  background: linear-gradient(135deg, #aa3824 0%, #90271a 50%, #7f2418 100%);
  color: var(--blanco);
  text-align: center;
  padding: 6rem 2rem 5rem;
  margin-top: 6rem;
  position: relative;
  box-shadow: var(--sombra-suave);
  overflow: hidden;
}

.hero-oferta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-oferta h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: fadeInDown 0.8s ease;
}

.hero-oferta p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f8f8f8;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.9s ease 0.3s backwards;
}

.oferta {
  padding: 4rem 0;
}
.oferta h2 {
  text-align: center;
  color: var(--texto);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}
.oferta .container {
  width: min(1150px, 92%);
  margin-inline: auto;
}

.oferta-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.card {
  flex: 1 1 22%;
  background: var(--blanco);
  border: 1px solid var(--gris-claro);
  border-radius: 1rem;
  box-shadow: var(--sombra-suave);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--amarillo);
}

.icono {
  font-size: 2.5rem;
  background: #f9fafb;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--rojo);
}

.card h3 {
  font-size: 1.3rem;
  color: var(--texto);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.card p {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.btn-card {
  display: inline-block;
  background: var(--rojo);
  color: var(--blanco);
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-card:hover {
  background: #a00c24;
  transform: scale(1.05);
}

/* =========== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .oferta-grid {
    flex-wrap: wrap;
  }
  .card {
    flex: 1 1 45%;
  }
}
@media (max-width: 600px) {
  .oferta-grid {
    flex-direction: column;
  }
  .card {
    flex: 1 1 100%;
  }
}

footer {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--blanco);
  font-size: 0.95rem;
  margin-top: 3rem;
}
