.home-header,
.home-menu-dialog,
.home-contact-bar,
.home-chat,
.home-footer {
    font-family: var(--home-font, Arial, sans-serif);
}

.home-header a,
.home-menu-dialog a,
.home-contact-bar a,
.home-footer a {
    color: inherit;
    text-decoration: none;
}

.home-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    background: #fff;
    transition: transform .4s cubic-bezier(0, 0, .8, 1);
}

.home-header[data-scroll-hidden]:not(:focus-within) {
    transform: translateY(-100%);
}

.home-header-inner,
.home-footer-shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.home-header-top,
.home-header-bottom,
.home-header-actions,
.home-header-address,
.home-socials {
    display: flex;
    align-items: center;
}

.home-header-top,
.home-header-bottom {
    justify-content: space-between;
}

.home-header-top {
    min-height: 100px;
    gap: 12px;
}

.home-header-logo {
    flex: 0 0 244px;
    height: 54px;
}

.home-header-logo img,
.home-social img,
.home-menu-trigger img,
.home-footer-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-header-address {
    gap: 8px;
    flex: 0 0 218px;
    font-size: 14px;
    line-height: 20px;
    color: #2b2b2b;
}

.home-header-map-icon {
    flex: 0 0 40px;
    height: 40px;
}

.home-header-map-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.home-socials {
    gap: 12px;
}

.home-social {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.home-header-actions {
    gap: 12px;
}

.home-header-phone {
    width: 233px;
    white-space: nowrap;
    color: #2b2b2b !important;
    font-size: 24px;
    line-height: 36px;
    font-weight: 900;
    letter-spacing: -.25px;
}

.home-header-call {
    display: grid;
    place-items: center;
    min-height: 48px;
    width: 166px;
    box-sizing: border-box;
    border: 2px solid #216bcf;
    border-radius: 10px;
    color: #101010;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.home-header-call:hover {
    background: #edf5ff;
}

.home-header-blue {
    background: #216bcf;
    color: #fff;
}

.home-header-bottom {
    min-height: 63px;
    gap: 12px;
    padding-bottom: 8px;
}

.home-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-header-nav > .home-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 36px;
    align-items: center;
}

.home-header-nav {
    font-size: 19px;
    min-width: 0;
}

.home-header-nav li {
    position: relative;
}

.home-nav-toggle,
.home-menu-trigger {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.home-header-nav .home-nav-toggle {
    padding: 4px 5px;
    margin-inline-start: 4px;
    font-size: .9em;
}

.home-header-nav .home-nav-list .home-nav-list {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%;
    inset-inline-start: 0;
    min-width: 240px;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    color: #173b66;
    font-size: .9em;
    box-shadow: 0 5px 22px #102c4433;
}

.home-header-nav .home-nav-list .home-nav-list .home-nav-list {
    top: 0;
    inset-inline-start: 100%;
}

.home-header-nav .home-nav-list .home-nav-list li {
    padding: 8px;
}

.home-header-nav li:hover > .home-nav-list,
.home-header-nav li:focus-within > .home-nav-list,
.home-header-nav li[data-open] > .home-nav-list {
    display: block !important;
}

.home-menu-trigger {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 44px;
}

.home-menu-trigger--mobile {
    display: none;
}

.home-menu-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 14px 14px 14px auto;
    width: min(560px, calc(100vw - 28px));
    max-width: none;
    max-height: none;
    height: calc(100dvh - 28px);
    margin: 0;
    padding: 28px 36px 36px;
    border: 1px solid #ffffffc9;
    border-radius: 30px;
    background: linear-gradient(145deg, #fff, #f0f6fc);
    color: #213547;
    box-shadow: 0 20px 80px #102d4430;
    overflow: auto;
    overscroll-behavior: contain;
    font-size: 16px;
    line-height: 1.45;
}

.home-menu-dialog::backdrop {
    background: #24405a55;
    backdrop-filter: blur(9px);
}

.home-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.home-drawer-top button {
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    flex: none;
    background: #e0edf7;
    color: #284b6b;
    font: 28px Arial, sans-serif;
    cursor: pointer;
}

.home-drawer-logo {
    margin-bottom: 24px;
}

.home-drawer-logo .home-header-logo {
    display: block;
    width: min(200px, 100%);
    height: auto;
}

.home-drawer-nav > .home-nav-list {
    counter-reset: home-drawer-item;
}

.home-drawer-nav li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    border-bottom: 1px solid #cfdce6;
}

