.tsl-site-footer,
.tsl-site-footer * {
    box-sizing: border-box;
}

.elementor-widget-shortcode:has(.tsl-site-footer),
.elementor-widget-shortcode:has(.tsl-site-footer) > .elementor-widget-container,
.elementor-shortcode:has(> .tsl-site-footer) {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.elementor-element:has(> .elementor-widget-shortcode .tsl-site-footer) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.tsl-site-footer {
    position: relative;
    z-index: 1;
    left: 50%;
    width: 100vw !important;
    max-width: none !important;
    padding: 34px 0 0;
    margin-bottom: -16px;
    margin-left: -50vw;
    background: var(--tsl-dark);
    color: #fff;
    line-height: normal;
}

.tsl-site-footer::after {
    position: absolute;
    right: 0;
    bottom: -16px;
    left: 0;
    height: 16px;
    background: var(--tsl-dark);
    content: "";
}

.tsl-site-footer > .tsl-container {
    width: min(calc(100% - 64px), var(--tsl-container));
}

.tsl-site-footer a {
    text-decoration: none;
}

.tsl-site-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 34px;
    border: 1px solid rgba(104, 179, 209, .34);
    border-radius: var(--tsl-radius-lg);
    background: rgba(255, 255, 255, .04);
}

.tsl-site-footer__cta-title {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.3vw, 38px);
    line-height: 1.12;
}

.tsl-site-footer__cta-text {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.tsl-site-footer__apply {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 290px);
    min-height: 62px;
    padding: 0 22px;
    border: 1px solid var(--tsl-accent);
    border-radius: 12px;
    background: var(--tsl-accent);
    color: #fff;
    font: 700 14px/1 var(--tsl-font);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.tsl-site-footer .tsl-site-footer__apply,
.tsl-site-footer .tsl-site-footer__apply:focus,
.tsl-site-footer .tsl-site-footer__apply:active {
    border-color: var(--tsl-accent) !important;
    background-color: var(--tsl-accent) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.tsl-site-footer .tsl-site-footer__apply:focus {
    outline: none !important;
}

.tsl-site-footer .tsl-site-footer__apply:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
}

@media (hover: hover) {
    .tsl-site-footer .tsl-site-footer__apply:hover {
        background-color: transparent !important;
        color: var(--tsl-accent) !important;
    }
}

.tsl-site-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    gap: 40px;
    padding: 42px 0;
}

.tsl-site-footer__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 36px 42px;
}

.tsl-site-footer__brand p,
.tsl-site-footer__office p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

.tsl-site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
}

.tsl-site-footer__logo strong {
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, .28);
    font-size: 36px;
    letter-spacing: -.07em;
}

.tsl-site-footer__logo span {
    color: rgba(255, 255, 255, .72);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .24em;
}

.tsl-site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
}

.tsl-site-footer__nav,
.tsl-site-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tsl-site-footer__nav > a {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .64) !important;
    font-size: 12px;
    line-height: 1.45;
}

.tsl-site-footer__nav > a:hover,
.tsl-site-footer__contacts a:hover {
    color: var(--tsl-accent) !important;
}

.tsl-site-footer__contacts > a:not(.tsl-site-footer__email) {
    display: grid;
    grid-template-columns: 22px auto;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    color: #fff !important;
    font-size: 12px;
}

.tsl-site-footer__contacts > a span {
    color: rgba(255, 255, 255, .48);
}

.tsl-site-footer__phone-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
}

.tsl-site-footer__phone-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.tsl-site-footer__email {
    margin-top: 5px;
    color: var(--tsl-accent) !important;
    font-size: 13px;
    font-weight: 700;
}

.tsl-site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.tsl-site-footer__socials a {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    color: rgba(255, 255, 255, .72) !important;
    font-size: 10px;
}

.tsl-site-footer__map {
    min-height: 390px;
    overflow: hidden;
    border-radius: var(--tsl-radius-lg);
    background: #252829;
}

.tsl-site-footer__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border: 0;
    filter: grayscale(.75) contrast(.92);
}

.tsl-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.tsl-site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .44);
    font-size: 11px;
}

.tsl-site-footer__bottom div {
    display: flex;
    gap: 20px;
}

.tsl-site-footer__bottom a {
    color: rgba(255, 255, 255, .58) !important;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .tsl-site-footer__main {
        grid-template-columns: 1fr;
    }

    .tsl-site-footer__map,
    .tsl-site-footer__map iframe {
        min-height: 290px;
    }
}

