.hub-root { --hub-text:#222228; --hub-muted:#555558; --hub-muted2:#8d8d8d; --hub-border:#ebecef; --hub-soft:#f8f8fc; --hub-white:#fff; --hub-max:var(--theme-page-width, 1696px); color:var(--hub-text); line-height:1.45; -webkit-font-smoothing:antialiased; }
.hub-root img { max-width:100%; display:block; }
.hub-root a.hub-cluster__head:hover, .hub-root a.hub-cluster__cta:hover { text-decoration:none; }
html { scroll-behavior: smooth; }
/* sizod hub — /landings/ root; theme olive via --theme-base-color */
.hub-root {
  /* Olive fallbacks if Aspro tokens missing on this page */
  --theme-base-color: #576d1b;
  --theme-more-color: #718536;
  --theme-base-opacity-color: #576d1b1a;
  --theme-outer-border-radius: 12px;
  --theme-image-border-radius: 8px;
  --theme-button-border-radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
.hub-wrap { max-width: var(--hub-max); width: 100%; margin: 0 auto; padding: 0; }

.hub-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--theme-base-color); color: #fff !important;
  border: none; border-radius: var(--theme-button-border-radius);
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background .15s;
}
.hub-btn:hover { background: var(--theme-more-color); color: #fff !important; }
.hub-btn--ghost {
  background: transparent; color: var(--theme-base-color) !important;
  border: 1px solid var(--theme-base-color);
}
.hub-btn--ghost:hover { background: var(--theme-base-opacity-color); }
.hub-btn--lg { padding: 14px 22px; font-size: 15px; }

/* 2. Hero */
.hub-hero {
  background: transparent;
  padding: 20px 0 40px;
  border-bottom: none;
}
.hub-hero__grid {
  display: grid; grid-template-columns: 0.9fr 1.35fr; gap: 28px; align-items: center;
}
.hub-bc { font-size: 13px; color: var(--hub-muted2); margin-bottom: 14px; }
.hub-bc a { color: var(--hub-muted2); }
.hub-bc a:hover { color: var(--theme-base-color); }
.hub-label {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--theme-base-color);
  background: var(--theme-base-opacity-color);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.hub-hero h1 {
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1.15;
  margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em;
}
.hub-hero__sub {
  font-size: 17px; color: var(--hub-muted); max-width: 46ch;
  margin: 0 0 22px;
}
.hub-collage {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  min-height: 320px;
}
.hub-collage__cell {
  aspect-ratio: 5/4; border-radius: var(--theme-image-border-radius);
  overflow: hidden; background: #e8eae0;
  min-height: 0;
}
.hub-collage__cell img { width: 100%; height: 100%; object-fit: cover; }
.hub-collage__cell img { object-position: 50% 30%; }

/* 3. Clusters — tall ChatGPT-style cards */
.hub-block { padding: 56px 0; }
.hub-block--soft { background: transparent; }
.hub-block__head { margin-bottom: 28px; }
.hub-block__head h2 {
  font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; font-weight: 750;
  letter-spacing: -0.01em;
}
.hub-block__head p { margin: 0; color: var(--hub-muted); font-size: 15px; max-width: 60ch; }
.hub-cluster-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.hub-cluster {
  background: var(--hub-white);
  border: 1px solid var(--hub-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
  min-height: 500px;
}
.hub-cluster:hover {
  border-color: #cfd6b8;
  box-shadow: 0 10px 28px rgba(87,109,27,.10);
}
.hub-cluster__head {
  display: block; color: inherit; padding: 18px 18px 14px;
  flex: 0 0 auto;
}
.hub-cluster__head:hover { color: inherit; }
.hub-cluster__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.hub-cluster__num {
  font-size: 15px; font-weight: 600; color: #b0b0b0;
  letter-spacing: .02em;
}
.hub-cluster__badge {
  font-size: 12px; font-weight: 500; color: #7a7a7a;
  background: #efefef;
  padding: 4px 11px; border-radius: 999px;
}
.hub-cluster__title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; margin-bottom: 8px;
}
.hub-cluster__title {
  margin: 0; font-size: 20px; font-weight: 750; line-height: 1.25;
  letter-spacing: -0.01em; flex: 1; min-width: 0;
}
.hub-cluster__arrow {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--theme-base-color);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--theme-base-color); background: #fff;
  transition: background .15s, color .15s;
}
.hub-cluster:hover .hub-cluster__arrow {
  background: var(--theme-base-color); color: #fff;
}
.hub-cluster__arrow svg { width: 14px; height: 14px; display: block; }
.hub-cluster__desc {
  margin: 0; font-size: 13.5px; color: var(--hub-muted); line-height: 1.4;
}

