/* MVP: фитнес-оборудование B2B / B2C — светлая тема */
:root {
  --bg: #f4f6f9;
  --bg-subtle: #eef1f6;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --border: rgba(20, 30, 45, 0.1);
  --border-strong: rgba(20, 30, 45, 0.16);
  --text: #141820;
  --text-muted: #5c6675;
  --accent: #ea580c;
  --accent-dim: #c2410c;
  --accent-glow: rgba(234, 88, 12, 0.22);
  --secondary: #1f6f5f;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --shadow-sm: 0 1px 3px rgba(20, 30, 45, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 30, 45, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Layout */
.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: clamp(48px, 6vw, 88px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 56px);
}

.section__heading {
  max-width: 640px;
  margin-bottom: 28px;
}

.section__heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section__badge::before {
  content: "";
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.grid-2 {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(14px, 2vw, 24px);
  padding-block: 10px;
}

/* Мобилка: скрытый .nav выпадает из сетки — оставляем 2 явные колонки: логотип ↔ действия по краям */
@media (max-width: 1199px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .site-header__inner .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    padding-inline-end: 0;
  }

  /* Таблетка действий прижимается к правому краю shell */
  .site-header__inner .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 8px;
  }

  /* Короче текст кнопки — помещается на узкой ширине */
  .site-header .header-actions .btn--primary.btn--sm {
    padding-inline: 10px;
    font-size: 11px;
  }
}

/* Десктоп: одна строка — логотип · меню (к правому краю) · действия */
@media (min-width: 1200px) {
  :root {
    --header-h: 72px;
  }

  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: clamp(14px, 2vw, 28px);
    row-gap: 0;
    padding-block: 10px;
    min-height: unset;
  }

  .site-header__inner .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header__inner .nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    min-width: 0;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 4px;
    column-gap: 2px;
  }

  .site-header__inner .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding-inline-start: clamp(12px, 2vw, 18px);
    margin-inline-start: 0;
    border-inline-start: 1px solid var(--border);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  padding-inline-end: 4px;
}

.nav {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
}

@media (min-width: 1200px) {
  .nav {
    display: flex;
  }
}

/* При необходимости чуть плотнее пункты на узком десктопе */
@media (min-width: 1200px) and (max-width: 1399px) {
  .nav__link,
  .nav__dropdown-toggle {
    padding: 6px 8px;
    font-size: 11px;
  }
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 9px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--text);
  background: rgba(20, 30, 45, 0.06);
}

.nav__dropdown {
  position: relative;
  flex-shrink: 0;
}

/* «Мост»: курсор не проваливается между кнопкой и панелью */
.nav__dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  display: none;
}