.home-drawer-nav > .home-nav-list > li {
    counter-increment: home-drawer-item;
}

.home-drawer-nav a {
    display: flex;
    gap: 16px;
    align-items: baseline;
    min-height: 60px;
    box-sizing: border-box;
    padding: 16px 0;
    font-size: 23px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-drawer-nav > .home-nav-list > li > a::before {
    content: counter(home-drawer-item, decimal-leading-zero);
    font-size: 11px;
    color: #718b9e;
    flex: none;
}

.home-drawer-nav .home-nav-toggle {
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: #45718f;
    border-radius: 50%;
}

.home-drawer-nav li[data-open] > .home-nav-toggle {
    transform: rotate(180deg);
}

.home-drawer-nav .home-nav-list .home-nav-list {
    display: none;
    grid-column: 1 / -1;
    padding: 0 0 14px 30px;
}

.home-drawer-nav li[data-open] > .home-nav-list {
    display: block;
}

.home-drawer-nav .home-nav-list .home-nav-list a {
    font-size: 17px;
    min-height: 44px;
    padding: 11px 0;
}

.home-drawer-contacts {
    margin-top: 30px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e5f1fb, #d7e7f4);
}

.home-drawer-contacts > div:first-child {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.home-drawer-contacts > div:first-child a {
    font-size: 18px;
}

.home-drawer-contacts .home-header-phone {
    max-width: 100%;
    font-size: 24px !important;
    font-weight: 700;
}

.home-drawer-contacts p {
    margin: 0 0 16px;
    font-size: 14px;
}

.home-socials--drawer .home-social {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
}

.home-contact-bar {
    display: none;
}

.home-chat {
    position: fixed;
    z-index: 91;
    right: 65px;
    bottom: 50px;
    color: #fff;
}

.home-chat summary {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #008bca;
    box-shadow: 0 0 20px #0003;
    list-style: none;
    cursor: pointer;
}

.home-chat summary::-webkit-details-marker {
    display: none;
}

.home-chat summary span {
    display: none;
    font: 32px/1 Arial, sans-serif;
}

.home-chat[open] summary svg {
    display: none;
}

.home-chat[open] summary span {
    display: block;
}

.home-chat ul {
    position: absolute;
    right: 5px;
    bottom: 72px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-chat a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #172d49;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.home-chat a img,
.home-chat-phone {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 2px 12px #0003;
}

.home-chat-phone {
    background: #008bca;
    color: #fff;
}

.home-chat-phone svg {
    width: 25px;
    height: 25px;
}

.home-footer-heading {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 130px;
    padding: 12px 20px 10px;
    text-align: center;
    color: #101010;
}

.home-footer-heading h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: -.4px;
}

.home-footer-heading strong {
    display: block;
    font-weight: 700;
}

.home-footer-overview {
    padding-block: 31px 27px;
}

.home-footer-panels {
    display: grid;
    grid-template-columns: minmax(0, 500fr) minmax(0, 402fr) minmax(0, 277fr);
    gap: 11px;
}

.home-footer-form-card,
.home-footer-address-card,
.home-footer-photo {
    box-sizing: border-box;
    min-height: 353px;
    border-radius: 10px;
    box-shadow: 0 2px 21px #0002;
}

.home-footer-form-card {
    background: #fff;
    padding: 13px 20px 26px;
    scroll-margin-top: 170px;
}

.home-footer-form-card p {
    max-width: 403px;
    margin: 0 0 14px 11px;
    color: #262626;
    font: 500 22px/29px Arial, sans-serif;
}

.home-footer-form-card form {
    max-width: 440px;
}

.home-footer-address-card {
    background: linear-gradient(135deg, #262626, #0d0d0d);
    color: #fff;
    padding: 30px 24px 24px;
}

.home-footer-address-card dl {
    margin: 0;
}

.home-footer-address-card dt {
    margin-bottom: 4px;
    color: #b5b5b5;
    font-size: 14px;
    line-height: 18px;
}

.home-footer-address-card dd {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 23px;
}

.home-footer-address-card dd:nth-of-type(n + 3) {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 31px;
}

.home-footer-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 353px;
    object-fit: cover;
}

.home-footer-embeds {
    display: grid;
    grid-template-columns: minmax(0, 619fr) minmax(0, 557fr);
    align-items: start;
    gap: 24px;
    margin-top: 25px;
}

.home-footer-map,
.home-footer-reviews {
    position: relative;
}

.home-footer-map iframe,
.home-footer-reviews iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
}

.home-footer-map iframe {
    height: 400px;
    box-shadow: 0 2px 12px #0002;
}

.home-map-links {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    color: #e8e8e8;
    font: 12px/1.25 Georgia, serif;
}

.home-footer-reviews iframe {
    height: 427px;
}

.home-footer-reviews > a {
    position: absolute;
    inset: auto 0 8px;
    display: block;
    text-align: center;
    color: #9a9a9a;
    font: 10px/1.3 Arial, sans-serif;
}

.home-footer-base {
    background: #f3f5f9;
}

.home-footer-grid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 317fr) minmax(0, 600fr) minmax(0, 244fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "logo nav contacts" "legal nav contacts";
    column-gap: 20px;
    row-gap: 16px;
    min-height: 300px;
    padding-block: 48px 14px;
}

