@font-face {
  font-family: "Cera Pro";
  src: url("../fonts/CeraPro-Regular.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

/* Commercial editorial pages for the legacy Articles iblock. */
.article-solution-page {
  --article-yellow: #ffd84d;
  --article-yellow-strong: #f3bd16;
  --article-graphite: #24272b;
  --article-muted: #666b70;
  --article-line: #dedfda;
  background: #fff;
  color: var(--article-graphite);
}

.article-solution-page .breadcrumbs {
  padding-top: 22px;
}

.article-solution-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(44px, 6vw, 88px);
}

.article-solution-hero__copy {
  min-width: 0;
}

.article-solution-hero h1 {
  max-width: 920px;
  margin: 14px 0 20px;
  color: var(--article-graphite);
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.article-solution-hero__lead {
  max-width: 780px;
  margin: 0;
  color: #4f5459;
  font-size: 20px;
  line-height: 1.55;
}

.article-solution-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0 0;
  border-top: 1px solid var(--article-line);
  border-bottom: 1px solid var(--article-line);
}

.article-solution-facts > div {
  min-width: 0;
  padding: 18px 20px 18px 0;
}

.article-solution-facts > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--article-line);
}

.article-solution-facts dt,
.article-solution-facts dd {
  margin: 0;
}

.article-solution-facts dt {
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.35;
}

.article-solution-facts dd {
  margin-top: 6px;
  color: var(--article-graphite);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.article-solution-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.article-solution-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.45;
}

.article-solution-hero__meta span + span {
  position: relative;
}

.article-solution-hero__meta span + span::before {
  position: absolute;
  top: 0.55em;
  left: -13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--article-yellow-strong);
  content: "";
}

.article-solution-hero__visual {
  position: relative;
  align-self: center;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1400 / 788;
  border-radius: 26px;
  background: #f2f1ec;
}

.article-solution-hero__visual picture {
  display: block;
  height: 100%;
}

.article-solution-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.article-solution-hero__visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgb(255 255 255 / 92%);
  color: #50555a;
  font-size: 12px;
  line-height: 1.4;
}

.article-solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
  padding-top: 54px;
  padding-bottom: 74px;
  border-top: 1px solid var(--article-line);
}

.article-solution-content {
  max-width: 920px;
}

.article-solution-content > section {
  margin-top: 46px;
}

.article-solution-content > section:first-child {
  margin-top: 0;
}

.article-solution-content .solution-summary,
.article-solution-content .solution-note,
.article-solution-content .solution-checklist,
.article-solution-content .solution-steps {
  margin-block: 30px;
}

.article-solution-content .solution-summary {
  padding: 24px 26px;
  border-left: 5px solid var(--article-yellow-strong);
  border-radius: 0 16px 16px 0;
  background: #fff8d8;
}

.article-solution-content .solution-summary > :first-child,
.article-solution-content .solution-note > :first-child {
  margin-top: 0;
}

.article-solution-content .solution-summary > :last-child,
.article-solution-content .solution-note > :last-child {
  margin-bottom: 0;
}

.article-solution-content .solution-note {
  padding: 24px 26px;
  border-radius: 16px;
  background: #f3f4f1;
}

.article-solution-content .solution-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.article-solution-content .solution-checklist > li {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 18px 18px 18px 48px;
  border: 1px solid var(--article-line);
  border-radius: 14px;
  background: #fff;
}

.article-solution-content .solution-checklist > li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--article-yellow);
  color: var(--article-graphite);
  content: "✓";
  font-size: 12px;
  font-weight: 800;
}

.article-solution-content .solution-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  counter-reset: article-solution-step;
  list-style: none;
}

.article-solution-content .solution-steps > li {
  position: relative;
  min-height: 62px;
  margin: 0;
  padding: 7px 0 7px 68px;
  counter-increment: article-solution-step;
}

.article-solution-content .solution-steps > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  background: var(--article-yellow);
  color: var(--article-graphite);
  content: counter(article-solution-step);
  font-size: 18px;
  font-weight: 800;
}

.article-solution-links,
.article-solution-faq {
  margin-top: 56px;
}

.article-solution-links {
  padding: 30px;
  border-radius: 20px;
  background: var(--article-yellow);
}

.article-solution-links h2,
.article-solution-faq h2 {
  margin: 10px 0 22px;
  color: var(--article-graphite);
  font-size: 30px;
  line-height: 1.15;
}

.article-solution-links > div {
  display: grid;
  gap: 10px;
}

.article-solution-links a {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--article-graphite);
  font-weight: 720;
  text-decoration: none;
}

.article-solution-links a:hover {
  transform: translateY(-1px);
}

.article-solution-faq > div {
  border-top: 1px solid var(--article-line);
}

.article-solution-faq details {
  border-bottom: 1px solid var(--article-line);
}

.article-solution-faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--article-graphite);
  cursor: pointer;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.35;
  list-style: none;
}

.article-solution-faq summary::-webkit-details-marker {
  display: none;
}

.article-solution-faq summary::after {
  position: absolute;
  top: 19px;
  right: 2px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--article-yellow);
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.article-solution-faq details[open] summary::after {
  content: "−";
}

.article-solution-faq details p {
  margin: -4px 0 20px;
  color: #555a5f;
}

.article-solution-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.article-offer-card {
  padding: 26px;
  border-radius: 20px;
  background: var(--article-yellow);
}

.article-offer-card h2 {
  margin: 10px 0 22px;
  color: var(--article-graphite);
  font-size: 24px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.article-offer-card dl {
  margin: 0 0 20px;
}

.article-offer-card dl > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgb(36 39 43 / 18%);
}

.article-offer-card dt,
.article-offer-card dd {
  margin: 0;
}

.article-offer-card dt {
  color: #555047;
  font-size: 13px;
}

.article-offer-card dd {
  color: var(--article-graphite);
  font-weight: 800;
  text-align: right;
}

.article-offer-card .text-link {
  color: var(--article-graphite);
}

.article-solution-sidebar .contact-band {
  display: block;
  padding: 26px;
  border: 1px solid var(--article-line);
  border-radius: 20px;
  background: #f6f6f3;
}

.article-solution-sidebar .contact-band h2 {
  font-size: 24px;
  line-height: 1.18;
}

.article-solution-sidebar .contact-band__intro p {
  font-size: 14px;
  line-height: 1.5;
}

.article-solution-sidebar .lead-form,
.article-solution-sidebar .lead-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.article-solution-sidebar .lead-form__message {
  grid-column: auto;
}

.article-solution-sidebar .lead-form__footer {
  display: grid;
  gap: 14px;
}

.article-solution-sidebar .lead-form__footer .button {
  width: 100%;
}

.article-solution-page .related-content {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
  padding-top: 46px;
  padding-bottom: 60px;
  border-top: 1px solid var(--article-line);
}

.article-solution-page .related-content__header {
  margin-bottom: 20px;
}

.article-solution-page .related-content__header h2 {
  font-size: 28px;
}

.article-solution-page .related-content__grid {
  gap: 14px;
}

.article-solution-page .related-content__grid--count-1 {
  grid-template-columns: minmax(0, 317px);
}

.article-solution-page .related-content__grid--count-2 {
  max-width: 648px;
}

.article-solution-page .related-content-card__body {
  min-height: 158px;
  padding: 16px 17px 18px;
}

.article-solution-page .related-content-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-solution-page .related-content-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 14px;
  font-size: 13px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-solution-page .related-content-card__action {
  font-size: 13px;
}

@media (max-width: 1050px) {
  .article-solution-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .article-solution-hero h1 {
    font-size: 42px;
  }

  .article-solution-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
  }
}

