/* IT-поддержка — блоки страницы /it-podderzhka (контент с sysadmins.gvate.ru в стилистике основного сайта) */

/* Единые отступы подписи/заголовка секции до контента (как у .support-section-head на всём сайте) */
.page-it-support-main .support-section-head,
.page-it-support-main .support-fit .support-section-head,
.page-it-support-main .support-scope__intro {
  margin-bottom: 52px;
}

@media (max-width: 768px) {
  .page-it-support-main .support-section-head,
  .page-it-support-main .support-fit .support-section-head,
  .page-it-support-main .support-scope__intro {
    margin-bottom: 40px;
  }
}

/* --- калькулятор-заглушка --- */
.it-support-calculator-shell {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 28px 30px;
  border-radius: 18px;
  border: 1px solid var(--support-line);
  background: var(--support-surface-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.it-support-calculator-shell--compact {
  max-width: 560px;
  margin-top: 28px;
}

.it-support-calculator-shell__hint {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.it-support-calculator-shell__group {
  margin-bottom: 14px;
}

.it-support-calculator-shell__muted {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
}

.it-support-calculator-shell__group .form-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.it-support-calculator-shell__result-placeholder {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
}

.it-support-calculator-shell__cta {
  margin-top: 4px;
}

/* включённые услуги — сетка; вертикальный ритм как у блоков soprovozhdenie */
.it-support-include .support-fit__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .it-support-include .support-fit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .it-support-include .support-fit__grid {
    grid-template-columns: 1fr;
  }
}

/* этапы «как строится работа» — ряд карточек со стрелками на ≥1025px */
.it-support-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}

.it-support-flow__unit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.it-support-flow__unit .support-card.it-support-flow__card {
  flex: 1;
}

.it-support-flow__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 179, 71, 0.52);
}

.it-support-flow__arrow svg {
  display: block;
}

@media (min-width: 1025px) {
  .it-support-flow__steps {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }

  .it-support-flow__unit {
    flex-direction: row;
    align-items: stretch;
    flex: 1 1 0;
    gap: 0;
    min-width: 0;
  }

  .it-support-flow__arrow {
    display: flex;
    width: 32px;
    margin-inline: -2px;
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .it-support-flow__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .it-support-flow__unit {
    flex-direction: column;
  }
}

/* шапка карточки этапа: номер слева, иконка справа — без «слияния» в одну строку с текстом */
.it-support-flow__card-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  min-height: 54px;
}

.it-support-flow__step-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.it-support-flow__step-n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.it-support-flow__step-of {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.72;
  white-space: nowrap;
}

.it-support-flow__card .support-card__title {
  margin-top: 0;
}

/* иконки услуг — тот же язык, что у .support-scope-pillar__icon на soprovozhdenie */
.it-support-include .support-card,
.it-support-flow .support-card {
  position: relative;
  z-index: 0;
}

.it-support-include .support-card > *,
.it-support-flow .support-card > * {
  position: relative;
  z-index: 1;
}

.it-support-include .it-support-svc-icon,
.it-support-flow .it-support-flow__svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 179, 71, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 179, 71, 0.14) 0%, transparent 58%),
    rgba(255, 179, 71, 0.06);
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.it-support-flow .it-support-flow__svc-icon {
  margin-bottom: 0;
}

.it-support-include .it-support-svc-icon .it-support-svc-svg,
.it-support-flow .it-support-flow__svc-icon .it-support-svc-svg {
  display: block;
  width: 30px;
  height: auto;
  max-height: 32px;
  color: inherit;
  overflow: visible;
}

.it-support-include .support-card:hover .it-support-svc-icon,
.it-support-flow__card.support-card:hover .it-support-flow__svc-icon {
  border-color: rgba(255, 179, 71, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 179, 71, 0.06);
}

.it-support-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.it-support-benefits__card {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--support-line);
  background: var(--support-surface-raised);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.it-support-benefits__card:hover {
  border-color: var(--support-line-strong);
}

.it-support-benefits__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.it-support-benefits__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .it-support-benefits__grid {
    grid-template-columns: 1fr;
  }
}

/* сравнение штат vs аутсорс */
.it-support-compare {
  max-width: 960px;
  margin: 0 auto;
}

.it-support-compare__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--support-line);
}

.it-support-compare__head-cell {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.it-support-compare__head-cell--muted {
  color: rgba(255, 255, 255, 0.62);
}

.it-support-compare__head-cell--accent {
  color: var(--accent);
}

.it-support-compare__block {
  padding: 24px 0;
  border-bottom: 1px solid var(--support-line);
}

.it-support-compare__block:last-of-type {
  border-bottom: none;
}

.it-support-compare__topic {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.38;
  color: var(--text-primary);
  letter-spacing: -0.024em;
}

.it-support-compare__pairs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.it-support-compare__cell {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--support-line);
  background: rgba(255, 255, 255, 0.02);
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 0;
}

.it-support-compare__cell--highlight {
  border-color: rgba(255, 179, 71, 0.34);
  background: rgba(255, 179, 71, 0.035);
}

.it-support-compare__inline-label {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.it-support-compare__cell--highlight .it-support-compare__inline-label {
  color: var(--accent);
  opacity: 0.92;
}

.it-support-compare__cell p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .it-support-compare__head {
    display: none;
  }

  .it-support-compare__inline-label {
    display: block;
  }

  .it-support-compare__pairs {
    grid-template-columns: 1fr;
  }
}

/* ориентиры стоимости */
.it-support-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.it-support-cost-card {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--support-line);
  background: var(--support-surface-soft);
  overflow-wrap: break-word;
  min-width: 0;
}

.it-support-cost-card__label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.it-support-cost-card__line {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.it-support-cost-card__accent {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.42;
  color: var(--text-primary);
}

.it-support-cost-card--accent {
  border-color: rgba(255, 179, 71, 0.35);
  background:
    radial-gradient(120% 80% at 90% -10%, rgba(255, 179, 71, 0.1) 0%, transparent 45%),
    var(--support-surface-soft);
}

.it-support-cost-card--accent .it-support-cost-card__accent {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
  .it-support-cost-grid {
    grid-template-columns: 1fr;
  }

  .it-support-calculator-shell {
    padding: 22px 18px 24px;
  }
}

/* форма контакта — разделитель как на других лендингах */
.page-it-support-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-it-support-contact .contact__left .section-heading {
  max-width: 18em;
}
