/* ==========================================================================
   Главный экран (Hero Section)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    max-height: 818px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #dfdbd6;
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%;
    background-image: url("../../images/hero-bg-20261021-v3.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-color: #dfdbd6;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero__container {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 900px;
    text-align: left;
}

.hero__badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: #ffffff;
    font-family: 'NOTO SERIF';
    font-weight: 400;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    padding: 10px;
    margin-bottom: 17px;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 124px;
    line-height: 116.41px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: left;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hero__title-line {
    display: block;
}

.hero__title-line--second {
    position: relative;
    z-index: 2;
}

.hero__accent-letter {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    color: #ffffff;
    z-index: 1;
}

.hero__accent-letter::before {
    content: "";
    position: absolute;
    top: -46px;
    bottom: -46px;
    left: 0;
    right: 0;
    background-color: var(--color-accent);
    z-index: -1;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    background-color: #ffffff;
    color: #111111;
    padding: 22px 26px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-top: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: background-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

.hero__btn:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(190, 148, 86, 0.35);
}

.hero__btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.25s ease;
}

.hero__btn-arrow svg {
    display: block;
    width: 12px;
    height: 7px;
}

.hero__btn:hover .hero__btn-arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   Hero Responsive
   ========================================================================== */

/* Large Desktops / Laptops (<= 1200px) */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 96px;
        line-height: 94px;
    }
}

/* Tablet & Smaller Desktops (<= 1024px) */
@media (max-width: 1024px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        height: 100vh;
        height: 100dvh;
        max-height: 818px;
    }

    .hero__title {
        font-size: 76px;
        line-height: 74px;
    }

    .hero__accent-letter {
        width: 62px;
    }

    .hero__accent-letter::before {
        top: -24px;
        bottom: -24px;
    }

    .hero__badge {
        font-size: 12px;
        margin-bottom: 20px;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    .hero {
        position: relative;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: none;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-top: 100px;
        padding-bottom: 30px;
        background-position: center top;
        background-size: cover;
    }

    .hero__bg {
        height: 100%;
        background-image: url("../../images/hero-bg-mobile-20261024.webp");
        background-position: center top;
        background-size: cover;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__badge {
        font-family: var(--font-heading, 'Oswald', sans-serif);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        background-color: var(--color-accent, #2E463A);
        color: #ffffff;
        padding: 9px 12px;
        margin-bottom: 20px;
        border-radius: 0;
        display: inline-block;
    }

    .hero__title {
        font-family: var(--font-heading, 'Oswald', sans-serif);
        font-size: 52px !important;
        line-height: 1 !important;
        font-weight: 700;
        letter-spacing: -0.01em;
        text-transform: uppercase;
        color: #ffffff;
        margin: 0;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    }

    .hero__title-line {
        display: block;
    }

    .hero__accent-letter {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-accent, #2E463A);
        color: #ffffff;
        width: auto;
        padding: 0 10px;
        margin-left: 6px;
        vertical-align: baseline;
    }

    .hero__accent-letter::before {
        display: none;
    }

    .hero__btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        height: 58px;
        background-color: #ffffff;
        color: #111111;
        font-family: var(--font-heading, 'Oswald', sans-serif);
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 0 20px;
        border-radius: 0;
        margin-top: 24px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
    .hero__title {
        font-size: 52px !important;
        line-height: 1 !important;
    }

    .hero__badge {
        font-size: 11px !important;
        padding: 9px 12px !important;
    }

    .hero__btn {
        height: 54px;
        font-size: 12px;
    }
}