@media (max-width: 860px) {
  .article-solution-hero,
  .article-solution-layout {
    grid-template-columns: 1fr;
  }

  .article-solution-hero__visual {
    min-height: 0;
    aspect-ratio: 1400 / 788;
  }

  .article-solution-hero__image {
    min-height: 0;
  }

  .article-solution-sidebar {
    position: static;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 620px) {
  .article-solution-page .breadcrumbs {
    padding-top: 12px;
  }

  .article-solution-hero {
    gap: 28px;
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .article-solution-hero h1 {
    margin-top: 10px;
    font-size: 34px;
    line-height: 1.1;
  }

  .article-solution-hero__lead {
    font-size: 17px;
  }

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

  .article-solution-facts > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid var(--article-line);
    border-left: 0;
  }

  .article-solution-hero__actions,
  .article-solution-hero__actions .button {
    width: 100%;
  }

  .article-solution-hero__visual {
    border-radius: 20px;
  }

  .article-solution-layout {
    gap: 44px;
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .article-solution-content .solution-checklist {
    grid-template-columns: 1fr;
  }

  .article-solution-links {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .article-solution-links h2,
  .article-solution-faq h2 {
    font-size: 26px;
  }

  .article-solution-sidebar {
    grid-template-columns: 1fr;
  }

  .article-offer-card,
  .article-solution-sidebar .contact-band {
    border-radius: 18px;
  }
}

:root {
  --ink: #25282d;
  --text: #52575f;
  --muted: #6f747d;
  --yellow: #f4d53b;
  --yellow-strong: #ffc900;
  --yellow-soft: #fff8d8;
  --green: #2f7d32;
  --red: #c93434;
  --line: #e1e4e7;
  --surface: #f5f6f6;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(37, 40, 45, 0.08);
  --shell: 1280px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Cera Pro", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
ul,
ol,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 20px;
  font-size: 42px;
}

h2 {
  margin-bottom: 18px;
  font-size: 32px;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

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

picture {
  display: contents;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(244, 213, 59, 0.82);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.section-space {
  padding-block: 56px;
}

.section-space--tight {
  padding-block: 36px;
}

.section-space--footer-form {
  padding-top: 16px;
  padding-bottom: 64px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 580px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: 13px;
  font-weight: 650;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button--primary {
  color: var(--ink);
  background: var(--yellow-strong);
}

.button--primary:hover {
  background: var(--yellow);
}

.button--secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button--secondary:hover {
  border-color: #b9bec4;
  background: var(--surface);
}

.button--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
}

.text-link span {
  color: #c79e00;
  font-size: 22px;
}

.text-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(225, 228, 231, 0.86);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__bar {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: minmax(245px, 280px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: var(--ink);
}

.brand__mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand__mark i {
  position: absolute;
  width: 27px;
  height: 27px;
  border: 2px solid var(--ink);
  border-radius: 9px;
}

.brand__mark i:first-child {
  top: 0;
  left: 0;
}

.brand__mark i:last-child {
  right: 0;
  bottom: 0;
  border-color: var(--yellow-strong);
}

.brand__text {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
}

.desktop-nav a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  background: var(--white);
  box-shadow: 0 3px 12px rgba(37, 40, 45, 0.08);
}

.site-header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.site-header__phone {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  align-content: center;
  gap: 4px;
}

.menu-toggle i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.mobile-menu {
  position: absolute;
  z-index: 999;
  top: 100%;
  right: 0;
  left: 0;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  padding: 24px 16px 32px;
  overflow-y: auto;
  background: var(--white);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.mobile-menu__contact {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.mobile-menu__contact > a {
  color: var(--ink);
  font-size: 17px;
}

.breadcrumbs {
  padding-top: 28px;
  padding-bottom: 16px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  color: #aeb3b9;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.hero {
  padding-top: 54px;
}

.hero__copy {
  max-width: 840px;
  padding-left: 8px;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.02;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  aspect-ratio: 16 / 9;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1181px) {
  .hero {
    padding-top: 16px;
  }

  .hero__stage {
    display: grid;
  }

  .hero__copy,
  .hero__visual {
    grid-area: 1 / 1;
  }

  .hero__copy {
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: start;
    width: min(580px, calc(100% - 96px));
    max-width: none;
    margin-left: clamp(32px, 4vw, 48px);
    padding: 40px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .hero h1 {
    max-width: none;
  }

  .hero__lead {
    max-width: 500px;
  }

  .hero__actions {
    margin-bottom: 0;
  }
}

.quick-nav {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1080px, calc(100% - 48px));
  min-height: 76px;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  align-items: center;
  gap: 6px;
  margin: -38px auto 0;
  padding: 10px 14px 10px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-nav strong {
  color: var(--ink);
  font-size: 17px;
}

.quick-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

.quick-nav a:hover,
.quick-nav a:first-of-type {
  border-color: var(--yellow-strong);
  background: var(--yellow-strong);
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.direction-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px 150px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
}

.direction-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.direction-item__number {
  align-self: start;
  color: #8a6b00;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.direction-item__image {
  width: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.direction-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direction-item__copy p {
  margin: 0;
  font-size: 14px;
}

.direction-item__copy h3 {
  font-size: 20px;
}

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.benefit {
  display: grid;
  min-height: 110px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
}

.benefit:not(:last-child) {
  border-right: 1px solid var(--line);
}

.benefit__icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  font-size: 20px;
}

.benefit__icon::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--yellow-strong);
  content: "✓";
  font-size: 10px;
  font-weight: 700;
}

.benefit strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.benefit span {
  font-size: 13px;
}

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

.article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.article-card:hover {
  border-color: #c6cbd0;
  box-shadow: 0 12px 32px rgba(37, 40, 45, 0.07);
}

.article-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.article-card:hover img {
  transform: scale(1.02);
}

.article-card__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow-strong);
  font-size: 12px;
  font-weight: 650;
}

.article-card__body {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  gap: 16px;
  padding: 20px;
}

.article-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.article-card__meta {
  color: var(--muted);
  font-size: 13px;
}

.home-content-center__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.content-center-grid[data-card-count="1"] {
  grid-template-columns: minmax(280px, 420px);
}

.content-center-grid[data-card-count="2"] {
  max-width: 858px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-center-card,
.content-center-card__link {
  height: 100%;
}

.content-center-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
}

.content-center-card__type {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  padding: 5px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: var(--ink);
  background: #ffbf00;
  box-shadow: 0 8px 22px rgba(37, 40, 45, 0.14);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.content-center-card .article-card__body {
  min-height: 158px;
}

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

.content-center-card__arrow {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

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

.step {
  position: relative;
  display: grid;
  min-height: 112px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -8px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--yellow-strong);
  content: "";
  transform: translate(50%, -50%);
}

.step__number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: 24px;
}

.step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.step span {
  font-size: 13px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.4fr);
  gap: 34px;
  padding: 34px;
  border: 1px solid #f1dfa0;
  border-radius: 24px;
  background: var(--yellow-soft);
}

.contact-band h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.contact-band__intro p {
  margin-bottom: 0;
}

.lead-form {
  min-width: 0;
}

.lead-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form label {
  min-width: 0;
}

.lead-form label > span:first-child:not(.sr-only) {
  display: block;
  margin-bottom: 5px;
  color: #646a73;
  font-size: 12px;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.lead-form textarea {
  min-height: 86px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: #d4ae00;
  box-shadow: 0 0 0 3px rgba(244, 213, 59, 0.22);
}

.lead-form [aria-invalid="true"] {
  border-color: var(--red) !important;
}

.lead-form__message {
  grid-row: span 2;
}

.lead-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.form-consent {
  display: flex;
  max-width: 500px;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: var(--yellow-strong);
}

.form-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: var(--red);
}

.lead-form.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(180px, 0.7fr));
  gap: 56px;
  padding-block: 44px;
}

.site-footer__brand p {
  max-width: 430px;
  margin: 20px 0;
  font-size: 14px;
}

.site-footer__nav {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 14px;
}

.site-footer__nav strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.site-footer__nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer__bottom span:first-child {
  margin-right: auto;
}

.modal {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(37, 40, 45, 0.24);
}

.modal::backdrop {
  background: rgba(37, 40, 45, 0.56);
  backdrop-filter: blur(4px);
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  font-size: 25px;
}

.contact-band--modal {
  grid-template-columns: 1fr;
  max-height: calc(100dvh - 24px);
  padding: 36px 28px 24px;
  overflow-y: auto;
  border: 0;
  border-radius: 26px;
}

.contact-band--modal .lead-form__fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-band--modal .catalog-filter__group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.contact-band--modal .catalog-filter__group input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--yellow-strong);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 54px;
  padding-top: 30px;
  padding-bottom: 40px;
}

.catalog-hero h1 {
  font-size: 48px;
}

.catalog-hero__visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.catalog-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-search {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.program-search input {
  width: 100%;
  min-width: 0;
  height: 62px;
  padding: 0 72px 0 24px;
  border: 0;
  border-radius: inherit;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
}

.program-search:focus-within {
  border-color: #d4ae00;
  box-shadow: 0 0 0 4px rgba(244, 213, 59, 0.18);
}

.program-search__button {
  position: absolute;
  right: 7px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-strong);
  cursor: pointer;
  font-size: 22px;
}

.program-search__button::before {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.program-search__button::after {
  position: absolute;
  width: 7px;
  height: 2px;
  margin: 13px 0 0 13px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--yellow-strong);
  background: var(--yellow-strong);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.catalog-layout--without-filter {
  grid-template-columns: minmax(0, 1fr);
}

.catalog-seo {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.catalog-seo__heading {
  max-width: 920px;
}

.catalog-seo__heading h2 {
  margin-bottom: 16px;
}

.catalog-seo__heading p {
  max-width: 860px;
  margin-bottom: 0;
  font-size: 18px;
}

.catalog-seo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  margin-top: 38px;
}

.catalog-seo h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.catalog-seo__copy p {
  margin-bottom: 16px;
}

.catalog-seo__copy p:last-child {
  margin-bottom: 0;
}

.catalog-seo__programs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.catalog-seo__programs li {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-seo__programs a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.catalog-seo__programs span {
  color: var(--muted);
  font-size: 14px;
}

.catalog-seo__process {
  max-width: 920px;
  margin-top: 38px;
}

.catalog-seo__process p {
  margin-bottom: 0;
}

.catalog-filter {
  position: sticky;
  top: calc(var(--header-height) + 22px);
}

.catalog-filter__group {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.catalog-filter__group + .catalog-filter__group {
  padding-top: 22px;
}

.catalog-filter__group strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
}

.catalog-filter label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 9px 0;
  font-size: 13px;
}

.catalog-filter input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: var(--yellow-strong);
}

.mobile-filter-button {
  display: none;
}

.program-list__header {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.program-list {
  counter-reset: program;
}

.program-row {
  display: grid;
  min-height: 116px;
  grid-template-columns: 58px minmax(230px, 1fr) 110px 110px 132px;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  counter-increment: program;
}

.program-row::before {
  color: #d1a700;
  content: counter(program, decimal-leading-zero);
  font-size: 29px;
  line-height: 1;
}

.program-row:hover {
  border-radius: 18px;
  background: var(--yellow-soft);
}

.program-row__name {
  min-width: 0;
}

.program-row__name > a {
  display: inline-block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
}

.program-row__name > a:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.program-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
}

.program-row__duration,
.program-row__price {
  color: var(--ink);
  font-size: 15px;
}

.program-row__price {
  font-weight: 650;
}

.program-empty {
  padding: 60px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}

.program-empty h3 {
  font-size: 24px;
}

.catalog-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.education-catalog {
  padding-top: 28px;
}

.education-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: 28px;
}

.education-section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 3.2vw, 44px);
}

