/* Страница услуг */

.gm-services-page {
  --gs-blue: #0069d9;
  --gs-ink: #20242b;
  --gs-muted: #626b77;
  --gs-line: #dfe5ed;
  --gs-soft: #f3f5f8;

  color: var(--gs-ink);
  background: #fff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

.gm-services-page,
.gm-services-page * {
  box-sizing: border-box;
}

.gm-services-page .gs-eyebrow {
  margin: 0 0 18px;
  color: var(--gs-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.gm-services-page .gs-title {
  margin: 0;
  color: var(--gs-ink);
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.gm-services-page a:focus-visible {
  outline: 3px solid var(--gs-blue);
  outline-offset: 5px;
}

/* Первый экран */

.gm-services-page .gs-intro {
  padding: 20px 0 0;
}

.gm-services-page .gs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  color: var(--gs-muted);
  font-size: 12px;
}

.gm-services-page .gs-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gs-muted);
  text-decoration: none;
}

.gm-services-page .gs-intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 70px;
  padding-bottom: 52px;
}

.gm-services-page .gs-intro__grid > div {
  min-width: 0;
}

.gm-services-page .gs-heading {
  margin: 0;
  color: var(--gs-ink);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.05em;
}

.gm-services-page .gs-heading span {
  color: var(--gs-blue);
}

.gm-services-page .gs-intro__description p {
  margin: 0 0 26px;
  color: var(--gs-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* Кнопки */

.gm-services-page .gs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;

  color: #fff;
  background: var(--gs-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;

  transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gm-services-page .gs-button span {
  font-size: 20px;
  line-height: 1;
}

.gm-services-page .gs-button:active {
  transform: scale(0.98);
}

.gm-services-page .gs-button:focus-visible {
  transform: none;
  transition: none;
}

/* Навигация по направлениям */

.gm-services-page .gs-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--gs-line);
}

.gm-services-page .gs-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;

  border: 1px solid var(--gs-line);
  border-radius: 10px;

  color: var(--gs-ink);
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

/* Разделы */

.gm-services-page .gs-section {
  padding: 72px 0;
  scroll-margin-top: 24px;
}

.gm-services-page .gs-section--soft {
  border-top: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
  background: var(--gs-soft);
}

.gm-services-page .gs-section-heading {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.gm-services-page .gs-section-number {
  padding-top: 3px;
  color: var(--gs-blue);
  font-size: 13px;
  font-weight: 500;
}

.gm-services-page .gs-section-description {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--gs-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* Карточки услуг */

.gm-services-page .gs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gm-services-page .gs-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;

  padding: 32px;
  border: 1px solid var(--gs-line);
  border-radius: 20px;
  background: #fff;
}

.gm-services-page .gs-card h3 {
  margin: 0 0 18px;
  color: var(--gs-ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.gm-services-page .gs-card > p {
  margin: 0 0 24px;
  color: var(--gs-muted);
  font-size: 15px;
  line-height: 1.8;
}

.gm-services-page .gs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.gm-services-page .gs-tags li {
  padding: 6px 11px;
  border: 1px solid var(--gs-line);
  border-radius: 8px;

  color: var(--gs-muted);
  background: #f8f9fb;
  font-size: 11px;
  line-height: 1.5;
}

.gm-services-page .gs-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--gs-line);

  color: var(--gs-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.gm-services-page .gs-card__link span {
  flex-shrink: 0;
  font-size: 22px;
}

/* Подготовка обращения */

.gm-services-page .gs-request {
  padding: 76px 0;
}

.gm-services-page .gs-request__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;

  padding: 44px;
  border: 1px solid #dbe5f2;
  border-radius: 22px;
  background: #f2f7ff;
}

.gm-services-page .gs-request__inner > div {
  min-width: 0;
}

.gm-services-page .gs-request__description {
  margin: 22px 0 26px;
  color: var(--gs-muted);
  font-size: 15px;
  line-height: 1.75;
}

.gm-services-page .gs-checklist__item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #d7e0ed;
}

.gm-services-page .gs-checklist__item > span {
  flex-shrink: 0;
  padding-top: 4px;
  color: var(--gs-blue);
  font-size: 12px;
}

.gm-services-page .gs-checklist__item h3 {
  margin: 0 0 10px;
  color: var(--gs-ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.gm-services-page .gs-checklist__item p {
  margin: 0;
  color: var(--gs-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Наведение */

@media (hover: hover) and (pointer: fine) {
  .gm-services-page .gs-button:hover {
    color: #fff;
    background: #005abb;
  }

  .gm-services-page .gs-navigation a:hover {
    color: var(--gs-blue);
    border-color: #b9cfe9;
    background: #f2f7ff;
  }

  .gm-services-page .gs-card__link:hover,
  .gm-services-page .gs-breadcrumb a:hover {
    color: var(--gs-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* Планшет */

@media (max-width: 991px) {
  .gm-services-page .gs-intro__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  .gm-services-page .gs-heading {
    max-width: 720px;
    font-size: 54px;
  }

  .gm-services-page .gs-intro__description {
    max-width: 650px;
  }

  .gm-services-page .gs-section {
    padding: 56px 0;
  }

  .gm-services-page .gs-card {
    padding: 26px;
  }

  .gm-services-page .gs-card h3 {
    font-size: 24px;
  }

  .gm-services-page .gs-request__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 36px;
  }
}

/* Телефон */

@media (max-width: 575px) {
  .gm-services-page .gs-intro {
    padding-top: 12px;
  }

  .gm-services-page .gs-breadcrumb {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .gm-services-page .gs-heading {
    font-size: clamp(34px, 9vw, 46px);
  }

  .gm-services-page .gs-eyebrow {
    font-size: 11px;
  }

  .gm-services-page .gs-intro__description p {
    font-size: 15px;
  }

  .gm-services-page .gs-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 20px 0;
  }

  .gm-services-page .gs-navigation a {
    padding: 10px;
    font-size: 12px;
    text-align: center;
  }

  .gm-services-page .gs-section {
    padding: 44px 0;
  }

  .gm-services-page .gs-section-heading {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 26px;
  }

  .gm-services-page .gs-section-description {
    font-size: 14px;
  }

  .gm-services-page .gs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gm-services-page .gs-card {
    padding: 24px;
    border-radius: 16px;
  }

  .gm-services-page .gs-card h3 {
    font-size: 24px;
  }

  .gm-services-page .gs-card > p {
    font-size: 14px;
  }

  .gm-services-page .gs-card__link {
    font-size: 13px;
  }

  .gm-services-page .gs-request {
    padding: 44px 0;
  }

  .gm-services-page .gs-request__inner {
    gap: 28px;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .gm-services-page .gs-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-services-page .gs-button {
    transition: none;
  }

  .gm-services-page .gs-button:active {
    transform: none;
  }
}