@charset "utf-8";

/* =====================================================================
   trudinvest.ru — единая таблица стилей
   Стиль: индустриальный, редакционный. Крупный гротеск Oswald в заголовках,
   Inter в тексте, тонкие линии вместо рамок, срезанный угол у фото,
   оранжевый только как акцент, сигнальная «зебра» как фирменный элемент.
   ===================================================================== */

/* ----------------------------- ТОКЕНЫ ----------------------------- */

:root {
    --orange: #F0482D;
    --orange-dark: #D43A20;
    --ink: #12161C;
    --graphite: #1A1F27;
    --graphite-2: #232A34;
    --text: #2A313B;
    --muted: #6A7280;
    --line: #DADEE3;
    --line-soft: #E9ECEF;
    --steel: #EEF0F3;
    --steel-2: #E4E7EB;
    --paper: #FFFFFF;
    --green: #1F9D57;
    --r: 6px;
    --notch: 28px;
    --shadow: 0 18px 50px rgba(18, 22, 28, .14);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --menu-h: 76px;
    --gap: clamp(72px, 9vw, 128px);
    --wrap: 1320px;
    --pad: 40px;
    --display: "Oswald", "Arial Narrow", "Inter", sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --cut: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
    --zebra: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--ink) 16px 32px);
}

/* ------------------------------ БАЗА ------------------------------ */

*, *::before, *::after {box-sizing: border-box;}
html {-webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--menu-h) + 24px);}
body, div, span, ul, ol, li, h1, h2, h3, h4, p, a, label, form, input, button, textarea, img, table, tr, th, td, section, article, nav, main, header, footer {margin: 0; padding: 0; border: 0; font-size: inherit; background: transparent; vertical-align: baseline;}
body {background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; padding-top: var(--menu-h);}
ul, ol, li {list-style: none;}
img, svg {display: block; max-width: 100%;}
img {height: auto;}
a {color: inherit; text-decoration: none; cursor: pointer; transition: color .2s var(--ease), opacity .2s var(--ease);}
button {font: inherit; color: inherit; cursor: pointer; background: none; border-radius: 0;}
input, textarea, select {font: inherit; color: inherit; border-radius: 0;}
input[type=text], input[type=tel], input[type=email], textarea {-webkit-appearance: none; appearance: none;}
b, strong {font-weight: 600; color: var(--ink);}
h1, h2 {font-family: var(--display); font-weight: 600; text-transform: uppercase; line-height: 1.04; letter-spacing: .005em; color: var(--ink); text-wrap: balance;}
h1 {font-size: clamp(38px, 5vw, 68px);}
h2 {font-size: clamp(32px, 3.8vw, 54px);}
h3, h4 {font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -.005em;}
h3 {font-size: 19px;}
h1 span, h2 span {color: inherit;}
p {text-wrap: pretty;}
::selection {background: var(--orange); color: #fff;}
:focus {outline: none;}
:focus-visible {outline: 2px solid var(--orange); outline-offset: 3px;}
.wrap {width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);}
.d_none {display: none !important;}
.items {display: flex;}
.input_group {display: flex; gap: 12px;}
.input_group > input {flex: 1 1 0; min-width: 0;}
form label:empty {display: none;}
section, .section {scroll-margin-top: calc(var(--menu-h) + 24px);}

/* Яндекс Метрика при «скрытии части номера» делает цифры прозрачными — показываем номер целиком */
a[href^="tel:"] small {opacity: 1 !important;}

/* метка раздела */
.eyebrow {display: flex; align-items: center; gap: 10px; font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;}
.eyebrow::before {content: ""; width: 8px; height: 8px; background: var(--orange); flex: 0 0 8px;}

/* сигнальная «зебра» */
.stripe {height: 10px; background: var(--zebra);}

/* срезанный угол у фотографий */
.steps_group > img, .advantages_main .advantages > img, #about .body img, #blog_info img.cover, .catalog_card img, .news_items .card img, #blogs .blogs_items > a img, #cases .cases_items > a img, .similar_case .similar_case_items > a img, #case_info .case_results img, #partners img.mobile, #steps img.mobile, #outsourcing img.mobile {clip-path: var(--cut);}

/* появление при прокрутке (класс .rv ставит JS) */
.rv {opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);}
.rv.in {opacity: 1; transform: none;}

@media (max-width: 1100px) {
    :root {--menu-h: 64px; --pad: 24px; --notch: 20px;}
}
@media (max-width: 600px) {
    :root {--pad: 16px;}
    body {font-size: 15px;}
}

/* ------------------------- КНОПКИ И ФОРМЫ ------------------------- */

