/* ==========================================================================
   ПРОФИ26 — локальная сборка. Палитра и типографика в стиле profi26.ru
   ========================================================================== */

:root {
    --red: #e84244;
    --red-hover: #d3474b;
    --red-active: #af1517;
    --red-soft: #fff5f5;
    --dark: #1f2733;
    --text: #0d0d0d;
    --muted: #6c6d79;
    --border: #e5e5e5;
    --bg-soft: #f7f6fa;
    --scroll-thumb: #f0a1a2;
    --scroll-thumb-hover: #e84244;
    --white: #fff;
    --shadow: none;
    --radius: 4px;
    --container: 1280px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: Montserrat, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-hover); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.25; font-weight: 500; color: var(--dark); }
b, strong { font-weight: 500; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.125rem; }

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

.icon { width: 1em; height: 1em; fill: none; stroke: none; }
.icon use { pointer-events: none; }
svg.icon { display: inline-block; vertical-align: middle; }

/* --- Кнопки ------------------------------------------------------------ */
.red_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .85em 1.6em;
    border: 0;
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    font: 500 .875rem/1.2 Montserrat, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease;
}
.red_btn:hover, .red_btn:focus { background: var(--red-hover); color: var(--white); }
.red_btn:active { background: var(--red-active); }
.red_btn .icon { width: 1.05em; height: 1.05em; stroke: currentColor; }
.head_call .head_call__line { display: none; }

.red_btn--wide { width: 100%; padding: 1em; font-size: .9375rem; }
.ghost_btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .85em 1.6em; border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--dark); font: 500 .875rem/1.2 Montserrat, sans-serif;
    transition: border-color .2s ease, color .2s ease;
}
.ghost_btn:hover { border-color: var(--red); color: var(--red); }

/* --- Шапка: верхняя строка --------------------------------------------- */
.header { position: relative; z-index: 150; background: var(--white); }

.top_header_block {
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    font-size: .8125rem;
}
.top_header_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 46px;
}
.contacts_block_items {
    display: grid; grid-template-columns: 1.57fr 1fr; align-items: center; gap: 28px;
}
.icon_item_line { display: flex; align-items: flex-start; gap: .6em; color: var(--muted); }
.icon_item_line .icon { width: 1.05em; height: 1.05em; margin-top: .2em; color: var(--red); stroke: var(--red); flex: none; }
.icon_item_line .content_block { margin: 0; display: flex; flex-direction: column; }
.icon_item_line .content_block a { color: var(--muted); font-weight: 500; }
.icon_item_line .content_block a:hover { color: var(--red); }

.head_note { display: flex; align-items: center; gap: 18px; color: var(--muted); }
.head_note__text { font-size: .8125rem; }

/* --- Шапка: строка поиска (моб.) --------------------------------------- */
.search_block { display: none; border-bottom: 1px solid var(--border); padding: 14px 0; }
.search_block.is-open { display: block; }
.search_block_row { display: flex; align-items: center; gap: 14px; }
.search_block .search_field { flex: 1; }
.cross_close {
    font-size: 1.75rem; line-height: 1; color: var(--muted);
    transform: rotate(45deg); cursor: pointer; user-select: none;
}
.cross_close:hover { color: var(--red); }

