/* ── VARIABLES ── */
:root {
  --black-matte: #080808;
  --black-soft: #111111;
  --gold: #c9a84c;
  --gold-soft: #f0c96e;
  --olive: #59613a;
  --olive-dark: #31361f;
  --olive-soft: #79845a;
  --white: #ffffff;
}

/* ── HERO BASE ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

/* ── VIDEO BACKGROUND ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(1.08) contrast(1.04) saturate(1.04);
  object-position: 60% center;
}
 
/* ── OVERLAY SOBRE EL VIDEO ── */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.025) 48%,
    rgba(8, 8, 8, 0.18) 100%
  );
}

/* ── GRID OVERLAY ── */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ── CANVAS ── */
.shields-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* ── CONTENIDO ── */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  text-align: center;
  pointer-events: none;
}

/* ── BOTONES ── */
.hero-btns {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  pointer-events: auto;
}

/* ── BOTÓN PRINCIPAL: NEGRO + DORADO ── */
.btn-primary {
  background: linear-gradient(
    145deg,
    rgba(8, 8, 8, 0.88),
    rgba(17, 17, 17, 0.76)
  );
  color: var(--white);
  padding: 14px 34px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.btn-primary svg {
  color: var(--gold-soft);
  transition: color 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(
    145deg,
    rgba(201, 168, 76, 0.96),
    rgba(240, 201, 110, 0.9)
  );
  color: var(--black-matte);
  border-color: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(201, 168, 76, 0.22);
}

.btn-primary:hover svg {
  color: var(--black-matte);
  transform: translateX(2px);
}

/* ── BOTÓN SECUNDARIO: VERDE OLIVA + NEGRO MATE ── */
.btn-ghost {
  background: linear-gradient(
    145deg,
    rgba(49, 54, 31, 0.72),
    rgba(8, 8, 8, 0.68)
  );
  color: var(--white);
  padding: 14px 34px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(121, 132, 90, 0.56);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.btn-ghost:hover {
  background: linear-gradient(
    145deg,
    rgba(89, 97, 58, 0.96),
    rgba(49, 54, 31, 0.94)
  );
  color: #f4f1e7;
  border-color: var(--olive-soft);
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(121, 132, 90, 0.22);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  #hero {
    min-height: 620px;
  }

  .hero-btns {
    bottom: 48px;
    width: calc(100% - 40px);
    gap: 14px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 13px 22px;
    font-size: 0.78rem;
  }
}