.btn_primary {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: var(--r);
    background: var(--orange); color: #fff; font: 600 15px/1 var(--body); letter-spacing: .01em; text-align: center; white-space: nowrap; user-select: none;
    transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn_primary::after {content: "→"; font-size: 17px; line-height: 1; transition: transform .25s var(--ease);}
.btn_primary:hover {background: var(--orange-dark);}
.btn_primary:hover::after {transform: translateX(5px);}
.btn_primary:active {transform: translateY(1px);}
.btn_primary.light {background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);}
.btn_primary.light::after {display: none;}
.btn_primary.light:hover {background: var(--ink); color: #fff;}
.btn_primary.light svg {width: 18px; height: 18px; color: var(--orange);}

input[type=text], input[type=tel], input[type=email], textarea {
    width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
input::placeholder, textarea::placeholder {color: #9AA1AC;}
input:hover, textarea:hover {border-color: #B9BFC8;}
input:focus, textarea:focus {border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 22, 28, .08);}
input.error, textarea.error {border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(240, 72, 45, .16) !important;}
textarea {min-height: 150px; resize: vertical; line-height: 1.5;}
form.shake {animation: shake .35s var(--ease);}
@keyframes shake {20% {transform: translateX(-6px);} 40% {transform: translateX(5px);} 60% {transform: translateX(-3px);} 80% {transform: translateX(2px);}}

/* ------------------------------ МЕНЮ ------------------------------ */

#menu {position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s var(--ease);}
#menu.scrolled {box-shadow: 0 6px 24px rgba(18, 22, 28, .07);}
#menu .menu {display: flex; align-items: center; gap: 28px; height: var(--menu-h); position: relative;}
#menu .menu .logo {display: flex; align-items: center; flex: 0 0 auto;}
#menu .menu .logo img {height: 30px; width: auto;}
#menu .links {display: flex; align-items: stretch; gap: 2px; height: 100%; margin-right: auto; position: relative;}
#menu .links > a {position: relative; display: inline-flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;}
#menu .links > a::before {content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);}
#menu .links > a:hover::before, #menu .links > a.active::before, #menu .links > a[aria-expanded="true"]::before {transform: scaleX(1);}
#menu .links > a:hover {color: var(--orange);}
#menu .links > a[aria-haspopup]::after {content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease);}
#menu .links > a[aria-expanded="true"]::after {transform: translateY(1px) rotate(225deg);}
#menu .sub_links {display: none; position: absolute; top: 100%; left: 0; z-index: 30; background: #fff; border: 1px solid var(--line-soft); border-top: 3px solid var(--orange); box-shadow: var(--shadow); padding: 18px; min-width: 320px; max-height: calc(100vh - var(--menu-h) - 24px); overflow-y: auto;}
#menu .sub_links.active {display: block; animation: drop_in .22s var(--ease);}
@keyframes drop_in {from {opacity: 0; transform: translateY(-6px);} to {opacity: 1; transform: none;}}
#menu #specialists_menu {columns: 3; column-gap: 8px; width: 720px;}
#menu #services_menu {width: 420px;}
#menu #company_menu {min-width: 240px;}
#menu .sub_links > a {display: block; break-inside: avoid; padding: 9px 12px; font-size: 14.5px; font-weight: 500; color: var(--text); border-radius: 4px; transition: background .15s, color .15s, padding .2s var(--ease);}
#menu .sub_links > a:hover, #menu .sub_links > a:focus-visible, #menu .sub_links > a.active {background: var(--steel); color: var(--ink); padding-left: 16px;}
#menu .sub_links > a.all {column-span: all; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font: 600 18px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); padding: 6px 12px 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line-soft); border-radius: 0;}
#menu .sub_links > a.all span {font: 400 13px/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--muted);}
#menu .sub_links > a.all:hover {background: transparent; color: var(--orange); padding-left: 12px;}
#menu .menu .search {display: flex; align-items: center; position: relative; flex: 0 0 auto;}
#search_btn {width: 40px; height: 40px; display: none; align-items: center; justify-content: center; color: var(--ink); border-radius: 50%; transition: background .2s, color .2s;}
#search_btn.active {display: flex;}
#search_btn:hover {background: var(--steel); color: var(--orange);}
#search_input {display: none;}
#search_input.active {display: flex; align-items: center; position: relative;}
#search_input.active input {min-height: 42px; height: 42px; width: 300px; padding: 0 44px 0 14px; font-size: 14.5px;}
#search_input .search_close {position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--muted);}
#search_input .search_close:hover {color: var(--orange);}
#search_result, #search_result_error {display: none;}
#search_result.active, #search_result_error.active {display: block; position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; border: 1px solid var(--line-soft); border-top: 3px solid var(--orange); box-shadow: var(--shadow); padding: 8px 12px; z-index: 40; font-size: 14.5px; color: var(--muted);}
#search_result.active > a, #search_result_error.active > a {display: block; padding: 10px 0; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft);}
#search_result.active > a:last-child, #search_result_error.active > a:last-child {border-bottom: 0;}
#search_result.active > a:hover, #search_result_error.active > a:hover {color: var(--orange);}
#menu .menu .phone {display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; flex: 0 0 auto; white-space: nowrap;}
#menu .menu .phone .num {font: 600 17px/1.2 var(--body); color: var(--ink); letter-spacing: -.01em; transition: color .2s;}
#menu .menu .phone:hover .num {color: var(--orange);}
#menu .menu .phone .note {font-size: 12px; color: var(--muted); margin-top: 3px;}
#menu.search_mode .menu .phone .note {display: none;}
#menu .menu > .btn_primary {min-height: 44px; padding: 0 20px; font-size: 14px; flex: 0 0 auto;}
#menu .menu > .btn_primary::after {display: none;}
#menu .mobile_menu {display: none;}
.burger_section {display: none;}
.menu-btn {position: relative; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;}
.menu-btn > span {display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s;}
.mobile_menu_open .menu-btn > span:nth-child(1) {transform: translateY(8px) rotate(45deg);}
.mobile_menu_open .menu-btn > span:nth-child(2) {opacity: 0;}
.mobile_menu_open .menu-btn > span:nth-child(3) {transform: translateY(-8px) rotate(-45deg);}

@media (max-width: 1280px) {
    #menu .menu {gap: 16px;}
    #menu .links > a {padding: 0 10px; font-size: 14.5px;}
    #menu .links > a::before {left: 10px; right: 10px;}
    #menu .menu .phone .note {display: none;}
}
@media (max-width: 1100px) {
    #menu .menu {gap: 8px;}
    #menu .menu .logo {margin-right: auto;}
    #menu .menu .logo img {height: 26px;}
    #menu .links, #menu .menu .search, #menu .menu > .btn_primary {display: none;}
    #menu .menu .phone .num {font-size: 15px;}
    .burger_section {display: block;}
    #menu.mobile_menu_open .mobile_menu {display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: var(--menu-h); height: calc(100dvh - var(--menu-h)); overflow-y: auto; background: #fff; padding-top: 16px; padding-bottom: 120px; border-top: 1px solid var(--line-soft);}
    #menu .mobile_menu .search {position: relative; margin-bottom: 8px;}
    #menu .mobile_menu .search input {padding-right: 44px; background: var(--steel); border-color: transparent;}
    #menu .mobile_menu .search svg {position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none;}
    #search_mobile_result {display: none;}
    #search_mobile_result.active {display: flex; flex-direction: column; padding: 4px 0 8px; color: var(--muted);}
    #search_mobile_result > a {padding: 12px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft);}
    #menu .mobile_menu .links {display: flex; flex-direction: column; height: auto; margin: 0;}
    #menu .mobile_menu .links > a {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; font: 600 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); border-bottom: 1px solid var(--line-soft);}
    #menu .mobile_menu .links > a::before, #menu .mobile_menu .links > a::after {display: none;}
    #menu .mobile_menu .links > a.active {color: var(--orange);}
    #menu .mobile_menu .links > a svg {width: 20px; height: 20px; color: var(--orange); flex: 0 0 20px;}
    #menu .mobile_menu .sub_links {position: static; display: none; border: 0; box-shadow: none; padding: 0; min-width: 0; width: auto !important; columns: 1 !important; max-height: none; animation: none;}
    #menu .mobile_menu .sub_links.active {display: flex; flex-direction: column;}
    #menu .mobile_menu .sub_links > .close {display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 4px; font-weight: 600; color: var(--orange); border-bottom: 1px solid var(--line-soft);}
    #menu .mobile_menu .sub_links > .close svg {transform: rotate(180deg);}
    #menu .mobile_menu .sub_links > a {padding: 15px 4px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); border-radius: 0;}
    #menu .mobile_menu .sub_links > a:hover {background: none; padding-left: 4px;}
    #menu .mobile_menu .sub_links > a.all {display: block; font: 600 22px/1.1 var(--display); padding: 16px 4px; margin: 0;}
    #menu .mobile_menu .sub_links > a.active {color: var(--orange);}
    #menu .mobile_menu.page_2 > .search, #menu .mobile_menu.page_2 .links > a, #menu .mobile_menu.page_2 > .mobile_contacts, #menu .mobile_menu.page_2 > .btn_primary, #menu .mobile_menu.page_2 #search_mobile_result {display: none;}
    #menu .mobile_menu .mobile_contacts {display: flex; flex-direction: column; gap: 16px; padding: 28px 4px 24px;}
    #menu .mobile_menu .mobile_contacts a {display: flex; flex-direction: column; font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.2;}
    #menu .mobile_menu .mobile_contacts a span {font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px;}
    #menu .mobile_menu > .btn_primary {width: 100%; flex: 0 0 auto;}
}
@media (max-width: 420px) {
    #menu .menu .phone {display: none;}
}

/* ---------------------------- ПЕРВЫЙ ЭКРАН ---------------------------- */

#header {position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate;}
#header .hero_bg {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: -2; filter: saturate(.9) contrast(1.05); animation: hero_zoom 16s var(--ease) both;}
@keyframes hero_zoom {from {transform: scale(1.08);} to {transform: scale(1);}}
#header .hero_bg.flip {object-position: 18% 28%; animation-name: hero_zoom_flip;}
#header .hero_bg:not(.flip) {filter: blur(4px) saturate(.9) contrast(1.05); inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); object-position: center 30%;}
@keyframes hero_zoom_flip {from {transform: scale(-1.08, 1.08);} to {transform: scale(-1, 1);}}
#header::before {content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 22, 28, .94) 0%, rgba(18, 22, 28, .82) 38%, rgba(18, 22, 28, .38) 72%, rgba(18, 22, 28, .55) 100%);}
#header > .wrap {padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px);}
#header .header {display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center;}
#header .eyebrow {color: rgba(255, 255, 255, .72);}
#header .eyebrow::before {display: none;}
#header h1 {color: #fff; font-size: clamp(40px, 5.6vw, 84px); line-height: .98; margin-bottom: 26px; animation: rise .8s var(--ease) .05s both;}
#header.hero_inner h1 {font-size: clamp(36px, 4.6vw, 68px);}
#header .sub_title {font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 40px; animation: rise .8s var(--ease) .15s both;}
#header .sub_title b {color: #fff; font-weight: 600;}
#header .hero_points {display: flex; gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); animation: rise .8s var(--ease) .25s both;}
#header .hero_points li {flex: 1 1 0; padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 6px;}
#header .hero_points li + li {padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .22);}
#header .hero_points b {font: 600 clamp(28px, 3vw, 42px)/1 var(--display); color: #fff; letter-spacing: .01em;}
#header .hero_points span {font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .68);}
#header .request_group {animation: rise .8s var(--ease) .3s both;}
#header .request {display: none; background: #fff; color: var(--text); padding: 32px; clip-path: var(--cut);}
#header .request.active {display: block;}
#header .form_title {font: 600 25px/1.1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 10px; padding-right: 28px; text-wrap: balance;}
#header .form_note {font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-bottom: 22px;}
#header .request .input_group {flex-direction: column; gap: 10px; margin-bottom: 12px;}
#header .request .btn_primary {width: 100%; min-height: 58px; font-size: 16px;}
#header .request .btn_primary.light {font: 600 26px/1 var(--display); letter-spacing: .02em;}
#header .request .agree {font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 14px;}
#header .request .agree a {text-decoration: underline; text-underline-offset: 2px;}
#header .request .agree a:hover {color: var(--ink);}
@keyframes rise {from {opacity: 0; transform: translateY(22px);} to {opacity: 1; transform: none;}}

@media (max-width: 1100px) {
    #header .header {grid-template-columns: 1fr; gap: 36px;}
    #header::before {background: linear-gradient(180deg, rgba(18, 22, 28, .86) 0%, rgba(18, 22, 28, .78) 60%, rgba(18, 22, 28, .92) 100%);}
    #header .request {max-width: 560px;}
}
@media (max-width: 600px) {
    #header h1 {font-size: 38px;}
    #header.hero_inner h1 {font-size: 34px;}
    #header .sub_title {margin-bottom: 28px;}
    #header .hero_points li {padding: 16px 10px 0 0;}
    #header .hero_points li + li {padding-left: 12px;}
    #header .hero_points span {font-size: 12px;}
    #header .request {padding: 24px 20px;}
    #header .form_title {font-size: 23px;}
}

/* --------------------------- ХЛЕБНЫЕ КРОШКИ --------------------------- */

#back_to_main {padding: 22px 0 0; font-size: 13px; color: var(--muted);}
#back_to_main .wrap {display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;}
#back_to_main a.main:hover {color: var(--orange);}
#back_to_main .wrap svg {width: 12px; height: 12px; opacity: .45;}
#back_to_main a:not(.main), #back_to_main span:not(.main) {color: var(--ink); font-weight: 500;}
#back_to_main + #header {margin-top: 22px;}

/* ----------------------- ОБЩИЙ РИТМ СЕКЦИЙ ----------------------- */

#partners, #with_work, #workers, #advantages_about, .advantages_main, #reviews_new, #steps, #faq, #home_news, #request, #request_2, #why_us, #outsourcing, #services, #about, #specialization, #request_review, #contacts, #prices_table, #advantages_vacancies, #blogs, #cases, #sitemap, #related_blogs, .similar_case, #spb_intro, #banner {margin-top: var(--gap);}
#catalog, #blog_info, #case_info, #error_404 {margin-top: 28px;}
#back_to_main + #workers, #back_to_main + #about, #back_to_main + #contacts, #back_to_main + #prices_table, #back_to_main + #advantages_vacancies, #back_to_main + #blogs, #back_to_main + #cases, #back_to_main + #sitemap, #back_to_main + #reviews_new {margin-top: 36px;}
.stripe + #banner {margin-top: 0;}
section > .wrap > h2, #with_work h2, #faq h2 {margin-bottom: clamp(28px, 3.4vw, 48px);}

/* ------------------------------ ЦИФРЫ ------------------------------ */

#banner {background: var(--graphite); color: #fff;}
#banner .items {display: grid; grid-template-columns: repeat(4, 1fr);}
#banner .items > div {padding: clamp(28px, 3.6vw, 52px) 28px; border-left: 1px solid rgba(255, 255, 255, .12);}
#banner .items > div:first-child {border-left: 0; padding-left: 0;}
#banner .items > div .title {font: 600 clamp(48px, 6vw, 92px)/.95 var(--display); color: #fff; letter-spacing: 0; margin-bottom: 14px; font-variant-numeric: tabular-nums;}
#banner .items > div:nth-child(odd) .title {color: var(--orange);}
#banner .items > div .desc {font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .66); max-width: 200px;}

@media (max-width: 800px) {
    #banner .items {grid-template-columns: 1fr 1fr;}
    #banner .items > div {padding: 26px 16px 26px 0;}
    #banner .items > div:nth-child(odd) {border-left: 0; padding-left: 0;}
    #banner .items > div:nth-child(even) {padding-left: 20px;}
    #banner .items > div:nth-child(n+3) {border-top: 1px solid rgba(255, 255, 255, .12);}
}

/* ------------------------- БЕГУЩАЯ СТРОКА КЛИЕНТОВ ------------------------- */

#clients {padding: 26px 0; border-bottom: 1px solid var(--line-soft); overflow: hidden;}
#clients .wrap {display: flex; align-items: center; gap: 32px;}
#clients .label {flex: 0 0 auto; font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 10px;}
#clients .label::before {content: ""; width: 8px; height: 8px; background: var(--orange);}
#clients .track {flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);}
#clients .track ul {display: flex; width: max-content; animation: marquee 60s linear infinite;}
#clients .track ul li {white-space: nowrap; font: 500 20px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #9199A5; padding: 0 28px; position: relative; transition: color .2s;}
#clients .track ul li::after {content: "/"; position: absolute; right: -4px; color: var(--line);}
#clients .track ul li:hover {color: var(--ink);}
#clients .track:hover ul {animation-play-state: paused;}
@keyframes marquee {from {transform: translateX(0);} to {transform: translateX(-50%);}}

@media (max-width: 800px) {
    #clients .label {display: none;}
    #clients .track ul li {font-size: 17px; padding: 0 20px;}
}

/* ---------------------- КАТЕГОРИИ СПЕЦИАЛИСТОВ ---------------------- */

#workers h1, #workers h2 {margin-bottom: clamp(28px, 3.4vw, 48px);}
#workers .workers {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
#workers .workers > div {position: relative; display: flex; flex-direction: column; min-height: 460px; padding: 32px; background: var(--steel); overflow: hidden; isolation: isolate; clip-path: var(--cut); transition: background .3s var(--ease);}
#workers .workers > div:hover {background: var(--steel-2);}
#workers .workers > div img {position: absolute; right: -4%; bottom: 0; height: 88%; width: auto; max-width: none; object-fit: contain; object-position: right bottom; z-index: -1; mix-blend-mode: multiply; transform-origin: right bottom; transition: transform .6s var(--ease);}
#workers .workers > div:hover img {transform: scale(1.04);}
#workers .workers > div .title {font: 600 28px/1.05 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 12px; max-width: 70%;}
#workers .workers > div .price {font-size: 15px; font-weight: 600; color: var(--orange); margin-bottom: 22px;}
#workers .workers > div .links {display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 28px; max-width: 58%;}
#workers .workers > div .links a {padding: 5px 0; font-size: 15px; font-weight: 500; color: var(--text); background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s;}
#workers .workers > div .links a:hover {color: var(--ink); background-size: 100% 1px;}
#workers .workers > div .btn_primary {margin-top: auto; align-self: flex-start;}
#workers > .wrap > .btn_primary.light {display: none; margin-top: 20px; width: 100%;}

@media (max-width: 1100px) {
    #workers .workers {grid-template-columns: repeat(2, 1fr); gap: 14px;}
    #workers .workers > div {min-height: 400px; padding: 24px;}
}
@media (max-width: 700px) {
    #workers .workers {grid-template-columns: 1fr;}
    #workers .workers > div {display: none; min-height: 360px;}
    #workers .workers > div:nth-child(-n+3), #workers .workers.active > div {display: flex;}
    #workers > .wrap > .btn_primary.light {display: inline-flex;}
    #workers .workers.active ~ .btn_primary.light {display: none;}
}

/* -------------- СИЛЬНЫЕ СТОРОНЫ / С КЕМ РАБОТАЕМ (нумерованный список) -------------- */

.with_work {display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: ww;}
.with_work > div {counter-increment: ww; padding: 26px 0 36px; border-top: 2px solid var(--ink);}
.with_work > div::before {content: counter(ww, decimal-leading-zero); display: block; font: 600 15px/1 var(--display); color: var(--orange); letter-spacing: .06em; margin-bottom: 44px;}
.with_work > div .title {font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--ink); margin-bottom: 12px; display: block;}
.with_work > div .title svg {display: none;}
.with_work > div .desc {font-size: 15px; color: var(--text); line-height: 1.6;}

@media (max-width: 1100px) {
    .with_work {grid-template-columns: repeat(2, 1fr);}
    .with_work > div::before {margin-bottom: 24px;}
}
@media (max-width: 600px) {
    .with_work {grid-template-columns: 1fr;}
    .with_work > div {padding: 20px 0 26px;}
    .with_work > div::before {margin-bottom: 16px;}
}

/* ------------- ТЕКСТ + ФОТО (о компании, преимущества, блоки услуги) ------------- */

.advantages_main .advantages {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start;}
.advantages_main .advantages:not(:has(> img)) {grid-template-columns: minmax(0, 820px);}
.advantages_main h2 {margin-bottom: 28px;}
.advantages_main .desc {font-size: 17px; line-height: 1.65; color: var(--text); margin-bottom: 28px;}
.advantages_main .advantages > div > div:not(.desc) {display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); line-height: 1.6;}
.advantages_main .advantages > div > div:not(.desc):last-child {border-bottom: 1px solid var(--line);}
.advantages_main .advantages > div > div > svg {display: none;}
.advantages_main .advantages > div > div:not(.desc)::before {content: ""; flex: 0 0 8px; width: 8px; height: 8px; background: var(--orange); margin-top: 9px;}
.advantages_main .advantages > div > div span {font-weight: 600; color: var(--ink);}
.advantages_main .advantages > img {width: 100%; height: auto; aspect-ratio: 5 / 4; max-height: 560px; object-fit: cover; position: sticky; top: calc(var(--menu-h) + 24px);}
#advantages_1 .advantages > img, #advantages_2 .advantages > img {order: -1;}

@media (max-width: 900px) {
    .advantages_main .advantages {grid-template-columns: 1fr; gap: 28px;}
    .advantages_main .advantages > img {position: static; aspect-ratio: 16 / 10; max-height: 300px; order: -1;}
}

/* ------------------- ВЫГОДЫ (тёмная секция во всю ширину) ------------------- */

#advantages_about {background: var(--graphite); color: #fff; padding: var(--gap) 0;}
#advantages_about .wrap {display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start;}
#advantages_about .advantages_about img {display: none;}
#advantages_about .eyebrow {color: rgba(255, 255, 255, .6);}
#advantages_about h2 {color: #fff; margin-bottom: 20px;}
#advantages_about .advantages_about .desc {font-size: 17px; color: rgba(255, 255, 255, .7); max-width: 420px;}
#advantages_about .items {display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;}
#advantages_about .items > div {padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .18);}
#advantages_about .items > div svg {height: 34px; width: auto; color: var(--orange); margin-bottom: 20px;}
#advantages_about .items > div .desc {font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .86);}

@media (max-width: 900px) {
    #advantages_about .wrap {grid-template-columns: 1fr; gap: 32px;}
}
@media (max-width: 600px) {
    #advantages_about .items {grid-template-columns: 1fr;}
}

/* --------------------------- ОТРАСЛИ (партнёры) --------------------------- */

#partners .steps_group {display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: start;}
#partners h2 {margin-bottom: 24px;}
#partners .subnote {font-size: 17px; line-height: 1.65; color: var(--text); margin-bottom: 36px; max-width: 640px;}
#partners img.mobile {display: none;}
#partners .steps {display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;}
#partners .steps > div {padding: 22px 0 28px; border-top: 1px solid var(--line);}
#partners .steps > div svg {height: 30px; width: auto; color: var(--orange); margin-bottom: 16px;}
#partners .steps > div .title {font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); margin-bottom: 8px;}
#partners .steps > div .title br {display: none;}
#partners .steps > div .desc {font-size: 14px; color: var(--muted); line-height: 1.55;}
#partners .steps_group > img {width: 100%; height: auto; max-height: 640px; aspect-ratio: 4 / 5; object-fit: cover; position: sticky; top: calc(var(--menu-h) + 24px);}

@media (max-width: 900px) {
    #partners .steps_group {grid-template-columns: 1fr;}
    #partners .steps_group > img {display: none;}
    #partners img.mobile {display: block; width: 100%; height: 240px; object-fit: cover; margin-bottom: 28px;}
}
@media (max-width: 600px) {
    #partners .steps {grid-template-columns: 1fr;}
}

/* ------------------------------ ШАГИ ------------------------------ */

#steps .steps_group {display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center;}
#steps h2 {margin-bottom: clamp(28px, 3.4vw, 48px);}
#steps img.mobile {display: none;}
#steps .steps {display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;}
#steps .steps > div {padding: 22px 0 30px; border-top: 2px solid var(--ink);}
#steps .steps > div .num {font: 600 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--orange); margin-bottom: 18px; transition: color .3s var(--ease);}
#steps .steps > div:hover .num {color: var(--orange);}
#steps .steps > div .title {font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 8px;}
#steps .steps > div .desc {font-size: 15px; color: var(--text); line-height: 1.55;}
#steps .steps_group > img {width: 100%; height: 100%; max-height: 560px; object-fit: cover;}

@media (max-width: 900px) {
    #steps .steps_group {grid-template-columns: 1fr;}
    #steps .steps_group > img {display: none;}
    #steps img.mobile {display: block; width: 100%; height: 220px; object-fit: cover; margin-bottom: 28px;}
}
@media (max-width: 600px) {
    #steps .steps {grid-template-columns: 1fr;}
    #steps .steps > div .num {font-size: 52px;}
}

/* ----------------------------- ОТЗЫВЫ ----------------------------- */

#reviews_new {background: var(--steel); padding: var(--gap) 0; overflow: hidden;}
#reviews_new .wrap {display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end;}
#reviews_new h1, #reviews_new h2 {grid-column: 1; margin: 0 0 14px;}
#reviews_new .desc {grid-column: 1; color: var(--text); font-size: 17px;}
#reviews_new .desc span {color: var(--orange); font-weight: 600; white-space: nowrap;}
#reviews_new_flickity {grid-column: 1 / -1; display: flex; gap: 20px; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;}
#reviews_new_flickity::-webkit-scrollbar {display: none;}
#reviews_new_flickity .item {flex: 0 0 calc(25% - 15px); scroll-snap-align: start; background: #fff; padding: 14px 14px 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);}
#reviews_new_flickity .item:hover {transform: translateY(-6px); box-shadow: var(--shadow);}
#reviews_new_flickity .item > img {width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; cursor: zoom-in; border: 1px solid var(--line-soft);}
#reviews_new_flickity .item > .title {font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-top: 14px;}
#reviews_new_progress {grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 8px; align-self: end;}
#reviews_new_progress > svg {width: 52px; height: 52px; padding: 16px; background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, opacity .2s; flex: 0 0 52px;}
#reviews_new_progress > svg:nth-of-type(1) {transform: rotate(180deg);}
#reviews_new_progress > svg:hover {background: var(--orange); color: #fff;}
#reviews_new_progress > svg.disabled {opacity: .4; pointer-events: none;}
#reviews_new_progress > .progress {display: none;}
#reviews_new_progress.no_scroll {display: none;}

@media (max-width: 1100px) {
    #reviews_new_flickity .item {flex-basis: calc(40% - 10px);}
}
@media (max-width: 700px) {
    #reviews_new .wrap {grid-template-columns: minmax(0, 1fr);}
    #reviews_new_progress {display: none;}
    #reviews_new_flickity {gap: 12px; margin-top: 28px;}
    #reviews_new_flickity .item {flex-basis: 76%;}
}

/* ------------------------------- FAQ ------------------------------- */

#faq .wrap {display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; grid-template-rows: auto auto 1fr;}
#faq .eyebrow {grid-column: 1; grid-row: 1;}
#faq h2 {grid-column: 1; grid-row: 2; position: sticky; top: calc(var(--menu-h) + 32px); margin-bottom: 0; overflow-wrap: anywhere;}
#faq h2 br {display: none;}
#faq .questions {grid-column: 2; grid-row: 1 / span 3; border-top: 2px solid var(--ink);}
#faq .questions > article {border-bottom: 1px solid var(--line); cursor: pointer;}
#faq .questions > article > div:first-child {display: flex; align-items: center; gap: 20px; padding: 24px 0; user-select: none;}
#faq .questions > article h3 {flex: 1; font-size: 18px; font-weight: 600; line-height: 1.4; transition: color .2s;}
#faq .questions > article:hover h3 {color: var(--orange);}
#faq .questions > article > div:first-child svg {display: none;}
#faq .questions > article > div:first-child::after {content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: linear-gradient(var(--ink), var(--ink)) center / 18px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 18px no-repeat; transition: transform .3s var(--ease);}
#faq .questions > article.active > div:first-child::after {transform: rotate(135deg); background: linear-gradient(var(--orange), var(--orange)) center / 18px 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 18px no-repeat;}
#faq .questions > article > div:last-child {display: none; padding: 0 44px 28px 0; color: var(--text); line-height: 1.65;}
#faq .questions > article.active > div:last-child {display: block; animation: faq_in .3s var(--ease);}
#faq .questions > article > div:last-child ul {padding-left: 20px;}
#faq .questions > article > div:last-child li {list-style: disc;}
@keyframes faq_in {from {opacity: 0; transform: translateY(-6px);} to {opacity: 1; transform: none;}}

@media (max-width: 900px) {
    #faq .wrap {display: block;}
    #faq h2 {position: static; margin-bottom: 28px;}
    #faq .questions > article h3 {font-size: 16.5px;}
    #faq .questions > article > div:first-child {padding: 20px 0;}
    #faq .questions > article > div:last-child {padding-right: 0;}
}

/* ------------- ПРОЕКТЫ И СТАТЬИ НА ГЛАВНОЙ, «ЧИТАЙТЕ ТАКЖЕ» ------------- */

#home_news .news_head {display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px);}
#home_news .news_head h2 {margin: 0;}
#home_news .news_head + .news_items {margin-bottom: var(--gap);}
#home_news .news_head .all {display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; padding-bottom: 8px; border-bottom: 2px solid var(--ink); transition: color .2s, border-color .2s, gap .25s var(--ease);}
#home_news .news_head .all svg {width: 18px; height: 18px;}
#home_news .news_head .all:hover {color: var(--orange); border-color: var(--orange); gap: 14px;}
#related_blogs h2 {margin-bottom: clamp(24px, 3vw, 40px);}
.news_items {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px;}
.news_items .card {display: flex; flex-direction: column;}
.news_items .card img {width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--steel); transition: transform .6s var(--ease);}
.news_items .card:hover img {transform: scale(1.03);}
.news_items .card .card_body {padding: 20px 0 0;}
.news_items .card .meta {font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;}
.news_items .card .title {font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: 8px; transition: color .2s;}
.news_items .card:hover .title {color: var(--orange);}
.news_items .card .desc {font-size: 14.5px; color: var(--muted); line-height: 1.5;}

