@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-600-normal.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --container-max: 1280px;
  --container-pad: 24px;
  --section-y: 90px;
  --white: #ffffff;
  --black: #09090b;
  --zinc-25: #fdfcfb;
  --zinc-50: #fafafa;
  --zinc-100: #f5f4f1;
  --zinc-150: #f0ece6;
  --zinc-200: #e7e2db;
  --zinc-300: #d5cfc6;
  --zinc-400: #a29c95;
  --zinc-500: #6f6963;
  --zinc-600: #504b46;
  --zinc-700: #2f2c29;
  --accent: #b97a35;
  --accent-dark: #8b5a23;
  --accent-soft: #f2e4d3;
  --accent-line: rgba(185, 122, 53, 0.22);
  --shadow-sm: 0 1px 2px rgba(19, 20, 22, 0.05);
  --shadow-md: 0 18px 38px rgba(19, 20, 22, 0.08);
  --shadow-lg: 0 24px 48px rgba(19, 20, 22, 0.12);
  --radius-2xl: 1rem;
  --radius-3xl: 1.75rem;
  --radius-4xl: 2rem;
  --ease: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: var(--font-body);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fffcf8 0%, #ffffff 22%, #fbfaf8 100%);
  color: var(--black);
  font-family: var(--font-body);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.section-title,
.hero-title,
.block-title,
.approach-title,
[class*="__title"] {
  font-family: var(--font-heading);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

input,
textarea {
  background: var(--white);
}

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

.page {
  min-height: 100vh;
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(213, 207, 198, 0.8);
  background: rgba(255, 252, 248, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__brand {
  text-decoration: none;
  color: inherit;
}

.header__brand:hover .header__title,
.header__brand:focus-visible .header__title {
  color: var(--black);
}

.header__title,
.footer__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__subtitle {
  font-size: 0.875rem;
  color: var(--zinc-500);
}

.header__nav {
  display: flex;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--zinc-600);
}

.header__burger {
  display: none;
}

.header__mobile {
  display: none;
}

.header__nav a {
  transition: color var(--ease);
}

.header__nav-link--underline {
  position: relative;
}

.header__nav-link--underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}


.header__nav-text {
  position: relative;
  display: inline-block;
}

.header__nav-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.header__nav a:hover {
  color: var(--black);
}

.header__nav-link--underline:hover::after,
.header__nav-link--underline:focus-visible::after {
  transform: scaleX(1);
}

.header__nav-link--button:hover {
  color: var(--black);
}

.header__nav-link--button:hover .header__nav-text::after {
  transform: scaleX(1);
}

.header__nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header__nav-link--button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.header__nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 6px;
  transform-origin: center;
  transition: transform var(--ease);
  color: #504b46;
  transform: translateY(2px);
}

.header__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -10px;
  min-width: 280px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(213, 207, 198, 0.95);
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 24px 60px rgba(19, 20, 22, 0.12);
  display: none;
  gap: 4px;
  z-index: 40;
}

.header__dropdown a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--zinc-700);
  line-height: 1.25;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease);
}

.header__dropdown-text {
  position: relative;
  display: inline-block;
}

.header__dropdown-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.header__dropdown a:hover,
.header__dropdown a:focus-visible {
  background: rgba(242, 228, 211, 0.58);
  color: var(--black);
}

.header__dropdown a:hover .header__dropdown-text::after,
.header__dropdown a:focus-visible .header__dropdown-text::after {
  transform: scaleX(1);
}

/* когда раскрываем через JS (клик по кнопке) */
.header__nav-item--dropdown.is-open .header__dropdown {
  display: grid;
}

.header__nav-item--dropdown.is-open .header__nav-caret {
  transform: translateY(2px) rotate(180deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    opacity var(--ease),
    background-color var(--ease),
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--small {
  padding: 10px 16px;
}

.button--dark {
  background:
    linear-gradient(135deg, var(--black) 0%, #1a1714 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.button--dark:hover {
  opacity: 0.96;
  box-shadow: var(--shadow-lg), 0 18px 30px rgba(185, 122, 53, 0.28);
}

.button--light {
  border: 1px solid rgba(213, 207, 198, 0.9);
  background: rgba(255, 255, 255, 0.82);
  color: var(--black);
}

.button--light:hover {
  background: var(--zinc-25);
  border-color: var(--accent-line);
  box-shadow: 0 18px 30px rgba(185, 122, 53, 0.22);
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(185, 122, 53, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(9, 9, 11, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.92) 0%, rgba(255, 255, 255, 0.95) 100%);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 122, 53, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 122, 53, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 88%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 48px;
  padding-top: 92px;
  padding-bottom: 118px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.page-home .hero__title {
  max-width: 820px;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #0b0b0b;
}

/* средний десктоп: 4 строки по <br>, без лишних переносов */
@media (min-width: 1100px) and (max-width: 1919px) {
  body.page-home .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, min(460px, 34vw));
    gap: 42px;
  }

  body.page-home .hero__title {
    max-width: min(900px, 100%);
    font-size: clamp(40px, 3.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  body.page-home .hero__text,
  body.page-home .hero__text--home-lead {
    max-width: min(780px, 100%);
    font-size: clamp(1.02rem, 0.35vw + 0.92rem, 1.12rem);
  }
}

/* узкий двухколоночный hero (~1024–1099, напр. 1075px) */
@media (min-width: 1024px) and (max-width: 1099px) {
  body.page-home .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(240px, min(360px, 33vw));
    gap: 30px;
    padding-top: 76px;
    padding-bottom: 88px;
  }

  body.page-home .hero__content > .hero-badge {
    margin-bottom: 12px;
  }

  body.page-home .hero__title {
    max-width: min(720px, 100%);
    font-size: clamp(34px, 2.6vw + 12px, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  body.page-home .hero__text,
  body.page-home .hero__text--home-lead {
    max-width: min(540px, 100%);
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.72;
  }

  body.page-home .hero__actions {
    gap: 10px;
    margin-top: 18px;
  }

  body.page-home .hero__actions .button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.82rem;
    border-radius: 12px;
  }

  body.page-home .hero__btn-icon,
  body.page-home .hero__btn-icon svg,
  body.page-home .hero__btn-icon img {
    width: 15px;
    height: 15px;
    margin-left: 6px;
  }

  body.page-home .hero__notions {
    margin-top: 14px;
  }

  body.page-home .hero__notions-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  body.page-home .hero__notions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
    max-width: 100%;
  }

  body.page-home .hero__notion-card {
    width: 100%;
    min-height: 34px;
    padding: 8px 0;
    gap: 5px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(19, 20, 22, 0.05);
    justify-content: center;
  }

  body.page-home .hero__notion-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  body.page-home .hero__notion-icon svg {
    width: 14px;
    height: 14px;
  }

  body.page-home .hero__notion-text {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.15;
  }

  body.page-home .hero__aside {
    gap: 12px;
  }

  body.page-home .hero-visual__image-wrap {
    padding: 10px 12px;
    border-radius: 22px;
  }

  body.page-home .hero-visual__image {
    width: 86%;
    max-width: 300px;
    margin-inline: auto;
  }

  body.page-home .hero__cards-grid {
    gap: 10px;
  }

  body.page-home .hero__cards-grid .card {
    padding: 14px 12px 16px;
    border-radius: 20px;
  }

  body.page-home .hero__cards-grid .card__corner-icon {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  body.page-home .hero__cards-grid .card__corner-icon svg {
    width: 16px;
    height: 16px;
  }

  body.page-home .hero__cards-grid .card__label {
    font-size: 0.72rem;
  }

  body.page-home .hero__cards-grid .card__title {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  body.page-home .hero__cards-grid .card__text {
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.55;
  }
}

body.page-home .hero__text {
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.85;
}

body.page-home .hero__actions {
  gap: 14px;
  margin-top: 26px;
}

body.page-home .hero__actions .button {
  min-height: 52px;
  padding: 14px 18px;
  font-size: 0.95rem;
  border-radius: 14px;
}

body.page-home .hero__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

body.page-home .hero__btn-icon svg,
body.page-home .hero__btn-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: transparent;
}

/* Первая CTA: ракета заметнее, размер кнопки не меняем */
body.page-home .hero__actions .button:first-child .hero__btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

body.page-home .hero__actions .button:first-child .hero__btn-icon svg,
body.page-home .hero__actions .button:first-child .hero__btn-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

body.page-home .hero__notions {
  margin-top: 18px;
}

.hero__aside,
.hero__cards,
.hero__cards-grid {
  display: grid;
  gap: 16px;
}

/* grid item default min-width:auto не даёт колонке сжаться под широкую картинку */
.hero__aside {
  min-width: 0;
}

.eyebrow,
.section-label {
  display: inline-block;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(185, 122, 53, 0.22);
  border-radius: 999px;
  font-size: 0.74rem;
  color: rgba(110, 72, 18, 0.95);
  background:
    radial-gradient(120% 180% at 14% 10%, rgba(255, 252, 247, 0.95) 0%, rgba(255, 252, 247, 0) 60%),
    linear-gradient(180deg, rgba(255, 253, 250, 0.94) 0%, rgba(247, 241, 232, 0.85) 100%);
  box-shadow:
    0 14px 28px rgba(19, 20, 22, 0.04),
    0 0 0 4px rgba(185, 122, 53, 0.04);
}

.eyebrow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: rgba(185, 122, 53, 0.95);
  flex: 0 0 auto;
}

.eyebrow__icon svg {
  width: 18px;
  height: 18px;
}

body.page-home .hero__content > .hero-badge,
.hero-badge {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-bottom: 18px;
  padding: 12px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid rgba(224, 175, 105, 0.35);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.88);
  box-shadow: 0 14px 32px rgba(171, 132, 76, 0.12);
  color: #b58a63;
  text-transform: none;
  letter-spacing: normal;
}

.hero-badge__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-badge__text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(159, 116, 83, 0.82);
  white-space: nowrap;
}

@media (max-width: 768px) {
  body.page-home .hero__content > .hero-badge,
  .hero-badge {
    min-height: 42px;
    padding: 10px 18px;
    gap: 12px;
  }

  .hero-badge__icon {
    width: 20px;
    height: 20px;
  }

  .hero-badge__text {
    font-size: 10px;
    letter-spacing: 0.2em;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  body.page-home .hero__content > .hero-badge,
  .hero-badge {
    width: 100%;
    padding: 10px 14px;
  }

  .hero-badge__text {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}

.section-label {
  font-size: 0.8rem;
  color: var(--zinc-500);
}

.hero__title,
.section-title {
  margin: 0;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero__title {
  max-width: 780px;
  font-size: clamp(2.15rem, 2.8vw + 1.35rem, 4rem);
  line-height: 1.02;
}

.hero__text {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 1.125rem;
  line-height: 1.82;
  color: var(--zinc-600);
}

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

.hero__tags,
.notation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__tags {
  margin-top: 30px;
}

.hero__notions {
  margin-top: 34px;
}

.hero__notions-kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(63, 65, 70, 0.65);
  white-space: nowrap;
}

.hero__notions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  max-width: 920px;
}

.hero__notion-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 2px;
  border-radius: 14px;
  border: 1px solid rgba(19, 20, 22, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(19, 20, 22, 0.06);
  color: rgba(19, 20, 22, 0.82);
  user-select: none;
}

.hero__notion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: rgba(185, 122, 53, 0.9);
  flex: 0 0 auto;
}

.hero__notion-icon svg {
  width: 22px;
  height: 22px;
}

.hero__notion-text {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero__notion-card:where(:hover, :focus-visible) {
  border-color: rgba(185, 122, 53, 0.28);
  box-shadow: 0 18px 34px rgba(19, 20, 22, 0.08);
}

@media (max-width: 1180px) {
  .hero__notions-kicker {
    white-space: normal;
  }

  .hero__notions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }
}

.tag,
.notation-chip,
.course-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag,
.course-card__badge {
  border: 1px solid rgba(185, 122, 53, 0.22);
  background: rgba(242, 228, 211, 0.48);
  color: var(--accent-dark);
}

.notation-list {
  margin-top: 28px;
}

.notation-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.accent-word {
  color: var(--accent);
}

.accent-word--soft {
  color: var(--accent-dark);
}

.accent-word--dark {
  color: #efbf82;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 28px;
  transform: translateY(8px);
  transition: transform var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(213, 207, 198, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  box-shadow: var(--shadow-sm);
  font-size: 23px;
  line-height: 1;
  transition: transform var(--ease), background-color var(--ease);
}

.modal__close:hover {
  transform: translateY(-1px);
  background: var(--zinc-25);
}

.modal__title {
  margin: 0 44px 18px 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.modal__form .form-fields {
  margin-top: 0;
}

.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card--soft {
  border: 1px solid rgba(213, 207, 198, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(250, 248, 245, 0.96) 100%);
}

.card--soft::before {
  background: radial-gradient(circle at top right, rgba(185, 122, 53, 0.08), transparent 32%);
}

.card--dark {
  background:
    linear-gradient(155deg, #0f0f12 0%, #1a1714 100%);
  color: var(--white);
}

.card--dark::before {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(239, 191, 130, 0.16), transparent 34%);
}

.card--border {
  border: 1px solid rgba(213, 207, 198, 0.86);
  background: rgba(255, 255, 255, 0.92);
}

.card--border::before {
  background: linear-gradient(180deg, rgba(185, 122, 53, 0.02), transparent 35%);
}

.hero__cards-grid .card__corner-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  pointer-events: none;
}

.hero__cards-grid .card__corner-icon svg {
  width: 22px;
  height: 22px;
}

.hero__cards-grid .card--dark .card__corner-icon {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.hero__cards-grid .card--border .card__corner-icon {
  background: rgba(242, 228, 211, 0.62);
  box-shadow: inset 0 0 0 1px rgba(185, 122, 53, 0.18);
  color: rgba(185, 122, 53, 0.95);
}

.card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #f5d2aa 0%, #d0904d 48%, #9c6227 100%);
  box-shadow: 0 0 0 7px rgba(185, 122, 53, 0.12);
}

.card__label,
.card__date {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--zinc-500);
}

.card__label--dark {
  color: rgba(255, 255, 255, 0.56);
}

.card__title {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

.card__title--lg {
  font-size: 1.65rem;
}

.card__text {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--zinc-600);
}

.card__text--dark {
  color: rgba(255, 255, 255, 0.74);
}

.card__text--small {
  font-size: 0.875rem;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-visual__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  line-height: 0;
  width: 100%;
  padding: clamp(14px, 1.6vw, 28px);
  border: 1px solid rgba(213, 207, 198, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(255, 244, 224, 0.9) 0%, rgba(255, 244, 224, 0) 60%),
    linear-gradient(180deg, #fbf6ef 0%, #f5efe5 100%);
  box-shadow: var(--shadow-sm);
}

.hero-visual__image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 24px 20px 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(185, 122, 53, 0.3) 50%, transparent 100%);
}

