:root {
    --sm-blue: #0c5a82;
    --sm-blue-dark: #09496a;
    --sm-blue-soft: #eef6fa;
    --sm-yellow: #0c5a82;
    --sm-bg: #f6f8fb;
    --sm-surface: #ffffff;
    --sm-surface-soft: #f7f9fb;
    --sm-text: #17202a;
    --sm-title: #0f172a;
    --sm-muted: #667085;
    --sm-border: rgba(15, 23, 42, .12);
    --sm-border-soft: rgba(15, 23, 42, .08);
    --sm-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    --sm-shadow-hover: 0 12px 30px rgba(12, 90, 130, .12);
    --sm-container: 1240px;
    --sm-space-section: 56px;
    --sm-transition: .2s ease;
}

.sm-v2,
.sm-v2 * {
    box-sizing: border-box;
}

body.sm-v2 {
    margin: 0;
    background: var(--sm-bg);
    color: var(--sm-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.sm-v2 img {
    max-width: 100%;
    height: auto;
}

.sm-v2 a {
    color: var(--sm-blue);
    text-decoration: none;
    transition: color var(--sm-transition), border-color var(--sm-transition), background var(--sm-transition);
}

.sm-v2 a:hover {
    color: var(--sm-blue-dark);
}

.sm-v2 h1,
.sm-v2 h2,
.sm-v2 h3,
.sm-v2 h4 {
    margin-top: 0;
    color: var(--sm-title);
    line-height: 1.2;
}

.sm-v2 h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -.035em;
}

.sm-v2 h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 750;
}

.sm-v2 button,
.sm-v2 input,
.sm-v2 textarea,
.sm-v2 select {
    font: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sm-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sm-container,
.sm-v2 .container,
.sm-v2 .maxwidth-theme {
    width: min(calc(100% - 32px), var(--sm-container));
    max-width: var(--sm-container);
    margin-left: auto;
    margin-right: auto;
}

.sm-main {
    flex: 1 0 auto;
    padding: 24px 0 var(--sm-space-section);
}

.sm-page-heading {
    margin: 20px 0 30px;
}

.sm-page-heading h1 {
    margin: 0;
}

.sm-page-heading h1::after {
    content: '';
    display: block;
    width: 78px;
    height: 4px;
    margin-top: 18px;
    background: var(--sm-blue);
}

.sm-page-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.sm-sidebar,
.sm-page-content {
    min-width: 0;
}

.sm-sidebar {
    background: var(--sm-surface);
    border: 1px solid var(--sm-border-soft);
    box-shadow: var(--sm-shadow);
}

.sm-page-content {
    background: var(--sm-surface);
    border: 1px solid var(--sm-border-soft);
    box-shadow: var(--sm-shadow);
    padding: 32px;
}

.sm-page-content--wide {
    width: 100%;
}

.sm-header {
    position: relative;
    top: 0;
    z-index: 1000;
    background: var(--sm-surface);
    border-bottom: 1px solid var(--sm-border);
    box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
}

.sm-header__bar {
    background: var(--sm-blue-dark);
    color: #fff;
}

.sm-header__bar-inner,
.sm-header__bar-links,
.sm-header__bar-contacts,
.sm-header__main-inner {
    display: flex;
    align-items: center;
}

.sm-header__bar-inner {
    min-height: 36px;
    justify-content: space-between;
    gap: 24px;
}

.sm-header__bar-links,
.sm-header__bar-contacts {
    gap: 20px;
}

.sm-header__bar a,
.sm-header__bar font {
    color: #fff !important;
    font-size: 13px !important;
}

.sm-header__main-inner {
    min-height: 82px;
    gap: 18px;
    justify-content: space-between;
}

.sm-header__main-inner > * {
    min-width: 0;
}


.sm-header__logo {
    flex: 0 0 auto;
    width: 210px;
}

.sm-header__logo img {
    display: block;
    max-height: 58px;
}

.sm-header__search {
    flex: 1 1 420px;
    max-width: 560px;
    height: 48px;
    display: flex;
    border: 1px solid var(--sm-border);
    background: #fff;
}

.sm-header__search input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    padding: 0 16px;
    outline: 0;
}

.sm-header__search button {
    border: 0;
    min-width: 94px;
    padding: 0 18px;
    background: var(--sm-blue);
    color: #fff;
    cursor: pointer;
}

.sm-nav {
    background: var(--sm-blue);
}

.sm-nav__list {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-nav__item {
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.sm-nav__item:last-child {
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.sm-nav__link {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}



.sm-header__burger {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--sm-border);
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.sm-header__burger span:not(.visually-hidden) {
    width: 23px;
    height: 2px;
    background: var(--sm-blue);
}

.sm-header__callback {
    flex: 0 0 auto;
    white-space: nowrap;
}

.sm-nav .sm-container {
    overflow-x: auto;
}

.sm-nav__list {
    flex-wrap: nowrap;
}

.sm-nav__item {
    flex: 0 0 auto;
}

.sm-nav__item:hover .sm-nav__link,
.sm-nav__item.is-active .sm-nav__link {
    background: var(--sm-blue-dark);
    color: #fff !important;
}


/* Compact readable contacts in the top bar */
.sm-header__bar-inner {
    min-height: 48px;
}

.sm-header__bar-contacts {
    gap: 10px;
}

.sm-header-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 5px 12px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
}

.sm-header-contact__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
}

.sm-header-contact__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sm-header-contact__label {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .65);
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.sm-header-contact__value,
.sm-header-contact__value font,
.sm-header-contact__value a {
    margin: 0;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.sm-header-contact__value a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.sm-footer {
    flex: 0 0 auto;
    background: var(--sm-blue-dark);
    color: #fff;
}

.sm-footer__main {
    padding: 48px 0;
}

.sm-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1fr;
    gap: 48px;
}

.sm-footer__logo img {
    width: 210px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.sm-footer__brand p {
    max-width: 340px;
    color: rgba(255, 255, 255, .72);
}

.sm-footer-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-footer a,
.sm-footer font {
    color: #fff !important;
}

.sm-footer__contacts h2 {
    color: #fff;
    font-size: 20px;
}

.sm-editable-contact--footer {
    margin-bottom: 12px;
}

.sm-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.sm-footer__bottom-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.sm-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--sm-transition), color var(--sm-transition), border-color var(--sm-transition);
}

.sm-button--primary {
    background: var(--sm-blue);
    color: #fff;
}

.sm-button--primary:hover {
    background: var(--sm-blue-dark);
}

.sm-button--accent {
    background: var(--sm-blue);
    color: #fff;
}

.sm-button--light {
    background: #fff;
    color: var(--sm-blue);
}

.sm-breadcrumbs {
    margin-bottom: 18px;
    padding: 14px 18px;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border-soft);
}

.sm-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--sm-muted);
    font-size: 13px;
}

.sm-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #a0a7b2;
}

.sm-side-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-side-menu__item + .sm-side-menu__item {
    border-top: 1px solid var(--sm-border-soft);
}

.sm-side-menu a {
    display: block;
    padding: 14px 18px;
    color: var(--sm-text);
}

.sm-side-menu__item.is-active a,
.sm-side-menu a:hover {
    background: var(--sm-blue-soft);
    color: var(--sm-blue-dark);
}

.sm-cookie {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    width: min(420px, calc(100% - 40px));
    padding: 18px;
    background: var(--sm-blue);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .25s ease, transform .25s ease;
}

.sm-cookie.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sm-cookie p {
    margin: 0 0 14px;
}

.sm-cookie a {
    color: #fff;
    text-decoration: underline;
}


.sm-breadcrumbs:empty {
    display: none;
}

.sm-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.sm-search-form input[type="search"] {
    min-width: 0;
    flex: 1 1 auto;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--sm-border);
    background: #fff;
    outline: 0;
}

.sm-search-form input[type="search"]:focus {
    border-color: var(--sm-blue);
    box-shadow: 0 0 0 3px rgba(12, 90, 130, .1);
}

.sm-search-results {
    display: grid;
    gap: 16px;
}

.sm-search-result {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 140px;
    border: 1px solid #dce5ea;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sm-search-result:hover {
    border-color: rgba(12, 90, 130, .38);
    box-shadow: 0 10px 26px rgba(12, 90, 130, .09);
}

.sm-search-result__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-right: 1px solid #edf1f3;
    background: #fbfcfd;
}

.sm-search-result__media img {
    display: block;
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sm-search-result__body {
    min-width: 0;
    padding: 20px 22px;
}

.sm-search-result__title {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
}

.sm-search-result__title a {
    color: var(--sm-title);
}

.sm-search-result__body p {
    margin: 0 0 10px;
    color: var(--sm-muted);
}

.sm-search-result__path {
    color: var(--sm-blue);
    font-size: 12px;
}

.sm-empty-state {
    padding: 24px;
    border: 1px solid var(--sm-border-soft);
    background: var(--sm-surface-soft);
    color: var(--sm-muted);
}

.sm-catalog .sm-page-content,
.sm-solutions .sm-page-content,
.sm-works .sm-page-content {
    min-width: 0;
    overflow: visible;
}

.sm-catalog-description {
    margin: 0 0 26px;
    padding: 20px 22px;
    border: 1px solid var(--sm-border-soft);
    background: var(--sm-surface-soft);
}

.sm-product-grid,
.sm-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 32px;
}