@media (max-width: 1100px) {
    .news_items {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 600px) {
    .news_items {grid-template-columns: 1fr; gap: 32px;}
    #home_news .news_head {flex-direction: column; align-items: flex-start; gap: 16px;}
}

/* ------------------- ФОРМА ЗАЯВКИ (тёмный финальный блок) ------------------- */

#request_anchor, #request_2_anchor {position: relative; top: calc(-1 * var(--menu-h) - 24px);}
.request_group {position: relative;}
#request .request_group, #request_2 .request_group {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; align-items: end; background: var(--graphite); color: #fff; padding: clamp(40px, 5vw, 76px) clamp(24px, 5vw, 72px) 0; overflow: hidden;}
#request .request_group::before, #request_2 .request_group::before {content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--zebra);}
#request .request_group > img, #request_2 .request_group > img {width: 100%; max-width: 360px; align-self: end; justify-self: end; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));}
.request {display: none;}
.request.active {display: block;}
#request .request, #request_2 .request {padding-bottom: clamp(32px, 5vw, 72px);}
.request .request_head {display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 18px;}
#request .request_head h2, #request_2 .request_head h2 {color: #fff;}
.request .request_head .response_time {display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #6FE0A2;}
.request .request_head .response_time .circle_green {width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; animation: pulse 2s infinite;}
@keyframes pulse {0% {box-shadow: 0 0 0 0 rgba(61, 220, 132, .6);} 70% {box-shadow: 0 0 0 10px rgba(61, 220, 132, 0);} 100% {box-shadow: 0 0 0 0 rgba(61, 220, 132, 0);}}
#request .request .desc, #request_2 .request .desc {font-size: 17px; color: rgba(255, 255, 255, .72); margin-bottom: 30px; max-width: 520px;}
.request .input_group {margin-bottom: 12px;}
#request .request input, #request_2 .request input {background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: #fff;}
#request .request input::placeholder, #request_2 .request input::placeholder {color: rgba(255, 255, 255, .5);}
#request .request input:hover, #request_2 .request input:hover {border-color: rgba(255, 255, 255, .4);}
#request .request input:focus, #request_2 .request input:focus {border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none;}
.request .input_group .file_upload {flex: 1 1 0; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border-radius: var(--r); border: 1px dashed rgba(255, 255, 255, .45); color: #fff; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s;}
.request .input_group .file_upload:hover {background: rgba(255, 255, 255, .08); border-color: #fff;}
.request .input_group .file_upload.active {border-style: solid; border-color: #3DDC84; color: #6FE0A2;}
.request .input_group .file_upload svg {margin-left: auto; width: 20px; height: 20px; flex: 0 0 20px;}
.request .input_group .file_upload input {display: none;}
.request .btn_group {display: flex; align-items: center; gap: 24px; margin: 20px 0 0;}
.request .btn_group .btn_primary {min-width: 240px; min-height: 58px; font-size: 16px;}
.request .btn_group > div:last-child {font-size: 12px; line-height: 1.45; max-width: 300px; color: rgba(255, 255, 255, .5);}
.request .btn_group > div:last-child br {display: none;}
.request .btn_group > div:last-child a {text-decoration: underline; text-underline-offset: 2px;}
.request .btn_group > div:last-child a:hover {color: #fff;}
.request .request_footer {display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .72);}
.request .request_footer > div {font-size: 15px;}
.request .request_footer > a.btn_primary {min-height: 0; padding: 0; background: none; box-shadow: none; color: #fff; font: 600 24px/1 var(--display); letter-spacing: .02em;}
.request .request_footer > a.btn_primary svg {display: none;}
.request .request_footer > a.btn_primary:hover {background: none; color: var(--orange);}

@media (max-width: 900px) {
    #request .request_group, #request_2 .request_group {grid-template-columns: minmax(0, 1fr);}
    #request .request_group > img, #request_2 .request_group > img {display: none;}
}
@media (max-width: 600px) {
    #request .wrap, #request_2 .wrap {padding: 0;}
    .request .input_group {flex-direction: column;}
    .request .btn_group {flex-direction: column; align-items: stretch; gap: 14px;}
    .request .btn_group .btn_primary {width: 100%; min-width: 0;}
    .request .btn_group > div:last-child {max-width: 100%;}
}

/* ----------------- ОТЗЫВ / ОБРАТНАЯ СВЯЗЬ (светлые формы) ----------------- */

#request_review .wrap {max-width: calc(880px + 2 * var(--pad));}
#request_review.contacts .wrap {max-width: var(--wrap);}
.request_review {display: none; padding-top: 36px; border-top: 2px solid var(--ink);}
.request_review.active {display: block;}
#request_review .head {display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 24px;}
#request_review .head .title {font: 600 clamp(28px, 3vw, 40px)/1.05 var(--display); text-transform: uppercase; color: var(--ink);}
#request_review .head .stars {display: flex; flex-direction: row-reverse; gap: 4px; user-select: none;}
#request_review .head .stars > svg {width: 30px; height: 30px; color: var(--line); cursor: pointer; transition: color .15s, transform .15s;}
#request_review .head .stars > svg.active, #request_review .head .stars > svg:hover, #request_review .head .stars > svg:hover ~ svg {color: var(--orange);}
#request_review .head .stars > svg:hover {transform: scale(1.12);}
#request_review .desc {color: var(--text); font-size: 17px;}
#request_review .items {display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px;}
#request_review.contacts .items {grid-template-columns: 1fr 1fr;}
#request_review textarea {margin-bottom: 20px;}
#request_review .btn_group {display: flex; align-items: center; gap: 24px;}
#request_review .btn_group .btn_primary {min-width: 240px; min-height: 58px;}
#request_review .btn_group > div:last-child {font-size: 12px; color: var(--muted); line-height: 1.45; max-width: 300px;}
#request_review .btn_group > div:last-child br {display: none;}
#request_review .btn_group > div:last-child a {text-decoration: underline;}

@media (max-width: 900px) {
    #request_review .items, #request_review.contacts .items {grid-template-columns: 1fr;}
}
@media (max-width: 600px) {
    #request_review .btn_group {flex-direction: column; align-items: stretch; gap: 14px;}
    #request_review .btn_group .btn_primary {width: 100%; min-width: 0;}
}

/* ------------------------------ КАТАЛОГ ------------------------------ */

#catalog .catalog_head {display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 2px solid var(--ink);}
#catalog .catalog_head .eyebrow {display: none;}
#catalog .catalog_head h1 {grid-column: 1 / -1; margin-bottom: 8px;}
#catalog .catalog_head .intro {font-size: 17px; line-height: 1.6; color: var(--text); max-width: 640px;}
#catalog .switch {display: inline-flex; gap: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r); overflow: hidden;}
#catalog .switch a {padding: 14px 22px; font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s;}
#catalog .switch a:hover {background: var(--steel);}
#catalog .switch a.active {background: var(--ink); color: #fff;}
.catalog_grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; counter-reset: cat;}
.catalog_card {counter-increment: cat; position: relative; display: flex; flex-direction: column;}
.catalog_card img {width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--steel); transition: transform .6s var(--ease);}
.catalog_card:hover img {transform: scale(1.03);}
.catalog_card.no_cover {background: var(--steel); padding: 28px; min-height: 300px; clip-path: var(--cut); transition: background .3s var(--ease);}
.catalog_card.no_cover::before {content: counter(cat, decimal-leading-zero); font: 600 56px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--orange); margin-bottom: 28px;}
.catalog_card.no_cover:hover {background: var(--graphite);}
.catalog_card.no_cover:hover .title {color: #fff;}
.catalog_card.no_cover:hover .desc {color: rgba(255, 255, 255, .7);}
.catalog_card.no_cover:hover .meta {border-color: rgba(255, 255, 255, .2);}
.catalog_card.no_cover:hover .price {color: #fff;}
.catalog_card .body {display: flex; flex-direction: column; flex: 1; padding-top: 20px;}
.catalog_card.no_cover .body {padding-top: 0;}
.catalog_card .title {font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--ink); margin-bottom: 10px; transition: color .2s;}
.catalog_card:hover .title {color: var(--orange);}
.catalog_card .desc {font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; transition: color .3s;}
.catalog_card .meta {margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); transition: border-color .3s;}
.catalog_card .price {font: 600 20px/1 var(--display); letter-spacing: .02em; color: var(--ink); white-space: nowrap; transition: color .3s;}
.catalog_card .more {font-size: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; transition: transform .25s var(--ease);}
.catalog_card .more::before {content: "→"; font-size: 17px;}
.catalog_card:hover .more {transform: translateX(4px);}

@media (max-width: 1100px) {
    .catalog_grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px;}
    #catalog .catalog_head {grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 600px) {
    .catalog_grid {grid-template-columns: 1fr; gap: 32px;}
    #catalog .switch {display: flex;}
    #catalog .switch a {flex: 1; text-align: center; padding: 14px 8px; font-size: 13.5px; white-space: normal;}
    .catalog_card.no_cover {min-height: 0; padding: 22px;}
}

/* --------------------------- ПОЧЕМУ МЫ --------------------------- */

#why_us .items {display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px;}
#why_us .items > div {padding: 26px 0 8px; border-top: 2px solid var(--ink);}
#why_us .items > div svg {width: 40px; height: 40px; color: var(--orange); margin-bottom: 24px;}
#why_us .items > div .desc {font-size: 16px; color: var(--text); line-height: 1.55;}

@media (max-width: 1100px) {
    #why_us .items {grid-template-columns: repeat(2, 1fr); gap: 0 24px;}
    #why_us .items > div {padding-bottom: 28px;}
}
@media (max-width: 600px) {
    #why_us .items {grid-template-columns: 1fr;}
}

/* --------------------- СТРАНИЦА УСЛУГИ: ТАРИФЫ --------------------- */

#services h2 {margin-bottom: clamp(24px, 3vw, 40px); max-width: 900px;}
#services .table {overflow-x: auto; border-top: 2px solid var(--ink); margin-bottom: 14px;}
#services table {width: 100%; border-collapse: collapse; min-width: 600px;}
#services table td {padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: middle; transition: background .2s;}
#services table tr:hover td {background: var(--steel);}
#services table tr:hover td:first-child {box-shadow: inset 3px 0 0 var(--orange);}
#services table td:first-child {padding-left: 16px;}
#services table .title {font-weight: 600; font-size: 17px; color: var(--ink); width: 46%;}
#services table .title a {text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);}
#services table .title a:hover {color: var(--orange);}
#services table .price {color: var(--muted); font-size: 15px; white-space: nowrap; text-align: right;}
#services table .price:nth-child(2) {color: var(--ink); font-weight: 600;}
#services table .price span {font: 600 26px/1 var(--display); color: var(--orange); letter-spacing: .01em; margin: 0 2px;}
#services .marking {display: block; font-size: 13px; color: var(--muted); margin: 0 0 40px; line-height: 1.5; max-width: 760px;}
#services .info {display: grid; grid-template-columns: 1fr 1fr; gap: 24px;}
#services .info > section {padding: 32px; background: var(--steel);}
#services .info > section + section {background: var(--graphite); color: rgba(255, 255, 255, .8);}
#services .info > section .title {font: 600 24px/1.1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 18px;}
#services .info > section + section .title {color: #fff;}
#services .info > section .title span {color: var(--orange);}
#services .info > section ul li {position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); line-height: 1.5;}
#services .info > section ul li::before {content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--orange);}
#services .info > section .desc {line-height: 1.65;}
#services .info > section a {color: #fff; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--orange);}
#services .info > section a:hover {color: var(--orange);}

@media (max-width: 900px) {
    #services .info {grid-template-columns: 1fr;}
}
@media (max-width: 600px) {
    #services table {min-width: 0;}
    #services table tr {display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line);}
    #services table td {display: block; padding: 0; border: 0; width: auto;}
    #services table td:first-child {padding-left: 0;}
    #services table tr:hover td {background: none; box-shadow: none;}
    #services table .title {grid-column: 1 / -1; width: 100%; margin-bottom: 4px;}
    #services table .price {text-align: left; font-size: 14px;}
    #services .info > section {padding: 24px 20px;}
}

/* --------------------- СТРАНИЦА УСЛУГИ: ОПИСАНИЕ --------------------- */

#outsourcing .steps_group {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start;}
#outsourcing .steps_group:not(:has(> img)) {grid-template-columns: minmax(0, 900px);}
#outsourcing h2 {margin-bottom: 28px;}
#outsourcing img.mobile {display: none;}
#outsourcing .desc {font-size: 17px; color: var(--text); line-height: 1.7;}
#outsourcing .desc p {margin-bottom: 16px;}
#outsourcing .steps_group > img {width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 560px; object-fit: cover; position: sticky; top: calc(var(--menu-h) + 24px);}

@media (max-width: 900px) {
    #outsourcing .steps_group {grid-template-columns: minmax(0, 1fr);}
    #outsourcing .steps_group > img {display: none;}
    #outsourcing img.mobile {display: block; width: 100%; height: 240px; object-fit: cover; margin-bottom: 24px;}
}

/* ------------------------------- ЦЕНЫ ------------------------------- */

#prices_table h1 {margin-bottom: clamp(24px, 3vw, 40px);}
.prices_table {overflow-x: auto; border-top: 2px solid var(--ink);}
#prices_table table {width: 100%; border-collapse: collapse; min-width: 560px;}
#prices_table table th {text-align: left; padding: 16px 16px; font: 600 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-bottom: 1px solid var(--line);}
#prices_table table th:nth-child(2) {text-align: right;}
#prices_table table td {padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; transition: background .2s;}
#prices_table table tbody tr:hover td {background: var(--steel);}
#prices_table table tbody tr:hover td:first-child {box-shadow: inset 3px 0 0 var(--orange);}
#prices_table table td:nth-child(1) {font-weight: 600; font-size: 17px; color: var(--ink);}
#prices_table table td:nth-child(2) {text-align: right; font: 600 22px/1 var(--display); color: var(--ink); letter-spacing: .02em; white-space: nowrap;}
#prices_table table td:nth-child(3) {text-align: right; width: 170px;}
#prices_table table td .btn_primary {min-height: 42px; padding: 0 18px; font-size: 14px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);}
#prices_table table td .btn_primary::after {display: none;}
#prices_table table tbody tr:hover td .btn_primary, #prices_table table td .btn_primary:hover {background: var(--orange); color: #fff; box-shadow: none;}
.seo {margin-top: clamp(48px, 6vw, 80px);}
.seo h2 {font-size: clamp(26px, 2.8vw, 38px); margin: 0 0 20px; max-width: 860px;}
.seo p {color: var(--text); line-height: 1.7; margin-bottom: 16px; max-width: 860px; font-size: 16.5px;}
.seo ul {margin: 0 0 18px; max-width: 860px;}
.seo ul > li {position: relative; padding: 8px 0 8px 22px; color: var(--text); line-height: 1.6;}
.seo ul > li::before {content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; background: var(--orange);}
.seo a {color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--orange); white-space: nowrap;}
.seo a:hover {color: var(--orange);}

@media (max-width: 600px) {
    #prices_table table {min-width: 0;}
    #prices_table table th:nth-child(3), #prices_table table td:nth-child(3) {display: none;}
    #prices_table table td, #prices_table table th {padding-left: 0; padding-right: 0;}
    #prices_table table td:nth-child(1) {font-size: 15.5px;}
    #prices_table table td:nth-child(2) {font-size: 19px;}
}

/* ----------------------------- КОНТАКТЫ ----------------------------- */

#contacts h1 {margin-bottom: clamp(28px, 3.4vw, 48px);}
#contacts .wrap > .items {display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 32px; margin-bottom: 48px;}
#contacts .wrap > .items > div {padding: 26px 0 0; border-top: 2px solid var(--ink);}
#contacts .wrap > .items > div:first-child {display: grid; grid-template-columns: 1fr 1fr; gap: 20px; order: 3;}
#contacts .wrap > .items > div .title {font: 600 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px;}
#contacts .wrap > .items > div .desc {font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink); margin-bottom: 14px;}
#contacts .wrap > .items > div > a[href^="tel:"] {font: 600 30px/1.1 var(--display); color: var(--ink); letter-spacing: .02em;}
#contacts .wrap > .items > div a {display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; transition: color .2s;}
#contacts .wrap > .items > div a:hover {color: var(--orange);}
#contacts .wrap > .items > div:first-child a[href^="mailto:"] {border-bottom: 2px solid var(--orange); padding-bottom: 2px;}
#contacts .wrap > .items > div a svg {width: 44px; height: 44px; padding: 10px; background: var(--steel); transition: background .2s;}
#contacts .wrap > .items > div a:hover svg {background: var(--steel-2);}
#contacts .requisites {padding: 32px; background: var(--steel); display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px;}
#contacts .requisites .head {grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px;}
#contacts .requisites .head .title {font: 600 24px/1.1 var(--display); text-transform: uppercase; color: var(--ink);}
#contacts .requisites .head .desc {font-size: 13.5px; color: var(--muted);}
#contacts .requisites .ur_address, #contacts .requisites .items > div {display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line);}
#contacts .requisites .ur_address {grid-column: 1 / -1;}
#contacts .requisites .items {display: contents;}
#contacts .requisites span {font-weight: 600; color: var(--ink); text-align: right;}
#contacts #map {margin-top: 24px; height: 440px; overflow: hidden; background: var(--steel); position: relative;}
#contacts #map iframe {display: block; width: 100%; height: 508px; filter: grayscale(.35);}   /* нижние 68px — рекламная полоса виджета, обрезаем */

@media (max-width: 900px) {
    #contacts .wrap > .items {grid-template-columns: 1fr; gap: 28px;}
    #contacts .requisites {grid-template-columns: 1fr; padding: 24px 20px;}
    #contacts .requisites .ur_address {flex-direction: column; gap: 4px;}
    #contacts .requisites .ur_address span {text-align: left;}
    #contacts #map {height: 320px;}
    #contacts #map iframe {height: 388px;}
}

/* ----------------------------- О КОМПАНИИ ----------------------------- */

#about .head {display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); align-items: start; margin-bottom: clamp(32px, 4vw, 56px);}
#about .head > div .desc {font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink); margin-bottom: 28px;}
#about .head > div .desc span {color: var(--orange); font-weight: 600;}
#about .head > div .desc br {display: none;}
#about .body {margin-bottom: var(--gap);}
#about .body img {width: 100%; height: clamp(260px, 36vw, 520px); object-fit: cover; margin-bottom: 0;}
#about .body .items {display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 40px;}
#about .body .items > div {padding: 22px 0 0; border-top: 2px solid var(--ink); color: var(--text); line-height: 1.6; font-size: 16.5px;}
#about .footer .items {display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px;}
#about .footer .items > div {padding: 26px 0 0; border-top: 1px solid var(--line);}
#about .footer .items > div svg {width: 48px; height: 48px; color: var(--orange); margin-bottom: 20px;}
#about .footer .items > div .title {font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 10px; line-height: 1.3;}
#about .footer .items > div .title br {display: none;}
#about .footer .items > div .desc {font-size: 14.5px; color: var(--muted); line-height: 1.6;}

@media (max-width: 1100px) {
    #about .head {grid-template-columns: 1fr;}
    #about .body .items {grid-template-columns: 1fr; gap: 24px;}
    #about .footer .items {grid-template-columns: repeat(2, 1fr); gap: 32px 24px;}
}
@media (max-width: 600px) {
    #about .footer .items {grid-template-columns: 1fr;}
}

#specialization .items {display: block; columns: 4; column-gap: 32px; border-top: 2px solid var(--ink); padding-top: 18px;}
#specialization .items > div {display: contents;}
#specialization .items > div .title {display: none;}
#specialization .items > div a.desc {display: block; break-inside: avoid; padding: 11px 0; font-weight: 500; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, padding .25s var(--ease);}
#specialization .items > div a.desc:hover {color: var(--orange); padding-left: 8px;}

@media (max-width: 1100px) {
    #specialization .items {columns: 2;}
}
@media (max-width: 600px) {
    #specialization .items {columns: 1;}
}

/* ------------------------------ ВАКАНСИИ ------------------------------ */

#advantages_vacancies h2 {margin-bottom: clamp(28px, 3.4vw, 48px);}
#advantages_vacancies .items {display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-bottom: var(--gap);}
#advantages_vacancies .items > div {padding: 24px 0 36px; border-top: 2px solid var(--ink);}
#advantages_vacancies .items > div .num {font: 600 15px/1 var(--display); color: var(--orange); letter-spacing: .06em; margin-bottom: 36px;}
#advantages_vacancies .items > div .title {font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 10px;}
#advantages_vacancies .items > div .desc {font-size: 15px; color: var(--text); line-height: 1.6;}
#advantages_vacancies .items > div:last-child {background: var(--orange); border-top-color: var(--orange); padding: 28px; margin-bottom: 36px; clip-path: var(--cut);}
#advantages_vacancies .items > div:last-child .title {color: #fff; font: 600 28px/1.05 var(--display); text-transform: uppercase;}
#advantages_vacancies .items > div:last-child .desc {color: rgba(255, 255, 255, .9); margin-bottom: 24px;}
#advantages_vacancies .items > div:last-child .btn_primary {background: var(--ink);}
#advantages_vacancies .items > div:last-child .btn_primary:hover {background: #000;}
#advantages_vacancies .works_title {margin-bottom: clamp(28px, 3.4vw, 48px);}
#advantages_vacancies .works {display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;}
#advantages_vacancies .works > div {position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 320px; padding: 32px 44% 32px 32px; background: var(--steel); overflow: hidden; clip-path: var(--cut); transition: background .3s var(--ease);}
#advantages_vacancies .works > div:hover {background: var(--steel-2);}
#advantages_vacancies .works > div .title {display: block; font: 600 30px/1.05 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 10px;}
#advantages_vacancies .works > div .title svg {display: none;}
#advantages_vacancies .works > div .salary {color: var(--orange); font-weight: 600; font-size: 17px; margin-bottom: 16px;}
#advantages_vacancies .works > div .desc {display: flex; flex-direction: column; font-size: 14.5px; color: var(--text); margin-bottom: 24px; line-height: 1.5;}
#advantages_vacancies .works > div .desc span {position: relative; padding: 4px 0 4px 18px;}
#advantages_vacancies .works > div .desc span::before {content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--orange);}
#advantages_vacancies .works > div .btn_primary {margin-top: auto;}
#advantages_vacancies .works > div img {position: absolute; right: 0; bottom: 0; width: 42%; max-height: 94%; object-fit: contain; object-position: right bottom; transform-origin: right bottom; transition: transform .6s var(--ease);}
#advantages_vacancies .works > div:hover img {transform: scale(1.04);}

@media (max-width: 1100px) {
    #advantages_vacancies .items {grid-template-columns: repeat(2, 1fr);}
    #advantages_vacancies .works {grid-template-columns: 1fr;}
}
@media (max-width: 600px) {
    #advantages_vacancies .items {grid-template-columns: 1fr;}
    #advantages_vacancies .items > div .num {margin-bottom: 18px;}
    #advantages_vacancies .works > div {padding: 24px 36% 24px 22px; min-height: 280px;}
    #advantages_vacancies .works > div img {width: 38%;}
}

/* -------------------------------- БЛОГ -------------------------------- */

#blogs h1, #cases h1 {margin-bottom: clamp(28px, 3.4vw, 48px); padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 2px solid var(--ink);}
#blogs .blogs_items, #cases .cases_items {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; margin-bottom: 48px;}
#blogs .blogs_items > a, #cases .cases_items > a {display: flex; flex-direction: column;}
#blogs .blogs_items > a img, #cases .cases_items > a img {width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--steel); transition: transform .6s var(--ease);}
#blogs .blogs_items > a:hover img, #cases .cases_items > a:hover img {transform: scale(1.03);}
#blogs .blogs_items > a .meta {font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 20px;}
#blogs .blogs_items > a .title, #cases .cases_items > a .title {font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--ink); padding-top: 10px; transition: color .2s;}
#cases .cases_items > a .title {padding-top: 20px;}
#blogs .blogs_items > a:hover .title, #cases .cases_items > a:hover .title {color: var(--orange);}
#cases .cases_items > a .desc {font-size: 14.5px; color: var(--muted); padding-top: 8px; line-height: 1.5;}
#blogs .blogs_items > a .btn_primary, #cases .cases_items > a .btn_primary {display: none;}
#blogs .blogs_items > a:first-child {grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); grid-template-rows: 1fr auto; gap: 0 40px;}
#blogs .blogs_items > a:first-child img {grid-row: 1 / span 2; aspect-ratio: 16 / 8;}
#blogs .blogs_items > a:first-child .meta {align-self: end; padding-top: 0;}
#blogs .blogs_items > a:first-child .title {font: 600 clamp(28px, 3vw, 44px)/1.08 var(--display); text-transform: uppercase; padding-bottom: 6px;}
.pagination {display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap;}
.pagination .pages {font-size: 14px; color: var(--muted); margin: 0 auto;}
.pagination .btn_primary {min-height: 46px; padding: 0 20px; font-size: 14px;}
.pagination .btn_primary::after {display: none;}

@media (max-width: 1100px) {
    #blogs .blogs_items, #cases .cases_items {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px;}
}
@media (max-width: 700px) {
    #blogs .blogs_items, #cases .cases_items {grid-template-columns: minmax(0, 1fr);}
    #blogs .blogs_items > a:first-child {display: flex;}
    #blogs .blogs_items > a:first-child img {aspect-ratio: 16 / 10;}
    #blogs .blogs_items > a:first-child .meta {padding-top: 20px;}
}

/* статья */
#blog_info img.cover {width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; margin-bottom: clamp(28px, 4vw, 56px);}
#blog_info .content {display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start;}
#blog_info .content .blog {max-width: 800px; min-width: 0;}
#blog_info .content .blog h1 {font-size: clamp(34px, 4.2vw, 60px); margin-bottom: 24px;}
#blog_info .content .blog > .info {display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 28px; margin-bottom: 36px; border-bottom: 2px solid var(--ink);}
#blog_info .content .blog > .info > div {display: flex; align-items: center; gap: 8px;}
#blog_info .content .blog > .info svg {width: 18px; height: 18px; color: var(--orange);}
#blog_info main {font-size: 18px; line-height: 1.75; color: var(--text);}
#blog_info main header {padding: 28px 32px; background: var(--steel); margin-bottom: 48px;}
#blog_info main header h2 {font: 600 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px;}
#blog_info main header ul {margin: 0; counter-reset: toc;}
#blog_info main header li {counter-increment: toc; position: relative; list-style: none; margin: 0; display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.4; cursor: pointer; transition: color .2s, padding .25s var(--ease);}
#blog_info main header li::before {content: counter(toc, decimal-leading-zero); font: 600 15px/1.5 var(--display); color: var(--orange); letter-spacing: .04em; flex: 0 0 auto;}
#blog_info main header li:hover {color: var(--orange); padding-left: 6px;}
#blog_info main header li a {position: absolute; inset: 0; border: 0;}
#blog_info main header li a:not(.titles) {display: none;}
#blog_info main .section {margin-bottom: 56px;}
#blog_info main h2 {font-size: clamp(28px, 3vw, 40px); margin: 0 0 22px;}
#blog_info main h3 {font-size: 22px; margin: 32px 0 12px;}
#blog_info main p {margin: 0 0 18px;}
#blog_info main .article ul, #blog_info main .article ol {margin: 0 0 24px; counter-reset: li;}
#blog_info main .article ul > li {position: relative; padding: 6px 0 6px 24px;}
#blog_info main .article ul > li::before {content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--orange);}
#blog_info main .article ol > li {counter-increment: li; position: relative; padding: 6px 0 6px 40px;}
#blog_info main .article ol > li::before {content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 8px; font: 600 16px/1.5 var(--display); color: var(--orange);}
#blog_info main .blog_img {margin: 32px 0;}
#blog_info main .blog_img img {width: 100%; clip-path: var(--cut);}
#blog_info main .info {overflow-x: auto;}
#blog_info main table {width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 28px; border-top: 2px solid var(--ink);}
#blog_info main table td {padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top;}
#blog_info main table tr:first-child td {font-weight: 600; color: var(--ink);}
#blog_info main .article a {color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--orange);}
#blog_info main .article a:hover {color: var(--orange);}
#blog_info .scroll_banner {position: sticky; top: calc(var(--menu-h) + 24px); padding: 32px 28px; background: var(--graphite); color: #fff; clip-path: var(--cut);}
#blog_info .scroll_banner > svg {display: none;}
#blog_info .scroll_banner .title {font: 600 28px/1.05 var(--display); text-transform: uppercase; margin-bottom: 14px;}
#blog_info .scroll_banner .desc {font-size: 15px; color: rgba(255, 255, 255, .72); margin-bottom: 24px; line-height: 1.55;}
#blog_info .scroll_banner a {display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; color: #fff; font-weight: 600; background: var(--orange); border-radius: var(--r); transition: background .2s;}
#blog_info .scroll_banner a:hover {background: var(--orange-dark);}
#blog_info .scroll_banner a svg {width: 18px; height: 18px;}

@media (max-width: 1100px) {
    #blog_info .content {grid-template-columns: minmax(0, 1fr);}
    #blog_info .scroll_banner {display: none;}
}
@media (max-width: 600px) {
    #blog_info main {font-size: 16.5px;}
    #blog_info main header {padding: 22px 18px;}
    #blog_info main table {min-width: 560px;}
}

/* ------------------------------- ПРОЕКТЫ ------------------------------- */

#case_info .case_img_group {position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(360px, 44vw, 560px); padding: clamp(24px, 4vw, 56px); overflow: hidden; color: #fff; clip-path: var(--cut);}
#case_info .case_img_group::after {content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 28, .15) 0%, rgba(18, 22, 28, .9) 100%); z-index: 0;}
#case_info .case_img_group > img {display: none;}
#case_info .case_img_group > h1, #case_info .case_img_group > p {position: relative; z-index: 1; color: #fff;}
#case_info .case_img_group > h1 {font-size: clamp(32px, 4.4vw, 64px); max-width: 900px; margin-bottom: 16px;}
#case_info .case_img_group > p {font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 760px;}
#case_info .case_main > .wrap {display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 48px;}
#case_info .case_main > .wrap > div {padding: 22px 0 28px; border-top: 2px solid var(--ink);}
#case_info .case_main > .wrap > div > div:nth-child(1) {display: flex; align-items: center; gap: 12px; margin-bottom: 18px;}
#case_info .case_main > .wrap > div > div:nth-child(1) img {display: none;}
#case_info .case_main > .wrap > div > div:nth-child(1) .title {font: 600 12px/1.3 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .14em;}
#case_info .case_main > .wrap > div > div:nth-child(1) .title br {display: none;}
#case_info .case_main > .wrap > div > p.title {font: 600 34px/1.05 var(--display); text-transform: uppercase; color: var(--orange); margin-bottom: 8px;}
#case_info .case_main > .wrap > div > p.desc {font-size: 15px; color: var(--text); line-height: 1.55;}
#case_info .case_main .workers_count {font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.5; white-space: pre-line;}
#case_info .case_results {margin-top: var(--gap);}
#case_info .case_results .wrap {display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;}
#case_info .case_results h2 {margin-bottom: 28px;}
#case_info .case_results p {display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); line-height: 1.6;}
#case_info .case_results p:last-child {border-bottom: 1px solid var(--line);}
#case_info .case_results p svg {display: none;}
#case_info .case_results p::before {content: ""; flex: 0 0 8px; width: 8px; height: 8px; background: var(--orange); margin-top: 9px;}
#case_info .case_results img {width: 100%; height: 100%; max-height: 480px; object-fit: cover;}
#case_info .case_review {margin-top: var(--gap);}
#case_info .case_review h2 {margin-bottom: clamp(24px, 3vw, 40px);}
#case_info .case_review .wrap > div {position: relative; padding: clamp(28px, 4vw, 56px); background: var(--steel); max-width: 980px;}
#case_info .case_review .wrap > div::before {content: "“"; position: absolute; right: 32px; top: 4px; font: 600 140px/1 var(--display); color: var(--orange);}
#case_info .case_review .wrap > div > div {display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding-right: 90px;}
#case_info .case_review .name {font-weight: 600; font-size: 20px; color: var(--ink);}
#case_info .case_review .job_title {color: var(--muted); font-size: 14.5px; margin-top: 2px;}
#case_info .case_review .date {color: var(--muted); font-size: 13px; margin-bottom: 6px;}
#case_info .case_review .stars {display: flex; gap: 2px;}
#case_info .case_review .stars svg {width: 18px; height: 18px; color: var(--orange);}
#case_info .case_review .review_text {font-size: 18px; line-height: 1.7; color: var(--text);}
.similar_case h2 {margin-bottom: clamp(24px, 3vw, 40px); max-width: 900px;}
.similar_case .similar_case_items {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px;}
.similar_case .similar_case_items > a img {width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease);}
.similar_case .similar_case_items > a:hover img {transform: scale(1.03);}
.similar_case .similar_case_items > a .title {padding-top: 18px; font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); transition: color .2s;}
.similar_case .similar_case_items > a:hover .title {color: var(--orange);}