.hero-visual__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-visual__meta {
  border: 1px solid rgba(213, 207, 198, 0.86);
  border-radius: 28px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.hero-visual__meta-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.hero-visual__meta-text {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--zinc-600);
}

.hero__cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section::before {
  display: none;
  content: none;
  opacity: 0;
}

.section--light {
  background:
    linear-gradient(180deg, rgba(251, 249, 246, 0.88) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.section--pain {
  background:
    linear-gradient(180deg, #fbf9f6 0%, #ffffff 100%);
}

/* Блок после hero: переход к прозрачной системе */
.section--light.system-shift {
  background: #fffdfa;
}

.system-shift__grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(340px, 1fr);
  align-items: start;
  gap: clamp(36px, 5vw, 70px);
}

.system-block__left {
  margin-top: 24px;
}

.system-block__left h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 1.2vw + 1.2rem, 2.25rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0f1720;
}

.system-block__text {
  max-width: 515px;
  margin: 0;
  font-size: clamp(0.98rem, 0.2vw + 0.9rem, 1.0625rem);
  line-height: 1.55;
  font-weight: 400;
  color: #4f555d;
}

.system-block__why {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  align-items: start;
}

.system-block__star {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 153, 61, 0.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 250, 0.9);
  box-shadow: 0 18px 35px rgba(212, 150, 72, 0.08);
}

.system-block__star-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #ff9f3d;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.system-block__star-img {
  display: none;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.system-block__why h3 {
  margin: 3px 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111821;
}

.system-block__why p {
  margin: 0;
  font-size: clamp(0.92rem, 0.15vw + 0.86rem, 0.9875rem);
  line-height: 1.45;
  color: #343a40;
}

.system-block__note {
  margin: 30px 0 0;
  font-size: 0.96875rem;
  line-height: 1.4;
  color: #85898e;
}

.system-shift__visual {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  transform: translateY(-10px);
}

.system-shift__img {
  width: 100%;
  max-width: min(640px, 100%);
  height: auto;
  display: block;
}

.system-shift__diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.system-shift__sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 8px;
}

.system-shift__source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(213, 207, 198, 0.85);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.system-shift__source-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.system-shift__source-icon svg {
  width: 22px;
  height: 22px;
}

.system-shift__source-icon--crm {
  background: rgba(139, 111, 212, 0.12);
  color: #7a5fc8;
}

.system-shift__source-icon--1c {
  background: rgba(185, 122, 53, 0.14);
  color: var(--accent-dark);
}

.system-shift__source-icon--reports {
  background: rgba(92, 179, 150, 0.14);
  color: #3d9a78;
}

.system-shift__source-icon--docs {
  background: rgba(91, 159, 212, 0.14);
  color: #3d7eb5;
}

.system-shift__source-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--zinc-600);
}

.system-shift__flow {
  width: 100%;
  height: auto;
  margin: 4px 0 0;
}

.system-shift__dashboard {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  margin-top: 8px;
  border-radius: 22px;
  border: 1px solid rgba(213, 207, 198, 0.9);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.system-shift__dashboard-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  background: #faf9f7;
  border-right: 1px solid rgba(213, 207, 198, 0.7);
}

.system-shift__dashboard-side span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(213, 207, 198, 0.45);
}

.system-shift__dashboard-side span:first-child {
  background: rgba(139, 111, 212, 0.35);
}

.system-shift__dashboard-main {
  padding: 18px 20px 20px;
}

.system-shift__dashboard-title {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--black);
}

.system-shift__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.system-shift__metric {
  padding: 10px 12px;
  border-radius: 12px;
  background: #faf9f7;
  border: 1px solid rgba(213, 207, 198, 0.55);
}

.system-shift__metric-label {
  display: block;
  font-size: 0.68rem;
  color: var(--zinc-500);
}

.system-shift__metric-value {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--black);
  letter-spacing: -0.02em;
}

.system-shift__metric-delta {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 600;
}

.system-shift__metric-delta--up {
  color: #3d9a78;
}

.system-shift__metric-delta--down {
  color: #c45c5c;
}

.system-shift__charts {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  margin-top: 12px;
}

.system-shift__chart {
  border-radius: 12px;
  border: 1px solid rgba(213, 207, 198, 0.55);
  background: #faf9f7;
  min-height: 88px;
}

.system-shift__chart--line {
  padding: 10px 12px 8px;
}

.system-shift__chart--line svg {
  width: 100%;
  height: 72px;
  display: block;
}

.system-shift__chart--donut {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}

.system-shift__chart--donut svg {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.system-shift__chart-legend {
  display: grid;
  gap: 6px;
}

.system-shift__chart-legend span {
  display: block;
  width: 36px;
  height: 6px;
  border-radius: 999px;
  background: rgba(213, 207, 198, 0.65);
}

.system-shift__chart-legend span:nth-child(1) {
  background: #8b6fd4;
}

.system-shift__chart-legend span:nth-child(2) {
  background: #5b9fd4;
  width: 28px;
}

.system-shift__chart-legend span:nth-child(3) {
  width: 22px;
}

/* Два оффера под секцией услуг: экспресс-диагностика и обследование */
#services.section {
  background: #fffcf8;
  padding-bottom: 0;
}

.section--offers-dual {
  background: #ffffff;
}

.section--offers-dual::before,
.section--offers-dual::after {
  display: none;
  content: none;
  opacity: 0;
}

/* #services — каталог «Что мы автоматизируем…»: чуть крупнее карточки на широких экранах */
@media (min-width: 2000px) {
  #services .grid--services,
  #servicesList {
    gap: 28px;
  }

  #services .service-card--catalog {
    min-height: 132px;
    padding: 26px 30px;
    border-radius: 18px;
  }

  #services .service-card--catalog .service-card__body {
    max-width: calc(100% - 76px);
  }

  #services .service-card--catalog .service-card__title {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  #services .service-card--catalog .service-card__text {
    font-size: 15px;
    line-height: 1.45;
  }

  #servicesList .service-card__icon.service-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  #servicesList .service-card__icon.service-icon-box svg {
    width: 27px;
    height: 27px;
  }

  #servicesList .service-card__icon.service-icon-box.service-icon-box--arrow {
    width: 48px;
    height: 48px;
  }

  #servicesList .service-card__icon.service-icon-box.service-icon-box--arrow svg {
    width: 21px;
    height: 21px;
  }
}

.offers-dual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.section--offers-dual .offer-card {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.5vw, 24px);
  padding: 47px;
  border-radius: 20px;
  border: 1px solid rgba(126, 205, 185, 0.16);
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(19, 20, 22, 0.07),
    0 6px 16px rgba(19, 20, 22, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--black);
}

.section--offers-dual .offer-card::before,
.section--offers-dual .offer-card::after {
  display: none;
  content: none;
  opacity: 0;
}

.offer-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.offer-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(145deg, #6dccaf 0%, #4aaf8f 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(74, 175, 143, 0.28);
}

.offer-card__icon svg {
  width: 22px;
  height: 22px;
}

.offer-card__icon--pulse-mark {
  background: transparent;
  box-shadow: none;
  width: clamp(56px, 6.5vw, 72px);
  height: clamp(56px, 6.5vw, 72px);
}

.offer-card__icon--pulse-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.offer-card__icon--search-mark {
  background: transparent;
  box-shadow: none;
  width: clamp(56px, 6.5vw, 72px);
  height: clamp(56px, 6.5vw, 72px);
}

.offer-card__icon--search-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.offer-card__title {
  margin: 0;
  padding-top: 0;
  font-size: clamp(1.12rem, 0.55vw + 0.98rem, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.28;
  color: #0f1729;
}

.offer-card__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 36%);
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  flex: 1 1 auto;
}

.offer-card__text {
  margin: 0;
  font-size: clamp(0.92rem, 0.32vw + 0.84rem, 1.06rem);
  line-height: 1.66;
  color: rgba(55, 65, 81, 0.9);
}

.offer-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
}

.offer-card__svg,
.offer-card__img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}

.offer-card__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid #6dccaf;
  background: #fff;
  color: #2a7f62;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.offer-card__more-arrow {
  font-size: 1.05em;
  line-height: 1;
  translate: 0 -1px;
}

.offer-card__more:hover {
  background: rgba(109, 204, 175, 0.12);
  border-color: #4aaf8f;
  color: #226b52;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(74, 175, 143, 0.18);
}

.offer-card__more:focus-visible {
  outline: 2px solid #4aaf8f;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .offers-dual-grid {
    grid-template-columns: 1fr;
  }

  .offer-card__main {
    grid-template-columns: 1fr;
  }

  .offer-card__art {
    justify-content: flex-start;
    min-height: 96px;
  }

  .offer-card__svg,
  .offer-card__img {
    max-width: 220px;
  }
}

.section--pb-small {
  padding-top: 0;
  padding-bottom: 86px;
}

.section-head {
  max-width: 800px;
  margin-bottom: 40px;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(1.65rem, 1.1vw + 1.45rem, 2.45rem);
  line-height: 1.1;
}

@media (min-width: 769px) {
  #services .section-head {
    max-width: none;
    width: 100%;
  }

  #services .section-title {
    max-width: none;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(36px, 2.4vw, 56px);
    line-height: 1.08;
  }
}

@media (max-width: 768px) {
  #services .section-title {
    white-space: normal;
    font-size: clamp(30px, 8vw, 42px);
  }
}

.section-label--dark,
.section-title--dark {
  color: var(--white);
}

.section-label--dark {
  color: rgba(255, 255, 255, 0.52);
}

/* Подзаголовки внутри тёмных блоков (.dark-block) — светлее для контраста */
.dark-block .course-program__subtitle,
.dark-block .card__text:not(.card__text--dark) {
  color: rgba(255, 255, 255, 0.94);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--pain {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid--courses {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid--automations {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  padding-top: 22px;
  isolation: isolate;
  --steps-line: rgba(213, 207, 198, 0.9);
  overflow: visible;
}

.grid--steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--steps-line);
  pointer-events: none;
  z-index: 0;
}

.grid--vacancies {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.pain-card,
.step-card,
.vacancy-card,
.automation-card {
  position: relative;
  overflow: hidden;
  color: #09090b;
}

.service-card {
  border: 1px solid rgba(213, 207, 198, 0.86);
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(185, 122, 53, 0.18) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 122, 53, 0.22);
}

.service-card:hover::before {
  opacity: 1;
}

/* Единый модификатор для карточек "Что получите на тренинге" с галочкой */
.service-card--check .service-card__title {
  position: relative;
  padding-left: 48px;
}

.service-card--check .service-card__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(242, 228, 211, 0.86) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(185, 122, 53, 0.22),
    0 10px 22px rgba(19, 20, 22, 0.06);
  transform: translateY(-50%);
  pointer-events: none;
}

.service-card--check .service-card__title::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 11px;
  height: 7px;
  margin-top: -6px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
  pointer-events: none;
}

.service-card--check .card__text {
  padding-left: 48px;
}

/* ──────────────────────────────────────────────────────────────
   Аккордеон "Подробная программа курса" — отдельная кнопка-карточка
   используется только на course-automation.html / course-finance.html
   ────────────────────────────────────────────────────────────── */
#program .container > .program-disclosure {
  margin-top: clamp(18px, 2vw, 28px);
}

.program-disclosure {
  position: relative;
  display: block;
  margin-top: 0;
  border: 1px solid rgba(213, 207, 198, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background-color var(--ease),
    transform var(--ease);
}

.program-disclosure:hover {
  border-color: rgba(185, 122, 53, 0.28);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.program-disclosure[open] {
  border-color: rgba(185, 122, 53, 0.24);
  box-shadow: var(--shadow-md);
  transform: none;
}

.program-disclosure__summary,
.program-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.program-disclosure > summary::-webkit-details-marker,
.program-disclosure__summary::-webkit-details-marker {
  display: none;
}

.program-disclosure > summary::marker,
.program-disclosure__summary::marker {
  display: none;
  content: "";
}

.program-disclosure__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.program-disclosure__title {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--black);
}

.program-disclosure__subtitle {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--zinc-500);
}

.program-disclosure__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(213, 207, 198, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.95) 0%, rgba(255, 255, 255, 0.94) 100%);
  color: var(--accent-dark);
  font-size: 0;
  box-shadow:
    inset 0 0 0 1px rgba(185, 122, 53, 0.12),
    0 8px 18px rgba(19, 20, 22, 0.04);
  transition:
    transform var(--ease),
    background-color var(--ease),
    color var(--ease),
    box-shadow var(--ease);
}

.program-disclosure__icon svg {
  width: 18px;
  height: 18px;
}

.program-disclosure:hover .program-disclosure__icon {
  transform: scale(1.04);
  color: var(--accent);
  box-shadow:
    inset 0 0 0 1px rgba(185, 122, 53, 0.2),
    0 10px 22px rgba(185, 122, 53, 0.18);
}