.home-footer-logo {
    grid-area: logo;
    width: min(253px, 100%);
    min-height: 56px;
}

.home-footer-nav {
    grid-area: nav;
    padding-block: 8px 0;
    color: #1b4674;
    font-size: 16px;
    line-height: 1.6;
}

.home-footer-nav > .home-nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.home-footer-nav > .home-nav-list > li > a {
    font-weight: 700;
}

.home-footer-nav .home-nav-list .home-nav-list {
    padding-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #151b23;
}

.home-footer-nav .home-nav-list .home-nav-list li {
    margin-bottom: 10px;
}

.home-footer-contacts {
    grid-area: contacts;
    display: grid;
    align-content: start;
    gap: 12px;
    padding-block: 8px 0;
    font-size: 16px;
    line-height: 1.3;
}

.home-footer-contacts h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.home-footer-contacts .home-footer-phone {
    font-size: 20px;
    font-weight: 600;
}

.home-footer-contacts > a {
    max-width: 228px;
    overflow-wrap: anywhere;
}

.home-footer-contacts .home-socials {
    gap: 13px;
    margin-top: 3px;
}

.home-footer-legal {
    grid-area: legal;
    max-width: 265px;
    font-size: 12px;
    line-height: 19px;
}

.home-footer-legal div {
    font-size: 16px;
    margin-bottom: 5px;
}

.home-footer-legal > a {
    font-size: 13px;
}

.home-footer-legal a {
    text-decoration: underline;
}

.home-footer-legal p {
    margin: 5px 0 0;
}

.home-footer-legal p:last-child {
    font-size: 11px;
}

