/* will9.ru — страница услуги (detail)
   Figma group 4009:7588: hero 2845:11372, outcomes 2845:11381, competencies 2845:11415,
   example 2845:11484, CTA 2845:11590, trust 2845:11631, process 2845:11650, FAQ 2845:11681
   Desktop 1320; tablet ≤1024 stack; mobile ≤767 базовый stack.
*/

/* ——— Общая шапка секции (eyebrow + h2) ——— */

.service-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.service-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--color-gray);
  border-radius: var(--radius-btn);
  box-sizing: border-box;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: var(--color-gray);
  white-space: nowrap;
}

/* ——— service-hero ——— */

.block--service-hero {
  padding: 0 0 120px;
}

.service-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 449px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-grey-01);
  box-sizing: border-box;
  overflow: hidden;
}

.service-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 813px;
}

.service-hero__title {
  margin: 0;
  max-width: 813px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-hero__lead {
  margin: 0;
  max-width: 644px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-white);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
}

.service-hero__cta2 {
  font-size: var(--fs-btn);
  line-height: var(--lh-btn);
  font-weight: var(--fw-btn);
}

.service-hero__img {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  width: 505px;
  height: auto;
  max-width: 40%;
}

/* ——— service-outcomes ——— */

.block--service-outcomes {
  padding: 0 0 120px;
}

.service-outcomes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 656px);
  column-gap: 76px;
  row-gap: 32px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-bg);
  box-sizing: border-box;
}

.service-outcomes__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.service-outcomes__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-outcomes__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-outcome {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-outcome__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-outcome__icon {
  display: inline-flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px dashed var(--color-orange);
  border-radius: var(--radius-btn);
  box-sizing: border-box;
}

.service-outcome__icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.service-outcome__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--color-grey-01);
}

.service-outcome__text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-black);
}

/* ——— service-competencies ——— */

.block--service-competencies {
  padding: 0 0 120px;
}

.service-competencies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-competency {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 230px;
  height: 230px;
  padding: 32px;
  border-radius: 16px;
  background: var(--color-grey-01);
  box-sizing: border-box;
}

.service-competency__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-competency__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700; /* Figma Gilroy Bold */
  font-size: 24px;
  line-height: 1;
  color: var(--color-white);
}

.service-competency__text {
  margin: 0;
  max-width: 592px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-white);
}

.service-competency__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Figma tag chips on dark cards: 50×, Gilroy Bold 18, dashed #a2a2a2 */
.service-competency__tags .service-tag {
  height: 50px;
  padding: 0 15px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--color-gray);
  background: transparent;
  white-space: nowrap;
}

/* ——— service-example ——— */

.block--service-example {
  padding: 0 0 120px;
}

.service-example {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-example__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 111px;
}

.service-example__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 687px;
}

.service-example__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.service-example__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-example__lead {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-black);
}

.service-example__stats {
  display: flex;
  flex: 0 0 auto;
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 180px;
}

.service-stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 110px;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-stat__suffix {
  font-size: 0.45em;
  color: var(--color-orange);
}

.service-stat__label {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-black);
}

.service-example__body {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.service-example__slider {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.service-example__slide-tab,
.service-example__pagination {
  display: none;
}

.service-example__tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-example__tab {
  --tab-progress: 0;
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-height: 100px;
  margin: 0;
  padding: 16px 24px 16px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--color-white);
  box-sizing: border-box;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--color-black);
  transition: background 0.2s ease, color 0.2s ease;
}

/* Figma Vertical Scroll: track + orange fill (progress) */
.service-example__tab::before,
.service-example__tab::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 10px;
  bottom: 16px;
  width: 5px;
  border-radius: 20px;
  pointer-events: none;
}

.service-example__tab::before {
  background: rgba(235, 234, 233, 0.8);
}

.service-example__tab::after {
  display: none;
  background: var(--color-orange);
  opacity: 0.8;
  transform: scaleY(var(--tab-progress));
  transform-origin: top center;
  transition: none;
}

.service-example__tab.is-progressing::after {
  transition: transform linear;
  transition-duration: var(--tab-progress-ms, 5000ms);
}

.service-example__tab:hover {
  background: var(--color-bg);
}

.service-example__tab.is-active,
.service-example__tab[aria-selected="true"] {
  background: var(--color-black);
  color: var(--color-white);
}