.program-disclosure[open] .program-disclosure__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.program-disclosure__content {
  padding: 0 26px 26px;
  animation: programDisclosureFade 0.28s ease both;
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-timeline {
  display: grid;
  gap: 12px;
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item {
  border: 1px solid rgba(213, 207, 198, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item > summary::-webkit-details-marker {
  display: none;
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item__title {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--black);
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(213, 207, 198, 0.9);
  background: rgba(255, 247, 232, 0.9);
  color: var(--accent-dark);
  transition: transform var(--ease);
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item[open] .program-item__icon {
  transform: rotate(45deg);
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item__content {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--zinc-600);
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item__content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.program-disclosure:not(.program-disclosure--inside-dark) .program-item__content li + li {
  margin-top: 8px;
}

@keyframes programDisclosureFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .program-disclosure {
    border-radius: 20px;
  }

  .program-disclosure__summary,
  .program-disclosure > summary {
    padding: 16px 18px;
    gap: 12px;
  }

  .program-disclosure__title {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .program-disclosure__subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .program-disclosure__icon {
    width: 38px;
    height: 38px;
  }

  .program-disclosure__icon svg {
    width: 16px;
    height: 16px;
  }

  .program-disclosure__content {
    padding: 0 18px 20px;
  }
}

/* Аккордеон, вложенный в .dark-block (внутри секции "Программа курса") */
.program-disclosure--inside-dark {
  margin-top: clamp(22px, 2vw, 32px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.program-disclosure--inside-dark:hover {
  border-color: rgba(255, 220, 178, 0.36);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.program-disclosure--inside-dark[open] {
  border-color: rgba(255, 220, 178, 0.32);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.program-disclosure--inside-dark .program-disclosure__title {
  color: #fff;
}

.program-disclosure--inside-dark .program-disclosure__subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.program-disclosure--inside-dark .program-disclosure__icon {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  color: rgba(255, 235, 200, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

.program-disclosure--inside-dark:hover .program-disclosure__icon {
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 12px 24px rgba(185, 122, 53, 0.28);
}

.program-disclosure--inside-dark[open] .program-disclosure__icon {
  color: #fff;
}

.service-card__icon,
.step-card__icon,
.vacancy-card__icon,
.pain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(242, 228, 211, 0.86) 0%, rgba(255, 255, 255, 0.92) 100%);
  color: var(--accent-dark);
  box-shadow:
    inset 0 0 0 1px rgba(185, 122, 53, 0.14),
    0 10px 22px rgba(19, 20, 22, 0.05);
}

.service-card__icon svg,
.step-card__icon svg,
.vacancy-card__icon svg,
.pain-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title,
.step-card__title,
.automation-card__title,
.pain-card__title,
.vacancy-card__title {
  margin: 0;
}

.service-card__title,
.step-card__title,
.automation-card__title {
  font-size: 1.125rem;
  line-height: 1.68;
}

.service-card__title {
  font-weight: 600;
}

.service-card--catalog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: 22px 26px;
  border-radius: 16px;
}

#servicesList .service-card--catalog::before {
  display: none;
}

.service-card--catalog .service-card__icon:not(.service-icon-box) {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(var(--svc-soft, 242, 228, 211), 0.95) 0%, rgba(255, 255, 255, 0.96) 100%);
  color: rgba(var(--svc-ink, 185, 122, 53), 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(var(--svc-ink, 185, 122, 53), 0.16),
    0 10px 22px rgba(19, 20, 22, 0.04);
  transition: box-shadow var(--ease), transform var(--ease);
}

.service-card--catalog:hover .service-card__icon:not(.service-icon-box) {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(var(--svc-ink, 185, 122, 53), 0.18),
    0 10px 22px rgba(19, 20, 22, 0.04),
    0 0 28px rgba(var(--svc-ink, 185, 122, 53), 0.22);
}

.service-card--catalog:hover .service-card__icon:not(.service-icon-box) svg {
  filter: drop-shadow(0 0 18px rgba(var(--svc-ink, 185, 122, 53), 0.18));
}

.service-card--catalog .service-card__icon:not(.service-icon-box) svg {
  width: 22px;
  height: 22px;
}

.service-card--catalog .service-card__body {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1;
  max-width: calc(100% - 70px);
}

.service-card--catalog .service-card__title {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card--catalog .service-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(47, 44, 41, 0.62);
}

.service-card--catalog.service-card--cta {
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(185, 122, 53, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.92);
}

.service-card--catalog.service-card--cta .service-card__body {
  justify-items: center;
  text-align: center;
}

.service-card--catalog .service-card__title--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 1.18rem;
  line-height: 1.3;
}

.service-card--catalog.service-card--cta .service-card__title--cta {
  margin-top: 0;
}

.service-card--tone-blue { --svc-soft: 232, 241, 255; --svc-ink: 77, 126, 214; }
.service-card--tone-pink { --svc-soft: 255, 233, 241; --svc-ink: 214, 94, 141; }
.service-card--tone-teal { --svc-soft: 230, 248, 246; --svc-ink: 37, 155, 151; }
.service-card--tone-purple { --svc-soft: 242, 233, 255; --svc-ink: 136, 88, 214; }
.service-card--tone-amber { --svc-soft: 255, 242, 220; --svc-ink: 196, 128, 40; }
.service-card--tone-lime { --svc-soft: 244, 252, 231; --svc-ink: 124, 156, 38; }
.service-card--tone-sand { --svc-soft: 248, 244, 235; --svc-ink: 176, 140, 88; }
.service-card--tone-blue2 { --svc-soft: 234, 245, 255; --svc-ink: 58, 124, 205; }
.service-card--tone-violet { --svc-soft: 241, 236, 255; --svc-ink: 116, 82, 206; }
.service-card--tone-green { --svc-soft: 232, 250, 240; --svc-ink: 45, 160, 102; }
.service-card--tone-orange { --svc-soft: 255, 241, 228; --svc-ink: 205, 110, 52; }

/* Иконки каталога услуг (#servicesList) */
#servicesList .service-card__icon.service-icon-box {
  --icon-color: #bfc9ff;
  --icon-bg: rgba(191, 201, 255, 0.24);
  --icon-glow: rgba(191, 201, 255, 0.42);

  width: 52px;
  height: 52px;
  margin-bottom: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;

  color: var(--icon-color);

  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.72) 100%),
    var(--icon-bg);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 12px 28px var(--icon-glow),
    0 0 26px var(--icon-glow),
    0 4px 10px rgba(25, 25, 25, 0.05);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--ease), transform var(--ease);
}

#servicesList .service-card__icon.service-icon-box svg {
  width: 26px;
  height: 26px;
  display: block;
  color: inherit;
  filter: none;
}

#servicesList .service-card__icon.service-icon-box svg * {
  vector-effect: non-scaling-stroke;
}

#servicesList .service-card--catalog:hover .service-card__icon.service-icon-box {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 14px 32px var(--icon-glow),
    0 0 30px var(--icon-glow),
    0 4px 10px rgba(25, 25, 25, 0.05);
}

#servicesList .service-card--catalog:hover .service-card__icon.service-icon-box svg {
  filter: none;
}

#servicesList .service-card__icon.service-icon-box.service-icon--blue {
  --icon-color: #95a8ff;
  --icon-bg: rgba(149, 168, 255, 0.26);
  --icon-glow: rgba(149, 168, 255, 0.46);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--pink {
  --icon-color: #f39ab4;
  --icon-bg: rgba(243, 154, 180, 0.26);
  --icon-glow: rgba(243, 154, 180, 0.44);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--cyan {
  --icon-color: #7fd8ee;
  --icon-bg: rgba(127, 216, 238, 0.26);
  --icon-glow: rgba(127, 216, 238, 0.44);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--violet {
  --icon-color: #c99bf0;
  --icon-bg: rgba(201, 155, 240, 0.26);
  --icon-glow: rgba(201, 155, 240, 0.44);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--gold {
  --icon-color: #d8ae58;
  --icon-bg: rgba(216, 174, 88, 0.24);
  --icon-glow: rgba(216, 174, 88, 0.4);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--green {
  --icon-color: #b9d36c;
  --icon-bg: rgba(185, 211, 108, 0.24);
  --icon-glow: rgba(185, 211, 108, 0.4);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--yellow {
  --icon-color: #e7bb57;
  --icon-bg: rgba(231, 187, 87, 0.24);
  --icon-glow: rgba(231, 187, 87, 0.4);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--indigo {
  --icon-color: #90a7ff;
  --icon-bg: rgba(144, 167, 255, 0.25);
  --icon-glow: rgba(144, 167, 255, 0.42);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--mint {
  --icon-color: #62d19a;
  --icon-bg: rgba(98, 209, 154, 0.24);
  --icon-glow: rgba(98, 209, 154, 0.4);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon--orange {
  --icon-color: #efac58;
  --icon-bg: rgba(239, 172, 88, 0.24);
  --icon-glow: rgba(239, 172, 88, 0.4);
  color: var(--icon-color);
}

#servicesList .service-card__icon.service-icon-box.service-icon-box--arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #a88445;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.38) 100%),
    rgba(226, 200, 144, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 18px rgba(226, 200, 144, 0.34),
    0 0 20px rgba(226, 200, 144, 0.26);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#servicesList .service-card__icon.service-icon-box.service-icon-box--arrow svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1100px) {
  .grid--services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pain-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  border-radius: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(213, 207, 198, 0.84);
}

.pain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(185, 122, 53, 0.06), transparent 36%);
  pointer-events: none;
}

.pain-card__icon {
  width: 46px;
  height: 46px;
  background:
    linear-gradient(180deg, rgba(242, 228, 211, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(185, 122, 53, 0.14);
}

.pain-card__body {
  position: relative;
  z-index: 1;
}

.pain-card__title {
  font-size: 1.24rem;
  line-height: 1.58;
  font-weight: 600;
}

.pain-card__text {
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.92;
  color: var(--zinc-600);
}

.course-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card--course {
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.course-card__cta {
  position: relative;
  z-index: 2;
}

.course-card__cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.card--course .list--course {
  margin-bottom: 28px;
}

.list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--zinc-700);
}

.list--course {
  display: grid;
  gap: 14px;
}

.list--course li {
  position: relative;
  padding-left: 24px;
  line-height: 1.72;
}

.list--course li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #f5d2aa 0%, var(--accent) 58%, var(--accent-dark) 100%);
  transform: translateY(-50%);
}

.list--offset {
  margin-top: 24px;
}

.dark-block {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 58px 48px;
  background:
    linear-gradient(155deg, #0b0b0d 0%, #161311 48%, #21160c 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.dark-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(239, 191, 130, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.07), transparent 32%);
  pointer-events: none;
}

.dark-block__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
}

.automation-card {
  padding: 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.automation-card::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 42px;
  height: 2px;
  background: rgba(239, 191, 130, 0.9);
}

.automation-card__title {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  font-weight: 400;
}

.step-card {
  display: grid;
  gap: 16px;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(213, 207, 198, 0.86);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  --step-connector-up: 22px;
  --step-connector-down: 18px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 122, 53, 0.22);
}

/* Соединительные линии (как на макете): сверху и между карточками */
.step-card::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--step-connector-up));
  left: 50%;
  display: block;
  width: 1px;
  height: var(--step-connector-up);
  background: var(--steps-line);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.step-card::after {
  content: "";
  position: absolute;
  left: 50%;
  display: none;
  width: 1px;
  height: var(--step-connector-down);
  background: var(--steps-line);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.step-card__head,
.step-card__title,
.step-card__text {
  position: relative;
  z-index: 2;
}

/* 4 колонки (десктоп): соединительные линии в "Как мы работаем" */
@media (min-width: 1280px) {
  .grid--steps {
    position: relative;
    overflow: visible !important;
  }

  .grid--steps .step-card {
    position: relative;
    overflow: visible !important;
  }

  .grid--steps .step-card::before,
  .grid--steps .step-card::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    width: 2px !important;
    background: rgba(213, 207, 198, 0.95) !important;
    opacity: 1 !important;
    display: block !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 3 !important;
  }

  /* от верхней горизонтальной шины к карточке */
  .grid--steps .step-card::before {
    top: -24px !important;
    height: 24px !important;
  }

  /* от карточки вниз к следующему ряду (по умолчанию скрыто) */
  .grid--steps .step-card::after {
    bottom: -24px !important;
    height: 24px !important;
    display: none !important;
  }

  /* нижняя вертикаль только там, где есть карточка во втором ряду: 1->5, 2->6, 3->7 */
  .grid--steps .step-card:nth-child(-n + 3)::after {
    display: block !important;
  }

  /* с 4-й карточки и дальше — нижнюю вертикаль не рисуем */
  .grid--steps .step-card:nth-child(n + 4)::after {
    display: none !important;
  }

  /* единая горизонтальная "шина" над первым рядом */
  .grid--steps::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    height: 2px !important;
    background: rgba(213, 207, 198, 0.95) !important;
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }
}

.step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-card__icon {
  width: 44px;
  height: 44px;
  background:
    linear-gradient(180deg, rgba(242, 228, 211, 0.86) 0%, rgba(255, 255, 255, 0.96) 100%);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(185, 122, 53, 0.14);
}

.step-card__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.step-card__title {
  font-weight: 600;
}

.vacancy-card {
  border: 1px solid rgba(213, 207, 198, 0.86);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.vacancy-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vacancy-card__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, rgba(242, 228, 211, 0.86) 0%, rgba(255, 255, 255, 1) 100%);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(185, 122, 53, 0.14);
}

.vacancy-card__title {
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1.3;
}

.vacancy-card__text {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.92;
  color: var(--zinc-600);
}

.cta-block {
  position: relative;
  overflow: visible;
  border: none;
  border-radius: 34px;
  padding: 50px;
  background: #fffdfa;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(213, 207, 198, 0.88);
}

.cta-block::before {
  display: none;
}

.cta-block__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 32px;
}

.cta-block__text {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.98;
  color: var(--zinc-600);
}

.cta-form.card--border {
  border: none;
  background: #fff;
}

.cta-form.card {
  overflow: visible;
  box-shadow: none;
}

.cta-form {
  position: relative;
  z-index: 0;
  padding: 24px;
}

.cta-form.card--border::before {
  display: none;
}