.education-section-heading p {
  max-width: 580px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.education-programs {
  margin-top: 0;
  padding-top: 0;
}

.education-programs__heading {
  margin-bottom: 30px;
}

.education-search-sticky {
  position: sticky;
  z-index: 35;
  top: var(--header-height);
  margin: 0 -10px 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.education-search-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 12px;
}

.education-search {
  margin-bottom: 0;
  box-shadow: 0 12px 34px rgba(32, 38, 42, 0.06);
}

.education-search input {
  padding-right: 122px;
}

.education-category-select {
  position: relative;
  display: block;
  min-width: 0;
}

.education-category-select > span {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 18px;
  color: var(--muted);
  font-size: 11px;
  pointer-events: none;
}

.education-category-select select {
  width: 100%;
  height: 64px;
  padding: 24px 44px 7px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.education-category-select select:focus {
  border-color: #d4ae00;
  box-shadow: 0 0 0 4px rgba(244, 213, 59, 0.18);
}

.program-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.program-pagination .button {
  min-width: 210px;
}

.catalog-categories {
  margin-top: clamp(44px, 6vw, 72px);
}

.catalog-categories__title {
  margin: 0 0 18px;
}

.catalog-categories .catalog-sections {
  margin-bottom: 0;
}

.education-categories {
  scroll-margin-top: 24px;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.education-category-link {
  min-height: 88px;
}

.education-category-link__copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.education-category-link__copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.education-category-link__copy .education-category-link__count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.catalog-section-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 650;
}

.catalog-section-link:hover {
  border-color: var(--yellow-strong);
  background: var(--yellow-soft);
}

.catalog-section-link span:last-child {
  color: #c79e00;
  font-size: 22px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 34px;
  padding-top: 16px;
  padding-bottom: 26px;
}

.detail-hero h1 {
  max-width: 820px;
  font-size: 46px;
}

.detail-hero__lead {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 18px;
}

.detail-hero__image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.detail-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-summary {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
}

.program-summary__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.program-summary__metric {
  min-width: 0;
  padding: 0 12px 18px;
  text-align: center;
}

.program-summary__metric + .program-summary__metric {
  border-left: 1px solid var(--line);
}

.program-summary__metric strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.program-summary__metric span {
  color: var(--muted);
  font-size: 12px;
}

.program-summary__document {
  padding-bottom: 16px;
  text-align: center;
}

.program-summary__document strong {
  display: block;
  color: var(--ink);
}

.program-summary__formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.program-summary .button {
  width: 100%;
}

.program-summary__phone {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  text-align: center;
}

.detail-tabs {
  position: sticky;
  z-index: 20;
  top: calc(var(--header-height) + 8px);
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 4px;
  margin-bottom: 30px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.detail-tabs a {
  display: flex;
  min-width: 150px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.detail-tabs a:hover,
.detail-tabs a:first-child {
  background: var(--yellow-strong);
}

.program-content {
  display: grid;
  gap: 34px;
}

.program-section {
  scroll-margin-top: 160px;
}

.program-section h2 {
  font-size: 28px;
}

.content-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.rich-text {
  color: var(--text);
  line-height: 1.72;
}

.rich-text > :last-child {
  margin-bottom: 0;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin-top: 1.5em;
}

.rich-text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.rich-text table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.rich-text th,
.rich-text td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.rich-text img,
.generic-content img {
  height: auto !important;
  border-radius: 18px;
}

.audience-content {
  display: grid;
  gap: 18px;
}

.audience-summary {
  position: relative;
  margin: 0;
  padding: 24px 26px 24px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.6;
}

.audience-summary::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 7px;
  border-radius: 0 7px 7px 0;
  background: var(--yellow-strong);
  content: "";
}

.audience-subtitle {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.3;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--line);
  list-style: none;
}

.audience-list > li {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
}

.audience-list > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.audience-list__marker {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-strong);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.audience-list__body,
.audience-list__copy {
  min-width: 0;
}

.audience-list__copy {
  margin: 4px 0 0;
  color: var(--text);
  line-height: 1.62;
}

.audience-list__body > :last-child {
  margin-bottom: 0;
}

.audience-list--nested {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 12px;
  border-radius: 14px;
}

.audience-list--nested > li,
.audience-list--nested > li:last-child:nth-child(odd) {
  grid-column: auto;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 14px;
}

.audience-list--nested .audience-list__marker {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.audience-list__body .audience-subtitle {
  margin: 2px 0 8px;
  font-size: 16px;
}

.audience-notes {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  border-left: 4px solid var(--yellow-strong);
  color: var(--text);
}

.audience-notes p,
.audience-note {
  margin: 0;
  line-height: 1.7;
}

.audience-requirements {
  padding: 22px 24px;
  border: 1px solid #eedb73;
  border-radius: 22px;
  background: var(--yellow-soft);
}

.audience-requirements h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.audience-requirements > p {
  margin: 0;
  line-height: 1.65;
}

.audience-bullet-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--text);
  list-style: none;
}

.audience-bullet-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.58;
}

.audience-bullet-list li::before {
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow-strong);
  content: "";
}

.audience-bullet-list--compact {
  margin-top: 10px;
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 38px 12px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li::after {
  position: absolute;
  top: 13px;
  right: 4px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-strong);
  content: "✓";
  font-size: 11px;
  font-weight: 700;
}

.format-grid,
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.format-item,
.result-item {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.format-item strong,
.result-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.format-item span,
.result-item span {
  font-size: 13px;
}

.program-accordion {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.program-accordion details + details {
  border-top: 1px solid var(--line);
}

.program-accordion summary {
  display: grid;
  min-height: 56px;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.program-accordion summary::-webkit-details-marker {
  display: none;
}

.program-accordion summary::after {
  content: "+";
  font-size: 20px;
  text-align: center;
}

.program-accordion details[open] {
  background: var(--yellow-soft);
}

.program-accordion details[open] summary::after {
  content: "−";
}

.program-accordion__content {
  padding: 0 18px 18px 64px;
}

.program-section__intro {
  max-width: 760px;
  margin: -6px 0 18px;
  color: var(--muted);
}

.legal-basis-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  list-style: none;
}

.legal-basis-list li {
  display: grid;
  min-height: 72px;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 20px;
  color: var(--ink);
  line-height: 1.55;
}

.legal-basis-list li + li {
  border-top: 1px solid var(--line);
}

.legal-basis-list__number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.program-properties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.program-property {
  min-width: 0;
  padding: 22px;
}

.program-property:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.program-property:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.program-property strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.program-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.review-item {
  min-width: 0;
  padding: 24px;
}

.review-item:nth-child(even) {
  border-left: 1px solid var(--line);
}

.review-item:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.review-item__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.review-item__head strong {
  display: block;
  color: var(--ink);
}

.review-item__identity span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.review-item__head time {
  color: var(--muted);
  font-size: 12px;
}

.review-item p {
  margin: 0;
}

.review-form__position,
.review-form .lead-form__message {
  grid-column: 1 / -1;
}

.review-form .lead-form__message {
  grid-row: auto;
}

.review-form textarea {
  min-height: 140px;
}

.service-detail .detail-hero__image {
  aspect-ratio: 16 / 9;
}

.service-summary .program-summary__metrics {
  grid-template-columns: 1fr;
}

.service-summary .program-summary__metric + .program-summary__metric {
  border-top: 1px solid var(--line);
  border-left: 0;
}

.service-summary .program-summary__metric strong {
  overflow-wrap: anywhere;
}

.service-result-grid,
.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-result-grid .content-panel h3,
.service-columns .content-panel h3 {
  margin-top: 0;
  font-size: 20px;
}

.service-output {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border: 1px solid #e5c21b;
  border-radius: 22px;
  background: var(--yellow-soft);
}

.service-output span,
.service-price-band span {
  color: #626770;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.service-output strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.service-price-band {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(190px, 0.9fr) minmax(260px, 1.5fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid #e5c21b;
  border-radius: 24px;
  background: var(--yellow-soft);
}

.service-price-band > div {
  display: grid;
  gap: 6px;
}

.service-price-band strong {
  color: var(--ink);
  font-size: 23px;
  overflow-wrap: anywhere;
}

.service-price-band p {
  margin: 0;
  font-size: 14px;
}

.service-price-band .button {
  white-space: nowrap;
}

.generic-page {
  padding-top: 22px;
  padding-bottom: 56px;
}

.generic-page__header {
  max-width: 900px;
  padding-block: 20px 28px;
}

.generic-page__header h1 {
  font-size: 46px;
}

.generic-page__image {
  max-width: 960px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 28px;
}

.generic-content {
  max-width: 940px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.generic-content h2,
.generic-content h3 {
  margin-top: 1.5em;
}

.generic-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.generic-page__image img {
  display: block;
  width: 100%;
  height: auto;
}

.content-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 340px);
  align-items: start;
  gap: clamp(34px, 4vw, 56px);
}

.content-detail-main {
  min-width: 0;
}

.content-detail-main .generic-page__header,
.content-detail-main .generic-page__image,
.content-detail-main .generic-content,
.content-detail-main .faq-detail__header,
.content-detail-main .faq-detail__image,
.content-detail-main .faq-short-answer,
.content-detail-main .faq-detail__content {
  max-width: none;
}

.content-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  max-height: calc(100dvh - var(--header-height) - 40px);
  align-self: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.content-detail-sidebar .contact-band {
  display: block;
  padding: 24px;
  border-radius: 22px;
}

.content-detail-sidebar .contact-band h2 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.12;
}

.content-detail-sidebar .contact-band__intro p {
  font-size: 14px;
  line-height: 1.5;
}

.content-detail-sidebar .lead-form {
  margin-top: 20px;
}

.content-detail-sidebar .lead-form__fields {
  grid-template-columns: 1fr;
  gap: 10px;
}

.content-detail-sidebar .lead-form__message {
  grid-row: auto;
}

.content-detail-sidebar .lead-form input:not([type="checkbox"]),
.content-detail-sidebar .lead-form textarea,
.content-detail-sidebar .lead-form select {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 12px;
}

.content-detail-sidebar .lead-form textarea {
  min-height: 72px;
}

.content-detail-sidebar .lead-form__footer {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.content-detail-sidebar .lead-form__footer .button {
  width: 100%;
  grid-row: auto;
}

.content-detail-sidebar .form-consent {
  font-size: 11px;
  line-height: 1.4;
}

.content-detail-sidebar .form-status {
  min-height: 18px;
  margin-top: 6px;
}

.content-detail__back {
  margin-top: 32px;
}

.article-toc {
  max-width: 760px;
  margin: 0 0 38px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.article-toc[hidden] {
  display: none;
}

.article-toc__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}

.article-toc__title::before {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow-strong);
  box-shadow: 0 0 0 5px var(--yellow-soft);
  content: "";
}

.article-toc__list,
.article-toc__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc__item--h2 {
  border-top: 1px solid var(--line);
}

.article-toc__link {
  color: var(--ink);
  text-decoration: none;
}

.article-toc__item--h2 > .article-toc__link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.article-toc__number {
  display: grid;
  width: 26px;
  height: 26px;
  margin-top: -1px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.article-toc__label {
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.article-toc__sublist {
  display: grid;
  gap: 7px;
  padding: 0 0 13px 40px;
}

.article-toc__item--h3 > .article-toc__link {
  position: relative;
  display: block;
  padding-left: 15px;
  color: #595f67;
  font-size: 14px;
  line-height: 1.5;
}

.article-toc__item--h3 > .article-toc__link::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow-strong);
  content: "";
  transform: translateY(-50%);
}