.home-footer a:hover,
.home-menu-dialog a:hover {
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .home-header-inner,
    .home-footer-shell {
        width: min(960px, calc(100% - 40px));
    }

    .home-header-top {
        min-height: 60px;
        gap: 6px;
    }

    .home-header-logo {
        flex-basis: 180px;
        height: 40px;
    }

    .home-header-address {
        flex-basis: 182px;
        font-size: 14px;
        line-height: 16px;
    }

    .home-header-map-icon {
        flex-basis: 34px;
        height: 34px;
    }

    .home-socials--header .home-social {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .home-header-phone {
        width: 210px;
        font-size: 23px;
    }

    .home-header-call {
        width: 137px;
    }

    .home-header-bottom {
        min-height: 51px;
        padding-bottom: 4px;
    }

    .home-header-nav {
        font-size: 18px;
    }

    .home-header-nav > .home-nav-list {
        column-gap: 28px;
    }

    .home-footer-heading h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .home-footer-grid {
        grid-template-columns: minmax(0, 215fr) minmax(0, 500fr) minmax(0, 210fr);
        column-gap: 15px;
    }

    .home-footer-contacts .home-socials {
        gap: 8px;
    }

    .home-footer-contacts .home-social {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 959px) {
    .home-header-inner,
    .home-footer-shell {
        width: min(640px, calc(100% - 40px));
    }

    .home-header-logo {
        flex-basis: 215px;
        height: 47px;
    }

    .home-header-address,
    .home-header-call,
    .home-header-nav {
        display: none;
    }

    .home-socials--header {
        gap: 7px;
    }

    .home-socials--header .home-social--rutube {
        order: -1;
    }

    .home-socials--header .home-social--vk {
        order: -2;
    }

    .home-header-phone {
        width: min(218px, 26vw);
        font-size: clamp(18px, 2.8vw, 23px);
    }

    .home-header-blue .home-header-inner {
        width: calc(100% - 40px);
        justify-content: flex-end;
    }

    .home-footer-heading {
        min-height: 100px;
    }

    .home-footer-heading h2 {
        font-size: 32px;
    }

    .home-footer-overview {
        padding-block: 20px 36px;
    }

    .home-footer-panels {
        grid-template-columns: minmax(0, 325fr) minmax(0, 309fr);
        gap: 7px;
    }

    .home-footer-form-card,
    .home-footer-address-card {
        min-height: 349px;
    }

    .home-footer-form-card {
        padding: 16px 10px 22px;
        scroll-margin-top: 120px;
    }

    .home-footer-form-card p {
        margin: 0 0 10px;
        font-size: 18px;
        line-height: 23px;
    }

    .home-footer-form-card form {
        max-width: 280px;
    }

    .home-footer-address-card {
        padding: 21px 15px 20px;
    }

    .home-footer-address-card dd,
    .home-footer-address-card dd:nth-of-type(n + 3) {
        margin-bottom: 15px;
        font-size: 17px;
        line-height: 23px;
    }

    .home-footer-photo {
        display: none;
    }

    .home-footer-embeds {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-top: 22px;
    }

    .home-footer-reviews iframe {
        height: 288px;
    }

    .home-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(4, auto);
        grid-template-areas: "logo" "nav" "contacts" "legal";
        row-gap: 18px;
        padding-block: 40px 24px;
    }

    .home-footer-nav {
        padding: 0;
    }

    .home-footer-nav > .home-nav-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .home-footer-nav .home-nav-list .home-nav-list {
        padding-top: 8px;
        font-size: 16px;
    }

    .home-footer-nav .home-nav-list .home-nav-list li {
        margin-bottom: 6px;
    }

    .home-footer-legal {
        max-width: 350px;
    }
}

@media (max-width: 767px) {
    body:has(.home-contact-bar) {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .home-contact-bar {
        position: fixed;
        z-index: 99990;
        inset: auto 0 0;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
        background: #fffffff7;
        border-top: 1px solid #dce5f0;
        box-shadow: 0 -5px 22px #17324b12;
        backdrop-filter: blur(12px);
    }

    .home-contact-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 42px;
        border: 1px solid #cbdcf2;
        border-radius: 9px;
        color: #216bcf;
        background: #fff;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
    }

    .home-contact-bar a:last-child {
        background: #216bcf;
        border-color: #216bcf;
        color: #fff;
    }

    .home-contact-bar svg {
        flex: none;
        width: 18px;
        height: 18px;
    }

    .home-chat {
        right: 10px;
        bottom: calc(74px + env(safe-area-inset-bottom));
    }

    body:has(.home-contact-bar) #po-cookie-settings {
        bottom: calc(70px + env(safe-area-inset-bottom));
    }

    body:has(.home-contact-bar) #po-cookie-card {
        bottom: calc(72px + env(safe-area-inset-bottom));
        max-height: calc(100dvh - 92px - env(safe-area-inset-bottom));
        overflow: auto;
    }
}

