/* ==========================================================================
   SERVICES-B2B.CSS — 1:1 Technonicol B2B Reference Replication for Metproff
   ========================================================================== */

.site-main--b2b {
  --b2b-ink: #1E1E1E;
  --b2b-red: #E30613;
  --b2b-grey-bg: #F5F5F5;
  --b2b-grey-line: #E0E0E0;
  --b2b-dark-grey: #111111;
  --b2b-black-bg: #111111;
  
  background: #ffffff;
  color: var(--b2b-ink);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  overflow: clip;
}

.site-main--b2b *,
.site-main--b2b *::before,
.site-main--b2b *::after {
  box-sizing: border-box;
}

/* --- Typography / Иерархия и начертания --- */
.site-main--b2b h1,
.site-main--b2b h2,
.site-main--b2b h3 {
  color: var(--b2b-ink);
  font-family: Roboto, "PT Sans", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

.site-main--b2b h1 {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.08;
}

.site-main--b2b h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
}

.site-main--b2b h3 {
  font-size: 18px;
  line-height: 1.3;
}

.site-main--b2b p {
  color: #747474;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.text-red {
  color: var(--b2b-red) !important;
}

/* Черная фоновая плашка для живого B2B акцента */
.highlight-black {
  background: var(--b2b-dark-grey);
  color: #ffffff !important;
  display: inline-block;
  font-weight: 700;
  padding: 2px 10px;
  text-transform: uppercase;
}

/* Красный маркер-стрелка */
.red-arrow, .bullet-arrow {
  color: var(--b2b-red) !important;
  font-size: 1.4rem;
  font-weight: 900;
  margin-right: 0.45rem;
}

/* Компактный верхний надзаголовок */
.services-b2b-eyebrow {
  color: var(--b2b-red);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

/* --- Кнопки / CTA Buttons --- */
.services-b2b-solid-button,
.services-b2b-final-cta__button,
.services-b2b-nav-button,
.services-b2b-button,
.services-b2b-support-cta-button,
.closing-cta-solid-button {
  align-items: center;
  background: var(--b2b-red);
  border: 1px solid var(--b2b-red);
  border-radius: 4px;
  color: #ffffff !important;
  display: inline-flex;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.services-b2b-solid-button:hover,
.services-b2b-solid-button:focus-visible,
.services-b2b-final-cta__button:hover,
.services-b2b-button:hover,
.services-b2b-support-cta-button:hover,
.closing-cta-solid-button:hover {
  background: #bd0610;
  border-color: #bd0610;
  color: #ffffff !important;
}

/* --- Секция 1: Quick Anchor Nav --- */
.services-b2b-quick-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--b2b-grey-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.admin-bar .services-b2b-quick-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .services-b2b-quick-nav {
    top: 46px;
  }
}

.services-b2b-quick-nav__row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 52px;
}