.input_group { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.input_group:focus-within { border-color: var(--red); }
.input_group input {
    flex: 1; min-width: 0; padding: .7em 1em; border: 0; outline: 0;
    font: 400 .875rem/1.4 Montserrat, sans-serif; color: var(--text); background: transparent;
}
.input_group input::placeholder { color: #b5b6bc; }
.search_icon_inp { display: flex; padding-left: .9em; color: var(--muted); }
.search_icon_inp .icon { width: 1.1em; height: 1.1em; stroke: currentColor; }
.btn_search {
    display: flex; align-items: center; justify-content: center;
    padding: .7em .9em; border: 0; background: transparent; cursor: pointer; color: var(--muted);
}
.btn_search:hover { color: var(--red); }
.btn_search .icon { width: 1.15em; height: 1.15em; stroke: currentColor; }
.btn_find {
    padding: .85em 1.6em; border: 0; background: var(--red); color: var(--white);
    font: 500 .8125rem/1.2 Montserrat, sans-serif; cursor: pointer; transition: background-color .2s ease;
}
.btn_find:hover { background: var(--red-hover); }

/* --- Шапка: основная строка -------------------------------------------- */
.wrap_header_contain { border-bottom: 1px solid var(--border); background: var(--white); }
/* строка разделов под шапкой */
.wrap_nav_row { border-bottom: 1px solid var(--border); background: var(--white); }
.wrap_nav_row .top_menu > ul { justify-content: flex-start; gap: 4px; }
.wrap_nav_row .menu_lvl_1 { flex: 0 0 auto; }
.wrap_nav_row .menu_lvl_1 > a { padding: .9em 1em; font-size: .875rem; }
.wrap_nav_row .menu_lvl_1:nth-last-child(-n+2) > .menu_lvl_2_list { left: auto; right: 0; }
.wrap_nav_row .menu_lvl_1:nth-last-child(-n+2) .menu_lvl_3_list { left: auto; right: 100%; }
.header_contain {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; min-height: 84px;
}
.left_block_head { display: flex; align-items: center; gap: 28px; flex: 1; min-width: 0; }
.logo_svg { width: 150px; height: auto; color: var(--dark); }
/* логотип и адрес в шапке */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo_img { display: block; width: 168px; height: auto; }
.head_addr {
    display: inline-flex; align-items: center; gap: .45em;
    max-width: 320px; color: var(--muted); font-size: .8125rem; line-height: 1.35;
}
.head_addr .icon { width: 1.05em; height: 1.05em; color: var(--red); stroke: var(--red); flex: none; }
.footer_logo__img { width: 180px; }
.logo_svg--light { filter: brightness(0) invert(1); }
.search_line { flex: 1; max-width: 420px; }
.right_block_head { flex: none; }
.info_head { display: flex; align-items: center; gap: 18px; }
.soc_block { display: flex; align-items: center; gap: 10px; }
.soc_block a {
    display: block; width: 38px; height: 38px;
    border: 0; border-radius: 50%; overflow: hidden;
    transition: opacity .2s ease;
}
.soc_block a:hover { opacity: .85; }
.soc_block a img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soc_block .icon { width: 1.25em; height: 1.25em; color: inherit; }
.head_phone { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.head_phone__num { font-size: 1.0625rem; font-weight: 500; color: var(--dark); white-space: nowrap; }
.head_phone__num:hover { color: var(--red); }
.head_phone__hours { font-size: .75rem; color: var(--muted); white-space: nowrap; }

.search_btn { display: none; color: var(--muted); cursor: pointer; }
.search_btn .icon { width: 1.4em; height: 1.4em; stroke: currentColor; }

/* Гамбургер */
.hamb {
    display: none; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px;
    width: 40px; height: 40px; margin-left: -8px; padding: 0 8px; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.hamb span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: width .25s ease, background-color .2s ease; }
.hamb span:nth-child(2) { width: 16px; }
.hamb span:nth-child(3) { width: 11px; }
.hamb:hover span { width: 22px; }
.hamb span { transform-origin: center; transition: width .25s ease, transform .3s ease, opacity .2s ease, background-color .2s ease; }
.hamb.is-active span { width: 22px; }
.hamb.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamb.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamb.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Главное меню ------------------------------------------------------- */
.top_menu { position: relative; }
.top_menu > ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px; }
.top_menu .menu_lvl_1 { position: relative; flex: 1 1 auto; text-align: center; }
.top_menu .menu_lvl_1 > a {
    display: flex; justify-content: center; align-items: center; gap: .4em;
    padding: 1.05em .9em; color: var(--dark);
    font: 500 .875rem/1.2 Montserrat, sans-serif;
    border-bottom: 2px solid transparent;
}
.top_menu .menu_lvl_1 > a:hover,
.top_menu .menu_lvl_1:hover > a { color: var(--red); }
.top_menu .menu_lvl_1.active > a { color: var(--red); border-bottom-color: var(--red); }
.top_menu .menu_lvl_1.parent > a::after {
    content: ''; width: .45em; height: .45em; margin-left: .1em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.top_menu .arr_parent_menu { display: none; }

.top_menu .menu_lvl_2_list,
.top_menu .menu_lvl_3_list {
    position: absolute; top: 100%; left: 0; z-index: 160;
    min-width: 290px; padding: 10px 0;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.top_menu .menu_lvl_3_list { top: -11px; left: 100%; }
/* у пунктов правой части меню подменю раскрывается влево, иначе вылезает за экран */
.top_menu .menu_lvl_1:nth-child(n+7) > .menu_lvl_2_list { left: auto; right: 0; }
.top_menu .menu_lvl_1:nth-child(n+7) .menu_lvl_3_list { left: auto; right: 100%; }
.top_menu li:hover > .menu_lvl_2_list,
.top_menu li:hover > .menu_lvl_3_list { opacity: 1; visibility: visible; transform: translateY(0); }
.top_menu .menu_lvl_2 > a,
.top_menu .menu_lvl_3 > a {
    display: flex; align-items: center; justify-content: space-between; gap: 1em;
    padding: .6em 1.15em; color: var(--dark); font-size: .8125rem; font-weight: 500;
}
.top_menu .menu_lvl_2 > a:hover,
.top_menu .menu_lvl_3 > a:hover { color: var(--red); background: var(--red-soft); }
.top_menu .menu_lvl_2.parent > a::after,
.top_menu .menu_lvl_3.parent > a::after {
    content: ''; flex: none; width: .4em; height: .4em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.top_menu .menu_lvl_2, .top_menu .menu_lvl_3 { position: relative; }
.top_menu .menu_lvl_2.active > a, .top_menu .menu_lvl_3.active > a { color: var(--red); }

/* --- Бегущая строка ----------------------------------------------------- */
.marquee { overflow: hidden; background: var(--red); color: var(--white); }
.marquee__wrapper { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__item {
    margin: 0; padding: .7em 2.5em; white-space: nowrap;
    font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
}
.marquee__item { position: relative; padding: .7em 1.75em; }
.marquee__item::before {
    content: ''; position: absolute; left: -3px; top: 50%;
    width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: rgba(255, 255, 255, .6);
}
.marquee:hover .marquee__wrapper { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__wrapper { animation: none; } }

/* --- Мобильное меню ----------------------------------------------------- */
.drop_menu {
    position: fixed; top: var(--menu-top, 68px); left: 0; right: 0; z-index: 220;
    display: flex; flex-direction: column;
    height: calc(100dvh - var(--menu-top, 68px)); padding: 0 20px 28px;
    background: var(--white); border-top: 1px solid var(--border);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s;
}
.drop_menu.is-open { opacity: 1; visibility: visible; transform: none; }
.drop_menu .slogan { margin: 18px 0 6px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.drop_menu > ul { margin: 0; padding: 0; list-style: none; }
.drop_menu li { border-bottom: 1px solid var(--border); }
.drop_menu li li { border-bottom: 0; }
.drop_menu li a { display: block; padding: 14px 40px 14px 0; color: var(--dark); font-size: 1rem; font-weight: 500; }
.drop_menu li a:hover, .drop_menu li.active > a { color: var(--red); }
.drop_menu .menu_lvl_2_list, .drop_menu .menu_lvl_3_list {
    display: none; margin: 0 0 12px; padding: 6px 14px; list-style: none;
    background: var(--bg-soft); border-radius: var(--radius);
}
.drop_menu .menu_lvl_2 a, .drop_menu .menu_lvl_3 a { padding: 9px 0; font-size: .875rem; font-weight: 400; color: var(--text); }
.drop_menu li.is-open > .menu_lvl_2_list,
.drop_menu li.is-open > .menu_lvl_3_list { display: block; }
.drop_menu .parent { position: relative; }
.drop_menu .arr_parent_menu {
    position: absolute; top: 6px; right: -8px; display: block;
    width: 40px; height: 40px; cursor: pointer;
}
.drop_menu .arr_parent_menu::after {
    content: ''; position: absolute; top: 14px; left: 16px;
    width: 8px; height: 8px; border-right: 2px solid var(--dark); border-bottom: 2px solid var(--dark);
    transform: rotate(45deg); transition: transform .2s ease, top .2s ease;
}
.drop_menu li li > .arr_parent_menu { top: -1px; }
.drop_menu li.is-open > .arr_parent_menu::after { transform: rotate(-135deg); top: 18px; border-color: var(--red); }
.drop_menu .contacts_block_items {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 22px 0 18px; padding: 16px;
    background: var(--bg-soft); border-radius: var(--radius); font-size: .8125rem;
}
.drop_menu .soc_block { display: flex; gap: 10px; margin-bottom: 18px; }
.drop_menu .text-center { margin-top: auto; text-align: center; }

.menu_overlay {
    position: fixed; inset: 0; z-index: 190; background: rgba(31, 39, 51, .5);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.menu_overlay.is-open { opacity: 1; visibility: visible; }
/* при открытом меню шапка остаётся над затемнением — видно крестик */
.header:has(.hamb.is-active) { z-index: 210; }
.menu_overlay[hidden] { display: block !important; }

/* --- Первый экран (intro-section): светлый, слабозаметный абстрактный фон --- */
.intro-section {
    position: relative;
    overflow: hidden;
    color: var(--text);
    background: #fbfcfe url('/assets/img/hero-abstract.svg') center / cover no-repeat;
    border-bottom: 1px solid var(--border);
}
.intro-section__content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
    padding-top: 46px; padding-bottom: 56px;
}
.intro-section_height_fix-min .intro-section__content { min-height: 520px; }

.intro-section__label {
    display: inline-block; margin-bottom: 18px;
    padding: .5em 1.1em; border-radius: 40px;
    background: var(--red); color: var(--white);
    font-size: .875rem; font-weight: 500;
}
.intro-section__title {
    margin-bottom: .45em;
    color: var(--dark); font-size: 2.1rem; font-weight: 500; line-height: 1.2;
}
.intro-section__text-after-title {
    max-width: 38em; margin-bottom: 20px;
    color: var(--muted); font-size: 1.0625rem;
}
.intro-section__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Оффер и преимущества на первом экране */
.intro-offer {
    display: inline-flex; align-items: center; gap: .6em;
    margin: 0 0 22px; padding: .7em 1.1em;
    background: var(--red-soft); border: 1px solid rgba(232, 66, 68, .25); border-radius: var(--radius);
    font-size: 1rem; font-weight: 600; color: var(--dark);
}
.intro-offer .icon { width: 1.3em; height: 1.3em; color: var(--red); stroke: var(--red); flex: none; }
.intro-offer + .intro-section__actions { margin-bottom: 26px; }
.intro-adv { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; max-width: 560px; }
.intro-adv__item { display: flex; align-items: flex-start; gap: 12px; }
.intro-adv__icon {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 38px; height: 38px; border-radius: 50%; background: var(--white);
    border: 1px solid var(--border); color: var(--red);
}
.intro-adv__icon .icon { width: 1.1em; height: 1.1em; stroke: var(--red); }
.intro-adv__body { display: flex; flex-direction: column; gap: 2px; }
.intro-adv__title { font-size: .9375rem; font-weight: 600; color: var(--dark); }
.intro-adv__text { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 575px) {
    .intro-offer { font-size: .9375rem; }
    .intro-adv__text { font-size: .78rem; }
}

.intro-section__facts {
    display: flex; flex-wrap: wrap; gap: 34px;
    margin-top: 36px; padding-top: 26px;
    border-top: 1px solid var(--border);
}
.intro-section__facts b { display: block; font-size: 1.4rem; color: var(--dark); }
.intro-section__facts span { font-size: .8125rem; color: var(--muted); }

.intro-section__image-block { display: flex; justify-content: flex-end; }
.intro-section__image img {
    width: 100%; max-width: 560px; height: auto;
    filter: drop-shadow(0 22px 34px rgba(31, 39, 51, .18));
}

@media (max-width: 991px) {
    .intro-section__content { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 34px; }
    .intro-section_height_fix-min .intro-section__content { min-height: 0; }
    .intro-section__title { font-size: 1.75rem; }
    .intro-section__image-block { justify-content: center; order: -1; }
    .intro-section__image img { max-width: 420px; }
}

@media (max-width: 575px) {
    .intro-section__title { font-size: 1.5rem; }
    .intro-section__actions .red_btn,
    .intro-section__actions .ghost_btn { width: 100%; }
}

/* --- Контент ------------------------------------------------------------ */
.main { min-height: 40vh; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin-bottom: 32px; }
.section__head p { color: var(--muted); margin: 0; }

.hero { padding: 64px 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6rem; }
.hero__lead { color: var(--muted); font-size: 1.0625rem; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { padding: 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.stat__value { display: block; font-size: 1.75rem; font-weight: 500; color: var(--red); }
.stat__label { color: var(--muted); font-size: .8125rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 24px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--red); }
.card h3 { margin: 0; font-size: 1rem; }
.card h3 a { color: var(--dark); }
.card:hover h3 a { color: var(--red); }
.card p { margin: 0; color: var(--muted); font-size: .875rem; }
.card__price { margin-top: auto; padding-top: 10px; color: var(--red); font-weight: 500; font-size: .9375rem; }

.breadcrumbs { padding: 18px 0; font-size: .8125rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .5em; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }

.content { max-width: 860px; padding-bottom: 56px; }
.content ul.dashed { margin: 0 0 1.5em; }
.policy h1 { margin-bottom: .4em; }
.policy__date { margin-bottom: 2em; font-size: .8125rem; color: var(--muted); }
.policy h2 { margin: 1.8em 0 .6em; font-size: 1.25rem; }
.policy p { color: var(--text); line-height: 1.7; }
.policy ul.dashed li { color: var(--text); }
.content ul.dashed li { position: relative; padding-left: 1.2em; margin-bottom: .5em; color: var(--muted); }
.content ul.dashed li::before { content: ''; position: absolute; left: 0; top: .65em; width: .5em; height: 2px; background: var(--red); }

.table_wrap { overflow-x: auto; }
table.price { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.price th, table.price td { padding: .85em 1em; border: 1px solid var(--border); text-align: left; }
table.price th { background: var(--bg-soft); color: var(--dark); font-weight: 500; }
table.price td:last-child { color: var(--red); font-weight: 500; white-space: nowrap; }

/* --- Заголовки секций и разделитель (стиль metallpro) ------------------ */
.section-title { margin: 0; font-size: 1.9rem; }
.section-title { margin-bottom: 28px; }

/* --- Универсальный слайдер --------------------------------------------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track {
    display: flex; margin: 0 0 20px; padding: 0; list-style: none;
    transition: transform .4s ease;
}
.slider__slide { flex: 0 0 auto; padding: 0 10px; box-sizing: border-box; }
.slider__nav {
    position: absolute; top: 50%; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-top: -21px; padding: 0;
    border: 1px solid var(--border); border-radius: 50%;
    background: var(--white); color: var(--dark); cursor: pointer;
    transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.slider__nav:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.slider__nav:disabled { opacity: .35; cursor: default; }
.slider__nav .icon { width: 1.1em; height: 1.1em; }
.slider__nav--prev { left: -42px; }
.slider__nav--prev .icon { transform: rotate(180deg); }
.slider__nav--next { right: -42px; }
.slider--static .slider__nav,
.slider--static .slider__dots { display: none; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider__dot {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
    background: #ccc; cursor: pointer; transition: background-color .2s ease, transform .2s ease;
}
.slider__dot.is-active { background: var(--red); transform: scale(1.25); }

/* --- Лента преимуществ под первым экраном ------------------------------ */
.benefits-strip { padding: 26px 0; border-bottom: 1px solid var(--border); }
.benefit { display: flex; align-items: center; gap: 14px; min-height: 76px; height: 100%; }
.benefits-strip .slider__slide { display: flex; align-items: center; }
.benefit__icon {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--border); color: var(--red);
}
.benefit__icon .icon { width: 1.6em; height: 1.6em; }
.benefit__body { min-width: 0; }
.benefit__title { margin: 0 0 .2em; font-size: .9375rem; font-weight: 500; color: var(--dark); line-height: 1.3; }
.benefit__text { margin: 0; font-size: .8125rem; color: var(--muted); }

/* --- Калькулятор-заявка ------------------------------------------------- */
.calc-section { padding: 38px 0; }
.calc-card {
    position: relative; overflow: hidden;
    padding: 22px 28px; background: var(--white);
    border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow);
}
/* фоновый рисунок калькулятора — слева, ближе к центру карточки */
.calc-card::before {
    content: ''; position: absolute; top: 54%; left: 30%; transform: translate(-50%, -50%);
    width: 588px; height: 588px; pointer-events: none; opacity: .12;
    background: url('/assets/img/calc-bg.webp') no-repeat center / contain;
}
.calc-card > * { position: relative; z-index: 1; }
.calc-card h2 { margin-bottom: .3em; font-size: 1.5rem; }
.calc-card__head { margin-bottom: 14px; }
.calc-card__lead { color: var(--muted); margin: 0; max-width: 62em; }
.calc-form__cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.calc-form__col { min-width: 0; }
/* шаги калькулятора */
.calc-step + .calc-step { margin-top: 18px; }
.calc-step__title {
    display: flex; align-items: center; gap: .6em; margin: 0 0 12px;
    font-size: 1rem; font-weight: 600; color: var(--dark);
}
.calc-step__num {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--red); color: var(--white); font-size: .8125rem; font-weight: 600;
}
/* итог расчёта */
.calc-total {
    position: relative; overflow: hidden;
    margin-bottom: 16px; padding: 14px 20px;
    background: var(--red-soft); border: 1px solid rgba(232, 66, 68, .25); border-radius: 10px;
}
/* тот же рисунок — в свободной части панели результата */
.calc-total::after {
    content: ''; position: absolute; top: -14px; right: -18px;
    width: 150px; height: 150px; pointer-events: none; opacity: .75;
    background: url('/assets/img/calc-bg.webp') no-repeat center / contain;
}
.calc-total > * { position: relative; z-index: 1; }
.calc-total__label {
    margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .03em;
    text-transform: uppercase; color: var(--red);
}
.calc-total__area { margin: 2px 0 8px; font-size: 1.5rem; font-weight: 600; color: var(--dark); }
.calc-total__price { margin: 4px 0 0; font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: var(--dark); }
.calc-total__price.is-empty { font-size: .9375rem; font-weight: 400; color: var(--muted); }
.calc-total__note { margin: 10px 0 0; font-size: .75rem; line-height: 1.45; color: var(--muted); }
.calc-form__label { margin: 0 0 10px; font-size: .9375rem; font-weight: 500; color: var(--dark); }
.calc-form__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calc-form__grid--stack { grid-template-columns: 1fr; }
.calc-form__grid--stack .inline-field--wide { grid-column: span 1; }
.calc-form .inline-field input,
.calc-form .inline-field__filename { padding-top: .62em; padding-bottom: .62em; }

.inline-field { position: relative; display: block; }
.inline-field--wide { grid-column: span 2; }
.inline-field__icon {
    position: absolute; top: 50%; left: 12px; transform: translateY(-50%);
    display: flex; color: var(--muted); pointer-events: none;
}
.inline-field__icon .icon { width: 1.1em; height: 1.1em; }
.inline-field input {
    width: 100%; padding: .8em 1em .8em 2.6em;
    border: 1px solid var(--border); border-radius: var(--radius);
    font: 400 .875rem/1.4 Montserrat, sans-serif; color: var(--text); outline: 0; background: var(--white);
}
.inline-field input:focus { border-color: var(--red); }
.inline-field--file { position: relative; overflow: hidden; }
.inline-field--file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.inline-field__filename {
    display: block; padding: .8em 1em .8em 2.6em;
    border: 1px dashed var(--border); border-radius: var(--radius);
    font-size: .875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.inline-field--file:hover .inline-field__filename { border-color: var(--red); color: var(--red); }

.calc-form__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.option-group { display: flex; flex-direction: column; min-width: 0; }
.option-radio { position: absolute; opacity: 0; pointer-events: none; }
.option-label {
    display: flex; align-items: center; justify-content: center;
    min-height: 38px; margin-bottom: 5px; padding: .45em .8em;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: .8125rem; font-weight: 500; color: var(--dark); text-align: center; cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.option-label:hover { border-color: var(--red); color: var(--red); }
.option-radio:checked + .option-label { background: var(--red); border-color: var(--red); color: var(--white); }
.option-radio:focus-visible + .option-label { outline: 2px solid var(--red); outline-offset: 2px; }
.option-check { display: flex; align-items: flex-start; gap: .5em; margin-top: auto; padding-top: 10px; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.option-check input { accent-color: var(--red); }

.calc-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.calc-form__footer .field--check { flex-basis: 100%; margin: 0; }
.calc-form__footer .popup__status { flex-basis: 100%; margin: 0; }

/* --- Преимущества + текст (metallpro) ----------------------------------- */
.adv-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.adv-col-1 { display: flex; flex-direction: column; gap: 16px; }
.adv-item {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.adv-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.adv-icon {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 34px; height: 34px; border-radius: 50%; background: var(--red-soft); color: var(--red);
}
.adv-icon .icon { width: 1.1em; height: 1.1em; }
.adv-text { font-weight: 500; color: var(--dark); }
.adv-col-2 p { color: var(--muted); }

/* --- Проекты ------------------------------------------------------------ */
.portfolio-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px; }
.portfolio-link { display: inline-flex; align-items: center; gap: .4em; font-size: .875rem; font-weight: 500; }
.portfolio-link .icon { width: .9em; height: .9em; }
.portfolio-item {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius); background: var(--dark);
}
.portfolio-item-image {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform .4s ease, opacity .3s ease;
}
.portfolio-item:hover .portfolio-item-image { transform: scale(1.05); opacity: .8; }
.portfolio-title-box {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 46px 18px 16px;
    background: linear-gradient(to top, rgba(15, 26, 43, .92), rgba(15, 26, 43, 0));
}
.portfolio-item-title { color: var(--white); font-size: .9375rem; font-weight: 500; line-height: 1.35; }

/* --- Клиенты ------------------------------------------------------------ */
.slide-client-inner {
    display: flex; align-items: center; justify-content: center;
    height: 110px; padding: 16px;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
}
.slide-client-image { max-height: 100%; width: auto; opacity: .75; transition: opacity .2s ease; }
.slide-client-inner:hover .slide-client-image { opacity: 1; }

/* --- Отзывы ------------------------------------------------------------- */
.review-card {
    display: flex; flex-direction: column; gap: 16px; height: 100%; margin: 0;
    padding: 26px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__mark {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; border-radius: 50%; background: var(--red-soft); color: var(--red);
}
.review-card__mark .icon { width: 1.3em; height: 1.3em; }
.review-card__company { margin: 0; font-weight: 500; color: var(--dark); }
.review-card__person { margin: 0; font-size: .8125rem; color: var(--muted); }
.review-card__text {
    margin: 0; padding-left: 16px; border-left: 3px solid var(--red);
    font-size: .9375rem; color: var(--text); font-style: italic;
}
.review-card__foot { margin-top: auto; font-size: .8125rem; color: var(--muted); }

@media (max-width: 1299px) {
    .slider__nav--prev { left: 4px; }
    .slider__nav--next { right: 4px; }
}


@media (max-width: 991px) {
    .section-title { font-size: 1.5rem; }
    .calc-card { padding: 26px 20px; }
    .calc-form__cols { grid-template-columns: 1fr; gap: 26px; }
    .calc-total__area, .calc-total__price { font-size: 1.35rem; }
    .calc-total::after { width: 104px; height: 104px; top: -10px; right: -12px; opacity: .65; }
    .calc-card::before { width: 420px; height: 420px; opacity: .1; }
    .adv-row { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 575px) {
    .calc-form__grid { grid-template-columns: 1fr 1fr; }
    /* контакты и загрузка файла остаются в одну колонку */
    .calc-form__grid--stack { grid-template-columns: 1fr; }
    /* подпись у загрузки файла должна помещаться целиком */
    .inline-field__filename { padding-left: 2.4em; padding-right: .6em; font-size: .8125rem; }
    .inline-field--wide { grid-column: span 2; }
    .calc-form__options { grid-template-columns: 1fr; }
    .benefit { min-height: 64px; }
}

/* --- Карточки услуг с фото ---------------------------------------------- */
.cards--services .card { padding: 0; overflow: hidden; }
@media (min-width: 992px) {
    .cards--services { grid-template-columns: repeat(3, 1fr); }
}
.card--service .card__media { display: block; background: var(--bg-soft); }
.card--service .card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--white); transition: transform .4s ease; }
.card--service:hover .card__media img { transform: scale(1.04); }
.card--service h3, .card--service p { padding: 0 22px; }
.card--service h3 { margin-top: 20px; }
.card--service .card__price { padding-bottom: 16px; }
.card--service .card__more { padding: 14px 22px 22px; }
.card--service .card__more .red_btn { width: 100%; }

/* --- Подпись на карточке проекта ---------------------------------------- */
.portfolio-item-meta {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
    margin-top: 6px; font-size: .8125rem; color: rgba(255, 255, 255, .75);
}
.portfolio-item-price { font-weight: 500; color: var(--white); }

/* --- Этапы работы -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.step__num {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--red); color: var(--white); font-weight: 500; font-size: .9375rem;
}
.step__title { margin: 0 0 .4em; font-weight: 500; color: var(--dark); }
.step__text { margin: 0; font-size: .875rem; color: var(--muted); }

/* --- «Нам доверяют» ------------------------------------------------------ */
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.trust-item { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); text-align: center; }
.trust-item__value { display: block; margin-bottom: .25em; font-size: 1.6rem; font-weight: 500; color: var(--red); line-height: 1.15; }
.trust-item__label { font-size: .875rem; color: var(--muted); }

/* --- Частые вопросы ------------------------------------------------------ */
.faq { display: grid; gap: 12px; }
.faq__item { padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.faq__item[open] { border-color: var(--red); }
.faq__q { font-weight: 500; color: var(--dark); cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: ''; position: absolute; top: .35em; right: 4px;
    width: .5em; height: .5em; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
    transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); top: .5em; }
.faq__a { margin: 14px 0 0; color: var(--muted); font-size: .9375rem; }

/* --- Первый экран: фото объекта вместо выреза ---------------------------- */

/* --- Каталог проектов и карточки объектов (стиль profi26) --------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.projects-grid .product-item--big { grid-column: span 2; grid-row: span 1; }

.product-item {
    display: flex; flex-direction: column; height: 100%;
    overflow: hidden; background: var(--white);
    border: 1px solid var(--border); border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.product-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.product-item__image-container { display: block; overflow: hidden; background: var(--bg-soft); }
.product-item__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.product-item:hover .product-item__image { transform: scale(1.03); }
.product-item--big .product-item__image { aspect-ratio: 16 / 9; }
.product-item__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.product-item__tag {
    display: inline-flex; align-items: center; gap: .5em; align-self: flex-start;
    padding: .5em 1em; border: 1px solid var(--red); border-radius: 40px;
    color: var(--red); font-size: .8125rem; font-weight: 500;
}
.product-item__tag:hover { background: var(--red); color: var(--white); }
.product-item__tag .icon { width: 1em; height: 1em; }
.product-item__title { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.product-item__title a { color: var(--dark); }
.product-item__title a:hover { color: var(--red); }
.product-item__price { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.product-item__price-desc { font-size: .75rem; color: var(--muted); }
.product-item__price-value { font-size: 1.0625rem; font-weight: 500; color: var(--red); }
.product-item__metadata {
    display: flex; align-items: center; gap: .5em; margin: auto 0 0;
    font-size: .8125rem; color: var(--muted);
}
.product-item__metadata .icon { width: 1.1em; height: 1.1em; color: var(--red); }
.projects-all { margin: 26px 0 0; }
.projects-all a { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; }
.projects-all .icon { width: .9em; height: .9em; }

/* Секция реализованных объектов — на фирменном паттерне */
.product-swiper { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-swiper .product-item--preview .product-item__image { aspect-ratio: 4 / 3; }
.product-swiper .slider__slide { display: flex; }

@media (max-width: 991px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid .product-item--big { grid-column: span 2; }
}
@media (max-width: 575px) {
    .projects-grid { grid-template-columns: 1fr; }
    .projects-grid .product-item--big { grid-column: span 1; }
}

/* --- Swiper: каталог проектов ------------------------------------------ */
.catalog-slider { position: relative; }
.catalog-swiper { padding: 4px 4px 48px; }
.catalog-swiper .swiper-slide { height: auto; }
.catalog-swiper .swiper-slide .product-item { height: 100%; }
.catalog-slider .swiper-button-prev,
.catalog-slider .swiper-button-next {
    width: 42px; height: 42px; margin-top: -30px;
    border: 1px solid var(--border); border-radius: 50%;
    background: var(--white); color: var(--dark);
    transition: border-color .2s ease, color .2s ease;
}
.catalog-slider .swiper-button-prev:hover,
.catalog-slider .swiper-button-next:hover { border-color: var(--red); color: var(--red); }
.catalog-slider .swiper-button-prev::after,
.catalog-slider .swiper-button-next::after { font-size: 15px; font-weight: 500; }
.catalog-slider .swiper-button-prev { left: -42px; }
.catalog-slider .swiper-button-next { right: -42px; }
.catalog-swiper .swiper-pagination { bottom: 8px; }
.catalog-swiper .swiper-pagination-bullet { background: #ccc; opacity: 1; }
.catalog-swiper .swiper-pagination-bullet-active { background: var(--red); }
@media (max-width: 1299px) {
    .catalog-slider .swiper-button-prev { left: 0; }
    .catalog-slider .swiper-button-next { right: 0; }
}

/* --- Переключатель «только каркас» в калькуляторе ----------------------- */
.calc-toggle {
    display: flex; align-items: center; gap: .6em;
    margin: 16px 0 0; padding: 0;
    border: 0; background: none;
    font-size: .875rem; color: var(--dark); cursor: pointer;
}
.calc-toggle input { accent-color: var(--red); }
.calc-toggle:hover span { color: var(--red); }

/* --- Отзывы: объект и дата --------------------------------------------- */
.review-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.review-card__object { display: inline-flex; align-items: center; gap: .45em; color: var(--dark); }
.review-card__object .icon { width: 1em; height: 1em; color: var(--red); }
.review-card__date { color: var(--muted); }
.review-card__text { max-height: 12.5em; overflow-y: auto; }

/* --- Детальная карточка проекта / объекта ------------------------------- */
.item-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: start; margin-bottom: 36px; }
.item-gallery__main { cursor: zoom-in; }
.item-gallery__main {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft);
}
.item-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.item-gallery__thumb {
    flex: 0 0 auto; width: 104px; padding: 0; overflow: hidden; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius); background: none;
    transition: border-color .2s ease, opacity .2s ease;
}
.item-gallery__thumb img { width: 100%; height: 72px; object-fit: cover; display: block; }
.item-gallery__thumb:hover { border-color: var(--red); }
.item-gallery__thumb.is-active { border-color: var(--red); }

.item-aside {
    padding: 24px; background: var(--white);
    border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow);
}
.item-aside__price-desc { margin: 0; font-size: .8125rem; color: var(--muted); }
.item-aside__price { margin: 2px 0 20px; font-size: 1.6rem; font-weight: 500; color: var(--red); }
.item-aside__label { margin: 0 0 10px; font-weight: 500; color: var(--dark); }
.item-specs { margin: 0 0 22px; }
.item-specs > div {
    display: flex; justify-content: space-between; gap: 14px;
    padding: .55em 0; border-bottom: 1px dashed var(--border); font-size: .875rem;
}
.item-specs dt { color: var(--muted); margin: 0; }
.item-specs dd { margin: 0; color: var(--dark); text-align: right; }
.item-aside__note { margin: 12px 0 0; font-size: .75rem; color: var(--muted); text-align: center; }

@media (max-width: 991px) {
    .item-grid { grid-template-columns: 1fr; }
}

/* --- Вкладки на карточке проекта ---------------------------------------- */
.tabbed { margin: 8px 0 36px; }
.tabbed__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.tabbed__button {
    padding: .8em 1.4em; border: 1px solid var(--border); border-radius: 40px;
    background: var(--white); color: var(--dark);
    font: 500 .9375rem/1.2 Montserrat, sans-serif; cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.tabbed__button:hover { border-color: var(--red); color: var(--red); }
.tabbed__button.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.tabbed__list--inner .tabbed__button { font-size: .875rem; padding: .6em 1.1em; }
.tabbed__section { display: none; }
.tabbed__section.is-active { display: block; }
.tabbed--inner { margin: 0; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.tabbed__price { margin: 0 0 16px; font-size: 1.25rem; font-weight: 500; color: var(--red); }

.tech-grid { display: grid; grid-template-columns: 1fr 285px; gap: 24px; align-items: start; }
.tech-image { width: 100%; border-radius: var(--radius); }
.tech-heading { margin: 0 0 14px; font-weight: 500; color: var(--dark); }
.tech-row { display: flex; gap: 12px; padding: .6em 0; border-bottom: 1px dashed var(--border); }
.tech-row__mark {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 22px; height: 22px; border-radius: 50%; font-size: .875rem; font-weight: 500;
}
.tech-row__mark--plus { background: #e8f5ec; color: #26a65b; }
.tech-row__mark--minus { background: var(--red-soft); color: var(--red); }
.tech-row__title { margin: 0 0 2px; font-weight: 500; color: var(--dark); font-size: .9375rem; }
.tech-row__text { margin: 0; color: var(--muted); font-size: .875rem; }

.similar-block { margin-bottom: 36px; }
.projects-grid--similar { grid-template-columns: repeat(3, 1fr); }

/* --- Как мы работаем: аккордеон + видео --------------------------------- */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.accordion { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__button {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 1.1em 0; border: 0; background: none; cursor: pointer; text-align: left;
    font: 500 1rem/1.35 Montserrat, sans-serif; color: var(--dark);
}
.accordion__num {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--red-soft); color: var(--red); font-size: .875rem;
}
.accordion__text { flex: 1; }
.accordion__sign { position: relative; flex: none; width: 18px; height: 18px; }
.accordion__sign::before, .accordion__sign::after {
    content: ''; position: absolute; left: 50%; top: 50%; background: var(--red);
    transform: translate(-50%, -50%); transition: opacity .2s ease, transform .2s ease;
}
.accordion__sign::before { width: 14px; height: 2px; }
.accordion__sign::after { width: 2px; height: 14px; }
.accordion__item.is-open .accordion__sign::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.accordion__panel { display: none; padding-bottom: 1.1em; }
.accordion__item.is-open .accordion__panel { display: block; }
.accordion__panel p { margin: 0; color: var(--muted); font-size: .9375rem; }

.steps-video__frame {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft);
}
.steps-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.steps-video__frame .plyr, .steps-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; }
.steps-video__text { margin-top: 18px; color: var(--muted); font-size: .9375rem; }

@media (max-width: 991px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-image { max-width: 285px; }
    .steps-grid { grid-template-columns: 1fr; }
    .projects-grid--similar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) { .projects-grid--similar { grid-template-columns: 1fr; } }

/* --- Благодарности (слайды в отзывах) ---------------------------------- */
.document-card {
    display: flex; flex-direction: column; height: 100%; margin: 0;
    padding: 18px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.document-card__image-container {
    display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft);
    transition: opacity .2s ease;
}
.document-card__image-container:hover { opacity: .88; }
.document-card__image { width: 100%; height: 300px; object-fit: contain; display: block; }
.document-card__caption { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.document-card__label { font-size: .75rem; color: var(--muted); }
.document-card__title { font-weight: 500; color: var(--dark); }

/* --- Карты -------------------------------------------------------------- */
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 18px; background: var(--white);
    border: 1px solid var(--border); border-radius: 8px;
}
.map-card__title { margin: 0; font-weight: 500; color: var(--dark); }
.map-card iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--bg-soft); }
.map-card__link { display: inline-flex; align-items: center; gap: .45em; font-size: .875rem; }
.map-card__link .icon { width: .9em; height: .9em; }
@media (max-width: 991px) { .maps-grid { grid-template-columns: 1fr; } }

/* --- Внутренние страницы: листинги и услуги ----------------------------- */
.section--top { padding-top: 8px; }
.listing-lead { max-width: 60em; margin-bottom: 28px; color: var(--muted); }
.projects-grid--listing { grid-template-columns: repeat(4, 1fr); }
.product-item__tag--static {
    align-self: flex-start; padding: .35em .9em;
    border: 1px solid var(--border); border-radius: 40px;
    background: var(--bg-soft); color: var(--muted); font-size: .75rem;
}
.section-projects .product-item__tag--static {
    border-color: var(--red); background: var(--red-soft); color: var(--red);
}
.section-projects .product-item__metadata { color: var(--red); }
.listing-cta { margin-top: 32px; }

.service-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; margin-bottom: 36px; }
.service-head__image { width: 100%; border-radius: 8px; background: var(--bg-soft); }
.content--wide { max-width: 100%; }

@media (max-width: 1199px) { .projects-grid--listing { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
    .projects-grid--listing { grid-template-columns: repeat(2, 1fr); }
    .service-head { grid-template-columns: 1fr; }
}
@media (max-width: 575px) { .projects-grid--listing { grid-template-columns: 1fr; } }

/* --- Блоки aluminstar (разметка 1:1, светлое оформление) ---------------- */
.section.will_help_section,
.section.calculation_footer {
    padding: 50px 0;
    position: relative;
}
.will_help_section .help_video__frame { background: var(--white); }
/* фото с буклетом — только у нижней формы */
.section.calculation_footer {
    background-image: url('/assets/img/cta-booklet.webp');
    background-repeat: no-repeat;
    background-position: right 320px bottom;
    background-size: auto 80%;
}
.will_help_section .container,
.calculation_footer .container { position: relative; z-index: 2; }
.will_help_section .row,
.calculation_footer .row { display: block; }
.calculation_footer .col-md-12 { display: block; }
.will_help_section .col-md-12 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.will_help_section .help_wrp { max-width: 100%; }
.help_video__frame {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    border: 1px solid var(--border); border-radius: 8px; background: var(--white);
}
.help_video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.help_wrp, .calc_form_wrp { max-width: 470px; }
.will_help_section .heading_wrp h2,
.calculation_footer .heading_wrp h2 {
    margin-bottom: 14px;
    font-size: 1.75rem; font-weight: 500; line-height: 1.4; color: var(--dark);
}
.will_help_section .heading_wrp h2 span { color: var(--red); }
.will_help_section .heading_wrp p,
.calculation_footer .heading_wrp p { margin-bottom: 26px; font-size: .9375rem; color: var(--muted); }
.calculation_footer .heading_wrp { margin-bottom: 20px; }

.will_help_section .button,
.calculation_footer .button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 20px 30px; border: 0; border-radius: 6px;
    background: var(--red); color: var(--white);
    font: 500 .9375rem/1.2 Montserrat, sans-serif; text-align: center; cursor: pointer;
    transition: background-color .2s ease;
}
.will_help_section .button:hover,
.calculation_footer .button:hover { background: var(--red-hover); }
.calculation_footer .button { width: 100%; }

#form_calc_3_minutres { display: block; max-width: 400px; }
#form_calc_3_minutres .surname { display: none; }
#form_calc_3_minutres input[type="text"],
#form_calc_3_minutres input[type="tel"] {
    width: 100%; height: 52px; margin-bottom: 12px; padding: 0 20px;
    border: 1px solid var(--border); border-radius: 6px;
    background: var(--white); color: var(--text);
    font: 400 .9375rem/1.2 Montserrat, sans-serif; outline: 0;
}
#form_calc_3_minutres input[type="text"]:focus,
#form_calc_3_minutres input[type="tel"]:focus { border-color: var(--red); }
#form_calc_3_minutres input::placeholder { color: #b5b6bc; }

.popup-notification {
    display: flex; align-items: center; gap: 12px;
    opacity: 0; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
    max-width: 400px; margin-top: 16px; padding: 14px 18px;
    border: 1px solid var(--border); border-radius: 6px; background: var(--white);
}
.popup-notification.is-visible { opacity: 1; transform: none; }
.popup-notification img { width: 34px; height: 34px; }
.popup-notification p { margin: 0; font-size: .9375rem; color: var(--dark); }
.popup-notification.is-error { border-color: var(--red); }
.popup-notification.is-error p { color: var(--red); }

@media (max-width: 991px) {
    .section.will_help_section,
    .section.calculation_footer {
        padding: 36px 0; min-height: 0;
        background-image: none;
    }
    .will_help_section .heading_wrp h2,
    .calculation_footer .heading_wrp h2 { font-size: 1.35rem; }
    .help_wrp, .calc_form_wrp, #form_calc_3_minutres { max-width: 100%; }
    .will_help_section .col-md-12 { grid-template-columns: 1fr; gap: 24px; }
    .will_help_section .button { width: 100%; }
}

/* --- Подвал ------------------------------------------------------------- */
.footer { padding: 52px 0 24px; background: var(--dark); color: #b8bec7; font-size: .875rem; }
.footer a { color: #b8bec7; }
.footer a:hover { color: var(--white); }
.footer_row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 32px; }
.footer_logo { display: inline-block; margin-bottom: 16px; }
.footer_slogan { color: #8a929c; max-width: 22em; }
.footer_col_title { margin-bottom: 14px; color: var(--white); font-weight: 500; }
.footer_col_title a { color: var(--white); }
.footer_list li { margin-bottom: .55em; }
.footer .contacts_block_items { display: block; }
.footer .icon_item_line { color: #b8bec7; margin-bottom: 12px; }
.footer .icon_item_line .content_block a { color: #b8bec7; }
.footer .icon_item_line .content_block a:hover { color: var(--white); }
.footer .soc_block a { border-color: rgba(255, 255, 255, .2); color: #b8bec7; }
.footer .red_btn { margin-top: 10px; color: var(--white); }
.footer_bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .8125rem; color: #8a929c;
}
.footer_bottom p { margin: 0; }

/* --- Модальное окно ----------------------------------------------------- */
[hidden] { display: none !important; }
.popup {
    position: fixed; inset: 0; z-index: 300;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.popup.is-open { opacity: 1; visibility: visible; }
.popup[hidden] { display: flex !important; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(31, 39, 51, .55); }
.popup__body {
    transform: translateY(14px) scale(.98);
    transition: transform .25s ease;
    position: relative; width: min(440px, 100%); max-height: 90vh; overflow-y: auto;
    padding: 32px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.popup.is-open .popup__body { transform: none; }
.popup__close {
    position: absolute; top: 10px; right: 14px; padding: 0; border: 0; background: none;
    font-size: 1.9rem; line-height: 1; color: var(--muted); transform: rotate(45deg); cursor: pointer;
}
.popup__close:hover { color: var(--red); }
.popup__title { margin-bottom: .3em; font-size: 1.25rem; font-weight: 500; color: var(--dark); }
.popup__text { color: var(--muted); font-size: .875rem; }
.field { display: block; margin-bottom: 14px; }
.field__label { display: block; margin-bottom: .35em; font-size: .8125rem; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field textarea {
    width: 100%; padding: .75em 1em; border: 1px solid var(--border); border-radius: var(--radius);
    font: 400 .875rem/1.4 Montserrat, sans-serif; color: var(--text); outline: 0; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field--check { display: flex; align-items: flex-start; gap: .6em; font-size: .75rem; color: var(--muted); }
.field--check input { margin-top: .2em; accent-color: var(--red); }
.hp_field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.popup__status { margin: 12px 0 0; font-size: .8125rem; min-height: 1.2em; transition: color .2s ease, opacity .2s ease; }
.popup__status.is-ok { color: #26a65b; }
.popup__status.is-error { color: var(--red); }

body.is-locked { overflow: hidden; }

.popup__status:empty { display: none; }
/* просмотрщик фото — фон в тон сайта */
.glightbox-clean .goverlay { background: rgba(20, 24, 31, .92); }

/* --- Согласие на cookie ------------------------------------------------ */
.cookie-bar {
    position: fixed; left: 50%; bottom: 20px; z-index: 250;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    width: min(860px, calc(100% - 40px)); padding: 14px 14px 14px 22px;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s ease, transform .3s ease;
}
.cookie-bar.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.cookie-bar__text a { color: var(--red); }
.cookie-bar__btn { flex: none; padding: .7em 1.2em; font-size: .8125rem; }
@media (max-width: 575px) {
    .cookie-bar { bottom: 12px; width: calc(100% - 24px); gap: 14px; padding: 12px 12px 12px 16px; }
    .cookie-bar__text { font-size: .75rem; }
}

/* --- Страница благодарности --------------------------------------------- */
.thanks { max-width: 780px; margin: 0 auto; text-align: center; }
.thanks__check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; margin-bottom: 18px;
    border-radius: 50%; background: var(--red-soft); color: var(--red);
}
.thanks__check .icon { width: 1.6em; height: 1.6em; stroke: var(--red); }
.thanks__lead { margin: 0 0 28px; font-size: 1rem; line-height: 1.65; color: var(--text); }
.thanks__steps { display: grid; gap: 16px; margin: 0 auto 30px; padding: 0; list-style: none; max-width: 560px; text-align: left; }
.thanks__step { display: flex; align-items: flex-start; gap: 14px; }
.thanks__step-num {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--red-soft); color: var(--red); font-weight: 600;
}
.thanks__step-body { display: flex; flex-direction: column; gap: 3px; }
.thanks__step-title { font-weight: 600; color: var(--dark); }
.thanks__step-text { font-size: .9375rem; color: var(--muted); }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 16px; }
.thanks__actions .red_btn .icon { width: 1.05em; height: 1.05em; }
.thanks__note { margin: 0; font-size: .8125rem; color: var(--muted); }

/* --- Каталог: фильтр сбоку --------------------------------------------- */
.catalog-layout { display: block; }
/* блок со слайдером: фильтр слева, карточки справа */
.catalog-plain { display: grid; grid-template-columns: 268px 1fr; gap: 28px; align-items: start; }
.catalog-plain .catalog-side { margin-bottom: 0; position: sticky; top: 16px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; padding-right: 8px; }
.catalog-plain .catalog-side__body { display: block; overflow-y: auto; padding-right: 12px; }
.catalog-plain .catalog-side__title { display: flex; }
.catalog-plain .catalog-side__group { margin-bottom: 18px; }
.catalog-plain .catalog-side__group--2col { column-count: 1; }
.catalog-plain .catalog-side__stack { display: block; }
.catalog-plain .catalog-side__foot { margin-right: 12px; }
.catalog-side {
    display: block; margin-bottom: 24px; padding: 20px 22px 16px;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.catalog-side__toggle {
    display: none; align-items: center; gap: .55em;
    width: 100%; padding: .85em 1.1em;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); color: var(--dark); cursor: pointer;
    font: 600 .9375rem/1.2 Montserrat, sans-serif;
}
.catalog-side__toggle .icon { width: 1.15em; height: 1.15em; stroke: var(--red); color: var(--red); }
.catalog-side__toggle:hover { border-color: var(--red); color: var(--red); }
.catalog-side__toggle[aria-expanded="true"] { border-color: var(--red); }
.catalog-side__toggle [data-catalog-badge]:not(:empty) {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; margin-left: auto; padding: 0 6px;
    border-radius: 40px; background: var(--red); color: var(--white); font-size: .75rem;
}
.catalog-side__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 26px; }
.catalog-side__title { display: none; align-items: center; gap: .5em; margin: 0 0 16px;
    font-size: 1rem; font-weight: 600; color: var(--dark); }
.catalog-side__title .icon { width: 1.1em; height: 1.1em; stroke: var(--red); color: var(--red); flex: none; }
.catalog-side__group { margin: 0; }
/* площадь и этажность — отдельными колонками */
.catalog-side__stack { display: contents; }
/* длинный список «Назначение» — в две колонки, чтобы панель не растягивалась */
@media (min-width: 768px) {
    .catalog-side__group--2col { grid-column: span 2; }
    .catalog-side__group--2col .fbox { break-inside: avoid; }
    .catalog-side__group--2col > .fbox:first-of-type { margin-top: 0; }
    .catalog-side__group--2col .catalog-side__label { column-span: all; }
    .catalog-side__group--2col { column-count: 2; column-gap: 26px; }
}
.catalog-side__label {
    margin: 0 0 8px; font-size: .75rem; font-weight: 600; letter-spacing: .03em;
    text-transform: uppercase; color: var(--red);
}
.fbox { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 7px; cursor: pointer; }
.fbox input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--red); flex: none; cursor: pointer; }
.fbox span { font-size: .875rem; line-height: 1.35; color: var(--text); }
.fbox:hover span { color: var(--red); }
.catalog-side__foot {
    display: flex; align-items: center; gap: 16px;
    grid-column: 1 / -1; margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--border);
}
.catalog-side__count { margin: 0; font-size: .8125rem; color: var(--muted); }
.catalog-side__foot .ghost_btn { padding: .45em 1em; font-size: .8125rem; }
.catalog-main { min-width: 0; }
.catalog-layout .projects-grid--listing { grid-template-columns: repeat(4, 1fr); }
.catalog-plain .projects-grid--listing { grid-template-columns: repeat(3, 1fr); }
/* блок каталога на главной и страницах направлений: ограничиваем высоту */
.catalog-scroll { max-height: min(780px, 82vh); overflow-y: auto; padding-right: 10px; margin-bottom: 24px; }
.catalog-scroll .projects-grid { padding-bottom: 4px; }
.product-item[hidden] { display: none; }
.catalog-empty { margin: 18px 0 0; color: var(--muted); }
.catalog-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.catalog-actions__link { display: inline-flex; align-items: center; gap: .5em; color: var(--red); font-weight: 500; }
.catalog-actions__link .icon { width: 1em; height: 1em; stroke: currentColor; }
.slider__slide[hidden] { display: none; }
@media (max-width: 1199px) {
    .catalog-layout .projects-grid--listing { grid-template-columns: repeat(3, 1fr); }
    .catalog-plain { grid-template-columns: 240px 1fr; gap: 22px; }
    .catalog-plain .projects-grid--listing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .catalog-layout .projects-grid--listing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .catalog-plain { grid-template-columns: 1fr; gap: 0; }
    .catalog-plain .projects-grid--listing { grid-template-columns: repeat(2, 1fr); }
    .catalog-scroll { max-height: 70vh; padding-right: 6px; }
    .catalog-plain .catalog-side { position: static; max-height: none; display: block; padding: 0; margin-bottom: 20px; }
    .catalog-plain .catalog-side__body { overflow: visible; padding: 18px 16px 12px; }
    .catalog-side { padding: 0; border: 0; background: none; margin-bottom: 20px; }
    .catalog-side__toggle { display: flex; }
    .catalog-side__body {
        grid-template-columns: 1fr; gap: 14px;
        margin-top: 10px; padding: 18px 16px 12px;
        background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    }
    .catalog-side__body[hidden] { display: none; }
    .catalog-side__group .fbox { display: inline-flex; margin-right: 14px; }
}
@media (max-width: 575px) {
    .catalog-layout .projects-grid--listing { grid-template-columns: 1fr; }
    .catalog-plain .projects-grid--listing { grid-template-columns: 1fr; }
}

/* --- Блок «Мы на ТВ» ---------------------------------------------------- */
.tv-card { display: flex; flex-direction: column; height: 100%; margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tv-card__frame { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0f1217; aspect-ratio: 16 / 9; cursor: pointer; overflow: hidden; }
.tv-card__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-card__frame .plyr { height: 100%; }
.tv-card__icon {
    position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px;
    border-radius: 50%; background: rgba(232, 66, 68, .92);
    transition: background-color .2s ease;
}
.tv-card__icon::after {
    content: ''; position: absolute; top: 50%; left: 50%; margin: -10px 0 0 -6px;
    border: 10px solid transparent; border-left: 16px solid #fff; border-right: 0;
}
.tv-card__play:hover .tv-card__icon { background: var(--red); }
.tv-card__caption { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.tv-card__channel { font-size: .75rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .03em; }
.tv-card__title { font-size: .9375rem; font-weight: 500; color: var(--dark); }
.tv-card__date { font-size: .8125rem; color: var(--muted); }
.steps-video__frame .plyr { --plyr-color-main: var(--red); border-radius: 8px; overflow: hidden; }
.tv-section .plyr { --plyr-color-main: var(--red); }

/* --- Виджет «Спроси эксперта» (структура t825) --------------------------- */
.t825 { position: relative; font-family: inherit; }
.t825__btn { position: fixed; right: 20px; bottom: 20px; z-index: 240; cursor: pointer; }
.t825__btn_wrapper {
    position: relative; display: block; width: 60px; height: 60px; padding: 0;
    border: 0; border-radius: 50%; background: var(--white);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .3); overflow: hidden; cursor: pointer;
    transition: box-shadow .2s linear, background .2s linear;
}
.t825__btn_wrapper.t825__btn_animate {
    animation: t825__btn-pulsate 2s ease-out infinite;
}
.t825__btn:hover .t825__btn_wrapper,
.t825__btn_active .t825__btn_wrapper {
    animation: none;
}
@keyframes t825__btn-pulsate {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .t825__btn_wrapper.t825__btn_animate { animation: none; }
}
.t825__bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: all .2s linear; }
.t825__btn-text {
    position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
    padding: 9px 13px; border-radius: 3px; background: #1a73e8; color: #fff; opacity: 1;
    font-size: .9375rem; font-weight: 600; line-height: 1.35; white-space: nowrap;
    transition: all .1s linear;
}
.t825__btn-text::after {
    content: ''; position: absolute; top: 50%; right: -20px; transform: translateY(-50%);
    border: 10px solid transparent; border-left-color: #1a73e8;
}
.t825__btn_active .t825__btn-text, .t825__btn_active .t825__bgimg { visibility: hidden; opacity: 0; }
.t825__icon-close {
    position: absolute; inset: 0; margin: auto; opacity: 0; visibility: hidden;
    transform: scale(.1); transition: all .2s linear;
}
.t825__btn_active .t825__icon-close { opacity: 1; visibility: visible; transform: scale(1); }
.t825__popup { position: relative; z-index: 241; display: none; opacity: 0; transition: opacity ease-in-out .2s; }
.t825__popup_show { opacity: 1; }
.t825__popup-container {
    position: fixed; right: 20px; bottom: 95px; z-index: 1; max-width: 300px;
    border-radius: 5px; background: var(--white); box-shadow: 0 0 20px 0 rgba(0, 0, 0, .4); cursor: default;
}
.t825__wrapper { padding: 30px 20px 20px; max-height: 65vh; overflow-y: auto; text-align: center; }
.t825__text-wrapper { padding-bottom: 26px; }
.t825__title { padding-bottom: 5px; font-size: 1.25rem; font-weight: 600; line-height: 1.35; color: #1a73e8; }
.t825__descr { font-size: .875rem; line-height: 1.55; color: var(--text); }
.t825__messenger-block { display: inline-block; margin: 0 8px 20px; }
.t825__messenger { display: block; width: 62px; height: 62px; margin: auto; border-radius: 50%; overflow: hidden; background: var(--white); }
.t825__messenger svg { display: block; }
.t825__messenger-descr { padding-top: 8px; font-size: 1rem; color: var(--dark); opacity: .8; }
/* при открытом меню или модалке виджет не мешает */
body.is-locked .t825 { display: none; }
@media (max-width: 991px) {
    .cookie-bar.is-visible ~ .t825 .t825__btn { bottom: 110px; }
    .cookie-bar.is-visible ~ .t825 .t825__popup-container { bottom: 185px; }
}
@media (max-width: 575px) {
    .t825__btn-text { font-size: .8125rem; right: 74px; }
    .t825__btn-text::after { border-width: 8px; right: -16px; }
    .t825__popup-container { max-width: min(300px, calc(100vw - 40px)); }
    .t825__wrapper { max-height: calc(100vh - 200px); }
}

/* --- Адаптив ------------------------------------------------------------ */
.mob { display: none; }

@media (max-width: 1199px) {
    .search_line { max-width: 300px; }
    .top_menu .menu_lvl_1 > a { padding: 1em .65em; font-size: .8125rem; }
}

@media (max-width: 991px) {
    .desk { display: none !important; }
    .mob { display: flex; }
    .show_lg { display: none; }
    .top_header_block { display: none; }
    .top_header_row { justify-content: center; }
    .header_contain { min-height: 68px; gap: 12px; }
    .left_block_head { gap: 14px; }
    .hamb { display: flex; }
    .search_btn { display: flex; }
    .top_menu { display: none; }
    .logo_svg { width: 118px; }
    .logo_img { width: 132px; }
    .info_head { gap: 12px; }
    .red_btn { padding: .75em 1.1em; font-size: .8125rem; }
    .search_btn { color: var(--dark); }
    /* звонок — такая же иконка, как поиск */
    .head_call, .head_call:hover, .head_call:focus, .head_call:active {
        padding: 0; background: none; color: var(--dark);
    }
    .head_call span, .head_call .head_call__fill { display: none; }
    .head_call .head_call__line { display: block; width: 1.4em; height: 1.4em; font-size: 1rem; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .footer_row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    h1 { font-size: 1.6rem; }
    .hero { padding: 36px 0; }
    .section { padding: 36px 0; }
    .footer_row { grid-template-columns: 1fr; }
    .hero__stats { grid-template-columns: 1fr; }
    .popup__body { padding: 24px 18px; }
}

.office-card { display: flex; flex-direction: column; margin: 0; }
.office-card__img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 8px; flex: 1; }
.office-card__text { padding-top: 12px; font-size: .875rem; color: var(--muted); }

/* --- Блок «Остались вопросы?» ------------------------------------------ */
.section.feedback { padding: 50px 0; }
.feedback__head { max-width: 760px; margin-bottom: 28px; }
.feedback__head h2 { margin-bottom: 12px; font-size: 1.75rem; font-weight: 500; line-height: 1.35; color: var(--dark); }
.feedback__head p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.contact-form__nav { display: flex; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid var(--border); }
.contact-form__trigger {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    flex: 1 1 200px; padding: 16px 20px; border: 0; background: var(--bg-soft);
    color: var(--muted); cursor: pointer; font: 500 .9375rem/1.2 Montserrat, sans-serif;
    border-right: 1px solid var(--border); transition: background-color .2s ease, color .2s ease;
}
.contact-form__trigger:last-child { border-right: 0; }
.contact-form__trigger .icon { width: 1.15em; height: 1.15em; stroke: currentColor; }
.contact-form__trigger:hover { color: var(--red); }
.contact-form__trigger.is-active { background: var(--white); color: var(--dark); box-shadow: inset 0 -2px 0 var(--red); }
.contact-form__item { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 26px 24px 28px; }
.contact-form__item[hidden] { display: none; }
.contact-form__column { display: flex; flex-direction: column; gap: 14px; }
.contact-form__column .inline-field { width: 100%; }
.contact-form__note { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.contact-form__column .field textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); color: var(--text); font: 400 .9375rem/1.45 Montserrat, sans-serif; resize: vertical;
}
.contact-form__column .field textarea:focus { border-color: var(--red); outline: 0; }
.file-field {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    height: 100%; min-height: 190px; padding: 24px; cursor: pointer; text-align: center;
    border: 2px dashed var(--border); border-radius: var(--radius); background: var(--bg-soft);
    transition: border-color .2s ease, background-color .2s ease;
}
.file-field:hover { border-color: var(--red); background: var(--red-soft); }
.file-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-field__hint { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.file-field__list:not(:empty) { font-size: .8125rem; color: var(--dark); word-break: break-word; }
@media (max-width: 767px) {
    .contact-form__item { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px 24px; }
    .contact-form__trigger { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--border); padding: 13px 16px; }
    .feedback__head h2 { font-size: 1.4rem; }
}

/* --- Полосы прокрутки в стиле сайта ------------------------------------- */
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 40px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }
::-webkit-scrollbar-corner { background: var(--bg-soft); }

/* Стрелки слайдера в строке заголовка на узких экранах (переносит скрипт) */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head .section-title { margin-bottom: 0; }
.section-head__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.section-head__nav .slider__nav { position: static; width: 38px; height: 38px; margin: 0; }
.benefits-strip .slider__dots { display: none; }
.benefits-strip .slider__track { margin-bottom: 0; }
@media (max-width: 991px) {
    .catalog-swiper .swiper-pagination { display: none; }
    .catalog-swiper { padding-bottom: 4px; }
    .benefits-strip .slider__nav { display: none; }
    .benefits-strip .slider__track { margin-bottom: 12px; }
    .benefits-strip .slider__dots { display: flex; margin-top: 4px; }
}

/* якоря разделов главной не прилипают к краю экрана */
section[id], #footer_form { scroll-margin-top: 12px; }