@media (max-width: 639px) {
    .home-header[data-scroll-hidden] {
        transform: none;
    }

    .home-header-top {
        width: calc(100% - 24px);
        min-height: 70px;
        gap: 6px;
    }

    .home-header-logo {
        flex: 1 1 auto;
        max-width: calc(100% - 154px);
        height: 36px;
    }

    .home-header-actions,
    .home-header-blue,
    .home-socials--header .home-social--telegram {
        display: none;
    }

    .home-socials--header {
        gap: 6px;
    }

    .home-socials--header .home-social {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .home-socials--header .home-social--rutube {
        order: -3;
    }

    .home-menu-trigger--mobile {
        display: grid;
        flex-basis: 34px;
        width: 34px;
    }

    .home-menu-dialog {
        inset: 8px;
        width: calc(100vw - 16px);
        height: calc(100dvh - 16px);
        padding: 20px;
        border-radius: 24px;
    }

    .home-drawer-logo .home-header-logo {
        max-width: none;
    }

    .home-drawer-nav a {
        font-size: 21px;
    }

    .home-drawer-contacts {
        padding: 20px;
    }

    .home-drawer-contacts .home-header-phone {
        width: auto;
        font-size: 21px !important;
    }

    .home-footer-heading {
        min-height: 107px;
        padding-block: 27px 12px;
    }

    .home-footer-heading h2 {
        font-size: 28px;
    }

    .home-footer-overview {
        padding-block: 20px 20px;
    }

    .home-footer-panels {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .home-footer-form-card {
        min-height: 414px;
        padding: 20px;
        border-radius: 16px;
        scroll-margin-top: 80px;
    }

    .home-footer-form-card p {
        margin: 0 0 18px;
        font-size: 20px;
        line-height: 26px;
    }

    .home-footer-form-card form {
        max-width: none;
    }

    .home-footer-address-card {
        min-height: 304px;
        border-radius: 16px;
        padding: 24px;
    }

    .home-footer-address-card dt {
        font-size: 13px;
    }

    .home-footer-address-card dd,
    .home-footer-address-card dd:nth-of-type(n + 3) {
        margin-bottom: 15px;
        font-size: 17px;
        line-height: 1.4;
    }

    .home-footer-embeds {
        gap: 24px;
        margin-top: 24px;
    }

    .home-footer-map iframe {
        height: 320px;
        box-shadow: none;
    }

    .home-footer-reviews iframe {
        height: 450px;
    }

    .home-footer-grid {
        row-gap: 24px;
        padding-block: 60px 42px;
    }

    .home-footer-logo {
        width: min(259px, 100%);
    }

    .home-footer-nav > .home-nav-list {
        gap: 34px;
    }

    .home-footer-contacts {
        padding: 0;
    }

    .home-footer-contacts .home-footer-phone {
        font-size: 16px;
    }

    .home-footer-contacts > a {
        max-width: none;
    }

    .home-footer-contacts .home-socials {
        gap: 14px;
        margin-top: 12px;
    }

    .home-footer-legal div,
    .home-footer-legal > a {
        font-size: 12px;
        line-height: 1.5;
    }

    .home-footer-legal div,
    .home-footer-legal p {
        margin-bottom: 14px;
    }

    .home-footer-legal p:last-child {
        margin-bottom: 0;
        font-size: inherit;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-header {
        transition: none;
    }
}