.sm-product-card,
.sm-catalog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce5ea;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sm-product-card:hover,
.sm-catalog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 90, 130, .38);
    box-shadow: 0 14px 34px rgba(12, 90, 130, .11);
}

.sm-product-card__media,
.sm-catalog-card__media {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid #edf1f3;
    background: #fbfcfd;
}

.sm-product-card__media img,
.sm-catalog-card__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sm-product-card__placeholder,
.sm-catalog-card__placeholder,
.sm-search-result__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aabb5;
}

.sm-product-card__placeholder svg,
.sm-catalog-card__placeholder svg,
.sm-search-result__placeholder svg {
    width: 62px;
    height: 62px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sm-product-card__body,
.sm-catalog-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sm-product-card__eyebrow,
.sm-catalog-card__eyebrow {
    margin-bottom: 9px;
    color: var(--sm-blue);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.sm-product-card__title,
.sm-catalog-card__title {
    margin: 0 0 13px;
    font-size: 18px;
    line-height: 1.35;
}

.sm-product-card__title a,
.sm-catalog-card__title a {
    color: var(--sm-title);
    text-decoration: none;
}

.sm-product-card__title a:hover,
.sm-catalog-card__title a:hover {
    color: var(--sm-blue);
}

.sm-catalog-card__description {
    margin: 0 0 18px;
    color: var(--sm-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sm-product-card__footer,
.sm-catalog-card__footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf1f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sm-product-card__price,
.sm-catalog-card__price {
    color: var(--sm-title);
    font-size: 16px;
    font-weight: 800;
}

.sm-product-card__more,
.sm-catalog-card__more {
    color: var(--sm-blue);
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
    text-decoration: none;
}

.sm-product-card__more:hover,
.sm-catalog-card__more:hover {
    color: var(--sm-blue-dark);
}

/* The template header owns the only H1 on catalog detail pages. */
.sm-catalog .product-card__title {
    display: none !important;
}

/* Old ecommerce controls are intentionally not part of the new list template. */
.sm-v2 .catalog-card__basket,
.sm-v2 .buy-button-container,
.sm-v2 .product-item-detail-buy-button,
.sm-v2 .product-item-quantity,
.sm-v2 .product-item-detail-compare-container,
.sm-v2 .bx_catalog_compare_form,
.sm-v2 .bx_catalog_compare_count,
.sm-v2 [data-entity="basket-block"],
.sm-v2 [data-entity="quantity-block"] {
    display: none !important;
}


/* Product-card typography: legacy Aspro h2 rules contain aggressive sizes.
   This component owns its exact dimensions. */
.sm-v2 .sm-product-card__title,
.sm-v2 .sm-product-card__title h2 {
    margin: 0 0 14px !important;
    font-size: 18px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
}

.sm-v2 .sm-product-card__title a {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: var(--sm-title) !important;
    font-size: 18px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.sm-v2 .sm-product-card__eyebrow {
    margin-bottom: 8px;
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: .04em !important;
}

.sm-v2 .sm-product-card__body {
    padding: 18px 20px 20px;
}

.sm-v2 .sm-product-card__media {
    height: 220px;
}

@media (max-width: 767px) {
    .sm-v2 .sm-product-card__title,
    .sm-v2 .sm-product-card__title a {
        font-size: 17px !important;
    }
}

.sm-company .inside_page_content,
.sm-help .inside_page_content,
.sm-contacts .inside_page_content,
.sm-sale .inside_page_content {
    color: var(--sm-text);
}

.sm-v2 .inside_page_content font,
.sm-v2 .inside_page_content span[style*="font-family"],
.sm-v2 .inside_page_content span[style*="font-size"] {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.sm-v2 .inside_page_content blockquote {
    margin: 28px 0;
    padding: 22px 24px;
    border: 0;
    border-left: 4px solid var(--sm-blue);
    background: var(--sm-blue-soft);
}

.sm-v2 .inside_page_content table {
    width: 100%;
    border-collapse: collapse;
}

.sm-v2 .inside_page_content th,
.sm-v2 .inside_page_content td {
    padding: 12px 14px;
    border: 1px solid var(--sm-border);
    vertical-align: top;
}

.sm-reference .sm-page-heading:empty {
    display: none;
}

/* One compact navigation system for works, objects, materials, rent and catalog sections. */
.sm-category-nav {
    --sm-category-column: 132px;
    width: 100%;
    margin: 0 0 26px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    border: 1px solid #dbe5ea;
    background: #f5f8fa;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.sm-category-nav.is-static {
    grid-template-columns: minmax(0, 1fr);
}

.sm-category-nav.is-static .sm-category-nav__control {
    display: none;
}

.sm-category-nav__viewport {
    min-width: 0;
    overflow: hidden;
}

.sm-category-nav__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(var(--sm-category-column), 1fr);
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.sm-category-nav__track::-webkit-scrollbar {
    display: none;
}

.sm-category-nav__item {
    min-width: 0;
    min-height: 76px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 9px;
    border-right: 1px solid #dbe5ea;
    background: transparent;
    color: #31414b;
    text-align: center;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.sm-category-nav__item:hover {
    background: #e7f0f4;
    color: var(--sm-blue-dark);
    box-shadow: inset 0 -3px 0 rgba(12, 90, 130, .45);
}

.sm-category-nav__item.is-active {
    background: var(--sm-blue);
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--sm-blue-dark);
}

.sm-category-nav__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.sm-category-nav__svg {
    width: 27px;
    height: 27px;
    display: block;
}

.sm-category-nav__label {
    max-width: 100%;
    color: inherit;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.15;
}

.sm-category-nav__control {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--sm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.sm-category-nav__control--prev {
    border-right: 1px solid #dbe5ea;
}

.sm-category-nav__control--next {
    border-left: 1px solid #dbe5ea;
}

.sm-category-nav__control:hover:not(:disabled) {
    background: #e7f0f4;
    color: var(--sm-blue-dark);
}

.sm-category-nav__control:disabled {
    opacity: .28;
    cursor: default;
}

.sm-category-nav__control svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Disable all obsolete Owl/Swiper shells and controls that can survive cache. */
.sm-v2 .catalog__slider-nav,
.sm-v2 .owl-controls,
.sm-v2 .owl-buttons,
.sm-v2 .owl-pagination,
.sm-v2 .swiper-button-next,
.sm-v2 .swiper-button-prev {
    display: none !important;
}

/* Главная: временная совместимость с утверждённой разметкой Aspro. */
.sm-home .sm-main--home {
    padding: 0;
    background: #fff;
}

.sm-home .sm-home-legacy {
    width: 100%;
    min-width: 0;
}

.sm-home .sm-home-legacy > .maxwidth-theme:first-child {
    max-width: none;
}

.sm-home .sm-home-legacy .container,
.sm-home .sm-home-legacy .maxwidth-theme {
    box-sizing: border-box;
}


/* Native adaptive homepage hero. No Flexslider dependency. */
.sm-hero {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 30px;
    background: #eef3f5;
    border: 1px solid var(--sm-border-soft);
    overflow: hidden;
    isolation: isolate;
}

.sm-hero__viewport {
    position: relative;
    min-height: clamp(240px, 26.6vw, 330px);
}

.sm-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    min-height: clamp(240px, 26.6vw, 330px);
    background-color: #dce6eb;
    background-image: var(--sm-hero-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility .45s ease;
}

.sm-hero__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sm-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 39, 57, .78) 0%, rgba(5, 39, 57, .45) 44%, rgba(5, 39, 57, .05) 72%);
}

.sm-hero__slide.is-dark-text .sm-hero__shade {
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .72) 45%, rgba(255, 255, 255, .08) 75%);
}

.sm-hero__container {
    min-height: inherit;
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    padding-top: 42px;
    padding-bottom: 42px;
}

.sm-hero__content {
    max-width: 620px;
    color: #fff;
}

.sm-hero__slide.is-dark-text .sm-hero__content {
    color: var(--sm-title);
}

.sm-hero__title {
    margin: 0 0 16px;
    color: inherit;
    font-size: clamp(30px, 3.2vw, 52px);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.sm-hero__text,
.sm-hero__text p {
    margin: 0 0 22px;
    color: inherit;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.55;
}

.sm-hero__product-image {
    justify-self: end;
    align-self: center;
}

.sm-hero__product-image img {
    display: block;
    max-width: min(420px, 34vw);
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sm-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    background: rgba(6, 53, 77, .82);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.sm-hero__arrow--prev { left: 0; }
.sm-hero__arrow--next { right: 0; }

.sm-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.sm-hero__dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
}

.sm-hero__dot.is-active {
    background: var(--sm-blue);
}

.sm-hero__slide.is-image-only .sm-hero__shade,
.sm-hero__slide.is-image-only .sm-hero__content {
    display: none;
}


/* The historic banner used a 330px desktop canvas and contained the whole artwork.
   Keep the same visual logic, but scale it down proportionally on smaller screens. */
.sm-hero__slide {
    background-color: #eef3f5;
    background-size: contain;
    background-position: center center;
}

.sm-hero__slide.is-image-only {
    cursor: pointer;
}

.sm-hero__slide.is-image-only .sm-hero__container {
    min-height: inherit;
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .sm-hero,
    .sm-hero__viewport,
    .sm-hero__slide {
        min-height: clamp(190px, 52vw, 240px);
    }

    .sm-hero__slide {
        background-size: contain;
    }

    .sm-hero__container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 26px;
        padding-bottom: 34px;
    }

    .sm-hero__title {
        font-size: clamp(23px, 7vw, 32px);
    }

    .sm-hero__product-image {
        display: none;
    }
}

@media (max-width: 1100px) {
    .sm-header__bar-links {
        display: none;
    }

    .sm-header__search {
        max-width: none;
    }

    .sm-nav__link {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 13px;
    }

    .sm-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .sm-footer__contacts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .sm-header {
        position: relative;
    }

    .sm-header__bar {
        display: none;
    }

    .sm-header__main-inner {
        min-height: 70px;
    }

    .sm-header__logo {
        width: 175px;
    }

    .sm-header__search,
    .sm-header__callback {
        display: none;
    }

    .sm-header__burger {
        display: inline-flex;
        margin-left: auto;
    }

    .sm-nav {
        display: none;
    }

    .sm-header.is-menu-open .sm-nav {
        display: block;
    }

    .sm-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .sm-nav__item,
    .sm-nav__item:last-child {
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .sm-page-layout {
        grid-template-columns: 1fr;
    }

    .sm-sidebar {
        order: 0;
    }
}

@media (max-width: 680px) {
    .sm-container,
    .sm-v2 .container,
    .sm-v2 .maxwidth-theme {
        width: min(calc(100% - 24px), var(--sm-container));
    }

    .sm-main {
        padding-top: 14px;
    }

    .sm-page-content {
        padding: 22px 18px;
    }

    .sm-footer__grid,
    .sm-footer-menu {
        grid-template-columns: 1fr;
    }

    .sm-footer__contacts {
        grid-column: auto;
    }

    .sm-footer__bottom-inner {
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 900px) {
    .sm-header__bar-inner {
        align-items: stretch;
    }

    .sm-header__bar-links {
        display: none;
    }

    .sm-header__bar-contacts {
        width: 100%;
        justify-content: space-between;
    }

    .sm-header-contact {
        flex: 1 1 50%;
        border-left: 0;
        padding-left: 0;
        padding-right: 8px;
    }

    .sm-hero__container {
        grid-template-columns: minmax(0, 1fr);
    }

    .sm-hero__content {
        max-width: min(620px, 82%);
    }

    .sm-hero__product-image {
        display: none;
    }
}

@media (max-width: 640px) {
    .sm-header__bar-contacts {
        gap: 4px;
    }

    .sm-header-contact {
        gap: 6px;
        min-width: 0;
    }

    .sm-header-contact__icon {
        display: none;
    }

    .sm-header-contact__label {
        font-size: 9px;
    }

    .sm-header-contact__value,
    .sm-header-contact__value font,
    .sm-header-contact__value a {
        font-size: 12px !important;
    }

    .sm-category-nav__item {
        min-width: 126px;
        flex-basis: 126px;
        min-height: 58px;
        padding: 8px 10px;
    }

    .sm-category-nav__icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .sm-category-nav__icon img {
        max-width: 24px;
        max-height: 24px;
    }

    .sm-category-nav__label {
        font-size: 12px;
    }

    .sm-hero__viewport,
    .sm-hero__slide {
        min-height: 300px;
    }

    .sm-hero__slide {
        background-position: center;
    }

    .sm-hero__shade {
        background: linear-gradient(90deg, rgba(5, 39, 57, .88) 0%, rgba(5, 39, 57, .62) 70%, rgba(5, 39, 57, .25) 100%);
    }

    .sm-hero__container {
        padding-top: 34px;
        padding-bottom: 44px;
    }

    .sm-hero__content {
        max-width: calc(100% - 32px);
    }

    .sm-hero__title {
        font-size: 30px;
    }

    .sm-hero__arrow {
        width: 34px;
        height: 46px;
        font-size: 28px;
    }
}


@media (max-width: 1024px) {
    .sm-product-grid,
    .sm-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-category-nav {
        --sm-category-column: 145px;
    }
}

@media (max-width: 640px) {
    .sm-category-nav {
        --sm-category-column: 132px;
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    .sm-category-nav__control {
        width: 36px;
        min-width: 36px;
    }

    .sm-category-nav__item {
        min-height: 72px;
        padding: 8px;
    }

    .sm-product-grid,
    .sm-catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sm-product-card__media,
    .sm-catalog-card__media {
        height: 210px;
    }

    .sm-search-form {
        flex-direction: column;
    }

    .sm-search-result {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 112px;
    }

    .sm-search-result__media {
        padding: 10px;
    }

    .sm-search-result__media img {
        max-height: 82px;
    }

    .sm-search-result__body {
        padding: 15px;
    }

    .sm-search-result__title {
        font-size: 16px;
    }
}

/* Только временная совместимость со старой разметкой Aspro. */
.sm-v2 .content,
.sm-v2 .main {
    background: transparent !important;
}

.sm-v2 .row {
    max-width: none;
}

.sm-v2 .inside_page_content > :first-child {
    margin-top: 0;
}

.sm-v2 .inside_page_content > :last-child {
    margin-bottom: 0;
}

.sm-v2 .btn,
.sm-v2 .button,
.sm-v2 input,
.sm-v2 textarea,
.sm-v2 select,
.sm-v2 .item,
.sm-v2 .item_block,
.sm-v2 .catalog-card,
.sm-v2 .section_item {
    border-radius: 0 !important;
}

/* Старые глобальные элементы header/footer внутри компонентных шаблонов не показываем. */
.sm-v2 .basket_fly,
.sm-v2 .basket_wrapp,
.sm-v2 .wish_item,
.sm-v2 .compare_item {
    display: none !important;
}


/* ==========================================================================
   PATCH 1.7 — карточная сетка разделов каталога
   Только /catalog/ и его вложенные каталожные разделы.
   Работы (.tabs.sections) не затрагиваются.
   ========================================================================== */

/*
 * Реальная старая разметка:
 * .item-views.services.groups.list.sections
 *   .group-content
 *     .row
 *       .col-md-6
 *         .item
 *           .row
 *             .col-md-4 > .image
 *             .col-md-6 > .title / .description
 *
 * Существующие строки объединяем в одну CSS Grid без изменения PHP.
 */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
> .group-content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 0 34px !important;
}

/* Вложенные старые Bootstrap-строки перестают быть отдельными рядами. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
> .group-content
> .row {
    display: contents !important;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
> .group-content
> .row::before,
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
> .group-content
> .row::after {
    display: none !important;
    content: none !important;
}

/* Старые разделители между каждыми двумя разделами больше не нужны. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
> .group-content
> hr {
    display: none !important;
}

/* Внешняя Bootstrap-колонка становится обычным элементом общей сетки. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
> .group-content
> .row
> .col-md-6 {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Карточка раздела. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item {
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    min-height: 360px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #d6e1e8 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 7px 22px rgba(15, 38, 55, .055) !important;
    transform: translateY(0);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease !important;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item:hover,
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item:focus-within {
    transform: translateY(-4px);
    border-color: rgba(12, 90, 130, .55) !important;
    box-shadow: 0 16px 38px rgba(12, 70, 105, .13) !important;
}

/* Внутреннюю строку карточки переводим в вертикальную структуру. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row::before,
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row::after {
    display: none !important;
    content: none !important;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row
> .col-md-4,
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row
> .col-md-6 {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Зона изображения. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 !important;
    padding: 24px !important;
    overflow: hidden;
    border-bottom: 1px solid #e3ebf0 !important;
    background: linear-gradient(180deg, #fbfdfe 0%, #f4f8fa 100%) !important;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.image
> a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    object-fit: contain;
    transition: transform .28s ease;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item:hover
.image img,
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item:focus-within
.image img {
    transform: scale(1.035);
}

/* Текстовая половина карточки. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row
> .col-md-6 {
    position: static;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 150px !important;
    padding: 21px 22px 20px !important;
    background: #fff !important;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 19px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    letter-spacing: -.012em;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.title a {
    display: -webkit-box;
    overflow: hidden;
    color: #143f67 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/*
 * Существующая ссылка названия растягивается на всю карточку:
 * кликабельны картинка, пустое место и текст.
 */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.description {
    display: -webkit-box;
    overflow: hidden;
    margin: 13px 0 0 !important;
    color: #687985 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
.description p {
    margin: 0 !important;
}

/* Визуальная подпись перехода без изменения PHP-разметки. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.item
> .row
> .col-md-6::after {
    content: "Перейти в раздел  →";
    display: block;
    margin-top: auto;
    padding-top: 16px;
    color: var(--sm-blue);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

/* На главной каталога и во вложенных разделах карточки одинаковые. */
.sm-v2.sm-catalog
.item-views.services.groups.list.sections
.group-content:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .sm-v2.sm-catalog
    .item-views.services.groups.list.sections
    > .group-content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .sm-v2.sm-catalog
    .item-views.services.groups.list.sections
    > .group-content {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .sm-v2.sm-catalog
    .item-views.services.groups.list.sections
    .item {
        min-height: 0;
    }

    .sm-v2.sm-catalog
    .item-views.services.groups.list.sections
    .item
    .image {
        height: 185px !important;
        min-height: 185px !important;
        padding: 20px !important;
    }

    .sm-v2.sm-catalog
    .item-views.services.groups.list.sections
    .item
    > .row
    > .col-md-6 {
        min-height: 0 !important;
        padding: 18px 19px !important;
    }

    .sm-v2.sm-catalog
    .item-views.services.groups.list.sections
    .item
    .title {
        font-size: 18px !important;
    }
}


/* ==========================================================================
   Главная 2.0 — материалы, работы, решения, детальный каталог и аренда
   ========================================================================== */

.sm-home-redesign {
    background: #fff;
}

.sm-home-section {
    padding: 72px 0;
}

.sm-home-section + .sm-home-section {
    border-top: 1px solid #e3eaf0;
}

.sm-home-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 34px;
}

.sm-home-section__heading h2,
.sm-home-rent__intro h2 {
    margin: 8px 0 0;
    color: #102e47;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.sm-home-section__heading > p,
.sm-home-rent__intro > p {
    margin: 0;
    color: #61727f;
    font-size: 16px;
    line-height: 1.65;
}

.sm-home-section__eyebrow {
    display: inline-block;
    color: var(--sm-blue);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sm-home-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.sm-home-mode-card {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 164px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d6e1e8;
    background: #f8fbfd;
    color: #163e5d;
    text-align: left;
    cursor: pointer;
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        color .22s ease;
}

.sm-home-mode-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 90, 130, .55);
    box-shadow: 0 13px 30px rgba(12, 69, 103, .11);
}

.sm-home-mode-card.is-active {
    border-color: var(--sm-blue);
    background: var(--sm-blue);
    color: #fff;
    box-shadow: 0 16px 36px rgba(12, 90, 130, .18);
}

.sm-home-mode-card__visual {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 22px;
    border-right: 1px solid #d6e1e8;
    background: #edf4f7;
    color: var(--sm-blue);
}

.sm-home-mode-card.is-active .sm-home-mode-card__visual {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.sm-home-mode-card__visual svg {
    display: block;
    width: 86px;
    max-width: 100%;
    height: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sm-home-mode-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px;
}

.sm-home-mode-card__content strong {
    color: inherit;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.sm-home-mode-card__content span {
    color: #6b7d89;
    font-size: 14px;
    line-height: 1.5;
}

.sm-home-mode-card.is-active .sm-home-mode-card__content span {
    color: rgba(255, 255, 255, .78);
}

.sm-home-tab-panels,
.sm-home-detail-panels {
    position: relative;
}

.sm-home-tab-panel {
    padding: 30px;
    border: 1px solid #dbe5eb;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 43, 62, .055);
}

.sm-home-tab-panel[hidden] {
    display: none !important;
}

.sm-home-panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e3ebf0;
}

.sm-home-panel-heading--compact {
    align-items: start;
}

.sm-home-panel-heading h3 {
    margin: 0;
    color: #153c5d;
    font-size: 27px;
    line-height: 1.15;
}

.sm-home-panel-heading p {
    max-width: 760px;
    margin: 7px 0 0;
    color: #6a7b87;
    font-size: 14px;
    line-height: 1.55;
}

.sm-home-panel-heading > a {
    flex: 0 0 auto;
    color: var(--sm-blue);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.sm-home-panel-heading > a:hover {
    text-decoration: underline;
}

.sm-home-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sm-home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 322px;
    overflow: hidden;
    border: 1px solid #d9e3e9;
    background: #fff;
    color: #173f5f;
    text-decoration: none;
    transform: translateY(0);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.sm-home-card:hover {
    transform: translateY(-4px);
    border-color: rgba(12, 90, 130, .58);
    box-shadow: 0 14px 32px rgba(12, 67, 100, .12);
    color: #173f5f;
    text-decoration: none;
}

.sm-home-card__media {
    display: grid;
    place-items: center;
    height: 164px;
    padding: 18px;
    overflow: hidden;
    border-bottom: 1px solid #e2eaf0;
    background: linear-gradient(180deg, #fbfdfe 0%, #f2f7f9 100%);
}

.sm-home-card__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 132px;
    object-fit: contain;
    transition: transform .28s ease;
}

.sm-home-card:hover .sm-home-card__media img {
    transform: scale(1.035);
}

.sm-home-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #7a98a9;
}

.sm-home-card__placeholder svg {
    width: 118px;
    max-width: 82%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.sm-home-card__placeholder text {
    fill: currentColor;
    stroke: none;
    font-size: 18px;
    font-weight: 800;
}

.sm-home-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 20px 20px 18px;
}

.sm-home-card__title {
    color: #163e5d;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 750;
    letter-spacing: -.012em;
}

.sm-home-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    color: #697b87;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.sm-home-card__link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--sm-blue);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.sm-home-empty {
    padding: 28px;
    border: 1px dashed #c9d7df;
    background: #f8fbfd;
    color: #647783;
    text-align: center;
}

.sm-home-detail {
    background: #f5f8fa;
}

.sm-home-detail-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.sm-home-detail-tab {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 19px;
    border: 1px solid #d6e1e8;
    background: #fff;
    color: #294c65;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.sm-home-detail-tab:hover {
    border-color: rgba(12, 90, 130, .55);
    background: #edf5f8;
    color: var(--sm-blue);
}

.sm-home-detail-tab.is-active {
    border-color: var(--sm-blue);
    background: var(--sm-blue);
    color: #fff;
}

.sm-home-rent {
    padding-top: 64px;
    padding-bottom: 64px;
}

.sm-home-rent__shell {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    border: 1px solid #d4e0e7;
    background: #fff;
    box-shadow: 0 16px 40px rgba(14, 51, 76, .075);
}

.sm-home-rent__intro {
    padding: 46px;
    background: #123f62;
    color: #fff;
}

.sm-home-rent__intro h2 {
    color: #fff;
}

.sm-home-rent__intro > p {
    margin: 20px 0 28px;
    color: rgba(255, 255, 255, .76);
}

.sm-home-rent__intro .sm-home-section__eyebrow {
    color: #bcd9e7;
}

.sm-home-rent__intro .sm-button {
    background: #fff;
    color: #123f62;
}

.sm-home-rent__intro .sm-button:hover {
    background: #eaf2f6;
}

.sm-home-rent__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 1px;
    padding: 1px;
    background: #dfe8ed;
}

.sm-home-rent__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 88px;
    padding: 20px 22px;
    background: #fff;
    color: #173f5f;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.sm-home-rent__list a:hover {
    background: #edf5f8;
    color: var(--sm-blue);
}

.sm-home-legacy-lower {
    padding-top: 22px;
}

@media (max-width: 1180px) {
    .sm-home-mode-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .sm-home-mode-card__visual svg {
        width: 68px;
    }

    .sm-home-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sm-home-section {
        padding: 56px 0;
    }

    .sm-home-section__heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sm-home-mode-grid {
        grid-template-columns: 1fr;
    }

    .sm-home-mode-card {
        grid-template-columns: 116px minmax(0, 1fr);
        min-height: 132px;
    }

    .sm-home-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-home-rent__shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .sm-home-section {
        padding: 44px 0;
    }

    .sm-home-section__heading {
        margin-bottom: 24px;
    }

    .sm-home-mode-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .sm-home-mode-card__content {
        padding: 18px;
    }

    .sm-home-mode-card__content strong {
        font-size: 21px;
    }

    .sm-home-tab-panel {
        padding: 20px;
    }

    .sm-home-panel-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
    }

    .sm-home-card-grid {
        grid-template-columns: 1fr;
    }

    .sm-home-card {
        min-height: 0;
    }

    .sm-home-rent__intro {
        padding: 30px 24px;
    }

    .sm-home-rent__list {
        grid-template-columns: 1fr;
    }

    .sm-home-rent__list a {
        min-height: 72px;
    }
}

/* ==========================================================================
   PATCH 3.0 — универсальные детальные страницы
   ========================================================================== */

.sm-universal-detail {
    --sm-detail-accent: var(--sm-blue);
    --sm-detail-ink: #113a59;
    --sm-detail-muted: #667984;
    --sm-detail-border: #d8e3e9;
    --sm-detail-soft: #f4f8fa;
    width: 100%;
}

.sm-universal-detail--solution {
    --sm-detail-accent: #0a617e;
}

.sm-universal-detail--rent {
    --sm-detail-accent: #35596f;
}

.sm-universal-detail--service {
    --sm-detail-accent: #185b79;
}

.sm-universal-detail--project {
    --sm-detail-accent: #2f5369;
}

.sm-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 28px;
    margin: 0 0 30px;
}

