.footer {
    width: 100%;
    background: #48924E
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 20px 40px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 200px;
    flex: 1
}

.footer-logo {
    margin-bottom: 4px
}

.footer-logo img {
    height: 66px;
    width: auto;
    object-fit: contain
}

.footer-address {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #FFFFFF
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #EA8F13;
    box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset, 0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
    text-decoration: none;
    transition: background 0.25s
}

.footer-social-link:hover {
    background: #FFA326
}

.footer-social-link img {
    width: 22px;
    height: 22px
}

.footer-social-link--rutube img {
    width: 36px;
    height: 36px
}

.footer-center {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 180px;
    flex: 1
}

.footer-phone {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.25s
}

.footer-phone:hover {
    color: #A9F4AF
}

.footer-callback-link {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    transition: color 0.25s
}

.footer-callback-link:hover {
    color: #FFFFFF99
}

.footer-nav-main {
    display: flex;
    flex-direction: column;
    margin-top: 10px
}

.footer-nav-main a {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s
}

.footer-nav-main a:hover {
    color: #FFFFFF99
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 180px;
    flex: 1
}

.footer-email {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.25s;
    word-break: break-all
}

.footer-email:hover {
    color: #A9F4AF
}

.footer-write-link {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: underline;
    transition: color 0.25s
}

.footer-write-link:hover {
    color: #FFFFFF99
}

.footer-nav-projects {
    display: flex;
    flex-direction: column;
    margin-top: 10px
}

.footer-nav-projects a {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.25s
}

.footer-nav-projects a:hover {
    color: #FFFFFF99
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 44px
}

.footer-copyright {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap
}

.footer-privacy {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.25s
}

.footer-privacy:hover {
    color: #FFFFFF99
}

.footer-disclaimer {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap
}

.footer-dev {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-left: auto;
    white-space: nowrap;
    transition: opacity 0.25s
}

.footer-dev:hover {
    opacity: 0.6
}

.footer-dev-text {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    color: #FFFFFF
}

.footer-dev-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 22px;
    border-radius: 7px;
    background: #F7C43A;
    padding: 3.5px
}

.footer-dev-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12.42px;
    line-height: 100%;
    color: #1F1F1F;
    text-align: center
}

.footer-mobile-logo {
    display: none
}

@media (max-width: 1200px) and (min-width: 769px) {
    .footer-inner {
        padding: 40px 20px 30px
    }

    .footer-top {
        gap: clamp(24px, 4vw, 60px)
    }

    .footer-phone, .footer-email {
        font-size: clamp(18px, 2.2vw, 24px)
    }

    .footer-address {
        font-size: clamp(12px, 1.3vw, 14px)
    }

    .footer-nav-main a, .footer-nav-projects a {
        font-size: clamp(12px, 1.3vw, 14px);
        line-height: clamp(24px, 2.6vw, 30px)
    }

    .footer-callback-link, .footer-write-link {
        font-size: clamp(12px, 1.3vw, 14px)
    }

    .footer-logo img {
        height: clamp(60px, 5vw, 80px)
    }

    .footer-social-link {
        width: clamp(34px, 3.5vw, 40px);
        height: clamp(34px, 3.5vw, 40px)
    }

    .footer-social-link img {
        width: clamp(18px, 2vw, 22px);
        height: clamp(18px, 2vw, 22px)
    }

    .footer-social-link--rutube img {
        width: clamp(30px, 3.2vw, 36px);
        height: clamp(30px, 3.2vw, 36px)
    }

    .footer-left {
        gap: clamp(16px, 2.2vw, 28px);
        min-width: clamp(150px, 18vw, 200px)
    }

    .footer-center, .footer-right {
        gap: clamp(10px, 1.4vw, 14px);
        min-width: clamp(140px, 16vw, 180px)
    }

    .footer-bottom {
        gap: clamp(16px, 2.5vw, 40px);
        margin-top: clamp(28px, 3.5vw, 44px)
    }

    .footer-copyright, .footer-privacy, .footer-disclaimer, .footer-dev-text {
        font-size: clamp(11px, 1.15vw, 13px)
    }
}

