

/* Start:/local/templates/labciti/template_styles.css?178602650718786*/
/* ЛАБСИТИ — основные стили шаблона */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --lb-primary: #00abdf;
    --lb-primary-hover: #15c3fa;
    --lb-text: #3b4b64;
    --lb-text-muted: #777;
    --lb-bg: #f2f4f6;
    --lb-bg-light: #f8f8f8;
    --lb-white: #fff;
    --lb-dark: #111;
    --lb-radius: 10px;
    --lb-radius-lg: 30px;
    --lb-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
    --lb-container: 1200px;
    --lb-font: 'Montserrat', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: var(--lb-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--lb-text);
    background: var(--lb-white);
    overflow-x: hidden;
    max-width: 100%;
}

/* Блокировка скролла при открытом burger/modal — без сдвига страницы */
html.lb-scroll-lock,
html.lb-scroll-lock body {
    overflow: hidden;
    overscroll-behavior: none;
}

html.lb-scroll-lock body {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lb-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--lb-primary-hover); }

.lb-container {
    max-width: var(--lb-container);
    margin: 0 auto;
    padding: 0 20px;
}

.lb-section {
    padding: 75px 0;
}

.lb-section--gray { background: var(--lb-bg-light); }
.lb-section--bg { background: var(--lb-bg); }

.lb-section__title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 40px;
    color: var(--lb-text);
}

.lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--lb-font);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--lb-radius);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.lb-btn--primary {
    background: var(--lb-primary);
    color: var(--lb-white);
}

.lb-btn--primary:hover {
    background: var(--lb-primary-hover);
    color: var(--lb-white);
}

.lb-btn--outline {
    background: var(--lb-white);
    color: var(--lb-primary);
    border: 1px solid var(--lb-primary);
}

.lb-btn--outline:hover {
    background: var(--lb-bg-light);
}

.lb-btn--lg {
    padding: 20px 44px;
    border-radius: var(--lb-radius-lg);
    font-size: 16px;
}

.lb-btn--round {
    border-radius: 100px;
}

/* Header */
.lb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--lb-white);
    box-shadow: var(--lb-shadow);
}

.lb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.lb-header__logo img {
    width: 180px;
    max-width: 240px;
}

.lb-nav {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lb-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--lb-text);
}

.lb-nav a:hover,
.lb-nav a.is-active {
    color: var(--lb-primary);
    font-weight: 700;
}

.lb-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.lb-header__burger span {
    display: block;
    height: 3px;
    background: var(--lb-primary);
    border-radius: 2px;
    transition: transform 0.3s;
}

.lb-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.lb-mobile-menu.is-open { display: block; }

.lb-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 171, 223, 0.9);
}

.lb-mobile-menu__panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(100%, 420px);
    max-width: 100%;
    background: var(--lb-white);
    padding: 30px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.lb-mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1;
}

.lb-mobile-menu__close span {
    position: absolute;
    left: 2px;
    right: 2px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: var(--lb-primary);
    border-radius: 1px;
}

.lb-mobile-menu__close span:first-child {
    transform: rotate(45deg);
}

.lb-mobile-menu__close span:last-child {
    transform: rotate(-45deg);
}

.lb-mobile-menu__nav {
    list-style: none;
    margin: 60px 0 30px;
    padding: 0;
    text-align: right;
}

.lb-mobile-menu__nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--lb-text);
}

.lb-mobile-menu .lb-header__logo img {
    width: min(180px, 70vw);
}

/* Search bar */
.lb-search {
    padding: 30px 0;
}

.lb-search__form {
    display: flex;
    gap: 0;
    max-width: var(--lb-container);
    margin: 0 auto;
    padding: 0 20px;
}

.lb-search__input-wrap {
    flex: 1;
    position: relative;
}

.lb-search__input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    font-family: var(--lb-font);
    font-size: 16px;
    border: 1px solid #000;
    border-right: none;
    outline: none;
}

.lb-search__icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #b6b6b6;
    pointer-events: none;
}

.lb-search__submit {
    border-radius: 0 100px 100px 0;
    padding: 14px 32px;
}

/* Hero */
.lb-hero {
    background: var(--lb-bg);
    overflow: hidden;
}

.lb-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
    align-items: center;
}

.lb-hero__content {
    padding: 60px 40px 60px 0;
}

.lb-hero__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--lb-primary);
    margin: 0 0 30px;
    max-width: 400px;
}

.lb-hero__image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 100px 0 0 100px;
}

