/* ============================================================
   FORTIGLASS — Inner Page Hero Sections
   Full-bleed cinematic hero for all inner pages
   ============================================================ */

.inner-hero {
  position: relative;
  /* Pull hero back behind the fixed header for cinematic full-bleed effect */
  margin-top: calc(-1 * var(--header-total));
  /* Full viewport height including the area behind the header */
  height: calc(100vh + var(--header-total));
  min-height: 600px;
  max-height: 920px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--dark);
}

/* Background image */
.inner-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.45) saturate(0.7);
  transform: scale(1.04);
  transition: transform 8s ease;
  will-change: transform;
  z-index: 0;
}

.inner-hero:hover .inner-hero__bg {
  transform: scale(1.0);
}

/* Multi-layer overlay */
.inner-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(5, 10, 20, 0.6) 0%,
      rgba(5, 10, 20, 0.25) 35%,
      rgba(5, 10, 20, 0.8) 75%,
      var(--dark) 100%),
    linear-gradient(90deg,
      rgba(5, 10, 20, 0.65) 0%,
      transparent 55%);
}

/* Subtle grid */
.inner-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 60%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Diagonal bottom cut */
.inner-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 4;
}

/* Breadcrumb — sits just below the fixed header */
.inner-hero__breadcrumb {
  position: absolute;
  top: calc(var(--header-total) + 20px);
  left: 0;
  right: 0;
  z-index: 3;
}

.inner-hero__breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.inner-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.inner-hero__breadcrumb a:hover {
  color: var(--white);
}

.inner-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

/* Content — anchored to bottom, padded so it clears the diagonal cut */
.inner-hero__content {
  position: relative;
  z-index: 3;
  padding: 100px 0 100px;
  width: 100%;
  margin-top: auto;
}

.inner-hero__content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.inner-hero__eyebrow {
  font-family: "Orbitron", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-top: 45px;
}

.inner-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.inner-hero__title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.inner-hero__sub {
  font-size: 1.05rem;
  color: rgba(192, 200, 208, 0.85);
  max-width: 540px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.inner-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  transition: all 0.3s;
  text-decoration: none;
}

.inner-hero__cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.inner-hero__cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s;
}

.inner-hero__cta:hover svg {
  transform: translateX(4px);
}

/* Stat pills */
.inner-hero__stats {
  display: flex;
  gap: 2px;
  margin-top: 36px;
}

.inner-hero__stat {
  padding: 14px 22px;
  background: rgba(5, 10, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  min-width: 90px;
}

.inner-hero__stat-num {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
  white-space: nowrap;
}

.inner-hero__stat-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.48rem;
  color: rgba(192, 200, 208, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .inner-hero {
    height: calc(100vh + var(--header-total));
    min-height: 500px;
  }

  .inner-hero__content {
    padding: 90px 0 80px;
  }

  .inner-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .inner-hero__sub {
    font-size: 0.95rem;
  }

  .inner-hero__stats {
    flex-wrap: wrap;
  }

  .inner-hero__stat {
    flex: 1;
    min-width: 80px;
  }

  .inner-hero::after {
    height: 40px;
  }

  .inner-hero__breadcrumb {
    top: calc(var(--header-total) + 16px);
  }
}

@media (max-width: 480px) {
  .inner-hero {
    min-height: 440px;
  }

  .inner-hero__stats {
    display: none;
  }

  .inner-hero__sub {
    display: none;
  }
}