.services-b2b-quick-nav__label {
  color: var(--b2b-ink);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-b2b-quick-nav__anchors {
  display: flex;
  gap: 24px;
}

.services-b2b-quick-nav__anchors a {
  color: #1E1E1E;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-b2b-quick-nav__anchors a:hover {
  color: var(--b2b-red);
}

.services-b2b-nav-button {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
}

/* --- Секция 2: Hero & Headline --- */
.services-b2b-hero {
  padding: 56px 0;
}

.services-b2b-hero__title-row {
  margin-bottom: 28px;
  max-width: 950px;
}

/* Коробка со скошенными краями (Chamfer Box) */
.services-b2b-hero__card-chamfer {
  background: var(--b2b-grey-bg);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 360px;
}

.services-b2b-hero__card-content {
  align-content: center;
  display: grid;
  justify-items: start;
  padding: 48px;
}

.services-b2b-hero__card-content h2 {
  font-size: clamp(20px, 3.2vw, 36px);
  line-height: 1.02;
  margin-bottom: 12px;
}

.services-b2b-hero__card-content p {
  color: #747474;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 24px;
  max-width: 380px;
}

.services-b2b-hero__card-media {
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.services-b2b-hero__card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

/* --- Секция 3: Professional Portrait Cutout --- */
.services-b2b-portrait {
  background: #ffffff;
  border-top: 1px solid var(--b2b-grey-line);
  padding: 56px 0;
  position: relative;
  margin-bottom: -64px;
  z-index: 3;
}

.services-b2b-portrait__coordinate-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(to right, var(--b2b-grey-line) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--b2b-grey-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.axis-marker {
  position: absolute;
  font-family: monospace;
  font-size: 10px;
  color: #747474;
}

.axis-marker--x1 { top: 10px; left: 10px; }
.axis-marker--y3 { top: 130px; left: 10px; }
.axis-marker--z2 { top: 250px; right: 10px; }
.axis-marker--a4 { bottom: 130px; right: 10px; }
.axis-marker--b5 { bottom: 10px; left: 130px; }

.services-b2b-portrait__grid {
  align-items: center;
  display: grid;
  grid-template-columns: 48% 52%;
  position: relative;
  z-index: 2;
}

.services-b2b-portrait__content {
  padding-right: 48px;
}

.services-b2b-portrait__content h2 {
  font-size: clamp(24px, 4vw, 48px);
  line-height: 0.94;
  margin-bottom: 22px;
}

.services-b2b-portrait__content p {
  font-size: 18px;
  line-height: 1.45;
}

.services-b2b-portrait__media-wrapper {
  display: flex;
  justify-content: flex-end;
}

.services-b2b-portrait__media-box {
  background: #F5F5F5;
  border: 4px solid var(--b2b-dark-grey);
  margin: 0;
  min-height: 480px;
  position: relative;
  width: 100%;
  overflow: visible;
}

.services-b2b-portrait__media-box img.specialist-cutout {
  bottom: 0;
  display: block;
  filter: drop-shadow(0 0 1px #E30613) drop-shadow(0 0 8px rgba(227, 6, 19, 0.35));
  height: 110%;
  max-height: 520px;
  object-fit: contain;
  object-position: right bottom;
  position: absolute;
  right: 0;
  width: 90%;
  z-index: 2;
}

.services-b2b-portrait__index {
  color: var(--b2b-red);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  left: 32px;
  letter-spacing: 0.08em;
  position: absolute;
  top: 32px;
  text-transform: uppercase;
  z-index: 4;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  background: #FFFFFF;
  border: 1px solid var(--b2b-grey-line);
  padding: 8px 16px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #111111;
  box-shadow: 4px 4px 0px 0px #111111;
  white-space: nowrap;
}

.floating-badge--1 {
  top: 20%;
  left: -10%;
}

.floating-badge--2 {
  top: 50%;
  left: -5%;
}

.floating-badge--3 {
  top: 75%;
  right: 10%;
}

/* --- Секция 4: Benefits Grid (3x2 плоская сетка с иконками) --- */
.services-b2b-benefits {
  background: #ffffff;
  border-top: 1px solid var(--b2b-grey-line);
  padding: 56px 0;
  position: relative;
  z-index: 4;
}

.services-b2b-benefits h2 {
  font-size: clamp(24px, 4vw, 48px);
  line-height: 0.94;
  margin-bottom: 36px;
}

.services-b2b-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-b2b-benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--b2b-grey-line);
  border-radius: 0px;
  display: flex;
  gap: 18px;
  min-height: 180px;
  padding: 32px;
}

.services-b2b-benefit-card__icon-box {
  align-items: center;
  background: var(--b2b-grey-bg);
  color: var(--b2b-red);
  display: flex;
  height: 48px;
  justify-content: center;
  min-width: 48px;
  width: 48px;
}

.services-b2b-benefit-card__icon-box svg {
  height: 24px;
  stroke: var(--b2b-red);
  width: 24px;
}

.services-b2b-benefit-card__content h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.services-b2b-benefit-card__content p {
  color: #747474;
  font-size: 14px;
  line-height: 1.45;
}

/* --- Секция 5: Wavy Process Map --- */
.services-b2b-process {
  background: var(--b2b-black-bg);
  color: #ffffff;
  overflow: hidden;
  padding: 64px 0 80px;
}

.services-b2b-process h2 {
  color: #ffffff;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 0.94;
  margin-bottom: 56px;
}

.services-b2b-process__steps {
  position: relative;
  height: 560px;
}

.services-b2b-process__trajectory {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 280px;
  z-index: 1;
}

.services-b2b-process__trajectory path {
  fill: none;
  stroke: var(--b2b-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
}

.services-b2b-process.is-active .services-b2b-process__trajectory path {
  animation: draw-trajectory 1.9s cubic-bezier(.65, 0, .35, 1) both;
}

@keyframes draw-trajectory {
  to { stroke-dashoffset: 0; }
}

.services-b2b-process__step {
  position: absolute;
  width: 18%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-b2b-process__step--1 { left: 1%; }
.services-b2b-process__step--2 { left: 21%; }
.services-b2b-process__step--3 { left: 41%; }
.services-b2b-process__step--4 { left: 61%; }
.services-b2b-process__step--5 { left: 81%; }

.services-b2b-process__step--up .step-card {
  position: absolute;
  top: 0;
  width: 100%;
}

.services-b2b-process__step--up .step-dot {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.services-b2b-process__step--down .step-card {
  position: absolute;
  top: 360px;
  width: 100%;
}

.services-b2b-process__step--down .step-dot {
  position: absolute;
  top: 320px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.services-b2b-process__step .step-card {
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
}

.services-b2b-process__step .step-num {
  color: var(--b2b-red);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.services-b2b-process__step h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.services-b2b-process__step p {
  color: #B3B3B3;
  font-size: 13px;
  line-height: 1.45;
}

.step-dot {
  align-items: center;
  background: var(--b2b-red);
  border: 4px solid var(--b2b-black-bg);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
  z-index: 3;
}

.services-b2b-process__building {
  bottom: 4px;
  color: #6e6e6e;
  opacity: 0;
  position: absolute;
  right: -2%;
  text-align: center;
  transform: translateX(44px) scale(.92);
  transform-origin: bottom right;
  transition: opacity .65s ease 2.2s, transform .8s cubic-bezier(.16, 1, .3, 1) 2.2s, filter .8s ease 2.3s;
  width: 190px;
  z-index: 2;
}

.services-b2b-process__building svg {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}

.services-b2b-process__building path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.services-b2b-process__building .process-building__crane path {
  stroke: #4c4c4c;
}

.services-b2b-process__building .process-building__windows path {
  fill: currentColor;
  opacity: .35;
  stroke: none;
}

.services-b2b-process__building span {
  display: block;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-top: -8px;
}

.services-b2b-process.is-active .services-b2b-process__building {
  color: #f0f0f0;
  filter: drop-shadow(0 0 5px rgba(227, 6, 19, .78)) drop-shadow(0 0 22px rgba(227, 6, 19, .36));
  opacity: 1;
  transform: translateX(0) scale(1);
}

.services-b2b-process.is-active .services-b2b-process__building .process-building__frame path {
  animation: building-light 1.5s ease 2.45s both;
}

.services-b2b-process.is-active .services-b2b-process__building .process-building__windows path {
  animation: building-window-light 1.1s ease 2.75s both;
}

@keyframes building-light {
  from { stroke: #4b4b4b; }
  to { stroke: #ffffff; }
}

@keyframes building-window-light {
  from { fill: #4b4b4b; opacity: .2; }
  to { fill: #e30613; opacity: 1; }
}

/* --- Scroll Animations for Process Steps --- */
.services-b2b-process .step-dot {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-b2b-process .step-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-b2b-process.is-active .services-b2b-process__step--1 .step-dot {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.1s;
}
.services-b2b-process.is-active .services-b2b-process__step--1 .step-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.services-b2b-process.is-active .services-b2b-process__step--2 .step-dot {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.5s;
}
.services-b2b-process.is-active .services-b2b-process__step--2 .step-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.services-b2b-process.is-active .services-b2b-process__step--3 .step-dot {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.9s;
}
.services-b2b-process.is-active .services-b2b-process__step--3 .step-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.1s;
}

.services-b2b-process.is-active .services-b2b-process__step--4 .step-dot {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 1.3s;
}
.services-b2b-process.is-active .services-b2b-process__step--4 .step-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}

.services-b2b-process.is-active .services-b2b-process__step--5 .step-dot {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 1.7s;
}
.services-b2b-process.is-active .services-b2b-process__step--5 .step-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.9s;
}

/* --- Секция 6: Video/Trust Banner --- */
.services-b2b-video-trust {
  padding: 56px 0;
  background: #ffffff;
}

.services-b2b-video-trust__header {
  margin-bottom: 36px;
}

.services-b2b-video-trust__wrapper {
  display: flex;
  justify-content: center;
}

.services-b2b-video-trust__preview {
  width: 960px;
  max-width: 100%;
  position: relative;
  border: 2px solid var(--b2b-red);
  box-shadow: 8px 8px 0px 0px #111111;
}

.services-b2b-video-trust__preview img {
  display: block;
  width: 100%;
  height: auto;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--b2b-red);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.play-btn:hover {
  transform: scale(1.1);
  background-color: #bd0610;
  box-shadow: 0 0 15px rgba(227, 6, 19, 0.5);
}

/* --- Секция 7: Categories Tile Catalog (Сетка категорий Метпрофф) --- */
.services-b2b-catalog-grid {
  padding: 56px 0;
  background: #ffffff;
  border-top: 1px solid var(--b2b-grey-line);
}

.services-b2b-catalog-grid__intro {
  color: #747474;
  font-size: 16px;
  line-height: 1.48;
  margin-bottom: 28px;
  max-width: 640px;
}

.services-b2b-catalog-grid__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-b2b-catalog-grid__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.services-b2b-catalog-card {
  width: calc(33.333% - 16px);
  background: #FFFFFF;
  border: 1px solid var(--b2b-grey-line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.services-b2b-catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.services-b2b-catalog-card__image-box {
  background: #FFFFFF;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid #EEEEEE;
}

.services-b2b-catalog-card__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-b2b-catalog-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.services-b2b-catalog-card__content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.services-b2b-catalog-card__btn {
  display: inline-block;
  text-align: center;
  padding: 12px 32px;
  font-family: "PT Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF !important;
  background: var(--b2b-red);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 240px;
}

.services-b2b-catalog-card__btn:hover {
  background: #C40510;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
}

@media (max-width: 991px) {
  .services-b2b-catalog-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .services-b2b-catalog-card {
    width: 100%;
  }
}

/* --- Секция 8: Support Blocks (3 стадии сотрудничества) --- */
.services-b2b-support {
  background: var(--b2b-grey-bg);
  padding: 56px 0;
}

.services-b2b-support__header h2 {
  font-size: clamp(20px, 3.6vw, 36px);
  line-height: 0.96;
  margin-bottom: 32px;
  max-width: 800px;
}

.services-b2b-support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--b2b-grey-line);
  border-bottom: 1px solid var(--b2b-grey-line);
  padding: 24px 0;
}

.support-col {
  background: #ffffff;
  border: 1px solid var(--b2b-grey-line);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 32px;
}

.support-col--dark {
  background: var(--b2b-dark-grey);
  color: #ffffff;
  border-color: var(--b2b-dark-grey);
}

.support-col .stage-num {
  color: var(--b2b-red);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.support-col .stage-label-box {
  border-left: 3px solid var(--b2b-red);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-left: 12px;
  text-transform: uppercase;
}

.support-col p {
  color: #747474;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.support-col--dark p {
  color: #cccccc;
}

.services-b2b-support__cta-strip {
  align-items: center;
  background: var(--b2b-red);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 24px 32px;
}

.cta-strip-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-strip-text span {
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.cta-strip-text strong {
  font-family: "PT Sans", Arial, sans-serif;
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.services-b2b-support-cta-button {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--b2b-red) !important;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.services-b2b-support-cta-button:hover {
  background: var(--b2b-dark-grey);
  border-color: var(--b2b-dark-grey);
  color: #ffffff !important;
}

/* --- Секция 9: Финальная CTA-воронка (1:1 к референсу) --- */
.services-b2b-closing-cta {
  background: var(--b2b-dark-grey);
  color: #ffffff;
}

.services-b2b-closing-cta__grid {
  display: flex;
  width: 100%;
}

.closing-cta-copy {
  flex: 1;
  padding: 56px 48px 56px 0;
}

.closing-cta-copy .services-b2b-eyebrow {
  margin-bottom: 8px;
}

.closing-cta-copy h2 {
  color: #ffffff;
  font-size: clamp(24px, 3.8vw, 44px);
  line-height: 0.94;
  margin-bottom: 12px;
}

.closing-cta-copy p {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.48;
  max-width: 480px;
}

.closing-cta-action {
  background: var(--b2b-red);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  min-width: 320px;
  padding: 56px 48px;
}

.closing-cta-action span {
  color: #ffffff;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.closing-cta-solid-button {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--b2b-red) !important;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 4px;
  width: 100%;
}

.closing-cta-solid-button:hover {
  background: var(--b2b-dark-grey);
  border-color: var(--b2b-dark-grey);
  color: #ffffff !important;
}

/* --- Видео Модальное Окно --- */
.services-b2b-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.services-b2b-video-modal.is-active {
  display: flex;
}

.services-b2b-video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.8);
}

.services-b2b-video-modal__container {
  position: relative;
  width: 800px;
  max-width: 90%;
  background: #000000;
  aspect-ratio: 16/9;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.services-b2b-video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

.services-b2b-video-modal__body {
  width: 100%;
  height: 100%;
}

.services-b2b-video-modal__body iframe {
  width: 100%;
  height: 100%;
}

/* --- Responsive Adaptations / Адаптивность --- */
@media (max-width: 1200px) {
  .services-b2b-quick-nav__row {
    padding: 0 24px;
  }
}

@media (max-width: 1024px) {
  .services-b2b-quick-nav__anchors {
    gap: 16px;
  }
  .services-b2b-hero__card-chamfer {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .services-b2b-hero__card-content {
    padding: 36px 32px;
  }
  .services-b2b-hero__card-media {
    min-height: 240px;
  }
  .services-b2b-portrait__grid {
    grid-template-columns: 1fr;
  }
  .services-b2b-portrait__content {
    padding-right: 0;
    margin-bottom: 32px;
  }
  .services-b2b-portrait__media-box {
    min-height: 380px;
  }
  .services-b2b-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-b2b-process__steps {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .services-b2b-process__trajectory {
    display: none;
  }
  .services-b2b-process__building {
    bottom: auto;
    margin: 8px auto 0;
    position: relative;
    right: auto;
    transform-origin: center bottom;
  }
  .services-b2b-process__step {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .services-b2b-process__step--up,
  .services-b2b-process__step--down {
    justify-content: flex-start;
    min-height: auto;
    margin-bottom: 0;
  }
  .services-b2b-process__step .step-card,
  .services-b2b-process__step--up .step-card,
  .services-b2b-process__step--down .step-card {
    position: relative;
    margin: 0;
    width: 100%;
    top: auto;
  }
  .step-dot {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: flex;
    flex-shrink: 0;
  }
  .services-b2b-catalog-grid__row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-b2b-catalog-card--full {
    flex-direction: column;
  }
  .services-b2b-catalog-card--full .services-b2b-catalog-card__image-box {
    width: 100%;
    height: 210px;
    padding: 16px;
  }
  .services-b2b-catalog-card--full .services-b2b-catalog-card__content {
    width: 100%;
    padding: 24px;
  }
  .services-b2b-catalog-card--full h3 {
    font-size: 18px;
  }
  .services-b2b-catalog-card--full p {
    font-size: 14px;
  }
  .services-b2b-support-blocks__grid {
    grid-template-columns: 1fr;
  }
  .support-col + .support-col {
    border-left: 0;
    border-top: 1px solid var(--b2b-grey-line);
  }
  .services-b2b-support-blocks__cta-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .services-b2b-support-cta-button {
    width: 100%;
    text-align: center;
  }
  .services-b2b-closing-cta__grid {
    flex-direction: column;
  }
  .closing-cta-copy {
    padding: 36px 24px;
  }
  .closing-cta-action {
    min-width: 0;
    padding: 36px 24px;
  }
  .closing-cta-solid-button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .services-b2b-quick-nav__anchors {
    display: none;
  }
  .services-b2b-quick-nav__row {
    justify-content: space-between;
    padding: 0 16px;
  }
  .services-b2b-benefits__grid {
    grid-template-columns: 1fr;
  }
  .services-b2b-benefit-card {
    min-height: auto;
    padding: 22px 16px;
  }
  .services-b2b-catalog-grid__row-4 {
    grid-template-columns: 1fr;
  }
  .services-b2b-support__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .services-b2b-hero,
  .services-b2b-portrait,
  .services-b2b-benefits,
  .services-b2b-process,
  .services-b2b-video-trust,
  .services-b2b-catalog-grid,
  .services-b2b-support {
    padding: 42px 0;
  }
  .services-b2b-hero__title-row {
    margin-bottom: 20px;
  }
  .services-b2b-hero__card-content {
    padding: 28px 18px;
  }
  .services-b2b-hero__card-media {
    min-height: 180px;
  }
  .services-b2b-portrait__media-box {
    min-height: 280px;
  }
  .services-b2b-portrait__media-box img.specialist-cutout {
    width: 100%;
  }
  .services-b2b-portrait__index {
    left: 18px;
    top: 18px;
  }
  .floating-badge {
    padding: 6px 12px;
    font-size: 12px;
  }
  .floating-badge--1 {
    top: 15%;
    left: -5%;
  }
  .floating-badge--2 {
    top: 45%;
    left: -2%;
  }
  .floating-badge--3 {
    top: 70%;
    right: 5%;
  }
}
