.hero-process-block {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #283d76;
    overflow: hidden;
    padding: 48px 40px;
    min-height: 705px;
}

/* Circular glow — bottom left on desktop */
.hero-process__glow {
    position: absolute;
    bottom: -550px;
    left: -250px;
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgb(173 193 252 / 80%) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

/* Background lines — top right desktop only */
.hero-process__bg-lines {
    position: absolute;
    top: -40px;
    right: -50px;
    width: 692px;
    height: 694px;
    background-image: url('/app/themes/equimedia/resources/assets/images/background-lines.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    pointer-events: none;
    z-index: 0;
}

.hero-process__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1420px;
    width: 100%;
    padding: 0 60px;
    margin: 0 auto;
}

/* ── Left column ────────────────────────────────────────────────────────── */
.hero-process__left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    max-width: 540px;
}

.hero-process__logo {
    opacity: 0;
    transform: translateY(-12px);
    animation: hero-fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    -webkit-animation-fill-mode: forwards;
}

.hero-process__logo img {
    height: auto;
    max-width: 120px;
}

.hero-process__heading-video {
    max-width: 545px;
    width: 100%;
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    -webkit-animation-fill-mode: forwards;
}

.hero-process__heading-video video {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #253c76;
    clip-path: inset(1px 1px);
    outline: none;
    transform: translateX(-2.3%);
}

.hero-process__headline {
    font-family: titillium-web, sans-serif;
    font-weight: 300;
    font-size: 70px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    transform: scale(0.97);
    animation: hero-scale-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    -webkit-animation-fill-mode: forwards;
    white-space: nowrap;
    text-align: left;
    min-width: 420px;
    transition: min-width 0.8s ease-in;
    margin-left: -5px;
}

.hero-process__headline.finished {
    min-width: fit-content;
}

.hero-process__pro {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.hero-process__suffix-wrap {
    display: inline-block;
    vertical-align: bottom;
}

.hero-process__suffix:not(.is-pro) {
    display: inline-block;
    font-weight: 300;
    color: #E8E9F5;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(220, 225, 255, 0.45) 15%, rgba(255, 255, 255, 0.55) 30%, rgba(210, 218, 255, 0.9) 45%, rgba(255, 255, 255, 0.52) 60%, rgba(218, 223, 255, 0.38) 75%, rgba(255, 255, 255, 0.75) 90%, rgba(212, 220, 255, 0.9) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-process__suffix.is-pro {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.hero-process__period {
    color: rgba(255, 255, 255, 0.22);
    font-weight: 300;
}

.hero-process__subheading {
    font-family: titillium-web, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    -webkit-animation-fill-mode: forwards;
    line-height: 1.3;
}

.hero-process__body {
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
    -webkit-animation-fill-mode: forwards;
}

.hero-process__body p {
    font-family: titillium-web, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.80);
    margin: 0;
    font-weight: 300;
}

.hero-process__body p strong {
    color: #ffffff;
    font-weight: 600;
}

.hero-process__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
    -webkit-animation-fill-mode: forwards;
}

.hero-process__cta {
    display: inline-block;
    font-family: titillium-web, sans-serif;
    font-size: 15px;
    color: #1B3674;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    background: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #ffffff;
    width: fit-content;
}

.hero-process__cta--secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-process__cta:hover,
.hero-process__cta:focus-visible {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: none;
}

.hero-process__cta--secondary:hover,
.hero-process__cta--secondary:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    color: #FFF;
}

/* Desktop icons — below video */
.hero-process__icons {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: space-between;
    width: 500px;
    margin: 0 auto 0;
}

.hero-process__right {
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    animation: hero-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    -webkit-animation-fill-mode: forwards;
    padding-top: 92px;
    position: relative;
    max-width: 575px;
}

.hero-process__right .hero-video-trigger {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #7f9cde;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 30, 0.4);
    text-decoration: none;
    cursor: pointer;
}

.hero-process__video-thumb {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.4;
}

.hero-process__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 80px;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.hero-process__video-play img {
    width: 100%;
    height: 100%;
}

.hero-process__video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 30, 0.7) 0%, transparent 100%);
    font-family: titillium-web, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    display: none;
}

.hero-process__video-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 30, 0.4);
    z-index: 2;
}

/* ── Right column ───────────────────────────────────────────────────────── */
.hero-process__icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100px;
    margin-left: -7px;
}

.hero-process__icon-text {
    font-family: titillium-web, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.70);
    text-align: center;
    line-height: 1.2;
}

.hero-process__icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-process__icon-link:hover,
.hero-process__icon-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(150, 170, 255, 0.6);
}

.hero-process__icon-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes hero-fade-down {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scale-in {
    to { opacity: 1; transform: scale(1); }
}

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

    .hero-process-block {
        padding: 32px 20px 40px;
        min-height: auto;
    }

    /* Glow — middle right on mobile */
    .hero-process__glow {
        bottom: auto;
        left: auto;
        top: 20%;
        right: -400px;
        width: 500px;
        height: 500px;
    }

    .hero-process__bg-lines {
        display: none;
    }

    .hero-process__container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
    }

    .hero-process__heading-video {
        max-width: 325px;
    }

    .hero-process__headline {
        font-size: 40px;
        white-space: normal;
        word-break: break-word;
        min-width: 0;
    }

    .hero-process__headline.finished {
        min-width: 0;
    }

    .hero-process__ctas {
        flex-direction: column;
    }

    .hero-process__cta {
        text-align: center;
    }

    .hero-process__right {
        padding-top: 10px;
        gap: 0;
    }

    .hero-process__icons {
        width: 100%;
        margin-top: 35px;
    }

    .hero-process__icon-item {
        width: 75px;
    }

    .hero-process__icon-link {
        width: 48px;
        height: 48px;
    }

    .hero-process__icon-text {
        font-size: 11px;
    }
}

@media (max-width: 1200px) {
    .hero-process__bg-lines {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-process__logo,
    .hero-process__headline,
    .hero-process__heading-video,
    .hero-process__subheading,
    .hero-process__body,
    .hero-process__ctas,
    .hero-process__right,
    .hero-process__icons {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* fix the carousel of logos */
.owl-carousel {
    overflow: hidden;
}

@-moz-document url-prefix() {
    .hero-process__bg-lines {
        right: 93px;
    }
}