@media (max-width: 820px) {
    .tsl-site-footer {
        left: 50%;
        padding: 23px 14px 0;
        margin-left: -50vw;
    }

    .tsl-site-footer > .tsl-container {
        width: 100% !important;
    }

    .tsl-site-footer__cta {
        align-items: stretch;
        flex-direction: column;
        padding: 24px 20px;
    }

    .tsl-site-footer__apply {
        width: 100%;
        max-width: none;
    }

    .tsl-site-footer__main {
        gap: 22px;
        padding: 28px 0;
    }

    .tsl-site-footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }
}

@media (max-width: 520px) {
    .tsl-site-footer__content {
        grid-template-columns: 1fr;
    }

    .tsl-site-footer__map,
    .tsl-site-footer__map iframe {
        min-height: 260px;
    }

    .tsl-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .tsl-site-footer__bottom div {
        flex-direction: column;
        gap: 8px;
    }
}

.tsl-native-menu[hidden] {
    display: none !important;
}

.tsl-native-menu {
    position: fixed;
    z-index: 999999;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

.tsl-native-menu__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #fff !important;
}

.tsl-native-menu__panel {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background: #fff !important;
}

.tsl-native-menu__close,
.tsl-native-menu__close:hover,
.tsl-native-menu__close:focus,
.tsl-native-menu__close:active {
    position: fixed;
    z-index: 10;
    top: 27px;
    right: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    min-width: 39px;
    height: 39px;
    min-height: 39px;
    padding: 0;
    border: 1px solid #e1e5e7;
    border-radius: 50%;
    background: #fff;
    color: #17191a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    font: 400 25px/1 var(--tsl-font);
    cursor: pointer;
    outline: none;
}

.tsl-native-menu__close:focus-visible {
    outline: 2px solid var(--tsl-accent);
    outline-offset: 3px;
}

.tsl-native-menu .tsl-popup-menu {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
}

html.tsl-native-menu-open,
body.tsl-native-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.tsl-popup-brand,
.tsl-popup-office,
.tsl-popup-brand *,
.tsl-popup-office * {
    box-sizing: border-box;
}

.tsl-popup-brand,
.tsl-popup-office {
    width: 100%;
    color: #fff;
    font-family: var(--tsl-font);
}

.tsl-popup-brand {
    padding: 24px 22px;
    border-radius: 14px;
    background: var(--tsl-dark);
}

.tsl-popup-brand__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none !important;
}

.tsl-popup-brand__logo strong {
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, .28);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.07em;
}

.tsl-popup-brand__logo span {
    color: rgba(255, 255, 255, .78);
    font-size: 8px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .2em;
}

.tsl-popup-brand p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.7;
}

.tsl-popup-office {
    overflow: hidden;
    border: 1px solid #e1e5e7;
    border-radius: 14px;
    background: #fff;
}

.tsl-popup-office__details {
    padding: 14px 22px 20px;
}

.tsl-popup-menu--complete {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tsl-popup-menu--complete .tsl-popup-categories {
    margin: 0;
}

.tsl-popup-menu--complete > .tsl-popup-phones,
.tsl-popup-menu--complete > .tsl-popup-socials,
.tsl-popup-menu--complete > .tsl-popup-menu__apply {
    margin: 0;
}

.tsl-popup-menu--complete > .tsl-popup-divider {
    margin: 0;
}

.tsl-popup-menu--complete > .tsl-popup-divider--categories,
.tsl-popup-menu--complete > .tsl-popup-divider--office {
    width: 100%;
    height: 1px;
    margin: 0;
    flex: 0 0 auto;
    background: #e1e5e7;
}

.tsl-popup-menu--complete > .tsl-popup-office {
    margin-top: 0;
    flex: 0 0 auto;
}

.tsl-popup-office__details h2 {
    margin: 0 0 18px;
    color: #202324;
    font-size: 19px;
    font-style: italic;
    line-height: 1.25;
}

.tsl-popup-office__details address,
.tsl-popup-office__details p {
    margin: 0;
    color: #626b70;
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

.tsl-popup-office__details p {
    margin-top: 18px;
}

.tsl-popup-office__map {
    height: 260px;
    margin: 0 8px;
    overflow: hidden;
    border-radius: 14px;
    background: #252829;
}

.tsl-popup-office__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.75) contrast(.92);
}

.tsl-popup-office__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 10px 20px;
    margin: 20px 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .43);
    font-size: 10px;
}

.tsl-popup-office__bottom a {
    color: rgba(255, 255, 255, .58) !important;
    text-decoration: none !important;
}

@media (max-width: 480px) {
    .tsl-popup-brand,
    .tsl-popup-office {
        border-radius: 12px;
    }

    .tsl-popup-office__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}