.service-example__tab.is-active::after,
.service-example__tab[aria-selected="true"]::after {
  display: block;
}

.service-example__tab:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.service-example__panels {
  display: flex;
  min-width: 0;
}

.service-example__panel {
  display: none;
  flex: 1 1 auto;
  grid-template-columns: 323px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border-radius: var(--radius-card);
  background: var(--color-black);
  box-sizing: border-box;
}

.service-example__panel.is-active {
  display: grid;
}

.service-example__card {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 16px;
  border-radius: 16px;
  background: var(--color-white);
  box-sizing: border-box;
}

.service-example__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: var(--color-black);
}

.service-example__bullets {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-example__bullet {
  position: relative;
  padding-left: 32px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-black);
}

.service-example__bullet::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
}

.service-example__media {
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-gray);
}

.service-example__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 408px;
  object-fit: cover;
}

/* ——— cta-banner ——— */

.block--cta-banner {
  padding: 0 0 120px;
}

.cta-banner {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 246px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-grey-01);
  box-sizing: border-box;
  overflow: hidden;
}

.cta-banner--accent {
  background: var(--color-orange);
  min-height: 235px;
}

.cta-banner--accent .cta-banner__copy {
  max-width: 828px;
  min-height: 171px;
}

.cta-banner--accent .cta-banner__img {
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}

.cta-banner__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  min-height: 182px;
  max-width: 726px;
}

.cta-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cta-banner__img {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
}

/* ——— service-trust ——— */

.block--service-trust {
  padding: 0 0 120px;
}

.service-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-trust-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 204px;
  padding: 32px;
  border: 1px solid transparent;
  border-radius: 16px;
  box-sizing: border-box;
}

.service-trust-card--light {
  border: 1px dashed var(--color-orange);
  background: var(--color-bg);
  color: var(--color-black);
}

.service-trust-card--dark {
  background: var(--color-grey-01);
  color: var(--color-white);
}

.service-trust-card--accent {
  background: var(--color-orange);
  color: var(--color-white);
}

.service-trust-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-trust-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: inherit;
}

/* ——— service-process ——— */

.block--service-process {
  padding: 0 0 120px;
}

.service-process {
  position: relative;
  min-height: 292px;
  height: 292px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-grey-01);
  box-sizing: border-box;
  overflow: hidden;
}

.service-process__arcs {
  /* Full-card deco from Figma Frame 349 (arcs only, transparent bg) */
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.service-process__arcs--mobile {
  display: none;
}

.service-process__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 497px;
  max-width: 497px;
}

.service-process__title {
  margin: 0;
  max-width: 637px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-process__lead {
  margin: 0;
  max-width: 497px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-white);
}

.service-process__steps {
  /* Figma right frame x:584; first step y:32 (absolute to card, not content box) */
  position: absolute;
  top: 32px;
  left: 584px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 767px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-step {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

/* Figma staircase inside right frame: x 80 / 148 / 207 / 268 */
.service-step:nth-child(1) { margin-left: 80px; }
.service-step:nth-child(2) { margin-left: 148px; }
.service-step:nth-child(3) { margin-left: 207px; }
.service-step:nth-child(4) { margin-left: 268px; }

.service-step__num,
.service-step__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.3;
  color: var(--color-white);
}

.service-step__num {
  flex: 0 0 48px;
  width: 48px;
  border: 1px dashed var(--color-orange);
  border-radius: var(--radius-btn);
  background: var(--color-grey-01);
}

.service-step__text {
  padding: 0 20px;
  border: 0;
  border-radius: 46px;
  background: var(--color-grey-01); /* Figma Frame 337 fill — masks arcs behind label */
  white-space: nowrap;
}

/* ——— faq ——— */

.block--faq {
  padding: 0 0 120px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-sizing: border-box;
}

.faq__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-radius: 8px;
  background: #f5f5f5;
}

.faq-item__q {
  margin: 0;
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.1;
  color: var(--color-black);
}

.faq-item__toggle:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.faq-item__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--color-black);
  transition: transform 0.2s ease;
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
  transform: rotate(0deg);
}

.faq-item__answer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 16px;
}

.faq-item__answer p {
  margin: 0;
  max-width: 900px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: #303030;
}