/* Рамка поверх полей — белый фон не «съедает» border слева */
.cta-form.card--border::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(213, 207, 198, 0.86);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.cta-form .form-fields {
  position: relative;
  z-index: 1;
}

.cta-form .field,
.cta-form .field--select,
.cta-form .field--textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: none;
  background-color: #fff;
  background-image: none;
  box-shadow: inset 0 0 0 1px rgba(213, 207, 198, 0.95);
}

.cta-form .field:focus {
  box-shadow:
    inset 0 0 0 1px rgba(185, 122, 53, 0.45),
    0 0 0 3px rgba(185, 122, 53, 0.1);
}

.form-fields {
  display: grid;
  gap: 16px;
}

.service-picker {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-picker__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-picker__option {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  border-radius: 1rem;
  border: 1px solid rgba(213, 207, 198, 0.95);
  background: rgba(255, 255, 255, 0.75);
  color: var(--black);
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.service-picker__option:hover {
  transform: translateY(-1px);
}

.service-picker__input:checked + .service-picker__option {
  border-color: rgba(9, 9, 11, 0.8);
  background: rgba(9, 9, 11, 0.04);
  box-shadow: 0 0 0 4px rgba(9, 9, 11, 0.06);
}

.service-picker__input:focus-visible + .service-picker__option {
  border-color: rgba(185, 122, 53, 0.5);
  box-shadow: 0 0 0 4px rgba(185, 122, 53, 0.12);
}

.service-picker__input:disabled + .service-picker__option {
  opacity: 0.6;
  cursor: not-allowed;
}

.field {
  width: 100%;
  border: 1px solid rgba(213, 207, 198, 0.95);
  border-radius: 1rem;
  padding: 14px 16px;
  outline: none;
  box-shadow: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field--select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  padding-right: 46px;
}

.field--select:invalid {
  color: var(--zinc-400);
}

.field--select option {
  color: var(--black);
}

.field--select option[disabled] {
  color: var(--zinc-400);
}

.select {
  position: relative;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(0deg);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b2b2b;
  pointer-events: none;
  border-radius: 10px;
  transition: transform var(--ease);
}

.select.is-open .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(213, 207, 198, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px;
  display: grid;
  gap: 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cookie-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--zinc-600);
}

.cookie-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(185, 122, 53, 0.55);
}

.cookie-consent {
  margin-top: 2px;
}

.cookie-checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.cookie-checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--black);
}

.cookie-checkbox-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--zinc-600);
}

.cookie-button {
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(213, 207, 198, 0.9);
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--ease), opacity var(--ease);
}

.cookie-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.policy {
  border: 1px solid rgba(213, 207, 198, 0.88);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.policy__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--zinc-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(185, 122, 53, 0.5);
}

.policy__title {
  margin: 0 0 18px;
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.policy :where(p, ul, ol) {
  margin: 12px 0 0;
  color: var(--zinc-600);
  line-height: 1.85;
}

.policy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(185, 122, 53, 0.55);
}

.policy ul,
.policy ol {
  padding-left: 20px;
}

.policy__section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(213, 207, 198, 0.55);
}

.policy__section h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--black);
}

.policy__section h3 {
  margin: 16px 0 0;
  font-size: 1rem;
  color: var(--black);
}

.policy__section--highlight {
  background:
    radial-gradient(circle at top right, rgba(185, 122, 53, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(251, 249, 246, 0.75) 0%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(213, 207, 198, 0.75);
  border-radius: 22px;
  padding: 22px;
}

.policy__section--highlight h2 {
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner-content {
    border-radius: 22px;
    padding: 16px;
  }

  .cookie-button {
    width: 100%;
    justify-self: stretch;
  }

  .policy {
    padding: 22px;
    border-radius: 22px;
  }

  .policy__title {
    font-size: 1.45rem;
  }
}

@media (min-width: 1440px) {
  :root {
    /* как в system5days: контейнер "дышит" от vw, но ограничен px */
    --container-max: min(1560px, 88vw);
    --container-pad: 30px;
  }

  html {
    font-size: 17px;
  }
}

@media (min-width: 1600px) {
  :root {
    --container-max: min(1680px, 90vw);
    --container-pad: 34px;
    --section-y: 110px;
  }

  html {
    font-size: 17.5px;
  }

  .hero__grid {
    gap: 56px;
    padding-top: 96px;
    padding-bottom: 120px;
  }

  .grid {
    gap: 20px;
  }
}

/* Большие мониторы: расширяем макет ощутимо (аналогично system5days @1800px) */
@media (min-width: 1800px) {
  :root {
    --container-max: min(2028px, 92vw);
    --section-y: 122px;
  }

  html {
    font-size: 18px;
  }

  /* Карточки/блоки: чуть крупнее типографика */
  .card__title {
    font-size: 1.42rem;
  }

  .card__title--lg {
    font-size: 2.02rem;
  }

  .card__text {
    font-size: 1.08rem;
    line-height: 1.88;
  }

  .card__label,
  .card__date {
    font-size: 0.98rem;
  }

  .service-card__title,
  .step-card__title,
  .automation-card__title {
    font-size: 1.28rem;
  }

  .list--course {
    gap: 16px;
    font-size: 1.14rem;
  }

  .list--course li {
    line-height: 1.68;
  }

  .course-card__cta.button--small {
    font-size: 1.12rem;
    padding: 14px 22px;
    min-height: 50px;
  }

  /* Проблемы / вакансии: тоже чуть крупнее */
  .pain-card__title,
  .vacancy-card__title {
    font-size: 1.46rem;
    line-height: 1.32;
  }

  .pain-card__text,
  .vacancy-card__text {
    font-size: 1.05rem;
  }

}

@media (min-width: 1920px) {
  :root {
    --container-max: min(2028px, 92vw);
    --container-pad: 34px;
    --section-y: 130px;
  }

  html {
    font-size: 18.25px;
  }

  .header__inner {
    gap: 28px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .header__title {
    font-size: 1.44rem;
  }

  .header__subtitle {
    font-size: 1.02rem;
  }

  .header__nav {
    gap: 28px;
    font-size: 1.02rem;
  }

  .button--small {
    padding: 11px 18px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 740px);
    gap: 66px;
    padding-top: 112px;
    padding-bottom: 146px;
  }

  .hero__title {
    max-width: min(1080px, 62vw);
  }

  .hero__text {
    max-width: min(1040px, 60vw);
    font-size: clamp(1.05rem, 0.35vw + 0.95rem, 1.2rem);
  }

  .section-head {
    max-width: 880px;
    margin-bottom: 54px;
  }

  .cta-block {
    padding: 70px 70px;
  }

  .dark-block {
    padding: 76px 72px;
  }

  .card,
  .service-card,
  .step-card,
  .vacancy-card,
  .pain-card,
  .cta-form {
    padding: 28px;
  }
}

@media (min-width: 2300px) {
  :root {
    --container-max: min(2160px, 92vw);
    --container-pad: 40px;
    --section-y: 140px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 720px);
    gap: 72px;
    padding-top: 110px;
    padding-bottom: 140px;
  }

  .grid {
    gap: 24px;
  }

  .cta-block {
    padding: 74px 72px;
  }
}

/* Широкие мониторы и ультраширокие 21:9 (~2560×1080): шире контейнер, больше воздуха, без «надувания» типографики */
@media (min-width: 2200px) {
  :root {
    --container-max: min(2160px, 92vw);
    --container-pad: max(36px, min(64px, 4.6vw));
    --section-y: clamp(132px, 6.4vw, 164px);
  }

  html {
    /* плавнее для 2560×1080: максимум без "гигантизма" */
    font-size: clamp(18.25px, 0.32vw + 12px, 19.5px);
  }

  /* Карточки/блоки: при 2560×1080 читаемость важнее */
  .card__title {
    font-size: clamp(1.46rem, 0.22vw + 1.36rem, 1.68rem);
  }

  .card__title--lg {
    font-size: clamp(2.1rem, 0.45vw + 1.82rem, 2.5rem);
  }

  .card__text {
    font-size: clamp(1.12rem, 0.18vw + 1.06rem, 1.26rem);
    line-height: 1.88;
  }

  .card__label,
  .card__date {
    font-size: clamp(1.02rem, 0.14vw + 0.96rem, 1.12rem);
  }

  .service-card__title,
  .step-card__title,
  .automation-card__title {
    font-size: clamp(1.32rem, 0.22vw + 1.22rem, 1.5rem);
  }

  .list--course {
    gap: clamp(16px, 1vw, 20px);
    font-size: clamp(1.18rem, 0.2vw + 1.1rem, 1.4rem);
  }

  .list--course li {
    line-height: 1.68;
  }

  .course-card__cta.button--small {
    font-size: clamp(1.14rem, 0.18vw + 1.08rem, 1.34rem);
    padding: clamp(14px, 0.8vw, 18px) clamp(22px, 1.2vw, 30px);
    min-height: clamp(52px, 2.4vw, 60px);
  }

  .cta-block__text {
    font-size: clamp(1.14rem, 0.18vw + 1.08rem, 1.3rem);
  }

  .field {
    font-size: clamp(1.06rem, 0.14vw + 1.02rem, 1.2rem);
  }

  .pain-card__title,
  .vacancy-card__title {
    font-size: clamp(1.5rem, 0.26vw + 1.38rem, 1.78rem);
    line-height: 1.3;
  }

  .pain-card__text,
  .vacancy-card__text {
    font-size: clamp(1.08rem, 0.16vw + 1.02rem, 1.24rem);
  }

  .header__inner {
    gap: clamp(28px, 1.8vw, 40px);
    padding-top: clamp(18px, 1.2vw, 22px);
    padding-bottom: clamp(18px, 1.2vw, 22px);
  }

  .header__title {
    font-size: clamp(1.46rem, 0.32vw + 1.32rem, 1.68rem);
  }

  .header__subtitle {
    font-size: clamp(1.04rem, 0.22vw + 0.98rem, 1.16rem);
  }

  .header__nav {
    gap: clamp(28px, 2vw, 44px);
    font-size: clamp(1.04rem, 0.24vw + 0.98rem, 1.18rem);
  }

  .header__dropdown {
    min-width: 320px;
  }

  .button--small {
    padding: 12px 20px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(520px, min(900px, 49vw));
    gap: clamp(40px, 2.6vw, 56px);
    padding-top: clamp(112px, 5.6vw, 136px);
    padding-bottom: clamp(140px, 6.6vw, 172px);
  }

  .hero__title {
    max-width: min(1180px, 66vw);
  }

  .hero__text {
    max-width: min(1120px, 64vw);
  }

  .section-head {
    max-width: min(980px, 56vw);
    margin-bottom: clamp(52px, 3.2vw, 66px);
  }

  .grid {
    gap: clamp(22px, 1.6vw, 30px);
  }

  .cta-block {
    padding: clamp(76px, 4.2vw, 104px);
  }

  .dark-block {
    padding: clamp(86px, 4.6vw, 118px) clamp(74px, 4.2vw, 96px);
  }

  .card,
  .service-card,
  .step-card,
  .vacancy-card,
  .pain-card,
  .cta-form {
    padding: clamp(30px, 1.2vw, 36px);
  }
}

@media (min-width: 2200px) and (min-aspect-ratio: 2/1) {
  :root {
    /* 21:9 — ещё ближе, но всё равно с ограничением */
    --container-max: min(2280px, 94vw);
    /* поджимаем вертикальные отступы секций на ultrawide */
    --section-y: clamp(84px, 4.2vw, 110px);
  }

  html {
    font-size: clamp(18.5px, 0.34vw + 12px, 19.75px);
  }

  /* Header: увеличиваем стрелочки у dropdown */
  .header__nav-caret {
    width: 14px;
    height: 9px;
  }

  .header__nav-caret svg {
    width: 14px;
    height: 9px;
  }

  /* Header: увеличиваем кнопку "Записаться на консультацию" */
  .header .button--small {
    font-size: 1.08rem;
    padding: 14px 22px;
    min-height: 52px;
  }

  /* Кнопки: чуть выше на больших экранах */
  .button {
    min-height: 64px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 1.02rem;
  }

  .button--small {
    min-height: 60px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 1.02rem;
  }

  /* Hero: чуть больше воздуха на ultrawide */
  .hero__grid {
    padding-top: clamp(124px, 5.4vw, 154px);
    padding-bottom: clamp(130px, 5.2vw, 168px);
    gap: clamp(56px, 3.4vw, 78px);
  }

  .eyebrow {
    font-size: 0.9rem;
    padding: 10px 18px;
    margin-bottom: 22px;
  }

  .eyebrow__icon {
    width: 20px;
    height: 20px;
  }

  .eyebrow__icon svg {
    width: 20px;
    height: 20px;
  }

  .hero__actions {
    margin-top: clamp(36px, 1.8vw, 48px);
  }

  .hero__notions {
    margin-top: clamp(30px, 1.6vw, 44px);
  }

  /* index (page-home, 21∶9): плашка, заголовок, лид, кнопки, кикер и чипсы */
  body.page-home .hero__content > .hero-badge {
    margin-bottom: clamp(20px, 1.1vw, 28px);
    padding: clamp(10px, 0.42vw + 8px, 12px) clamp(22px, 1.1vw + 18px, 32px);
    gap: clamp(14px, 0.55vw, 18px);
  }

  body.page-home .hero__content > .hero-badge .hero-badge__icon {
    width: clamp(20px, 0.75vw, 24px);
    height: clamp(20px, 0.75vw, 24px);
  }

  body.page-home .hero__content > .hero-badge .hero-badge__text {
    font-size: clamp(11px, 0.28vw + 10px, 13px);
    letter-spacing: clamp(0.28em, 0.012vw + 0.34em, 0.38em);
  }

  body.page-home .hero__title {
    max-width: min(1020px, 54vw);
    font-size: clamp(44px, 2.1vw + 28px, 64px);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  body.page-home .hero__text--home-lead {
    max-width: min(920px, 48vw);
    font-size: clamp(1.12rem, 0.5vw + 0.92rem, 1.38rem);
    line-height: 1.72;
  }

  body.page-home .hero__actions {
    gap: clamp(16px, 0.85vw, 22px);
    margin-top: clamp(28px, 1.5vw, 40px);
  }

  body.page-home .hero__actions .button {
    min-height: clamp(56px, 2.6vw, 70px);
    padding: clamp(15px, 0.65vw, 19px) clamp(22px, 1.1vw, 34px);
    font-size: clamp(1.04rem, 0.38vw + 0.92rem, 1.22rem);
    border-radius: clamp(14px, 0.55vw, 18px);
  }

  body.page-home .hero__btn-icon,
  body.page-home .hero__btn-icon svg,
  body.page-home .hero__btn-icon img {
    width: clamp(19px, 0.8vw, 24px);
    height: clamp(19px, 0.8vw, 24px);
  }

  body.page-home .hero__notions {
    margin-top: clamp(22px, 1.35vw, 34px);
  }

  body.page-home .hero__notions-kicker {
    margin-top: 0;
    font-size: clamp(0.8rem, 0.26vw + 0.7rem, 0.95rem);
    letter-spacing: 0.13em;
  }

  body.page-home .hero__notions-grid {
    max-width: min(1280px, 76vw);
    gap: clamp(12px, 0.65vw, 18px);
    margin-top: clamp(12px, 0.65vw, 18px);
  }

  body.page-home .hero__notion-card {
    min-height: clamp(54px, 2.5vw, 70px);
    padding: clamp(12px, 0.6vw, 16px) clamp(14px, 0.75vw, 22px);
    gap: clamp(10px, 0.5vw, 14px);
    border-radius: clamp(14px, 0.6vw, 18px);
  }

  body.page-home .hero__notion-icon {
    width: clamp(36px, 1.45vw, 44px);
    height: clamp(36px, 1.45vw, 44px);
  }

  body.page-home .hero__notion-icon svg {
    width: clamp(24px, 0.95vw, 30px);
    height: clamp(24px, 0.95vw, 30px);
  }

  body.page-home .hero__notion-text {
    font-size: clamp(0.96rem, 0.32vw + 0.84rem, 1.14rem);
  }

  /* 21:9 (например 2560×1080): усиливаем конкретно dark-block */
  .dark-block {
    padding: clamp(96px, 4.8vw, 132px) clamp(86px, 4.4vw, 112px);
    border-radius: clamp(34px, 1.4vw, 44px);
  }

  .dark-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(44px, 2.6vw, 72px);
    align-items: start;
  }

  .dark-block .section-title {
    font-size: clamp(2.2rem, 0.9vw + 1.6rem, 3.05rem);
    line-height: 1.08;
    max-width: min(1040px, 44vw);
  }

  .dark-block .notation-list {
    margin-top: clamp(28px, 1.2vw, 44px);
    gap: clamp(10px, 0.7vw, 14px);
  }

  .dark-block .notation-chip {
    min-height: clamp(34px, 1.6vw, 42px);
    padding: clamp(7px, 0.5vw, 10px) clamp(12px, 0.8vw, 16px);
    font-size: clamp(0.8rem, 0.18vw + 0.74rem, 0.95rem);
  }

  /* Hero: "С чем работаем" — последние 3 чипса во 2-й ряд */
  .hero__notions-list {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    justify-content: start;
    align-items: start;
  }

  /* Заголовок "Кейсы..." — одной строкой на больших экранах */
  .section--pain .section-title {
    white-space: nowrap;
    max-width: none;
    font-size: clamp(2.1rem, 1vw + 1.55rem, 2.6rem);
  }

  /* #services — «Что мы автоматизируем…»: крупнее заголовок, сетка, карточки и контент (21∶9, в т.ч. 2560×1080) */
  #services .container {
    max-width: min(2360px, 93vw);
  }

  #services .section-head {
    max-width: none;
    width: 100%;
    margin-bottom: clamp(52px, 3vw, 72px);
  }

  #services .section-title {
    max-width: none;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(42px, 2.6vw, 64px);
    line-height: 1.08;
  }

  #services .grid--services {
    gap: clamp(24px, 1.5vw, 36px);
    align-items: stretch;
  }

  #services .service-card--catalog {
    padding: clamp(22px, 1vw, 28px) clamp(24px, 1.1vw, 30px);
    border-radius: clamp(16px, 0.55vw, 20px);
    gap: 18px;
    min-height: clamp(118px, 5.5vw, 132px);
  }

  #services .service-card--catalog .service-card__body {
    gap: clamp(6px, 0.35vw, 8px);
    max-width: calc(100% - clamp(62px, 2.8vw, 76px));
  }

  #services .service-card--catalog .service-card__title {
    font-size: clamp(17px, 0.32vw + 15px, 20px);
    line-height: 1.15;
  }

  #services .service-card--catalog .service-card__text {
    font-size: clamp(13px, 0.22vw + 12px, 15px);
    line-height: 1.45;
  }

  #services .service-card--catalog .service-card__icon.service-icon-box {
    width: clamp(50px, 2vw, 56px);
    height: clamp(50px, 2vw, 56px);
    border-radius: clamp(14px, 0.55vw, 16px);
  }

  #services .service-card--catalog .service-card__icon.service-icon-box svg {
    width: clamp(24px, 0.95vw, 28px);
    height: clamp(24px, 0.95vw, 28px);
  }

  #services .service-card--catalog .service-card__icon.service-icon-box--arrow {
    width: clamp(44px, 1.7vw, 50px);
    height: clamp(44px, 1.7vw, 50px);
  }

  #services .service-card--catalog .service-card__icon.service-icon-box--arrow svg {
    width: clamp(18px, 0.75vw, 22px);
    height: clamp(18px, 0.75vw, 22px);
  }

  #services .service-card--catalog .service-card__title--cta {
    font-size: clamp(1.28rem, 0.42vw + 1.08rem, 1.55rem);
  }

  /* "Как мы работаем": увеличиваем Шаг 1..7 и иконки (только лейбл + icon) */
  .grid--steps .step-card .step-card__label {
    font-size: clamp(0.96rem, 0.22vw + 0.9rem, 1.12rem);
    letter-spacing: 0.14em;
  }

  .grid--steps .step-card .step-card__icon {
    width: clamp(52px, 2.2vw, 64px);
    height: clamp(52px, 2.2vw, 64px);
    border-radius: clamp(18px, 0.9vw, 22px);
  }

  .grid--steps .step-card .step-card__icon svg {
    width: clamp(26px, 1.1vw, 32px);
    height: clamp(26px, 1.1vw, 32px);
  }

  /* Вакансии: увеличиваем высоту карточек и внутренних блоков */
  .grid--vacancies {
    align-items: stretch;
  }

  .vacancy-card {
    min-height: clamp(180px, 10vw, 250px);
    display: flex;
    flex-direction: column;
  }

  .vacancy-card__text {
    margin-top: auto;
  }

  /* Блок с формой заявки: увеличиваем высоту секции и формы */
  .cta-block__grid {
    align-items: stretch;
  }

  .cta-block {
    padding-top: clamp(64px, 3.2vw, 92px);
    padding-bottom: clamp(64px, 3.2vw, 92px);
  }

  .cta-form {
    min-height: clamp(340px, 18vw, 460px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* 21:9: заголовок + текст "Записаться на консультацию" — чуть левее (не двигаем форму) */
  body.page-automation #requestForm .cta-block__grid > div:first-child,
  body.page-finance #requestForm .cta-block__grid > div:first-child {
    transform: translateX(-24px);
  }

  /* Блок кейсов (бывший pain): делаем карточки выше */
  .grid--pain {
    align-items: stretch;
  }

  .pain-card {
    min-height: clamp(160px, 8.5vw, 220px);
  }

  /* Кейсы: меньше шрифт, больше иконки */
  .pain-card__title {
    font-size: 28px;
    line-height: 1.5;
  }

  .pain-card__icon {
    width: clamp(54px, 2.2vw, 66px);
    height: clamp(54px, 2.2vw, 66px);
    border-radius: clamp(18px, 0.9vw, 22px);
  }

  .pain-card__icon svg {
    width: clamp(28px, 1.1vw, 34px);
    height: clamp(28px, 1.1vw, 34px);
  }

  /* "Как мы работаем": делаем карточки шагов выше */
  .grid--steps {
    align-items: stretch;
  }

  .step-card {
    min-height: clamp(150px, 8vw, 210px);
  }

  /* Два оффера: экспресс-диагностика и анализ — крупнее на ultrawide 21:9 */
  .section--offers-dual .container {
    max-width: min(2400px, 94vw);
  }

  .offers-dual-grid {
    gap: clamp(32px, 1.8vw, 44px);
  }

  .offer-card {
    padding: clamp(54px, 2.4vw, 70px);
    border-radius: clamp(24px, 1.05vw, 32px);
    gap: clamp(26px, 1.4vw, 34px);
  }

  .offer-card__top {
    gap: clamp(18px, 1vw, 24px);
  }

  .offer-card__icon--pulse-mark,
  .offer-card__icon--search-mark {
    width: clamp(76px, 3.2vw, 96px);
    height: clamp(76px, 3.2vw, 96px);
  }

  .offer-card__title {
    font-size: clamp(1.48rem, 0.52vw + 1.18rem, 1.82rem);
    line-height: 1.22;
  }

  .offer-card__main {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 42%);
    gap: clamp(24px, 1.55vw, 36px);
    align-items: center;
  }

  .offer-card__text {
    font-size: clamp(1.08rem, 0.36vw + 0.92rem, 1.28rem);
    line-height: 1.66;
  }

  .offer-card__art {
    min-height: clamp(148px, 8vw, 190px);
    justify-content: flex-end;
  }

  .offer-card__svg,
  .offer-card__img {
    width: 100%;
    max-width: clamp(260px, 13vw, 340px);
  }

  .offer-card__more {
    min-height: clamp(46px, 2vw, 54px);
    padding: clamp(13px, 0.68vw, 17px) clamp(24px, 1.2vw, 34px);
    font-size: clamp(1.04rem, 0.34vw + 0.9rem, 1.18rem);
    gap: clamp(9px, 0.48vw, 13px);
  }

}

