

/* ===== HEADER (общий блок) ===== */
.header {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #1E1F25;
    color: #FFFFFF;
    padding-bottom: 30px;

    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 80px),
        url(/images/header-banner1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}




.header-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}



/* ===== NAV ===== */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;

}

.logo {
    display: inline-flex;
    align-items: baseline;
    font-size: 30px;
    font-weight: 800;
}

.logo-pro { color: #FFFFFF; }
.color-text--mod { color: #DFBE95; }
.logo-by { color: #FFFFFF; }

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    padding: 0;
    z-index: 2;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav-link {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    color: #FFFFFF;
    transition: color 0.3s;
}

.header-nav-link:hover {
    color: #DFBE95;
}

.header-cantacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icons-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-link--tg,
.icon-link--vb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}



.icon-img {
    width: 28px;
    height: 28px;
}

.tel-number {
    font-size: 20px;
    font-weight: 300;
    color: #FFFFFF;
    white-space: nowrap;
}

/* ===== HERO ===== */

.header-body {
    max-width: 720px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    color: #FFFFFF;
}

.subtitle {
    line-height: 1.2;
    margin-top: 16px;
    font-size: 20px;
    font-weight: 100;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* ===== СТАТИСТИКА (5-7 лет / от 1 дня) ===== */
.header-text {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 40px;
    margin-top: 24px; 
}

.header-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-stat-top {
    display: flex;
    align-items: center;
    gap: 8px;
}


.arow-decor {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #DFBE95;
}

.header-text--namber {
    font-size: 22px;
    font-weight: 600;
    color: #DFBE95;
}

.header-text-desck {
    font-size: 13px;
    line-height: 1.3;
    color: #86878B;
    margin-right: 0; 
}

/* ===== КНОПКА ===== */

.header-button-block {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}

.header-button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px 60px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ffe6cb 0%, #DFBE95 100%);
    color: #1A1A22;
    font-size: 18px;
    font-weight: 200;
    text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
}

.header-button.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(206, 163, 132, 0.35);
}

.header-button-desck {
    margin-top: 12px;
    font-size: 13px;
    color: #86878B;
}

/* ===== OFFER BLOCK ===== */

.header-offer-block {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 0 60px 0 60px;
    margin-top: 64px; 
    flex-wrap: wrap;
}


.header-offer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    /* flex: 1 1 200px; */
}

.header-offer-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.header-offer-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-offer-title {
    color: #DFBE95;
    font-size: 18px;
    font-weight: 700;
}

.header-offer-text {
    color: #86878B;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 4px;
}



/* ===================== АДАПТИВ ===================== */

@media (max-width: 1200px) {
    .logo {
        font-size: 24px;
        font-weight: 500;
    }
    .header-nav-link {
        font-size: 18px;
    }

    .header-nav-list {
        gap: 20px;
    }
}


@media (max-width: 997px) {

    .header-title {
        font-size: 44px;
    }

    .header-nav-list {
        gap: 18px;
    }

    .header-offer-item {
        flex: 1 1 30%;
    }

    .logo {
        font-size: 24px;
        font-weight: 500;
    }

    .header-nav-link {
        font-size: 16px;
    }

    .icon-link--tg,
    .icon-link--vb  {
        width: 28px;
        height: 28px;
        gap: 7px;
    }

    .tel-number{
        font-size: 18px;
    }
}





@media (max-width: 768px) {

    .header {
        background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 80px),
        url(/images/bacground-768px.jpeg);
    }


    .header-text {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.header-stat {
    align-items: center;
}

    .burger {
        display: flex;
    }

  
    .header-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 32px;
    }

  
    .header-text {
        margin-top: auto;
    }

    .header-button-block {
        width: fit-content;
        margin: 32px auto 0;
        margin-bottom: 20%;
    }

    .header-button.button {
        width: 100%;
        text-align: center;
    }

    .header-button-desck {
        text-align: center;
    }

    .header-nav-list,
    .header-cantacts {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background-color: #0F0F16;
        transition: right 0.3s;
    }

    .header-nav-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        width: 100%;
    }

    .header-nav-list.active {
        right: 0;
    }

    .header-title {
        font-size: 34px;
    }

    .subtitle {
        font-size: 17px;
    }

    .header-offer-block {
        display: none;
        /* flex-direction: column;
        gap: 16px;
        margin-top: 40px;
        padding: 0; */
    }

 

    .header-offer-item {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(206, 163, 132, 0.2);
        border-radius: 16px;
        padding: 13px;
        gap: 16px;
        width: 100%;
    }

    .header-offer-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        border-radius: 50%;
        padding: 10px;
    }

    .header-offer-title {
        font-size: 16px;
    }

    .header-offer-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 34px;
    }

    .header-text--namber {
        font-size: 18px;
    }

    .header-button.button {
        padding: 16px 32px;
        font-size: 14px;
        width: 100%;
    }
}