/* Photo half (~50% of card) */
.hub-cluster__photo {
  position: relative; flex: 1 1 auto; min-height: 280px;
  margin-top: auto; background: #2a2a2a;
}
.hub-cluster__photo > img.hub-cluster__bg {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 28%;
  position: absolute; inset: 0;
}
.hub-cluster__cta {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center;
  background: var(--theme-base-color); color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: background .15s;
}
.hub-cluster__cta:hover { background: var(--theme-more-color); color: #fff !important; }

/* Per-icon hover tip — centered over photo via :has() */
.hub-cluster__tips { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hub-cluster__tip {
  position: absolute; left: 50%; bottom: 84px;
  transform: translateX(-50%);
  background: var(--theme-base-color); color: #fff;
  font-size: 12.5px; font-weight: 600; line-height: 1.25;
  padding: 7px 14px; border-radius: 999px;
  white-space: nowrap; max-width: calc(100% - 28px);
  overflow: hidden; text-overflow: ellipsis;
  opacity: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: opacity .12s;
}
.hub-cluster__photo:has(.hub-cluster__ico[data-i="0"]:hover) .hub-cluster__tip[data-i="0"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="0"].is-hover) .hub-cluster__tip[data-i="0"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="0"]:focus-visible) .hub-cluster__tip[data-i="0"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="1"]:hover) .hub-cluster__tip[data-i="1"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="1"].is-hover) .hub-cluster__tip[data-i="1"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="1"]:focus-visible) .hub-cluster__tip[data-i="1"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="2"]:hover) .hub-cluster__tip[data-i="2"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="2"].is-hover) .hub-cluster__tip[data-i="2"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="2"]:focus-visible) .hub-cluster__tip[data-i="2"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="3"]:hover) .hub-cluster__tip[data-i="3"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="3"].is-hover) .hub-cluster__tip[data-i="3"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="3"]:focus-visible) .hub-cluster__tip[data-i="3"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="4"]:hover) .hub-cluster__tip[data-i="4"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="4"].is-hover) .hub-cluster__tip[data-i="4"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="4"]:focus-visible) .hub-cluster__tip[data-i="4"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="5"]:hover) .hub-cluster__tip[data-i="5"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="5"].is-hover) .hub-cluster__tip[data-i="5"],
.hub-cluster__photo:has(.hub-cluster__ico[data-i="5"]:focus-visible) .hub-cluster__tip[data-i="5"] {
  opacity: 1;
}

/* Icon dock — full width of photo, one row, icons share space */
.hub-cluster__dock {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4;
  transform: none;
  display: flex; flex-wrap: nowrap; justify-content: space-evenly; align-items: center;
  gap: 4px;
  width: auto; max-width: none;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 14px; padding: 10px 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  box-sizing: border-box;
}
.hub-cluster__ico {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1 1 0; min-width: 0; height: 56px; border-radius: 10px;
  width: auto;
  border: none; background: transparent; padding: 4px;
  cursor: pointer; text-decoration: none;
  transition: opacity .12s, transform .12s;
  opacity: .88;
}
.hub-cluster__ico img {
  width: clamp(28px, 6.2vw, 44px); height: clamp(28px, 6.2vw, 44px);
  max-width: 100%;
  /* keep olive fill from SVGs */
}
.hub-cluster__ico:hover,
.hub-cluster__ico.is-hover,
.hub-cluster__ico:focus-visible {
  background: transparent;
  opacity: 1; outline: none;
  transform: scale(1.1);
}
.hub-cluster__photo:has(.hub-cluster__ico:hover) .hub-cluster__ico:not(:hover),
.hub-cluster__photo:has(.hub-cluster__ico.is-hover) .hub-cluster__ico:not(.is-hover):not(:hover),
.hub-cluster__photo:has(.hub-cluster__ico:focus-visible) .hub-cluster__ico:not(:focus-visible) {
  opacity: .4;
}