.nav__dropdown:hover::after,
.nav__dropdown:focus-within::after {
  display: block;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  padding: 8px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

a.nav__dropdown-toggle:link,
a.nav__dropdown-toggle:visited {
  color: var(--text-muted);
  text-decoration: none;
}

.nav__dropdown-toggle:hover {
  color: var(--text);
  background: rgba(20, 30, 45, 0.06);
}

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 236px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.nav__dropdown:hover .nav__dropdown-panel,
.nav__dropdown:focus-within .nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-panel a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav__dropdown-panel a:hover {
  background: rgba(20, 30, 45, 0.06);
  color: var(--text);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .header-actions .btn {
    flex-shrink: 0;
  }

  .header-actions .btn--sm {
    padding-inline: 12px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, #fb923c, var(--accent-dim));
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 10px 32px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: rgba(20, 30, 45, 0.04);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(234, 88, 12, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), rgba(244, 246, 249, 0.88));
  box-shadow:
    0 2px 8px rgba(15, 22, 32, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.menu-toggle:hover {
  border-color: rgba(234, 88, 12, 0.55);
  box-shadow:
    0 4px 14px rgba(234, 88, 12, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.menu-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow:
    0 4px 16px rgba(234, 88, 12, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.92) inset;
}
@media (min-width: 1200px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 17px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    translate 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 104;
  background: rgba(9, 15, 25, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1200px) {
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* Мобильное меню: панель снизу + скролл */
@media (max-width: 1199px) {
  .mobile-nav-backdrop.is-visible {
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 28px);
    max-width: 520px;
    margin: 0;
    max-height: min(560px, calc(100dvh - var(--header-h) - 44px));
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(240, 244, 250, 0.98));
    box-shadow:
      0 -8px 40px rgba(8, 16, 28, 0.18),
      0 28px 64px rgba(8, 16, 28, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
    z-index: 106;
    overflow: hidden;
    transform: translate(-50%, 118%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.26s ease,
      visibility 0.26s ease;
  }

  .mobile-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    opacity: 1;
    box-shadow:
      0 -8px 40px rgba(8, 16, 28, 0.18),
      0 28px 64px rgba(8, 16, 28, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .mobile-nav:not(.is-open) {
    /* остаёмся поверх документа, но недоступны */
    user-select: none;
  }

  .mobile-nav__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 14px;
    flex-shrink: 0;
    background: rgba(250, 252, 255, 0.96);
    border-bottom: 1px solid rgba(17, 22, 32, 0.08);
  }

  .mobile-nav__title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-dim);
  }

  .mobile-nav__close-btn {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: rgba(17, 22, 32, 0.06);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: var(--text);
    transition: background 0.15s;
  }

  .mobile-nav__close-btn:hover {
    background: rgba(17, 22, 32, 0.1);
  }

  .mobile-nav__call-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 14px 12px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    background:
      linear-gradient(rgba(31, 111, 95, 0.12), rgba(234, 88, 12, 0.08)),
      rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(17, 22, 32, 0.08);
  }

  .mobile-nav__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 6px calc(14px + env(safe-area-inset-bottom));
    scrollbar-width: thin;
  }

  .mobile-nav a:not(.mobile-nav__call-strip),
  .mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    margin: 4px 8px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: var(--text);
    transition: border-color 0.15s, background 0.15s;
  }

  .mobile-nav a:not(.mobile-nav__call-strip):active,
  .mobile-nav summary:active {
    background: rgba(17, 22, 32, 0.05);
  }

  /* стрелка у раскрывающихся разделов */
  .mobile-nav summary::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(17, 22, 32, 0.35);
    border-bottom: 2px solid rgba(17, 22, 32, 0.35);
    transform: rotate(45deg);
    margin-left: 10px;
    transition: transform 0.2s ease;
  }

  details[open] > summary::after {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .mobile-nav details > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 8px 4px;
    padding-left: 28px;
    border-radius: 12px;
  }

  .mobile-nav details {
    margin-bottom: 2px;
  }

  /* убираем старый «линейный» стиль между пунктами — разделитель только у details */
  .mobile-nav a:not(.mobile-nav__call-strip),
  .mobile-nav summary {
    border-bottom: none;
  }

  .mobile-nav details a {
    border-bottom: none;
  }

  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  html.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open {
    touch-action: none;
  }

  body.mobile-menu-open .site-header {
    z-index: 105;
  }
}

/* Десктоп: инлайновый drawer не используем */
@media (min-width: 1200px) {
  .mobile-nav {
    display: none !important;
  }

  html.mobile-menu-open {
    overflow: unset;
  }
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(56px, 10vw, 100px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% -10%, rgba(234, 88, 12, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 50% at 0% 85%, rgba(31, 111, 95, 0.1), transparent 52%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, #ffffff 0%, var(--bg-subtle) 100%);
  box-shadow: var(--shadow-md);
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.hero-visual__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.35) 45%, transparent 100%);
}

.hero-visual__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(20, 30, 45, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 30, 45, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-visual__card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-visual__card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual__card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--accent);
  border: 1px solid rgba(234, 88, 12, 0.22);
}

/* Cards */
.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__media {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(31, 111, 95, 0.12), rgba(244, 246, 249, 0.9)),
    linear-gradient(to bottom right, #e8ecf2, #f4f6f9);
}

.card__body {
  padding: 18px 18px 20px;
}

.card__meta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--secondary);
  margin-bottom: 8px;
}

