.empty-state {
  padding: 30px 18px; text-align: center; color: var(--text-3);
  font-size: 0.92rem; background: var(--panel-2);
  border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
}

/* ===== CATALOG HERO ===== */
.cat-hero {
  background: transparent;
  padding: 40px 24px 30px;
  border-bottom: 1px solid var(--border);
}
.cat-hero-inner { max-width: 1240px; margin: 0 auto; }
.cat-hero .crumbs { font-size: 0.8rem; color: var(--text-3); margin-bottom: 12px; }
.cat-hero .crumbs a { color: var(--text-2); }
.cat-hero .crumbs a:hover { color: var(--accent-lt); }
.cat-hero h1 { margin-bottom: 8px; font-size: clamp(1.6rem,3vw,2.2rem); }
.cat-hero p  { color: var(--text-2); font-size: 1rem; }

/* ===== FILTERS BAR (top) ===== */
.filters {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  position: sticky; top: 90px; z-index: 90;
}
.filters-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
}
.fg { display: flex; flex-direction: column; gap: 5px; min-width: 150px; flex: 1 1 0; }
.fg label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-3); }
.fg-search { flex: 1; min-width: 210px; }

/* Мобильная кнопка «Фильтры» — сворачивает верхнюю панель фильтров + сайдбар (НАКС/опыт) */
.filter-toggle-bar { display: none; max-width: 1240px; margin: 0 auto; padding: 14px 24px 0; }
.filter-toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-size: .95rem; font-weight: 700; color: var(--text-1); cursor: pointer; font-family: inherit; }
.filter-toggle:hover { border-color: var(--border-2); }
.filter-toggle .ft-chev { margin-left: auto; transition: transform .25s; color: var(--text-3); }
.filter-toggle.open .ft-chev { transform: rotate(180deg); }
/* Кнопки «Сбросить»/«Применить» — внизу панели фильтров на мобиле */
.filter-actions { display: none; gap: 10px; }
@media (max-width: 980px) {
  .filter-toggle-bar { display: block; }
  .filters, .cat-sidebar { display: none; }
  .filters.fopen, .cat-sidebar.fopen { display: block; }
  .filters.fopen { position: static; }
  .filter-actions { display: flex; margin-top: 14px; }
  .filter-actions .btn { flex: 1; justify-content: center; }
}

.f-ctrl {
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 9px 34px 9px 12px;
  color: var(--text-1); font-size: 0.88rem; font-family: inherit;
  cursor: pointer; transition: border-color var(--tr); width: 100%; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.f-ctrl:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,59,45,0.12); }
.f-ctrl option { background: #fff; color: var(--text-1); }

.search-wrap { position: relative; }
.search-wrap .s-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); display: flex; align-items: center; line-height: 0; }
.search-wrap input {
  width: 100%; padding: 9px 11px 9px 35px;
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); color: var(--text-1); font-size: 0.88rem;
  font-family: inherit; outline: none; transition: border-color var(--tr);
}
.search-wrap input::placeholder { color: var(--text-3); }
.search-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,59,45,0.12); }

.f-reset {
  align-self: flex-end;
  width: 38px; height: 38px; flex-shrink: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); color: var(--text-2);
  cursor: pointer; font-family: inherit; transition: all var(--tr);
}
.f-reset:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }

.fg-check { flex: 0 0 auto; min-width: auto; justify-content: flex-end; }
.f-check-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 0.88rem; color: var(--text-2);
  transition: all var(--tr); white-space: nowrap; user-select: none;
}
.f-check-wrap:hover { border-color: rgba(239,59,45,0.4); color: var(--text-1); }
.f-check-wrap:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); color: var(--text-1); }
.f-check-wrap input { display: none; }
.f-check-box {
  width: 17px; height: 17px; flex-shrink: 0;
  border: 1.5px solid var(--border-2); border-radius: 5px;
  background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.f-check-wrap input:checked ~ .f-check-box { background: var(--accent); border-color: var(--accent); }
.f-check-wrap input:checked ~ .f-check-box::after {
  content: ''; display: block; width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* ===== LAYOUT: SIDEBAR + LIST ===== */
.catalog-layout {
  max-width: 1240px; margin: 0 auto; padding: 28px 24px;
  display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start;
}
.cat-sidebar {
  min-width: 0;
  position: sticky; top: 150px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.cat-sidebar .side-block { margin-bottom: 22px; }
.cat-sidebar .side-block:last-child { margin-bottom: 0; }
.side-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-3); font-weight: 700; margin-bottom: 12px; }
.side-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 0; font-size: 0.88rem; color: var(--text-2); cursor: pointer;
}
.side-opt:hover { color: var(--text-1); }
.side-opt .so-left { display: flex; align-items: center; gap: 9px; }
.side-opt .so-count { font-size: 0.78rem; color: var(--text-3); }
.side-opt input[type="checkbox"], .side-opt input[type="radio"] {
  appearance: none; width: 16px; height: 16px; flex-shrink: 0;
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: 4px; cursor: pointer; transition: all var(--tr);
}
.side-opt input[type="radio"] { border-radius: 50%; }
.side-opt input:checked { background: var(--accent); border-color: var(--accent); }

