@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #12141c;
  --navy: #171b2e;
  --muted: #6b7280;
  --line: #d7d9e0;
  --soft: #eceef3;
  --soft-2: #f3f4f8;
  --bg: #ffffff;
  --radius: 22px;
  --radius-lg: 28px;
  --pill: 999px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.h2 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--navy);
}

.btn--outline {
  background: #fff;
  border-color: #2a2f3d;
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.icon-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-round--light {
  background: #fff;
  color: var(--navy);
}

.icon-round--ghost {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
}

.topbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px 0 0;
  pointer-events: none;
}

.topbar-fixed .topbar {
  pointer-events: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: var(--pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-menu[hidden] {
  display: none !important;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 28, 0.45);
}

.site-menu__panel {
  position: absolute;
  top: 16px;
  right: max(16px, calc((100vw - var(--container)) / 2));
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 28px;
  padding: 18px 18px 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 24, 36, 0.08);
}

.site-menu__title {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-menu__links {
  display: grid;
  gap: 4px;
}

.site-menu__links a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 600;
}

body.menu-open {
  overflow: hidden;
}

.b2b-page {
  padding: 100px 0 0;
}

.block {
  padding: 28px 0;
}

.block--tight {
  padding: 10px 0 0;
}

.block .h2 {
  margin: 0 0 18px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}

/* Hero */
.b2b-hero {
  background: var(--navy);
  color: #fff;
  border-radius: 32px;
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 18px;
}

.b2b-hero__top {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 16px;
  align-items: start;
}

.b2b-hero__top h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.b2b-hero__meta {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.95;
}

.b2b-hero__body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.benefit-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 7px 12px;
  flex: 0 0 auto;
}

.benefit-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.benefit-card__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.benefit-card strong {
  display: block;
  margin-bottom: 1px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.benefit-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
}

.b2b-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #2a3148;
  min-height: 0;
  align-self: stretch;
}

.b2b-slider__track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.b2b-slider__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
}

.b2b-slider__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.b2b-hero .b2b-slider {
  /* высота = колонка с benefit-карточками */
  min-height: 0;
}

.b2b-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 1;
}

.b2b-slider__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.b2b-slider__dots button.is-active {
  background: #fff;
  width: 8px;
  height: 8px;
}

.cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin: 0;
}

.logo-slot {
  aspect-ratio: 1.65 / 1;
  border-radius: 12px;
  background: var(--soft);
  position: relative;
}

.logo-slot::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 46%, #c5c9d4 46%, #c5c9d4 54%, transparent 54%),
    linear-gradient(#c5c9d4, #c5c9d4);
  background-position: center;
  background-size: 100% 2px, 42% 32%;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.why-card {
  border-radius: 24px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.why-card--dark {
  background: var(--navy);
  color: #fff;
}

.why-card--light {
  background: var(--soft);
  color: var(--ink);
}

.why-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.why-card__head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.why-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.why-card--dark .why-badge {
  background: #fff;
  color: var(--navy);
}

.why-card--light .why-badge {
  background: var(--navy);
  color: #fff;
}

.why-metrics {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.why-metric {
  margin: 0;
}

.why-metric small {
  display: block;
  margin-bottom: 4px;
  opacity: 0.9;
  font-weight: 600;
  font-size: 1rem;
}

.why-metric strong {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.why-card p {
  margin: auto 0 0;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
}

.why-card--dark .why-stat-label {
  opacity: 0.92;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 1rem;
}

.why-card--dark .why-stat {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.tasks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.task-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.75 / 1;
  background: var(--soft);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.task-card strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  max-width: 85%;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.task-card__go {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 1.1rem;
}

.task-card.is-active {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.task-card.is-active .task-card__go {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.solutions-banner {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.solutions-banner__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 0;
}

.solutions-banner h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  max-width: 18ch;
}

.solutions-banner__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.solutions-banner__bottom p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.95;
}

.solutions-banner .btn {
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  min-height: 52px;
  flex-shrink: 0;
}

.solutions-banner .b2b-slider {
  position: relative;
  min-height: 140px;
  height: auto;
  align-self: stretch;
  border-radius: 18px;
  aspect-ratio: auto;
  max-height: none;
}

.solutions-banner .b2b-slider__slide {
  position: relative;
  min-height: 140px;
}

.solutions-banner .b2b-slider__slide img {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}

.solutions-banner .b2b-slider__dots {
  bottom: 10px;
  gap: 6px;
}

.solutions-banner .b2b-slider__dots button {
  width: 7px;
  height: 7px;
}

.solutions-banner .b2b-slider__dots button.is-active {
  width: 8px;
  height: 8px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.prod-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 0;
  color: #fff;
  display: block;
}

.prod-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.prod-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 20, 28, 0.4), rgba(18, 20, 28, 0.08) 45%, rgba(18, 20, 28, 0.35));
}

.prod-card__label {
  position: relative;
  z-index: 1;
  padding: 18px;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.prod-card__go {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 20, 28, 0.5);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  display: block;
  color: inherit;
  transition: transform 0.2s ease;
}

.work-card:hover {
  transform: translateY(-2px);
}

.work-card:hover img {
  transform: scale(1.02);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: var(--soft);
  transition: transform 0.35s ease;
}

.work-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  line-height: 1.25;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
}

/* —— Case article —— */
.case-page {
  padding: 110px 0 64px;
}

.case-back {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--muted);
}

