/* Hero screen */

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(115deg, rgba(170, 0, 65, 0.96) 0%, rgba(125, 0, 48, 0.94) 52%, rgba(27, 31, 38, 0.96) 100%);
    color: var(--color-white);
    padding: 54px 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
        radial-gradient(circle at 82% 22%, rgba(255, 248, 84, 0.12), transparent 18%),
        radial-gradient(circle at 72% 78%, rgba(150, 138, 225, 0.14), transparent 20%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.22;
    pointer-events: none;
}

.hero__decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(12px);
}

.hero__decor--one {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -70px;
    background: rgba(255, 248, 84, 0.12);
}

.hero__decor--two {
    width: 220px;
    height: 220px;
    bottom: 20px;
    left: -80px;
    background: rgba(150, 138, 225, 0.12);
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 420px);
    gap: 54px;
    align-items: stretch;
}

.hero__content {
    max-width: 720px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 7px 15px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
    font-weight: var(--font-bold);
    letter-spacing: 0.02em;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.07;
    font-weight: var(--font-black);
    letter-spacing: -0.025em;
}

.hero__lead {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.58;
    font-weight: var(--font-regular);
}


.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.btn-hero,
.hero__link {
    height: 52px;
    min-width: 220px;
    padding: 0 28px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: var(--font-extra-bold);
    line-height: 1;
    white-space: nowrap;
}

.btn-hero {
    background: var(--color-yellow);
    color: var(--color-dark);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    opacity: 1;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.26);
}

.hero__link {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    opacity: 1;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero__link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stat {
    min-width: 160px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-stat strong {
    display: block;
    margin-bottom: 7px;
    color: var(--color-white);
    font-size: 22px;
    line-height: 1.1;
    font-weight: var(--font-black);
}

.hero-stat span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.4;
}

.hero__media {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100%;
}

.hero__image-wrap {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.3);
}

.hero__image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(27, 31, 38, 0.2), rgba(27, 31, 38, 0.02));
    pointer-events: none;
}

.hero__image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__badge {
    position: absolute;
    z-index: 5;
    min-width: 174px;
    padding: 15px 17px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-dark);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.hero__badge span {
    display: block;
    margin-bottom: 5px;
    color: var(--color-humanitarian);
    font-size: 12px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero__badge strong {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    font-weight: var(--font-extra-bold);
}

.hero__badge--top {
    top: 28px;
    left: -34px;
}

.hero__badge--bottom {
    right: -28px;
    bottom: 34px;
}

@media (max-width: 1100px) {
    .hero {
        min-height: auto;
        padding: 76px 0;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 42px;
        align-items: center;
    }

    .hero__media {
        display: block;
        width: min(520px, 100%);
        min-height: auto;
        margin: 0 auto;
    }

    .hero__image-wrap {
        min-height: auto;
        aspect-ratio: 4 / 4.4;
    }

    .hero__badge--top {
        left: 18px;
    }

    .hero__badge--bottom {
        right: 18px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 62px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero__lead {
        font-size: 17px;
        line-height: 1.55;
    }

    .hero__actions {
        margin-bottom: 28px;
    }

    .hero-stat {
        width: 100%;
    }

    .hero__image-wrap {
        aspect-ratio: 4 / 4.4;
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 52px 0;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero__lead {
        font-size: 16px;
    }

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

    .btn-hero,
.hero__link {
    width: 100%;
    min-width: 0;
}

    .hero__link {
        justify-content: center;
    }

    .hero__badge {
        position: static;
        margin-top: 14px;
    }
}