:root {
    --o500-shell-blue: #15558c;
    --o500-shell-blue-dark: #0e3d68;
    --o500-shell-text: #344054;
    --o500-shell-muted: #667085;
    --o500-shell-line: rgba(17,24,39,.08);
    --o500-shell-font:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   COMMON
========================================================= */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    min-height: 100%;
    overflow-x: hidden;
}

.site-header,
.site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;

    font-family: var(--o500-shell-font);
}

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

.site-header .container,
.site-footer .container {
    width: min(calc(100% - 60px), 1240px);
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 2000;

    background: #fff;

    border-bottom:
        1px solid
        rgba(17,24,39,.06);
}

.site-header .header-top {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 28px;
}

.site-header .header-logo {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
}

.site-header .header-logo img {
    display: block;

    width: 190px;
    height: auto;
}

.site-header .header-city-wrap {
    position: relative;

    flex: 0 0 auto;
}

.site-header .header-city {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 8px 6px;

    border: 0;

    background: transparent;

    color: #4b5563;

    font: inherit;
    font-size: 13px;

    cursor: pointer;
}

.site-header .header-city svg {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.site-header .city-popup {
    position: absolute;

    z-index: 3000;

    top: calc(100% + 8px);
    left: 0;

    width: 290px;

    padding: 18px;

    background: #fff;

    border:
        1px solid
        var(--o500-shell-line);

    border-radius: 14px;

    box-shadow:
        0 16px 45px
        rgba(17,24,39,.14);
}

.site-header .city-popup[hidden] {
    display: none;
}

.site-header .city-popup strong {
    display: block;

    margin-bottom: 8px;

    color: #111827;
}

.site-header .city-popup p {
    margin: 0 0 5px;

    font-size: 14px;
    line-height: 1.5;
}

.site-header .city-popup small {
    color: var(--o500-shell-muted);

    font-size: 12px;
    line-height: 1.45;
}

.site-header .city-popup-close {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 32px;
    height: 32px;

    border: 0;
    border-radius: 50%;

    background: #f5f7f9;

    cursor: pointer;
}

.site-header .header-contact-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 14px;
}

.site-header .header-phone {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    color: #111827;

    text-decoration: none;

    white-space: nowrap;
}

.site-header .header-phone strong {
    font-size: 15px;
    line-height: 1.3;
}

.site-header .header-phone span {
    margin-top: 3px;

    color: #7b8491;

    font-size: 11px;
}


/* ROUTE */

.site-header .o500-route-btn {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 9px 16px;

    color: #123d6a;

    background: #fff;

    border: 1px solid #d7e0e9;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;
}

.site-header .o500-route-btn:hover {
    color: #fff;

    background: #123d6a;

    border-color: #123d6a;
}


/* =========================================================
   NAV
========================================================= */

.site-header .header-navigation {
    border-top:
        1px solid
        rgba(17,24,39,.055);

    background: #fff;
}

.site-header .header-navigation-inner {
    min-height: 68px;

    display: flex;
    align-items: center;

    justify-content: flex-end;

    gap: 14px;
}

.site-header .header-nav {
    min-width: 0;

    display: flex;
    align-items: center;

    flex: 0 1 auto;

    margin-left: auto;

    gap: 24px;
}