/* Promotions carousel */
.lb-promotions__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.lb-promotions__header .lb-section__title,
.lb-section__title--promo {
    margin: 0;
    position: relative;
    z-index: 2;
    background: var(--lb-white);
    padding-right: 16px;
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

.lb-promotions__header .lb-section__title::before,
.lb-promotions__header .lb-section__title::after,
.lb-section__title--promo::before,
.lb-section__title--promo::after {
    content: none !important;
    display: none !important;
}

.lb-promo-card__image--empty {
    background: linear-gradient(135deg, #e8f7fc, #f2f4f6);
}

.lb-gallery {
    padding-top: 20px;
}

.lb-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lb-gallery__item {
    margin: 0;
    border-radius: var(--lb-radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--lb-bg);
}

.lb-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-promotions__controls {
    display: flex;
    gap: 10px;
}

.lb-promotions__control {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--lb-primary);
    color: var(--lb-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lb-promotions__control:hover { background: var(--lb-primary-hover); }
.lb-promotions__control--next svg { transform: rotate(180deg); }

.lb-promotions {
    overflow-x: hidden;
}

.lb-promotions__track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
    max-width: 100%;
}

.lb-promotions__track::-webkit-scrollbar { display: none; }

.lb-promo-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: var(--lb-radius);
    overflow: hidden;
    background: var(--lb-white);
    box-shadow: var(--lb-shadow);
}

.lb-promo-card__image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.lb-promo-card__body { padding: 20px; }

.lb-promo-card__date {
    font-size: 12px;
    font-weight: 500;
    color: var(--lb-primary);
    margin-bottom: 8px;
}

.lb-promo-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.lb-promo-card__text {
    font-size: 14px;
    color: var(--lb-text);
    margin: 0 0 16px;
}

/* Popup modal */
.lb-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lb-modal.is-open { display: flex; }

.lb-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.lb-modal__content {
    position: relative;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--lb-white);
    border-radius: var(--lb-radius);
    padding: 40px;
}

.lb-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--lb-text);
}

.lb-modal__title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px;
}

/* Advantages */
.lb-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.lb-advantage {
    text-align: center;
}

.lb-advantage__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    object-fit: contain;
    display: block;
}

.lb-advantage__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.lb-advantage__text {
    font-size: 13px;
    color: var(--lb-text-muted);
    margin: 0;
}

/* Popular analyses */
.lb-popular__list { list-style: none; margin: 0; padding: 0; }

.lb-popular__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.lb-popular__code {
    font-size: 14px;
    color: var(--lb-text-muted);
    margin-bottom: 4px;
}

.lb-popular__name {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.lb-popular__price {
    font-size: 22px;
    font-weight: 600;
    color: var(--lb-primary);
    white-space: nowrap;
}

.lb-popular__footer {
    text-align: center;
    margin-top: 40px;
}

/* Medical centers */
.lb-medcenters__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.lb-medcenter-card {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.lb-medcenter-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.lb-medcenter-card__phone {
    font-size: 16px;
    font-weight: 500;
    color: var(--lb-primary);
}

.lb-medcenter-card__schedule {
    font-size: 14px;
    color: var(--lb-text-muted);
    margin-top: 8px;
    white-space: pre-line;
}

.lb-medcenters__map {
    min-height: 400px;
    background: var(--lb-bg);
    border-radius: var(--lb-radius);
}

/* Catalog */
.lb-catalog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.lb-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.lb-catalog-card {
    border: 1px solid #e5e5e5;
    border-radius: var(--lb-radius);
    padding: 20px;
    transition: box-shadow 0.2s;
}

.lb-catalog-card:hover { box-shadow: var(--lb-shadow); }

.lb-catalog-card__code {
    font-size: 13px;
    color: var(--lb-text-muted);
    margin-bottom: 8px;
}

.lb-catalog-card__name {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 12px;
}

.lb-catalog-card__price {
    font-size: 20px;
    font-weight: 600;
    color: var(--lb-primary);
}

.lb-catalog__list {
    margin-top: 8px;
}

.lb-catalog__meta {
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--lb-text-muted);
}

.lb-catalog__more {
    text-align: center;
    margin-top: 30px;
}

.lb-catalog__more-btn {
    min-width: 200px;
}

.lb-catalog__more-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.lb-catalog__more-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--lb-text-muted);
}

.lb-section__title--center {
    text-align: center;
    margin-bottom: 30px;
}

.lb-catalog__search {
    max-width: 900px;
    margin: 0 auto 30px;
}

.lb-search__form--catalog {
    padding: 0;
}

.lb-catalog__search-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.lb-catalog__search-query {
    margin: 0;
    font-size: 15px;
    color: var(--lb-text);
}

.lb-catalog__search-clear {
    font-size: 14px;
    font-weight: 500;
}

.lb-catalog__nav {
    margin-bottom: 24px;
}

.lb-catalog__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--lb-text-muted);
    margin-bottom: 12px;
}

.lb-catalog__breadcrumb a {
    color: var(--lb-text-muted);
}

.lb-catalog__breadcrumb a:hover {
    color: var(--lb-primary);
}

.lb-catalog__breadcrumb-sep {
    opacity: 0.5;
}

.lb-catalog__breadcrumb-current {
    color: var(--lb-text);
    font-weight: 500;
}

.lb-catalog__back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lb-primary);
}