.sm-detail-gallery,
.sm-detail-summary {
    min-width: 0;
    border: 1px solid var(--sm-detail-border);
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 49, 72, .055);
}

.sm-detail-gallery {
    padding: 22px;
}

.sm-detail-gallery__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdfe 0%, #f3f7f9 100%);
}

.sm-detail-gallery__slide {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 470px;
    padding: 32px;
    color: inherit;
}

.sm-detail-gallery__slide[hidden] {
    display: none !important;
}

.sm-detail-gallery__slide img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 410px;
    object-fit: contain;
}

.sm-universal-detail--project .sm-detail-gallery__slide,
.sm-universal-detail--service .sm-detail-gallery__slide,
.sm-universal-detail--solution .sm-detail-gallery__slide {
    padding: 0;
}

.sm-universal-detail--project .sm-detail-gallery__slide img,
.sm-universal-detail--service .sm-detail-gallery__slide img {
    width: 100%;
    height: 470px;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.sm-detail-gallery__zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 9px 12px;
    background: rgba(17, 58, 89, .9);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.sm-detail-gallery__placeholder {
    display: grid;
    place-items: center;
    min-height: 470px;
    color: #8aa2b0;
}

.sm-detail-gallery__placeholder svg {
    width: min(250px, 70%);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.sm-detail-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.sm-detail-gallery__thumb {
    display: grid;
    place-items: center;
    height: 78px;
    padding: 7px;
    overflow: hidden;
    border: 1px solid #dce6ec;
    background: #fff;
    cursor: pointer;
}

.sm-detail-gallery__thumb:hover,
.sm-detail-gallery__thumb.is-active {
    border-color: var(--sm-detail-accent);
}

.sm-detail-gallery__thumb img {
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.sm-detail-summary {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.sm-detail-summary__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.sm-detail-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 11px;
    background: var(--sm-detail-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sm-detail-section-link {
    color: var(--sm-detail-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.sm-detail-section-link:hover {
    text-decoration: underline;
}

.sm-detail-lead {
    margin-bottom: 24px;
    color: #314e61;
    font-size: 17px;
    line-height: 1.65;
}

.sm-detail-lead p:last-child {
    margin-bottom: 0;
}

.sm-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 24px;
    padding: 1px;
    background: #e1e9ee;
}

.sm-detail-meta > div {
    min-width: 0;
    padding: 13px 14px;
    background: #f8fbfc;
}

.sm-detail-meta dt {
    margin-bottom: 5px;
    color: #7a8b96;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sm-detail-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #203f54;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.sm-detail-price-card {
    margin-top: auto;
    padding: 22px;
    border: 1px solid #d6e2e8;
    background: var(--sm-detail-soft);
}

.sm-detail-price-card__label {
    display: block;
    margin-bottom: 8px;
    color: #758893;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sm-detail-price-card__value {
    color: var(--sm-detail-ink);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.035em;
}

.sm-detail-price-card__old {
    margin-top: 6px;
    color: #83939d;
    font-size: 14px;
    text-decoration: line-through;
}

.sm-detail-price-card p {
    margin: 12px 0 0;
    color: #657883;
    font-size: 13px;
    line-height: 1.5;
}

.sm-detail-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 14px;
}

.sm-button--outline {
    border-color: var(--sm-detail-accent);
    background: #fff;
    color: var(--sm-detail-accent);
}

.sm-button--outline:hover {
    background: #edf5f8;
}

.sm-detail-consult {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e9ed;
    color: #71828d;
    font-size: 13px;
    line-height: 1.45;
}

.sm-detail-consult strong {
    color: #2c4c61;
    font-weight: 700;
}

.sm-detail-anchor-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    padding: 9px;
    overflow-x: auto;
    border: 1px solid var(--sm-detail-border);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 20px rgba(15, 49, 72, .06);
    backdrop-filter: blur(10px);
}

.sm-detail-anchor-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    background: #f2f7f9;
    color: #36566a;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.sm-detail-anchor-nav a:hover {
    background: var(--sm-detail-accent);
    color: #fff;
}

.sm-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.sm-detail-main {
    min-width: 0;
}

.sm-detail-section {
    scroll-margin-top: 90px;
    margin-bottom: 24px;
    padding: 34px;
    border: 1px solid var(--sm-detail-border);
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 49, 72, .045);
}

.sm-detail-section__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e9ed;
}

.sm-detail-section__heading > span {
    color: #8ea1ad;
    font-size: 12px;
    font-weight: 800;
}

.sm-detail-section__heading h2 {
    margin: 0 !important;
    color: var(--sm-detail-ink) !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    letter-spacing: -.025em;
}

.sm-detail-rich {
    max-width: 880px;
    color: #2f4858;
    font-size: 16px;
    line-height: 1.72;
}

.sm-detail-rich--after {
    margin-top: 26px;
}

.sm-detail-rich p,
.sm-detail-rich ul,
.sm-detail-rich ol,
.sm-detail-rich table {
    margin-top: 0;
    margin-bottom: 18px;
}

.sm-detail-rich h2,
.sm-detail-rich h3,
.sm-detail-rich h4,
.sm-detail-rich h5,
.sm-detail-rich h6,
.sm-detail-rich font {
    font-family: inherit !important;
    color: var(--sm-detail-ink) !important;
}

.sm-detail-rich h2,
.sm-detail-rich h3 {
    margin: 30px 0 14px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
}

.sm-detail-rich h4,
.sm-detail-rich h5,
.sm-detail-rich h6 {
    margin: 24px 0 12px !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
}

.sm-detail-rich ul,
.sm-detail-rich ol {
    padding-left: 24px;
}

.sm-detail-rich li + li {
    margin-top: 8px;
}

.sm-detail-rich img {
    max-width: 100%;
    height: auto;
}

.sm-detail-rich table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.sm-detail-rich table td,
.sm-detail-rich table th {
    min-width: 160px;
    padding: 12px 14px;
    border: 1px solid #dce5ea;
    text-align: left;
}

.sm-detail-rich table tr:nth-child(even) {
    background: #f7fafb;
}

.sm-detail-specs {
    border-top: 1px solid #dfe7ec;
}

.sm-detail-specs__row {
    display: grid;
    grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr);
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid #dfe7ec;
}

