/* «Техническая поддержка» — self-contained (includes shared container/title/breadcrumb). */
.jv-portfolio.container { width: 100%; max-width: 1880px; margin: 0 auto; padding: 20px 20px 60px; }
.jv-portfolio__title { font-size: 44px; font-weight: 700; line-height: 1.1; margin: 20px 0 40px; color: var(--jv-text-primary); }
.breadcrumb { font-size: 14px; }
.breadcrumb > li > a,
.breadcrumb > li:last-child,
.breadcrumb > li:last-child > a,
.breadcrumb > li:last-child > span { font-size: 14px !important; }

/* «Техническая поддержка» — бенто по брендбуку JazzWay 2025.
   Правила бренда: скругление 15px, плоско (без теней/градиентов/свечения/обводок),
   фон белый/серый, оранжевый — акцент небольшого блока. Шрифт TT Norms Pro. */

.sup { color: var(--jv-text-primary); }
.sup__lead { max-width: 720px; margin: -12px 0 34px; font-size: 18px; line-height: 1.5; color: var(--jv-text-secondary); }

/* radius token from the brandbook */
.sup { --r: 15px; --gap: 16px; --card: #F2F3F6; --card2: #EDEDED; --accent: var(--jv-accent); }

/* ===== bento grid ===== */
.sup-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 188px; gap: var(--gap); }
.sup-card { position: relative; border-radius: var(--r); background: var(--card); overflow: hidden;
  text-decoration: none; color: var(--jv-text-primary); transition: transform .2s ease; }
a.sup-card { cursor: pointer; }
a.sup-card:hover, .sup-card--photo:hover, .sup-card--catalog:hover { transform: translateY(-4px); }

.sup-card--brand { grid-column: span 2; grid-row: span 2; background: #fff; border: 1.5px solid var(--card2); }
.sup-card--photo { grid-row: span 2; display: flex; flex-direction: column; }
.sup-card--catalog { grid-column: span 2; }

.sup-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.22; }
.sup-card__desc { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--jv-text-secondary); }
.sup-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; }

/* ===== buttons / icon tiles ===== */
/* Кнопки и плитки-иконки переведены на единый компонент .jw-btn (jw-buttons.css).
   Здесь остаются только контекстные отступы внутри карточек модуля. */

/* ===== Руководство по фирменному стилю ===== */
.sup-card--brand { display: flex; flex-direction: column; justify-content: center; padding: 26px; gap: 22px; }
.sup-brand__grid { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: center; }
.sup-brand__cover { border-radius: 12px; overflow: hidden; line-height: 0; }
.sup-brand__cover img { width: 100%; height: auto; display: block; }
.sup-brand__head { display: flex; flex-direction: column; align-items: flex-start; }
.sup-brand__head .jw-btn { margin-top: 18px; }
.sup-brand__meta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start;
  border-top: 1.5px solid var(--card2); padding-top: 20px; }
.sup-meta-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--jv-text-muted); margin-bottom: 12px; }
.sup-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sw { display: flex; flex-direction: column; gap: 5px; }
.sw__chip { display: block; width: 100%; height: 40px; border-radius: 9px; }
.sw__chip--b { border: 1.5px solid var(--card2); }
.sw b { font-size: 11px; font-weight: 600; }
.sw em { font-size: 11px; font-style: normal; color: var(--jv-text-muted); font-variant-numeric: tabular-nums; }
.sup-fonts { display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.sup-font { display: flex; flex-direction: column; }
.sup-font b { font-size: 18px; font-weight: 700; }
.sup-font em { font-size: 12px; font-style: normal; color: var(--jv-text-muted); }

/* ===== photo tiles (Свет / ЭП) ===== */
.sup-photo__img { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  padding: 26px 22px 6px; background: var(--card); overflow: hidden; }
.sup-photo__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sup-photo__img--ep img { max-height: 92%; }
.sup-photo__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 20px; }
.sup-photo__tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--jv-text-muted); }
.sup-photo__title { margin: 3px 0 0; font-size: 19px; font-weight: 700; line-height: 1.15; }
.sup-round { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 20px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; flex-shrink: 0; }

/* ===== file tiles: База оборудования · Прайс-лист · HTML ===== */
.sup-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.sup-card--file, .sup-card--accent { display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px; min-height: 214px; }
.sup-card--file .jw-btn--icon, .sup-card--accent .jw-btn--icon { margin-bottom: 18px; }
.sup-file__body { flex: 1; }
.sup-card--file .sup-card__desc, .sup-card--accent .sup-card__desc { margin-top: 8px; }
.sup-card--file .jw-btn:not(.jw-btn--icon), .sup-card--accent .jw-btn:not(.jw-btn--icon) { margin-top: 18px; }
.sup-card--accent { background: var(--accent); color: #fff; }
.sup-card--accent .sup-card__title { color: #fff; }
.sup-card__desc--on { color: rgba(255,255,255,.85); }

/* ===== Каталоги и буклеты ===== */
.sup-catalogs { margin-top: 44px; }
.sup-cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.sup-sec-title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; }
.sup-cat-count { font-size: 15px; color: var(--jv-text-muted); }
.sup-cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.sup-cat-card { display: flex; flex-direction: column; text-decoration: none; color: var(--jv-text-primary); transition: transform .2s ease; }
.sup-cat-card[hidden] { display: none; }
.sup-cat-card:hover { transform: translateY(-4px); }
.sup-cat-card__cover { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card);
  aspect-ratio: 230 / 325; border: 1.5px solid var(--card2); }
.sup-cat-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sup-cat-card__badge { position: absolute; left: 10px; top: 10px; height: 24px; padding: 0 10px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.sup-cat-card__dl { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,.92); color: var(--jv-text-primary); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: all .2s ease; }
.sup-cat-card:hover .sup-cat-card__dl { opacity: 1; transform: none; }
.sup-cat-card__title { margin: 12px 0 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sup-cat-more { display: flex; justify-content: center; margin-top: 28px; }
.sup-cat-more[hidden] { display: none; }

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .sup-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .sup-card--brand { grid-column: span 2; grid-row: span 2; }
  .sup-card--catalog { grid-column: span 2; }
  .sup-brand__grid { grid-template-columns: 200px 1fr; }
  .sup-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sup-files { grid-template-columns: 1fr; }
  .sup-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .sup-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sup-card { grid-column: auto !important; grid-row: auto !important; }
  .sup-card--photo { min-height: 340px; }
  .sup-card--brand { min-height: auto; }
  .sup-brand__grid { grid-template-columns: 1fr; }
  .sup-brand__cover { max-width: 260px; }
  .sup-brand__meta { grid-template-columns: 1fr; gap: 20px; }
  .sup-swatches { grid-template-columns: repeat(3, 1fr); }
  .sup-card--catalog { grid-template-columns: 1fr; }
  .sup-cat__covers { justify-content: center; }
}
@media (max-width: 560px) {
  .sup-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
