/* HERO — video como ventana flotante */

.hero-panorama {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  margin-top: -87px; /* sube el video para que se vea debajo del nav transparente */
  z-index: 1;
}

.hero-panorama-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-panorama-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(5,22,94,.72) 0%,
      rgba(5,22,94,.52) 28%,
      rgba(5,22,94,.22) 58%,
      rgba(0,0,0,.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.05) 0%,
      rgba(5,22,94,.28) 78%,
      rgba(5,22,94,.6) 100%
    );
}

.hero-panorama-content {
  position: relative;
  z-index: 3;
  min-height: 88vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem var(--gap) 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hslide-tagline {
  display: inline-block;
  width: fit-content;
  font-family: var(--ft);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(250,192,24,.1);
  border: 1px solid rgba(250,192,24,.45);
  padding: .38rem .95rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero-panorama-title {
  font-family: var(--ft);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -.015em;
  margin-bottom: 1rem;
  max-width: 620px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

.hero-panorama-title::after {
  content: ".";
  color: var(--red);
}

.hero-panorama-desc {
  font-family: var(--fb);
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.hero-panorama-desc strong {
  color: var(--white);
}

.hero-panorama-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-pill-gold {
  font-family: var(--ft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .92rem 1.85rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 12px 30px rgba(250,192,24,.38);
  text-decoration: none;
  transition: .25s ease;
}

.btn-pill-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
}

.hero-panorama-play {
  border: 0;
  background: transparent;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--ft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-panorama-play span {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  transition: .25s ease;
}

.hero-panorama-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.hero-panorama-play:hover span {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.08);
}

/* ── Stats bar — franja navy debajo del hero con video ── */
.hero-stats-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  width: 100%;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats-bar-inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.3rem var(--gap);
  box-sizing: border-box;
}
.hsb-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  padding: 0 .5rem;
}
.hsb-col:last-child { border-right: none; }
.hsb-n {
  font-family: var(--ft);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.hsb-l {
  font-size: .62rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

@media (max-width: 768px) {
  .hero-panorama,
  .hero-panorama-content {
    min-height: 90vh;
  }

  .hero-panorama {
    margin-top: -66px;
  }

  .hero-panorama-content {
    padding: 6rem var(--gap) 9rem;
  }

  .hero-panorama-overlay {
    background: rgba(5,22,94,.78);
  }

  .hero-panorama-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
  }
  .hsb-col:nth-child(2) { border-right: none; }
}