.case-article {
  max-width: 820px;
}

.case-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-article h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.case-lead {
  margin: 0 0 22px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 18px;
  font-size: 0.95rem;
}

.case-meta strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

.case-hero {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--soft);
}

.case-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-body h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.case-body p {
  margin: 0 0 22px;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.6;
  color: #2a2f3d;
}

.case-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 24, 36, 0.08);
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.reviews-head .h2 {
  margin: 0;
}

.reviews-nav {
  display: flex;
  gap: 8px;
}

.reviews-nav .icon-round {
  width: 38px;
  height: 38px;
}

.reviews-track-wrap {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 14px;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 min(340px, 78vw);
  background: var(--soft);
  border-radius: 20px;
  padding: 18px;
}

.review-card__top {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #111;
}

.review-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.review-card__role {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.review-card__text {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--soft);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 14px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 40px;
  margin-top: 40px;
}

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

.footer__logo {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.socials {
  display: flex;
  gap: 10px;
}

.footer__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.footer__btns .btn {
  padding: 16px 22px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__meta {
  display: grid;
  gap: 12px;
}

.footer__meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__meta-row .icon-round {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}

.footer__legal {
  display: grid;
  gap: 10px;
}

.footer__legal a {
  opacity: 0.92;
  font-size: 0.9rem;
}

.lead-modal[hidden] {
  display: none !important;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 28, 0.55);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 28px;
  padding: 28px 26px;
}

.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.lead-modal h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.lead-modal p {
  margin: 0 0 18px;
  color: var(--muted);
}

.lead-modal form {
  display: grid;
  gap: 12px;
}

.lead-modal label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.lead-modal input,
.lead-modal textarea {
  width: 100%;
  border: 1px solid rgba(20, 24, 36, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f7f8fb;
}

/* —— Catalog B2B —— */
.btn--ghost-dark {
  background: rgba(18, 20, 28, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.cat-hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 340px;
  color: #fff;
}

.cat-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cat-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 28, 0.72) 0%, rgba(18, 20, 28, 0.35) 55%, rgba(18, 20, 28, 0.2) 100%);
}

.cat-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  min-height: 340px;
}

.cat-hero__copy h1 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.cat-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-hero__visual {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  background: rgba(255, 255, 255, 0.08);
}

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

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

.cat-head .h2 {
  margin: 0;
}

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

.cat-crumb {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.cat-chips,
.cat-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-chip,
.cat-filter {
  border: 0;
  background: var(--soft);
  color: var(--ink);
  border-radius: var(--pill);
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.cat-chip.is-active {
  background: var(--navy);
  color: #fff;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 20px;
  background: var(--soft);
  font-weight: 600;
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

.b2b-modal[hidden] {
  display: none;
}

.b2b-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.b2b-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.5);
}

.b2b-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1020px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  padding: 36px 40px 32px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 22, 46, 0.2);
}

.b2b-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 28, 54, 0.15);
  border-radius: 50%;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
}

.b2b-modal__title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.b2b-modal__grid {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 28px;
  align-items: start;
}

.b2b-modal__col-photo {
  position: sticky;
  top: 0;
}

.b2b-modal__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
}

.b2b-modal__media img {
  display: block;
  width: 100%;
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
}

.b2b-modal__nav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.b2b-modal__nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.b2b-modal__col-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.b2b-modal__col-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 140px;
}

.b2b-modal__fav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(21, 28, 54, 0.15);
  background: #fff;
  color: #ef6b7a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.b2b-modal__fav.is-active {
  background: #fff2f4;
  border-color: rgba(239, 107, 122, 0.35);
}

.b2b-modal__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.b2b-modal__price strong {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.b2b-modal__price span {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.92rem;
}

.b2b-modal__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.b2b-modal__label {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}

.b2b-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b2b-modal__tiers {
  display: flex;
  gap: 8px;
}

.b2b-modal__tag,
.b2b-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 12px;
  background: #d9d9de;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}

.b2b-modal__tag {
  border: 0;
  cursor: pointer;
}

.b2b-modal__tier {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 12px 18px 10px;
  border: 0;
  border-radius: 14px;
  background: #a9a9ab;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
}

.b2b-modal__tier-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  padding: 3px 10px 4px;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08);
}

.b2b-modal__tier-label {
  display: block;
}

.b2b-modal__tag.is-active,
.b2b-modal__tier.is-active {
  background: var(--navy);
}