/* ——— faq: вариант «Список» (Почему Will9, Figma 2854:16925 / 2855:17837) ———
   Белая карточка 24/16, строка = заголовок 500 (24 Gilroy Bold) + текст 732 (16 Montserrat),
   разделители #a2a2a2 в зазоре 8px. */

.block--faq-why {
  padding-bottom: 140px;
}

.faq--why > .eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.faq--why .eyebrow__brand {
  color: var(--color-orange);
}

.faq__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 500fr) minmax(0, 732fr);
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
}

/* Разделитель живёт в зазоре между строками: gap 16 → линия по центру, как Line 462–465.
   Пунктир по макету — штрих 8px, пробел 8px, #a2a2a2. */
.faq-row + .faq-row::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--color-gray) 0 8px,
    transparent 8px 16px
  );
}

.faq-row__q {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--color-grey-01);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.faq-row__a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-grey-01);
}

.faq-row__a p {
  margin: 0;
}

/* ——— tablet ——— */

@media (max-width: 1024px) {
  .block--service-hero,
  .block--service-outcomes,
  .block--service-competencies,
  .block--service-example,
  .block--cta-banner,
  .block--service-trust,
  .block--service-process,
  .block--faq {
    padding-bottom: 80px;
  }

  .block--service-hero .container,
  .block--service-outcomes .container,
  .block--service-competencies .container,
  .block--service-example .container,
  .block--cta-banner .container,
  .block--service-trust .container,
  .block--service-process .container,
  .block--faq .container {
    width: calc(100% - (var(--header-pad-tablet) * 2));
  }

  .service-head {
    margin-bottom: 32px;
  }

  .service-head__title,
  .service-outcomes__title,
  .service-example__title,
  .cta-banner__title,
  .service-process__title {
    font-size: 32px;
    line-height: 1.1;
  }

  .service-hero {
    flex-direction: column;
    gap: 32px;
    min-height: 0;
    padding: 24px;
  }

  .service-hero__title {
    font-size: 40px;
    max-width: none;
  }

  .service-hero__img {
    position: static;
    align-self: flex-end;
    width: 100%;
    max-width: 505px;
  }

  .service-outcomes {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .service-competencies,
  .service-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-competency {
    height: auto;
    min-height: 230px;
  }

  .service-example__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .service-stat__value {
    font-size: 72px;
  }

  .service-example__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-example__tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-example__tab {
    flex: 1 1 calc(50% - 4px);
    min-height: 72px;
    font-size: 18px;
  }

  .service-example__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-example__img {
    min-height: 240px;
  }

  .cta-banner {
    padding: 24px;
  }

  .cta-banner__copy {
    min-height: 0;
    max-width: none;
  }

  .cta-banner__img {
    opacity: 0.5;
  }

  .service-process {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }

  .service-process__arcs {
    opacity: 0.85;
  }

  .service-process__copy {
    width: 100%;
    max-width: none;
  }

  .service-process__steps {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .service-step:nth-child(n) {
    margin-left: 0;
  }

  .service-step:nth-child(2) { margin-left: 24px; }
  .service-step:nth-child(3) { margin-left: 48px; }
  .service-step:nth-child(4) { margin-left: 72px; }

  .service-step__text {
    white-space: normal;
  }

  .faq {
    padding: 24px;
  }

  .faq--why {
    border-radius: 16px;
  }

  .faq-row__q {
    font-size: 20px;
  }
}

/* ——— mobile: Figma 2845:12182 (375) ——— */

@media (max-width: 767px) {
  .block--service-hero,
  .block--service-outcomes,
  .block--service-competencies,
  .block--service-example,
  .block--cta-banner,
  .block--service-trust,
  .block--service-process,
  .block--faq {
    padding-bottom: 64px;
  }

  .block--service-hero .container,
  .block--service-outcomes .container,
  .block--service-competencies .container,
  .block--service-example .container,
  .block--cta-banner .container,
  .block--service-trust .container,
  .block--service-process .container,
  .block--faq .container {
    width: calc(100% - (var(--header-pad-mobile) * 2));
  }

  /* Hero 2845:12183 — title → lead → image → stacked CTAs */
  .service-hero {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 0;
    padding: 32px 16px 16px;
  }

  .service-hero__copy {
    display: contents;
    max-width: none;
  }

  .service-hero__title {
    order: 1;
    max-width: none;
    font-size: var(--fs-h1-m);
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .service-hero__lead {
    order: 2;
    max-width: none;
    font-size: var(--fs-body-m);
    line-height: 1.125;
  }

  .service-hero__img {
    order: 3;
    position: static;
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .service-hero__actions {
    order: 4;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    margin-top: 0;
  }

  .service-hero__actions .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
  }

  /* Outcomes 2845:12192 */
  .service-outcomes {
    padding: 0;
    row-gap: 32px;
  }

  .service-outcomes__title {
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .service-outcomes__list {
    gap: 32px;
  }

  .service-outcome__title {
    font-size: 18px;
  }

  .service-outcome__text {
    font-size: var(--fs-body-m);
    line-height: 1.125;
  }

  /* Competencies 2845:12225 */
  .service-head {
    margin-bottom: 32px;
    gap: 16px;
  }

  .service-head__title {
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .service-competency {
    height: auto;
    min-height: 0;
    gap: 32px;
    padding: 16px;
  }

  .service-competency__tags {
    flex-wrap: wrap;
  }

  .service-competency__title {
    font-size: 18px;
  }

  .service-competency__text {
    font-size: 16px;
    line-height: 1.1;
  }

  .service-competency__tags .service-tag {
    height: auto;
    min-height: 50px;
    padding: 8px 15px;
  }

  /* Example 2845:12290 — horizontal Swiper cards */
  .block--service-example {
    overflow: hidden;
  }

  .block--service-example .container {
    width: 100%;
    padding: 0;
  }

  .service-example {
    gap: 32px;
  }

  .service-example__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 var(--header-pad-mobile);
  }

  .service-example__copy {
    gap: 16px;
    max-width: none;
  }

  .service-example__title {
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .service-example__lead {
    font-size: var(--fs-body-m);
    line-height: 1.125;
  }

  .service-example__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }

  .service-stat {
    max-width: none;
  }

  .service-stat__value {
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 0.02em;
    color: var(--color-black);
  }

  .service-stat__suffix {
    font-size: 1em;
    color: var(--color-orange);
  }

  .service-stat__label {
    font-size: var(--fs-body-m);
    line-height: 1.1;
  }

  .service-example__body {
    display: block;
  }

  .service-example__tabs {
    display: none;
  }

  .service-example__slider {
    overflow: visible;
  }

  .service-example__panels {
    display: flex;
    align-items: stretch;
  }

  .service-example__slider .swiper-slide {
    height: auto;
  }

  .service-example__panel,
  .service-example__panel.is-active {
    display: flex;
    flex: 0 0 322px;
    flex-direction: column;
    gap: 8px;
    width: 322px;
    max-width: 322px;
    height: auto;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 4px 100px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .service-example__slide-tab {
    --tab-progress: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 109px;
    padding: 16px 16px 21px;
    border-radius: 16px;
    background: var(--color-black);
    box-sizing: border-box;
  }

  .service-example__slide-tab::before,
  .service-example__slide-tab::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 5px;
    border-radius: 20px;
    pointer-events: none;
  }

  .service-example__slide-tab::before {
    background: rgba(223, 222, 222, 0.8);
  }

  .service-example__slide-tab::after {
    display: none;
    right: auto;
    width: calc(100% - 32px);
    background: var(--color-orange);
    opacity: 0.8;
    transform: scaleX(var(--tab-progress));
    transform-origin: left center;
    transition: none;
  }

  .service-example__slide-tab.is-progressing::after {
    display: block;
    transition: transform linear;
    transition-duration: var(--tab-progress-ms, 5000ms);
  }

  .service-example__slide-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    color: var(--color-white);
  }

  .service-example__card {
    gap: 21px;
    padding: 16px;
    border-radius: 20px;
  }

  .service-example__card-title {
    font-size: 18px;
    line-height: 1;
  }

  .service-example__bullets {
    gap: 21px;
  }

  .service-example__media {
    border-radius: 10px;
  }

  .service-example__img {
    min-height: 0;
    aspect-ratio: 306 / 195;
    object-fit: cover;
  }

  .service-example__pagination {
    display: flex;
    position: static;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 8px;
    margin-top: 24px;
    padding: 0 var(--header-pad-mobile);
  }

  .service-example__dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--color-gray);
    opacity: 1;
    cursor: pointer;
    appearance: none;
    transition:
      width 0.2s ease,
      background-color 0.2s ease;
  }

  .service-example__dot.is-active {
    width: 24px;
    background: var(--color-orange);
  }

  .service-example__dot:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 3px;
  }

  /* CTA 2855:17958 — карточка 343×196, radius 16, заголовок 24, кнопка 54 */
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 16px;
    gap: 32px;
    border-radius: 16px;
  }

  .cta-banner--accent {
    min-height: 0;
  }

  .cta-banner--accent .cta-banner__copy {
    min-height: 0;
  }

  .cta-banner__copy {
    gap: 32px;
    min-height: 0;
    max-width: none;
  }

  .cta-banner__title {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  .cta-banner__btn {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
  }

  .cta-banner__img {
    display: none;
  }

  /* Trust 2845:12536 */
  .service-trust {
    gap: 8px;
  }

  .service-trust-card {
    gap: 16px;
    min-height: 0;
    padding: 16px;
  }

  .service-trust-card__title {
    font-size: 20px;
    line-height: 1.1;
  }

  .service-trust-card__text {
    font-size: var(--fs-body-m);
    line-height: 1.125;
  }

  /* Process 2845:12553 (343×334) */
  .service-process {
    display: block;
    height: 334px;
    min-height: 334px;
    padding: 16px;
    border-radius: 16px;
    gap: 0;
  }

  .service-process__arcs--desktop {
    display: none;
  }

  .service-process__arcs--mobile {
    display: block;
    opacity: 1;
  }

  .service-process__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 311px;
  }

  .service-process__title {
    margin: 0;
    max-width: none;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  .service-process__lead {
    margin: 0;
    max-width: 311px;
    font-size: 16px;
    line-height: 1.1;
  }

  /* Figma steps frame x:-20 y:178.31 w:353 */
  .service-process__steps {
    position: absolute;
    top: 178px;
    left: -20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 353px;
    margin: 0;
    padding: 17px 0 0;
    list-style: none;
  }

  .service-step {
    gap: 4px;
  }

  .service-step:nth-child(n) {
    margin-left: 0;
  }

  .service-step:nth-child(1) { margin-left: 42px; }
  .service-step:nth-child(2) { margin-left: 77px; }
  .service-step:nth-child(3) { margin-left: 108px; }
  .service-step:nth-child(4) { margin-left: 140px; }

  .service-step__num,
  .service-step__text {
    height: 25px;
    font-size: 9.4px;
    line-height: 1.3;
  }

  .service-step__num {
    flex: 0 0 25px;
    width: 25px;
    border-radius: 2px;
  }

  .service-step__text {
    padding: 0 11px;
    border-radius: 24px;
    background: var(--color-grey-01);
    white-space: nowrap;
  }

  /* FAQ 2855:17836 — белая карточка 343, padding 32/16, вопросы 24 Gilroy Bold */
  .faq {
    gap: 0;
    padding: 32px 16px;
    border-radius: 16px;
  }

  .faq > .eyebrow {
    margin: 0 0 16px;
  }

  .faq__title {
    margin: 0 0 32px;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  .faq-item {
    border-radius: 0;
    background: transparent;
  }

  .faq-item + .faq-item {
    border-top: 1px solid #a2a2a2;
  }

  .faq-item__toggle {
    min-height: 0;
    padding: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
  }

  .faq-item__answer {
    padding: 0 12px 12px;
  }

  .faq-item__answer p {
    font-size: 16px;
    line-height: 1.1;
  }

  /* «Почему Will9» на мобилке — стопка: заголовок → текст, разделители между строками */
  .faq--why > .eyebrow {
    margin: 0 0 16px;
    font-size: 20px;
  }

  .faq--why .faq__title {
    margin: 0 0 32px;
  }

  .faq-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }

  .faq-row__q {
    font-size: 24px;
  }

  .faq-row__a {
    font-size: 16px;
    line-height: 1.1;
  }
}

@media (min-width: 768px) {
  .service-example__slider .swiper-wrapper {
    display: block;
    transform: none !important;
  }

  .service-example__slider .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }

  .service-example__slider .service-example__panel:not(.is-active) {
    display: none;
  }
}
