/* ===========================
   HERO SECTION
=========================== */

.hero {
    position: relative;
    min-height: 100svh;
    padding: 132px 0 54px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade,
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .9) 0%, rgba(8, 8, 8, .64) 38%, rgba(8, 8, 8, .18) 78%),
        linear-gradient(0deg, rgba(8, 8, 8, .5), transparent 44%);
}

.hero::before {
    background-image: radial-gradient(circle at 24% 34%, rgba(185, 150, 91, .28), transparent 32%);
    mix-blend-mode: screen;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(240px, 330px);
    justify-content: space-between;
    align-items: end;
    gap: 56px;
}

.hero-content {
    color: var(--white);
}

.hero-content span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #ffe8b7;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
    font-weight: 800;
    font-size: .86rem;
}

.hero-content h1 {
    margin-top: 24px;
    font-family: var(--title-font);
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: .96;
    max-width: 760px;
    letter-spacing: 0;
}

.hero-content p {
    margin: 26px 0 36px;
    max-width: 650px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.85;
}

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

.hero-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(16px);
}

.hero-panel div {
    padding: 16px;
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, .1);
    color: var(--white);
}

.hero-panel strong {
    display: block;
    color: #ffe0a4;
    font-family: var(--title-font);
    font-size: 2rem;
    line-height: 1;
}

.hero-panel span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .74);
    line-height: 1.5;
    font-size: .92rem;
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    animation: bounce 2.3s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

@media (max-width: 940px) {
    .hero {
        min-height: auto;
        padding-top: 156px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 460px;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: auto;
        margin: 0;
        padding: 154px 14px 70px;
        display: block;
        background: #151515;
    }

    .hero > img {
        position: absolute;
        inset: 154px 14px auto;
        width: calc(100% - 28px);
        height: min(66vw, 548px);
        min-height: 390px;
        max-height: 548px;
        border-radius: 12px;
        object-fit: cover;
        box-shadow: 0 18px 44px rgba(0, 0, 0, .36);
    }

    .hero::before {
        display: none;
    }

    .hero-shade {
        inset: 154px 14px auto;
        width: calc(100% - 28px);
        height: min(66vw, 548px);
        min-height: 390px;
        max-height: 548px;
        border-radius: 12px;
        background:
            linear-gradient(180deg, rgba(8, 8, 8, .2), rgba(8, 8, 8, .64)),
            linear-gradient(90deg, rgba(8, 8, 8, .42), rgba(8, 8, 8, .42));
        pointer-events: none;
    }

    .hero-grid {
        height: min(66vw, 548px);
        min-height: 390px;
        max-height: 548px;
        display: grid;
        place-items: center;
        padding: 0 10px;
    }

    .hero-content {
        width: 100%;
        max-width: 320px;
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .hero-content span {
        display: none;
    }

    .hero-content h1 {
        margin-top: 14px;
        max-width: 300px;
        font-size: clamp(1.72rem, 8vw, 2.25rem);
        line-height: 1.02;
    }

    .hero-content p {
        display: none;
    }

    .hero-buttons {
        margin-top: 26px;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons .btn {
        min-height: 52px;
        padding: 0 30px;
        border-radius: 999px;
        background: #8b42ff;
        color: var(--white);
        border-color: transparent;
        box-shadow: 0 16px 30px rgba(139, 66, 255, .34);
        font-size: .86rem;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .hero-buttons .btn-outline {
        display: none;
    }

    .hero-panel {
        display: none;
    }

    .scroll-down {
        display: none;
    }
}