.article-toc__link:hover {
  color: #17191c;
  text-decoration: underline;
  text-decoration-color: var(--yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-toc__link:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(255, 201, 0, 0.5);
  outline-offset: 3px;
}

.related-content {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(36px, 5vw, 52px);
  border-top: 1px solid var(--line);
}

.related-content__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.related-content__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.18;
  text-wrap: balance;
}

.related-content__header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.related-content__header .text-link {
  flex: 0 0 auto;
  margin-bottom: 3px;
}

.related-content__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-content__grid--count-1 {
  grid-template-columns: minmax(0, 420px);
}

.related-content__grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.related-content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition:
    border-color 180ms cubic-bezier(0.25, 1, 0.5, 1),
    transform 180ms cubic-bezier(0.25, 1, 0.5, 1);
}

.related-content-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.related-content-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.related-content-card__image picture,
.related-content-card__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.related-content-card__image img {
  object-fit: cover;
  transition: transform 280ms cubic-bezier(0.25, 1, 0.5, 1);
}

.related-content-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.related-content-card__body {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  padding: 19px 20px 21px;
}

.related-content-card__meta {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.related-content-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
  text-wrap: balance;
}

.related-content-card p {
  margin: 12px 0 18px;
  color: #565c64;
  font-size: 14px;
  line-height: 1.55;
}

.related-content-card__action {
  margin-top: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.related-content-card:hover {
  border-color: #d4ae00;
  transform: translateY(-3px);
}

.related-content-card:hover .related-content-card__image img {
  transform: scale(1.025);
}

.related-content-card:focus-within {
  border-color: #d4ae00;
  outline: 3px solid rgba(255, 201, 0, 0.42);
  outline-offset: 3px;
}

.related-content-card > a:focus-visible {
  outline: 0;
}

.content-detail-main .generic-content {
  max-width: 760px;
  color: #484d55;
  line-height: 1.78;
}

.content-detail-main .generic-content > :first-child {
  margin-top: 0;
}

.content-detail-main .generic-content > :last-child {
  margin-bottom: 0;
}

.content-detail-main .generic-content > p:first-child {
  color: var(--ink);
  font-size: 18px;
}

.content-detail-main .generic-content p {
  margin-bottom: 18px;
  text-wrap: pretty;
}

.content-detail-main .generic-content h2 {
  position: relative;
  margin: 56px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 32px;
  line-height: 1.18;
  text-wrap: balance;
  scroll-margin-top: 24px;
}

.content-detail-main .generic-content h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow-strong);
  content: "";
}

.content-detail-main .generic-content h3 {
  position: relative;
  margin: 38px 0 14px;
  padding-left: 20px;
  font-size: 22px;
  line-height: 1.28;
  text-wrap: balance;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.content-detail-main .generic-content h3::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow-strong);
  content: "";
  transform: translateY(-50%);
}

.content-detail-main .generic-content h4 {
  margin: 30px 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

.content-detail-main .generic-content strong {
  color: var(--ink);
  font-weight: 650;
}

.content-detail-main .generic-content ul,
.content-detail-main .generic-content ol {
  margin: 24px 0 32px;
  color: #41464d;
}

.content-detail-main .generic-content ul {
  display: grid;
  gap: 11px;
  padding: 0;
  list-style: none;
}

.content-detail-main .generic-content ul > li {
  position: relative;
  padding-left: 28px;
}

.content-detail-main .generic-content ul > li::before {
  position: absolute;
  top: 0.72em;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow-strong);
  box-shadow: 0 0 0 4px var(--yellow-soft);
  content: "";
  transform: translateY(-50%);
}

.content-detail-main .generic-content ul ul {
  gap: 8px;
  margin: 10px 0 0;
}

.content-detail-main .generic-content ul ul > li::before {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.content-detail-main .generic-content ol {
  display: grid;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: content-step;
}

.content-detail-main .generic-content ol > li {
  position: relative;
  min-height: 56px;
  padding: 14px 0 14px 52px;
  border-bottom: 1px solid var(--line);
  counter-increment: content-step;
}

.content-detail-main .generic-content ol > li::before {
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-strong);
  content: counter(content-step);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.content-detail-main .generic-content li > p {
  margin: 8px 0 0;
}

.content-detail-main .generic-content a {
  text-decoration-color: var(--yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.content-detail-main .generic-content a:hover {
  color: #17191c;
  text-decoration-thickness: 3px;
}

.content-detail-main .generic-content blockquote {
  position: relative;
  margin: 32px 0;
  padding: 24px 26px 24px 62px;
  border: 1px solid #f1dfa0;
  border-radius: 16px;
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: 18px;
  line-height: 1.65;
}

.content-detail-main .generic-content blockquote::before {
  position: absolute;
  top: 16px;
  left: 24px;
  color: #d4ae00;
  content: "\201C";
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.content-detail-main .generic-content blockquote > :last-child {
  margin-bottom: 0;
}

.content-detail-main .generic-content table {
  width: 100%;
  max-width: 100%;
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  border-spacing: 0;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
  table-layout: auto;
}

.content-detail-main .generic-content th,
.content-detail-main .generic-content td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.content-detail-main .generic-content th {
  color: var(--ink);
  background: var(--surface);
  font-weight: 650;
}

.content-detail-main .generic-content tr > :last-child {
  border-right: 0;
}

.content-detail-main .generic-content tbody tr:last-child > * {
  border-bottom: 0;
}

.content-detail-main .generic-content figure {
  margin: 34px 0;
}

.content-detail-main .generic-content figure img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.content-detail-main .generic-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-detail-main .generic-content dl {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.content-detail-main .generic-content dt,
.content-detail-main .generic-content dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.content-detail-main .generic-content dt {
  padding-right: 20px;
  color: var(--ink);
  font-weight: 650;
}

.content-detail-main .generic-content hr {
  height: 1px;
  margin: 42px 0;
  border: 0;
  background: var(--line);
}

.content-detail-main .generic-content mark {
  padding: 1px 4px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--yellow-soft);
}

.content-detail-main .generic-content code {
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.92em;
}

.sout-city-content > :first-child {
  margin-top: 0;
}

.sout-city-content__lead {
  max-width: 840px;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.sout-city-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 46px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--yellow);
}

.sout-city-fact {
  min-width: 0;
  padding: 22px 24px;
}

.sout-city-fact + .sout-city-fact {
  border-left: 1px solid rgba(37, 40, 45, 0.2);
}

.sout-city-fact span,
.sout-city-fact strong {
  display: block;
}

.sout-city-fact span {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.sout-city-fact strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.sout-city-content h2 {
  max-width: 820px;
  margin-top: 52px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.2;
}

.sout-city-content h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.sout-city-note {
  margin: 34px 0;
  padding: 24px 28px;
  border: 1px solid rgba(244, 213, 59, 0.7);
  border-radius: 20px;
  background: var(--yellow-soft);
}

.sout-city-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 19px;
}

.sout-city-note p {
  margin: 0;
}

.sout-city-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 34px;
  padding: 0;
  list-style: none;
}

.sout-city-checklist li {
  position: relative;
  margin: 0;
  padding-left: 26px;
}

.sout-city-checklist li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  content: '';
  transform: translateY(-50%);
}

.sout-city-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: sout-step;
}

.sout-city-steps li {
  position: relative;
  min-width: 0;
  padding: 24px 0 24px 48px;
  border-bottom: 1px solid var(--line);
  counter-increment: sout-step;
}

.sout-city-steps li::before {
  position: absolute;
  top: 24px;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  content: counter(sout-step);
}

.sout-city-steps h3,
.sout-city-steps p {
  margin: 0;
}

.sout-city-steps p {
  margin-top: 7px;
}

.sout-city-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 46px;
  margin-top: 26px;
}

.sout-city-documents h3 {
  margin: 0 0 10px;
}

.sout-city-documents ul {
  margin: 0;
}

.sout-city-faq {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.sout-city-faq section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.sout-city-faq h3,
.sout-city-faq p {
  margin: 0;
}

.sout-city-faq p {
  max-width: 820px;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .sout-city-content__lead {
    font-size: 19px;
  }

  .sout-city-facts,
  .sout-city-checklist,
  .sout-city-steps,
  .sout-city-documents {
    grid-template-columns: 1fr;
  }

  .sout-city-fact + .sout-city-fact {
    border-top: 1px solid rgba(37, 40, 45, 0.2);
    border-left: 0;
  }

  .sout-city-content h2 {
    margin-top: 42px;
    font-size: 27px;
  }

  .sout-city-note {
    padding: 22px;
  }

  .sout-city-steps {
    gap: 0;
  }
}

.contacts-page {
  padding-bottom: 64px;
}

.contacts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 64px;
  padding-top: 26px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.contacts-hero__copy {
  max-width: 790px;
}

.contacts-hero h1 {
  margin-bottom: 18px;
  font-size: 52px;
}

.contacts-hero__lead {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.55;
}

.contacts-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contacts-hero__quick {
  display: grid;
  gap: 10px;
  padding: 8px 0 8px 32px;
  border-left: 1px solid var(--line);
}

.contacts-hero__quick > span,
.contacts-visit__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.contacts-hero__quick > a {
  color: var(--ink);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.2;
}

.contacts-hero__quick p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contacts-phone-link {
  white-space: nowrap;
}

.contacts-directory {
  padding-block: 56px;
}

.contacts-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.contacts-section-heading h2,
.contacts-section-heading p {
  margin-bottom: 0;
}

.contacts-section-heading p {
  max-width: 520px;
}

.contacts-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.contact-method {
  display: flex;
  min-width: 0;
  min-height: 196px;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
}

.contact-method__number {
  margin-bottom: 28px;
  color: #a98600;
  font-size: 14px;
  font-weight: 650;
}

.contact-method h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

.contact-method__value {
  margin: auto 0 0;
  color: var(--ink);
  font-size: 19px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

a.contact-method__value:hover,
.contacts-hero__quick > a:hover,
.contacts-visit__phone:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.contacts-visit {
  padding-bottom: 56px;
}

.contacts-visit__layout {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.contacts-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #eceeed;
}

.contacts-map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  inset: 0;
}

.contacts-map__route {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  box-shadow: 0 8px 26px rgba(37, 40, 45, 0.14);
}

.contacts-visit__info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.contacts-visit__info h3 {
  margin: 10px 0 14px;
  font-size: 28px;
  line-height: 1.25;
}

.contacts-visit__info > p {
  margin-bottom: 24px;
}

.contacts-visit__notice {
  padding: 20px;
  border: 1px solid #ead36c;
  border-radius: 18px;
  background: var(--yellow-soft);
}

.contacts-visit__notice strong {
  color: var(--ink);
}

.contacts-visit__notice p {
  margin: 6px 0 0;
  font-size: 14px;
}

.contacts-visit__phone {
  margin-top: 26px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
}

.contacts-form {
  padding-top: 8px;
}

.auth-page__intro {
  padding-bottom: 18px;
}

.bx-auth {
  width: min(calc(100% - 32px), 720px) !important;
  margin: 0 auto 64px !important;
  padding: 28px !important;
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.bx-auth form,
.bx-auth table {
  width: 100% !important;
}

.bx-auth td {
  padding: 8px !important;
}

.bx-auth input[type="text"],
.bx-auth input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.bx-auth input[type="submit"] {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow-strong);
  cursor: pointer;
}

.sitemap-page {
  padding-bottom: 80px;
}

.sitemap-page__header {
  border-bottom: 1px solid #eadb83;
  background: var(--yellow-soft);
}

.sitemap-page__header-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  gap: 64px;
  padding-block: 58px 44px;
}

