:root {
  --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;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fffcf8 0%, #ffffff 22%, #fbfaf8 100%);
  color: var(--black);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

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;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.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__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;
}

.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);
}

.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;
}

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

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

.eyebrow {
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(185, 122, 53, 0.24);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(19, 20, 22, 0.04);
}

.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: 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-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(63, 65, 70, 0.62);
}

.hero__notions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero__notion-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 20, 22, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(19, 20, 22, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(19, 20, 22, 0.78);
  user-select: none;
}

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

.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%);
}

.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;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(213, 207, 198, 0.9);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(244, 241, 236, 0.9) 0%, rgba(255, 255, 255, 0.94) 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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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: 90px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(185, 122, 53, 0.14) 50%, transparent 100%);
  opacity: 0.7;
}

.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%);
}

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

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

.section-title {
  margin-top: 12px;
  font-size: 2.45rem;
  line-height: 1.1;
}

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

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

.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;
}

.grid--steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(213, 207, 198, 0.85);
  pointer-events: none;
}

.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__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;
}

.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: 22px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.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));
  left: 50%;
  width: 1px;
  height: var(--step-connector);
  background: rgba(213, 207, 198, 0.85);
  transform: translateX(-0.5px);
  pointer-events: none;
}

.step-card::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--step-connector));
  left: -18px;
  width: calc(50% + 18px);
  height: 1px;
  background: rgba(213, 207, 198, 0.85);
  pointer-events: none;
}

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

/* второй ряд (4 колонки) — линия между рядами короче, по межстрочному gap */
.step-card:nth-child(n + 5) {
  --step-connector: 18px;
}

/* первая карточка в строке (4 колонки) — без горизонтальной линии слева */
.step-card:nth-child(4n + 1)::after {
  display: none;
}

/* Под шагами 2 и 3: у шагов 6 и 7 убираем горизонталь, оставляем вертикаль */
@media (min-width: 1280px) {
  .grid--steps .step-card:nth-child(6)::after,
  .grid--steps .step-card:nth-child(7)::after {
    display: none;
  }
}

.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: hidden;
  border: 1px solid rgba(213, 207, 198, 0.88);
  border-radius: 34px;
  padding: 50px;
  background:
    linear-gradient(180deg, rgba(251, 249, 246, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(185, 122, 53, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(185, 122, 53, 0.02) 100%);
  pointer-events: 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 {
  padding: 24px;
}

.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: 2200px) {
  .container {
    max-width: 1600px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 680px);
    gap: 64px;
    padding-top: 112px;
    padding-bottom: 140px;
  }

  .hero__title {
    max-width: 920px;
    font-size: 4.6rem;
  }

  .hero__text {
    max-width: 880px;
    font-size: 1.2rem;
  }

  .section {
    padding: 110px 0;
  }

  .section-head {
    max-width: 920px;
    margin-bottom: 48px;
  }

  .section-title {
    font-size: 2.85rem;
  }

  .grid {
    gap: 22px;
  }

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

.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__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.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;
}