@media (max-width: 830px) and (min-width: 769px) {
    .footer-bottom {
        gap: 12px
    }

    .footer-copyright, .footer-privacy, .footer-disclaimer, .footer-dev-text {
        font-size: 10px
    }

    .footer-dev-badge {
        width: 30px;
        height: 18px
    }

    .footer-dev-badge span {
        font-size: 10px
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 32px 20px 28px
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0
    }

    .footer-mobile-logo {
        display: block !important;
        margin-bottom: 28px
    }

    .footer-mobile-logo img {
        height: 70px;
        width: auto;
        object-fit: contain
    }

    .footer-left .footer-logo {
        display: none
    }

    .footer-center {
        order: 1;
        min-width: unset;
        width: 100%;
        gap: 10px;
        margin-bottom: 28px
    }

    .footer-right {
        order: 2;
        min-width: unset;
        width: 100%;
        gap: 10px;
        margin-bottom: 28px
    }

    .footer-left {
        order: 3;
        min-width: unset;
        width: 100%;
        gap: 20px
    }

    .footer-phone, .footer-email {
        font-size: 22px
    }

    .footer-address {
        font-size: 14px
    }

    .footer-nav-main a, .footer-nav-projects a {
        font-size: 14px;
        line-height: 28px
    }

    .footer-callback-link, .footer-write-link {
        font-size: 14px
    }

    .footer-nav-main {
        margin-top: 6px
    }

    .footer-nav-projects {
        margin-top: 6px
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 28px
    }

    .footer-dev {
        margin-left: 0
    }

    .footer-copyright, .footer-privacy, .footer-disclaimer, .footer-dev-text {
        font-size: 12px;
        white-space: normal
    }

    .footer-disclaimer {
        white-space: normal
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 28px 16px 24px
    }

    .footer-mobile-logo {
        margin-bottom: 24px
    }

    .footer-mobile-logo img {
        height: 65px
    }

    .footer-center {
        margin-bottom: 24px
    }

    .footer-right {
        margin-bottom: 24px
    }

    .footer-left {
        gap: 18px
    }

    .footer-phone, .footer-email {
        font-size: 20px
    }

    .footer-address {
        font-size: 13px;
        line-height: 145%
    }

    .footer-nav-main a, .footer-nav-projects a {
        font-size: 13px;
        line-height: 26px
    }

    .footer-callback-link, .footer-write-link {
        font-size: 13px
    }

    .footer-social-link {
        width: 36px;
        height: 36px
    }

    .footer-social-link img {
        width: 20px;
        height: 20px
    }

    .footer-social-link--rutube img {
        width: 32px;
        height: 32px
    }

    .footer-bottom {
        gap: 10px;
        margin-top: 24px
    }

    .footer-copyright, .footer-privacy, .footer-disclaimer, .footer-dev-text {
        font-size: 11px
    }

    .footer-dev-badge {
        width: 32px;
        height: 20px
    }

    .footer-dev-badge span {
        font-size: 11px
    }
}

html {
    opacity: 1 !important
}

.footer-menu {
    display: none
}

@media (max-width: 1000px) {
    .footer-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 430px;
        border-radius: 20px 20px 0 0;
        background: #FFF;
        box-shadow: 0 0 12.1px 0 rgba(0, 0, 0, 0.25);
        z-index: 50;
        height: 45px;
        padding: 10px;
        align-items: center;
        justify-content: space-between;
        gap: 75px
    }

    .footer-menu .container {
        flex: 1 0 0;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .footer-menu .item {
        display: flex;
        gap: 4px;
        align-items: center;
        color: #000;
        text-align: center;
        font-size: 19px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        text-decoration: none
    }

    .footer-menu .item:hover {
        color: #4B893F;
        font-weight: 500
    }

    .footer-menu > a {
        width: 62px;
        height: 62px;
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: #FFF;
        bottom: 1px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .footer-menu > a:hover img {
        opacity: 0.9
    }
}

.footer-ask-modal {
    display: none
}

@media (max-width: 1000px) {
    .footer-ask-modal {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
        pointer-events: none;
        width: 100%;
        max-width: 430px;
        background: #FFF;
        box-shadow: 0 -1px 17.1px 0 rgba(0, 0, 0, 0.14);
        z-index: 40;
        padding: 17px 20px 71px;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1)
    }

    .footer-ask-modal.active {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto
    }

    .footer-ask-modal > p {
        width: 314px;
        color: #000;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 110%
    }

    .footer-ask-modal > button {
        position: absolute;
        top: 12px;
        right: 12px
    }

    .footer-ask-modal > button:hover {
        opacity: 0.8
    }

    .footer-ask-modal .list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        align-self: stretch
    }

    .footer-ask-modal .list a {
        display: flex;
        height: 46px;
        padding: 14px 10px;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        border-radius: 7px;
        border: 1px solid #DBDBDB;
        color: #000;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 110%;
        text-decoration: none
    }

    .footer-ask-modal .list a:hover {
        border: 1px solid #48924E;
        background: rgba(72, 146, 78, 0.10)
    }
}