.lb-catalog__sections {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.lb-catalog__section {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    font-size: 13px;
    color: var(--lb-text);
    background: var(--lb-white);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lb-catalog__section:hover {
    border-color: var(--lb-primary);
    color: var(--lb-primary);
    background: #f0fbff;
}

.lb-catalog__section-name {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.lb-catalog__section-count {
    flex-shrink: 0;
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--lb-bg);
    color: var(--lb-text-muted);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.lb-catalog__section:hover .lb-catalog__section-count {
    background: rgba(0, 171, 223, 0.12);
    color: var(--lb-primary);
}

.lb-catalog__note,
.lb-catalog__empty {
    text-align: center;
    color: var(--lb-text-muted);
    font-size: 14px;
    margin-top: 20px;
}

.lb-search__input-wrap {
    position: relative;
}

.title-search-result {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    z-index: 50;
    background: var(--lb-white);
    border: 1px solid #e5e5e5;
    border-radius: var(--lb-radius);
    box-shadow: var(--lb-shadow);
    max-height: 320px;
    overflow: auto;
}

.lb-search-suggest {
    padding: 6px 0;
}

.lb-search-suggest__item,
.lb-search-suggest__all {
    display: block;
    padding: 10px 16px;
    color: var(--lb-text);
    font-size: 14px;
}

.lb-search-suggest__item:hover,
.lb-search-suggest__all:hover {
    background: #f0fbff;
    color: var(--lb-primary);
}

.lb-search-suggest__all {
    border-top: 1px solid #eee;
    font-weight: 500;
    color: var(--lb-primary);
}

.lb-documents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lb-documents__item {
    display: block;
    border-radius: var(--lb-radius);
    overflow: hidden;
    box-shadow: var(--lb-shadow);
    transition: transform 0.2s;
}

.lb-documents__item:hover {
    transform: translateY(-2px);
}

.lb-documents__item img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .lb-documents {
        grid-template-columns: 1fr;
    }

    .lb-gallery__grid {
        grid-template-columns: 1fr;
    }

    .lb-catalog__search-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Info block */
.lb-info {
    font-size: 14px;
    color: var(--lb-text-muted);
}

.lb-info ul {
    padding-left: 20px;
}

.lb-info li { margin-bottom: 8px; }

/* Footer */
.lb-footer {
    background: var(--lb-dark);
    color: var(--lb-white);
    padding: 45px 0 30px;
}

.lb-footer a { color: var(--lb-white); }
.lb-footer a:hover { color: var(--lb-primary-hover); }

.lb-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    justify-content: center;
}

.lb-footer__legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.lb-footer__legal-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.lb-footer__copy {
    text-align: center;
    font-size: 13px;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 980px) {
    .lb-nav,
    .lb-header__actions .lb-btn { display: none; }

    .lb-header__burger { display: flex; }
}

@media (max-width: 768px) {
    .lb-section { padding: 45px 0; }

    .lb-hero__inner {
        grid-template-columns: 1fr;
    }

    .lb-hero__content { padding: 30px 0; }

    .lb-hero__title { font-size: 34px; }

    .lb-hero__image {
        min-height: 250px;
        border-radius: 40px 40px 0 0;
        order: -1;
    }

    .lb-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lb-medcenters__layout {
        grid-template-columns: 1fr;
    }

    .lb-footer__legal {
        grid-template-columns: 1fr;
    }

    .lb-promo-card { flex: 0 0 280px; }
}

@media (max-width: 480px) {
    .lb-advantages__grid {
        grid-template-columns: 1fr;
    }

    .lb-search__form {
        flex-direction: column;
    }

    .lb-search__input {
        border-right: 1px solid #000;
        border-radius: 0;
    }

    .lb-search__submit {
        border-radius: 100px;
        width: 100%;
    }
}

/* End */


/* Start:/local/templates/labciti/styles.css?17860266631144*/
/* Bitrix автоматом подключает styles.css.
   Основные стили — в template_styles.css, здесь только страховка для mobile. */

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

html.lb-scroll-lock,
html.lb-scroll-lock body {
    overflow: hidden;
    overscroll-behavior: none;
}

html.lb-scroll-lock body {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

.lb-mobile-menu {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.lb-mobile-menu__panel {
    width: min(100%, 420px);
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.lb-mobile-menu__close {
    width: 28px;
    height: 28px;
    padding: 0;
}

.lb-mobile-menu__close span {
    position: absolute;
    left: 2px;
    right: 2px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #00abdf;
    border-radius: 1px;
}

.lb-mobile-menu__close span:first-child {
    transform: rotate(45deg);
}

.lb-mobile-menu__close span:last-child {
    transform: rotate(-45deg);
}

.lb-promotions {
    overflow-x: hidden;
}

/* End */
/* /local/templates/labciti/template_styles.css?178602650718786 */
/* /local/templates/labciti/styles.css?17860266631144 */
