.header {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    padding: 10px 0;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease;
}

.header.isScrolled {
    background: #f7f4ff;
    box-shadow: 0 8px 24px rgba(84, 67, 192, .06);
}

.headerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.headerTopLeft,
.headerTopRight {
    display: flex;
    align-items: center;
}

.headerLogo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 8px;
    border-radius: 10px;
    text-decoration: none;
}

.headerLogo:hover {
    background: #EBE2FD;
}

.headerLogo img {
    width: 45px;
}

.headerLogo b {
    display: block;
    color: #5443C0;
    font-size: 16px;
    text-transform: uppercase;
}

.headerLogo small {
    color: #938BA7;
    font-size: 14px;
}

.headerCity {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.headerCityBtn,
.mobileCityBtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 14px;
    border: 0;
    border-radius: 12px;
    background: #EBE2FD;
    color: #5443C0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.headerCityBtn small,
.mobileCityBtn small {
    display: block;
    color: #938BA7;
    font-size: 11px;
    font-weight: 500;
}

.headerCityBtn b,
.mobileCityBtn b {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.headerArrow {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.headerDrop.isOpen .headerArrow,
.headerDrop:hover .headerArrow,
.mobileDrop.isOpen .headerArrow {
    transform: rotate(180deg);
}

.headerSocials {
    display: flex;
    gap: 8px;
}

.headerSocials a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #F55B5B;
    transition: .4s;
}

.headerSocials img {
    width: 15px;
}

.headerSocials a:hover {
    background: #ee4040;
    transform: translateY(-3px);
}

.headerPhone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 20px;
}

.headerPhone a {
    color: #5443C0;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: .4s;
}

.headerPhone a:hover {
    color: #F55B5B;
}

.headerPhone span {
    color: #938BA7;
    font-size: 14px;
}

.headerCta {
    margin-left: 20px;
}

.headerBurger {
    position: relative;
    display: none;
    width: 42px;
    height: 42px;
    margin-left: 10px;
    border: 0;
    border-radius: 10px;
    background: #EBE2FD;
    cursor: pointer;
}

.headerBurger span {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 2px;
    background: #5443C0;
    transition: .3s ease;
}

.headerBurger span:nth-child(1) { top: 14px; }
.headerBurger span:nth-child(2) { top: 20px; }
.headerBurger span:nth-child(3) { top: 26px; }

.headerBurger.isOpen span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.headerBurger.isOpen span:nth-child(2) {
    opacity: 0;
}

.headerBurger.isOpen span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.headerNav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E9E6EE;
}

.headerNav a,
.headerDropBtn {
    padding: 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #282535;
    font: inherit;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.headerDropBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.headerNav a:hover,
.headerNav a.isActive,
.headerDropBtn:hover,
.headerDrop.isOpen .headerDropBtn {
    background: #EBE2FD;
    color: #5443C0;
}

.headerDrop {
    position: relative;
}

.headerDropList {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 5;
    display: none;
    min-width: 240px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 30px rgba(84, 67, 192, .12);
}

.headerDropList::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.headerDrop.isOpen .headerDropList,
.headerDrop:hover .headerDropList {
    display: flex;
    flex-direction: column;
}

.headerDropList a {
    white-space: nowrap;
}

.mobileMenu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #f7f4ff;
    padding: 15px;
    overflow: auto;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
}

.mobileMenu.isOpen {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobileMenu .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.mobileMenuHead,
.cityModalHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #5443C0;
}

.cityModalHead p{
    font-weight: bold;
}

.iconClose {
    width: 42px;
    height: 42px;
    margin-left: 10px;
    border: 0;
    border-radius: 10px;
    background: #EBE2FD;
    color: #5443C0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mobileCityBtn {
    width: 100%;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.mobileMenuNav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.mobileMenuNav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    color: #282535;
    font-size: 20px;
    text-decoration: none;
}

.mobileDropBtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border: 0;
    background: none;
    color: #282535;
    font: inherit;
    font-size: 20px;
    text-align: left;
    cursor: pointer;
}

.mobileDropList {
    display: none;
    flex-direction: column;
    padding: 0 0 8px 12px;
}

.mobileDrop.isOpen .mobileDropList {
    display: flex;
}

.mobileDropList a {
    font-size: 16px;
    color: #938BA7;
}

