:root {
    --unified-yellow: #f2cf4a;
    --unified-orange: #f35a35;
    --unified-dark: #292929;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .float-right {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: var(--unified-yellow);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    font-family: Inter, Arial, sans-serif;
}

.site-header .header-container {
    width: calc(100% - 48px);
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 auto;
    padding: 0;
}

.site-header .unified-logo {
    flex: 0 0 auto;
    display: block;
    line-height: 1;
}

.site-header .unified-logo img {
    display: block;
    width: 214px;
    height: auto;
}

.site-header .desktop-nav {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.site-header .nav-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active {
    background: rgba(17, 17, 17, .1);
    color: #111;
}

.site-header .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.site-header .nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 10100;
    width: 300px;
    padding: 26px 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .18s ease, transform .18s ease;
}

.site-header .nav-dropdown__menu::before {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #fff;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.site-header .nav-dropdown__menu a {
    position: relative;
    display: block;
    color: #111;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.site-header .nav-dropdown__menu a + a {
    margin-top: 18px;
}

.site-header .nav-dropdown__menu a:hover,
.site-header .nav-dropdown__menu a.is-active {
    color: var(--unified-orange);
}

.site-header .nav-dropdown:hover .nav-dropdown__menu,
.site-header .nav-dropdown:focus-within .nav-dropdown__menu,
.site-header .nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-header .callback-btn {
    min-width: 220px;
    min-height: 58px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid #111;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
}

.site-header .callback-btn:hover,
.site-header .callback-btn.is-active {
    background: transparent;
    color: #111;
}

.site-header .burger,
.site-header .mobile-nav {
    display: none;
}

.site-footer {
    width: 100%;
    margin-top: 0;
    padding: 64px 0 50px;
    background: var(--unified-dark);
    color: #fff;
    font-family: Inter, Arial, sans-serif;
}

.site-footer .footer-grid {
    width: min(100% - 88px, 1720px);
    max-width: 1720px;
    display: grid;
    grid-template-columns: 1.4fr .9fr 1fr 1.1fr;
    gap: 52px;
    align-items: start;
    margin: 0 auto;
    padding: 0;
}

.site-footer .footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.site-footer .footer-column a,
.site-footer .footer-contacts h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.site-footer .footer-column a:hover {
    color: var(--unified-yellow);
}

.site-footer .footer-contacts {
    gap: 18px;
}

.site-footer .footer-contacts h2 {
    font-size: 24px;
}

.site-footer .footer-contacts > a {
    font-size: 22px;
}

.site-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.site-footer .footer-socials a {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f1f1f;
    transition: transform .2s ease, background .2s ease;
}

.site-footer .footer-socials a:hover {
    background: #111;
    transform: translateY(-2px);
}

.site-footer .footer-socials img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.site-footer .footer-copy {
    grid-column: 1 / -1;
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

.float-right {
    position: fixed;
    right: 24px;
    bottom: 34px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.float-btn {
    position: relative;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.float-btn img {
    position: relative;
    z-index: 2;
    display: block;
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.float-btn--wa {
    background: #20c866;
}

.float-btn--phone {
    background: #f8c83d;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.float-btn::after {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(248, 200, 61, .45);
    border-radius: 50%;
    content: "";
    animation: unifiedRingPulse 2.2s ease-out infinite;
}

.float-btn--wa::after {
    border-color: rgba(32, 200, 102, .45);
}

@keyframes unifiedRingPulse {
    0% { opacity: .8; transform: scale(.82); }
    70%, 100% { opacity: 0; transform: scale(1.32); }
}

@media (max-width: 1500px) {
    .site-header .header-container {
        width: calc(100% - 36px);
        gap: 8px;
    }

    .site-header .unified-logo img {
        width: 180px;
    }

    .site-header .nav-link {
        padding: 0 7px;
        font-size: 12px;
    }

    .site-header .callback-btn {
        min-width: 184px;
        font-size: 12px;
    }

    .site-footer .footer-grid {
        gap: 34px;
    }

    .site-footer .footer-column a {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .site-header .header-container {
        width: min(100% - 30px, 1720px);
        min-height: 82px;
        justify-content: space-between;
    }

    .site-header .unified-logo img {
        width: 170px;
    }

    .site-header .desktop-nav,
    .site-header .header-container > .callback-btn {
        display: none;
    }

    .site-header .burger {
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .site-header .burger span {
        width: 26px;
        height: 3px;
        display: block;
        background: #111;
    }

    .site-header .mobile-nav.is-open {
        position: fixed;
        inset: 82px 0 0;
        z-index: 10100;
        display: flex;
        flex-direction: column;
        padding: 24px;
        background: var(--unified-yellow);
        overflow-y: auto;
    }

    .site-header .mobile-nav a {
        padding: 13px 0;
        border-bottom: 1px solid rgba(17, 17, 17, .2);
        color: #111;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.2;
        text-transform: uppercase;
        text-decoration: none;
    }

    .site-header .mobile-nav a.is-active {
        color: #d94524;
    }

    .site-header .mobile-nav__label {
        display: block;
        padding: 19px 0 5px;
        color: #111;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
        opacity: .62;
    }

    .site-header .mobile-callback {
        margin-top: 22px;
        border: 0;
        border-radius: 999px;
        background: #111;
        color: #fff;
        text-align: center;
    }

    .site-footer .footer-grid {
        width: min(100% - 40px, 1720px);
        grid-template-columns: 1fr 1fr;
    }

    .site-footer .footer-contacts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding: 48px 0 36px;
    }

    .site-footer .footer-grid {
        width: min(100% - 28px, 1720px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer .footer-contacts {
        grid-column: auto;
    }

    .site-footer .footer-column a {
        font-size: 15px;
    }

    .site-footer .footer-contacts > a {
        font-size: 20px;
    }

    .site-footer .footer-copy {
        font-size: 14px;
    }

    .float-right {
        right: 10px;
        bottom: 24px;
        gap: 14px;
    }

    .float-btn {
        width: 58px;
        height: 58px;
    }

    .float-btn img {
        width: 32px;
        height: 32px;
    }
}
