/* ============================================
   MAKA DEFENSA - Hero Section
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- Video Background --- */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* --- Overlays --- */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradiente-hero-overlay);
  z-index: 1;
}

/* Grid tech pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(var(--accent-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-grid) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}


/* Corner decorations */
.hero__corners {
  position: absolute;
  inset: 40px;
  z-index: 3;
  pointer-events: none;
}

.hero__corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--accent-border-hover);
  border-style: solid;
  border-width: 0;
}

.hero__corner--tl {
  top: 0; left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.hero__corner--tr {
  top: 0; right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.hero__corner--bl {
  bottom: 0; left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.hero__corner--br {
  bottom: 0; right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

/* --- Hero Content --- */
.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--container-padding);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--azul-electrico);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--space-8);
}

.hero__badge-separator {
  width: 4px;
  height: 4px;
  background: var(--azul-electrico);
  border-radius: var(--radius-full);
  opacity: 0.5;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-6);
  letter-spacing: var(--ls-tight);
}

.hero__title-accent {
  color: var(--azul-electrico);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, var(--text-xl));
  color: var(--gris-claro);
  line-height: var(--lh-relaxed);
  max-width: 680px;
  margin: 0 auto var(--space-10);
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --- Hero: separar título del bloque inferior (subtítulo + CTAs) --- */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: min(80vh, 80dvh);
  width: 100%;
}

.hero__title {
  margin-top: auto;
  margin-bottom: 0;
}

.hero__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
