/*
 * Distributor route — premium Russian B2B presentation.
 * The page is a procurement matrix: assortment, regional profile, replenishment
 * and delivery responsibility should read as one decision path.
 */
.distributor-partner-page {
  --dist-ink: #0b1a25;
  --dist-ink-soft: #29424b;
  --dist-copper: #c9692f;
  --dist-copper-dark: #a64f22;
  --dist-teal: #2f756b;
  --dist-slate: #536b79;
  --dist-paper: #fbfaf7;
  --dist-warm: #f3ede5;
  --dist-mist: #eaf2ef;
  --dist-line: #ddd6ce;
  --dist-muted: #62727c;
  --dist-shadow: 0 18px 42px rgba(11, 26, 37, .11);
  --dist-shadow-lift: 0 28px 70px rgba(11, 26, 37, .16);
  color: var(--dist-ink);
  background: var(--dist-paper);
}

.distributor-partner-page .breadcrumb-wrap {
  background: #f6f1eb;
  border-bottom-color: rgba(221, 214, 206, .92);
}

/* A dark, operational hero differentiates the distributor route from the
   lighter dealer route while keeping the same brand system. */
.distributor-partner-page .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  padding: clamp(74px, 8vw, 118px) 0 90px !important;
  background:
    radial-gradient(circle at 89% 8%, rgba(201, 105, 47, .32), transparent 27%),
    radial-gradient(circle at 22% 118%, rgba(47, 117, 107, .28), transparent 46%),
    linear-gradient(118deg, #0a1721 0%, #122b35 54%, #1f4b4b 100%) !important;
  border-bottom: 4px solid var(--dist-copper);
}

.distributor-partner-page .page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .82) 60%, transparent 100%);
}

.distributor-partner-page .page-hero::after {
  content: "D";
  position: absolute;
  z-index: -1;
  right: 7%;
  bottom: -110px;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(17rem, 30vw, 28rem);
  font-weight: 900;
  letter-spacing: -.16em;
  line-height: 1;
}

.distributor-partner-page .page-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.distributor-partner-page .page-hero .hero-badges {
  gap: 10px;
  margin-bottom: 24px !important;
}

body.distributor-partner-page[data-page-kind="partner-distributor"] .page-hero .hero-badge {
  color: rgba(247, 250, 250, .94);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}

.distributor-partner-page .page-hero h1 {
  max-width: 1000px;
  color: #fff !important;
  font-size: clamp(2.25rem, 4.8vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.distributor-partner-page .page-hero .hero-sub {
  max-width: 730px;
  color: rgba(241, 245, 246, .84) !important;
  font-size: clamp(1rem, 1.28vw, 1.12rem);
  line-height: 1.76;
}

.distributor-partner-page .page-hero .btn-primary-jbss {
  background: var(--dist-copper) !important;
  border-color: var(--dist-copper) !important;
  box-shadow: 0 12px 28px rgba(201, 105, 47, .33);
}

.distributor-partner-page .page-hero .btn-primary-jbss:hover {
  background: var(--dist-copper-dark) !important;
  border-color: var(--dist-copper-dark) !important;
  transform: translateY(-2px);
}

body.distributor-partner-page[data-page-kind="partner-distributor"] .page-hero .btn-tg {
  color: #fff;
  border-color: rgba(255, 255, 255, .40);
  background: rgba(255, 255, 255, .045);
}

body.distributor-partner-page[data-page-kind="partner-distributor"] .page-hero .btn-tg:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .66);
}

/* Channel proof: the image is framed as warehouse/packaging evidence, not a
   generic decorative banner. */
.distributor-partner-page .b2b-visual-brief {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 7vw, 96px) 0 !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(47, 117, 107, .12), transparent 31%),
    linear-gradient(135deg, #edf2ef 0%, #f7f4ef 58%, #f1e7dc 100%);
  border-bottom: 1px solid var(--dist-line);
}