.sitemap-page__heading h1 {
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: 52px;
}

.sitemap-page__heading p {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
}

.sitemap-stats {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.sitemap-stat {
  display: grid;
  min-width: 132px;
  align-content: end;
  gap: 4px;
  padding: 4px 24px;
  border-left: 1px solid #d5c05a;
}

.sitemap-stat strong {
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.sitemap-stat span {
  color: var(--muted);
  font-size: 14px;
}

.sitemap-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 24px;
  margin: 32px 0 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.sitemap-search label {
  color: var(--ink);
  font-weight: 700;
}

.sitemap-search input {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 56px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.sitemap-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.sitemap-search input:focus {
  border-color: #b99400;
  outline: 3px solid rgba(244, 213, 59, 0.36);
  outline-offset: 1px;
}

.sitemap-search__status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sitemap-directory {
  border-top: 2px solid var(--ink);
}

.sitemap-directory__group {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.sitemap-directory__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 22px;
}

.sitemap-directory__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.25;
}

.sitemap-directory__header h2 a {
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.sitemap-directory__header h2 a:hover {
  text-decoration-color: var(--yellow-strong);
}

.sitemap-directory__header > span {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.sitemap-link-list li {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.sitemap-link-list a {
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sitemap-link-list a:hover {
  border-left-color: var(--yellow-strong);
  color: var(--ink);
  background: var(--yellow-soft);
}

.sitemap-link-list--primary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sitemap-category-list {
  border-top: 1px solid var(--line);
}

.sitemap-category,
.sitemap-flat-list {
  border-bottom: 1px solid var(--line);
}

.sitemap-category summary,
.sitemap-flat-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 13px 12px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.sitemap-category summary::-webkit-details-marker,
.sitemap-flat-list summary::-webkit-details-marker {
  display: none;
}

.sitemap-category summary > span {
  padding-left: calc(var(--sitemap-depth, 0) * 18px);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.sitemap-flat-list summary > span {
  font-size: 18px;
  font-weight: 700;
}

.sitemap-category summary small,
.sitemap-flat-list summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.sitemap-category summary::after,
.sitemap-flat-list summary::after {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-strong);
  content: "+";
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}

.sitemap-category[open] summary::after,
.sitemap-flat-list[open] summary::after {
  transform: rotate(45deg);
}

.sitemap-category summary:hover,
.sitemap-flat-list summary:hover {
  background: #fffbed;
}

.sitemap-category__body {
  padding: 0 12px 24px;
}

.sitemap-category__open {
  margin-bottom: 12px;
}

.sitemap-category__open a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow-strong);
  font-size: 14px;
  font-weight: 700;
}

.sitemap-category__open a:hover {
  background: var(--yellow);
}

.sitemap-flat-list {
  border-top: 1px solid var(--line);
}

.sitemap-flat-list > .sitemap-link-list {
  padding: 0 12px 24px;
}

.sitemap-empty {
  margin: 28px 0 0;
  padding: 24px;
  border-radius: 18px;
  color: var(--ink);
  background: var(--yellow-soft);
  font-weight: 700;
}

.price-page {
  padding-bottom: 72px;
}

.price-page__header {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  padding-block: 62px 44px;
}

.price-page__header h1 {
  margin: 14px 0 18px;
  font-size: 52px;
}

.price-page__header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.price-page__summary {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 6px 0 8px 28px;
  border-left: 1px solid var(--line);
}

.price-page__summary strong {
  color: var(--ink);
  font-size: 62px;
  font-weight: 500;
  line-height: 0.88;
}

.price-page__summary span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.price-search-sticky {
  position: sticky;
  z-index: 35;
  top: var(--header-height);
  padding-block: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.price-search {
  margin-bottom: 0;
  box-shadow: 0 12px 34px rgba(32, 38, 42, 0.06);
}

.price-search input {
  padding-right: 122px;
}

.price-search input::-webkit-search-cancel-button,
.education-search input::-webkit-search-cancel-button {
  display: none;
  appearance: none;
}

.price-search__clear {
  position: absolute;
  right: 66px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.price-search__clear:hover {
  color: var(--ink);
  background: var(--surface);
}

.price-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 42px;
}

.price-scope {
  min-width: 0;
  margin-bottom: 0;
}

.price-scope .filter-chip {
  gap: 8px;
}

.price-scope [data-filter-count] {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  padding-inline: 6px;
  border-radius: 999px;
  color: #5b6068;
  background: var(--surface);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.price-scope .is-active [data-filter-count] {
  color: var(--ink);
  background: var(--white);
}

.price-results {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.price-results span {
  color: var(--ink);
  font-weight: 650;
}

.price-groups {
  display: grid;
  gap: 46px;
}

.price-group {
  scroll-margin-top: calc(var(--header-height) + 96px);
  content-visibility: auto;
  contain-intrinsic-block-size: auto 620px;
}

.price-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.price-group__header h2 {
  margin: 0;
  font-size: 28px;
}

.price-group__header > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.price-row {
  display: grid;
  min-height: 74px;
  grid-template-columns: minmax(0, 1fr) 160px 140px 44px;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
}

.price-row + .price-row {
  border-top: 1px solid var(--line);
}

.price-row:hover {
  background: var(--yellow-soft);
}

.price-row:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -4px;
}

.price-row--header {
  min-height: 50px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.price-row--header:hover {
  background: var(--surface);
}

.price-row__name {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.42;
}

.price-row__duration {
  color: var(--muted);
  font-size: 14px;
}

.price-row__price {
  color: var(--ink);
  font-weight: 650;
}

.price-empty {
  margin-top: 32px;
  padding: 46px 24px;
  border-radius: 22px;
  background: var(--yellow-soft);
  text-align: center;
}

.price-empty h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.price-empty p {
  margin: 0 0 20px;
  color: var(--muted);
}

.articles-page {
  padding-bottom: 60px;
}

.articles-page__header {
  max-width: 760px;
  padding-block: 30px 38px;
}

.articles-page__header h1 {
  font-size: 48px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.pagination a,
.pagination span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
}

.pagination .is-current {
  border-color: var(--yellow-strong);
  background: var(--yellow-strong);
}

.legacy-shell,
.container,
.maxwidth-theme {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-12,
.col-sm-12,
.col-xs-12 {
  width: 100%;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

.clearfix::after {
  display: table;
  clear: both;
  content: "";
}

@media (min-width: 1080px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero h1 {
    font-size: 64px;
  }
}

@media (min-width: 1261px) and (max-width: 1319px) {
  .site-header__bar {
    grid-template-columns: minmax(245px, 260px) minmax(0, 1fr) auto;
    gap: 16px;
  }

  .desktop-nav a {
    padding-inline: 8px;
  }
}

@media (min-width: 1181px) and (max-width: 1260px) {
  .site-header__bar {
    grid-template-columns: minmax(230px, 1fr) auto auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-height: 72px;
  }

  .site-header__bar {
    grid-template-columns: minmax(230px, 1fr) auto auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .direction-item {
    grid-template-columns: 42px 120px minmax(0, 1fr) 44px;
    gap: 14px;
  }

  .direction-item__image {
    width: 120px;
  }

  .program-row {
    grid-template-columns: 50px minmax(220px, 1fr) 90px 100px 44px;
  }

  .program-row .button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 0;
  }

  .program-row .button span {
    font-size: 20px;
  }
}

@media (max-width: 1100px) {
  .content-detail-layout {
    grid-template-columns: 1fr;
  }

  .content-detail-sidebar {
    position: static;
    max-height: none;
    margin-top: 38px;
    overflow: visible;
  }

  .content-detail-sidebar .contact-band {
    display: grid;
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.4fr);
    gap: 28px;
    padding: 30px;
  }

  .content-detail-sidebar .lead-form {
    margin-top: 0;
  }

  .content-detail-sidebar .lead-form__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-detail-sidebar .lead-form__message {
    grid-row: span 2;
  }
}

@media (max-width: 900px) {
  .section-space {
    padding-block: 44px;
  }

  .sitemap-page__header-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sitemap-stats {
    justify-content: flex-start;
  }

  .sitemap-stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .sitemap-link-list--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-page__header {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 32px;
  }

  .price-page__summary {
    padding-left: 22px;
  }

  .price-page__summary strong {
    font-size: 52px;
  }

  .price-tools {
    align-items: flex-start;
  }

  .quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 26px;
  }

  .quick-nav strong {
    grid-column: 1 / -1;
  }

  .directions-grid,
  .article-grid,
  .catalog-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-item {
    grid-template-columns: 40px 94px minmax(0, 1fr);
  }

  .direction-item:nth-child(odd) {
    border-right: 0;
  }

  .direction-item__image {
    width: 94px;
    border-radius: 16px;
  }

  .direction-item .icon-button {
    display: none;
  }

  .benefits-strip,
  .steps,
  .format-grid,
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .benefit:nth-child(2) {
    border-right: 0;
  }

  .step {
    border-radius: 22px;
  }

  .step:last-child {
    grid-column: 1 / -1;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .content-detail-sidebar .contact-band {
    grid-template-columns: 1fr;
  }

  .content-detail-sidebar .lead-form {
    margin-top: 20px;
  }

  .content-detail-sidebar .lead-form__fields {
    grid-template-columns: 1fr;
  }

  .content-detail-sidebar .lead-form__message {
    grid-row: auto;
  }

  .contacts-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contacts-hero__quick {
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .contacts-visit__layout {
    grid-template-columns: 1fr;
  }

  .contacts-map {
    min-height: 430px;
  }

  .contacts-visit__info {
    padding: 32px;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(150px, 0.7fr));
    gap: 30px;
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .catalog-hero__visual {
    grid-row: 1;
  }

  .education-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .education-section-heading p {
    max-width: 720px;
  }

  .education-search-tools {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-seo__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .catalog-filter {
    display: none;
  }

  .mobile-filter-button {
    display: inline-flex;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .program-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .program-summary__metrics {
    margin-bottom: 0;
  }

  .program-summary__formats {
    border-top: 0;
  }

  .program-summary .button,
  .program-summary__phone {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  body {
    font-size: 15px;
  }

  .shell,
  .legacy-shell,
  .container,
  .maxwidth-theme {
    width: min(calc(100% - 24px), var(--shell));
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .catalog-seo__heading p {
    font-size: 16px;
  }

  .catalog-seo__grid,
  .catalog-seo__process {
    margin-top: 28px;
  }

  .section-heading {
    display: grid;
    gap: 12px;
  }

  .site-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-header__contact {
    display: none;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .brand__mark i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .brand__text {
    font-size: 11px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__visual {
    border-radius: 24px;
    aspect-ratio: 4 / 3;
  }

  .hero__visual img {
    object-position: 58% center;
  }

  .quick-nav {
    width: calc(100% - 24px);
    margin-top: -18px;
    padding: 16px;
  }

  .quick-nav strong {
    font-size: 16px;
  }

  .quick-nav a {
    min-height: 42px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .directions-grid,
  .article-grid,
  .benefits-strip,
  .steps,
  .catalog-sections,
  .format-grid,
  .result-grid,
  .program-properties,
  .program-reviews {
    grid-template-columns: 1fr;
  }

  .content-center-grid[data-card-count] {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .home-content-center__actions {
    justify-content: flex-start;
  }

  .program-reviews .review-item {
    border-left: 0;
  }

  .program-reviews .review-item:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .sitemap-page {
    padding-bottom: 52px;
  }

  .sitemap-page__header-inner {
    gap: 24px;
    padding-block: 42px 32px;
  }

  .sitemap-page__heading h1 {
    margin: 10px 0 14px;
    font-size: 38px;
  }

  .sitemap-page__heading p {
    font-size: 16px;
  }

  .sitemap-stat {
    min-width: 0;
    padding: 2px 18px;
  }

  .sitemap-stat strong {
    font-size: 32px;
  }

  .sitemap-search {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 22px 0 18px;
    padding: 16px;
    border-radius: 18px;
  }

  .sitemap-search input {
    grid-column: 1;
    min-height: 52px;
  }

  .sitemap-directory__group {
    padding: 30px 0;
  }

  .sitemap-directory__header {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 18px;
  }

  .sitemap-directory__header h2 {
    font-size: 24px;
  }

  .sitemap-directory__header > span {
    white-space: normal;
  }

  .sitemap-link-list,
  .sitemap-link-list--primary {
    grid-template-columns: 1fr;
  }

  .sitemap-category summary,
  .sitemap-flat-list summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 12px;
    min-height: 60px;
    padding: 12px 8px;
  }

  .sitemap-category summary > span,
  .sitemap-flat-list summary > span {
    font-size: 16px;
  }

  .sitemap-category summary small,
  .sitemap-flat-list summary small {
    grid-column: 1;
    grid-row: 2;
    white-space: normal;
  }

  .sitemap-category summary::after,
  .sitemap-flat-list summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .sitemap-category__body,
  .sitemap-flat-list > .sitemap-link-list {
    padding-right: 8px;
    padding-left: 8px;
  }

  .direction-item {
    grid-template-columns: 36px 92px minmax(0, 1fr);
    padding: 18px 0;
  }

  .direction-item__number {
    font-size: 28px;
  }

  .direction-item__copy h3 {
    font-size: 17px;
  }

  .direction-item__copy p {
    display: none;
  }

  .benefit,
  .benefit:not(:last-child),
  .benefit:nth-child(2) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child {
    border-top: 0;
  }

  .article-card__body {
    min-height: 126px;
  }

  .step,
  .step:last-child {
    grid-column: auto;
    min-height: 96px;
    border-radius: 22px;
  }

  .step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -8px;
    transform: translate(50%, 50%);
  }

  .contact-band {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .contact-band h2 {
    font-size: 26px;
  }

  .contacts-page {
    padding-bottom: 44px;
  }

  .contacts-hero {
    gap: 28px;
    padding-top: 16px;
    padding-bottom: 38px;
  }

  .contacts-hero h1 {
    font-size: 38px;
  }

  .contacts-hero__lead {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .contacts-hero__actions {
    display: grid;
  }

  .contacts-hero__actions .button {
    width: 100%;
  }

  .contacts-hero__quick > a {
    font-size: 24px;
  }

  .contacts-directory {
    padding-block: 42px;
  }

  .contacts-section-heading {
    display: grid;
    gap: 12px;
  }

  .contacts-directory__grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .contact-method {
    min-height: 142px;
    padding: 22px;
  }

  .contact-method__number {
    margin-bottom: 18px;
  }

  .contacts-visit {
    padding-bottom: 42px;
  }

  .contacts-visit__layout {
    border-radius: 22px;
  }

  .contacts-map {
    min-height: 340px;
  }

  .contacts-map__route {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .contacts-visit__info {
    padding: 24px 20px;
  }

  .contacts-visit__info h3 {
    font-size: 23px;
  }

  .contacts-form {
    padding-top: 0;
  }

  .lead-form__fields,
  .contact-band--modal .lead-form__fields {
    grid-template-columns: 1fr;
  }

  .lead-form__message {
    grid-row: auto;
  }

  .lead-form__footer {
    display: grid;
  }

  .lead-form__footer .button {
    width: 100%;
    grid-row: 1;
  }

  .review-form .lead-form__footer .button {
    grid-row: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__bottom {
    display: grid;
    gap: 6px;
    padding-block: 20px;
  }

  .site-footer__bottom span:first-child {
    margin-right: 0;
  }

  .catalog-hero h1,
  .articles-page__header h1,
  .generic-page__header h1,
  .detail-hero h1 {
    font-size: 36px;
  }

  .catalog-hero__visual {
    border-radius: 22px;
  }

  .catalog-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-hero__actions .button {
    width: 100%;
  }

  .education-catalog {
    padding-top: 20px;
  }

  .education-section-heading {
    margin-bottom: 22px;
  }

  .education-section-heading h2 {
    font-size: 32px;
  }

  .education-section-heading p {
    font-size: 16px;
  }

  .education-search-sticky {
    position: static;
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .education-search-tools {
    grid-template-columns: 1fr;
  }

  .education-category-select select {
    height: 58px;
  }

  .education-search input {
    padding-right: 108px;
  }

  .program-pagination {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .program-pagination .button {
    width: 100%;
    min-width: 0;
  }

  .program-search {
    min-height: 58px;
  }

  .program-search input {
    height: 56px;
    padding-left: 18px;
    font-size: 15px;
  }

  .program-search__button {
    width: 46px;
    height: 46px;
  }

  .filter-chips {
    flex-wrap: nowrap;
    margin-right: -12px;
    padding-right: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    white-space: nowrap;
  }

  .program-list__header {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .program-row {
    min-height: 0;
    grid-template-columns: 40px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 18px 0;
  }

  .program-row::before {
    align-self: start;
    padding-top: 3px;
    font-size: 24px;
  }

  .program-row__duration,
  .program-row__price {
    grid-column: 2;
    font-size: 13px;
  }

  .program-row > .button {
    grid-column: 3;
    grid-row: 1 / span 3;
  }

  .detail-hero__image {
    border-radius: 22px;
    aspect-ratio: 16 / 9;
  }

  .program-summary {
    display: block;
    padding: 20px;
  }

  .program-summary__metrics {
    margin-bottom: 16px;
  }

  .detail-tabs {
    width: min(calc(100% - 24px), var(--shell));
    margin-right: auto;
    border-radius: 16px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .detail-tabs::-webkit-scrollbar {
    display: none;
  }

  .program-section h2 {
    font-size: 25px;
  }

  .audience-content {
    gap: 14px;
  }

  .audience-summary {
    padding: 20px 18px 20px 26px;
    border-radius: 18px;
    font-size: 16px;
  }

  .audience-summary::before {
    top: 14px;
    bottom: 14px;
    width: 6px;
  }

  .audience-subtitle {
    font-size: 18px;
  }

  .audience-list {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 18px;
  }

  .audience-list > li,
  .audience-list > li:last-child:nth-child(odd) {
    grid-column: auto;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .audience-list__marker {
    width: 34px;
    height: 34px;
  }

  .audience-list--nested > li,
  .audience-list--nested > li:last-child:nth-child(odd) {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 13px;
  }

  .audience-requirements {
    padding: 18px;
    border-radius: 18px;
  }

  .audience-notes {
    padding-left: 16px;
  }

  .content-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .program-property:nth-child(odd),
  .program-property:nth-child(n + 3) {
    border-right: 0;
    border-top: 0;
  }

  .program-property + .program-property,
  .review-item + .review-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .program-accordion__content {
    padding-left: 18px;
  }

  .price-page {
    padding-bottom: 52px;
  }

  .price-page__header {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 36px 28px;
  }

  .price-page__header h1 {
    margin: 12px 0 16px;
    font-size: 36px;
  }

  .price-page__header p {
    font-size: 16px;
    line-height: 1.55;
  }

  .price-page__summary {
    align-items: center;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .price-page__summary strong {
    font-size: 44px;
  }

  .price-search-sticky {
    padding-block: 8px;
  }

  .price-search input {
    padding-right: 108px;
  }

  .price-search__clear {
    right: 60px;
    width: 36px;
    height: 36px;
  }

  .price-tools {
    display: grid;
    gap: 14px;
    margin: 6px 0 34px;
  }

  .price-scope {
    margin-bottom: 0;
  }

  .price-results {
    order: 2;
  }

  .price-groups {
    gap: 36px;
  }

  .price-group {
    scroll-margin-top: calc(var(--header-height) + 82px);
    contain-intrinsic-block-size: auto 720px;
  }

  .price-group__header {
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 12px;
  }

  .price-group__header h2 {
    font-size: 25px;
    line-height: 1.12;
  }

  .price-group__header > span {
    font-size: 12px;
  }

  .price-table {
    border-radius: 20px;
  }

  .price-row {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-rows: auto auto auto;
    gap: 10px 12px;
    padding: 18px;
  }

  .price-row--header {
    display: none;
  }

  .price-row__name {
    font-size: 15px;
    line-height: 1.45;
  }

  .price-row__duration,
  .price-row__price {
    display: grid;
    grid-column: 1;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
  }

  .price-row__duration::before,
  .price-row__price::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .price-row__duration::before {
    content: "Срок";
  }

  .price-row__price::before {
    content: "Стоимость";
  }

  .price-row > .icon-button {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .price-empty {
    padding: 38px 18px;
  }

  .modal {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .contact-band--modal {
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }
}

@media (max-width: 900px) {
  .service-price-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-price-band p,
  .service-price-band .button {
    grid-column: 1 / -1;
  }

  .service-price-band .button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .service-result-grid,
  .service-columns,
  .service-price-band {
    grid-template-columns: 1fr;
  }

  .service-price-band p,
  .service-price-band .button {
    grid-column: auto;
  }

  .service-output {
    min-height: 0;
    padding: 22px;
  }

  .service-output strong {
    font-size: 22px;
  }

  .service-price-band {
    gap: 18px;
    padding: 22px;
  }
}

.sout-local-page {
  padding-bottom: 64px;
}

.sout-local-page .breadcrumbs {
  margin-bottom: 0;
}

.sout-local-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 58px;
  padding-top: 28px;
  padding-bottom: 48px;
}

.sout-local-hero__copy {
  min-width: 0;
  max-width: 720px;
}

.sout-local-hero h1 {
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1.06;
}

.sout-local-hero__lead {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.sout-local-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--yellow);
}

.sout-local-facts > div {
  min-width: 0;
  padding: 18px 20px;
}

.sout-local-facts > div + div {
  border-left: 1px solid rgba(37, 40, 45, 0.2);
}

.sout-local-facts dt,
.sout-local-facts dd {
  margin: 0;
}

.sout-local-facts dt {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.sout-local-facts dd {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}

.sout-local-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sout-local-hero__meta {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.sout-local-hero__visual {
  min-width: 0;
  margin: 0;
}

.sout-local-hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  object-fit: cover;
}

.sout-local-hero__visual figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.sout-local-toc {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 17px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.sout-local-toc::-webkit-scrollbar {
  display: none;
}

.sout-local-toc strong,
.sout-local-toc a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.sout-local-toc strong {
  color: var(--ink);
  font-size: 13px;
}

.sout-local-toc a {
  color: var(--text);
  font-size: 14px;
}

.sout-local-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.sout-local-layout {
  display: grid;
  grid-template-columns: minmax(0, 74ch) minmax(280px, 320px);
  grid-template-areas: "content passport";
  align-items: start;
  justify-content: space-between;
  gap: 68px;
  padding-top: 52px;
}

.sout-local-content {
  grid-area: content;
  max-width: none;
}

.sout-local-content p,
.sout-local-content > div > ul:not(.sout-city-checklist),
.sout-local-content > div > ol:not(.sout-city-steps) {
  max-width: 72ch;
}

.sout-local-content h2,
.sout-local-content h3,
.sout-local-faq {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.sout-local-content .sout-city-content > section:first-child h2 {
  margin-top: 0;
}

.sout-local-passport {
  position: sticky;
  grid-area: passport;
  top: calc(var(--header-height) + 20px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.sout-local-passport h2 {
  margin-bottom: 20px;
  font-size: 27px;
}

.sout-local-passport h3 {
  margin: 24px 0 10px;
  font-size: 17px;
}

.sout-local-passport dl {
  margin: 0;
}

.sout-local-passport dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.sout-local-passport dt,
.sout-local-passport dd {
  margin: 0;
}

.sout-local-passport dt {
  color: var(--muted);
  font-size: 13px;
}

.sout-local-passport dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.sout-local-passport ul {
  margin: 0 0 22px;
  padding-left: 20px;
  font-size: 14px;
}

.sout-local-passport li + li {
  margin-top: 6px;
}

.sout-local-passport .button {
  width: 100%;
}

.sout-local-passport > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.sout-local-faq {
  margin-top: 56px;
}

.sout-local-faq > div {
  border-top: 1px solid var(--line);
}

.sout-local-faq details {
  border-bottom: 1px solid var(--line);
}

.sout-local-faq summary {
  position: relative;
  padding: 20px 46px 20px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.sout-local-faq summary::-webkit-details-marker {
  display: none;
}

.sout-local-faq summary::after {
  position: absolute;
  top: 18px;
  right: 2px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  content: "+";
}

.sout-local-faq details[open] summary::after {
  content: "−";
}

.sout-local-faq details p {
  max-width: 68ch;
  margin: -4px 46px 22px 0;
}

.sout-local-form {
  padding-top: 58px;
}

.lead-form--with-workplaces .lead-form__message {
  grid-column: 1 / -1;
  grid-row: auto;
}

@media (max-width: 1080px) {
  .sout-local-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "passport"
      "content";
    gap: 42px;
  }

  .sout-local-passport {
    position: static;
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(260px, 1fr);
    gap: 0 32px;
  }

  .sout-local-passport .eyebrow,
  .sout-local-passport h2,
  .sout-local-passport > p:last-child {
    grid-column: 1 / -1;
  }

  .sout-local-passport h3 {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .sout-local-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 20px;
  }

  .sout-local-hero__copy {
    max-width: 780px;
  }

  .sout-local-hero__visual {
    max-width: 780px;
  }
}

@media (max-width: 680px) {
  .sout-local-page {
    padding-bottom: 44px;
  }

  .sout-local-page .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .sout-local-hero {
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 34px;
  }

  .sout-local-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .sout-local-hero__lead {
    font-size: 17px;
  }

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

  .sout-local-facts > div {
    padding: 15px 18px;
  }

  .sout-local-facts > div + div {
    border-left: 1px solid rgba(37, 40, 45, 0.2);
  }

  .sout-local-facts > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(37, 40, 45, 0.2);
    border-left: 0;
  }

  .sout-local-hero__actions {
    display: grid;
  }

  .sout-local-hero__actions .button {
    width: 100%;
  }

  .sout-local-hero__visual img {
    border-radius: 22px;
  }

  .sout-local-toc {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .sout-local-layout {
    gap: 34px;
    padding-top: 34px;
  }

  .sout-local-passport {
    display: block;
    padding: 22px;
  }

  .sout-local-passport h3 {
    margin-top: 24px;
  }

  .sout-local-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .sout-local-content .sout-city-content h2,
  .sout-local-faq h2 {
    font-size: 27px;
  }

  .sout-local-faq {
    margin-top: 42px;
  }

  .sout-local-faq summary {
    padding-block: 18px;
    font-size: 17px;
  }

  .sout-local-form {
    padding-top: 42px;
  }

  .sout-local-form .lead-form__footer .button {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .contact-band,
  .detail-tabs,
  .button,
  .mobile-filter-button,
  .price-search-sticky,
  .price-tools,
  .price-page__summary {
    display: none !important;
  }

  body {
    color: #000;
  }

  .shell {
    width: 100%;
  }

  .price-page__header {
    display: block;
    padding-block: 12px 24px;
  }

  .price-group {
    content-visibility: visible;
    break-inside: avoid;
  }

  .price-groups {
    gap: 24px;
  }

  .price-row {
    min-height: 0;
    padding-block: 8px;
  }
}

.articles-page__header .text-link {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.faq-card:hover {
  border-color: #c6cbd0;
  box-shadow: 0 12px 32px rgba(37, 40, 45, 0.07);
}

.faq-card__image {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
}

.faq-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.faq-card:hover .faq-card__image img {
  transform: scale(1.02);
}

.faq-card__body {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 12px;
  padding: 26px 28px;
}

.faq-card__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.faq-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
}

.faq-card__lead,
.faq-card__answer {
  margin: 0;
  line-height: 1.55;
}

.faq-card__lead {
  color: var(--text);
}

.faq-card__answer {
  color: var(--muted);
}

.faq-card .text-link {
  margin-top: 4px;
  justify-self: start;
}

.faq-detail {
  padding-top: 22px;
  padding-bottom: 64px;
}

.faq-detail__header {
  max-width: 940px;
  padding-block: 20px 30px;
}

.faq-detail__header h1 {
  max-width: 920px;
  font-size: 46px;
}

.faq-detail__lead {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.55;
}

.faq-detail__meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-detail__image {
  max-width: 960px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 28px;
}

.faq-detail__image img {
  display: block;
  width: 100%;
  height: auto;
}

.faq-short-answer {
  position: relative;
  max-width: 760px;
  margin-bottom: 34px;
  padding: 24px 26px 24px 60px;
  border: 1px solid #f1dfa0;
  border-radius: 16px;
  background: var(--yellow-soft);
}

.content-detail-main .faq-short-answer {
  max-width: 760px;
}

.faq-short-answer::before {
  position: absolute;
  top: 31px;
  left: 27px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow-strong);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.72);
  content: "";
}

.faq-short-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.faq-detail__back {
  margin-top: 32px;
}

.normaflow-disclaimer {
  position: relative;
  margin-top: 46px;
  padding: 20px 22px 20px 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.55;
}

.normaflow-disclaimer::before {
  position: absolute;
  top: 24px;
  left: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow-strong);
  content: "";
}

.normaflow-disclaimer > :last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .faq-card {
    grid-template-columns: 1fr;
  }

  .faq-card__image {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .faq-card__body {
    padding: 21px 20px 24px;
  }

  .faq-card h2 {
    font-size: 22px;
  }

  .faq-detail__header h1 {
    font-size: 36px;
  }

  .faq-detail__lead {
    font-size: 18px;
  }

  .faq-detail__image {
    border-radius: 22px;
  }

  .faq-short-answer {
    padding: 20px 18px 20px 48px;
    border-radius: 14px;
  }

  .faq-short-answer::before {
    top: 27px;
    left: 19px;
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.72);
  }

  .faq-short-answer p {
    font-size: 17px;
  }

  .article-toc {
    margin-bottom: 30px;
    padding: 18px 16px 16px;
    border-radius: 14px;
  }

  .article-toc__title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .article-toc__item--h2 > .article-toc__link {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 0;
    font-size: 15px;
  }

  .article-toc__number {
    width: 24px;
    height: 24px;
  }

  .article-toc__sublist {
    padding-left: 36px;
  }

  .related-content {
    margin-top: 48px;
    padding-top: 32px;
  }

  .related-content__header {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .related-content__header h2 {
    font-size: 28px;
  }

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

  .related-content__grid--count-1 {
    grid-template-columns: minmax(0, 420px);
  }

  .related-content-card__body {
    min-height: 0;
  }

  .content-detail-main .generic-content {
    font-size: 16px;
    line-height: 1.72;
  }

  .content-detail-main .generic-content > p:first-child {
    font-size: 17px;
  }

  .content-detail-main .generic-content h2 {
    margin-top: 44px;
    padding-bottom: 14px;
    font-size: 27px;
  }

  .content-detail-main .generic-content h2::after {
    width: 56px;
  }

  .content-detail-main .generic-content h3 {
    margin-top: 32px;
    font-size: 20px;
  }

  .content-detail-main .generic-content ul,
  .content-detail-main .generic-content ol {
    margin-block: 20px 28px;
  }

  .content-detail-main .generic-content ol > li {
    min-height: 52px;
    padding: 12px 0 12px 44px;
  }

  .content-detail-main .generic-content ol > li::before {
    top: 11px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .content-detail-main .generic-content blockquote {
    padding: 20px 18px 20px 48px;
    font-size: 17px;
  }

  .content-detail-main .generic-content blockquote::before {
    top: 15px;
    left: 17px;
    font-size: 36px;
  }

  .content-detail-main .generic-content table {
    font-size: 14px;
  }

  .content-detail-main .generic-content th,
  .content-detail-main .generic-content td {
    padding: 10px;
  }

  .content-detail-main .generic-content dl {
    grid-template-columns: 1fr;
  }

  .content-detail-main .generic-content dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .content-detail-main .generic-content dd {
    padding-top: 0;
  }

  .normaflow-disclaimer {
    padding: 18px 18px 18px 44px;
  }

  .normaflow-disclaimer::before {
    top: 22px;
    left: 18px;
  }
}

@media (max-width: 680px) {
  .article-solution-page .related-content {
    width: min(calc(100% - 24px), 1040px);
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .article-solution-page .related-content__header h2 {
    font-size: 24px;
  }

  .related-content__header {
    display: grid;
    gap: 12px;
  }

  .related-content__header .text-link {
    justify-self: start;
    margin-bottom: 0;
  }

  .related-content__grid,
  .related-content__grid--count-1,
  .related-content__grid--count-2 {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .related-content-card {
    border-radius: 14px;
  }

  .article-solution-page .related-content-card > a {
    grid-template-rows: 1fr;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .article-solution-page .related-content-card__image {
    min-height: 154px;
    aspect-ratio: auto;
  }

  .article-solution-page .related-content-card__tag {
    top: 9px;
    left: 9px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .article-solution-page .related-content-card__body {
    min-height: 154px;
    padding: 13px 14px 14px;
  }

  .article-solution-page .related-content-card h3 {
    font-size: 16px;
    line-height: 1.25;
    -webkit-line-clamp: 3;
  }

  .article-solution-page .related-content-card p {
    margin: 7px 0 10px;
    font-size: 12px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .article-solution-page .related-content-card__action {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-content-card,
  .related-content-card__image img {
    transition: none;
  }

  .related-content-card:hover {
    transform: none;
  }

  .related-content-card:hover .related-content-card__image img {
    transform: none;
  }
}

.site-footer__bottom {
  flex-wrap: wrap;
  padding-block: 14px;
  row-gap: 8px;
}

.site-footer__legal-link {
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: #c9cdd1;
  text-underline-offset: 3px;
}

.site-footer__legal-link:hover {
  color: var(--ink);
  text-decoration-color: var(--yellow-strong);
}

.legal-page {
  padding-bottom: 76px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: end;
  gap: 56px;
  padding-top: 30px;
  padding-bottom: 46px;
}

.legal-hero__copy {
  max-width: 820px;
}

.legal-hero__copy h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 48px;
  text-wrap: balance;
}

.legal-hero__copy > p {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}

.legal-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 14px;
}

.legal-hero__meta a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-facts {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--yellow);
}

.legal-facts > div {
  padding: 19px 22px 20px;
}

.legal-facts > div + div {
  border-top: 1px solid rgba(37, 40, 45, 0.18);
}

.legal-facts dt,
.legal-facts dd {
  margin: 0;
}

.legal-facts dt {
  margin-bottom: 5px;
  color: rgba(37, 40, 45, 0.74);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.legal-facts dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.legal-facts a {
  text-decoration: underline;
  text-decoration-color: rgba(37, 40, 45, 0.45);
  text-underline-offset: 3px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
  align-items: start;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.legal-main {
  min-width: 0;
}

.legal-main .article-toc,
.legal-main .generic-content {
  max-width: 840px;
}

.legal-main .article-toc {
  margin-bottom: 44px;
}

.legal-content .legal-lead {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.65;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-table-wrap {
  width: 100%;
  margin: 30px 0 38px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  scrollbar-color: #c6cacf var(--surface);
}

.content-detail-main .generic-content .legal-table {
  min-width: 720px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.content-detail-main .generic-content .legal-table thead th {
  color: var(--ink);
  background: var(--yellow-soft);
}

.content-detail-main .generic-content .legal-table tbody th {
  width: 21%;
  background: var(--surface);
}

.content-detail-main .generic-content .legal-table td:nth-child(2) {
  width: 36%;
}

.legal-note {
  position: relative;
  margin: 30px 0 38px;
  padding: 22px 24px 22px 58px;
  border: 1px solid #ecd77e;
  border-radius: 16px;
  color: var(--ink);
  background: var(--yellow-soft);
}

.legal-note::before {
  position: absolute;
  top: 27px;
  left: 25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow-strong);
  box-shadow: 0 0 0 5px var(--white);
  content: "";
}

.legal-note strong {
  display: block;
  margin-bottom: 5px;
}

.legal-note p {
  margin: 0;
}

.content-detail-main .generic-content .legal-contact-list {
  display: block;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-contact-list > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.content-detail-main .generic-content .legal-contact-list dt,
.content-detail-main .generic-content .legal-contact-list dd {
  padding: 13px 0;
  border: 0;
}

.content-detail-main .generic-content .legal-contact-list dt {
  padding-right: 20px;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  padding: 28px;
  border: 1px solid #ecd77e;
  border-radius: 22px;
  background: var(--yellow-soft);
}

.legal-aside__label {
  display: block;
  margin-bottom: 10px;
  color: #6a5b11;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-aside h2 {
  margin-bottom: 12px;
  font-size: 27px;
  line-height: 1.16;
}

.legal-aside > p {
  margin-bottom: 20px;
  color: #4f4a31;
  font-size: 15px;
  line-height: 1.55;
}

.legal-aside .button {
  width: 100%;
}

.legal-aside dl {
  display: grid;
  gap: 13px;
  margin: 24px 0 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 40, 45, 0.16);
}

.legal-aside dl > div {
  min-width: 0;
}

.legal-aside dt,
.legal-aside dd {
  margin: 0;
}

.legal-aside dt {
  margin-bottom: 2px;
  color: #6f6741;
  font-size: 12px;
  font-weight: 650;
}

.legal-aside dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.legal-aside__secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #d4ae00;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .legal-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .legal-facts > div + div {
    border-top: 0;
    border-left: 1px solid rgba(37, 40, 45, 0.18);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .legal-main .article-toc,
  .legal-main .generic-content {
    max-width: 900px;
  }

  .legal-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.75fr);
    gap: 0 38px;
  }

  .legal-aside > p,
  .legal-aside > .button {
    grid-column: 1;
  }

  .legal-aside dl {
    grid-row: 1 / span 4;
    grid-column: 2;
    align-content: start;
    margin: 0;
    padding: 0 0 0 32px;
    border-top: 0;
    border-left: 1px solid rgba(37, 40, 45, 0.16);
  }

  .legal-aside__secondary {
    grid-column: 1;
    margin-top: 20px;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-footer__legal-link {
    width: fit-content;
    font-size: 13px;
  }

  .legal-page {
    padding-bottom: 52px;
  }

  .legal-hero {
    gap: 26px;
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .legal-hero__copy h1 {
    font-size: 36px;
  }

  .legal-hero__copy > p {
    font-size: 17px;
  }

  .legal-hero__meta {
    display: grid;
    gap: 8px;
  }

  .legal-facts {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .legal-facts > div {
    padding: 17px 19px 18px;
  }

  .legal-facts > div + div {
    border-top: 1px solid rgba(37, 40, 45, 0.18);
    border-left: 0;
  }

  .legal-layout {
    gap: 36px;
    padding-top: 34px;
  }

  .legal-main .article-toc {
    margin-bottom: 34px;
  }

  .legal-content .legal-lead {
    margin-bottom: 28px;
    font-size: 18px;
  }

  .legal-table-wrap {
    margin-block: 24px 32px;
    border-radius: 14px;
  }

  .content-detail-main .generic-content .legal-table {
    min-width: 660px;
    font-size: 13px;
  }

  .legal-note {
    padding: 20px 18px 20px 48px;
    border-radius: 14px;
  }

  .legal-note::before {
    top: 25px;
    left: 19px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 4px var(--white);
  }

  .legal-contact-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-block: 12px;
  }

  .content-detail-main .generic-content .legal-contact-list dt,
  .content-detail-main .generic-content .legal-contact-list dd {
    padding: 0;
  }

  .legal-aside {
    display: block;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal-aside h2 {
    font-size: 25px;
  }

  .legal-aside dl {
    display: grid;
    margin: 22px 0 18px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(37, 40, 45, 0.16);
    border-left: 0;
  }

  .legal-aside__secondary {
    margin-top: 0;
  }
}

@media print {
  .legal-page {
    padding: 0;
  }

  .legal-hero {
    display: block;
    padding: 0 0 24px;
  }

  .legal-facts,
  .legal-aside,
  .legal-toc {
    display: none !important;
  }

  .legal-layout {
    display: block;
    padding-top: 24px;
  }

  .legal-main .generic-content {
    max-width: none;
    color: #000;
    font-size: 11pt;
  }
}