/* #services — ещё чуть крупнее на очень широких (перекрывает clamp в 21:9-блоке выше) */
@media (min-width: 2200px) {
  #services .grid--services,
  #servicesList {
    gap: 30px;
  }

  #services .service-card--catalog {
    min-height: 142px;
    padding: 28px 32px;
  }

  #services .service-card--catalog .service-card__body {
    max-width: calc(100% - 80px);
  }

  #services .service-card--catalog .service-card__title {
    font-size: 21px;
  }

  #services .service-card--catalog .service-card__text {
    font-size: 15.5px;
  }
}

/* Ultra-wide с невысоким экраном (типично 2560×1080): держим “воздух” по X, но экономим Y */
@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  :root {
    --section-y: clamp(76px, 3.6vw, 98px);
  }

  .reveal.is-visible {
    margin-top: 125px;
  }

  /* Ultra-wide 2560×1080: чипсы в hero главной — шире сетка, крупнее карточки, иконки без рамки */
  body.page-home .hero__notions-grid {
    max-width: min(1420px, 78vw);
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    gap: clamp(14px, 0.75vw, 20px);
  }

  body.page-home .hero__notion-card {
    min-height: clamp(58px, 2.8vw, 72px);
    padding: clamp(14px, 0.7vw, 18px) clamp(18px, 0.9vw, 26px);
    gap: clamp(12px, 0.55vw, 16px);
  }

  body.page-home .hero__notion-icon {
    width: clamp(40px, 1.8vw, 48px);
    height: clamp(40px, 1.8vw, 48px);
    background: transparent;
    border: 0;
  }

  body.page-home .hero__notion-icon svg {
    width: clamp(28px, 1.15vw, 36px);
    height: clamp(28px, 1.15vw, 36px);
  }

  body.page-home .hero__notion-icon .hero__notion-frame {
    display: none;
  }

  body.page-home .hero__notion-text {
    font-size: clamp(1rem, 0.38vw + 0.88rem, 1.18rem);
  }

  body.page-home .hero__notions-kicker {
    font-size: clamp(0.84rem, 0.28vw + 0.74rem, 1rem);
  }

  /* Ultra-wide 2560×1080: карточки экспресс-диагностики и анализа бизнеса */
  .section--offers-dual .container {
    max-width: min(2520px, 96vw);
  }

  .offers-dual-grid {
    gap: clamp(44px, 2.25vw, 58px);
  }

  .offer-card {
    padding: clamp(72px, 3.2vw, 96px);
    border-radius: clamp(30px, 1.3vw, 40px);
    gap: clamp(34px, 1.7vw, 46px);
  }

  .offer-card__top {
    gap: clamp(24px, 1.25vw, 32px);
  }

  .offer-card__icon--pulse-mark,
  .offer-card__icon--search-mark {
    width: clamp(108px, 4.5vw, 136px);
    height: clamp(108px, 4.5vw, 136px);
  }

  .offer-card__title {
    font-size: clamp(1.9rem, 0.78vw + 1.35rem, 2.4rem);
    line-height: 1.18;
  }

  .offer-card__main {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 52%);
    gap: clamp(32px, 1.9vw, 48px);
    align-items: center;
  }

  .offer-card__text {
    font-size: clamp(1.34rem, 0.52vw + 1.05rem, 1.62rem);
    line-height: 1.62;
  }

  .offer-card__art {
    min-height: clamp(240px, 11.5vw, 320px);
    justify-content: flex-end;
  }

  .offer-card__svg,
  .offer-card__img {
    width: 100%;
    max-width: clamp(420px, 20vw, 580px);
    min-width: min(100%, 380px);
  }

  .offer-card__more {
    min-height: clamp(58px, 2.7vw, 70px);
    padding: clamp(18px, 0.9vw, 22px) clamp(36px, 1.55vw, 48px);
    font-size: clamp(1.26rem, 0.48vw + 1.05rem, 1.44rem);
    border-width: 2px;
    gap: clamp(11px, 0.55vw, 15px);
  }

  .offer-card__more-arrow {
    font-size: 1.2em;
  }

  /* Ultra-wide 2560×1080: удерживаем лёгкий сдвиг влево */
  body.page-automation #requestForm .cta-block__grid > div:first-child,
  body.page-finance #requestForm .cta-block__grid > div:first-child {
    transform: translateX(-24px);
  }

  .hero__grid {
    padding-top: clamp(96px, 4.4vw, 124px);
    padding-bottom: clamp(112px, 4.8vw, 140px);
  }

  .section--pb-small {
    padding-bottom: clamp(64px, 3.2vw, 86px);
  }

}