.sm-detail-specs__name {
    color: #627682;
    font-size: 14px;
    line-height: 1.45;
}

.sm-detail-specs__value {
    color: #203e52;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.sm-detail-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sm-detail-document {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 84px;
    padding: 14px;
    border: 1px solid #dbe5ea;
    background: #f8fbfc;
    color: #264a61;
    text-decoration: none;
}

.sm-detail-document:hover {
    border-color: var(--sm-detail-accent);
    background: #edf5f8;
}

.sm-detail-document__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: var(--sm-detail-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.sm-detail-document__content {
    min-width: 0;
}

.sm-detail-document__content strong {
    display: block;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 14px;
    line-height: 1.35;
}

.sm-detail-document__content small {
    display: block;
    margin-top: 5px;
    color: #778a95;
    font-size: 12px;
}

.sm-detail-document__arrow {
    color: var(--sm-detail-accent);
    font-size: 22px;
}

.sm-detail-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sm-detail-photo-grid a {
    display: block;
    height: 210px;
    overflow: hidden;
    background: #f3f7f9;
}

.sm-detail-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.sm-detail-photo-grid a:hover img {
    transform: scale(1.04);
}

.sm-detail-video-links {
    display: grid;
    gap: 10px;
}

.sm-detail-video-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid #dbe5ea;
    background: #f8fbfc;
    color: var(--sm-detail-accent);
    font-weight: 750;
    text-decoration: none;
}