.site-header .header-nav > a {
    color: #3f4754;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}

.site-header .header-nav-item {
    position: relative;

    flex: 0 0 auto;
}

.site-header .header-nav-toggle {
    min-height: 42px;

    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #3f4754;

    font: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.site-header .header-nav-arrow {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.site-header
.header-nav-item.is-open
.header-nav-arrow {
    transform: rotate(180deg);
}

.site-header .header-submenu {
    position: absolute;

    z-index: 3000;

    top: calc(100% + 8px);
    left: -14px;

    display: none;

    min-width: 230px;

    padding: 8px;

    background: #fff;

    border:
        1px solid
        var(--o500-shell-line);

    border-radius: 14px;

    box-shadow:
        0 15px 40px
        rgba(17,24,39,.14);
}

.site-header
.header-nav-item.is-open
> .header-submenu {
    display: grid;

    gap: 2px;
}

.site-header .header-submenu a {
    padding: 10px 12px;

    border-radius: 8px;

    color: #344054;

    font-size: 14px;

    text-decoration: none;

    white-space: nowrap;
}

.site-header .header-submenu a:hover {
    color: var(--o500-shell-blue);

    background: #eef4f9;
}

.site-header .header-submenu--wide {
    min-width: 260px;
}


/* SEARCH */

.site-header .header-nav-search {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--o500-shell-blue);
}

.site-header .header-nav-search:hover {
    background: #eef4f9;
}

.site-header .header-nav-search-icon {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.site-header .header-nav-search-text {
    display: none;
}


/* CART */

.site-header .header-cart {
    position: relative;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--o500-shell-blue);

    background: #f7f9fc;

    border:
        1px solid
        rgba(21,85,140,.16);

    border-radius: 12px;

    text-decoration: none;
}

.site-header .header-cart-icon {
    width: 20px;
    height: 20px;
}

.site-header .header-cart-count {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    align-items: center;
    justify-content: center;

    color: #fff;

    background: var(--o500-shell-blue);

    border: 2px solid #fff;
    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;
}


/* APPOINTMENT */

.site-header .header-appointment {
    min-height: 42px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    color: #fff;

    background: #176caf;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 7px 18px
        rgba(21,85,140,.16);
}

.site-header .header-menu-button,
.site-header .mobile-menu-head,
.site-header .header-mobile-info {
    display: none;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 900px) {

    .site-header {
        position: sticky;

        top: 0;
    }

    .site-header .container {
        width: calc(100% - 24px);
    }

    .site-header .header-top {
        min-height: 68px;

        gap: 12px;
    }

    .site-header .header-logo {
        margin-right: auto;
    }

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

    .site-header .header-city-wrap,
    .site-header .header-contact-actions {
        display: none;
    }

    .site-header .header-menu-button {
        width: 42px;
        height: 42px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 0;

        border: 0;
        border-radius: 10px;

        background: #fff;

        color: var(--o500-shell-blue);

        cursor: pointer;
    }

    .site-header .header-menu-icon {
        width: 27px;
        height: 27px;

        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }


    .site-header .header-navigation {
        position: fixed;

        z-index: 2200;

        top: 68px;
        right: 0;
        bottom: 0;

        width:
            min(
                370px,
                calc(100vw - 12px)
            );

        overflow-x: hidden;
        overflow-y: auto;

        -webkit-overflow-scrolling: touch;

        background: #fff;

        border-radius: 20px 0 0 0;

        box-shadow:
            -18px 10px 50px
            rgba(15,23,42,.22);

        transform: translateX(105%);

        transition:
            transform .35s ease;
    }

    .site-header
    .header-navigation.is-open {
        transform: translateX(0);
    }


    .site-header
    .header-navigation-inner {
        width: 100%;

        min-height: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding:
            12px
            16px
            calc(
                70px +
                env(safe-area-inset-bottom)
            );

        overflow: visible;
    }


    .site-header .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding-bottom: 12px;

        border-bottom:
            1px solid
            var(--o500-shell-line);
    }

    .site-header .mobile-menu-label {
        color: #111827;

        font-size: 18px;
        font-weight: 700;
    }

    .site-header .mobile-menu-close {
        width: 38px;
        height: 38px;

        border: 0;
        border-radius: 50%;

        background: #f5f7f9;

        font-size: 25px;

        cursor: pointer;
    }


    .site-header .header-nav {
        width: 100%;

        display: block;

        margin: 0;

        flex: 0 0 auto;
    }


    .site-header .header-nav-item {
        width: 100%;

        height: auto;

        overflow: visible;
    }


    .site-header .header-nav-toggle,
    .site-header .header-nav > a {
        width: 100%;

        min-height: 46px;

        display: flex;
        align-items: center;

        padding: 10px 0;

        border-bottom:
            1px solid
            rgba(17,24,39,.06);

        color: #344054;

        font-size: 15px;
        font-weight: 600;

        text-align: left;
    }

    .site-header .header-nav-toggle {
        justify-content: space-between;
    }


    .site-header .header-submenu {
        position: static;

        width: 100%;
        min-width: 0;

        height: auto;
        max-height: none;

        padding:
            4px
            0
            7px
            13px;

        overflow: visible;

        border: 0;
        border-left:
            1px solid
            rgba(21,85,140,.2);

        border-radius: 0;

        box-shadow: none;
    }

    .site-header .header-submenu a {
        white-space: normal;
    }


    .site-header .header-nav-search {
        width: 100%;
        height: auto;

        justify-content: flex-start;

        padding: 12px 0;

        border-radius: 0;
    }

    .site-header .header-nav-search-icon {
        display: none;
    }

    .site-header .header-nav-search-text {
        display: inline;
    }


    .site-header .header-cart {
        width: 100%;
        height: 48px;

        flex: 0 0 auto;

        justify-content: flex-start;

        gap: 10px;

        margin-top: 8px;

        padding: 0 14px;
    }

    .site-header .header-cart::after {
        content: "Корзина";

        color: #344054;

        font-size: 15px;
        font-weight: 600;
    }

    .site-header .header-cart-count {
        top: 50%;
        right: 14px;

        transform: translateY(-50%);

        min-width: 20px;
        height: 20px;

        font-size: 10px;
    }


    .site-header .header-appointment {
        width: 100%;

        min-height: 48px;

        flex: 0 0 auto;

        margin-top: 10px;
    }


    .site-header .header-mobile-info {
        width: 100%;

        flex: 0 0 auto;

        display: flex;
        flex-direction: column;

        margin-top: 10px;

        padding: 12px 14px;

        background: #f8fafc;

        border:
            1px solid
            var(--o500-shell-line);

        border-radius: 13px;
    }

    .site-header .header-mobile-info > a:first-child {
        color: #172033;

        font-size: 18px;
        font-weight: 700;

        text-decoration: none;
    }

    .site-header .header-mobile-info > span {
        margin-top: 3px;

        color: #7a8493;

        font-size: 12px;
    }

    .site-header
    .header-mobile-info
    .o500-route-btn {
        width: 100%;

        margin-top: 11px;

        display: flex;

        flex: 0 0 auto;
    }


    .site-header .menu-overlay {
        position: fixed;

        z-index: 2100;

        inset: 68px 0 0;

        display: none;

        background:
            rgba(8,17,31,.4);
    }

    .site-header
    .menu-overlay.is-visible {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    color: #fff;

    background:
        linear-gradient(
            120deg,
            #0f2238,
            #10263f 48%,
            #0d2137
        );
}

.site-footer .container {
    padding-top: 32px;
    padding-bottom: 16px;
}

.site-footer-main {
    display: grid;

    grid-template-columns:
        1.3fr
        repeat(3, minmax(130px,.85fr))
        1fr;

    gap: 42px;
}

.site-footer-logo {
    display: inline-flex;
    flex-direction: column;

    color: #fff;

    text-decoration: none;
}

.site-footer-logo strong {
    font-size: 21px;
}

.site-footer-logo span {
    margin-top: 5px;

    color: #b9c6d5;

    font-size: 9px;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.site-footer-brand p {
    margin: 18px 0 0;

    color: #c2ccd8;

    font-size: 13px;
    line-height: 1.55;
}

.site-footer-socials {
    display: flex;

    gap: 8px;

    margin-top: 18px;
}

.site-footer-socials a {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 50%;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.site-footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}

.site-footer-column h2 {
    margin: 0 0 4px;

    color: #fff;

    font-size: 14px;
    font-weight: 700;
}

.site-footer-column a,
.site-footer-column span {
    color: #bec9d5;

    font-size: 13px;
    line-height: 1.45;

    text-decoration: none;
}

.site-footer-column a:hover {
    color: #fff;
}

.site-footer-bottom {
    margin-top: 28px;
    padding-top: 16px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid
        rgba(255,255,255,.1);
}

.site-footer-bottom p {
    margin: 0;

    color: #93a5b8;

    font-size: 12px;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;
}

.site-footer-legal a {
    color: #93a5b8;

    font-size: 12px;

    text-decoration: none;
}


@media (max-width: 900px) {

    .site-footer .container {
        width: calc(100% - 32px);
    }

    .site-footer-main {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap: 28px;
    }

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


@media (max-width: 600px) {

    .site-footer-main {
        grid-template-columns: 1fr;

        gap: 25px;
    }

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

    .site-footer-bottom {
        flex-direction: column;
    }

    .site-footer-legal {
        flex-direction: column;

        gap: 8px;
    }
}







/* =========================================================
   O500 UNIVERSAL LEAD FORM
========================================================= */

.o500-lead,
.o500-lead * {
    box-sizing: border-box;
}

.o500-lead {
    padding:
        42px
        0;

    background:
        #f5f8fb;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


.o500-lead__container {
    width:
        min(
            1120px,
            calc(100% - 32px)
        );

    margin:
        0
        auto;
}


.o500-lead__inner {
    display:
        grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(380px, 1.1fr);

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid
        #dbe6f1;

    border-radius:
        22px;

    box-shadow:
        0
        16px
        42px
        rgba(19, 63, 110, .09);
}


/* =========================================================
   LEFT
========================================================= */

.o500-lead__info {
    padding:
        34px
        32px;

    color:
        #ffffff;

    background:
        linear-gradient(
            145deg,
            #0d315d 0%,
            #174f87 100%
        );
}


.o500-lead__label {
    display:
        inline-flex;

    margin-bottom:
        12px;

    padding:
        6px
        11px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius:
        999px;

    background:
        rgba(255,255,255,.09);

    color:
        #ffffff;

    font-size:
        11px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        .04em;
}


.o500-lead__info h2 {
    margin:
        0;

    color:
        #ffffff;

    font-size:
        clamp(
            27px,
            3vw,
            36px
        );

    line-height:
        1.12;

    letter-spacing:
        -.025em;
}


.o500-lead__info > p {
    max-width:
        520px;

    margin:
        14px
        0
        0;

    color:
        rgba(255,255,255,.84);

    font-size:
        15px;

    line-height:
        1.65;
}


.o500-lead__contacts {
    display:
        flex;

    flex-direction:
        column;

    gap:
        4px;

    margin-top:
        22px;
}


.o500-lead__contacts a {
    color:
        #ffffff;

    font-size:
        18px;

    font-weight:
        700;

    text-decoration:
        none;
}


.o500-lead__contacts span {
    color:
        rgba(255,255,255,.7);

    font-size:
        12px;
}


/* =========================================================
   RIGHT
========================================================= */

.o500-lead__form-column {
    min-width:
        0;

    padding:
        30px
        30px;

    background:
        #ffffff;
}


.o500-lead__grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap:
        13px;
}


.o500-lead__field {
    min-width:
        0;

    display:
        grid;

    gap:
        6px;
}


.o500-lead__field--full {
    grid-column:
        1 / -1;
}


.o500-lead__field > span {
    color:
        #173c67;

    font-size:
        12px;

    font-weight:
        700;
}


.o500-lead__field input,
.o500-lead__field select {
    width:
        100%;

    min-height:
        46px;

    padding:
        10px
        12px;

    border:
        1px solid
        #cbd8e5;

    border-radius:
        10px;

    background:
        #ffffff;

    color:
        #183752;

    font:
        inherit;

    font-size:
        14px;

    outline:
        none;
}


.o500-lead__field input:focus,
.o500-lead__field select:focus {
    border-color:
        #1b67b1;

    box-shadow:
        0
        0
        0
        3px
        rgba(27,103,177,.11);
}


.o500-lead__consent {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        8px;

    margin-top:
        13px;

    color:
        #64768a;

    font-size:
        11px;

    line-height:
        1.45;
}


.o500-lead__consent input {
    width:
        15px;

    height:
        15px;

    flex:
        0 0
        15px;

    margin-top:
        1px;

    accent-color:
        #174f87;
}


.o500-lead__consent a {
    color:
        #1b67b1;

    text-decoration:
        underline;

    text-underline-offset:
        2px;
}


/* =========================================================
   SUBMIT
========================================================= */

.o500-lead__submit {
    width:
        100%;

    min-height:
        48px;

    margin-top:
        17px;

    padding:
        11px
        18px;

    border:
        0;

    border-radius:
        10px;

    background:
        #176caf;

    color:
        #ffffff;

    font:
        inherit;

    font-size:
        14px;

    font-weight:
        700;

    cursor:
        pointer;

    box-shadow:
        0
        8px
        20px
        rgba(23,108,175,.18);

    transition:
        background .2s ease,
        transform .2s ease;
}


.o500-lead__submit:hover {
    background:
        #14588f;

    transform:
        translateY(-1px);
}


.o500-lead__submit:active {
    transform:
        none;
}


/* =========================================================
   HONEYPOT
========================================================= */

.o500-lead__honeypot {
    position:
        absolute;

    left:
        -9999px;

    width:
        1px;

    height:
        1px;

    overflow:
        hidden;
}


/* =========================================================
   SUCCESS / ERROR
========================================================= */

.o500-lead__success,
.o500-lead__error {
    margin-bottom:
        16px;

    padding:
        15px
        16px;

    border-radius:
        12px;
}


.o500-lead__success {
    color:
        #176a37;

    background:
        #f0fbf4;

    border:
        1px solid
        #ccebd6;
}


.o500-lead__error {
    color:
        #8b2531;

    background:
        #fff5f6;

    border:
        1px solid
        #efd2d6;
}


.o500-lead__success strong,
.o500-lead__error strong {
    display:
        block;

    margin-bottom:
        4px;

    font-size:
        15px;
}


.o500-lead__success p,
.o500-lead__error p {
    margin:
        0;

    font-size:
        13px;

    line-height:
        1.5;
}


.o500-lead__form-column.is-sent
.o500-lead__form {
    display:
        none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .o500-lead__inner {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .o500-lead {
        padding:
            28px
            0;
    }


    .o500-lead__container {
        width:
            calc(100% - 20px);
    }


    .o500-lead__inner {
        border-radius:
            17px;
    }


    .o500-lead__info {
        padding:
            23px
            18px;
    }


    .o500-lead__info h2 {
        font-size:
            27px;
    }


    .o500-lead__form-column {
        padding:
            21px
            16px;
    }


    .o500-lead__grid {
        grid-template-columns:
            1fr;

        gap:
            11px;
    }


    .o500-lead__field--full {
        grid-column:
            auto;
    }

}