:root {
    --lab33-navy: #17355c;
    --lab33-blue: #1f6fb2;
    --lab33-blue-dark: #185d96;
    --lab33-text: #1b2a3a;
    --lab33-muted: #66778a;
    --lab33-bg: #f5f8fc;
    --lab33-border: #dfe7ef;
    --lab33-white: #fff;
    --lab33-radius: 16px;
    --lab33-shadow: 0 12px 30px rgba(25, 53, 92, .08);
    --lab33-container: 1240px;
    --lab33-header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--lab33-text);
    background: var(--lab33-white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}
a { color: var(--lab33-blue); text-decoration: none; }
a:hover { color: var(--lab33-blue-dark); }
img { max-width: 100%; height: auto; }

.site-container {
    width: min(calc(100% - 48px), var(--lab33-container));
    margin-inline: auto;
}
.site-container--narrow { max-width: 860px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.skip-link:focus {
    width: auto; height: auto; margin: 12px; padding: 8px 12px;
    clip: auto; z-index: 99999; background: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--lab33-header-height);
    display: flex;
    align-items: center;
    background: rgba(23, 53, 92, .95);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.home .site-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    background: rgba(255,255,255,.94);
    width: min(calc(100% - 48px), var(--lab33-container));
    margin-inline: auto;
    border-radius: 18px;
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: var(--lab33-header-height);
}
.site-logo__image, .custom-logo {
    display: block;
    width: 185px;
    max-height: 56px;
    object-fit: contain;
}
.site-logo__image--dark { width: 205px; max-height: 56px; object-fit: contain; }
.site-header:not(.home .site-header) .site-logo__image,
.site-header:not(.home .site-header) .custom-logo { filter: none; }
.primary-menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.main-navigation { justify-self: start; }
.primary-menu { display: flex; gap: 24px; align-items: center; }
.primary-menu a { color: #fff; font-weight: 600; font-size: 14px; }
.home .primary-menu a { color: var(--lab33-text); }
.header-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.header-actions__link { color: #fff; font-size: 14px; }
.home .header-actions__link { color: var(--lab33-text); }
.menu-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid var(--lab33-blue);
    border-radius: 10px;
    color: #fff;
    background: var(--lab33-blue);
    font-weight: 700;
    cursor: pointer;
}
.button:hover { color: #fff; background: var(--lab33-blue-dark); }
.button--small { min-height: 40px; padding: 8px 16px; }
.button--ghost { color: var(--lab33-blue); background: transparent; }
.button--ghost:hover { color: #fff; }

.hero--home {
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(13, 37, 66, .70), rgba(13, 37, 66, .74)),
        radial-gradient(circle at 75% 38%, #3978ae 0, transparent 28%),
        linear-gradient(135deg, #17355c 0%, #315f88 55%, #17355c 100%);
}
.hero__inner { padding-top: 110px; }
.hero__content { max-width: 700px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 72px); line-height: 1.05; }
.hero p { max-width: 650px; font-size: 20px; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; }
.eyebrow { color: #7db7e6; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

.section { padding: 72px 0; }
.section--muted { background: var(--lab33-bg); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: 34px; }
.feature-grid, .placeholder-grid { display: grid; gap: 20px; }
.feature-grid, .placeholder-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.placeholder-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.feature-card, .placeholder-card, .content-card {
    padding: 24px;
    border: 1px solid var(--lab33-border);
    border-radius: var(--lab33-radius);
    background: #fff;
    box-shadow: var(--lab33-shadow);
}
.feature-card h2 { font-size: 20px; margin-top: 0; }
.placeholder-card { min-height: 180px; display: grid; place-items: center; color: var(--lab33-muted); }

.page-shell { padding: 44px 0 84px; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; color: var(--lab33-muted); font-size: 14px; margin-bottom: 20px; }
.page-heading { margin: 0 0 32px; }
.page-heading h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; }
.entry-meta { color: var(--lab33-muted); font-size: 14px; }
.entry-content { font-size: 18px; }
.entry-content > * { max-width: 100%; }
.content-list { display: grid; gap: 18px; }
.content-card h2 { margin: 0 0 8px; }
.entry-image { margin-bottom: 30px; overflow: hidden; border-radius: var(--lab33-radius); }

.search-form { display: flex; gap: 10px; max-width: 760px; margin-top: 22px; }
.search-field {
    flex: 1;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--lab33-border);
    border-radius: 10px;
    font: inherit;
}

.site-footer { padding: 26px 0 10px; color: rgba(255,255,255,.84); background: #102a49; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr 0.9fr 0.95fr 0.95fr 0.8fr; gap: 32px; align-items: start; }
.site-footer__brand p { margin: 0; max-width: 290px; }
.site-footer__logo { max-width: 250px; margin-bottom: 14px; padding: 0; border-radius: 0; background: transparent; }
.site-logo__image--footer { width: 205px; max-height: 56px; object-fit: contain; }
.site-footer__social { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.site-footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.site-footer__social-link:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); transform: translateY(-1px); }
.site-footer__social-link svg { width: 18px; height: 18px; display: block; }
.site-footer__title { color: #fff; font-size: 16px; margin: 0 0 12px; }
.footer-menu li { margin: 4px 0; }
.site-footer__contacts { justify-self: end; }
.site-footer__contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__contact-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.site-footer__contact-icon { color: rgba(255,255,255,.9); width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.site-footer__contact-icon svg { width: 18px; height: 18px; display: block; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

.error-404 { padding: 80px 0 120px; text-align: center; }
.empty-state { padding: 48px; text-align: center; border: 1px dashed var(--lab33-border); border-radius: var(--lab33-radius); }

@media (max-width: 1100px) {
    .site-header__inner { grid-template-columns: 190px auto; }
    .menu-toggle { display: inline-grid; justify-self: end; gap: 4px; padding: 8px; background: transparent; border: 0; }
    .menu-toggle__line { display: block; width: 24px; height: 2px; background: #fff; }
    .home .menu-toggle__line { background: var(--lab33-text); }
    .main-navigation {
        display: none;
        grid-column: 1 / -1;
        padding: 18px 0;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .main-navigation.is-open { display: block; }
    .primary-menu { flex-direction: column; align-items: stretch; gap: 10px; }
    .header-actions { display: none; }
    .feature-grid, .placeholder-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
    :root { --lab33-header-height: 72px; }
    .site-container { width: min(calc(100% - 28px), var(--lab33-container)); }
    .home .site-header { top: 10px; width: calc(100% - 20px); }
    .site-header__inner { grid-template-columns: 1fr auto; gap: 14px; }
    .site-logo__image, .custom-logo { width: 150px; }
    .hero--home { min-height: 560px; }
    .hero__inner { padding-top: 90px; }
    .hero p { font-size: 17px; }
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .section { padding: 52px 0; }
    .feature-grid, .placeholder-grid--4, .placeholder-grid--3 { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
    .site-footer__contacts { justify-self: start; }
    .site-footer__bottom { flex-direction: column; }
    .search-form { flex-direction: column; }
}

/* ===== 0.2.0 — approved homepage top ===== */
.home { background:#fff; }
.home-utility {
    position:absolute; inset:0 0 auto 0; z-index:1002; height:38px;
    color:rgba(255,255,255,.86); font-size:12px;
}
.home-utility__inner { height:38px; display:flex; justify-content:space-between; align-items:center; }
.home-utility__left,.home-utility__right { display:flex; gap:20px; align-items:center; }
.home-utility a { color:rgba(255,255,255,.9); }
.home-utility a:hover { color:#fff; }

.home .site-header {
    top:46px; min-height:82px; background:rgba(255,255,255,.97);
    box-shadow:0 16px 36px rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.72);
    border-radius:6px; overflow:visible;
}
.home .site-header__inner { min-height:82px; }
.home .site-logo__image,.home .custom-logo { width:210px; max-height:58px; object-fit:contain; }
.home .primary-menu { justify-content:center; gap:34px; }
.home .primary-menu a { color:#252b31; text-transform:uppercase; letter-spacing:.04em; font-size:12px; font-weight:750; }
.home .primary-menu a:hover { color:var(--lab33-blue); }
.home .header-actions { gap:18px; }
.header-search { display:grid; place-items:center; width:36px; height:36px; color:inherit; font-size:26px; line-height:1; }
.home .header-search { color:#626b74; }

.hero--home {
    position:relative; min-height:690px; overflow:hidden; align-items:stretch;
    background:#151e27 url('../images/hero-office.svg') center/cover no-repeat;
}
.hero--home::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(3,8,14,.72) 0%,rgba(3,8,14,.56) 45%,rgba(3,8,14,.44) 100%); pointer-events:none; }
.hero-slider,.hero-slide { min-height:690px; }
.hero-slide { display:none; position:relative; z-index:1; }
.hero-slide.is-active { display:block; }
.hero__inner {
    min-height:690px; padding-top:180px; padding-bottom:54px;
    display:grid; grid-template-columns:minmax(0, .9fr) minmax(420px, 1.1fr); gap:48px; align-items:center;
}
.hero__content { max-width:610px; }
.hero .eyebrow { margin:0 0 10px; color:#c9d2db; text-transform:none; letter-spacing:0; font-size:14px; font-weight:500; }
.hero h1 { max-width:650px; margin:0 0 18px; font-size:clamp(40px,4vw,62px); font-weight:550; line-height:1.15; letter-spacing:-.025em; }
.hero p { max-width:580px; margin:0; color:rgba(255,255,255,.82); font-size:17px; line-height:1.55; }
.hero__actions { margin-top:26px; }
.button--light { background:#fff; color:#165b9b; border-color:#fff; }
.button--light:hover { color:#165b9b; background:#eef6fd; }
.hero__visual { display:flex; justify-content:flex-end; align-items:center; min-width:0; }
.hero__visual img { width:min(100%,650px); max-height:480px; filter:drop-shadow(0 18px 26px rgba(0,0,0,.25)); }
.hero-slider__controls {
    position:absolute; z-index:3; right:max(24px,calc((100vw - var(--lab33-container))/2)); bottom:42px;
    display:flex; gap:10px; align-items:center;
}
.hero-slider[data-slide-count="1"] .hero-slider__controls { display:none; }
.hero-slider__arrow { width:42px; height:42px; border:0; border-radius:4px; background:#fff; color:#23303c; font-size:28px; cursor:pointer; }
.hero-slider__dots { display:flex; gap:8px; }
.hero-slider__dot { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.72); cursor:pointer; }
.hero-slider__dot.is-active { background:#2f78be; }

.home-benefits { background:#fff; border-bottom:1px solid #e7ebef; }
.home-benefits__grid { min-height:142px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px; align-items:center; }
.home-benefit { display:grid; grid-template-columns:52px 1fr; gap:15px; align-items:start; padding:25px 0; }
.home-benefit__icon { display:grid; place-items:center; width:48px; height:48px; color:#1769aa; font-size:33px; font-family:Arial,sans-serif; }
.home-benefit h2 { margin:0 0 6px; color:#202833; font-size:16px; line-height:1.35; font-weight:600; }
.home-benefit p { margin:0; color:#626d78; font-size:13px; line-height:1.55; }

@media (max-width:1100px) {
    .home-utility { display:none; }
    .home .site-header { top:14px; }
    .hero__inner { grid-template-columns:1fr 1fr; padding-top:140px; }
    .home-benefits__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:820px) {
    .home .site-header { border-radius:12px; }
    .home .site-logo__image,.home .custom-logo { width:175px; }
    .hero--home,.hero-slider,.hero-slide { min-height:680px; }
    .hero__inner { grid-template-columns:1fr; padding-top:132px; padding-bottom:42px; }
    .hero__visual { display:none; }
    .hero h1 { font-size:44px; }
}
@media (max-width:720px) {
    .home .site-header { top:10px; }
    .hero--home,.hero-slider,.hero-slide { min-height:620px; }
    .hero__inner { min-height:620px; padding-top:118px; }
    .hero h1 { font-size:38px; }
    .home-benefits__grid { grid-template-columns:1fr; gap:0; }
    .home-benefit { border-bottom:1px solid #edf0f3; }
}


/* ===== 0.4.0 — отдельная сетка баннера =====
 * Баннер остаётся на всю ширину экрана, а его содержимое начинается
 * на той же вертикали, что и левый край светлой панели главного меню.
 */
.home .hero-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(24px, calc((100vw - var(--lab33-container)) / 2));
    padding-right: max(24px, calc((100vw - var(--lab33-container)) / 2));
}

@media (max-width: 1288px) {
    .home .hero-grid {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 720px) {
    .home .hero-grid {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* ===== 0.5.0 — доводка баннера и полноценный слайдер ===== */
.home .hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 64px;
}
.home .hero__content {
    max-width: 650px;
    align-self: center;
}
.home .hero h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(44px, 3.35vw, 58px);
    line-height: 1.08;
    font-weight: 560;
    letter-spacing: -.022em;
}
.home .hero p {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.58;
}
.home .hero__visual {
    justify-content: center;
    padding-left: 14px;
}
.home .hero__visual img {
    width: min(100%, 570px);
    max-height: 430px;
    transform: translateX(16px);
}

/* Плавное появление активного слайда. Слайды наполняются через lab33_home_slides. */
.hero-slide.is-active {
    animation: lab33HeroFade .48s ease both;
}
@keyframes lab33HeroFade {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.hero-slider__arrow,
.hero-slider__dot {
    transition: background-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.hero-slider__arrow:hover { transform: translateY(-1px); }
.hero-slider__dot:hover { opacity: 1; transform: scale(1.15); }

@media (max-width: 1100px) {
    .home .hero__inner { gap: 34px; }
    .home .hero h1 { font-size: clamp(42px, 4.7vw, 54px); }
    .home .hero__visual img { width: min(100%, 500px); transform: none; }
}

@media (max-width: 820px) {
    .home .hero__content { max-width: 620px; }
    .home .hero h1 { max-width: 620px; font-size: 44px; line-height: 1.08; }
}

@media (max-width: 720px) {
    .home .hero h1 { font-size: 38px; line-height: 1.1; }
}


/* ===== 0.6.0 — блок «Наши продукты» на главной ===== */
.home-products {
    padding: 16px 0 28px;
    background: #fff;
    border-bottom: 1px solid #e8edf2;
}
.home-products__heading {
    margin-bottom: 24px;
}
.home-products__heading h2 {
    font-size: 28px;
    line-height: 1.2;
    color: #1d2732;
}
.home-products__heading a {
    font-size: 14px;
    font-weight: 650;
}
.home-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.home-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 53, 92, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-product-card:hover {
    transform: translateY(-2px);
    border-color: #cddceb;
    box-shadow: 0 12px 30px rgba(25, 53, 92, .085);
}
.home-product-card__image {
    display: flex;
    height: 190px;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 8px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
}
.home-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.home-product-card__body {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    padding: 16px 18px 18px;
}
.home-product-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}
.home-product-card h3 a {
    color: #1d2732;
}
.home-product-card h3 a:hover {
    color: var(--lab33-blue);
}
.home-product-card p {
    margin: 0 0 18px;
    color: #657281;
    font-size: 13px;
    line-height: 1.5;
}
.home-product-card__footer {
    display: grid;
    gap: 13px;
    margin-top: auto;
}
.home-product-card__footer strong {
    color: #1769aa;
    font-size: 14px;
}
.home-product-card__button {
    width: 100%;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
}
.home-product-card__button:hover {
    background: var(--lab33-blue);
}

@media (max-width: 1100px) {
    .home-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .home-products { padding: 16px 0 28px; }
    .home-products__heading { align-items: center; }
    .home-products__heading h2 { font-size: 25px; }
    .home-products__grid { grid-template-columns: 1fr; }
    .home-product-card__image { height: 220px; }
}

/* ===== 0.9.0 — блок «Наши услуги» на главной ===== */
.home-services {
    padding: 14px 0 36px;
    background: #f8fbfe;
    border-bottom: 1px solid #e7edf3;
}
.home-services__heading {
    margin-bottom: 24px;
}
.home-services__heading h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    color: #1d2732;
}
.home-services__heading a {
    font-size: 14px;
    font-weight: 650;
}
.home-services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.home-service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    min-height: 310px;
    padding: 22px 20px 20px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 53, 92, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-service-card:hover {
    transform: translateY(-2px);
    border-color: #cadbea;
    box-shadow: 0 12px 30px rgba(25, 53, 92, .08);
}
.home-service-card__icon {
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eef6fd;
}
.home-service-card__icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.home-service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.home-service-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.32;
}
.home-service-card h3 a {
    color: #1d2732;
}
.home-service-card h3 a:hover {
    color: var(--lab33-blue);
}
.home-service-card p {
    margin: 0 0 18px;
    color: #657281;
    font-size: 13px;
    line-height: 1.5;
}
.home-service-card__link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 650;
}
@media (max-width: 1180px) {
    .home-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .home-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .home-services { padding: 16px 0 28px; }
    .home-services__heading h2 { font-size: 25px; }
    .home-services__grid { grid-template-columns: 1fr; }
    .home-service-card { min-height: 0; }
}


/* ===== 0.10.0 — Новости и статьи на главной ===== */
.home-publications {
    padding: 30px 0 42px;
    border-bottom: 1px solid #e7edf3;
}
.home-publications--news { background:#fff; }
.home-publications--articles { background:#f8fbfe; }
.home-publications__heading { margin-bottom:20px; }
.home-publications__heading h2 { margin:0; font-size:28px; line-height:1.2; color:#1d2732; }
.home-publications__heading a { font-size:14px; font-weight:650; }
.home-publications__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.home-publication-card { display:grid; grid-template-columns:150px 1fr; min-width:0; overflow:hidden; border:1px solid #dfe7ef; border-radius:8px; background:#fff; box-shadow:0 8px 22px rgba(25,53,92,.04); }
.home-publication-card__image { display:flex; min-height:180px; align-items:center; justify-content:center; padding:14px; background:#eef6fd; }
.home-publication-card__image img { width:100%; height:100%; object-fit:contain; }
.home-publication-card__body { display:flex; min-width:0; flex-direction:column; padding:16px 18px; }
.home-publication-card time { color:#7a8795; font-size:12px; }
.home-publication-card h3 { margin:8px 0 8px; font-size:17px; line-height:1.3; }
.home-publication-card h3 a { color:#1d2732; }
.home-publication-card h3 a:hover { color:var(--lab33-blue); }
.home-publication-card p { margin:0 0 14px; color:#657281; font-size:13px; line-height:1.5; }
.home-publication-card__link { margin-top:auto; font-size:13px; font-weight:650; }
@media (max-width:1100px) { .home-publications__grid { grid-template-columns:1fr; } .home-publication-card { grid-template-columns:180px 1fr; } }
@media (max-width:720px) { .home-publications { padding:24px 0 32px; } .home-publications__heading h2 { font-size:25px; } .home-publication-card { grid-template-columns:1fr; } .home-publication-card__image { min-height:190px; } }


/* ===== 0.11.0 — светлый футер в стиле согласованных макетов ===== */
.site-footer--light {
    padding: 42px 0 18px;
    color: #536170;
    background: #fff;
    border-top: 1px solid #e5ebf1;
}
.site-footer--light a { color: #273647; }
.site-footer--light a:hover { color: var(--lab33-blue); }
.site-footer__grid--full {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(145px, .85fr)) minmax(170px, .9fr);
    gap: 34px;
    align-items: start;
}
.site-footer--light .site-footer__logo {
    width: min(100%, 230px);
    max-width: 230px;
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.site-footer--light .site-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}
.site-footer--light .site-footer__brand p {
    max-width: 260px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #667382;
}
.site-footer--light .site-footer__title {
    margin: 2px 0 12px;
    color: #1e2a36;
    font-size: 14px;
    font-weight: 750;
}
.site-footer--light .footer-menu {
    display: block;
}
.site-footer--light .footer-menu li {
    margin: 6px 0;
}
.site-footer--light .footer-menu a,
.site-footer--light .site-footer__contacts p {
    font-size: 12.5px;
    line-height: 1.45;
}
.site-footer--light .site-footer__contacts p { margin: 0 0 10px; }
.site-footer--light .site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e8edf2;
    color: #74808c;
    font-size: 12px;
}
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
}

@media (max-width: 1100px) {
    .site-footer__grid--full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: span 2; }
}
@media (max-width: 720px) {
    .site-footer--light { padding-top: 32px; }
    .site-footer__grid--full { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__contacts { grid-column: 1 / -1; }
    .site-footer--light .site-footer__bottom { align-items: flex-start; }
    .site-footer__legal { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .site-footer__grid--full { grid-template-columns: 1fr; }
    .site-footer__brand, .site-footer__contacts { grid-column: auto; }
    .site-footer--light .site-footer__bottom { flex-direction: column; }
    .site-footer__legal { flex-direction: column; gap: 8px; }
}


/* ===== 0.12.0 — тёмный футер ===== */
.site-footer--dark {
    padding: 42px 0 18px;
    background: #102231;
    color: rgba(255,255,255,.76);
    border-top: 1px solid rgba(255,255,255,.04);
}
.site-footer--dark a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}
.site-footer--dark a:hover {
    color: #72b9f2;
}
.site-footer--dark .site-footer__grid--full {
    grid-template-columns: 1.45fr 1fr 1fr 1fr .85fr;
    gap: 38px;
    align-items: start;
}
.site-footer--dark .site-footer__logo {
    max-width: 235px;
    margin: 0 0 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.site-footer--dark .site-footer__logo img {
    display: block;
    max-width: 100%;
    height: auto;
}
.site-footer--dark .site-footer__brand p {
    max-width: 300px;
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.65;
}
.site-footer--dark .site-footer__title {
    margin: 0 0 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.site-footer--dark .footer-menu {
    margin: 0;
    padding: 0;
}
.site-footer--dark .footer-menu li {
    margin: 0 0 9px;
}
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contacts p {
    font-size: 13px;
    line-height: 1.5;
}
.site-footer--dark .site-footer__contacts p {
    margin: 0 0 10px;
}
.site-footer--dark .site-footer__bottom {
    margin-top: 34px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
}
.site-footer--dark .site-footer__legal {
    display: flex;
    gap: 28px;
}
.site-footer--dark .site-footer__bottom a {
    color: rgba(255,255,255,.62);
}
.site-footer--dark .site-footer__bottom a:hover {
    color: #fff;
}
@media (max-width: 1180px) {
    .site-footer--dark .site-footer__grid--full { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .site-footer--dark .site-footer__brand { grid-column: span 2; }
}
@media (max-width: 820px) {
    .site-footer--dark { padding-top: 32px; }
    .site-footer--dark .site-footer__grid--full { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .site-footer--dark .site-footer__brand,
    .site-footer--dark .site-footer__contacts { grid-column: 1 / -1; }
    .site-footer--dark .site-footer__bottom { align-items: flex-start; }
    .site-footer--dark .site-footer__legal { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .site-footer--dark .site-footer__grid--full { grid-template-columns: 1fr; }
    .site-footer--dark .site-footer__brand,
    .site-footer--dark .site-footer__contacts { grid-column: auto; }
    .site-footer--dark .site-footer__bottom { flex-direction: column; }
    .site-footer--dark .site-footer__legal { flex-direction: column; gap: 8px; }
}


/* ===== 0.16.0 — более компактный тёмный футер ===== */
.site-footer--dark {
    padding: 22px 0 9px;
}
.site-footer--dark .site-footer__grid--full {
    gap: 26px;
}
.site-footer--dark .site-footer__logo {
    margin-bottom: 9px;
}
.site-footer--dark .site-footer__brand p {
    font-size: 12px;
    line-height: 1.4;
}
.site-footer--dark .site-footer__social {
    margin-top: 15px;
}
.site-footer--dark .site-footer__title {
    margin-bottom: 8px;
    font-size: 14px;
}
.site-footer--dark .footer-menu li {
    margin-bottom: 4px;
}
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contact-list,
.site-footer--dark .site-footer__contacts p {
    font-size: 12px;
    line-height: 1.35;
}
.site-footer--dark .site-footer__contact-list {
    gap: 7px;
}
.site-footer--dark .site-footer__bottom {
    margin-top: 16px;
    padding-top: 9px;
    font-size: 12px;
}
.site-footer--dark .site-footer__legal {
    gap: 22px;
}
@media (max-width: 820px) {
    .site-footer--dark { padding-top: 24px; }
}


/* ===== 0.19.0 — refined catalog page ===== */
.catalog-page {
    padding: 26px 0 52px;
    background: #fff;
}
.catalog-page .breadcrumbs { margin-bottom: 12px; }
.catalog-page__heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 18px;
}
.catalog-page__heading h1 {
    margin: 0 0 5px;
    font-size: clamp(31px, 3vw, 42px);
    line-height: 1.08;
    color: #1d2732;
}
.catalog-page__heading p { margin: 0; color: #66778a; font-size: 14px; }
.catalog-layout {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.catalog-sidebar {
    position: sticky;
    top: calc(var(--lab33-header-height) + 16px);
    display: grid;
    gap: 14px;
}
.catalog-filter {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    background: #fff;
}
.catalog-filter h2 {
    margin: 0;
    padding: 13px 15px;
    border-bottom: 1px solid #e5ebf1;
    color: #1d2732;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}
.catalog-filter__links { display: grid; }
.catalog-filter__links a {
    display: block;
    position: relative;
    padding: 11px 15px;
    border-bottom: 1px solid #edf1f5;
    color: #334456;
    font-size: 12.5px;
    line-height: 1.4;
    transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.catalog-filter__links a:last-child { border-bottom: 0; }
.catalog-filter__links a:hover { color: #1769aa; background: #f7fafd; padding-left: 18px; }
.catalog-filter__links a.is-active {
    color: #1769aa;
    background: #eef6fd;
    font-weight: 650;
}
.catalog-filter__links a.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1f78bd;
}
.catalog-filter__links--compact {
    grid-template-columns: repeat(2, minmax(0,1fr));
    padding: 8px;
    gap: 6px;
}
.catalog-filter__links--compact a {
    border: 1px solid #e4ebf2;
    border-radius: 5px;
    padding: 7px 8px;
    text-align: center;
    background: #fbfdff;
    font-size: 11.5px;
}
.catalog-filter__links--compact a:hover { padding-left: 8px; background: #eef6fd; border-color: #cbddec; }
.catalog-products {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    background: #fff;
}
.catalog-product {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 188px;
    gap: 24px;
    min-height: 226px;
    padding: 18px;
    border-bottom: 1px solid #e2e8ee;
    transition: background .18s ease;
}
.catalog-product:hover { background: #fcfdff; }
.catalog-product:last-child { border-bottom: 0; }
.catalog-product__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    padding: 12px;
    border: 1px solid #e0e9f2;
    border-radius: 6px;
    background: #f2f8fd;
}
.catalog-product__image img { width: 100%; height: 170px; object-fit: contain; }
.catalog-product__main { padding: 2px 0; }
.catalog-product__type {
    margin: 0 0 7px;
    color: #1f6fb2;
    font-size: 11.5px;
    font-weight: 650;
}
.catalog-product h2 { margin: 0 0 9px; font-size: 19px; line-height: 1.24; }
.catalog-product h2 a { color: #1d2732; }
.catalog-product h2 a:hover { color: #1f6fb2; }
.catalog-product__description { margin: 0 0 14px; color: #5e6b79; font-size: 12.5px; line-height: 1.5; }
.catalog-product__supply { margin: 0 0 12px; }
.catalog-product__supply .product-supply__title { margin-bottom: 7px; font-size: 11.5px; }
.catalog-product__supply .product-supply__options { gap: 7px; }
.catalog-product__supply .product-supply__option { min-height: 34px; padding: 7px 12px; font-size: 12px; }
.catalog-product__purpose { margin-top: 2px; }
.catalog-product__purpose-label { display: block; margin-bottom: 7px; color: #8a96a2; font-size: 11px; }
.catalog-product__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-product__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef6fd;
    color: #2b628f;
    font-size: 10.5px;
    line-height: 1;
}
.catalog-product__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 3px;
}
.catalog-product__price {
    min-height: 40px;
    color: #1d2732;
    font-size: 17px;
    line-height: 1.2;
}
.catalog-product__order,
.catalog-product__question { width: 100%; min-height: 37px; padding: 6px 11px; border-radius: 5px; font-size: 12.5px; }
.catalog-product__question { margin-top: 7px; }
.catalog-product__article { margin-top: 12px; color: #7a8794; font-size: 12px; line-height: 1.35; }
.catalog-product__more { margin-top: auto; padding-top: 14px; text-align: right; font-size: 12px; font-weight: 650; }

@media (max-width: 1050px) {
    .catalog-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 20px; }
    .catalog-product { grid-template-columns: 170px minmax(0, 1fr); }
    .catalog-product__actions { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
    .catalog-product__price { grid-column: 1 / -1; min-height: 0; }
    .catalog-product__question { margin-top: 0; }
    .catalog-product__article { grid-column: 1 / -1; margin-top: 2px; }
    .catalog-product__more { grid-column: 1 / -1; margin-top: 0; padding-top: 4px; }
}
@media (max-width: 780px) {
    .catalog-page { padding-top: 22px; }
    .catalog-page__heading { align-items: start; flex-direction: column; margin-bottom: 16px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .catalog-product { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px; }
    .catalog-product__image { min-height: 155px; }
    .catalog-product__image img { height: 140px; }
}
@media (max-width: 620px) {
    .catalog-sidebar { grid-template-columns: 1fr; }
    .catalog-filter__links--compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .catalog-product { grid-template-columns: 1fr; }
    .catalog-product__image { min-height: 200px; }
    .catalog-product__image img { height: 180px; }
    .catalog-product__actions { grid-column: auto; grid-template-columns: 1fr; }
    .catalog-product__price, .catalog-product__more { grid-column: auto; }
    .catalog-product__more { text-align: left; }
}


/* ===== 0.21.0 — product page ===== */
.product-page { padding: 26px 0 54px; background: #fff; }
.product-page .breadcrumbs { margin-bottom: 12px; }
.product-page__header { margin-bottom: 18px; }
.product-page__header h1 { margin: 0 0 10px; color: #1d2732; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.12; }
.product-page__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.product-page__meta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #465667; font-size: 12.5px; }
.product-page__meta-group strong { color: #1d2732; }
.product-page__meta-group span { padding: 5px 11px; border-radius: 5px; background: #eef6fd; color: #24699f; }
.product-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(390px, 1.02fr) 280px; gap: 20px; align-items: start; margin-bottom: 26px; }
.product-visual { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 10px; min-width: 0; }
.product-visual__thumbs { display: grid; align-content: start; gap: 8px; max-height: 400px; overflow: auto; padding-right: 2px; }
.product-visual__thumb { width: 66px; height: 66px; padding: 4px; border: 1px solid #dce5ed; border-radius: 6px; background: #fff; cursor: pointer; }
.product-visual__thumb.is-active { border: 2px solid #1f78bd; padding: 3px; }
.product-visual__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-visual__main { display: grid; place-items: center; min-height: 350px; padding: 14px; border: 1px solid #dce5ed; border-radius: 7px; background: #fff; }
.product-visual__main img { display: block; width: 100%; max-height: 365px; object-fit: contain; cursor: zoom-in; }
.product-visual__placeholder { color: #8a96a2; }
.product-summary { padding-top: 2px; }
.product-summary__type { margin: 0 0 9px; color: #1f6fb2; font-size: 12px; font-weight: 700; }
.product-summary__lead { margin: 0 0 16px; color: #3f4d5b; font-size: 13.5px; line-height: 1.52; }
.product-summary h2 { margin: 0 0 8px; font-size: 15px; color: #1d2732; }
.product-specs { margin: 0; display: grid; gap: 0; }
.product-specs div { display: grid; grid-template-columns: 24px 92px minmax(0,1fr); gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #edf1f5; font-size: 12.5px; }
.product-specs__icon { display:grid; place-items:center; width:22px; height:22px; color:#2879ba; }
.product-specs__icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.product-specs dt { color: #7a8794; }
.product-specs dd { margin: 0; color: #273747; }
.product-buybox { position: sticky; top: calc(var(--lab33-header-height) + 16px); padding: 18px; border: 1px solid #dde6ee; border-radius: 7px; background: #fff; box-shadow: 0 12px 32px rgba(27,54,86,.08); }
.product-buybox__type { margin: 0 0 8px; color: #586776; font-size: 13px; line-height: 1.4; }
.product-buybox__price { margin-bottom: 8px; color: #1d2732; font-size: 24px; font-weight: 750; line-height: 1.2; }
.product-buybox__availability { margin: 0 0 18px; color: #39a83f; font-size: 12.5px; font-weight: 650; }
.product-buybox__availability span { font-size: 10px; vertical-align: 1px; }
.product-buybox__order, .product-buybox__question { width: 100%; border-radius: 5px; }
.product-buybox__question { margin-top: 9px; }
.product-buybox__note { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid #e9edf1; color: #7a8794; font-size: 12px; }
.product-buybox__rows { display:grid; gap:0; margin:17px 0 0; padding-top:12px; border-top:1px solid #e9edf1; }
.product-buybox__rows div { display:grid; grid-template-columns:78px 1fr; gap:8px; padding:5px 0; font-size:12px; }
.product-buybox__rows dt { color:#7a8794; }
.product-buybox__rows dd { margin:0; color:#334456; }
.product-tabs { margin-top: 12px; }
.product-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #dfe6ed; }
.product-tabs__button { min-height: 48px; padding: 10px 22px; border: 1px solid #dfe6ed; border-bottom: 0; border-radius: 6px 6px 0 0; background: #fafcfe; color: #334456; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.product-tabs__button:hover { color: #1769aa; background: #f3f8fc; }
.product-tabs__button.is-active { position: relative; color: #1769aa; background: #fff; }
.product-tabs__button.is-active::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; border-radius: 6px 6px 0 0; background: #1f78bd; }
.product-tabs__panels { padding-top: 22px; }
.product-tabs__panel { max-width: 100%; font-size: 14px; line-height: 1.58; }
.product-tabs__panel[hidden] { display: none !important; }
.product-tabs__panel h2 { font-size: 23px; }
.product-tabs__panel h3 { font-size: 19px; }
.product-tabs__panel img { max-width: 100%; height: auto; }

@media (max-width: 1120px) {
    .product-hero { grid-template-columns: minmax(0,.92fr) minmax(300px,1.08fr); }
    .product-buybox { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
    .product-buybox__type { margin: 0; }
    .product-buybox__price { margin: 0; }
    .product-buybox__order, .product-buybox__question { width: auto; min-width: 180px; margin: 0; }
    .product-buybox__note { grid-column: 1 / -1; margin-top: 2px; }
}
@media (max-width: 820px) {
    .product-hero { grid-template-columns: 1fr; }
    .product-visual__main { min-height: 320px; }
    .product-buybox { display: block; }
    .product-buybox__price { margin-bottom: 14px; }
    .product-buybox__order, .product-buybox__question { width: 100%; }
    .product-buybox__question { margin-top: 8px; }
}
@media (max-width: 560px) {
    .product-page { padding-top: 20px; }
    .product-visual { grid-template-columns: 1fr; }
    .product-visual__thumbs { grid-template-columns: repeat(4, 1fr); grid-row: 2; max-height: none; overflow: visible; }
    .product-visual__thumb { width: 100%; height: 66px; }
    .product-tabs__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 0; }
    .product-tabs__button { border: 1px solid #dfe6ed; border-radius: 5px; }
}

.product-supply{margin:0 0 16px;padding:8px 0 2px}.product-supply__title{margin-bottom:8px;color:#7a8794;font-size:12.5px}.product-supply__options{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}.product-supply__option{appearance:none;flex:0 0 auto;max-width:100%;min-height:38px;border:1px solid #d5e0ea;border-radius:5px;background:#fff;color:#354657;padding:8px 14px;font:inherit;font-size:12.5px;line-height:1.25;text-align:center;white-space:normal;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}.product-supply__option:hover{border-color:#7fb2dc;background:#f7fbff}.product-supply__option.is-active{border-color:#2879ba;background:#edf6fd;color:#1767a8;box-shadow:inset 0 0 0 1px #2879ba}.product-supply__option:focus-visible{outline:2px solid #7fb2dc;outline-offset:2px}

/* ===== 0.26.0 — cart and request ===== */
.cart-page,.request-page{padding:26px 0 56px;background:#fff}.cart-page__heading,.request-page__heading{margin:0 0 20px}.cart-page__heading h1,.request-page__heading h1,.request-success h1{margin:0 0 6px;color:#1d2732;font-size:clamp(30px,3vw,42px);line-height:1.08}.cart-page__heading p,.request-page__heading p,.request-success p{margin:0;color:#66778a;font-size:14px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.cart-items{display:grid;gap:10px}.cart-item{display:grid;grid-template-columns:92px minmax(0,1fr) 120px 112px 120px auto;gap:16px;align-items:center;padding:15px;border:1px solid #dfe7ef;border-radius:7px;background:#fff}.cart-item__image{display:grid;place-items:center;width:92px;height:82px;padding:6px;border-radius:6px;background:#f2f8fd}.cart-item__image img{max-width:100%;max-height:100%;object-fit:contain}.cart-item h2{margin:0 0 7px;font-size:16px;line-height:1.3;font-weight:400}.cart-item h2 a{color:#1d2732;font-weight:400}.cart-item__variant,.cart-item__article{margin:3px 0;color:#687889;font-size:12px}.cart-item__price,.cart-item__sum{font-size:14px;font-weight:700;color:#1d2732}.cart-item__quantity{display:grid;grid-template-columns:32px 46px 32px;align-items:center}.cart-item__quantity button,.cart-item__quantity input{height:34px;border:1px solid #d5e0ea;background:#fff;text-align:center}.cart-item__quantity button{cursor:pointer;font-size:18px}.cart-item__quantity input{width:46px;border-left:0;border-right:0}.cart-item__remove{border:0;background:none;color:#c54336;font-size:12px;cursor:pointer}.cart-summary,.request-summary{position:sticky;top:calc(var(--lab33-header-height) + 16px);padding:20px;border:1px solid #dfe7ef;border-radius:7px;background:#fff;box-shadow:0 12px 32px rgba(27,54,86,.07)}.cart-summary h2,.request-summary h2{margin:0 0 16px;font-size:19px}.cart-summary__row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;color:#687889;font-size:13px}.cart-summary__total{margin-top:4px;padding-top:14px;border-top:1px solid #e5ebf1;color:#1d2732}.cart-summary__total strong{font-size:20px}.cart-summary__checkout{width:100%;margin-top:16px}.cart-summary__checkout.is-disabled{opacity:.5;pointer-events:none}.cart-summary__continue{display:block;margin-top:14px;text-align:center;font-size:12px}.cart-empty{padding:34px;border:1px dashed #ccd9e5;border-radius:7px;text-align:center}.cart-empty h2{margin:0 0 8px}.cart-empty p{margin:0 0 18px;color:#687889}.request-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start}.request-main{display:grid;gap:16px;min-width:0}.request-form{padding:22px;border:1px solid #dfe7ef;border-radius:7px;background:#fff}.request-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.request-form label{display:grid;gap:6px}.request-form label span{color:#334456;font-size:12.5px;font-weight:650}.request-form input,.request-form textarea{width:100%;border:1px solid #d5e0ea;border-radius:5px;padding:10px 12px;font:inherit;background:#fff}.request-form__comment{margin-top:16px}.request-form__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.request-form__submit{margin-top:0;min-width:210px}.request-form__submit--invoice{min-width:240px}.request-form__note{margin:10px 0 0;color:#8794a1;font-size:11.5px}.request-inline-success{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:14px;padding:12px 14px;border:1px solid #bfe3c5;border-radius:6px;background:#f1fbf3;color:#267a35;font-size:13px}.request-inline-success[hidden]{display:none}.request-inline-success strong{font-size:14px}.request-inline-success span{color:#547160}.request-summary__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f5;font-size:12.5px}.request-summary__item strong{display:block;color:#1d2732}.request-summary__item span{display:block;margin-top:3px;color:#718091}.request-summary__total{display:flex;justify-content:space-between;gap:16px;padding-top:16px}.request-summary__total strong{font-size:20px}.request-summary__empty{color:#718091}.request-error{margin:0 0 18px;padding:12px 14px;border:1px solid #f0c9c5;border-radius:6px;background:#fff6f5;color:#9d3127}.request-success{max-width:700px;margin:36px auto;padding:40px;border:1px solid #dfe7ef;border-radius:8px;text-align:center}.request-success__icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border-radius:50%;background:#eaf8ec;color:#2d9b39;font-size:30px;font-weight:700}.request-success .button{margin-top:22px}.button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1050px){.cart-layout,.request-layout{grid-template-columns:1fr}.cart-summary,.request-summary{position:static}.cart-item{grid-template-columns:80px minmax(0,1fr) 110px 110px}.cart-item__sum{grid-column:3}.cart-item__remove{grid-column:4}.cart-item__quantity{grid-row:2;grid-column:3/5}}
@media(max-width:680px){.cart-item{grid-template-columns:70px minmax(0,1fr);gap:12px}.cart-item__image{width:70px;height:70px}.cart-item__price,.cart-item__quantity,.cart-item__sum,.cart-item__remove{grid-column:2}.cart-item__quantity{grid-row:auto}.request-form__grid{grid-template-columns:1fr}}

/* ===== 0.27.0 — заявка: реквизиты по ИНН / DaData ===== */
.request-form__lookup{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}.request-form__lookup-button{min-width:132px;border:1px solid #2b78b8;border-radius:5px;background:#fff;color:#1769aa;padding:8px 11px;font:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}.request-form__lookup-button:hover{background:#f2f8fd}.request-form__lookup-button:disabled{opacity:.55;cursor:wait}.request-form__lookup-status{display:block;min-height:16px;color:#748393;font-size:11px;line-height:1.35}.request-form__lookup-status[data-state="success"]{color:#2f9239}.request-form__lookup-status[data-state="error"]{color:#b33b30}.request-form__lookup-status[data-state="loading"]{color:#58738c}@media(max-width:680px){.request-form__lookup{grid-template-columns:1fr}.request-form__lookup-button{width:100%}}

.request-form--sent input[readonly],.request-form--sent textarea[readonly]{background:#f6f9fc;color:#334456}.request-inline-success--after-submit{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:start;margin-top:0;padding:18px;border-color:#bfe3c5;background:#f1fbf3}.request-inline-success__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dff4e3;color:#259238;font-size:25px;font-weight:700}.request-inline-success__content{display:grid;justify-items:start;gap:5px}.request-inline-success__content strong{font-size:18px;color:#1f6f2d}.request-inline-success__content span{color:#547160}.request-inline-success__invoice{margin-top:8px}

/* Account creation on order request */
.request-account{margin-top:18px;padding:14px 16px;border:1px solid #dfe7ef;border-radius:7px;background:#f8fbfe}.request-account__toggle{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:center;gap:9px!important;cursor:pointer}.request-account__toggle input{width:16px;height:16px;margin:0;padding:0;flex:0 0 auto}.request-account__toggle span{font-size:13px!important;color:#1d2732!important}.request-account__hint{margin:7px 0 0;color:#748393;font-size:11.5px;line-height:1.45}.request-account__fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.request-account__fields[hidden]{display:none}.request-account--logged{color:#536b7f;font-size:12.5px}.request-account--logged a{font-weight:650}.request-error a{font-weight:700}@media(max-width:680px){.request-account__fields{grid-template-columns:1fr}}

/* Personal cabinet */
.cabinet-page{padding:28px 0 64px;background:#fff}.cabinet-page__heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}.cabinet-page__heading h1{margin:0 0 5px;font-size:clamp(30px,3vw,42px);line-height:1.08;color:#1d2732}.cabinet-page__heading p{margin:0;color:#6f7f90}.cabinet-login{max-width:520px;padding:24px;border:1px solid #dfe7ef;border-radius:8px;background:#fff;box-shadow:0 12px 32px rgba(27,54,86,.06)}.cabinet-login h2{margin:0 0 14px}.cabinet-login form p{margin:0 0 14px}.cabinet-login label{display:block;margin-bottom:6px;font-size:12.5px;font-weight:650}.cabinet-login input[type=text],.cabinet-login input[type=password]{width:100%;border:1px solid #d5e0ea;border-radius:5px;padding:10px 12px}.cabinet-login .login-submit input{border:0;border-radius:6px;background:#2779ba;color:#fff;padding:11px 20px;font-weight:700;cursor:pointer}.cabinet-login__note{margin-top:12px;color:#738293;font-size:12px}.cabinet-actions{display:flex;gap:10px;align-items:center}.cabinet-requests{display:grid;gap:12px}.cabinet-request{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.cabinet-request__head{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;margin-bottom:10px}.cabinet-request__head strong{font-size:16px}.cabinet-request__date{color:#7b8997;font-size:12px}.cabinet-request__items{display:grid;gap:6px;color:#435466;font-size:12.5px}.cabinet-request__item{display:flex;flex-wrap:wrap;gap:5px}.cabinet-request__item span{color:#778695}.cabinet-request__side{display:grid;align-content:start;justify-items:end;gap:10px;min-width:170px}.cabinet-request__total{font-size:18px;font-weight:750;color:#1d2732}.cabinet-request__status{font-size:11px;color:#2f8f3e;background:#edf8ef;border-radius:999px;padding:4px 8px}.cabinet-empty{padding:26px;border:1px dashed #cbd8e4;border-radius:8px;color:#6d7d8d}.cabinet-request .button{white-space:nowrap}@media(max-width:720px){.cabinet-page__heading{align-items:start;flex-direction:column}.cabinet-request{grid-template-columns:1fr}.cabinet-request__side{justify-items:start}}

/* ===== 0.31.0 — каркас личного кабинета ===== */
.cabinet-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.cabinet-sidebar {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(27,54,86,.04);
}
.cabinet-usercard {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    padding: 17px 16px;
    border-bottom: 1px solid #e7edf3;
    background: #f8fbfe;
}
.cabinet-usercard__avatar img {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}
.cabinet-usercard__info {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.cabinet-usercard__info strong {
    overflow: hidden;
    color: #1d2732;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cabinet-usercard__info span {
    overflow: hidden;
    color: #7a8998;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cabinet-nav { display: grid; padding: 7px 0; }
.cabinet-nav__item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 9px 14px;
    color: #405365;
    font-size: 13px;
    font-weight: 600;
    transition: color .15s ease, background .15s ease;
}
.cabinet-nav__item:hover { color: #1769aa; background: #f5f9fc; }
.cabinet-nav__item.is-active {
    color: #1769aa;
    background: #edf6fd;
}
.cabinet-nav__item.is-active::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #2879ba;
}
.cabinet-nav__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: currentColor;
}
.cabinet-nav__icon svg,
.cabinet-placeholder__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cabinet-content {
    min-width: 0;
    padding: 20px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
}
.cabinet-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf3;
}
.cabinet-section-heading h2 { margin: 0 0 4px; color: #1d2732; font-size: 23px; line-height: 1.2; }
.cabinet-section-heading p { margin: 0; color: #748392; font-size: 12.5px; }
.cabinet-placeholder {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 260px;
    place-content: center;
    padding: 32px;
    border: 1px dashed #cbd8e4;
    border-radius: 8px;
    text-align: center;
    color: #718191;
    background: #fbfdff;
}
.cabinet-placeholder__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #2879ba;
    background: #edf6fd;
}
.cabinet-placeholder__icon svg { width: 24px; height: 24px; }
.cabinet-placeholder h3 { margin: 4px 0 0; color: #263747; font-size: 17px; }
.cabinet-placeholder p { max-width: 430px; margin: 0; font-size: 12.5px; line-height: 1.5; }

@media (max-width: 900px) {
    .cabinet-shell { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
    .cabinet-usercard { grid-template-columns: 44px minmax(0,1fr); padding: 14px 12px; }
    .cabinet-usercard__avatar img { width: 44px; height: 44px; }
    .cabinet-content { padding: 17px; }
}
@media (max-width: 720px) {
    .cabinet-shell { grid-template-columns: 1fr; }
    .cabinet-sidebar { position: static; }
    .cabinet-nav { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 7px; gap: 5px; }
    .cabinet-nav__item { border-radius: 5px; padding: 8px 10px; }
    .cabinet-nav__item.is-active::before { display: none; }
}
@media (max-width: 480px) {
    .cabinet-nav { grid-template-columns: 1fr; }
}

/* ===== 0.31.1 — компактные заявки и просмотр заявки ===== */
.cabinet-requests--compact{gap:8px}
.cabinet-request--compact{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:11px 14px;
    color:inherit;
    text-decoration:none;
    transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cabinet-request--compact:hover{
    border-color:#bfd4e6;
    background:#fbfdff;
    box-shadow:0 5px 16px rgba(27,54,86,.05);
}
.cabinet-request--compact .cabinet-request__head{margin-bottom:4px;gap:7px 12px}
.cabinet-request--compact .cabinet-request__head strong{font-size:14px}
.cabinet-request__summary-line{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    align-items:center;
    min-width:0;
    color:#768594;
    font-size:12px;
    line-height:1.35;
}
.cabinet-request__summary-line strong{
    overflow:hidden;
    max-width:620px;
    color:#334657;
    font-size:12.5px;
    font-weight:600;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.cabinet-request__compact-side{
    display:grid;
    grid-template-columns:auto auto;
    gap:8px 14px;
    align-items:center;
    justify-items:end;
    min-width:170px;
}
.cabinet-request__compact-side .cabinet-request__total{font-size:16px}
.cabinet-request-detail{display:grid;gap:18px}
.cabinet-request-detail__top{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
    padding-bottom:14px;
    border-bottom:1px solid #e7edf3;
}
.cabinet-request-detail__top h3{margin:0 0 4px;color:#1d2732;font-size:21px}
.cabinet-request-detail__top span:not(.cabinet-request__status){color:#7b8997;font-size:12px}
.cabinet-request-detail__buyer{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 22px;
    padding:14px;
    border:1px solid #e2e9ef;
    border-radius:7px;
    background:#f9fbfd;
}
.cabinet-request-detail__field{display:grid;gap:3px;min-width:0}
.cabinet-request-detail__field span{color:#7b8997;font-size:11.5px}
.cabinet-request-detail__field strong{color:#2a3b4b;font-size:12.5px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.cabinet-request-detail__items{overflow:hidden;border:1px solid #dfe7ef;border-radius:7px}
.cabinet-request-detail__row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 80px 120px 120px;
    gap:12px;
    align-items:center;
    padding:10px 12px;
    border-top:1px solid #edf1f5;
    font-size:12.5px;
}
.cabinet-request-detail__row:first-child{border-top:0}
.cabinet-request-detail__row--head{background:#f7fafc;color:#627486;font-size:11.5px;font-weight:650}
.cabinet-request-detail__row > span:nth-child(n+2){text-align:right}
.cabinet-request-detail__row small{display:block;margin-top:3px;color:#7b8997;font-size:11.5px}
.cabinet-request-detail__comment{padding:13px 14px;border:1px solid #e2e9ef;border-radius:7px;background:#fff}
.cabinet-request-detail__comment > span{color:#7b8997;font-size:11.5px}
.cabinet-request-detail__comment p{margin:5px 0 0;color:#334657;font-size:12.5px;line-height:1.5}
.cabinet-request-detail__footer{display:flex;justify-content:flex-end;gap:18px;align-items:center;padding-top:2px}
.cabinet-request-detail__total{display:flex;gap:14px;align-items:baseline}
.cabinet-request-detail__total span{color:#718191;font-size:12.5px}
.cabinet-request-detail__total strong{color:#1d2732;font-size:20px}
@media(max-width:720px){
    .cabinet-request--compact{grid-template-columns:1fr;gap:8px}
    .cabinet-request__compact-side{grid-template-columns:auto auto;justify-content:space-between;justify-items:start;min-width:0}
    .cabinet-request-detail__buyer{grid-template-columns:1fr}
    .cabinet-request-detail__row{grid-template-columns:minmax(0,1fr) 55px 90px 95px;gap:8px;font-size:11.5px}
    .cabinet-request-detail__footer{justify-content:space-between;align-items:flex-end}
}
@media(max-width:520px){
    .cabinet-request-detail__items{overflow-x:auto}
    .cabinet-request-detail__row{min-width:620px}
    .cabinet-request-detail__footer{flex-direction:column;align-items:stretch}
    .cabinet-request-detail__footer .button{text-align:center}
}


/* ===== 0.31.3 — все позиции в компактной заявке ===== */
.cabinet-request__summary-items{display:grid;gap:3px;min-width:0}
.cabinet-request__summary-items .cabinet-request__summary-line{min-width:0}
.cabinet-request__summary-items .cabinet-request__summary-line strong{max-width:700px}

/* Cabinet downloads */
.cabinet-downloads{overflow:hidden;border:1px solid #dfe7ef;border-radius:8px;background:#fff}
.cabinet-downloads__head,.cabinet-download{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px 80px 110px;gap:14px;align-items:center;padding:12px 14px}
.cabinet-downloads__head{background:#f7fafc;border-bottom:1px solid #dfe7ef;color:#6f7f90;font-size:11.5px;font-weight:650}
.cabinet-download{border-top:1px solid #e7edf2}.cabinet-download:first-of-type{border-top:0}
.cabinet-download__main{min-width:0}.cabinet-download__product{display:block;margin-bottom:3px;color:#2874b5;font-size:11.5px;font-weight:650}.cabinet-download__main strong{display:block;color:#1d2732;font-size:13px;line-height:1.35}.cabinet-download__main p{margin:4px 0 0;color:#718191;font-size:11.5px;line-height:1.4}
.cabinet-download__meta{color:#526476;font-size:12px}.cabinet-download__action{text-align:right}.cabinet-download__action .button{padding:8px 14px;min-width:92px;text-align:center}
@media(max-width:900px){.cabinet-downloads__head{display:none}.cabinet-download{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}.cabinet-download__main{grid-column:1/-1}.cabinet-download__meta{font-size:11.5px}.cabinet-download__action{grid-column:2;grid-row:2/4;align-self:center}}
@media(max-width:560px){.cabinet-download{grid-template-columns:1fr}.cabinet-download__action{grid-column:1;grid-row:auto;text-align:left}.cabinet-download__action .button{width:100%}}


/* ===== 0.31.5 — подписки в разделе «Скачать» ===== */
.cabinet-section-intro{margin:-2px 0 12px;color:#6f7f90;font-size:12.5px}
.cabinet-subscriptions{display:grid;gap:10px}
.cabinet-subscription{border:1px solid #dfe7ef;border-radius:8px;background:#fff;overflow:hidden}
.cabinet-subscription__summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;cursor:pointer;list-style:none;background:#fff}
.cabinet-subscription__summary::-webkit-details-marker{display:none}
.cabinet-subscription__summary:hover{background:#f8fbfd}
.cabinet-subscription__title-wrap{min-width:0}
.cabinet-subscription__title-wrap>strong{display:block;color:#1d2732;font-size:14px;line-height:1.35}
.cabinet-subscription__meta-line{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:4px;color:#718191;font-size:11.5px}
.cabinet-subscription__meta-line span+span:before{content:'•';margin-right:12px;color:#a9b4be}
.cabinet-subscription__right{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.cabinet-subscription__count{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:13px;background:#eef6fc;color:#2874b5;font-size:11.5px;font-weight:650}
.cabinet-subscription__chevron{width:9px;height:9px;border-right:2px solid #557083;border-bottom:2px solid #557083;transform:rotate(45deg);transition:transform .16s ease;margin-top:-4px}
.cabinet-subscription[open] .cabinet-subscription__chevron{transform:rotate(225deg);margin-top:4px}
.cabinet-subscription__body{padding:0 14px 14px;border-top:1px solid #edf1f4}
.cabinet-subscription__description{margin:11px 0;color:#526476;font-size:12px;line-height:1.45}
.cabinet-subscription__body .cabinet-downloads{border-radius:6px}
.cabinet-empty--compact{margin-top:12px;padding:18px 20px}
@media(max-width:680px){.cabinet-subscription__summary{padding:12px;gap:10px}.cabinet-subscription__right{gap:8px}.cabinet-subscription__count{display:none}.cabinet-subscription__body{padding:0 10px 10px}}

/* ===== 0.31.6 — профиль, аватар и информационные подписки ===== */
.cabinet-profile-form{display:grid;gap:12px}.cabinet-profile-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px}.cabinet-profile-card{border:1px solid #dfe7ef;border-radius:8px;background:#fff;padding:14px}.cabinet-profile-card--wide{padding:14px}.cabinet-profile-card h3{margin:0 0 10px;color:#1d2732;font-size:15px}.cabinet-profile-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.cabinet-profile-card__heading h3{margin:0 0 3px}.cabinet-profile-card__heading p{margin:0;color:#758493;font-size:11.5px}.cabinet-profile-card--avatar{display:flex;flex-direction:column;align-items:center;text-align:center}.cabinet-profile-card--avatar h3{align-self:stretch;text-align:left}.cabinet-profile-avatar{margin:1px 0 10px}.cabinet-profile-avatar img{display:block;width:120px;height:120px;border-radius:50%;object-fit:cover;border:1px solid #dfe7ef;background:#f5f8fb}.cabinet-profile-file{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border:1px solid #2879ba;border-radius:6px;color:#1769aa;font-size:12px;font-weight:650;cursor:pointer;background:#fff}.cabinet-profile-file:hover{background:#f2f8fd}.cabinet-profile-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.cabinet-profile-help{margin:7px 0 0;color:#7a8998;font-size:10.5px;line-height:1.4}.cabinet-profile-remove-avatar{margin-top:9px}.cabinet-profile-field{display:grid;gap:5px;margin-bottom:10px}.cabinet-profile-field:last-of-type{margin-bottom:0}.cabinet-profile-field>span{color:#344759;font-size:11.5px;font-weight:650}.cabinet-profile-field input{width:100%;min-height:38px;padding:8px 10px;border:1px solid #d5e0ea;border-radius:5px;background:#fff;color:#1d2732}.cabinet-profile-field input[readonly]{background:#f7f9fb;color:#68798a}.cabinet-profile-subscriptions{display:grid;gap:7px}.cabinet-profile-subscription{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:start;padding:10px 11px;border:1px solid #e3eaf0;border-radius:6px;background:#fbfdff;cursor:pointer}.cabinet-profile-subscription:hover{border-color:#c8d9e7;background:#f8fbfe}.cabinet-profile-subscription input{margin:2px 0 0}.cabinet-profile-subscription__text{display:grid;gap:2px;min-width:0}.cabinet-profile-subscription__text strong{color:#1d2732;font-size:12.5px}.cabinet-profile-subscription__text small{color:#2874b5;font-size:10.5px}.cabinet-profile-subscription__text em{color:#718191;font-size:11px;font-style:normal;line-height:1.4}.cabinet-profile-assigned{overflow:hidden;border:1px solid #e3eaf0;border-radius:6px}.cabinet-profile-assigned__row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border-top:1px solid #edf1f4}.cabinet-profile-assigned__row:first-child{border-top:0}.cabinet-profile-assigned__row>div{display:grid;gap:2px;min-width:0}.cabinet-profile-assigned__row strong{color:#1d2732;font-size:12.5px}.cabinet-profile-assigned__row span:not(.cabinet-profile-badge){color:#718191;font-size:10.5px}.cabinet-profile-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:12px;background:#eef6fc;color:#2874b5;font-size:10.5px;font-weight:650}.cabinet-profile-actions{display:flex;justify-content:flex-start}.cabinet-profile-notice{margin-bottom:10px;padding:9px 11px;border-radius:6px;font-size:11.5px}.cabinet-profile-notice--success{border:1px solid #b9dfc1;background:#eef9f0;color:#2f7f3e}.cabinet-profile-notice--error{border:1px solid #e4b7b7;background:#fff2f2;color:#9a3030}
@media(max-width:760px){.cabinet-profile-grid{grid-template-columns:1fr}.cabinet-profile-card--avatar{align-items:flex-start;text-align:left}.cabinet-profile-avatar img{width:96px;height:96px}.cabinet-profile-assigned__row{align-items:flex-start;flex-direction:column}.cabinet-profile-badge{align-self:flex-start}}


/* ===== 0.31.7 — Мои продукты ===== */
.cabinet-products-table{border:1px solid #dfe7ef;border-radius:8px;overflow:hidden;background:#fff}
.cabinet-products-table__head,.cabinet-product-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(170px,.9fr) minmax(220px,1.25fr) 78px 112px 90px minmax(130px,.7fr);gap:12px;align-items:center}
.cabinet-products-table__head{padding:10px 14px;background:#f6f9fb;border-bottom:1px solid #dfe7ef;color:#68798a;font-size:11.5px;font-weight:400}
.cabinet-product-row{padding:11px 14px;border-bottom:1px solid #edf1f4;color:#33485a;font-size:12.5px;font-weight:400}
.cabinet-product-row:last-child{border-bottom:0}.cabinet-product-row:hover{background:#fbfdff}
.cabinet-product-row__product{min-width:0}.cabinet-product-row__product-link{display:block;color:#2271b1;font-size:13px;line-height:1.35;font-weight:400;text-decoration:none}.cabinet-product-row__product-link:hover{text-decoration:underline}.cabinet-product-row__product-link.is-disabled{color:#1d2732}.cabinet-product-row__product small{display:block;margin-top:3px;color:#758696;line-height:1.35;font-weight:400}
.cabinet-product-row__org,.cabinet-product-row__contract{color:#516476;font-weight:400}.cabinet-product-row__number{font-weight:400;color:#1d2732}.cabinet-product-row__version{color:#516476;font-weight:400}
.cabinet-product-row__actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.cabinet-product-row__actions .button{min-height:32px;padding:7px 11px;font-size:11.5px;white-space:nowrap}
@media(max-width:980px){.cabinet-products-table__head{display:none}.cabinet-product-row{grid-template-columns:1fr auto;gap:7px 14px}.cabinet-product-row__org,.cabinet-product-row__contract,.cabinet-product-row__product{grid-column:1}.cabinet-product-row__actions{grid-column:2;grid-row:1 / span 4;align-self:center}.cabinet-product-row__number,.cabinet-product-row__version{display:inline-block}.cabinet-product-row__number:before{content:'Лицензий / сопровождение: ';font-weight:400;color:#758696}.cabinet-product-row__number+.cabinet-product-row__number{display:none}}
@media(max-width:620px){.cabinet-product-row{grid-template-columns:1fr}.cabinet-product-row__actions{grid-column:1;grid-row:auto;justify-content:flex-start}}

/* ===== 0.31.12 — Техподдержка ===== */
.cabinet-nav__item{position:relative}.cabinet-nav__badge{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#d93f3f;color:#fff;font-size:10.5px;font-weight:700}
.cabinet-support-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.cabinet-support-toolbar .cabinet-section-intro{margin:0}.cabinet-support-toolbar>.button,.cabinet-support-reply__footer>.button,.cabinet-support-form-actions>.button{min-height:30px;padding:5px 11px;font-size:11.5px;line-height:1.1;border-radius:7px}.cabinet-support-new,.cabinet-support-reply{display:grid;gap:10px;padding:12px;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.cabinet-support-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.cabinet-support-form-grid .cabinet-profile-field{margin-bottom:0;grid-template-rows:auto 38px}.cabinet-support-new select,.cabinet-support-new textarea,.cabinet-support-reply textarea{width:100%;border:1px solid #d5e0ea;border-radius:5px;background:#fff;padding:8px 10px;color:#1d2732}.cabinet-support-form-grid select{height:38px;min-height:38px;box-sizing:border-box}.cabinet-support-new select{min-height:38px}.cabinet-support-new textarea,.cabinet-support-reply textarea{resize:vertical}.cabinet-support-file{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#344759;font-size:11.5px;font-weight:650}.cabinet-support-file input[type=file]{max-width:100%;font-weight:400}.cabinet-support-file small{display:block;width:100%;color:#7a8998;font-size:10.5px;font-weight:400}.cabinet-support-file--compact{font-weight:400}.cabinet-support-selected-files{display:flex;flex-wrap:wrap;gap:5px;width:100%}.cabinet-support-file-chip{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 7px;border:1px solid #d6e2eb;border-radius:5px;background:#f7fafc;color:#40566a;font-size:10.5px;font-weight:400}.cabinet-support-file-chip button{appearance:none;border:0;background:transparent;color:#81909d;cursor:pointer;font-size:15px;line-height:1;padding:0}.cabinet-support-form-actions,.cabinet-support-reply__footer{display:flex;align-items:center;gap:8px;justify-content:flex-start}.cabinet-support-reply__footer{justify-content:space-between}
.cabinet-support-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:8px;align-items:end;margin:0 0 10px;padding:9px 10px;border:1px solid #e1e8ee;border-radius:7px;background:#f8fafc}.cabinet-support-filters label{display:grid;gap:4px}.cabinet-support-filters label>span{font-size:10.5px;color:#6c7c8b}.cabinet-support-filters select{width:100%;min-height:32px;padding:5px 7px;border:1px solid #d4dfe8;border-radius:5px;background:#fff;color:#344759;font-size:11px}.cabinet-support-filter-actions{display:flex;align-items:center;gap:8px}.cabinet-support-filter-actions .button{min-height:32px;padding:5px 10px;font-size:11px}.cabinet-support-filter-actions a{font-size:10.5px;color:#2874b5;text-decoration:none}
.cabinet-support-list{overflow:auto;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.cabinet-support-list__head,.cabinet-support-row{display:grid;grid-template-columns:56px 112px minmax(130px,.9fr) minmax(185px,1.25fr) minmax(200px,1.35fr) 96px 108px;gap:10px;align-items:center;min-width:930px;padding:10px 12px}.cabinet-support-list__head{background:#f5f8fa;border-bottom:1px solid #dfe7ef;color:#68798a;font-size:12px}.cabinet-support-row{border-top:1px solid #edf1f4;color:#33485a;text-decoration:none;font-size:13px}.cabinet-support-row:first-of-type{border-top:0}.cabinet-support-row:hover{background:#f8fbfd}.cabinet-support-row.is-unread{background:#eef7fd}.cabinet-support-row.is-unread:hover{background:#e7f2fa}.cabinet-support-row.is-unread .cabinet-support-row__subject{font-weight:700;color:#1d2732}.cabinet-support-row__number{display:flex;align-items:center;gap:6px;color:#1d2732}.cabinet-support-unread-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2271b1;flex:0 0 auto}.cabinet-support-row__subject{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cabinet-support-row__date{color:#758696;font-size:11.5px}.cabinet-support-row__last{display:grid;gap:2px;min-width:0}.cabinet-support-row__last>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cabinet-support-row__last small{color:#8996a2;font-size:9.5px}.cabinet-support-status{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:12px;font-size:11px;white-space:nowrap}.cabinet-support-status--new{background:#eef6fc;color:#2874b5}.cabinet-support-status--in_progress{background:#fff6df;color:#976700}.cabinet-support-status--waiting_client{background:#f1effc;color:#6e54a8}.cabinet-support-status--closed{background:#eef2f4;color:#667782}.cabinet-support-priority{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:12px;font-size:11px;white-space:nowrap}.cabinet-support-priority--normal{background:#f1f4f6;color:#667782}.cabinet-support-priority--high{background:#fff3db;color:#9a6500}.cabinet-support-priority--urgent{background:#fdeaea;color:#b42318}
.cabinet-support-detail{display:grid;gap:10px;width:100%;max-width:none}.cabinet-support-detail__top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:9px;border-bottom:1px solid #e7edf2}.cabinet-support-back{display:inline-block;margin-bottom:5px;color:#2874b5;font-size:14px;font-weight:600;text-decoration:none}.cabinet-support-back:hover{text-decoration:underline}.cabinet-support-detail__top h3{margin:0;color:#1d2732;font-size:18px;line-height:1.3}.cabinet-support-detail__meta{display:flex;flex-wrap:wrap;gap:5px 13px;margin-top:5px;color:#718191;font-size:10.5px}.cabinet-support-thread{display:flex;flex-direction:column;gap:6px}.cabinet-support-message{width:auto;max-width:70%;padding:8px 10px;border:1px solid #dbe4eb;border-radius:7px;background:#f7f9fb;box-shadow:0 1px 1px rgba(31,50,66,.02)}.cabinet-support-message.is-client{margin-left:auto;background:#dce6eb;border-color:#c8d5dc}.cabinet-support-message.is-support{margin-right:auto;background:#d3ead7;border-color:#bdd9c2}.cabinet-support-message__head{display:flex;justify-content:space-between;gap:12px;margin-bottom:4px}.cabinet-support-message__head strong{color:#1d2732;font-size:11px}.cabinet-support-message__head span{color:#8694a1;font-size:9.5px}.cabinet-support-message__text{color:#334657;font-size:12px;line-height:1.42}.cabinet-support-message__files{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.cabinet-support-message__files a{display:inline-flex;align-items:center;min-height:25px;padding:0 7px;border:1px solid #cfe0ed;border-radius:5px;background:#fff;color:#2874b5;text-decoration:none;font-size:10px}.cabinet-support-message__files a:hover{background:#f6fbff}.cabinet-support-reply{margin-top:0}.cabinet-support-reply .cabinet-profile-field{margin-bottom:0}.cabinet-support-close-form{display:flex;justify-content:flex-end;margin-top:-2px}.cabinet-support-close-form .button{min-height:30px;padding:5px 10px;font-size:11px}.cabinet-support-closed-note{padding:10px 12px;border:1px solid #dfe5e9;border-radius:7px;background:#f6f8f9;color:#667782;font-size:11px}
@media(max-width:980px){.cabinet-support-filters{grid-template-columns:1fr 1fr}.cabinet-support-filter-actions{grid-column:1/-1}.cabinet-support-message{max-width:84%}}
@media(max-width:820px){.cabinet-support-form-grid{grid-template-columns:1fr}.cabinet-support-message{max-width:94%}}
@media(max-width:560px){.cabinet-support-toolbar{align-items:flex-start;flex-direction:column}.cabinet-support-toolbar .button{width:auto}.cabinet-support-detail__top{flex-direction:column}.cabinet-support-reply__footer,.cabinet-support-form-actions{align-items:stretch;flex-direction:column}.cabinet-support-reply__footer .button,.cabinet-support-form-actions .button{width:100%;text-align:center}.cabinet-support-filters{grid-template-columns:1fr}.cabinet-support-filter-actions{grid-column:auto}.cabinet-support-message{max-width:100%}.cabinet-support-close-form{justify-content:flex-start}}


/* ===== 0.31.13 — Взаиморасчёты ===== */
.cabinet-settlements{display:grid;gap:12px}.cabinet-settlement-card{border:1px solid #dfe7ef;border-radius:8px;background:#fff;overflow:hidden}.cabinet-settlement-card__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e4eaf0}.cabinet-settlement-card__head h3{margin:0;color:#1d2732;font-size:15px;font-weight:600}.cabinet-settlement-card__meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:3px;color:#748393;font-size:10.5px}.cabinet-settlement-total{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:14px;font-size:11.5px;font-weight:600;white-space:nowrap}.cabinet-settlement-total--advance{background:#eaf7ed;color:#277a38}.cabinet-settlement-total--debt{background:#fdecec;color:#a92e24}.cabinet-settlement-total--zero{background:#eef2f5;color:#667782}.cabinet-settlement-table{overflow:auto}.cabinet-settlement-table__head,.cabinet-settlement-row{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(220px,1.25fr) 95px 145px minmax(180px,1fr);gap:12px;align-items:center;min-width:900px;padding:9px 14px}.cabinet-settlement-table__head{background:#f5f8fa;border-bottom:1px solid #dfe7ef;color:#68798a;font-size:11.5px}.cabinet-settlement-row{border-top:1px solid #edf1f4;color:#33485a;font-size:12.5px}.cabinet-settlement-row:first-of-type{border-top:0}.cabinet-settlement-row__products{display:grid;gap:2px;color:#33485a}.cabinet-settlement-row__products span{display:block}.cabinet-settlement-row__products small{color:#758696;font-size:10.5px}.cabinet-settlement-row__date{color:#718191}.cabinet-settlement-row__comment{color:#637487}.cabinet-settlement-balance{font-weight:600}.cabinet-settlement-balance--advance{color:#27823a}.cabinet-settlement-balance--debt{color:#b42318}.cabinet-settlement-balance--zero{color:#667782}@media(max-width:700px){.cabinet-settlement-card__head{align-items:flex-start;flex-direction:column}.cabinet-settlement-total{align-self:flex-start}}

/* ===== 0.31.16 — мягкие оттенённые блоки главной ===== */
.home-products,
.home-services {
    border-bottom: 0;
}

.home-products {
    padding: 32px 0 22px;
    background: #f3f7fb;
}

.home-products > .site-container {
    padding: 28px;
    border: 1px solid #d7e4ef;
    border-radius: 18px;
    background: #eaf3fa;
    box-shadow: 0 10px 28px rgba(23, 53, 92, .045);
}

.home-products__heading,
.home-services__heading {
    align-items: center;
    margin-bottom: 22px;
}

.home-products__heading h2,
.home-services__heading h2 {
    color: #12345b;
    font-weight: 750;
    letter-spacing: -.015em;
}

.home-products__heading a,
.home-services__heading a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 9px;
    color: #1769aa;
    background: rgba(255,255,255,.62);
    transition: background-color .18s ease, transform .18s ease;
}

.home-products__heading a:hover,
.home-services__heading a:hover {
    color: #155a91;
    background: rgba(255,255,255,.92);
    transform: translateY(-1px);
}

.home-product-card {
    border-color: #d2e0eb;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(31, 67, 101, .055);
}

.home-product-card:hover {
    transform: translateY(-3px);
    border-color: #bfd3e4;
    box-shadow: 0 14px 30px rgba(31, 67, 101, .105);
}

.home-product-card__image {
    background: #f4f8fc;
}
.home-product-card:nth-child(4n + 1) .home-product-card__image { background: #edf5fb; }
.home-product-card:nth-child(4n + 2) .home-product-card__image { background: #eef7f3; }
.home-product-card:nth-child(4n + 3) .home-product-card__image { background: #faf5ea; }
.home-product-card:nth-child(4n) .home-product-card__image { background: #f2f1f8; }

.home-product-card__body {
    background: rgba(255,255,255,.97);
}

.home-product-card h3 a,
.home-service-card h3 a {
    color: #17355c;
}

.home-product-card__button {
    border-radius: 8px;
    background: rgba(255,255,255,.72);
}

.home-services {
    padding: 22px 0 38px;
    background: #f3f7fb;
}

.home-services > .site-container {
    padding: 28px;
    border: 1px solid #d7e7de;
    border-radius: 18px;
    background: #edf6f1;
    box-shadow: 0 10px 28px rgba(23, 53, 92, .04);
}

.home-service-card {
    min-height: 310px;
    border-color: #d7e3e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(31, 67, 101, .05);
}

.home-service-card:nth-child(5n + 1) { background: #f1f7fb; border-color: #d4e4ef; }
.home-service-card:nth-child(5n + 2) { background: #f1f8f4; border-color: #d6e8dd; }
.home-service-card:nth-child(5n + 3) { background: #fbf6ec; border-color: #eadfc9; }
.home-service-card:nth-child(5n + 4) { background: #f4f2f8; border-color: #dfd9eb; }
.home-service-card:nth-child(5n) { background: #eef7f6; border-color: #d4e8e5; }

.home-service-card:hover {
    transform: translateY(-3px);
    border-color: #bfd3df;
    box-shadow: 0 14px 30px rgba(31, 67, 101, .095);
}

.home-service-card__icon {
    width: 74px;
    height: 74px;
    border: 1px solid rgba(53, 113, 166, .09);
    background: rgba(255,255,255,.68);
    box-shadow: inset 0 0 0 7px rgba(233, 244, 252, .72);
}

.home-service-card:nth-child(5n + 2) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(226, 243, 233, .78); }
.home-service-card:nth-child(5n + 3) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(249, 237, 211, .78); }
.home-service-card:nth-child(5n + 4) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(235, 230, 246, .80); }
.home-service-card:nth-child(5n) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(224, 242, 240, .80); }

.home-service-card p {
    color: #5f7080;
}

.home-service-card__link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 4px 9px;
    margin-left: -9px;
    border-radius: 8px;
}

.home-service-card__link:hover {
    background: rgba(255,255,255,.68);
}

@media (max-width: 720px) {
    .home-products,
    .home-services {
        padding-left: 0;
        padding-right: 0;
    }
    .home-products > .site-container,
    .home-services > .site-container {
        padding: 18px;
        border-radius: 14px;
    }
    .home-products__heading,
    .home-services__heading {
        gap: 12px;
    }
    .home-products__heading a,
    .home-services__heading a {
        padding-inline: 8px;
        font-size: 12px;
    }
}

/* ===== 0.31.20 — плотность главной по визуальному эталону ===== */
.home .site-header,
.home .site-header__inner {
    min-height: 72px;
}

.hero--home,
.hero-slider,
.hero-slide,
.home .hero__inner {
    min-height: 530px;
}

.home .hero__inner {
    padding-top: 132px;
    padding-bottom: 34px;
    gap: 44px;
}

.home .hero .eyebrow {
    margin-bottom: 8px;
}

.home .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(36px, 2.75vw, 48px);
    line-height: 1.08;
}

.home .hero p {
    font-size: 16px;
    line-height: 1.5;
}

.home .hero__actions {
    gap: 10px;
    margin-top: 20px;
}

.home .hero__actions .button {
    min-height: 40px;
    padding: 7px 16px;
}

.home .hero__visual img {
    width: min(100%, 480px);
    max-height: 360px;
}

.home .hero-slider__controls {
    bottom: 28px;
}

.home .hero-slider__arrow {
    width: 38px;
    height: 38px;
}

.home-benefits {
    background: #f3f7fb;
}

.home-benefits__grid {
    min-height: 112px;
    gap: 26px;
}

.home-benefit {
    grid-template-columns: 44px 1fr;
    gap: 11px;
    padding: 18px 0;
}

.home-benefit__icon {
    width: 40px;
    height: 40px;
    font-size: 28px;
}

.home-benefit h2 {
    margin-bottom: 3px;
}

.home-benefit p {
    line-height: 1.45;
}

.home-products,
.home-services {
    background: #edf4fa;
}

.home-products {
    padding: 20px 0 14px;
}

.home-products > .site-container,
.home-services > .site-container {
    padding: 18px 20px;
    border-color: #d2dfea;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(11, 49, 93, .07);
}

.home-products > .site-container {
    background: linear-gradient(135deg, #e3f0f8 0%, #edf2f6 100%);
}

.home-products__heading,
.home-services__heading {
    margin-bottom: 16px;
}

.home-products__heading h2,
.home-services__heading h2,
.home-product-card h3 a,
.home-service-card h3 a {
    color: #0b315d;
}

.home-products__heading h2,
.home-services__heading h2 {
    font-size: 24px;
}

.home-products__heading a,
.home-services__heading a,
.home-service-card__link {
    color: #1671b9;
}

.home-products__heading a,
.home-services__heading a {
    min-height: 28px;
    padding: 3px 8px;
    border: 1px solid rgba(22, 113, 185, .14);
    background: rgba(255, 255, 255, .74);
}

.home-products__heading a:hover,
.home-services__heading a:hover {
    color: #0b315d;
    border-color: rgba(22, 113, 185, .28);
    background: #fff;
}

.home-product-card,
.home-service-card {
    border-color: #d2dfea;
    border-radius: 14px;
    box-shadow: 0 9px 22px rgba(11, 49, 93, .065);
}

.home-product-card:hover,
.home-service-card:hover {
    border-color: #aecadf;
    box-shadow: 0 16px 34px rgba(11, 49, 93, .12);
}

.home-products__grid {
    gap: 14px;
}

.home-product-card:nth-child(4n + 1) .home-product-card__image { background: #eaf3fa; }
.home-product-card:nth-child(4n + 2) .home-product-card__image { background: #e8f4ee; }
.home-product-card:nth-child(4n + 3) .home-product-card__image { background: #fff3dc; }
.home-product-card:nth-child(4n) .home-product-card__image { background: #f2f4f7; }

.home-product-card__image {
    height: 160px;
    padding: 12px 14px 5px;
}

.home-product-card__body {
    padding: 12px 14px 13px;
    background: #fff;
}

.home-product-card__button {
    min-height: 34px;
    padding: 5px 12px;
    color: #1671b9;
    border-color: rgba(22, 113, 185, .34);
    background: #fff;
}

.home-product-card__button:hover {
    color: #fff;
    border-color: #1671b9;
    background: #1671b9;
}

.home-services {
    padding: 14px 0 24px;
}

.home-services > .site-container {
    background: linear-gradient(135deg, #e0f0e7 0%, #edf4f8 100%);
}

.home-services__grid {
    gap: 12px;
}

.home-service-card {
    min-height: 245px;
    padding: 14px 13px;
}

.home-service-card:nth-child(5n + 1) { background: #e3f0f8; border-color: #c3d8e7; }
.home-service-card:nth-child(5n + 2) { background: #e1f1e8; border-color: #c5ddcf; }
.home-service-card:nth-child(5n + 3) { background: #ffefcf; border-color: #e6d3ad; }
.home-service-card:nth-child(5n + 4) { background: #eceff3; border-color: #d2d9e1; }
.home-service-card:nth-child(5n) { background: #e5f1ef; border-color: #c7ddda; }

.home-service-card__icon,
.home-service-card:nth-child(n) .home-service-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-color: rgba(11, 49, 93, .10);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 6px 16px rgba(11, 49, 93, .055);
}

.home-service-card__icon img {
    width: 44px;
    height: 44px;
}

.home-service-card h3 {
    margin-bottom: 7px;
}

.home-service-card p {
    margin-bottom: 13px;
    color: #52697d;
}

.home-service-card__link {
    min-height: 26px;
    padding-block: 2px;
}

.home-service-card__link:hover {
    color: #0b315d;
    background: rgba(255, 255, 255, .78);
}

@media (max-width: 1180px) {
    .home-products > .site-container,
    .home-services > .site-container {
        padding: 18px;
    }
}

@media (max-width: 1100px) {
    .home .hero__inner {
        min-height: 500px;
        padding-top: 104px;
        gap: 30px;
    }
    .hero--home,
    .hero-slider,
    .hero-slide {
        min-height: 500px;
    }
    .home .hero h1 {
        font-size: clamp(36px, 4.2vw, 46px);
    }
    .home .hero__visual img {
        width: min(100%, 430px);
    }
}

@media (max-width: 820px) {
    .home .site-header,
    .home .site-header__inner {
        min-height: 68px;
    }
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 470px;
    }
    .home .hero__inner {
        padding-top: 100px;
        padding-bottom: 32px;
    }
    .home .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 720px) {
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 450px;
    }
    .home .hero__inner {
        padding-top: 94px;
        padding-bottom: 30px;
    }
    .home .hero h1 {
        font-size: 32px;
    }
    .home .hero p {
        font-size: 15px;
    }
    .home .hero__actions .button {
        min-height: 38px;
        padding: 6px 14px;
    }
    .home-benefit {
        grid-template-columns: 40px 1fr;
        gap: 10px;
        padding: 14px 0;
    }
    .home-products {
        padding-top: 16px;
    }
    .home-services {
        padding-bottom: 20px;
    }
    .home-products > .site-container,
    .home-services > .site-container {
        padding: 16px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(11, 49, 93, .065);
    }
    .home-products__heading h2,
    .home-services__heading h2 {
        font-size: 23px;
    }
    .home-product-card__image {
        height: 170px;
    }
    .home-service-card {
        min-height: 0;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .home-utility {
        display: block;
    }
    .home .site-header {
        top: 46px;
    }
    .home .site-header__inner {
        grid-template-columns: 210px minmax(0, 1fr) auto;
        gap: 14px;
    }
    .home .menu-toggle {
        display: none;
    }
    .home .main-navigation {
        display: block;
        grid-column: auto;
        padding: 0;
        border-top: 0;
    }
    .home .primary-menu {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 18px;
    }
    .home .primary-menu a {
        font-size: 11px;
    }
    .home .header-actions {
        display: flex;
        gap: 10px;
    }
    .home .header-actions__link {
        font-size: 12px;
    }
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 440px;
    }
    .home .hero__inner {
        padding-top: 110px;
        padding-bottom: 28px;
        gap: 24px;
    }
    .home .hero h1 {
        font-size: 38px;
    }
    .home .hero__visual img {
        width: min(100%, 390px);
        max-height: 310px;
    }
    .home .hero-slider__controls {
        bottom: 22px;
    }
    .home-benefits__grid {
        min-height: 100px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
    .home-benefit {
        grid-template-columns: 40px 1fr;
        gap: 10px;
        padding: 14px 0;
    }
    .home-benefit__icon {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
    .home-benefit h2 {
        font-size: 14px;
    }
    .home-benefit p {
        font-size: 12px;
    }
    .home-services__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .home-service-card {
        min-height: 235px;
        padding: 13px 12px;
    }
    .home-service-card h3 {
        font-size: 15px;
    }
    .home-service-card p,
    .home-service-card__link {
        font-size: 12px;
    }
}

/* ===== 0.31.21 — согласование главной с утверждённым макетом ===== */
.home .home-utility {
    background: rgba(7, 14, 21, .72);
}

.home .site-header {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(3, 18, 31, .16);
}

.home .header-actions__request {
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 12px;
    white-space: nowrap;
}

.hero--home::after {
    background: linear-gradient(90deg, rgba(3, 8, 14, .58) 0%, rgba(3, 8, 14, .34) 48%, rgba(3, 8, 14, .14) 100%);
}

.home-publications {
    padding: 14px 0;
    border-bottom: 0;
    background: #f3f7fb;
}

.home-publications--articles {
    padding-bottom: 22px;
    background: #edf4fa;
}

.home-publications > .site-container {
    padding: 18px 20px;
    border: 1px solid #d2dfea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11, 49, 93, .05);
}

.home-publications--articles > .site-container {
    background: linear-gradient(135deg, #f2f4f7 0%, #f8fbfd 100%);
}

.home-publications__heading {
    align-items: center;
    margin-bottom: 14px;
}

.home-publications__heading h2 {
    color: #0b315d;
    font-size: 24px;
}

.home-publications__heading a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 8px;
    border: 1px solid rgba(22, 113, 185, .14);
    border-radius: 9px;
    color: #1671b9;
    background: #fff;
    font-size: 12px;
}

.home-publications__grid {
    gap: 12px;
}

.home-publication-card {
    grid-template-columns: 110px minmax(0, 1fr);
    border-color: #d2dfea;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(11, 49, 93, .045);
}

.home-publication-card__image {
    min-height: 142px;
    padding: 10px;
    background: #eaf3fa;
}

.home-publication-card__body {
    padding: 12px 13px;
}

.home-publication-card time {
    font-size: 11px;
}

.home-publication-card h3 {
    margin: 5px 0 6px;
    font-size: 15px;
}

.home-publication-card p {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.home-publication-card__link {
    font-size: 12px;
}

.site-footer--dark {
    padding: 24px 0 10px;
    border-top: 1px solid #d2dfea;
    color: #52697d;
    background: #f3f7fb;
}

.site-footer--dark a,
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contacts p {
    color: #465d72;
}

.site-footer--dark a:hover {
    color: #1671b9;
}

.site-footer--dark .site-footer__title {
    color: #0b315d;
}

.site-footer--dark .site-footer__brand p {
    color: #607386;
}

.site-footer--dark .site-footer__social-link {
    color: #1671b9;
    border-color: #d2dfea;
    background: #fff;
}

.site-footer--dark .site-footer__social-link:hover {
    color: #0b315d;
    border-color: #aecadf;
    background: #eaf3fa;
}

.site-footer--dark .site-footer__contact-icon {
    color: #1671b9;
}

.site-footer--dark .site-footer__bottom {
    border-top-color: #d2dfea;
    color: #708293;
}

.site-footer--dark .site-footer__bottom a {
    color: #60778b;
}

@media (min-width: 981px) and (max-width: 1180px) {
    .site-footer--dark .site-footer__grid--full {
        grid-template-columns: 1.25fr repeat(4, minmax(120px, .8fr));
        gap: 18px;
    }
    .site-footer--dark .site-footer__brand {
        grid-column: auto;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .site-header__inner {
        grid-template-columns: 190px minmax(0, 1fr) auto;
        gap: 10px;
    }
    .home .site-logo__image,
    .home .custom-logo {
        width: 190px;
    }
    .home .primary-menu {
        gap: 12px;
    }
    .home .header-actions {
        gap: 7px;
    }
    .home .header-actions__link {
        font-size: 11px;
    }
    .home .header-actions__request {
        padding-inline: 10px;
        font-size: 11px;
    }
    .home-publications__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .home-publication-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .home-publications {
        padding: 12px 0;
    }
    .home-publications--articles {
        padding-bottom: 18px;
    }
    .home-publications > .site-container {
        padding: 16px;
        border-radius: 14px;
    }
    .home-publications__heading h2 {
        font-size: 23px;
    }
    .home-publication-card {
        grid-template-columns: 1fr;
    }
    .home-publication-card__image {
        min-height: 140px;
        height: 140px;
    }
    .site-footer--dark {
        padding-top: 20px;
    }
}

/* ===== 0.31.22 — единая структура содержательных блоков главной ===== */
.home-products__catalog {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.home-products__categories {
    overflow: hidden;
    border: 1px solid #d2dfea;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 18px rgba(11, 49, 93, .045);
}

.home-products__categories a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 13px;
    border-top: 1px solid #e2eaf1;
    color: #38536c;
    font-size: 13px;
    line-height: 1.35;
}

.home-products__categories a:first-child {
    border-top: 0;
}

.home-products__categories a:hover,
.home-products__categories a.is-active {
    color: #0b315d;
    background: #fff;
}

.home-products__categories a.is-active {
    box-shadow: inset 3px 0 0 #1671b9;
    font-weight: 700;
}

.home-products__list {
    display: grid;
    max-width: 940px;
    gap: 10px;
}

.home-product-row {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 154px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d2dfea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(11, 49, 93, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-product-row:hover {
    border-color: #aecadf;
    box-shadow: 0 12px 26px rgba(11, 49, 93, .09);
    transform: translateY(-1px);
}

.home-product-row__image {
    display: flex;
    min-height: 168px;
    align-items: center;
    justify-content: center;
    padding: 13px;
    background: #eaf3fa;
}

.home-product-row:nth-child(4n + 2) .home-product-row__image { background: #e8f4ee; }
.home-product-row:nth-child(4n + 3) .home-product-row__image { background: #fff3dc; }
.home-product-row:nth-child(4n) .home-product-row__image { background: #f2f4f7; }

.home-product-row__image img {
    width: 100%;
    height: 100%;
    max-height: 142px;
    object-fit: contain;
}

.home-product-row__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
}

.home-product-row__availability {
    margin: 0 0 5px;
    color: #348653;
    font-size: 11px;
    font-weight: 650;
}

.home-product-row h3 {
    margin: 0 0 7px;
    color: #0b315d;
    font-size: 17px;
    line-height: 1.3;
}

.home-product-row h3 a {
    color: inherit;
}

.home-product-row h3 a:hover,
.home-product-row__more:hover {
    color: #1671b9;
}

.home-product-row__description {
    margin: 0 0 8px;
    color: #52697d;
    font-size: 12px;
    line-height: 1.45;
}

.home-product-row__more {
    width: fit-content;
    color: #1671b9;
    font-size: 11px;
    font-weight: 650;
}

.home-product-row__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 14px;
    border-left: 1px solid #e2eaf1;
    background: #fbfdff;
}

.home-product-row__actions strong {
    margin-bottom: 2px;
    color: #0b315d;
    font-size: 15px;
    line-height: 1.25;
}

.home-product-row__actions .button {
    min-height: 34px;
    padding: 5px 9px;
    border-radius: 7px;
    font-size: 11px;
    text-align: center;
}

.home-product-row__question {
    color: #1671b9;
    border-color: #a9c9e1;
    background: #fff;
}

.home-services > .site-container {
    background: linear-gradient(135deg, #e8f4ee 0%, #f3f7fb 100%);
}

.home-services__grid {
    gap: 10px;
}

.home-service-card {
    min-height: 202px;
    padding: 12px;
    box-shadow: 0 6px 16px rgba(11, 49, 93, .045);
}

.home-service-card:nth-child(5n + 1) { background: #edf6fb; border-color: #d5e4ef; }
.home-service-card:nth-child(5n + 2) { background: #edf7f1; border-color: #d7e8de; }
.home-service-card:nth-child(5n + 3) { background: #fff7e8; border-color: #eadfc9; }
.home-service-card:nth-child(5n + 4) { background: #f5f6f8; border-color: #dce2e8; }
.home-service-card:nth-child(5n) { background: #eef7f6; border-color: #d6e8e5; }

.home-service-card__icon,
.home-service-card:nth-child(n) .home-service-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 9px;
    box-shadow: 0 4px 12px rgba(11, 49, 93, .045);
}

.home-service-card__icon img {
    width: 36px;
    height: 36px;
}

.home-service-card h3 {
    margin-bottom: 5px;
    font-size: 15px;
}

.home-service-card p {
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.4;
}

.home-service-card__link {
    min-height: 24px;
    font-size: 11px;
}

.home-publications--news .home-publications__grid {
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-publications--news .home-publication-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 98px;
    box-shadow: none;
}

.home-publications--news .home-publication-card__image {
    min-height: 98px;
    height: 100%;
    padding: 7px 10px;
}

.home-publications--news .home-publication-card__body {
    justify-content: center;
    padding: 10px 13px;
}

.home-publications--news .home-publication-card h3 {
    margin: 3px 0 4px;
    font-size: 14px;
}

.home-publications--news .home-publication-card p {
    margin-bottom: 4px;
    font-size: 11px;
}

.home-publications--news .home-publication-card__link {
    margin-top: 0;
    font-size: 11px;
}

.home-publications--articles .home-publications__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-publications--articles .home-publication-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 150px;
    border-color: transparent;
    background: rgba(255, 255, 255, .72);
    box-shadow: none;
}

.home-publications--articles .home-publication-card__image {
    min-height: 150px;
    padding: 10px;
}

.home-publications--articles .home-publication-card__body {
    padding: 11px 12px;
}

.home-publications--articles .home-publication-card h3 {
    margin: 4px 0 6px;
    font-size: 14px;
}

.home-publications--articles .home-publication-card p,
.home-publications--articles .home-publication-card__link {
    font-size: 11px;
}

@media (max-width: 980px) {
    .home-products__catalog {
        grid-template-columns: 190px minmax(0, 1fr);
    }
    .home-product-row {
        grid-template-columns: 138px minmax(0, 1fr);
    }
    .home-product-row__actions {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 0 14px 13px;
        border-left: 0;
        background: #fff;
    }
    .home-product-row__actions strong {
        margin: 0 auto 0 0;
    }
    .home-publications--articles .home-publications__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-products__catalog {
        grid-template-columns: 1fr;
    }
    .home-products__categories {
        display: flex;
        overflow-x: auto;
        border-radius: 10px;
    }
    .home-products__categories a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 7px 11px;
        border-top: 0;
        border-left: 1px solid #e2eaf1;
        font-size: 11px;
    }
    .home-products__categories a:first-child {
        border-left: 0;
    }
    .home-products__categories a.is-active {
        box-shadow: inset 0 -3px 0 #1671b9;
    }
    .home-product-row {
        grid-template-columns: 104px minmax(0, 1fr);
    }
    .home-product-row__image {
        min-height: 142px;
        padding: 9px;
    }
    .home-product-row__body {
        padding: 11px 12px;
    }
    .home-product-row h3 {
        font-size: 15px;
    }
    .home-product-row__description {
        font-size: 11px;
    }
    .home-product-row__actions {
        grid-column: 1 / -1;
        padding: 10px 11px;
        border-top: 1px solid #e2eaf1;
        background: #fbfdff;
    }
    .home-product-row__actions .button {
        flex: 1 1 116px;
    }
    .home-services__grid {
        grid-template-columns: 1fr;
    }
    .home-service-card {
        min-height: 0;
    }
    .home-publications--news .home-publication-card,
    .home-publications--articles .home-publication-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }
    .home-publications--news .home-publication-card__image,
    .home-publications--articles .home-publication-card__image {
        min-height: 118px;
        height: 100%;
    }
}

@media (max-width: 460px) {
    .home-product-row {
        grid-template-columns: 1fr;
    }
    .home-product-row__image {
        min-height: 138px;
        height: 138px;
    }
    .home-publications--news .home-publication-card,
    .home-publications--articles .home-publication-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
    .home-publications--news .home-publication-card__image,
    .home-publications--articles .home-publication-card__image {
        min-height: 108px;
    }
    .home-publication-card p {
        display: none;
    }
}

/* ===== 0.31.23 — новости и статьи в общем двухколоночном блоке ===== */
.home-content-feed {
    padding: 14px 0 22px;
    background: #edf4fa;
}

.home-content-feed__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #d2dfea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11, 49, 93, .05);
}

.home-content-feed .home-publications {
    min-width: 0;
    padding: 0;
    background: transparent;
}

.home-content-feed .home-publications--articles {
    padding: 0 0 0 18px;
    border-left: 1px solid #dce6ee;
}

.home-content-feed .home-publications__heading {
    min-height: 32px;
    margin-bottom: 12px;
}

.home-content-feed .home-publications__heading h2 {
    font-size: 23px;
}

.home-content-feed .home-publications--news .home-publications__grid {
    gap: 8px;
}

.home-content-feed .home-publications--news .home-publication-card {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 102px;
}

.home-content-feed .home-publications--news .home-publication-card__image {
    min-height: 102px;
}

.home-content-feed .home-publications--articles .home-publications__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.home-content-feed .home-publications--articles .home-publication-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 151px;
    border-color: #dce6ee;
    background: #fbfdff;
}

.home-content-feed .home-publications--articles .home-publication-card__image {
    min-height: 151px;
    padding: 8px;
}

.home-content-feed .home-publications--articles .home-publication-card__body {
    padding: 10px;
}

.home-content-feed .home-publications--articles .home-publication-card h3 {
    font-size: 13px;
}

.home-content-feed .home-publications--articles .home-publication-card p {
    font-size: 10.5px;
}

.home-content-feed .home-publications--articles .home-publication-card__link {
    font-size: 10.5px;
}

@media (max-width: 1100px) {
    .home-content-feed__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 14px;
    }
    .home-content-feed .home-publications--articles {
        padding-left: 14px;
    }
    .home-content-feed .home-publications--articles .home-publications__grid {
        grid-template-columns: 1fr;
    }
    .home-content-feed .home-publications--articles .home-publication-card {
        min-height: 98px;
    }
    .home-content-feed .home-publications--articles .home-publication-card__image {
        min-height: 98px;
    }
}

@media (max-width: 820px) {
    .home-content-feed__grid {
        grid-template-columns: 1fr;
    }
    .home-content-feed .home-publications--articles {
        padding: 16px 0 0;
        border-top: 1px solid #dce6ee;
        border-left: 0;
    }
    .home-content-feed .home-publications--articles .home-publications__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-content-feed {
        padding: 12px 0 18px;
    }
    .home-content-feed__grid {
        gap: 16px;
        padding: 16px;
        border-radius: 14px;
    }
    .home-content-feed .home-publications--articles .home-publications__grid {
        grid-template-columns: 1fr;
    }
    .home-content-feed .home-publications--news .home-publication-card,
    .home-content-feed .home-publications--articles .home-publication-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

/* ===== 0.31.25 — мягкий тёмный футер ===== */
.site-footer--dark {
    border-top: 1px solid #29475d;
    color: #b7c6d2;
    background: linear-gradient(135deg, #19364b 0%, #132c3f 52%, #102638 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.site-footer--dark a,
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contacts p {
    color: #c5d1da;
}

.site-footer--dark a:hover {
    color: #7fc4f2;
}

.site-footer--dark .site-footer__title {
    color: #f2f7fa;
}

.site-footer--dark .site-footer__brand p {
    color: #aabcc9;
}

.site-footer--dark .site-footer__logo img {
    opacity: .96;
}

.site-footer--dark .site-footer__social-link {
    color: #8bc8f0;
    border-color: rgba(154, 196, 224, .22);
    background: rgba(255, 255, 255, .055);
}

.site-footer--dark .site-footer__social-link:hover {
    color: #fff;
    border-color: rgba(139, 200, 240, .48);
    background: rgba(69, 137, 184, .22);
}

.site-footer--dark .site-footer__contact-icon {
    color: #70b9e9;
}

.site-footer--dark .site-footer__bottom {
    border-top-color: rgba(193, 214, 228, .16);
    color: #879dac;
}

.site-footer--dark .site-footer__bottom a {
    color: #9eafbc;
}

.site-footer--dark .site-footer__bottom a:hover {
    color: #dceaf3;
}

/* ===== 0.31.27 — центрированное меню, кабинет и корзина в шапке главной ===== */
.home .home-utility__inner {
    justify-content: flex-start;
}

.home .site-header__inner {
    grid-template-columns: 280px minmax(0, 1fr) 280px;
}

.home .main-navigation {
    justify-self: center;
}

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

.home .header-actions__cart {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border: 1px solid #d2dfea;
    border-radius: 8px;
    color: #0b315d;
    background: #f8fbfd;
    font-size: 12px;
    font-weight: 700;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.home .header-actions__cart:hover {
    color: #1671b9;
    border-color: #aecadf;
    background: #eaf3fa;
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .site-header__inner {
        grid-template-columns: 235px minmax(0, 1fr) 235px;
    }

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

    .home .header-actions__link,
    .home .header-actions__cart {
        font-size: 11px;
    }
}

/* ===== 0.31.38 — индивидуальные фоны слайдов главного баннера ===== */
.hero--home {
    background-image: none;
}

.hero--home::after {
    content: none;
}

.hero-slide {
    overflow: hidden;
    isolation: isolate;
}

.hero-slide__background {
    position: absolute;
    inset: calc(var(--lab33-hero-blur, 0px) * -2);
    z-index: -2;
    background-color: #151e27;
    background-image: var(--lab33-hero-background);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(var(--lab33-hero-blur, 0px));
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 8, 14, .58) 0%, rgba(3, 8, 14, .34) 48%, rgba(3, 8, 14, .14) 100%);
}