.sm-detail-video-links a:hover {
    background: #edf5f8;
}

.sm-detail-aside {
    position: sticky;
    top: 76px;
}

.sm-detail-aside__card {
    padding: 26px;
    background: var(--sm-detail-ink);
    color: #fff;
    box-shadow: 0 15px 36px rgba(14, 49, 72, .15);
}

.sm-detail-aside__eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #b8d7e7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sm-detail-aside__card h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 24px;
    line-height: 1.18;
}

.sm-detail-aside__card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.6;
}

.sm-detail-aside__card .sm-button {
    width: 100%;
    background: #fff;
    color: var(--sm-detail-ink);
}

.sm-detail-related {
    margin-top: 56px;
    padding-top: 46px;
    border-top: 1px solid #dce5ea;
}

.sm-detail-related__heading {
    margin-bottom: 24px;
}

.sm-detail-related__heading h2 {
    margin: 7px 0 0 !important;
    color: var(--sm-detail-ink) !important;
    font-size: 34px !important;
    line-height: 1.12 !important;
    letter-spacing: -.03em;
}

.sm-detail-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sm-detail-related-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid #d8e3e9;
    background: #fff;
    color: #24485f;
    text-decoration: none;
}

.sm-detail-related-card:hover {
    border-color: var(--sm-detail-accent);
    box-shadow: 0 12px 30px rgba(15, 49, 72, .09);
}

