.wp-block-headless-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    /*min-height: 980px;*/
    min-height: clamp(500px, calc(100vh - 117px), 980px);
    padding: clamp(46px, 5.5vw, 90px) clamp(46px, 4.5vw, 64px);
    border-radius: 34px;
    box-shadow: 0 24px 60px rgba(24, 39, 56, 0.08);
    background-color: #dfe9ef;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.wp-block-headless-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(114, 149, 170, 0.34) 0%, rgba(143, 168, 183, 0.2) 18%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: min(840px, 48%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    /*padding: clamp(28px, 2vw, 34px) clamp(30px, 2.4vw, 40px) clamp(34px, 2.8vw, 42px);*/
}

.hero-copy {
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    /*min-height: 46px;*/
    margin-bottom: 28px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(54, 80, 114, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(3.4rem, 5.5vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: 0 8px 28px rgba(35, 56, 72, 0.12);
}

.hero-subtitle {
    margin: 0 0 38px;
    max-width: 553px;
    color: rgba(255, 255, 255, 0.94);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 32px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border: none;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    background: #fa700d;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(250, 112, 13, 0.24);
}

.hero-button-secondary {
    background: rgba(255, 255, 255, 0.96);
    color: #fa700d;
    box-shadow: 0 16px 32px rgba(34, 48, 62, 0.08);
}

.hero-customer-chip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 10px 18px 10px 22px;
    border-radius: 999px;
    background: rgba(111, 95, 79, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    visibility: hidden;
}

.hero-customer-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-customer-avatars {
    display: flex;
    align-items: center;
}

.hero-customer-avatars img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.75);
    margin-left: -10px;
}

.hero-customer-avatars img:first-child {
    margin-left: 0;
}

.hero-bottom-row {
    position: absolute;
    margin-bottom: 10px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(46px, 4.5vw, 64px);
}

@media (max-width: 1100px) {
    .wp-block-headless-hero {
        min-height: 760px;
    }

    .hero-content {
        max-width: min(760px, 60%);
    }
}

@media (max-width: 760px) {
    .wp-block-headless-hero {
        flex-direction: column;
        justify-content: space-between;
        min-height: 724px;
        padding: 58px 24px;
        border-radius: 32px;
        background-position: center center;
    }

    .wp-block-headless-hero::before {
        background:
            linear-gradient(120deg, rgba(103, 152, 173, 0.72) 26.7%, rgba(103, 152, 173, 0) 45.7%);
    }

    .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero-badge {
        min-height: auto;
        margin-bottom: 0;
        padding: 4px 16px;
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 52px;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .hero-bottom-row {
        position: static;
        padding: 0;
        margin-bottom: 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .hero-button {
        width: 100%;
        min-height: 58px;
        padding: 16px 32px;
        font-size: 1rem;
    }

    .hero-customer-chip {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: clamp(2.4rem, 12vw, 52px);
    }
}