/* 4. Chips */
.hub-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 20px 0 8px; position: sticky; top: 0; z-index: 40;
  background: var(--hub-white);
  border-bottom: 1px solid var(--hub-border);
  margin-bottom: 8px;
}
.hub-chip {
  appearance: none; border: 1px solid var(--hub-border); background: var(--hub-white);
  color: var(--hub-muted); border-radius: 999px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: .15s;
}
.hub-chip:hover { border-color: #cfd6b8; color: var(--theme-base-color); }
.hub-chip.is-active {
  background: var(--theme-base-color); border-color: var(--theme-base-color); color: #fff;
}

/* 5. Process sections */
.hub-section { margin: 36px 0 48px; }
.hub-section.is-hidden { display: none; }
.hub-section__head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--hub-border);
}
.hub-section__num {
  font-size: 15px; font-weight: 700; color: var(--theme-base-color);
}
.hub-section__title { margin: 0; font-size: 26px; font-weight: 750; }
.hub-section__meta { margin-left: auto; font-size: 15px; color: var(--hub-muted2); }
.hub-proc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.hub-proc {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 18px; background: var(--hub-white);
  border: 1px solid var(--hub-border);
  border-radius: var(--theme-image-border-radius);
  color: inherit; transition: border-color .15s, box-shadow .15s;
}
.hub-proc:hover {
  border-color: #cfd6b8; box-shadow: 0 4px 14px rgba(87,109,27,.07);
  color: inherit;
}
.hub-proc__ico {
  flex: 0 0 52px; width: 52px; height: 52px;
  background: transparent; /* no green fill */
  border-radius: 0; display: flex; align-items: center; justify-content: center;
  color: var(--theme-base-color);
  padding: 0;
}
.hub-proc__ico img { width: 44px; height: 44px; }
.hub-proc__body { flex: 1; min-width: 0; }
.hub-proc__title {
  display: block; font-size: 17px; font-weight: 650; line-height: 1.35;
}
.hub-proc__haz {
  display: block; font-size: 14px; color: var(--hub-muted2); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-proc__go {
  flex: 0 0 auto; font-size: 22px; color: var(--theme-base-color);
  opacity: .55; font-weight: 300;
}
.hub-proc:hover .hub-proc__go { opacity: 1; }

/* 6. CTA */
.hub-cta {
  background: var(--theme-base-color); color: #fff;
  border-radius: var(--theme-outer-border-radius);
  padding: 36px 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin: 8px 0 64px;
}
.hub-cta h2 { margin: 0 0 6px; font-size: 24px; font-weight: 750; color: #fff; }
.hub-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; max-width: 48ch; }
.hub-cta .hub-btn {
  background: #fff; color: var(--theme-base-color) !important;
}
.hub-cta .hub-btn:hover { background: #f3f5ea; }

.hub-topnote{margin:0;padding:8px 20px;font-size:12px;color:var(--hub-muted2);text-align:center;background:#fafafa;border-bottom:1px dashed var(--hub-border);}
.hub-section__desc{margin:-6px 0 18px;font-size:16px;color:var(--hub-muted);line-height:1.45;}
.hub-note {
  font-size: 11px; color: var(--hub-muted2); text-align: center;
  padding: 0 20px 40px;
}

@media (max-width: 960px) {
  .hub-hero__grid { grid-template-columns: 1fr; }
  .hub-cluster-grid { grid-template-columns: 1fr 1fr; }
  .hub-cluster { min-height: 460px; }
}
@media (max-width: 640px) {
  .hub-cluster-grid, .hub-proc-grid { grid-template-columns: 1fr; }
  .hub-collage { grid-template-columns: 1fr 1fr; min-height: 0; }
  .hub-cluster__dock { left: 8px; right: 8px; bottom: 8px; padding: 8px 6px; }
  .hub-cluster__ico { height: 44px; }
  .hub-cluster__ico img { width: clamp(24px, 8vw, 34px); height: clamp(24px, 8vw, 34px); }
  .hub-cluster__tip { bottom: 68px; }
  .hub-section__title { font-size: 22px; }
  .hub-proc__title { font-size: 16px; }
  .hub-collage__cell:nth-child(1),
  .hub-collage__cell:nth-child(4) { grid-row: auto; grid-column: auto; aspect-ratio: 4/3; }
  .hub-cta { padding: 28px 22px; }
  .hub-proc__haz { white-space: normal; }
  .hub-cluster { min-height: 440px; }
  .hub-cluster__title { font-size: 16px; }
}

/* Kill page-in-page: site already wraps hub; hide Aspro title/crumbs above hub */
body:has(.hub-root) .page-top-wrapper,
body:has(.hub-root) .page-top-info,
body.hub-landings-root .page-top-wrapper,
body.hub-landings-root .page-top-info { display: none !important; }
/* Hub replaces collections list — hide stock title block if still rendered above */
body.hub-landings-root .topic__heading #pagetitle,
body.hub-landings-root .landings-list,
body:has(.hub-root) .topic__heading #pagetitle,
body:has(.hub-root) .landings-list { display: none !important; }

/* P1P2 2026-10-28: crumbs/menu titles «Коллекции»/«Обзоры» задаются в админке Aspro
   (инфоблок/меню раздела landings). Хаб сам показывает H1 «Сферы применения СИЗОД».
   Переименовать пункт меню и раздел вручную в админке → «Сферы применения СИЗОД». */

/* ===== tz16-begin (хаб: две кнопки в нижнем CTA) ===== */
.hub-cta .hub-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hub-cta .hub-cta__actions a.hub-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.hub-cta .hub-cta__actions .hub-consult-btn {
    background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.7);
}
.hub-cta .hub-cta__actions .hub-consult-btn:hover { background: rgba(255,255,255,.12); }
@media (max-width: 640px) {
    .hub-cta .hub-cta__actions { width: 100%; }
    .hub-cta .hub-cta__actions .hub-btn { flex: 1 1 100%; }
}
/* ===== tz16-end ===== */
