/* ============================================================
   HERO.CSS — Sección principal (Hero)
   ============================================================ */

.hero {
  background: var(--dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* ── Fondos decorativos ── */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(200, 154, 46, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(200, 154, 46, 0.08) 0%, transparent 60%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200, 154, 46, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

/* ── Layout interior ── */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 80px var(--section-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Badge animado ── */
.hero-badge {
  position: fixed;
  bottom: 40px;
  left: 30px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 91, 196, 0.95);
  background: linear-gradient( rgba(0, 91, 196, 0.95),  rgba(0, 91, 196, 0.6),  rgba(0, 91, 196, 0.95));
  border: 4px solid rgba(0, 91, 196, 0.95);
  border-radius: 20px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1.5px;
  animation: pulse 2s infinite;
}

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

.hero-badge a {
  transition: all .3s ease;
  color: var(--white);
  text-align: center;
  padding: 6px 14px;
}
.hero-badge:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(200, 154, 46, 0.35);
}

/* ── Texto ── */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero h1 span {
  color: var(--gold);
}
.hero-text p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Visual (imagen + tarjeta) ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.hero-img-wrap img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

/* Tarjeta de estadística ── */
.hero-img-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.hero-img-card .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.hero-img-card .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .hero-badge{
    font-size: 11px;
    left: 10px;
    bottom: 50px;
  }
}
@media (max-width: 640px) {
  .hero-badge{
    font-size: 11px;
    left: 10px;
    bottom: 50px;
  }
}
