/*
 * 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;
  }
}

.section-hero__title {
    max-width: 640px;
    margin: 0 0 20px;
    font-weight: bold;
    font-size: clamp(2.4rem * var(--type-scale, 1), 4.5vw * var(--type-scale, 1), 3.6rem * var(--type-scale, 1));
    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: calc(18px * var(--type-scale, 1));
    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;
    }
}

/* ── "Homepage style" hero (.section-hero--campaign) ──
   Opt-in per pillar hero ("Hero style" field). Mirrors the homepage hero:
   italic lime eyebrow, light title with bold <strong> words, a very large
   lime highlight, and on phones a 4:5 hero with the copy over a navy fade. */
.section-hero--campaign {
    background: #151128;
}

.section-hero--campaign .section-hero__media-overlay {
    background:
        linear-gradient(90deg, rgba(21, 17, 40, 0.7) 0%, rgba(21, 17, 40, 0.35) 40%, rgba(21, 17, 40, 0) 70%),
        linear-gradient(180deg, rgba(21, 17, 40, 0) 55%, rgba(21, 17, 40, 0.6) 100%);
}

[dir="rtl"] .section-hero--campaign .section-hero__media-overlay {
    background:
        linear-gradient(270deg, rgba(21, 17, 40, 0.7) 0%, rgba(21, 17, 40, 0.35) 40%, rgba(21, 17, 40, 0) 70%),
        linear-gradient(180deg, rgba(21, 17, 40, 0) 55%, rgba(21, 17, 40, 0.6) 100%);
}

.section-hero--campaign .section-hero__eyebrow {
    max-width: 650px;
    margin: 0 0 clamp(14px, 1.6vw, 24px);
    font-size: clamp(20px * var(--type-scale, 1), 2.1vw * var(--type-scale, 1), 34px * var(--type-scale, 1));
    font-weight: 300;
    font-style: italic;
    line-height: 1.15;
    color: var(--color-lime, #C3D534);
}

[lang="ar"] .section-hero--campaign .section-hero__eyebrow {
    font-style: normal;
}

.section-hero--campaign .section-hero__title {
    max-width: none;
    margin: 0 0 clamp(20px, 2.2vw, 32px);
    font-size: clamp(32px * var(--type-scale, 1), 3.6vw * var(--type-scale, 1), 60px * var(--type-scale, 1));
    font-weight: 300;
    line-height: 1;
}

.section-hero--campaign .section-hero__title strong,
.section-hero--campaign .section-hero__title b {
    font-weight: 700;
}

.section-hero--campaign .section-hero__title span {
    display: block;
    margin-top: 0.12em;
    font-size: clamp(64px * var(--type-scale, 1), 9.5vw * var(--type-scale, 1), 160px * var(--type-scale, 1));
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.025em;
}

.section-hero--campaign .section-hero__title br {
    display: none;
}

.section-hero--campaign .section-hero__desc {
    max-width: 460px;
    font-size: clamp(18px * var(--type-scale, 1), 1.35vw * var(--type-scale, 1), 24px * var(--type-scale, 1));
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

/* Phones: the hero takes the 4:5 shape of the mobile artwork and grows if the
   copy needs more room; the copy sits in normal flow over a navy fade. */
@media (max-width: 768px) {
    .section-hero.section-hero--campaign {
        height: auto;
        /* 4:5 of the screen width; unlike aspect-ratio this still grows with
           the copy, because the hero clips its overflow. */
        min-height: 125vw;
        align-items: flex-end;
    }

    .section-hero--campaign .section-hero__bg {
        object-position: var(--section-hero-focus-m, center) center;
    }

    .section-hero--campaign .section-hero__media-overlay,
    [dir="rtl"] .section-hero--campaign .section-hero__media-overlay {
        background: linear-gradient(180deg, rgba(21, 17, 40, 0) 30%, rgba(21, 17, 40, 0.75) 62%, #151128 100%);
    }

    .section-hero--campaign .section-hero__content {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        padding-top: max(150px, 45vw); /* keeps the artwork visible above the copy */
        padding-bottom: 72px; /* clears the next section's rounded overlap */
    }

    .section-hero--campaign .section-hero__eyebrow {
        font-size: calc(18px * var(--type-scale, 1));
    }

    .section-hero--campaign .section-hero__title {
        font-size: clamp(30px * var(--type-scale, 1), 9vw * var(--type-scale, 1), 40px * var(--type-scale, 1));
    }

    .section-hero--campaign .section-hero__title span {
        font-size: clamp(64px * var(--type-scale, 1), 19vw * var(--type-scale, 1), 96px * var(--type-scale, 1));
    }

    .section-hero--campaign .section-hero__desc {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .section-hero--campaign .section-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-hero--campaign .section-hero__actions .zt__btn {
        justify-content: space-between;
    }
}