.distributor-partner-page .b2b-visual-brief::after {
  content: "";
  position: absolute;
  right: -155px;
  top: 54px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(201, 105, 47, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(201, 105, 47, .035);
}

.distributor-partner-page .b2b-visual-brief > .container { position: relative; z-index: 1; }

.distributor-partner-page .b2b-visual-brief .brief-grid {
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.distributor-partner-page .b2b-visual-brief .brief-copy { max-width: 650px; }

.distributor-partner-page .b2b-visual-brief .brief-copy h2 {
  max-width: 640px;
  margin-bottom: 14px;
  color: var(--dist-ink);
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  line-height: 1.10;
  letter-spacing: -.035em;
}

.distributor-partner-page .b2b-visual-brief .brief-copy > p {
  max-width: 590px;
  color: var(--dist-muted);
  line-height: 1.78;
}

.distributor-partner-page .b2b-visual-brief .brief-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.distributor-partner-page .b2b-visual-brief .brief-points li {
  min-height: 60px;
  padding: 16px 15px 16px 35px;
  border: 1px solid rgba(221, 214, 206, .90);
  border-radius: 12px;
  background: rgba(255, 255, 255, .70);
  color: var(--dist-ink-soft);
  line-height: 1.45;
  box-shadow: 0 8px 18px rgba(11, 26, 37, .04);
}

.distributor-partner-page .b2b-visual-brief .brief-points li::before {
  left: 15px;
  top: 21px;
  width: 8px;
  height: 8px;
  background: var(--dist-teal);
  box-shadow: 0 0 0 4px rgba(47, 117, 107, .10);
}

.distributor-partner-page .b2b-visual-brief .visual-placeholder.visual-image {
  position: relative;
  min-height: 0;
  aspect-ratio: 2 / 1;
  border: 1px solid rgba(201, 105, 47, .42);
  border-radius: 22px;
  background: #eef2ef;
  box-shadow: var(--dist-shadow-lift);
}

.distributor-partner-page .b2b-visual-brief .visual-placeholder.visual-image::before {
  content: "ДОКАЗАТЕЛЬСТВО ДИСТРИБУЦИИ";
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 26, 37, .74);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .10em;
}

.distributor-partner-page .b2b-visual-brief .visual-placeholder.visual-image img {
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transition: transform .45s ease;
}

.distributor-partner-page .b2b-visual-brief .visual-placeholder.visual-image:hover img { transform: scale(1.025); }

/* Matrix section: turn the comparison table into the primary commercial
   instrument, with a clear header and readable row rhythm. */
.distributor-partner-page .b2b-visual-brief + section.section-pad {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 112px) 0 !important;
  background: #fff;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad::before {
  content: "01";
  position: absolute;
  right: 7%;
  top: 42px;
  color: rgba(47, 117, 107, .075);
  font-size: clamp(7rem, 15vw, 13rem);
  font-weight: 900;
  letter-spacing: -.12em;
  line-height: 1;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad > .container { position: relative; z-index: 1; }

.distributor-partner-page .b2b-visual-brief + section.section-pad .section-head {
  max-width: 820px;
  margin-bottom: 40px;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .section-title {
  max-width: 840px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .section-sub {
  max-width: 720px;
  color: var(--dist-muted);
  line-height: 1.72;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .table-wrap {
  overflow: hidden;
  border: 1px solid var(--dist-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--dist-shadow);
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .98rem;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table thead th {
  padding: 17px 20px;
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, #17424a, #2f756b);
  font-weight: 800;
  text-align: left;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table thead th:first-child { border-radius: 14px 0 0 0; }
.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table thead th:last-child { border-radius: 0 14px 0 0; }

.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody th,
.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody td {
  padding: 19px 20px;
  border-top: 1px solid rgba(221, 214, 206, .88);
  color: var(--dist-ink-soft);
  line-height: 1.52;
  vertical-align: middle;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody th {
  width: 24%;
  color: var(--dist-ink);
  font-weight: 800;
}

.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody tr:nth-child(even) th,
.distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody tr:nth-child(even) td { background: #fbfaf7; }

/* Distribution workflow: steps and the party confirmation card share a
   common warm/teal surface so the user reads them as one workflow. */
.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 !important;
  background:
    radial-gradient(circle at 93% 0%, rgba(201, 105, 47, .16), transparent 32%),
    linear-gradient(135deg, var(--dist-warm) 0%, #f9f7f2 58%, var(--dist-mist) 100%);
  border-top: 1px solid var(--dist-line);
  border-bottom: 1px solid var(--dist-line);
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process)::before {
  content: "02";
  position: absolute;
  right: 7%;
  top: 42px;
  color: rgba(201, 105, 47, .08);
  font-size: clamp(7rem, 15vw, 13rem);
  font-weight: 900;
  letter-spacing: -.12em;
  line-height: 1;
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) > .container { position: relative; z-index: 1; }
.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .row { align-items: stretch !important; }

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .label-tag,
.distributor-partner-page section.section-pad:has(.responsibility-panel) .label-tag {
  color: var(--dist-copper-dark);
  background: #f7e9df;
  border: 1px solid rgba(201, 105, 47, .18);
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .section-title {
  max-width: 760px;
  font-size: clamp(2rem, 3.35vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .steps-list { padding-top: 8px; }

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .step-item {
  position: relative;
  gap: 16px;
  margin-bottom: 24px;
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: -24px;
  left: 21px;
  width: 1px;
  background: rgba(201, 105, 47, .40);
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, var(--dist-copper), var(--dist-copper-dark));
  box-shadow: 0 8px 18px rgba(201, 105, 47, .24);
}

.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .step-content { padding: 3px 0 2px; }
.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .step-content h4 { color: var(--dist-ink); margin-bottom: 4px; }
.distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process) .step-content p { color: var(--dist-muted); line-height: 1.62; }

.distributor-partner-page .distributor-confirmation {
  position: relative;
  height: 100%;
  padding: 30px 30px 26px;
  border: 1px solid rgba(47, 117, 107, .28);
  border-top: 4px solid var(--dist-teal);
  border-radius: 18px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--dist-shadow);
}

.distributor-partner-page .distributor-confirmation h3 {
  color: var(--dist-ink);
  font-size: 1.18rem;
  letter-spacing: -.02em;
}

.distributor-partner-page .distributor-confirmation .confirmation-group + .confirmation-group {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid rgba(221, 214, 206, .90);
}

.distributor-partner-page .distributor-confirmation .confirmation-group h4 {
  margin-bottom: 12px;
  color: var(--dist-slate);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.distributor-partner-page .distributor-confirmation .icon-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.distributor-partner-page .distributor-confirmation .icon-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--dist-ink-soft);
  line-height: 1.48;
}

.distributor-partner-page .distributor-confirmation .il-icon {
  flex: 0 0 auto;
  color: var(--dist-teal);
  font-weight: 900;
}

/* Delivery boundary: a short, high-contrast trust statement before FAQ. */
.distributor-partner-page section.section-pad:has(.responsibility-panel) {
  padding: clamp(50px, 6vw, 78px) 0 !important;
  background: #fff;
}

.distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 26px;
  border: 1px solid rgba(201, 105, 47, .20);
  border-left: 4px solid var(--dist-copper);
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf6, #f3f7f5);
  box-shadow: 0 12px 28px rgba(11, 26, 37, .07);
}

.distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel::after {
  content: "03";
  position: absolute;
  right: 24px;
  bottom: -28px;
  color: rgba(201, 105, 47, .09);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
}

.distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel h3,
.distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel p {
  position: relative;
  z-index: 1;
}

.distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel h3 {
  margin-bottom: 8px;
  color: var(--dist-ink);
  font-size: 1.1rem;
}

.distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel p {
  max-width: 1000px;
  color: var(--dist-muted);
  line-height: 1.72;
}

/* FAQ and CTA complete the qualification path. */
.distributor-partner-page section.section-pad:has(.faq-list) {
  padding: clamp(70px, 8vw, 112px) 0 !important;
  background: var(--dist-warm);
  border-top: 1px solid var(--dist-line);
}

.distributor-partner-page section.section-pad:has(.faq-list) .section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.distributor-partner-page section.section-pad:has(.faq-list) .section-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.distributor-partner-page section.section-pad:has(.faq-list) .faq-list {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.distributor-partner-page section.section-pad:has(.faq-list) .faq-item {
  border: 1px solid var(--dist-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(11, 26, 37, .045);
  overflow: hidden;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.distributor-partner-page section.section-pad:has(.faq-list) .faq-item:has(.faq-question.open) {
  border-color: var(--dist-copper);
  background: #fffaf6;
  box-shadow: var(--dist-shadow);
  transform: translateY(-2px);
}

.distributor-partner-page section.section-pad:has(.faq-list) .faq-question {
  min-height: 68px;
  padding: 18px 62px 18px 24px;
  color: var(--dist-ink);
  background: #fff;
  font-size: 1rem;
}

.distributor-partner-page section.section-pad:has(.faq-list) .faq-question:hover,
.distributor-partner-page section.section-pad:has(.faq-list) .faq-question.open {
  color: var(--dist-copper-dark);
  background: #fffaf6;
}

.distributor-partner-page section.section-pad:has(.faq-list) .faq-answer { background: #fffaf6; }
.distributor-partner-page section.section-pad:has(.faq-list) .faq-answer p { color: var(--dist-muted); line-height: 1.72; }

.distributor-partner-page section.section-pad:has(.cta-section) {
  padding: clamp(72px, 8vw, 112px) 0 !important;
  background: var(--dist-paper);
}

.distributor-partner-page section.section-pad:has(.cta-section) .cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 28px;
  border: 1px solid rgba(201, 105, 47, .22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 14%, rgba(201, 105, 47, .23), transparent 31%),
    linear-gradient(120deg, #0a1721 0%, #142e36 58%, #254b49 100%);
  box-shadow: var(--dist-shadow-lift);
}

.distributor-partner-page section.section-pad:has(.cta-section) .cta-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -190px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(229, 161, 112, .34);
  border-radius: 50%;
}

.distributor-partner-page section.section-pad:has(.cta-section) .cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -.035em;
}

.distributor-partner-page section.section-pad:has(.cta-section) .cta-section p {
  color: rgba(241, 245, 246, .78);
  font-size: 1rem;
}

.distributor-partner-page section.section-pad:has(.cta-section) .cta-section .btn-primary-jbss {
  background: var(--dist-copper);
  border-color: var(--dist-copper);
  box-shadow: 0 12px 28px rgba(201, 105, 47, .30);
}

.distributor-partner-page a:focus-visible,
.distributor-partner-page button:focus-visible {
  outline: 3px solid rgba(201, 105, 47, .45);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .distributor-partner-page .page-hero { min-height: 450px; }
  .distributor-partner-page .b2b-visual-brief .brief-grid { grid-template-columns: 1fr; }
  .distributor-partner-page .b2b-visual-brief .brief-copy { max-width: 760px; }
  .distributor-partner-page .b2b-visual-brief .visual-placeholder.visual-image { max-width: 760px; }
}

@media (max-width: 767.98px) {
  .distributor-partner-page .page-hero {
    min-height: 0;
    padding: 64px 0 58px !important;
  }

  .distributor-partner-page .page-hero h1 { font-size: clamp(2.05rem, 9vw, 3.15rem); }
  .distributor-partner-page .b2b-visual-brief,
  .distributor-partner-page .b2b-visual-brief + section.section-pad,
  .distributor-partner-page section.section-pad.bg-light-section:has(.distributor-process),
  .distributor-partner-page section.section-pad:has(.faq-list) { padding-top: 58px !important; padding-bottom: 58px !important; }
  .distributor-partner-page .b2b-visual-brief .brief-points { grid-template-columns: 1fr; }
  .distributor-partner-page .b2b-visual-brief .visual-placeholder.visual-image { border-radius: 16px; }
  .distributor-partner-page .b2b-visual-brief + section.section-pad .table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table { font-size: .88rem; }
  .distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table thead th,
  .distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody th,
  .distributor-partner-page .b2b-visual-brief + section.section-pad .compare-table tbody td { padding: 14px 12px; }
  .distributor-partner-page .distributor-confirmation { padding: 24px 22px 20px; }
  .distributor-partner-page section.section-pad:has(.responsibility-panel) { padding: 42px 0 !important; }
  .distributor-partner-page section.section-pad:has(.responsibility-panel) .responsibility-panel { padding: 24px 22px 22px; }
  .distributor-partner-page section.section-pad:has(.faq-list) .faq-question { min-height: 60px; padding: 16px 52px 16px 18px; font-size: .94rem; }
  .distributor-partner-page section.section-pad:has(.cta-section) { padding-top: 58px !important; padding-bottom: 58px !important; }
  .distributor-partner-page section.section-pad:has(.cta-section) .cta-section { padding: 42px 22px; border-radius: 20px; }
  .distributor-partner-page .page-hero .d-flex.gap-3 > a { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .distributor-partner-page *,
  .distributor-partner-page *::before,
  .distributor-partner-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