.card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.card__text {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.card__link:hover {
  text-decoration: underline;
}

/* Category tree (Rogue-style depth) */
.cat-tree {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .cat-tree {
    grid-template-columns: 280px 1fr;
  }
}

.cat-tree__nav {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: 16px;
  height: calc(100vh - 120px);
  position: sticky;
  top: calc(var(--header-h) + 16px);
  overflow: auto;
}

@media (max-width: 900px) {
  .cat-tree__nav{
    height: fit-content;
    position: static;
  }
}

.cat-tree__nav h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.cat-tree__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-tree__nav li {
  margin-bottom: 2px;
}

.cat-tree__nav a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.cat-tree__nav a:hover,
.cat-tree__nav a.is-active {
  background: rgba(20, 30, 45, 0.06);
  color: var(--text);
}

.cat-tree__hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.cat-tree__nav ul ul {
  margin: 4px 0 14px 8px;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: 2px solid rgba(234, 88, 12, 0.2);
}

.cat-tree__nav > ul > li > a {
  font-weight: 700;
  color: var(--text);
}

.cat-tree__nav ul ul a {
  font-weight: 500;
  font-size: 12px;
  padding: 5px 10px;
}

.cat-tree__sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cat-block {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.cat-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cat-block__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.subcat-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .subcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .subcat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.subcat-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 13px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.subcat-item:hover {
  border-color: rgba(234, 88, 12, 0.38);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(15, 28, 45, 0.08);
  transform: translateY(-2px);
}

.subcat-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.subcat-item__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 111, 95, 0.08), rgba(234, 88, 12, 0.05)),
    var(--bg-subtle);
}

.subcat-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.subcat-item:hover .subcat-item__media img {
  transform: scale(1.05);
}

.subcat-item__body {
  padding: 13px 15px 15px;
}

.subcat-item__body small {
  display: block;
  margin-top: 5px;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Каталог: раздел → категория → товары */
.cat-block__lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.55;
  font-size: 14px;
}