.b2b-modal__copy {
  margin: 0;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}

.b2b-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.b2b-modal__badge {
  min-height: 30px;
  border-radius: 999px;
  background: #f1f1f4;
  color: var(--ink);
  font-size: 0.82rem;
}

.b2b-modal__sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.b2b-modal__sample input {
  accent-color: var(--navy);
}

.b2b-modal__textarea {
  width: 100%;
  min-height: 96px;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--soft);
  resize: vertical;
  font: inherit;
}

.b2b-modal__content > .btn {
  width: 100%;
  justify-content: center;
}

.b2b-product__media {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
}

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

.b2b-product h3 {
  margin: 12px 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.b2b-product__price {
  margin: 0 0 12px;
  font-weight: 800;
}

.b2b-product__actions {
  display: grid;
  gap: 8px;
}

.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cat-pagination button {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--soft);
  cursor: pointer;
  font-weight: 700;
}

.cat-pagination button.is-active {
  background: var(--navy);
  color: #fff;
}

.sol-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 120px;
  margin-bottom: 14px;
  padding: 24px 28px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sol-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 28, 0.72), rgba(18, 20, 28, 0.35));
}

.sol-banner strong,
.sol-banner .btn {
  position: relative;
  z-index: 1;
}

.sol-banner strong {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
}

.doc-list {
  display: grid;
  gap: 12px;
}

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--soft);
  border-radius: 20px;
  font-weight: 600;
}

.about-band {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0;
  background: var(--soft);
  border-radius: 28px;
  overflow: hidden;
  align-items: stretch;
}

.about-band__photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.about-band__text {
  padding: 28px 26px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.about-band__text p {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

/* —— Account B2B —— */
.account-page {
  padding: 110px 0 80px;
  min-height: 100vh;
}

.account-page__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.account-badge {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-page__lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px;
  background: var(--soft);
  border-radius: 22px;
}

.account-tabs__item {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--pill);
  font-weight: 600;
}

.account-tabs__item.is-active {
  background: var(--navy);
  color: #fff;
}

.account-panel__head {
  margin-bottom: 22px;
}

.account-panel__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
}

.account-panel__sub {
  margin: 0;
  color: var(--muted);
}

.orders-list {
  display: grid;
  gap: 12px;
}

.order-card {
  padding: 18px 20px;
  background: var(--soft);
  border-radius: 20px;
}

.order-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.order-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 500;
}

.order-card__price {
  color: var(--ink) !important;
  font-weight: 700 !important;
}

.order-card__status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.order-card__status--soft {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.account-actions {
  margin-top: 18px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fav-card {
  background: var(--soft);
  border-radius: 22px;
  padding: 14px;
}

.fav-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: #fff;
}

.fav-card h3 {
  margin: 12px 0 4px;
  font-size: 1rem;
}

.fav-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
}

.company-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--soft);
  border-radius: 22px;
}

.company-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 24, 36, 0.08);
}

.company-card__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.company-card__row span {
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 980px) {
  .b2b-hero__top,
  .why-grid,
  .works-grid,
  .cat-grid,
  .account-grid,
  .about-band {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-hero__body,
  .cat-hero__content {
    grid-template-columns: 1fr;
  }

  .b2b-hero .b2b-slider {
    min-height: 220px;
    height: 220px;
  }

  .tasks-grid {
    grid-template-columns: 1fr 1fr;
  }

  .task-card {
    aspect-ratio: 1.7 / 1;
    min-height: 100px;
  }

  .solutions-banner {
    grid-template-columns: 1.2fr 1fr;
  }

  .logo-row {
    grid-template-columns: repeat(5, 1fr);
  }

  .prod-grid {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-modal__grid {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-modal__col-photo {
    grid-row: 1 / 3;
  }

  .b2b-modal__col-price {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar .btn--outline {
    display: none;
  }

  .b2b-hero__top,
  .b2b-hero__body,
  .why-grid,
  .solutions-banner,
  .tasks-grid,
  .works-grid,
  .prod-grid,
  .footer__btns,
  .cat-grid,
  .account-grid,
  .about-band,
  .cat-hero__content {
    grid-template-columns: 1fr;
  }

  .b2b-hero .b2b-slider {
    min-height: 200px;
    height: 200px;
  }

  .task-card {
    aspect-ratio: auto;
    min-height: 96px;
  }

  .solutions-banner .b2b-slider {
    min-height: 120px;
    aspect-ratio: 2.4 / 1;
  }

  .solutions-banner .btn {
    width: 100%;
  }

  .b2b-hero__meta {
    text-align: left;
  }

  .logo-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .b2b-modal {
    padding: 12px;
  }

  .b2b-modal__dialog {
    padding: 20px;
    border-radius: 24px;
  }

  .b2b-modal__title {
    font-size: 2rem;
  }

  .b2b-modal__grid {
    grid-template-columns: 1fr;
  }

  .b2b-modal__col-price {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}