.field::placeholder {
  color: var(--zinc-400);
}

.field:focus {
  border-color: rgba(185, 122, 53, 0.36);
  box-shadow: 0 0 0 4px rgba(185, 122, 53, 0.08);
}

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

.footer {
  border-top: 1px solid rgba(213, 207, 198, 0.15);
  background:
    linear-gradient(180deg, #0a0a0c 0%, #110d0a 100%);
  color: var(--white);
}

.footer > .container.footer__grid {
  display: grid;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: 40px 32px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 56px;
  box-sizing: border-box;
}

.footer__text {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
}

.footer__label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.42);
}

.footer__list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer__list a:hover,
.footer__list a:focus-visible {
  text-decoration: underline;
}

.modal__close-x {
  position: absolute;
  top: 6px;
  left: 11px;
}

/* Подробная программа внутри тёмного блока */
.program-disclosure--inside-dark {
  width: 100%;
  margin-top: 18px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
  overflow: hidden;
}

.program-disclosure--inside-dark:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(239, 191, 130, 0.32);
}

.program-disclosure--inside-dark .program-disclosure__summary {
  padding: 22px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  cursor: pointer;
  list-style: none;
}

.program-disclosure--inside-dark .program-disclosure__summary::-webkit-details-marker {
  display: none;
}

.program-disclosure--inside-dark .program-disclosure__head {
  display: grid;
  gap: 6px;
}

.program-disclosure--inside-dark .program-disclosure__title {
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.program-disclosure--inside-dark .program-disclosure__subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.program-disclosure--inside-dark .program-disclosure__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  border: 1px solid rgba(239, 191, 130, 0.26);
  background: rgba(239, 191, 130, 0.08);
  color: #efbf82;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.program-disclosure--inside-dark .program-disclosure__icon svg {
  width: 20px;
  height: 20px;
}

.program-disclosure--inside-dark[open] .program-disclosure__icon {
  transform: rotate(45deg);
  background: rgba(239, 191, 130, 0.16);
  border-color: rgba(239, 191, 130, 0.42);
}

.program-disclosure--inside-dark .program-disclosure__content {
  padding: 0 24px 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.program-disclosure--inside-dark .program-timeline {
  display: grid;
  gap: 12px;
}

.program-disclosure--inside-dark .program-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.program-disclosure--inside-dark .program-item > summary {
  padding: 18px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  cursor: pointer;
  list-style: none;
}

.program-disclosure--inside-dark .program-item > summary::-webkit-details-marker {
  display: none;
}

.program-disclosure--inside-dark .program-item__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.program-disclosure--inside-dark .program-item__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: rgba(239, 191, 130, 0.1);
  color: #efbf82;

  transition: transform 0.25s ease;
}

.program-disclosure--inside-dark .program-item[open] .program-item__icon {
  transform: rotate(45deg);
}