.sm-detail-related-card__media {
    display: grid;
    place-items: center;
    height: 160px;
    padding: 17px;
    border-bottom: 1px solid #e1e9ed;
    background: #f4f8fa;
    color: #8da3af;
}

.sm-detail-related-card__media img {
    max-width: 100%;
    max-height: 126px;
    object-fit: contain;
}

.sm-detail-related-card__media svg {
    width: 105px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.sm-detail-related-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.sm-detail-related-card__body strong {
    color: #163d59;
    font-size: 17px;
    line-height: 1.32;
}

.sm-detail-related-card__body > span {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    color: #6b7c87;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.sm-detail-related-card__body b {
    margin-top: auto;
    padding-top: 16px;
    color: #173e5b;
    font-size: 18px;
}

.sm-detail-related-card__body em {
    margin-top: 12px;
    color: var(--sm-detail-accent);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.sm-detail-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 56px;
    padding: 38px 40px;
    background: var(--sm-detail-ink);
    color: #fff;
}

.sm-detail-final-cta h2 {
    margin: 7px 0 8px !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1.12 !important;
}

.sm-detail-final-cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .73);
    font-size: 14px;
    line-height: 1.6;
}

.sm-detail-final-cta .sm-home-section__eyebrow {
    color: #b8d7e7;
}

.sm-detail-final-cta .sm-button {
    flex: 0 0 auto;
}

@media (max-width: 1180px) {
    .sm-detail-hero {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .sm-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .sm-detail-related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .sm-detail-hero,
    .sm-detail-layout {
        grid-template-columns: 1fr;
    }

    .sm-detail-aside {
        position: static;
    }

    .sm-detail-aside__card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px 28px;
        align-items: center;
    }

    .sm-detail-aside__card .sm-button {
        grid-column: 2;
        grid-row: 1 / span 3;
        width: auto;
    }

    .sm-detail-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sm-detail-gallery,
    .sm-detail-summary {
        padding: 18px;
    }

    .sm-detail-gallery__stage,
    .sm-detail-gallery__slide,
    .sm-detail-gallery__placeholder {
        min-height: 310px;
    }

    .sm-detail-gallery__slide img {
        max-height: 270px;
    }

    .sm-universal-detail--project .sm-detail-gallery__slide img,
    .sm-universal-detail--service .sm-detail-gallery__slide img {
        height: 310px;
    }

    .sm-detail-gallery__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sm-detail-meta {
        grid-template-columns: 1fr;
    }

    .sm-detail-actions {
        grid-template-columns: 1fr;
    }

    .sm-detail-section {
        padding: 23px 19px;
    }

    .sm-detail-section__heading h2 {
        font-size: 23px !important;
    }

    .sm-detail-specs__row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .sm-detail-documents,
    .sm-detail-photo-grid,
    .sm-detail-related__grid {
        grid-template-columns: 1fr;
    }

    .sm-detail-aside__card {
        display: block;
    }

    .sm-detail-aside__card .sm-button {
        width: 100%;
    }

    .sm-detail-final-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 29px 23px;
    }

    .sm-detail-final-cta .sm-button {
        width: 100%;
    }
}


/* ==========================================================================
   PATCH 3.1 — контентные вкладки детальной карточки
   ========================================================================== */

.sm-detail-tabs {
    scroll-margin-top: 18px;
}

.sm-detail-anchor-nav button {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid transparent;
    background: #f2f7f9;
    color: #36566a;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.sm-detail-anchor-nav button:hover {
    border-color: rgba(12, 90, 130, .28);
    background: #e8f2f6;
    color: var(--sm-detail-accent);
}

.sm-detail-anchor-nav button.is-active {
    border-color: var(--sm-detail-accent);
    background: var(--sm-detail-accent);
    color: #fff;
}

.sm-detail-anchor-nav button:focus-visible {
    outline: 2px solid var(--sm-detail-accent);
    outline-offset: 2px;
}

.sm-detail-tabs.is-ready .sm-detail-section[data-sm-detail-panel] {
    display: none;
    margin-bottom: 0;
}

.sm-detail-tabs.is-ready .sm-detail-section[data-sm-detail-panel].is-active {
    display: block;
    animation: smDetailTabAppear .22s ease;
}

.sm-detail-tabs .sm-detail-main {
    min-height: 320px;
}

.sm-detail-tabs .sm-detail-section {
    height: auto;
}

@keyframes smDetailTabAppear {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .sm-detail-anchor-nav {
        margin-right: -1px;
        margin-left: -1px;
        padding: 7px;
    }

    .sm-detail-anchor-nav button {
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }

    .sm-detail-tabs .sm-detail-main {
        min-height: 0;
    }
}

/* ==========================================================================\n   PATCH 4.0 — корпоративные страницы, новости, помощь и контакты\n   ========================================================================== */

.sm-company .sm-page-layout,
.sm-help .sm-page-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.sm-company .sm-sidebar,
.sm-help .sm-sidebar {
    position: sticky;
    top: 22px;
    padding: 10px;
    border: 1px solid #d8e3e9;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 49, 72, .05);
}

.sm-side-menu {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-side-menu__item {
    margin: 0;
}

.sm-side-menu__item a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    color: #31536a;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 650;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.sm-side-menu__item a:hover {
    background: #edf5f8;
    color: var(--sm-blue);
}

.sm-side-menu__item.is-active > a {
    background: var(--sm-blue);
    color: #fff;
}

.sm-side-menu__item--depth-2 a {
    min-height: 36px;
    padding-left: 26px;
    font-size: 13px;
    font-weight: 600;
}

.sm-side-menu__item--depth-2 a::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 9px;
    border-radius: 50%;
    background: #9bb0bc;
}

.sm-company .sm-page-content,
.sm-help .sm-page-content,
.sm-contacts .sm-page-content {
    min-width: 0;
    color: #304b5c;
    font-size: 16px;
    line-height: 1.68;
}

.sm-company .sm-page-content > :first-child,
.sm-help .sm-page-content > :first-child,
.sm-contacts .sm-page-content > :first-child {
    margin-top: 0;
}

.sm-company .sm-page-content p,
.sm-help .sm-page-content p,
.sm-contacts .sm-page-content p {
    margin: 0 0 18px;
}

.sm-company .sm-page-content img,
.sm-help .sm-page-content img,
.sm-contacts .sm-page-content img {
    max-width: 100%;
    height: auto;
}

.sm-company .sm-page-content blockquote,
.sm-help .sm-page-content blockquote {
    margin: 26px 0;
    padding: 24px 26px;
    border: 0;
    border-left: 4px solid var(--sm-blue);
    background: #f3f8fa;
    color: #23475f;
}

.sm-company .sm-page-content blockquote ul,
.sm-help .sm-page-content blockquote ul {
    margin: 0;
}

.sm-company .sm-page-content ul,
.sm-company .sm-page-content ol,
.sm-help .sm-page-content ul,
.sm-help .sm-page-content ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.sm-company .sm-page-content li + li,
.sm-help .sm-page-content li + li {
    margin-top: 7px;
}

.sm-company .sm-page-content h2,
.sm-company .sm-page-content h3,
.sm-company .sm-page-content h4,
.sm-help .sm-page-content h2,
.sm-help .sm-page-content h3,
.sm-help .sm-page-content h4 {
    color: #123d5a;
    letter-spacing: -.02em;
}

.sm-company .sm-page-content h2,
.sm-help .sm-page-content h2 {
    margin: 34px 0 18px;
    font-size: 30px;
    line-height: 1.16;
}

.sm-company .sm-page-content h3,
.sm-help .sm-page-content h3 {
    margin: 28px 0 14px;
    font-size: 24px;
    line-height: 1.22;
}

/* Новости, публикации, пресса */
.sm-corporate-news {
    display: grid;
    gap: 18px;
}

.sm-corporate-news__item {
    position: relative;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    min-height: 190px;
    overflow: hidden;
    border: 1px solid #d8e3e9;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 49, 72, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sm-corporate-news__item:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 90, 130, .5);
    box-shadow: 0 15px 34px rgba(15, 49, 72, .095);
}

.sm-corporate-news__media {
    display: grid;
    place-items: center;
    min-height: 190px;
    overflow: hidden;
    border-right: 1px solid #e1e9ed;
    background: #f3f7f9;
}

.sm-corporate-news__media img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.sm-corporate-news__placeholder {
    width: 78px;
    height: 78px;
    color: #8ea5b2;
}

.sm-corporate-news__placeholder svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.sm-corporate-news__content {
    display: flex;
    flex-direction: column;
    padding: 24px 26px;
}

.sm-corporate-news__date {
    margin-bottom: 10px;
    color: #7a8d99;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sm-corporate-news__title {
    margin: 0 0 12px;
    color: #143e5d;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 750;
}

.sm-corporate-news__title a {
    color: inherit;
    text-decoration: none;
}

.sm-corporate-news__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.sm-corporate-news__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: #637783;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.sm-corporate-news__more {
    margin-top: auto;
    color: var(--sm-blue);
    font-size: 13px;
    font-weight: 800;
}

