:root {
    --white: #FFFFFF;
    --white-opacity: rgba(255, 255, 255, 0.9);
    --red-attention-opacity: rgba(255, 59, 48, 0.7);
    --red-attention: #FF3B30;
    --green-00431C: #00431C;
    --white-D9D9D9: #D9D9D9;
    --white-F5F5F7: #F5F5F7;
    --green-008337: #008337; 
    --gray-A9A9A9: #A9A9A9;
    --black-1D1D1F: #1D1D1F;
    --gray-6E6E73: #6E6E73;
    --gray-8E8E93: #8E8E93;
}

html {
    font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    margin: 0;
}

/*Header  */
.header {
    font-family: 'Satoshi', sans-serif;
    width: 100%;
    height: 64px;
    padding: 15px 0;
    border-bottom: solid 1px var(--white-D9D9D9);
}

.header .container {
    margin: 0 auto;
    max-width: 1248px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .logo {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .logo path {
    fill: var(--green-00431C);
    transition: fill 0.4s ease;
}
.header .logo svg:hover path{
    fill: var(--green-008337);
}

.header .nav {
    margin: 0;
}
.header ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 59px;
}
.header ul a {
    text-decoration: none;
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
    color: var(--green-00431C);
    transition: color 0.3s ease;
    text-decoration-line: solid;
}
.header ul a:hover {
    color: var(--green-008337);
}
.header .burger {
    display: none;
}

.header_tablets_phone_menu {
    font-family: 'Satoshi', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--white);
    z-index: 9999;
    height: 0px;
    display: flex;
    flex-direction: column;
    padding: 21px 38px;
    opacity: 0;
    pointer-events: none;

    overflow: hidden;

    transition: height 0.3s ease, opacity 0.3s ease;
}
.header_tablets_phone_menu .close_menu {
    margin: 0 3.25px 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_tablets_phone_menu .close_menu_wrapper svg rect {
    transition: fill 0.3s ease;
}
.header_tablets_phone_menu .close_menu_wrapper svg rect:hover {
    fill: var(--green-008337);
}
.header_tablets_phone_menu ul {
    margin: 30px auto 0 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}
.header_tablets_phone_menu ul li a {
    text-decoration: none;
    font-size: 28px;
    line-height: 42px;
    font-weight: 500;
    color: var(--green-00431C);

    transition: color 0.3s ease;
}
.header_tablets_phone_menu ul li a:hover {
    color: var(--green-008337);
}

@media (min-width: 983px) and (max-width: 1296px) {
    .header .container {
        max-width: 956px;
    }
    .header ul {
        gap: 43px;
    }
    .header ul a {
        font-size: 17px;
    }
}
@media (max-width: 982px) {
    .header {
        height: auto;
        padding: 15px 38px;
    }
    .header .container {
        width: 100%;
    }
    .header .nav {
        display:  none;
    }
    .header .burger {
        display: block;
    }
}

@media (max-width: 426px) {
    .header {
        height: auto;
        padding: 12px 20px;
    }
    .header .logo {
        width: 135px;
        height: 26px;
    }

    .header_tablets_phone_menu {
        padding: 14.75px 20px;
    }
    .header_tablets_phone_menu ul {
        margin-top: 27.75px;
        gap: 14px;
    }
    .header_tablets_phone_menu ul li a {
        font-size: 22px;
        line-height: 32px;
    }
}



/* Footer */
.footer {
    margin-top: 102px;
    padding: 34px 0;
    font-family: 'Satoshi', sans-serif;
    width: 100%;
    background-color: var(--green-00431C);
}
.footer .container {
    margin: 0 auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.footer nav {
    max-width: 1248px;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer .logo path {
    fill: var(--white-F5F5F7);
    transition: fill 0.3s ease;
}
.footer .logo svg:hover path {
    fill: var(--white);
}
.footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}
.footer ul a {
    text-decoration: none;
    font-size: 18px;
    line-height: 27px;
    font-weight: 400;
    color: var(--white-F5F5F7);
    transition: color 0.3s ease;
}
.footer ul a:hover {
    color: var(--white);
}
.opacity_a {
    opacity: 0;
}

@media (min-width: 983px) and (max-width: 1296px) {
    .footer {
        margin-top: 76px;
        padding: 28px 0;
    }
    .footer nav {
        max-width: 956px;
    }
    .footer ul a {
        font-size: 17px;
    }
}
@media (max-width: 982px) {
    .footer {
        margin-top: 102px;
        padding: 48px 38px;
    }
    .footer .container {
        justify-content: center;
        align-items: flex-start;
    }
    .footer nav {
        justify-content: center;
        column-gap: 107px;
        row-gap: 38px;
        flex-wrap: wrap;
    }
    .footer .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer ul {
        align-items: center;
        gap: 16px;
    }
    .footer ul a {
        padding: 8px 0;
        font-size: 19px;
        line-height: 1.26;
    }
}

@media (max-width: 426px) {
    .footer {
        margin-top: 102px;
        padding: 43px 20px;
    }
    .footer nav {
        flex-direction: column;
        align-items: center;
        column-gap: 34px;
        row-gap: 34px;
    }
    .footer .logo {
        max-width: 175px;
        width: 100%;
    }
    .footer ul {
        gap: 16px;
    }
    .footer ul a {
        font-size: 17px;
        line-height: 1.3;
    }
}


.modal_wrapper {
    font-family: 'Satoshi', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white-opacity);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal_block {
    padding: 54px 64px;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background-color: var(--white);
    border: solid 1px var(--gray-A9A9A9);
}
.modal_block h2 {
    margin: 0;
    color: var(--black-1D1D1F);
    font-size: 40px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 0.8px;
}
.modal_block p {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--gray-6E6E73);
}
.modal_block .modal_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.modal_block a {
    text-decoration: none;
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    color: var(--white);
    background-color: var(--red-attention-opacity);
    padding: 10px 30px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}
.modal_block a:hover {
    background-color: var(--red-attention);
}
.modal_block button {
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    color: var(--gray-8E8E93);  
    border: solid 1px var(--gray-8E8E93); 
    background-color: transparent;
    padding: 10px 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 10px;
}
.modal_block button:hover {
    background-color: var(--gray-8E8E93);
    color: var(--white);
}