.program-disclosure--inside-dark .program-item__content {
  padding: 0 20px 20px;

  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.program-disclosure--inside-dark .program-item__content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.program-disclosure--inside-dark .program-item__content li + li {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .program-disclosure--inside-dark {
    margin-top: 14px;
    border-radius: 20px;
  }

  .program-disclosure--inside-dark .program-disclosure__summary {
    padding: 18px;
    gap: 14px;
  }

  .program-disclosure--inside-dark .program-disclosure__title {
    font-size: 18px;
  }

  .program-disclosure--inside-dark .program-disclosure__subtitle {
    font-size: 13px;
  }

  .program-disclosure--inside-dark .program-disclosure__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .program-disclosure--inside-dark .program-disclosure__content {
    padding: 0 14px 14px;
  }

  .program-disclosure--inside-dark .program-item > summary {
    padding: 16px;
  }

  .program-disclosure--inside-dark .program-item__title {
    font-size: 14px;
  }

  .program-disclosure--inside-dark .program-item__content {
    padding: 0 16px 16px;
    font-size: 14px;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21 / 10) {
  body.page-home .hero__grid {
    min-height: calc(100vh - 104px);
    padding-top: 72px;
    padding-bottom: 72px;
    align-items: center;
  }

  /* Типографика hero наследует крупные значения из (min-width:2200px)+(aspect); здесь только компоновка и чуть усиливаем акценты */
  body.page-home .hero__title {
    max-width: min(960px, 50vw);
    font-size: clamp(46px, 2.2vw + 30px, 68px);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  body.page-home .hero__text--home-lead {
    max-width: min(860px, 46vw);
    font-size: clamp(1.18rem, 0.55vw + 0.95rem, 1.42rem);
    line-height: 1.65;
  }

  body.page-home .hero__actions .button {
    min-height: clamp(58px, 2.75vw, 72px);
    font-size: clamp(1.08rem, 0.42vw + 0.94rem, 1.26rem);
  }

  body.page-home .hero__content > .hero-badge .hero-badge__text {
    font-size: clamp(12px, 0.3vw + 10px, 13px);
  }

  body.page-home .hero__notions {
    margin-top: clamp(22px, 1.2vw, 32px);
  }

  body.page-home .hero__notions-grid {
    max-width: min(1460px, 80vw);
    grid-template-columns: repeat(4, minmax(260px, 1fr));
  }

  body.page-home .hero__aside {
    align-self: center;
  }

  body.page-home .hero-visual__image-wrap {
    max-width: 760px;
    justify-self: end;
  }

  body.page-home .hero__cards-grid {
    max-width: 760px;
    justify-self: end;
  }

  .reveal.is-visible {
    margin-top: 0;
  }
}

/* Ultra wide адаптив для блока прозрачной системы */
@media (min-width: 1920px) {
  .section--light.system-shift .container {
    width: min(92vw, 2250px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 2vw, 40px);
    padding-right: clamp(20px, 2vw, 40px);
  }

  .system-shift__grid {
    display: grid;
    grid-template-columns: minmax(860px, 1fr) auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    column-gap: clamp(40px, 3vw, 64px);
  }

  .system-block__left {
    width: 100%;
    max-width: 1100px;
    min-width: 0;
    margin-top: 32px;
    justify-self: start;
  }

  .system-block__left h2 {
    width: 100%;
    max-width: 1120px;
    margin-bottom: clamp(22px, 1.2vw, 28px);
    font-size: clamp(3rem, 2.4vw + 1.2rem, 4rem);
    line-height: 1.1;
    letter-spacing: -1px;
  }

  .system-block__left h2 br {
    display: none;
  }

  .system-block__text {
    max-width: 900px;
    font-size: 1.5625rem;
    line-height: 1.6;
  }

  .system-block__why {
    margin-top: 44px;
    max-width: 900px;
    grid-template-columns: 76px 1fr;
    gap: 28px;
    transform: scale(1.12);
    transform-origin: left top;
  }

  .system-block__star {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .system-block__star-icon {
    width: 40px;
    height: 40px;
  }

  .system-block__why h3 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .system-block__why p {
    max-width: 900px;
    font-size: 1.4375rem;
    line-height: 1.55;
  }

  .system-block__note {
    margin-top: 36px;
    font-size: 1.25rem;
    line-height: 1.45;
  }

  .system-shift__visual {
    width: 760px;
    max-width: 760px;
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    transform: translateY(-10px) scale(1.18);
    transform-origin: right center;
  }

  .system-shift__img {
    width: 100%;
    max-width: 760px;
    height: auto;
  }
}

/* Узкий ultra-wide (≈1920–2160): заголовок не заезжает под картинку */
@media (min-width: 1920px) and (max-width: 2160px) {
  .system-shift__grid {
    column-gap: clamp(36px, 2.2vw, 50px);
  }

  .system-block__left {
    max-width: min(900px, 54vw);
  }

  .system-block__left h2 {
    max-width: min(820px, 50vw);
    font-size: clamp(2.3rem, 1.6vw + 0.75rem, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.85px;
  }

  .system-shift__visual {
    width: min(700px, 38vw);
    max-width: 700px;
    transform: translateY(-10px) scale(1.05);
    transform-origin: right center;
  }

  .system-shift__img {
    max-width: 700px;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  .section--light.system-shift .container {
    width: min(92vw, 2300px);
  }

  .system-shift__grid {
    grid-template-columns: minmax(950px, 1150px) auto;
    justify-content: space-between;
    column-gap: clamp(32px, 2.2vw, 44px);
  }

  .system-block__left {
    width: 100%;
    max-width: 1150px;
  }

  .system-block__left h2 {
    width: 100%;
    max-width: 1120px;
    font-size: clamp(4.5rem, 3.8vw, 5.75rem);
    line-height: 1.08;
    letter-spacing: -1.2px;
  }

  .system-block__text {
    max-width: 920px;
    font-size: 1.625rem;
    line-height: 1.62;
  }

  .system-block__why {
    max-width: 920px;
    margin-top: 48px;
    transform: scale(1.15);
  }

  .system-block__why h3 {
    font-size: 2.125rem;
    line-height: 1.32;
  }

  .system-block__why p {
    max-width: 920px;
    font-size: 1.5rem;
    line-height: 1.56;
  }

  .system-block__note {
    font-size: 1.3125rem;
    line-height: 1.45;
  }

  .system-shift__visual {
    width: 820px;
    max-width: 820px;
    transform: translateY(-10px) scale(1.22);
    transform-origin: right center;
  }

  .system-shift__img {
    max-width: 820px;
  }
}

/* Ultra wide адаптив для блока двух офферов */
@media (min-width: 1920px) {
  .section--offers-dual .container {
    width: min(92vw, 2300px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .offers-dual-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .offer-card {
    flex: 0 0 calc((min(92vw, 2200px) - 48px) / 2);
    max-width: calc((min(92vw, 2200px) - 48px) / 2);
    width: calc((min(92vw, 2200px) - 48px) / 2);
    min-width: 0;
  }

  .offer-card {
    padding: 44px 42px;
    gap: 24px;
  }

  .offer-card__top {
    gap: 18px;
  }

  .offer-card__icon--pulse-mark,
  .offer-card__icon--search-mark {
    width: 64px;
    height: 64px;
  }

  .offer-card__title {
    font-size: clamp(1.875rem, 1.1vw + 1.1rem, 2.625rem);
    line-height: 1.2;
  }

  .offer-card__main {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 48%);
    gap: 28px;
    align-items: center;
  }

  .offer-card__text {
    max-width: 620px;
    font-size: 1.5rem;
    line-height: 1.55;
  }

  .offer-card__art {
    min-height: 200px;
    justify-content: flex-end;
    align-items: center;
  }

  .offer-card__svg,
  .offer-card__img {
    width: 100%;
    max-width: 400px;
    min-width: min(100%, 300px);
    height: auto;
  }

  .offer-card__more {
    min-height: 52px;
    padding: 16px 32px;
    font-size: 1.375rem;
    gap: 10px;
  }

  .offer-card__more-arrow {
    font-size: 1.15em;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  .section--offers-dual .container {
    width: min(92vw, 2300px);
  }

  .offers-dual-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
  }

  .offer-card {
    flex: 0 0 calc((min(92vw, 2200px) - 48px) / 2);
    max-width: calc((min(92vw, 2200px) - 48px) / 2);
    width: calc((min(92vw, 2200px) - 48px) / 2);
    padding: 48px 44px;
    gap: 28px;
  }

  .offer-card__icon--pulse-mark,
  .offer-card__icon--search-mark {
    width: 72px;
    height: 72px;
  }

  .offer-card__title {
    font-size: 2.625rem;
    line-height: 1.2;
  }

  .offer-card__main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 52%);
    gap: 36px;
  }

  .offer-card__text {
    max-width: 640px;
    font-size: 1.5rem;
    line-height: 1.55;
  }

  .offer-card__art {
    min-height: 280px;
  }

  .offer-card__svg,
  .offer-card__img {
    max-width: 460px;
    min-width: min(100%, 360px);
  }

  .offer-card__more {
    min-height: 56px;
    padding: 18px 34px;
    font-size: 1.375rem;
  }
}

/* Секция «Наш подход» */
.approach-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  background: #fffcf8;
  overflow: hidden;
}

.approach-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(185, 122, 53, 0.14) 50%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}

.approach-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 560px) minmax(500px, 1fr);
  align-items: center;
  gap: 80px;
}

.approach-content {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.approach-badge {
  width: fit-content;
  margin-bottom: 34px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(255, 153, 61, 0.08);
  color: #f3a052;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.approach-title {
  margin: 0 0 34px;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1.4px;
  color: #111821;
}

.approach-text {
  max-width: 570px;
  margin-bottom: 46px;
}

.approach-text p {
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 400;
  color: #66707a;
}

.approach-text p + p {
  margin-top: 24px;
}

.approach-accent {
  position: relative;
  max-width: 430px;
  padding-left: 24px;
  font-size: 22px;
  line-height: 1.45;
  color: #f09a3f;
}

.approach-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 2px;
  height: calc(100% - 6px);
  border-radius: 10px;
  background: #f09a3f;
}

.approach-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-visual__img,
.approach-visual img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.approach-visual-placeholder {
  width: 100%;
  max-width: 520px;
  height: 400px;
  border: 1px dashed rgba(92, 172, 226, 0.35);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(92, 172, 226, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-visual-placeholder span {
  font-size: 18px;
  color: rgba(102, 112, 122, 0.65);
}

@media (min-width: 1920px) {
  .approach-section {
    padding: 100px 40px;
  }

  .approach-container {
    width: min(92vw, 2300px);
    max-width: none;
    grid-template-columns: minmax(980px, 1fr) minmax(700px, 850px);
    justify-content: space-between;
    align-items: center;
    gap: 120px;
  }

  .approach-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    padding-top: clamp(24px, 3vh, 48px);
    padding-bottom: clamp(24px, 3vh, 48px);
  }

  .approach-badge {
    margin: 0 0 48px;
    font-size: 15px;
    padding: 8px 18px;
  }

  .approach-title {
    width: 100%;
    max-width: none;
    margin: 0 0 64px;
    font-size: clamp(3.5rem, 2.8vw, 4.5rem);
    line-height: 1.12;
  }

  .approach-text {
    width: 100%;
    max-width: none;
    margin: 0 0 76px;
    display: block;
    padding: 0;
  }

  .approach-text p {
    max-width: none;
    margin: 0;
    font-size: 1.375rem;
    line-height: 1.55;
  }

  .approach-accent {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.45;
    padding-left: 30px;
  }

  .approach-visual {
    min-height: 0;
    width: 100%;
    max-width: 850px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    justify-self: end;
  }

  .approach-visual__img,
  .approach-visual img,
  .approach-visual-placeholder {
    width: 100%;
    max-width: 640px;
    height: auto;
  }

  .approach-visual-placeholder {
    height: auto;
    min-height: 460px;
  }
}

/* «Наш подход»: только большие экраны — текст главный, схема с воздухом между колонками */
@media (min-width: 1600px) {
  .approach-section {
    padding-left: 0;
    padding-right: 0;
    background: #fffcf8;
  }

  .approach-container {
    max-width: 1880px;
    width: 100%;
    margin-inline: auto;
    padding-left: 64px;
    padding-right: 64px;
    display: grid;
    grid-template-columns: minmax(0, 800px) minmax(0, 760px);
    align-items: center;
    justify-content: space-between;
    column-gap: 190px;
    gap: 190px;
  }

  .approach-content {
    width: 100%;
    max-width: 800px;
    align-self: start;
    justify-self: start;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    transform: translateX(-48px);
  }

  .approach-content::before,
  .approach-content::after {
    display: none;
    content: none;
  }

  .approach-title {
    width: auto;
    max-width: 800px;
    margin: 0 0 clamp(32px, 2.2vw, 44px);
    font-size: clamp(60px, 3.5vw, 86px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #15191f;
  }

  .approach-text {
    width: auto;
    max-width: 700px;
    margin: 0 0 clamp(36px, 2.4vw, 52px);
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .approach-text p {
    max-width: 700px;
    font-size: 21px;
    line-height: 1.65;
    color: rgba(32, 38, 46, 0.72);
  }

  .approach-accent {
    width: auto;
    max-width: 520px;
    margin: 0;
    padding-left: 24px;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
  }

  .approach-visual {
    width: 100%;
    max-width: 620px;
    justify-self: end;
    align-self: center;
    justify-content: center;
    margin-left: 0;
    transform: translateX(48px);
  }

  .approach-visual__img,
  .approach-visual img,
  .approach-visual-placeholder {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin-inline: auto;
  }
}

@media (min-width: 2000px) {
  .approach-container {
    max-width: 2020px;
    padding-left: 72px;
    padding-right: 72px;
    grid-template-columns: minmax(0, 820px) minmax(0, 800px);
    column-gap: 230px;
    gap: 230px;
  }

  .approach-content {
    max-width: 820px;
    margin-top: 60px;
    transform: translateX(-64px);
  }

  .approach-title {
    max-width: 820px;
    font-size: clamp(68px, 3.4vw, 94px);
    line-height: 1.05;
  }

  .approach-text {
    max-width: 760px;
  }

  .approach-text p {
    max-width: 760px;
    font-size: 23px;
    line-height: 1.62;
  }

  .approach-accent {
    max-width: 560px;
    font-size: 23px;
  }

  .approach-visual {
    max-width: 660px;
    transform: translateX(64px);
  }

  .approach-visual__img,
  .approach-visual img,
  .approach-visual-placeholder {
    max-width: 660px;
  }
}

@media (max-width: 1100px) {
  .approach-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .approach-content {
    margin-top: 0;
  }

  .approach-title {
    font-size: 42px;
  }

  .approach-visual__img,
  .approach-visual img {
    max-width: min(100%, 420px);
  }

  .approach-visual-placeholder {
    max-width: min(100%, 420px);
    height: 360px;
  }
}

@media (max-width: 600px) {
  .approach-section {
    padding: 56px 16px;
  }

  .approach-badge {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .approach-title {
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 1.18;
    letter-spacing: -0.7px;
  }

  .approach-text {
    margin-bottom: 34px;
  }

  .approach-text p {
    font-size: 16px;
    line-height: 1.55;
  }

  .approach-text p + p {
    margin-top: 18px;
  }

  .approach-accent {
    font-size: 18px;
    padding-left: 18px;
  }

  .approach-visual__img,
  .approach-visual img {
    max-width: min(100%, 300px);
  }

  .approach-visual-placeholder {
    max-width: min(100%, 300px);
    height: 280px;
    border-radius: 20px;
  }
}

/* page-home hero: адаптив ниже 2000px (2000px+ не трогать в этих блоках) */
@media (min-width: 1280px) and (max-width: 1599px) {
  body.page-home .hero__grid {
    max-width: 1240px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 560px) minmax(0, 580px);
    gap: 48px;
    align-items: start;
    padding-top: 58px;
    padding-bottom: 72px;
  }

  body.page-home .hero__content {
    max-width: 560px;
    justify-content: flex-start;
  }

  body.page-home .hero__content > .hero-badge {
    margin-bottom: 18px;
    padding: 9px 18px;
  }

  body.page-home .hero-badge__text {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  body.page-home .hero__title {
    max-width: 560px;
    font-family: var(--font-body);
    font-size: clamp(44px, 3.2vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #0b0b0b;
  }

  body.page-home .hero__title span {
    display: inline;
  }

  body.page-home .hero__text,
  body.page-home .hero__text--home-lead {
    max-width: 520px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  body.page-home .hero__actions {
    margin-top: 22px;
    gap: 14px;
  }

  body.page-home .hero__actions .button {
    min-height: 50px;
    padding: 13px 22px;
    font-size: 14px;
    border-radius: 14px;
  }

  body.page-home .hero__btn-icon,
  body.page-home .hero__btn-icon svg,
  body.page-home .hero__btn-icon img {
    width: 18px;
    height: 18px;

  }

  body.page-home .hero__notions {
    margin-top: 22px;
  }

  body.page-home .hero__notions-kicker {
    display: none;
  }

  body.page-home .hero__notions-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 540px;
    gap: 10px 12px;
    margin-top: 0;
    grid-template-columns: unset;
  }

  body.page-home .hero__notion-card {
    width: auto;
    min-width: 0;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 10px 15px;
    gap: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 22px rgba(19, 20, 22, 0.045);
  }

  body.page-home .hero__notion-icon {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: transparent;
    border: 0;
  }

  body.page-home .hero__notion-icon svg {
    width: 17px;
    height: 17px;
  }

  body.page-home .hero__notion-icon .hero__notion-frame {
    display: none;
  }

  body.page-home .hero__notion-text {
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
  }

  body.page-home .hero__aside {
    max-width: 580px;
    width: 100%;
    justify-self: end;
    align-self: start;
    margin-top: 18px;
    gap: 14px;
  }

  body.page-home .hero-visual__image-wrap {
    max-width: 580px;
    width: 100%;
    padding: 16px;
    border-radius: 26px;
    justify-self: end;
  }

  body.page-home .hero-visual__image {
    width: 92%;
    max-width: 100%;
    margin-inline: auto;
  }

  body.page-home .hero__cards-grid {
    max-width: 580px;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-home .hero__cards-grid .card {
    min-height: 138px;
    padding: 18px 20px;
    border-radius: 22px;
  }

  body.page-home .hero__cards-grid .card__title {
    font-size: 18px;
    line-height: 1.15;
  }

  body.page-home .hero__cards-grid .card__text {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (min-width: 1600px) and (max-width: 1999px) {
  body.page-home .hero__grid {
    max-width: 1720px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 760px) minmax(0, 820px);
    gap: 72px;
    align-items: start;
    padding-top: 72px;
    padding-bottom: 86px;
  }

  body.page-home .hero__content {
    max-width: 760px;
    justify-content: flex-start;
  }

  body.page-home .hero__content > .hero-badge {
    margin-bottom: 22px;
    padding: 10px 24px;
  }

  body.page-home .hero-badge__text {
    font-size: 11px;
    letter-spacing: 0.32em;
  }

  body.page-home .hero__title {
    max-width: 760px;
    font-family: var(--font-body);
    font-size: clamp(58px, 3.2vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 800;
    color: #0b0b0b;
  }

  body.page-home .hero__title span {
    display: inline;
  }

  body.page-home .hero__text,
  body.page-home .hero__text--home-lead {
    max-width: 680px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
  }

  body.page-home .hero__actions {
    margin-top: 28px;
    gap: 18px;
  }

  body.page-home .hero__actions .button {
    min-height: 60px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
  }

  body.page-home .hero__btn-icon,
  body.page-home .hero__btn-icon svg,
  body.page-home .hero__btn-icon img {
    width: 20px;
    height: 20px;
  }

  body.page-home .hero__notions {
    margin-top: 28px;
  }

  body.page-home .hero__notions-kicker {
    display: none;
  }

  body.page-home .hero__notions-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 720px;
    gap: 12px 14px;
    margin-top: 0;
    grid-template-columns: unset;
  }

  body.page-home .hero__notion-card {
    width: auto;
    min-width: 0;
    min-height: 54px;
    flex: 0 0 auto;
    padding: 13px 20px;
    gap: 10px;
    border-radius: 14px;
    box-shadow: 0 12px 22px rgba(19, 20, 22, 0.045);
  }

  body.page-home .hero__notion-icon {
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: transparent;
    border: 0;
  }

  body.page-home .hero__notion-icon svg {
    width: 20px;
    height: 20px;
  }

  body.page-home .hero__notion-icon .hero__notion-frame {
    display: none;
  }

  body.page-home .hero__notion-text {
    font-size: 14px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
  }

  body.page-home .hero__aside {
    max-width: 820px;
    width: 100%;
    justify-self: end;
    align-self: start;
    margin-top: 28px;
    gap: 20px;
  }

  body.page-home .hero-visual__image-wrap {
    max-width: 820px;
    width: 100%;
    padding: 22px;
    border-radius: 32px;
    justify-self: end;
  }

  body.page-home .hero-visual__image {
    width: 92%;
    max-width: 100%;
    margin-inline: auto;
  }

  body.page-home .hero__cards-grid {
    max-width: 820px;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  body.page-home .hero__cards-grid .card {
    min-height: 170px;
    padding: 24px 26px;
    border-radius: 24px;
  }

  body.page-home .hero__cards-grid .card__title {
    font-size: 22px;
    line-height: 1.15;
  }

  body.page-home .hero__cards-grid .card__text {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* page-home hero: утверждённый масштаб 2000px+ */
@media (min-width: 2000px) {
  body.page-home .hero__grid {
    max-width: 2220px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1060px) minmax(0, 940px);
    gap: 96px;
    align-items: start;
    padding-top: 98px;
    padding-bottom: 112px;
  }

  body.page-home .hero__content {
    max-width: 1060px;
    justify-content: flex-start;
  }

  body.page-home .hero__content > .hero-badge {
    margin-bottom: 28px;
  }

  body.page-home .hero__title {
    max-width: 1020px;
    font-family: var(--font-body);
    font-size: clamp(78px, 3.28vw, 94px);
    line-height: 1.03;
    letter-spacing: -0.045em;
    font-weight: 800;
    color: #0b0b0b;
  }

  body.page-home .hero__title span {
    display: inline;
  }

  body.page-home .hero__text,
  body.page-home .hero__text--home-lead {
    max-width: 790px;
    margin-top: 24px;
    font-size: 23px;
    line-height: 1.58;
  }

  body.page-home .hero__actions {
    margin-top: 38px;
    gap: 26px;
  }

  body.page-home .hero__actions .button {
    min-height: 82px;
    padding: 23px 46px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 20px;
  }

  body.page-home .hero__btn-icon,
  body.page-home .hero__btn-icon svg,
  body.page-home .hero__btn-icon img {
    width: 24px;
    height: 24px;
  }

  body.page-home .hero__notions {
    margin-top: 38px;
  }

  body.page-home .hero__notions-kicker {
    display: none;
  }

  body.page-home .hero__notions-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px 22px;
    max-width: 980px;
    margin-top: 0;
    grid-template-columns: unset;
  }

  body.page-home .hero__notion-card {
    width: auto;
    min-width: 0;
    min-height: 76px;
    flex: 0 0 auto;
    padding: 19px 30px;
    gap: 15px;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(19, 20, 22, 0.055);
  }

  body.page-home .hero__notion-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    border: 0;
  }

  body.page-home .hero__notion-icon svg {
    width: 28px;
    height: 28px;
  }

  body.page-home .hero__notion-icon .hero__notion-frame {
    display: none;
  }

  body.page-home .hero__notion-text {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
  }

  body.page-home .hero__aside {
    max-width: 940px;
    width: 100%;
    justify-self: end;
    align-self: start;
    margin-top: 38px;
    gap: 26px;
  }

  body.page-home .hero-visual__image-wrap {
    max-width: 940px;
    width: 100%;
    padding: 26px;
    border-radius: 36px;
    justify-self: end;
  }

  body.page-home .hero-visual__image {
    width: 92%;
    max-width: 100%;
    margin-inline: auto;
  }

  body.page-home .hero__cards-grid {
    max-width: 940px;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  body.page-home .hero__cards-grid .card {
    min-height: 208px;
    padding: 30px 32px;
    border-radius: 30px;
  }

  body.page-home .hero__cards-grid .card__title {
    font-size: 29px;
    line-height: 1.14;
  }

  body.page-home .hero__cards-grid .card__text {
    font-size: 17px;
    line-height: 1.52;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  body.page-home .hero__grid {
    max-width: 2220px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1060px) minmax(0, 940px);
    gap: 96px;
    padding-top: 94px;
    padding-bottom: 100px;
    min-height: unset;
    align-items: start;
  }

  body.page-home .hero__content {
    max-width: 1060px;
  }

  body.page-home .hero__title {
    max-width: 1020px;
    font-family: var(--font-body);
    font-size: 90px;
    line-height: 1.03;
    letter-spacing: -0.045em;
    font-weight: 800;
    color: #0b0b0b;
  }

  body.page-home .hero__text,
  body.page-home .hero__text--home-lead {
    max-width: 790px;
    font-size: 23px;
    line-height: 1.58;
  }

  body.page-home .hero__actions {
    margin-top: 38px;
    gap: 26px;
  }

  body.page-home .hero__actions .button {
    min-height: 82px;
    padding: 23px 46px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 20px;
  }

  body.page-home .hero__btn-icon,
  body.page-home .hero__btn-icon svg,
  body.page-home .hero__btn-icon img {
    width: 24px;
    height: 24px;
  }

  body.page-home .hero__notions {
    margin-top: 38px;
  }

  body.page-home .hero__notions-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 980px;
    gap: 18px 22px;
    margin-top: 0;
    grid-template-columns: unset;
  }

  body.page-home .hero__notion-card {
    width: auto;
    min-width: 0;
    min-height: 76px;
    flex: 0 0 auto;
    padding: 19px 30px;
    border-radius: 18px;
  }

  body.page-home .hero__notion-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
  }

  body.page-home .hero__notion-icon svg {
    width: 28px;
    height: 28px;
  }

  body.page-home .hero__notion-icon .hero__notion-frame {
    display: none;
  }

  body.page-home .hero__notion-text {
    font-size: 18px;
    white-space: nowrap;
  }

  body.page-home .hero__aside {
    max-width: 940px;
    margin-top: 38px;
  }

  body.page-home .hero-visual__image-wrap,
  body.page-home .hero__cards-grid {
    max-width: 940px;
  }
}

/* #requestForm: на больших экранах — фиксированная композиция, без растягивания */
@media (min-width: 1600px) {
  #requestForm {
    padding-top: 40px;
  }

  #requestForm .container {
    max-width: 1780px;
    padding-top: 12px;
  }

  #requestForm .cta-block {
    max-width: 1680px;
    margin-inline: auto;
    padding: 68px 76px;
    border-radius: 36px;
  }

  #requestForm .cta-block__grid {
    grid-template-columns: minmax(0, 760px) minmax(460px, 580px);
    gap: 88px;
    align-items: center;
    justify-content: space-between;
  }

  #requestForm .section-title {
    max-width: 760px;
    font-size: clamp(50px, 2.5vw, 64px);
    line-height: 1.1;
  }

  #requestForm .cta-block__text {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.72;
  }

  #requestForm .cta-form {
    width: 100%;
    max-width: 580px;
    min-height: auto;
    padding: 32px;
    border-radius: 30px;
  }

  #requestForm .form-fields {
    gap: 18px;
  }

  #requestForm .field {
    min-height: 58px;
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 15px;
  }

  #requestForm .field--textarea {
    min-height: 132px;
  }

  #requestForm .button--full {
    min-height: 60px;
    font-size: 16px;
    border-radius: 15px;
  }
}