.sm-corporate-article {
    max-width: 900px;
}

.sm-corporate-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 22px;
    color: #7a8c97;
    font-size: 13px;
}

.sm-corporate-article__image {
    margin: 0 0 28px;
    overflow: hidden;
    background: #f2f7f9;
}

.sm-corporate-article__image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.sm-corporate-article__lead {
    margin-bottom: 25px;
    color: #294b60;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
}

.sm-corporate-article__body {
    color: #304b5c;
    font-size: 16px;
    line-height: 1.75;
}

.sm-corporate-article__body img {
    max-width: 100%;
    height: auto;
}

/* FAQ / помощь */
.sm-corporate-tabs {
    margin: 26px 0 0;
}

.sm-corporate-tabs__nav {
    display: flex;
    gap: 7px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.sm-corporate-tabs__button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d7e2e8;
    background: #f4f8fa;
    color: #34566b;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.sm-corporate-tabs__button:hover,
.sm-corporate-tabs__button.is-active {
    border-color: var(--sm-blue);
    background: var(--sm-blue);
    color: #fff;
}

.sm-corporate-tabs__panel[hidden] {
    display: none !important;
}

.sm-corporate-accordion {
    display: grid;
    gap: 10px;
}

.sm-corporate-accordion__item {
    border: 1px solid #d9e3e9;
    background: #fff;
}

.sm-corporate-accordion__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 62px;
    padding: 15px 18px;
    border: 0;
    background: #fff;
    color: #173f5d;
    text-align: left;
    font: inherit;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 750;
    cursor: pointer;
}

.sm-corporate-accordion__button:hover,
.sm-corporate-accordion__button[aria-expanded="true"] {
    background: #edf5f8;
    color: var(--sm-blue);
}

.sm-corporate-accordion__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.sm-corporate-accordion__icon::before,
.sm-corporate-accordion__icon::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 2px;
    background: currentColor;
}

.sm-corporate-accordion__icon::after {
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.sm-corporate-accordion__button[aria-expanded="true"] .sm-corporate-accordion__icon::after {
    transform: rotate(0deg);
}

.sm-corporate-accordion__panel {
    padding: 0 18px 20px;
    color: #536976;
    font-size: 14px;
    line-height: 1.65;
}

.sm-corporate-accordion__panel[hidden] {
    display: none !important;
}

.sm-corporate-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sm-corporate-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 22px;
    border: 1px solid #d9e3e9;
    background: #fff;
    color: #264a61;
    text-decoration: none;
}

.sm-corporate-card:hover {
    border-color: var(--sm-blue);
    box-shadow: 0 12px 30px rgba(15, 49, 72, .08);
}

.sm-corporate-card strong {
    color: #153f5c;
    font-size: 19px;
    line-height: 1.3;
}

.sm-corporate-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 12px 0 18px !important;
    color: #687b86;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.sm-corporate-card em {
    margin-top: auto;
    color: var(--sm-blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

/* Торговые марки */
.sm-brand-groups {
    display: grid;
    gap: 34px;
}

.sm-brand-group__title {
    margin: 0 0 16px !important;
    color: #163e5c !important;
    font-size: 24px !important;
}

.sm-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sm-brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    overflow: hidden;
    border: 1px solid #d8e3e9;
    background: #fff;
    color: #23485f;
    text-decoration: none;
}

.sm-brand-card:hover {
    border-color: var(--sm-blue);
    box-shadow: 0 12px 28px rgba(15, 49, 72, .085);
}

.sm-brand-card__media {
    display: grid;
    place-items: center;
    height: 155px;
    padding: 20px;
    border-bottom: 1px solid #e1e9ed;
    background: #f5f8fa;
}

.sm-brand-card__media img {
    max-width: 100%;
    max-height: 115px;
    object-fit: contain;
}

.sm-brand-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.sm-brand-card__body strong {
    color: #153d59;
    font-size: 17px;
    line-height: 1.3;
}

.sm-brand-card__body span {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 9px;
    color: #6c7d88;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.sm-brand-card__body em {
    margin-top: auto;
    padding-top: 14px;
    color: var(--sm-blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

/* Контакты */
.sm-contacts .sm-page-content > .row {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 24px;
    margin: 0 0 28px !important;
    padding: 0 !important;
}

.sm-contacts .sm-page-content > .row::before,
.sm-contacts .sm-page-content > .row::after {
    display: none !important;
    content: none !important;
}

.sm-contacts .sm-page-content > .row > [class*="col-"] {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.sm-contacts .sm-page-content > .row > .col-md-4 {
    padding: 24px !important;
    border: 1px solid #d7e2e8;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 49, 72, .055);
}

.sm-contacts .sm-page-content table {
    width: 100%;
    border-collapse: collapse;
}

.sm-contacts .sm-page-content table td {
    padding: 10px 0 !important;
    border: 0 !important;
    vertical-align: top;
}

.sm-contacts .sm-page-content table td:first-child {
    width: 30px;
    padding-right: 10px !important;
    color: var(--sm-blue);
}

.sm-contacts .sm-page-content table span,
.sm-contacts .sm-page-content table p,
.sm-contacts .sm-page-content table a {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.sm-contacts .sm-page-content table .dark_light_table {
    color: #173e5b;
    font-weight: 800;
}

.sm-contacts .sm-page-content table .grey_dark {
    color: #607580 !important;
}

.sm-contacts .sm-page-content .bx-yandex-map,
.sm-contacts .sm-page-content [id^="BX_YMAP_"] {
    width: 100% !important;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #d7e2e8;
    background: #eef4f7;
}

/* Пагинация */
.sm-page-content .module-pagination,
.sm-page-content .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.sm-page-content .module-pagination a,
.sm-page-content .module-pagination span,
.sm-page-content .pagination a,
.sm-page-content .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d8e3e9;
    background: #fff;
    color: #31546a;
    text-decoration: none;
}

.sm-page-content .module-pagination .cur,
.sm-page-content .pagination .active span {
    border-color: var(--sm-blue);
    background: var(--sm-blue);
    color: #fff;
}

@media (max-width: 1080px) {
    .sm-company .sm-page-layout,
    .sm-help .sm-page-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }

    .sm-brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .sm-company .sm-page-layout,
    .sm-help .sm-page-layout {
        grid-template-columns: 1fr;
    }

    .sm-company .sm-sidebar,
    .sm-help .sm-sidebar {
        position: static;
    }

    .sm-side-menu {
        display: flex;
        gap: 6px;
        overflow-x: auto;
    }

    .sm-side-menu__item {
        flex: 0 0 auto;
    }

    .sm-side-menu__item a,
    .sm-side-menu__item--depth-2 a {
        min-height: 40px;
        padding: 8px 13px;
        white-space: nowrap;
    }

    .sm-side-menu__item--depth-2 a::before {
        display: none;
    }

    .sm-corporate-news__item {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .sm-corporate-card-grid,
    .sm-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-contacts .sm-page-content > .row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .sm-corporate-news__item {
        grid-template-columns: 1fr;
    }

    .sm-corporate-news__media,
    .sm-corporate-news__media img {
        min-height: 180px;
        height: 180px;
        border-right: 0;
        border-bottom: 1px solid #e1e9ed;
    }

    .sm-corporate-news__content {
        padding: 20px;
    }

    .sm-corporate-news__title {
        font-size: 19px;
    }

    .sm-corporate-card-grid,
    .sm-brand-grid {
        grid-template-columns: 1fr;
    }

    .sm-contacts .sm-page-content > .row > .col-md-4 {
        padding: 19px !important;
    }
}

/* ==========================================================================
   PATCH 5.0 — универсальная форма заявки
   ========================================================================== */

html.sm-request-lock,
body.sm-request-lock {
    overflow: hidden;
}

.sm-request-modal[hidden] {
    display: none !important;
}

.sm-request-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 24px;
}

.sm-request-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 29, 43, .74);
    backdrop-filter: blur(5px);
}

.sm-request-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(880px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid #d6e2e8;
    background: #fff;
    box-shadow: 0 28px 80px rgba(3, 24, 38, .28);
}

.sm-request-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d9e3e9;
    border-radius: 50%;
    background: #fff;
    color: #183e59;
    font-size: 0;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.sm-request-modal__close::before,
.sm-request-modal__close::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.sm-request-modal__close::before {
    transform: rotate(45deg);
}

.sm-request-modal__close::after {
    transform: rotate(-45deg);
}

.sm-request-modal__close:hover {
    transform: rotate(3deg);
    border-color: var(--sm-blue);
    background: #edf5f8;
    color: var(--sm-blue);
}

.sm-request-modal__header {
    padding: 36px 76px 27px 36px;
    border-bottom: 1px solid #e0e8ed;
    background:
        linear-gradient(135deg, rgba(12, 90, 130, .09), rgba(12, 90, 130, 0) 58%),
        #f8fbfc;
}

