/* Shared hero component and its compact inner-page variant.
 * One definition per selector and condition. Edit the owning rule; do not append override blocks. */

.unified-hero {
  isolation: isolate;
  display: flex;
  position: relative;
  overflow: hidden;
  background-image: var(--unified-hero-image);
  background-position: 50% 54%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  min-height: clamp(42rem, 92vh, 58rem);
  padding: 8rem 0 5rem;
}

.unified-hero::after {
  content: "";
  pointer-events: none;
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #202124e0 0%, #20212491 44%, #20212414 100%);
}

.unified-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  opacity: 0;
  transition: opacity .7s var(--ntc-motion-ease);
  pointer-events: none;
}

.unified-hero__video.is-playing {
  opacity: 1;
}

.unified-hero__video-toggle {
  position: absolute;
  top: 7rem;
  right: 1.25rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #ffffff80;
  border-radius: var(--ntc-radius-control);
  color: #fff;
  background: #20212499;
}

.unified-hero__video-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.unified-hero__overlay {
  z-index: 1;
  /* Neutral scrim keeps the overlaid navigation legible even on the brightest video frame. */
  background: linear-gradient(180deg, #202124cc 0, #202124b3 5.5rem, #20212466 9rem, transparent 15rem),
    linear-gradient(0deg, #20212433, #2021240a 45%);
  position: absolute;
  inset: 0;
}

.unified-hero>.container {
  z-index: 2;
  width: 100%;
  position: relative;
}

.unified-hero__content {
  color: #fff;
  max-width: 48rem;
}

.unified-hero__kicker {
  color: #ffffffd6;
  letter-spacing: .1em;
  text-transform: uppercase;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.4rem;
  font-size: .76rem;
  font-weight: 700;
  display: flex;
}

.unified-hero__kicker::before {
  background: var(--ntc-red);
  content: "";
  flex: 0 0 2.75rem;
  height: 2px;
}

.unified-hero__title {
  color: #fff;
  letter-spacing: -.05em;
  max-width: 11ch;
  margin: 0;
  font-weight: 800;
  line-height: 1.02;
  font-size: clamp(3.1rem, 5.2vw, 5rem);
}

.unified-hero__text {
  color: #ffffffd4;
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.unified-hero__actions {
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.25rem;
  display: flex;
}

.unified-hero__actions .btn {
  min-width: 12.5rem;
  transition: background-color .25s, border-color .25s, box-shadow .25s, transform .25s;
}

.unified-hero__actions .btn:hover,
.unified-hero__actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 .7rem 1.5rem #0000002e;
}

.unified-hero__trust {
  color: #ffffffc2;
  border-top: 1px solid #fff3;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  max-width: 42rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: .82rem;
  font-weight: 600;
  display: flex;
}

.unified-hero__trust span {
  align-items: center;
  line-height: 1.45;
  display: inline-flex;
}

.unified-hero__trust i {
  color: #fff;
  margin-right: .4rem;
  font-size: .72rem;
}

body:not(.page-home) .unified-hero {
  align-items: flex-end;
  min-height: clamp(34rem, 68vh, 42rem);
  padding: 7.5rem 0 3.75rem;
}

body:not(.page-home) .unified-hero__content {
  max-width: 45rem;
}

body:not(.page-home) .unified-hero__kicker {
  margin-bottom: 1rem;
}

body:not(.page-home) .unified-hero__title {
  max-width: 13ch;
  line-height: 1.03;
  font-size: clamp(2.65rem, 4.5vw, 4.2rem);
}

body:not(.page-home) .unified-hero__text {
  max-width: 39rem;
  margin-top: 1.15rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}

body:not(.page-home) .unified-hero__actions {
  margin-top: 1.65rem;
}

@media (max-width:767.98px) {

  .unified-hero__video {
    object-position: center;
  }

  .unified-hero {
    background-image: var(--unified-hero-mobile-image, var(--unified-hero-image));
    background-position: center;
    align-items: flex-end;
    min-height: max(42rem, 100svh);
    padding: 5.75rem 0 2.25rem;
  }

  .unified-hero::after {
    background: linear-gradient(#1214161a 10%, #1214166b 46%, #121416f5 100%);
  }

  .unified-hero__content {
    max-width: 34rem;
  }

  .unified-hero__kicker {
    letter-spacing: .09em;
    margin-bottom: .85rem;
    font-size: .65rem;
  }

  .unified-hero__title {
    max-width: none;
    line-height: 1.02;
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .unified-hero__text {
    max-width: 31rem;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .unified-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
    width: 100%;
    margin-top: 1.35rem;
  }

  .unified-hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 3.15rem;
    padding: .78rem 1rem;
  }

  .unified-hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  body.page-home .unified-hero__trust {
    padding-bottom: 3.5rem;
  }

  body:not(.page-home) .unified-hero {
    min-height: 40rem;
    padding: 6.25rem 0 2.25rem;
  }

  body:not(.page-home) .unified-hero__content {
    max-width: 34rem;
  }

  body:not(.page-home) .unified-hero__title {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  body:not(.page-home) .unified-hero__text {
    margin-top: .9rem;
    font-size: .95rem;
    line-height: 1.55;
  }

  body:not(.page-home) .unified-hero__actions {
    margin-top: 1.2rem;
  }
}

@media (prefers-reduced-motion:reduce) {

  .unified-hero__video {
    display: none;
  }

  .unified-hero__actions .btn {
    transition: none;
  }
}