.cat-category {
  margin-bottom: clamp(28px, 4vw, 44px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.cat-category:last-child {
  margin-bottom: 0;
}

.cat-category__head {
  margin-bottom: 14px;
}

.cat-category__title {
  margin: 0 0 8px;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cat-category__lead {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.5;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.product-tile:hover {
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 14px 36px rgba(15, 28, 45, 0.09);
  transform: translateY(-3px);
}

.product-tile:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-tile__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-tile__media-link:focus-visible {
  outline: none;
}

.product-tile__media-link:focus-visible .product-tile__media {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.product-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
}

.product-tile__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border: 1px solid rgba(17, 22, 32, 0.08);
  box-shadow: 0 3px 10px rgba(12, 22, 38, 0.08);
}

.product-badge--hit {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-color: rgba(234, 88, 12, 0.35);
  color: #9a3412;
}

.product-badge--new {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: rgba(16, 185, 129, 0.35);
  color: #065f46;
}

.product-badge--premium {
  background: linear-gradient(135deg, #fefce8, #fef08a);
  border-color: rgba(202, 138, 4, 0.35);
  color: #713f12;
}

.product-badge--commercial {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: rgba(59, 130, 246, 0.35);
  color: #1e40af;
}

.product-badge--stock {
  background: rgba(22, 163, 74, 0.95);
  border-color: rgba(21, 128, 61, 0.45);
  color: #fff;
}

.product-badge--order-label {
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
  border-color: rgba(37, 99, 235, 0.32);
  color: #1d4ed8;
}

.product-tile__stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.product-stock {
  font-size: 11px;
  font-weight: 700;
}

.product-stock-meta {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

.product-stock--in {
  color: #15803d;
}

.product-stock--few {
  color: #c2410c;
}

.product-stock--order {
  color: #2563eb;
}

.product-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-tile:hover .product-tile__media img {
  transform: scale(1.05);
}

.product-tile__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tile__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.product-tile__title a {
  color: inherit;
  text-decoration: none;
}

.product-tile__title a:hover {
  color: var(--accent-dim);
}

.product-tile__vendor {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
}

.product-tile__specs {
  margin: 0 0 14px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  display: grid;
  gap: 8px;
}

.product-tile__specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  font-size: 11px;
  line-height: 1.35;
}

.product-tile__specs dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.product-tile__specs dd {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.product-tile__buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-tile__prices {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.product-tile__price {
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.product-tile__price-old {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-tile__price--muted {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-muted);
}

.product-tile__price-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
}

.product-tile__buy {
  flex-shrink: 0;
}

.product-tile__name {
  display: block;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
}

.product-tile__meta {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Product page */
.product-layout {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product-gallery {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  background: var(--bg-subtle);
  overflow: hidden;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}

.thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
  background: var(--bg-subtle);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
}

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-head__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.product-rating__stars {
  letter-spacing: 1px;
  color: #f59e0b;
  font-size: 14px;
  line-height: 1;
}

.product-rating__score {
  font-weight: 800;
  color: var(--text);
}

.product-rating__count {
  font-size: 12px;
}

.product-sku {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.product-buy-card {
  padding: 18px 18px 16px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 960px) {
  .product-buy-card {
    position: sticky;
    top: calc(var(--header-h) + 14px);
    z-index: 2;
  }
}

.product-buy-card__stock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-buy-card__stock .product-stock-meta {
  font-size: 12px;
}

.product-buy-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 10px;
}

.product-buy-card__price-current {
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.1;
}

.product-buy-card__price-old {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-buy-card__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.product-buy-card__finance {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(31, 111, 95, 0.28);
  background: rgba(31, 111, 95, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
}

.product-buy-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.product-buy-card__cta .btn {
  flex: 1 1 auto;
  min-width: min(160px, 100%);
}

.product-trust-list {
  margin: 0;
  padding: 14px 14px 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.product-trust-list li {
  margin-bottom: 8px;
}

.product-trust-list strong {
  color: var(--text);
  font-weight: 700;
}

.product-buy-card__footnote {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.product-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 24px;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table td {
  padding: 10px 0;
}

.spec-table td:first-child {
  color: var(--text-muted);
  width: 45%;
}

.bullets {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.bullets li {
  margin-bottom: 8px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Timeline / процесс */
.timeline {
  display: grid;
  gap: 0;
}

@media (min-width: 800px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}

.timeline-step {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 799px) {
  .timeline-step {
    margin-bottom: 12px;
  }
}

.timeline-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.timeline-step h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.timeline-step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Downloads */
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.file-row__name {
  font-weight: 700;
  font-size: 14px;
}

.file-row__meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Cases */
.case-card__media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(125deg, #dce3ea, #c5ced9 42%, #e8ecf1);
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  padding: 16px;
}

.case-card__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Filters bar (catalog listing) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.chip:hover,
.chip.is-on {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(234, 88, 12, 0.08);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 48px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-subtle) 100%);
}

.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* Page header */
.page-hero {
  padding-block: 40px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 72%);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Contact */
.form-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 18px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.35;
  min-height: 2.75em;
}

.field .required {
  color: var(--accent);
  font-weight: 800;
}

.premium-sport-brief-form__hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.premium-sport-brief-messages:empty {
  display: none;
}

.field input,
.field textarea,
.field select {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  line-height: 1.45;
}

.field input,
.field select {
  height: 46px;
  min-height: 46px;
  box-sizing: border-box;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}

.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

.field select::-ms-expand {
  display: none;
}

.field--full {
  grid-column: 1 / -1;
}

/* Бриф на контактах: кнопка на всю ширину карточки, ровная сетка полей */
#brief.card .btn--primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.notice {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(45, 125, 107, 0.35);
  background: rgba(45, 125, 107, 0.1);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Comparison / segment split */
.segment-split {
  display: grid;
  gap: 20px;
}
@media (min-width: 880px) {
  .segment-split {
    grid-template-columns: 1fr 1fr;
  }
}

.segment {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.segment--b2c {
  background:
    radial-gradient(ellipse at 92% -20%, rgba(234, 88, 12, 0.18), transparent 58%),
    var(--surface);
}

.segment--b2b {
  background:
    radial-gradient(ellipse at 92% -20%, rgba(31, 111, 95, 0.12), transparent 58%),
    var(--surface);
}

.segment h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.segment p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.segment ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.segment.segment-photo {
  padding: 0;
  overflow: hidden;
}

/* --- Иконки, медиа, инфографика --- */
.ico {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--secondary);
}

.ico--muted {
  color: var(--text-muted);
}

.ico--accent {
  color: var(--accent-dim);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.hero-stat__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.hero-stat__ico {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(31, 111, 95, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-stat__ico .ico {
  width: 1.35rem;
  height: 1.35rem;
}

.hero-stat__text span {
  display: block;
}

.segment-photo__media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  overflow: hidden;
}

.segment-photo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-photo__body {
  padding: 22px 24px 24px;
}

.card__media-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card__media-img img {
  transform: scale(1.04);
}

.file-row__start {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.file-row__badge {
  width: 46px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.file-row__badge .ico {
  width: 1.65rem;
  height: 1.65rem;
}

.page-banner {
  aspect-ratio: 21 / 6;
  min-height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-strip {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.brand-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  padding-block: 20px;
}

.brand-strip__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}
@media (min-width: 720px) {
  .brand-strip__label {
    width: auto;
    text-align: left;
    margin-right: 8px;
  }
  .brand-strip__inner {
    justify-content: flex-start;
  }
}

.brand-pill {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

.infographic-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .infographic-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.chart-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  height: 100%;
}

.chart-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.chart-card__sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.mini-bars__row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

.mini-bars__row:last-child {
  margin-bottom: 0;
}

.mini-bars__track {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.mini-bars__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), #3daa92);
}

.chart-visual-row {
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 520px) {
  .chart-visual-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.stacked-strip {
  display: flex;
  height: 22px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stacked-strip > span {
  min-width: 4px;
}

.chart-legend {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.chart-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-legend__swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  flex-shrink: 0;
}

.notice-visual {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.notice-visual .ico-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(31, 111, 95, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.timeline-step__icon {
  margin-bottom: 6px;
}

.timeline-step__icon .ico {
  width: 1.35rem;
  height: 1.35rem;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact-line .ico {
  width: 1.2rem;
  height: 1.2rem;
}

.mini-bars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

button.thumb:focus-visible,
a.thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button.thumb {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  appearance: none;
  border-radius: var(--radius-sm);
}

.product-gallery__thumbs a.thumb {
  display: block;
}

/* Карта сайта */
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-list > li {
  margin-bottom: 14px;
}

.sitemap-list a {
  font-weight: 600;
}

.sitemap-file {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.sitemap-sublist {
  margin: 8px 0 0 18px;
  padding: 0;
  list-style: disc;
  color: var(--text-muted);
  font-size: 14px;
}

.sitemap-sublist a {
  font-weight: 500;
}

.sitemap-tech {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.sitemap-tech code {
  font-size: 12px;
}

/* ========== Главная: новый макет (вариант для согласования) ========== */
.btn--ghost.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost.btn--on-dark:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.home-hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 88px) clamp(40px, 6vw, 64px);
  color: #fff;
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 42%, #0c1222 100%);
  z-index: 0;
}

.home-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 100% 0%, rgba(234, 88, 12, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(31, 111, 95, 0.28), transparent 50%);
  pointer-events: none;
}

.home-hero__bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}

@media (min-width: 960px) {
  .home-hero__inner {
    grid-template-columns: 1fr minmax(280px, 0.95fr);
    gap: 48px;
  }
}

.home-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.home-hero__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.home-hero__lead {
  margin: 0 0 26px;
  font-size: 1.06rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
  max-width: 34rem;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-hero__facts strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-hero__facts span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.62);
}

@media (max-width: 520px) {
  .home-hero__facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.home-hero__media {
  position: relative;
}

.home-hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  aspect-ratio: 4/3;
}

.home-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero__float {
  position: absolute;
  bottom: -12px;
  left: -8px;
  right: 16px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (max-width: 959px) {
  .home-hero__float {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    max-width: none;
    margin-top: -36px;
    margin-inline: 16px;
  }
}

.home-hero__float h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.home-hero__float p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.home-brands {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.home-brands__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.55);
  width: 100%;
}

@media (min-width: 640px) {
  .home-brands__label {
    width: auto;
    margin-right: 8px;
  }
}

.home-brands__pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 250, 252, 0.92);
}

.home-quick {
  padding-block: clamp(28px, 4vw, 44px);
}

.home-quick__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) {
  .home-quick__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .home-quick__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.home-quick__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  min-height: 100%;
}

.home-quick__link:hover {
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-quick__link .ico {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent-dim);
}

.home-quick__hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-audiences__grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 880px) {
  .home-audiences__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-aud-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-aud-card__top {
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.home-aud-card__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-aud-card__body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-aud-card__body p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.home-aud-card__body ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.home-aud-card__body ul li {
  margin-bottom: 6px;
}

.home-split-band {
  background: linear-gradient(180deg, var(--bg-subtle), var(--bg));
  border-block: 1px solid var(--border);
}

.home-split-band__inner {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .home-split-band__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
  }
}

.home-quote {
  margin: 0;
  padding: 0;
}

.home-quote p {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.home-quote footer {
  font-size: 13px;
  color: var(--text-muted);
}

.home-kpis {
  display: grid;
  gap: 12px;
}

.home-kpi {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-kpi strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.home-kpi span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