@media (max-width: 1100px) {
    #case_info .case_main > .wrap {grid-template-columns: repeat(2, 1fr);}
    #case_info .case_results .wrap {grid-template-columns: minmax(0, 1fr);}
    #case_info .case_results img {max-height: 300px; order: -1;}
    .similar_case .similar_case_items {grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 600px) {
    #case_info .case_main > .wrap {grid-template-columns: 1fr;}
    #case_info .case_review .wrap > div > div {padding-right: 0;}
    #case_info .case_review .wrap > div::before {display: none;}
}

/* ----------------------------- КАРТА САЙТА ----------------------------- */

#sitemap h1 {margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 2px solid var(--ink);}
#sitemap > .wrap > ul > li > a {font: 600 24px/1.1 var(--display); text-transform: uppercase; color: var(--ink);}
#sitemap > .wrap > ul > li > ul {columns: 3; column-gap: 40px; margin-top: 24px;}
#sitemap > .wrap > ul > li > ul > li {break-inside: avoid; margin-bottom: 18px;}
#sitemap > .wrap > ul > li > ul > li > a {font-weight: 600; font-size: 17px; color: var(--ink);}
#sitemap ul ul ul {margin: 8px 0 0; padding-left: 14px; border-left: 2px solid var(--line);}
#sitemap ul ul ul li {margin: 6px 0;}
#sitemap ul ul ul a {font-size: 14.5px; color: var(--text);}
#sitemap a:hover {color: var(--orange);}

@media (max-width: 1100px) {
    #sitemap > .wrap > ul > li > ul {columns: 2;}
}
@media (max-width: 600px) {
    #sitemap > .wrap > ul > li > ul {columns: 1;}
}

/* -------------------------------- 404 -------------------------------- */

#error_404 {overflow: hidden;}
.error_404 {position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: clamp(24px, 5vw, 72px) 0;}
.error_404 > img {display: none;}
.error_404 > div {max-width: 720px; position: relative; z-index: 1;}
.error_404::after {content: "404"; position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font: 700 clamp(160px, 30vw, 440px)/.8 var(--display); color: var(--steel); letter-spacing: -.02em; z-index: 0; pointer-events: none;}
.error_404 > div > p.title {font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px;}
.error_404 > div > h1.title {margin-bottom: 20px;}
.error_404 > div > p.desc {font-size: 18px; color: var(--text); margin-bottom: 32px;}
.error_404 > div > .search {position: relative; margin-bottom: 20px; max-width: 520px;}
.error_404 > div > .search #search_btn {display: none;}
.error_404 > div > .search #search_input.active {display: flex;}
.error_404 > div > .search #search_input.active input {width: 100%; min-height: 56px; height: 56px; padding: 0 130px 0 16px; font-size: 16px;}
.error_404 > div > .search #search_input.active .btn_primary {position: absolute; right: 5px; top: 5px; min-height: 46px; padding: 0 20px;}
.error_404 > div > .search #search_input.active .btn_primary::after {display: none;}
.error_404 > div > .search #search_result_error.active {left: 0; right: 0; width: auto; top: 64px;}
.error_404 > div > .btn_primary {margin-bottom: 48px;}
.error_404 > div > .services .title {font: 600 12px/1.3 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px;}
.error_404 > div > .services .items {display: flex; flex-wrap: wrap; gap: 8px;}
.error_404 > div > .services .items > a {padding: 10px 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background .2s, color .2s, box-shadow .2s;}
.error_404 > div > .services .items > a:hover {background: var(--ink); color: #fff; box-shadow: none;}

/* ------------------------------ МОДАЛКИ ------------------------------ */

#modal {position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 15, 20, .72); z-index: 1000; display: none; color: inherit;}
#modal[open], #modal.active {display: block; animation: fade_in .2s var(--ease);}
@keyframes fade_in {from {opacity: 0;} to {opacity: 1;}}
#modal_container {position: fixed; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;}
#modal_overlay {min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 16px;}
#modal_content {position: relative; width: 100%; margin: 0 auto; animation: modal_in .3s var(--ease);}
@keyframes modal_in {from {opacity: 0; transform: translateY(18px);} to {opacity: 1; transform: none;}}
.modal_close_btn {position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; color: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 5; transition: color .2s, transform .25s var(--ease);}
.modal_close_btn:hover {color: var(--orange); transform: rotate(90deg);}
.modal_close_btn svg {width: 16px; height: 16px;}
.specialist_modal {display: none; position: relative; padding: 48px 36px 32px; background: #fff; box-shadow: var(--shadow);}
.specialist_modal::before {content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--zebra);}
.specialist_modal.active {display: block;}
.specialist_modal .title {font: 600 30px/1.05 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 22px; padding-right: 36px;}
.specialist_modal .desc {color: var(--text); margin-bottom: 22px; font-size: 16.5px;}
.specialist_modal input {margin-bottom: 10px;}
.specialist_modal > .btn_primary {width: 100%; min-height: 58px; margin: 6px 0 14px; font-size: 16px;}
.specialist_modal .policy {font-size: 12px; color: var(--muted); line-height: 1.45; margin-bottom: 24px;}
.specialist_modal .policy br {display: none;}
.specialist_modal .policy a {text-decoration: underline;}
.specialist_modal .urgently {font-size: 14px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 6px;}
.specialist_modal .btn_primary.light {min-height: 0; padding: 0; margin: 0; width: auto; box-shadow: none; background: none; font: 600 26px/1.1 var(--display); letter-spacing: .02em; color: var(--ink); justify-content: flex-start;}
.specialist_modal .btn_primary.light svg {display: none;}
.specialist_modal .btn_primary.light:hover {background: none; color: var(--orange);}
#vacancy_modal {position: relative; background: #fff; overflow: hidden; box-shadow: var(--shadow);}
#vacancy_modal .head {position: relative; display: flex; min-height: 220px; padding: 40px 200px 32px 36px; background: var(--steel);}
#vacancy_modal .head .title {font: 600 36px/1.02 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 12px;}
#vacancy_modal .head .desc {color: var(--text); line-height: 1.55;}
#vacancy_modal .head > img {position: absolute; right: 24px; bottom: 0; width: 160px; max-height: 96%; object-fit: contain; object-position: bottom;}
#vacancy_modal .body {padding: 32px 36px 8px; display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: baseline;}
#vacancy_modal .body .title {font: 600 12px/1.3 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .14em; white-space: nowrap;}
#vacancy_modal .body .desc {color: var(--ink); font-weight: 500;}
#vacancy_modal .body ul.desc li {position: relative; padding: 0 0 6px 18px; font-size: 15.5px; font-weight: 400; color: var(--text);}
#vacancy_modal .body ul.desc li::before {content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--orange);}
#vacancy_modal .request {display: block; padding: 28px 36px 36px; border-top: 1px solid var(--line); margin-top: 20px;}
#vacancy_modal .request .input_group {margin-bottom: 12px;}
#vacancy_modal .request .input_group .file_upload {border-color: var(--line); color: var(--ink);}
#vacancy_modal .request .input_group .file_upload:hover {background: var(--steel); border-color: var(--ink);}
#vacancy_modal .request .input_group .file_upload.active {border-color: var(--green); color: var(--green);}
#vacancy_modal .request .btn_group {margin: 16px 0 0;}
#vacancy_modal .request .btn_group > div:last-child {color: var(--muted);}
#vacancy_modal .request .btn_group > div:last-child a:hover {color: var(--ink);}
#vacancy_modal #vacancy_modal_form_success {display: none; padding: 36px;}
#vacancy_modal #vacancy_modal_form_success.active {display: block;}
#vacancy_modal #vacancy_modal_form.request:not(.active) {display: none;}
#vacancy_modal #vacancy_modal_form_success h2 {font-size: 32px; margin-bottom: 10px;}
#vacancy_modal #vacancy_modal_form_success .response_time {display: none;}
#vacancy_modal #vacancy_modal_form_success .desc {color: var(--text);}
#image_preview {position: relative; background: #fff; overflow: hidden; box-shadow: var(--shadow);}
#image_preview img {width: 100%; max-height: 90vh; object-fit: contain;}
#image_preview .modal_close_btn {background: #fff;}

@media (max-width: 600px) {
    .specialist_modal {padding: 40px 20px 24px;}
    #vacancy_modal .head {flex-direction: column; min-height: 0; padding: 40px 20px 0;}
    #vacancy_modal .head .title {font-size: 30px; padding-right: 36px;}
    #vacancy_modal .head > img {position: static; align-self: flex-end; width: 120px; margin-top: 8px;}
    #vacancy_modal .body {grid-template-columns: 1fr; gap: 6px; padding: 24px 20px 4px;}
    #vacancy_modal .body .desc {margin-bottom: 12px;}
    #vacancy_modal .request {padding: 22px 20px 28px;}
    #vacancy_modal .request .input_group {flex-direction: column;}
}

/* ------------------------------- ПОДВАЛ ------------------------------- */

#footer {margin-top: var(--gap); background: var(--ink); color: #fff; padding: clamp(56px, 6vw, 96px) 0 clamp(36px, 4vw, 56px); position: relative;}
#footer::before {content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--graphite-2) 16px 32px);}
#footer .footer {display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px;}
#footer .info > a:first-child img {height: 32px; width: auto;}
#footer .info .desc {font: 600 clamp(26px, 2.6vw, 38px)/1.05 var(--display); text-transform: uppercase; color: #fff; margin: 28px 0 20px; max-width: 340px;}
#footer .info .work_time {display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .66); margin-bottom: 28px; font-size: 14.5px;}
#footer .info .work_time svg {width: 18px; height: 18px; color: var(--orange);}
#footer .info a.ddev {display: none;}
#footer .links .title, #footer .contacts .title {font: 600 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .45); margin-bottom: 20px;}
#footer .links a {display: block; width: fit-content; padding: 6px 0; color: rgba(255, 255, 255, .86); font-size: 15.5px; transition: color .2s, padding .25s var(--ease);}
#footer .links a:hover {color: var(--orange); padding-left: 6px;}
#footer .contacts .contact {display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .8); margin-bottom: 14px; font-size: 15px; line-height: 1.5;}
#footer .contacts .contact svg {display: none;}
#footer .contacts .contact a {color: inherit;}
#footer .contacts a.contact[href^="tel:"] {font: 600 28px/1.1 var(--display); color: #fff; letter-spacing: .02em; margin-bottom: 10px;}
#footer .contacts a.contact:hover, #footer .contacts .contact a:hover {color: var(--orange);}
#footer .contacts .line {height: 1px; background: rgba(255, 255, 255, .14); margin: 24px 0 20px;}
#footer .contacts .socials {display: flex; align-items: center; gap: 10px;}
#footer .contacts .socials .title {margin: 0 6px 0 0;}
#footer .contacts .socials a {width: 46px; height: 46px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s;}
#footer .contacts .socials a:hover {background: var(--orange);}
#footer .contacts .socials a svg {width: 22px; height: 22px;}
#sub_footer {background: var(--ink); color: rgba(255, 255, 255, .5); font-size: 13px; padding: 0 0 28px;}
#sub_footer .sub_footer {display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14);}
#sub_footer .sub_footer .copyright {margin-right: auto;}
#sub_footer .sub_footer a {color: rgba(255, 255, 255, .62);}
#sub_footer .sub_footer a:hover {color: #fff;}

@media (max-width: 1100px) {
    #footer .footer {grid-template-columns: 1fr 1fr; gap: 40px 32px;}
}
@media (max-width: 600px) {
    #footer .footer {grid-template-columns: 1fr; gap: 36px;}
    #sub_footer .sub_footer {flex-direction: column; align-items: flex-start;}
    #sub_footer .sub_footer .copyright {margin-right: 0;}
}

/* ---------------------- МОБИЛЬНАЯ ПАНЕЛЬ СВЯЗИ ---------------------- */

#mobile_bar {display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 1px; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -8px 30px rgba(18, 22, 28, .18);}
#mobile_bar a, #mobile_bar button {display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; font-size: 14.5px; font-weight: 600; flex: 1 1 0; min-width: 0; color: #fff;}
#mobile_bar svg {width: 20px; height: 20px;}
#mobile_bar .call {background: var(--graphite-2);}
#mobile_bar .wa {background: var(--graphite-2); flex: 0 0 58px; color: #3DDC84;}
#mobile_bar .wa span {display: none;}
#mobile_bar .order {background: var(--orange); flex: 1.3 1 0;}

@media (max-width: 1100px) {
    #mobile_bar {display: flex;}
    body {padding-bottom: calc(56px + env(safe-area-inset-bottom));}
}

/* ------------------------- УВЕДОМЛЕНИЕ О COOKIE ------------------------- */

#cookie_bar {position: fixed; left: 24px; bottom: 24px; z-index: 95; width: min(460px, calc(100% - 48px)); display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: var(--ink); color: rgba(255, 255, 255, .78); border-top: 3px solid var(--orange); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease);}
#cookie_bar.show {opacity: 1; transform: none;}
#cookie_bar[hidden] {display: none;}
#cookie_bar p {margin: 0;}
#cookie_bar a {color: #fff; text-decoration: underline; text-underline-offset: 2px;}
#cookie_bar a:hover {color: var(--orange);}
#cookie_bar .btn_primary {flex: 0 0 auto; padding: 0 22px; min-height: 44px; font-size: 14px;}
#cookie_bar .btn_primary::after {content: none;}

@media (max-width: 1100px) {
    #cookie_bar {left: 12px; right: 12px; width: auto; bottom: calc(56px + 12px + env(safe-area-inset-bottom));}
}
@media (max-width: 480px) {
    #cookie_bar {gap: 14px; padding: 14px 16px; font-size: 13px;}
    #cookie_bar .btn_primary {padding: 0 16px;}
}

/* ---------------------------- ДОСТУПНОСТЬ ---------------------------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important;}
    .rv {opacity: 1; transform: none;}
    #clients .track ul {animation: none;}
}