/* ===== Аттестация НАКС (аккордеон в сайдбаре) ===== */
.naks-filter { display: flex; flex-direction: column; max-height: 380px; overflow-x: hidden; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.naks-group { border-bottom: 1px solid var(--border); }
.naks-group:last-child { border-bottom: none; }
.naks-grp-head {
  width: 100%; display: flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 9px 0;
  text-align: left; font-family: inherit; color: var(--text-1);
}
.naks-grp-head .ng-code { font-size: 0.82rem; font-weight: 700; flex-shrink: 0; }
.naks-grp-head .ng-name { font-size: 0.68rem; color: var(--text-3); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naks-grp-head .ng-chev { font-size: 1.05rem; line-height: 1; color: var(--text-3); flex-shrink: 0; transition: transform var(--tr); }
.naks-group.open .ng-chev { transform: rotate(45deg); }
.naks-grp-body { display: none; flex-direction: column; padding: 0 0 8px 4px; }
.naks-group.open .naks-grp-body { display: flex; }
.naks-pt-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 0.8rem; color: var(--text-2); min-width: 0; }
.naks-pt-row:hover { color: var(--text-1); }
.naks-pt-row .np-n { font-weight: 700; color: var(--accent); flex-shrink: 0; }
.naks-pt-row .np-d { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naks-pt-row input[type="checkbox"] {
  appearance: none; width: 15px; height: 15px; flex-shrink: 0;
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: 4px; cursor: pointer; transition: all var(--tr);
}
.naks-pt-row input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }

.catalog-main { min-width: 0; }

.cat-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.cat-count { color: var(--text-2); font-size: 0.9rem; }
.cat-count strong { color: var(--text-1); }
.cat-sort { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--text-2); }
.cat-sort select {
  background: var(--panel-2); border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 7px 28px 7px 11px;
  color: var(--text-1); font-size: 0.85rem; font-family: inherit;
  cursor: pointer; outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
.cat-sort select option { background: #fff; color: var(--text-1); }

/* ===== WELDER LIST (горизонтальные карточки) ===== */
.welders-list { display: flex; flex-direction: column; gap: 14px; }
.w-row {
  display: block;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 22px;
  text-decoration: none; color: inherit; transition: all var(--tr);
  box-shadow: var(--shadow);
}
.w-row:hover { border-color: #f0b6b8; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* верхняя строка — аватар + имя/разряд + мета */
.w-row-top { display: flex; gap: 13px; align-items: center; }

/* аватар — светлый круг */
.w-row .w-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.92rem; font-weight: 800;
  background: var(--bg-2); color: var(--accent);
  border: 1px solid var(--border);
}

/* имя + разряд */
.w-row-id { flex: 1 1 0; min-width: 0; }
.w-row-id h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-row-spec { margin-top: 2px; font-size: 0.8rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* мета (город · опыт · обновлён) — справа в верхней строке */
.w-row-meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; min-width: 0; margin-left: 12px; }
.w-row-meta .mi { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-2); white-space: nowrap; }
.w-row-meta .mi.mi-city { min-width: 0; max-width: 220px; }
.w-row-meta .mi.mi-city .mi-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-row-meta .mi svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.w-updated { font-size: 0.74rem; color: var(--text-3); white-space: nowrap; }

/* нижняя строка — способы сварки + статус + кнопка в одну линию */
.w-row-bottom { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.w-row-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; flex: 1 1 0; min-width: 0; }
.wm-label { font-size: 0.82rem; color: var(--text-2); margin-right: 2px; }
.w-method { padding: 6px 13px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; background: var(--bg-2); color: var(--text-1); }
.w-row-bottom .w-updated { margin-left: auto; flex-shrink: 0; }
.w-viewed { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 0.73rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.w-viewed + .w-updated { margin-left: 0; }
.w-row-meta > .badge { flex-shrink: 0; }
.w-prof-btn {
  flex-shrink: 0; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.82rem; padding: 9px 20px; border-radius: 10px;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--tr);
}
.w-prof-btn svg { transition: transform var(--tr); }
.w-row:hover .w-prof-btn { background: var(--accent-2); }
.w-row:hover .w-prof-btn svg { transform: translateX(3px); }

/* ===== WELDER GRID (карточки — оставляем для совместимости) ===== */
.welders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.w-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 15px;
  cursor: pointer; transition: all var(--tr);
  text-decoration: none; color: inherit;
}
.w-card:hover { transform: translateY(-4px); border-color: rgba(239,59,45,0.35); box-shadow: var(--shadow); }
.w-card-head { display: flex; gap: 14px; align-items: flex-start; }
.w-avatar {
  width: 62px; height: 62px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: #fff; position: relative;
  background: linear-gradient(135deg, #2a2f3a, #161820); border: 1px solid var(--border-2);
}
.av-1,.av-2,.av-3,.av-4,.av-5,.av-6,.av-7,.av-8 { background: linear-gradient(135deg, #2a2f3a, #161820); }
.av-verified {
  position: absolute; bottom: -2px; right: -2px;
  width: 19px; height: 19px; background: var(--green);
  border-radius: 50%; border: 2.5px solid var(--panel);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; color: #fff;
}
.w-meta { flex: 1; min-width: 0; }
.w-meta h3 { font-size: 1.05rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-loc { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--text-2); margin-bottom: 7px; }
.w-rating { display: flex; align-items: center; gap: 5px; }
.w-rating .stars { color: var(--gold); }
.w-rating .rv { font-size: 0.88rem; font-weight: 700; color: var(--gold-lt); }
.w-rating .rc { font-size: 0.76rem; color: var(--text-3); }

.w-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.w-tag {
  background: var(--panel-2); border: 1px solid var(--border-2);
  color: var(--text-2); padding: 3px 10px; border-radius: 7px;
  font-size: 0.73rem; font-weight: 600;
}

.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.w-stat { text-align: center; }
.w-stat strong { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.w-stat span   { font-size: 0.72rem; color: var(--text-3); }
.w-card-foot { display: flex; justify-content: space-between; align-items: center; }
.w-last { font-size: 0.76rem; color: var(--text-3); }

/* ===== NO RESULTS ===== */
.no-results { grid-column: 1/-1; text-align: center; padding: 72px 20px; }
.no-results .nr-icon { font-size: 2.8rem; opacity: .3; margin-bottom: 14px; }
.no-results h3 { color: var(--text-1); margin-bottom: 8px; }
.no-results p  { color: var(--text-3); font-size: 0.9rem; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 40px; }
.pg-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1.5px solid var(--border);
  color: var(--text-2); font-size: 0.88rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all var(--tr);
  display: flex; align-items: center; justify-content: center;
}
.pg-btn:hover, .pg-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ===== VACANCY DETAIL ===== */
.vd-head { display: flex; align-items: flex-start; gap: 22px; padding-bottom: 26px; }
.vd-logo { width: 84px; height: 84px; border-radius: 20px; flex-shrink: 0; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.vd-head-main { flex: 1; min-width: 0; }
.vd-head-main h1 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.vd-substatus { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.vd-updated { font-size: 0.82rem; color: var(--text-3); }
.vd-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.vd-meta .vm { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--text-2); }
.vd-meta .vm svg { color: var(--text-3); flex-shrink: 0; }
.vd-pay { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vd-salary { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.vd-exp { font-size: 0.88rem; color: var(--text-2); }
.vd-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; width: 240px; }
.vd-actions .btn { width: 100%; }
.vd-bookmark { align-self: flex-end; width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: 10px; background: #fff; color: var(--text-3); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--tr); }
.vd-bookmark:hover, .vd-bookmark.saved { border-color: var(--accent); color: var(--accent); }
.vd-bookmark.saved svg { fill: var(--accent); }
.vd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.vd-cond { display: flex; gap: 13px; align-items: flex-start; }
.vd-cond .vc-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vd-cond .vc-txt { padding-top: 1px; }
.vd-cond .vc-l { font-size: 0.82rem; color: var(--text-3); }
.vd-cond .vc-v { font-size: 0.96rem; font-weight: 700; margin-top: 3px; }
.vd-similar { max-width: 1200px; margin: 0 auto; padding: 0 24px 50px; }
.vd-similar h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.vd-similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vd-sim-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; transition: all var(--tr); display: block; }
.vd-sim-card:hover { border-color: #f0b6b8; box-shadow: var(--shadow); }
.vd-sim-salary { color: var(--accent); font-weight: 800; font-size: 0.95rem; }
.vd-sim-title { font-weight: 700; font-size: 0.92rem; margin: 6px 0 4px; }
.vd-sim-company { font-size: 0.8rem; color: var(--text-2); }
.vd-sim-city { font-size: 0.8rem; color: var(--text-3); margin-top: 4px; }
.vd-intro { color: var(--text-1); font-weight: 600; line-height: 1.75; font-size: 1rem; margin-bottom: 16px; overflow-wrap: anywhere; }
.prof-section p.vd-intro { color: var(--text-1); font-weight: 600; font-size: 1rem; }
.vd-list { list-style: none; padding: 0; margin: 0; }
.vd-list li { position: relative; padding-left: 22px; margin-bottom: 13px; color: var(--text-1); font-weight: 600; font-size: 0.96rem; line-height: 1.65; }
.vd-list li:last-child { margin-bottom: 0; }
.vd-list li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.vd-cond .vc-sub { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }
.vd-dates { display: flex; gap: 60px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.vd-date-l { font-size: 0.78rem; color: var(--text-3); }
.vd-date-v { font-size: 0.9rem; color: var(--text-2); margin-top: 4px; }
@media(max-width:680px){ .vd-conditions { grid-template-columns: 1fr; } .vd-head { flex-direction: column; } .vd-actions { width: 100%; } }

/* ===== CONTACTS MODAL ===== */
.ct-modal-overlay { position: fixed; inset: 0; z-index: 300; padding: 20px; background: rgba(20,22,26,0.5); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; }
.ct-modal-overlay.open { display: flex; }
.ct-modal { background: #fff; border-radius: 20px; max-width: 440px; width: 100%; padding: 34px 30px 30px; position: relative; box-shadow: var(--shadow-lg); text-align: center; }
.ct-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: none; color: var(--text-3); cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ct-close:hover { background: var(--bg-2); color: var(--text-1); }
.ct-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #e9f9ef; color: #16a34a; display: flex; align-items: center; justify-content: center; }
.ct-modal h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.ct-sub { color: var(--text-2); font-size: 0.9rem; margin: 8px 0 22px; }
.ct-rows { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.ct-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 13px; }
.ct-row-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-row-main { flex: 1; min-width: 0; }
.ct-row-l { font-size: 0.78rem; color: var(--text-3); }
.ct-row-v { font-size: 1.05rem; font-weight: 800; color: var(--text-1); margin-top: 2px; word-break: break-all; }
.ct-row.is-phone .ct-row-v { color: var(--accent); }
.ct-copy { flex-shrink: 0; width: 38px; height: 38px; border: none; background: none; color: var(--text-3); cursor: pointer; border-radius: 9px; display: flex; align-items: center; justify-content: center; transition: all var(--tr); }
.ct-copy:hover { background: var(--bg-2); color: var(--accent); }

/* === Контакты вакансии — круглые иконки с пунктиром === */
.vc-contacts { position: relative; }
.vc-contacts::before { content: ''; position: absolute; left: 24px; top: 36px; bottom: 36px; border-left: 2px dotted #f0b6b8; z-index: 0; }
.vc-c-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; position: relative; }
.vc-c-row:not(:first-child) { border-top: 1px solid var(--border); }
.vc-c-ic { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #f6c9cb; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.vc-c-main { flex: 1; min-width: 0; }
.vc-c-l { font-size: 0.74rem; color: var(--text-3); margin-bottom: 2px; }
.vc-c-v { font-size: 0.92rem; font-weight: 700; color: var(--text-1); word-break: break-word; }
.vc-c-v.vc-c-accent { color: var(--accent); }
.vc-c-sub { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }
.vc-c-row .ct-copy { margin-left: auto; }

/* ===== PROFILE (левая часть, редизайн) ===== */
.pf-herobox { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow); }
.pf-herobox .prof-top { padding-bottom: 0; align-items: center; gap: 22px; }
.pf-herobox .prof-info h1 { font-size: 1.55rem; }
.pf-herobox .prof-info { display: flex; flex-direction: column; gap: 8px; }
.prof-status { margin-left: auto; align-self: center; flex-shrink: 0; }
.prof-meta .pm-upd { font-size: 0.84rem; color: var(--text-3); }
.prof-meta .pm-sep { width: 1px; height: 15px; background: var(--border-2); }
.prof-meta .pm-city { display: inline-flex; align-items: center; gap: 5px; font-size: 0.88rem; color: var(--text-2); }
.prof-meta .pm-city svg { color: var(--text-3); }

.pf-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.pf-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pf-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-2); color: var(--text-1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-card-head h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.pf-text { color: var(--text-2); line-height: 1.7; font-size: 0.95rem; }

.pf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 0.86rem; }
.pf-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.pf-naks { display: flex; flex-direction: column; gap: 10px; }
.pf-naks-row { border: 1px solid var(--border); border-radius: 11px; padding: 13px 16px; font-size: 0.92rem; }
.pf-naks-row strong { font-weight: 800; }
.pf-naks-row .pts { color: var(--text-2); }
.pf-naks-corp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pf-corp-badge { padding: 7px 13px; border-radius: 9px; font-size: 0.8rem; font-weight: 600; background: var(--accent-tint); color: var(--accent); }

.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.pf-stat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 13px; align-items: center; }
.pf-stat-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-stat > div { flex: 1; text-align: center; }
.pf-stat-l { font-size: 0.8rem; color: var(--text-3); }
.pf-stat-v { font-size: 1.15rem; font-weight: 800; margin-top: 3px; letter-spacing: -0.02em; }
.pf-stat-sub { font-size: 0.76rem; color: var(--text-3); margin-top: 2px; }
@media(max-width:680px){ .pf-stats { display: none; } }

/* опыт работы — размеры как в профиле */
.pf-card .wi-company { font-size: 1rem; }
.pf-card .wi-period { font-size: 0.85rem; }
.pf-card .wi-desc { font-size: 0.93rem; line-height: 1.65; }

/* карточка сертификата + кнопка скачать */
#prof-certs .cert-card { padding: 18px 20px; border-radius: 14px; }
.cert-dl {
  margin-left: auto; align-self: center; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.85rem;
  font-family: inherit; transition: background var(--tr); text-decoration: none;
}
.cert-dl:hover { background: var(--accent-2); }

/* ===== VACANCY CARDS ===== */
.vac-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 24px;
  box-shadow: var(--shadow); transition: all var(--tr);
  display: flex; align-items: center; gap: 20px;
}
.vac-card:hover { border-color: #f0b6b8; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.vac-logo {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.vac-main { flex: 1; min-width: 0; }
.vac-title { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.vac-company { margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.vac-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; font-size: 0.85rem; color: var(--text-2); }
.vac-meta > span { display: inline-flex; align-items: center; }
.vac-meta > span svg { color: var(--text-3); flex-shrink: 0; margin-right: 6px; position: relative; top: 0.5px; }
.vac-sep { color: var(--border-2); }
.vac-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.vac-salary { font-size: 1.15rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
.vac-more-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 30px; border-radius: 10px; font-weight: 700; font-size: 0.86rem;
  cursor: pointer; font-family: inherit; white-space: nowrap; transition: all var(--tr);
  background: var(--accent); color: #fff; border: none; text-decoration: none;
}
.vac-more-btn:hover { background: var(--accent-2); }

/* ===== VACANCY MODAL ===== */
.vac-modal-overlay {
  position: fixed; inset: 0; z-index: 200; padding: 20px;
  background: rgba(20,22,26,0.5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
}
.vac-modal-overlay.open { display: flex; }
.vac-modal {
  background: #fff; border-radius: 18px; max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 30px; position: relative;
  box-shadow: var(--shadow-lg);
}
.vac-modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border: none; background: var(--bg-2); border-radius: 9px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
}
.vac-modal-close:hover { background: var(--border); color: var(--text-1); }
.vac-modal h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; padding-right: 40px; line-height: 1.25; }
.vac-modal .vm-company { margin-top: 8px; color: var(--text-2); font-size: 0.92rem; }
.vac-modal .vm-salary { margin-top: 16px; font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.vac-modal .vm-section { margin-top: 22px; }
.vac-modal .vm-section h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-3); font-weight: 700; margin-bottom: 9px; }
.vac-modal .vm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vac-modal .vm-tag { padding: 7px 14px; border-radius: 9px; background: var(--bg-2); font-size: 0.84rem; font-weight: 600; }
.vac-modal .vm-desc { font-size: 0.92rem; color: var(--text-2); line-height: 1.6; }
.vac-modal .vm-contact { font-size: 1.1rem; font-weight: 800; color: var(--accent); text-decoration: none; }
.vac-modal .vm-apply { margin-top: 26px; width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 11px; padding: 13px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: background var(--tr); }
.vac-modal .vm-apply:hover { background: var(--accent-2); }
.vac-modal .vm-apply:disabled { background: var(--text-3); cursor: default; }

/* ===== BRIGADE CARDS ===== */
.brigades-gate { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; padding: 40px 22px; }
.brigades-bg { position: absolute; inset: 0; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 28px 22px; filter: blur(5px); opacity: 0.4; pointer-events: none; }
.gate-overlay { position: relative; z-index: 2; background: rgba(13,14,18,0.94); backdrop-filter: blur(18px); border: 1px solid var(--border); border-radius: 20px; padding: 52px 44px; text-align: center; max-width: 480px; box-shadow: var(--shadow-lg); }
.gate-icon { font-size: 2.4rem; margin-bottom: 18px; }
.gate-overlay h2 { margin-bottom: 12px; }
.gate-overlay p { color: var(--text-2); font-size: 0.94rem; max-width: 340px; margin: 0 auto 28px; line-height: 1.7; }
.gate-overlay .gate-btns { display: flex; flex-direction: column; gap: 10px; }

.brig-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 16px; transition: all var(--tr);
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
}
.brig-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
a.brig-card:hover { transform: translateY(-2px); border-color: #f0b6b8; box-shadow: var(--shadow-lg); }
.brig-placeholder { min-height: 220px; background: linear-gradient(135deg, var(--panel), var(--accent-tint)); }
.brig-head { display: flex; align-items: center; gap: 14px; }
.brig-avatar {
  width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: #fff;
}
.brig-head-info { flex: 1; min-width: 0; }
.brig-head-info h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.brig-head-loc { font-size: 0.9rem; color: var(--text-2); margin-top: 2px; }
.brig-head > .badge { flex-shrink: 0; align-self: center; }

.brig-stats { display: flex; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.brig-stat { flex: 1; text-align: center; padding: 15px 8px; min-width: 0; }
.brig-stat + .brig-stat { border-left: 1px solid var(--border); }
.bs-top { display: flex; align-items: center; justify-content: center; gap: 8px; }
.bs-top svg { color: var(--accent); flex-shrink: 0; }
.bs-top b { font-size: 1.35rem; font-weight: 800; }
.bs-lbl { font-size: 0.82rem; color: var(--text-2); margin-top: 5px; }

.brig-rows { display: flex; flex-direction: column; }
.brig-irow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.brig-irow:last-child { border-bottom: none; }
.bir-l { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); flex-shrink: 0; }
.bir-l svg { color: var(--text-3); flex-shrink: 0; }
.bir-v { font-weight: 700; text-align: right; min-width: 0; }

.brig-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.brig-methods .bm { padding: 7px 16px; border: 1px solid var(--border-2); border-radius: 10px; font-size: 0.82rem; font-weight: 600; background: #fff; color: var(--text-1); }

/* бригада — длинная горизонтальная карточка */
.brig-hcard {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 24px 16px 26px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: all var(--tr);
}
.brig-hcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.brig-hcard:hover { border-color: #f0b6b8; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.brig-av { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; }
.brig-id { flex: 0 0 230px; min-width: 0; }
.brig-id h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brig-sub { font-size: 0.78rem; color: var(--text-2); margin-top: 4px; }
.brig-sub svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; color: var(--text-3); }
.brig-foreman { font-size: 0.78rem; color: var(--text-2); margin-top: 2px; }
.brig-comp { display: flex; gap: 12px; flex: 0 0 auto; justify-content: flex-start; }
.bc-box { width: 96px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; text-align: center; }
.bc-top { display: flex; align-items: center; justify-content: center; gap: 7px; }
.bc-top svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.bc-top b { font-size: 1.15rem; font-weight: 800; }
.bc-lbl { font-size: 0.78rem; color: var(--text-2); margin-top: 3px; white-space: nowrap; }
.brig-methods-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 1 1 auto; min-width: 0; }
.bm-label { font-size: 0.85rem; color: var(--text-2); white-space: nowrap; }
.bm-chips { display: flex; flex-wrap: nowrap; gap: 8px; justify-content: flex-end; }
.brig-methods-wrap .bm { padding: 8px 16px; border-radius: 9px; font-size: 0.82rem; font-weight: 600; background: var(--bg-2); color: var(--text-1); }
.brig-status { margin-left: auto; flex-shrink: 0; }

/* бригада — детальная страница */
.bd-main { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.bd-status { position: absolute; top: 26px; right: 26px; }
.bd-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-right: 120px; }
.bd-av { width: 64px; height: 64px; border-radius: 15px; flex-shrink: 0; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.bd-head-info { flex: 1; min-width: 0; }
.bd-head-info h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.bd-sub { font-size: 0.88rem; color: var(--text-2); margin-top: 6px; }
.bd-sub svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; color: var(--text-3); }
.bd-desc { display: flex; gap: 14px; align-items: flex-start; background: var(--accent-tint); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.bd-desc-ic { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.bd-desc p { font-size: 0.9rem; color: var(--text-1); line-height: 1.6; }
.bd-comp { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.bd-comp-label { font-size: 0.88rem; color: var(--text-2); }
.bd-chip { padding: 7px 16px; border: 1px solid #efb3b6; color: var(--accent); background: #fff; border-radius: 100px; font-size: 0.84rem; font-weight: 700; }
.bd-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }

/* ===== RESPONSIVE ===== */
@media(max-width:980px){
  .catalog-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; }
}
@media(max-width:768px){
  .filters-inner { flex-direction: column; }
  .fg, .fg-search { width: 100%; min-width: unset; }
  .f-ctrl, .search-wrap input { width: 100%; }
  .w-row { flex-direction: column; align-items: flex-start; }
  .w-row-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  /* карточка вакансии: иконка+название сверху, мета, разделитель, зарплата+кнопка снизу */
  .vac-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo  title"
      "logo  company"
      "meta  meta"
      "foot  foot";
    align-items: center;
    column-gap: 16px; row-gap: 4px;
    padding: 18px;
  }
  .vac-logo { grid-area: logo; align-self: center; border: 1.5px dashed #f0b6b8; }
  .vac-main { display: contents; }
  .vac-title { grid-area: title; align-self: end; justify-self: start; text-align: left; }
  .vac-company { grid-area: company; align-self: start; justify-self: start; text-align: left; }
  .vac-meta { grid-area: meta; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 10px; margin-top: 6px; }
  /* нижняя строка целиком (зарплата+кнопка) — на всю ширину, не влияет на ширину колонки иконки */
  .vac-right { grid-area: foot; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
}
@media(max-width:640px){
  /* карточка бригады в списке: убираем фикс. ширины, разрешаем перенос блоков */
  .brig-hcard { gap: 12px 14px; padding: 16px 18px; }
  .brig-id { flex: 1 1 140px; }
  /* состав бригады — ровная сетка из 3 одинаковых колонок, подписи переносятся */
  .brig-comp { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brig-methods-wrap { flex: 1 1 100%; align-items: flex-start; }
  .bm-chips { flex-wrap: wrap; justify-content: flex-start; }
  .brig-status { margin-left: 0; }
  .bc-box { width: auto; min-width: 0; }
  .bc-lbl { white-space: normal; }
  /* детальная страница бригады: статус-бейдж в поток (а не абсолютом), убираем место под него */
  .bd-main { padding: 18px 16px; }
  .bd-status { position: static; display: inline-flex; margin-bottom: 12px; }
  .bd-head { padding-right: 0; }
  /* даты вакансии: меньше зазор + перенос */
  .vd-dates { gap: 24px; flex-wrap: wrap; }
  /* шапка профиля сварщика: аватар + имя в колонку (иначе жмутся в ряд) */
  .pf-herobox .prof-top { flex-direction: column; align-items: flex-start; }
  /* карточка сварщика: мета (город · опыт · зарплата) переносится ПОД имя, а не распирает строку */
  .w-row-top { flex-wrap: wrap; }
  .w-row-meta { flex-basis: 100%; margin-left: 0; flex-wrap: wrap; gap: 8px 14px; }
  .w-row-meta .mi.mi-city { max-width: 100%; }
  /* нижняя строка: способы + мета переносятся, кнопка «Смотреть профиль» на всю ширину */
  .w-row-bottom { flex-wrap: wrap; gap: 8px 12px; }
  .w-row-methods { flex: 1 1 100%; }
  .w-viewed { margin-left: 0; }
  .w-row-bottom .w-updated { margin-left: 0; }
  .w-prof-btn { flex: 1 1 100%; justify-content: center; }
}
@media(max-width:560px){
  .welders-grid { grid-template-columns: 1fr; }
}