.mobileMenuBottom {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.mobileMenuBottom span{
    color: #938BA7;
}

.mobilePhone {
    color: #5443C0;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.mobileCta {
    width: auto;
    align-self: center;
    justify-content: center;
}

.cityModal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    background: rgba(40, 37, 53, .45);
    padding: 20px;
    backdrop-filter: blur(8px);
}

.cityModal.isOpen {
    display: grid;
    place-items: center;
}

.cityModalDialog {
    width: min(760px, 100%);
    max-height: 70vh;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(40, 37, 53, .18);
}

.cityModalHead p {
    margin: 0;
    font-size: 22px;
}

.cityModalSearch {
    width: 100%;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid #E9E6EE;
    border-radius: 14px;
    background: #f7f4ff;
    font: inherit;
    outline: none;
}

.cityModalSearch:focus {
    border-color: #5443C0;
}

.cityModalList {
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cityModalList button {
    padding: 16px 14px;
    border: 0;
    border-radius: 14px;
    background: #f7f4ff;
    color: #282535;
    text-align: left;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.cityModalList button:hover,
.cityModalList button.isActive {
    background: #5443C0;
    color: #fff;
}

.cityModalList button.isHidden {
    display: none;
}

body.isLocked {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .headerCityDesktop,
    .headerSocials,
    .headerPhone,
    .headerCta,
    .headerNav {
        display: none;
    }

    .headerBurger {
        display: block;
    }
}

@media (max-width: 640px) {
    .cityModal {
        padding: 16px;
        align-items: stretch;
    }

    .cityModal.isOpen {
        display: flex;
    }

    .cityModalDialog {
        width: 100%;
        max-height: calc(100vh - 32px);
        margin: auto;
        border-radius: 18px;
        padding: 20px;
    }

    .cityModalList {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */

.footer {
    color: #938BA7;
    margin-top: 60px;
}

.footerTopContainer, .footerBottom{
    display: flex;
    justify-content: center;
}

.footerTop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 50px 0;
}

.footerLogo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #5443C0;
    font-weight: 800;
    font-size: 18px;
    font-family: "Unbounded", sans-serif;
}

.footerLogo img {
    width: 40px;
    object-fit: contain;
}

.footerBrand p {
    max-width: 260px;
    font-size: 14px;
    margin-top: 20px;
    color: #938BA7;
}

.footerSocials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footerSocials a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ff6b5b;
    color: #fff;
    transition: .4s;
}

.footerSocials a img{
    width: 15px;
}

.footerSocials a:hover{
    background: #ee4040;
    transform: translateY(-3px);
}

.footerCol h3 {
    color: #5443C0;
    font-size: 16px;
    font-weight: 800;
    font-family: "Unbounded", sans-serif;
}

.footerCol ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 15px;
}

.footerCol li + li {
    margin-top: 10px;
}

.footerCol a {
    color: #938BA7;
    text-decoration: none;
    font-size: 15px;
    transition: .4s;
}

.footerCol a:hover{
    color: #ff6b5b;
}

.footerContactValue {
    display: block;
    color: #ff6b5b !important;
    font-size: 20px !important;
    font-weight: 800;
    text-decoration: none;
    margin-top: 15px;
}

.footerContactHint {
    display: block;
    margin: 4px 0 16px;
    font-size: 14px;
    color: #938BA7;
}

.footerBottom {
    background: #ff6b5b;
    color: #fff;
}

.footerBottomInner {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    padding: 12px 0;
}

.footerBottomInner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: .4s;
}

.footerBottomInner a:hover{
    text-decoration: none;
}

@media (max-width: 900px) {
    .footerTop {
        grid-template-columns: 1fr 1fr;
        padding: 36px 0 28px;
        gap: 28px;
        text-align: center;
    }

    .footerLogo,
    .footerSocials,
    .footerCol ul {
        justify-content: center;
    }

    .footerLogo{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .footerLogo img{
        width: 80px;
    }
    .footerBrand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footerCol ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footerContacts {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footerTop {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footerLogo,
    .footerSocials {
        justify-content: center;
    }


    .footerLogo{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .footerLogo img{
        width: 120px;
    }

    .footerLogo span{
        text-align: center;
    }

    .footerBottomInner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 14px 0;
    }
}