.sm-request-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 0 10px;
    background: var(--sm-blue);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sm-request-modal__header h2 {
    margin: 0 !important;
    color: #123a57 !important;
    font-size: clamp(27px, 4vw, 38px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em;
}

.sm-request-modal__header p {
    max-width: 610px;
    margin: 13px 0 0;
    color: #647783;
    font-size: 15px;
    line-height: 1.55;
}

.sm-request-form {
    padding: 30px 36px 36px;
}

.sm-request-form__object {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid #d9e4ea;
    background: #f4f8fa;
}

.sm-request-form__object span {
    color: #758994;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sm-request-form__object strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #173f5d;
    font-size: 15px;
    line-height: 1.4;
}

.sm-request-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sm-request-field {
    min-width: 0;
}

.sm-request-field--wide {
    grid-column: 1 / -1;
}

.sm-request-field label {
    display: block;
    margin-bottom: 8px;
    color: #24475d;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
}

.sm-request-field label span {
    color: #bf3650;
}

.sm-request-field input,
.sm-request-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #cfdce4;
    border-radius: 0;
    background: #fff;
    color: #17394f;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.sm-request-field input {
    height: 52px;
    padding: 0 15px;
}

.sm-request-field textarea {
    min-height: 132px;
    padding: 14px 15px;
    line-height: 1.55;
    resize: vertical;
}

.sm-request-field input:hover,
.sm-request-field textarea:hover {
    border-color: #9eb4c1;
}

.sm-request-field input:focus,
.sm-request-field textarea:focus {
    border-color: var(--sm-blue);
    box-shadow: 0 0 0 3px rgba(12, 90, 130, .11);
}

.sm-request-field input:invalid:not(:placeholder-shown),
.sm-request-field textarea:invalid:not(:placeholder-shown) {
    border-color: #c64b5f;
}

.sm-request-form__consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 21px 0 0;
    color: #687b87;
    font-size: 12px;
    line-height: 1.5;
}

.sm-request-form__consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--sm-blue);
}

.sm-request-form__consent a {
    color: var(--sm-blue);
}

.sm-request-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid #e1e9ed;
}

.sm-request-form__required {
    max-width: 270px;
    color: #7a8d98;
    font-size: 12px;
    line-height: 1.45;
}

.sm-request-form__submit {
    position: relative;
    min-width: 210px;
}

.sm-request-form__submit.is-loading {
    pointer-events: none;
    color: transparent !important;
}

.sm-request-form__submit.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: smRequestSpin .7s linear infinite;
}

.sm-request-form__status {
    display: none;
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid transparent;
    font-size: 13px;
    line-height: 1.5;
}

.sm-request-form__status.is-visible {
    display: block;
}

.sm-request-form__status.is-error {
    border-color: #ebbbc4;
    background: #fff3f5;
    color: #9f3045;
}

.sm-request-form__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.sm-request-success {
    padding: 48px 36px 44px;
    text-align: center;
}

.sm-request-success[hidden] {
    display: none !important;
}

.sm-request-success__icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #e6f3ed;
    color: #23805b;
    font-size: 32px;
    font-weight: 800;
}

.sm-request-success h3 {
    margin: 0 0 12px;
    color: #143d5a;
    font-size: 28px;
    line-height: 1.15;
}

.sm-request-success p {
    max-width: 520px;
    margin: 0 auto 24px;
    color: #657984;
    font-size: 15px;
    line-height: 1.6;
}

@keyframes smRequestSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 680px) {
    .sm-request-modal {
        place-items: end center;
        padding: 0;
    }

    .sm-request-modal__dialog {
        width: 100%;
        max-height: 94vh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
    }

    .sm-request-modal__close {
        top: 13px;
        right: 13px;
        width: 38px;
        height: 38px;
    }

    .sm-request-modal__header {
        padding: 27px 62px 22px 20px;
    }

    .sm-request-form {
        padding: 22px 20px 27px;
    }

    .sm-request-form__object {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .sm-request-form__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sm-request-field--wide {
        grid-column: auto;
    }

    .sm-request-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .sm-request-form__required {
        max-width: none;
    }

    .sm-request-form__submit {
        width: 100%;
    }
}

/* ==========================================================================
   PATCH 5.1 — category arrows and Bitrix HTML value fix
   ========================================================================== */

/* Категории прокручиваются горизонтально без стрелок, которые перекрывали текст. */
.sm-category-nav {
    grid-template-columns: minmax(0, 1fr) !important;
}

.sm-category-nav__control,
[data-sm-category-prev],
[data-sm-category-next],
.sm-v2 .catalog__slider-nav,
.sm-v2 .swiper-button-next,
.sm-v2 .swiper-button-prev,
.sm-v2 .owl-controls,
.sm-v2 .owl-buttons {
    display: none !important;
}

.sm-category-nav__viewport {
    width: 100%;
    overflow: hidden;
}

/* ==========================================================================
   PATCH 5.2 — детальные страницы работ
   ========================================================================== */

.sm-universal-detail--service {
    margin-bottom: 24px;
}

.sm-universal-detail--service .sm-detail-hero {
    align-items: stretch;
}

.sm-universal-detail--service .sm-detail-gallery__stage,
.sm-universal-detail--service .sm-detail-gallery__slide,
.sm-universal-detail--service .sm-detail-gallery__placeholder {
    min-height: 420px;
}

.sm-universal-detail--service .sm-detail-gallery__slide img {
    height: 420px;
}

.sm-universal-detail--service .sm-detail-summary {
    min-height: 100%;
}

.sm-universal-detail--service .sm-detail-lead {
    font-size: 16px;
    line-height: 1.7;
}

.sm-universal-detail--service .sm-detail-rich {
    color: #314d60;
    font-size: 16px;
    line-height: 1.75;
}

.sm-universal-detail--service .sm-detail-rich::after {
    content: "";
    display: table;
    clear: both;
}

.sm-universal-detail--service .sm-detail-rich > :first-child {
    margin-top: 0;
}

.sm-universal-detail--service .sm-detail-rich > :last-child {
    margin-bottom: 0;
}

.sm-universal-detail--service .sm-detail-rich h2,
.sm-universal-detail--service .sm-detail-rich h3 {
    position: relative;
    margin-top: 38px;
    padding-left: 18px;
    color: #123d59;
    letter-spacing: -.02em;
}

.sm-universal-detail--service .sm-detail-rich h2::before,
.sm-universal-detail--service .sm-detail-rich h3::before {
    content: "";
    position: absolute;
    top: .16em;
    bottom: .13em;
    left: 0;
    width: 4px;
    background: var(--sm-detail-accent);
}

.sm-universal-detail--service .sm-detail-rich ul,
.sm-universal-detail--service .sm-detail-rich ol {
    padding-left: 24px;
}

.sm-universal-detail--service .sm-detail-rich li {
    padding-left: 4px;
}

.sm-universal-detail--service .sm-detail-rich li::marker {
    color: var(--sm-detail-accent);
    font-weight: 800;
}

.sm-universal-detail--service .sm-detail-rich img {
    float: none !important;
    width: auto;
    height: auto;
    max-width: 100% !important;
    margin: 24px auto;
    border: 1px solid #dbe5ea;
    box-shadow: 0 12px 28px rgba(15, 49, 72, .075);
}

.sm-universal-detail--service .sm-detail-rich table {
    width: 100% !important;
    min-width: 640px;
    margin: 26px 0;
}

.sm-universal-detail--service .sm-detail-rich table th {
    background: #eaf3f7;
    color: #173f5b;
    font-weight: 800;
}

.sm-universal-detail--service .sm-detail-rich table td,
.sm-universal-detail--service .sm-detail-rich table th {
    vertical-align: top;
}

.sm-universal-detail--service .sm-detail-main {
    min-width: 0;
    overflow: hidden;
}

.sm-universal-detail--service .sm-detail-section {
    overflow-x: auto;
}

.sm-universal-detail--service .sm-detail-aside__card {
    position: sticky;
    top: 86px;
}

@media (max-width: 980px) {
    .sm-universal-detail--service .sm-detail-gallery__stage,
    .sm-universal-detail--service .sm-detail-gallery__slide,
    .sm-universal-detail--service .sm-detail-gallery__placeholder {
        min-height: 360px;
    }

    .sm-universal-detail--service .sm-detail-gallery__slide img {
        height: 360px;
    }

    .sm-universal-detail--service .sm-detail-aside__card {
        position: static;
    }
}

@media (max-width: 640px) {
    .sm-universal-detail--service .sm-detail-gallery__stage,
    .sm-universal-detail--service .sm-detail-gallery__slide,
    .sm-universal-detail--service .sm-detail-gallery__placeholder {
        min-height: 260px;
    }

    .sm-universal-detail--service .sm-detail-gallery__slide img {
        height: 260px;
    }

    .sm-universal-detail--service .sm-detail-rich {
        font-size: 15px;
        line-height: 1.68;
    }

    .sm-universal-detail--service .sm-detail-rich h2,
    .sm-universal-detail--service .sm-detail-rich h3 {
        margin-top: 30px;
    }

    .sm-universal-detail--service .sm-detail-rich table {
        min-width: 560px;
    }
}
