/* =========================================================
   ГЛАВНАЯ СТРАНИЦА — на весь экран (на компьютере без прокрутки)
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(4, 9, 12, 0.94) 0%,
            rgba(4, 9, 12, 0.76) 38%,
            rgba(4, 9, 12, 0.25) 75%,
            rgba(4, 9, 12, 0.5) 100%),
        url("../images/homepage-bg.webp") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(to top, var(--bg-2), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: calc(100% - 80px);
    max-width: 1500px;
    margin: -30px auto 0;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #f2f2f2;
    font-size: 15px;
}

.location-icon {
    color: #dca94d;
    font-size: 13px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(46px, 4.6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: #e6b85d;
}

.hero-description {
    color: #dedede;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 28px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 290px;
    padding: 18px 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f3ce7d, #c9963f);
    color: #17120b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(212, 158, 60, 0.25);
    transition: 0.25s;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(212, 158, 60, 0.35);
}

.hero-button .arrow {
    font-size: 23px;
    margin-left: 20px;
}


/* Преимущества */

.hero-benefits {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 55px;
    width: 100%;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 200px;
    flex-shrink: 0;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #8f6b31;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5b75b;
    font-size: 18px;
    background: rgba(10, 14, 16, 0.55);
}

.benefit strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
}

.benefit span {
    display: block;
    margin-top: 4px;
    color: var(--dim);
    font-size: 11px;
    line-height: 1.3;
}


/* Кнопка «наши работы» в стиле видео */

.hero-video {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    min-width: 250px;
    height: 72px;
    padding: 8px 22px 8px 8px;
    border-radius: 45px;
    text-decoration: none;
    background: linear-gradient(to right, rgba(5, 9, 11, 0.92) 0%, rgba(5, 9, 11, 0.8) 60%, rgba(5, 9, 11, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    transition: 0.3s ease;
}

.hero-video:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 169, 77, 0.55);
}

.hero-video-play {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #dca94d;
    background: rgba(0, 0, 0, 0.45);
    color: #f0bd55;
    font-size: 20px;
    padding-left: 3px;
}

.hero-video-text {
    display: flex;
    flex-direction: column;
}

.hero-video-text strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.hero-video-text span {
    margin-top: 4px;
    color: #9ca4a7;
    font-size: 11px;
}


/* Цифры внизу */

.stats-section {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 10;
    width: calc(100% - 80px);
    max-width: 1500px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0 22px;
}

.stat {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;
    color: #e7bb61;
    font-size: 30px;
    margin-bottom: 7px;
}

.stat span {
    color: #9da5a8;
    font-size: 13px;
}


/* =========================================================
   АДАПТИВ
========================================================= */

@media (max-width: 1300px) {
    .hero-benefits {
        flex-wrap: wrap;
        gap: 20px 28px;
    }

    .hero-video {
        margin-left: 0;
    }
}

@media (max-width: 1100px) {
    .hero-content,
    .stats-section {
        width: calc(100% - 40px);
    }
}

@media (max-width: 760px), (max-height: 720px) {

    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-end;
        padding-top: 110px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .stats-section {
        position: relative;
        left: auto;
        transform: none;
        margin: 40px auto 0;
    }
}

@media (max-width: 700px) {

    .hero {
        padding-top: 100px;
        background-position: 65% center;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-description br {
        display: none;
    }

    .hero-button {
        width: 100%;
        min-width: 0;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-top: 36px;
    }

    .benefit {
        max-width: none;
    }

    .hero-video {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
        padding: 18px 0 26px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat strong {
        font-size: 24px;
    }

    .stat span {
        font-size: 11px;
    }
}
