/*
 * Full-width media hero (.section-hero).
 *
 * Moved out of pillars-v2.css so the pillar, industry and reusable "Page hero"
 * sections can share one source. Enqueued on pillar/industry templates and on
 * any page whose Page sections include the reusable hero.
 */
.section-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 800px;
    overflow: hidden;
    background: #05050f;
}

.section-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.section-hero__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #23305b30 30%, #23305B 100%);
}

.section-hero__content {
    position: absolute;
    bottom: calc(var(--padding-section) + 25px);
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

@media (max-width:1400px) {
  .section-hero__content {
    bottom: calc(var(--padding-section) + 90px);
  }
}
@media (max-width:768px) {
  .section-hero {
    height: 100vh;
    /* svh keeps the hero still while Safari collapses its address bar. */
    height: 100svh;
    /* The 800px floor above is taller than a small phone's whole viewport. */
    min-height: auto;
  }

  /*
   * Hero art is ~2:1, so a phone shows barely a fifth of its width and a
   * centre crop loses the subject. Each hero sets its own focal point
   * through --section-hero-focus-m; see the hero section templates.
   */
  .section-hero__bg {
    object-position: var(--section-hero-focus-m, 70%) center;
  }
}

.section-hero__title {
    max-width: 640px;
    margin: 0 0 20px;
    font-weight: bold;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1.15;
    color: #fff;
}

.section-hero__title span {
    font-weight: 800;
    color: var(--color-lime, #C3D534);
}

.section-hero__desc {
    max-width: 580px;
    margin: 0 0 32px;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.section-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.section-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.section-hero__btn--solid {
    background: #fff;
    color: #151128;
}

.section-hero__btn--solid:hover {
    background: var(--color-lime, #C3D534);
}

.zt__btn.section-hero__btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.zt__btn.section-hero__btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.section-hero__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: var(--color-lime, #C3D534);
    color: #151128;
    font-size: 0.8rem;
}

.section-hero__btn-icon--outline {
    background: transparent;
    color: #fff;
}

.section-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(50px, 5vw, 85px);
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65);
    
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    font-weight: 300;
    text-decoration: none;
}

.section-hero__scroll svg {
    animation: sectionHeroBob 1.8s ease-in-out infinite;
}

@keyframes sectionHeroBob {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .section-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-hero__btn {
        justify-content: space-between;
    }
}