@media (min-width: 2200px) {
  #requestForm .container {
    max-width: 1780px;
  }

  #requestForm .cta-block {
    max-width: 1680px;
    padding: 68px 76px;
    border-radius: 36px;
  }

  #requestForm .cta-block__grid {
    grid-template-columns: minmax(0, 760px) minmax(460px, 580px);
    gap: 88px;
  }

  #requestForm .section-title {
    max-width: 760px;
    font-size: 64px;
    line-height: 1.1;
  }

  #requestForm .cta-block__text {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.72;
  }

  #requestForm .cta-form {
    max-width: 580px;
    min-height: auto;
    padding: 32px;
    border-radius: 30px;
  }

  #requestForm .field {
    font-size: 16px;
    min-height: 58px;
    padding: 16px 18px;
    border-radius: 15px;
  }

  #requestForm .field--textarea {
    min-height: 132px;
  }

  #requestForm .button--full {
    min-height: 60px;
    font-size: 16px;
    border-radius: 15px;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  #requestForm .container {
    max-width: 1780px;
  }

  #requestForm .cta-block {
    max-width: 1680px;
    padding: 68px 76px;
    border-radius: 36px;
  }

  #requestForm .cta-block__grid {
    grid-template-columns: minmax(0, 760px) minmax(460px, 580px);
    gap: 88px;
  }

  #requestForm .cta-form {
    max-width: 580px;
    min-height: auto;
    padding: 32px;
    border-radius: 30px;
  }
}

/* #services: крупнее шрифты в карточках — только 2000px+ */
@media (min-width: 2000px) {
  #services .service-card--catalog .service-card__title {
    font-size: 23px;
    line-height: 1.15;
  }

  #services .service-card--catalog .service-card__text {
    font-size: 17px;
    line-height: 1.45;
  }

  #services .service-card--catalog .service-card__title--cta,
  #services .service-card--catalog.service-card--cta .service-card__title--cta {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}

/* «Наш подход»: заголовок — только большие экраны */
@media (min-width: 1600px) {
  .approach-section .approach-title {
    width: 999px;
    max-width: 999px;
    font-size: 77px;
  }
}

/* #services: воздух внутри фона на больших экранах */
@media (min-width: 1600px) {
  #services.section {
    background: #fffcf8;
    padding-top: 110px;
    padding-bottom: 130px;
    margin-bottom: 0;
  }

  #services .container {
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 2200px) {
  #services.section {
    padding-top: 120px;
    padding-bottom: 150px;
    margin-bottom: 0;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  #services.section {
    padding-top: 96px;
    padding-bottom: 130px;
    margin-bottom: 0;
  }
}

/* ─────────────────────────────────────────────
   Кейсы компании
   ───────────────────────────────────────────── */

.cases-section {
  position: relative;
  padding: clamp(86px, 6vw, 120px) 0;
  background: #fffdfa;
  overflow: hidden;
}

.cases-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 138, 61, 0.055), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 203, 146, 0.065), transparent 26%);
  pointer-events: none;
}

.cases-section__container {
  position: relative;
  z-index: 1;
}

.cases-section__head {
  margin: 0 auto clamp(34px, 3vw, 52px);
  text-align: center;
}

.cases-section__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(36px, 2.8vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #1f2937;
}

.cases-section__subtitle {
  margin: 16px 0 0;
  font-size: clamp(16px, 0.7vw, 20px);
  line-height: 1.55;
  color: rgba(55, 65, 81, 0.68);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cases-grid--projects {
  gap: clamp(20px, 1.6vw, 28px);
}

.cases-grid--reviews {
  gap: clamp(20px, 1.6vw, 28px);
  margin-top: clamp(24px, 2vw, 34px);
}

.case-card,
.review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(238, 226, 214, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 44px rgba(31, 41, 55, 0.055),
    0 4px 14px rgba(31, 41, 55, 0.035);
}

.case-card {
  min-height: 260px;
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-card::after,
.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 138, 61, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), transparent 48%);
  pointer-events: none;
}

.case-card > *,
.review-card > * {
  position: relative;
  z-index: 1;
}

.case-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: start;
}

.case-card__content {
  min-width: 0;
}

.case-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 0.65vw, 21px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2937;
}

.case-card__text {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: clamp(13px, 0.36vw, 15px);
  line-height: 1.7;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.72);
}

.case-card__art {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 0;
  opacity: 0.95;
  background: transparent;
}

.case-card__art svg,
.case-card__art img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  background: transparent;
}

.case-card__result {
  margin-top: 24px;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(255, 247, 240, 0.86));
  color: rgba(31, 41, 55, 0.75);
  font-size: clamp(13px, 0.42vw, 15px);
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 138, 61, 0.07),
    0 12px 26px rgba(255, 138, 61, 0.055);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.case-card__result:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 138, 61, 0.12),
    0 16px 30px rgba(255, 138, 61, 0.11);
}

.case-card__result b {
  color: #ff6b2c;
  font-size: 1.24em;
  font-weight: 800;
}

.case-card__result > span:not(.case-card__result-icon):not(.case-card__arrow) {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.case-card__result > span:not(.case-card__result-icon):not(.case-card__arrow) b {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.case-card__result-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #ff8a3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.case-card__result-icon svg {
  width: 100%;
  height: 100%;
}

.case-card__arrow {
  flex-shrink: 0;
  margin-left: 2px;
  color: #ff8a3d;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.review-card {
  min-height: 250px;
  padding: 30px 30px 28px;
}

.review-card__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.review-card__avatar {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  box-shadow: none;
  outline: none;
}

/* Николай Казаков: убрать серую кайму сверху */
.cases-grid--reviews .review-card:nth-child(2) .review-card__avatar {
  object-position: center 38%;
  transform: scale(1.07);
  transform-origin: center center;
}

.review-card__name {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 0.7vw, 21px);
  line-height: 1.2;
  font-weight: 800;
  color: #1f2937;
}

.review-card__position {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: rgba(75, 85, 99, 0.72);
}

.review-card__brand {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  color: #ff6b2c;
}

.review-card__quote {
  align-self: start;
  margin-top: -10px;
  font-size: 94px;
  line-height: 0.7;
  font-family: Georgia, serif;
  color: rgba(255, 138, 61, 0.08);
  pointer-events: none;
}

.review-card__text {
  margin: 28px 0 0;
  font-size: clamp(14px, 0.42vw, 16px);
  line-height: 1.72;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.76);
}

@media (min-width: 1600px) {
  .cases-section {
    padding-top: 130px;
    padding-bottom: 140px;
  }

  .cases-section__container {
    max-width: 1780px;
  }

  .cases-section__head {
    margin-bottom: 58px;
  }

  .cases-section__title {
    font-size: 64px;
    line-height: 1.06;
  }

  .cases-section__subtitle {
    margin-top: 18px;
    font-size: 21px;
    line-height: 1.55;
  }

  .cases-grid--projects,
  .cases-grid--reviews {
    gap: 32px;
  }

  .cases-grid--reviews {
    margin-top: 34px;
  }

  .case-card {
    min-height: 320px;
    padding: 36px 38px 34px;
    border-radius: 24px;
  }

  .case-card__top {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 24px;
  }

  .case-card__title {
    font-size: 24px;
    line-height: 1.18;
  }

  .case-card__text {
    margin-top: 18px;
    max-width: 38ch;
    font-size: 16px;
    line-height: 1.68;
  }

  .case-card__art svg,
  .case-card__art img {
    max-width: 190px;
  }

  .case-card__result {
    min-height: 66px;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    font-size: 16px;
  }

  .case-card__result-icon {
    width: 25px;
    height: 25px;
  }

  .case-card__arrow {
    font-size: 28px;
  }

  .review-card {
    min-height: 310px;
    padding: 38px 40px 36px;
    border-radius: 24px;
  }

  .review-card__head {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 20px;
  }

  .review-card__avatar {
    width: 82px;
    height: 82px;
  }

  .review-card__name {
    font-size: 23px;
  }

  .review-card__position,
  .review-card__brand {
    font-size: 14px;
  }

  .review-card__quote {
    font-size: 104px;
  }

  .review-card__text {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.72;
  }
}

@media (min-width: 2200px) {
  .cases-section {
    padding-top: 145px;
    padding-bottom: 155px;
  }

  .cases-section__container {
    max-width: 1980px;
  }

  .cases-section__title {
    font-size: 72px;
  }

  .cases-section__subtitle {
    font-size: 23px;
  }

  .cases-grid--projects,
  .cases-grid--reviews {
    gap: 36px;
  }

  .case-card {
    min-height: 350px;
    padding: 40px 44px 38px;
  }

  .case-card__top {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .case-card__title {
    font-size: 26px;
  }

  .case-card__text {
    font-size: 17px;
  }

  .case-card__art svg,
  .case-card__art img {
    max-width: 220px;
  }

  .case-card__result {
    min-height: 70px;
    font-size: 17px;
  }

  .review-card {
    min-height: 335px;
    padding: 42px 46px 40px;
  }

  .review-card__avatar {
    width: 88px;
    height: 88px;
  }

  .review-card__name {
    font-size: 25px;
  }

  .review-card__text {
    font-size: 18px;
  }
}

@media (min-width: 2400px) and (max-height: 1200px) and (min-aspect-ratio: 21/10) {
  .cases-section {
    padding-top: 120px;
    padding-bottom: 130px;
  }

  .cases-section__container {
    max-width: 1880px;
  }

  .cases-section__title {
    font-size: 66px;
  }

  .cases-section__subtitle {
    font-size: 21px;
  }

  .case-card {
    min-height: 320px;
    padding: 36px 40px 34px;
  }

  .review-card {
    min-height: 305px;
    padding: 38px 42px 36px;
  }
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .review-card {
    min-height: auto;
  }

  .case-card__top {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
}

@media (max-width: 640px) {
  .cases-section {
    padding: 68px 0;
  }

  .cases-section__head {
    margin-bottom: 28px;
  }

  .cases-section__title {
    font-size: clamp(30px, 9vw, 38px);
  }

  .cases-section__subtitle {
    font-size: 15px;
  }

  .case-card,
  .review-card {
    border-radius: 18px;
    padding: 24px 22px;
  }

  .case-card__top {
    grid-template-columns: 1fr;
  }

  .case-card__art {
    justify-content: center;
    margin-top: 4px;
  }

  .case-card__art svg,
  .case-card__art img {
    max-width: 190px;
  }

  .case-card__text {
    max-width: 100%;
  }

  .case-card__result {
    min-height: 54px;
    padding: 14px 15px;
    font-size: 13px;
  }

  .review-card__head {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .review-card__avatar {
    width: 58px;
    height: 58px;
  }

  .review-card__quote {
    font-size: 64px;
  }

  .review-card__text {
    margin-top: 22px;
    font-size: 14px;
  }
}

