/* О нас */
.about__heading {
  position: relative;
  padding-bottom: 0;
}

.about__heading::after {
  content: none;
}

.about__story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.about__photo {
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: var(--olive-soft);
}

.about__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% center;
}

.about__copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 3.8vw, 66px);
  overflow: hidden;
}

.about__name {
  margin: 0 0 24px;
  color: var(--olive);
  font-size: clamp(18px, 1.15vw, 21px);
  font-weight: 800;
}

.about__copy h3 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 2.35vw, 45px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.about__copy > p:not(.about__name) {
  max-width: 760px;
  margin: 20px 0 0;
  color: #4f586a;
  font-size: clamp(18px, 1.2vw, 22px);
  font-weight: 650;
  line-height: 1.42;
}

.about__lead {
  color: var(--ink) !important;
}

.about__cooperation {
  margin-top: clamp(32px, 3vw, 48px);
  padding-top: clamp(26px, 2.2vw, 36px);
  border-top: 2px solid var(--olive);
}

.about__cooperation h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 1.45vw, 27px);
  font-weight: 800;
  line-height: 1.2;
}

.about__army-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 3.2vw, 54px);
  margin-top: 24px;
}

.about__army-badge {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.about__army-badge img {
  width: 76px;
  height: 92px;
  display: block;
  object-fit: contain;
}

.about__army-badge span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--olive);
  color: #fff;
}

.about__facts > div {
  min-height: 170px;
  padding: clamp(24px, 2.2vw, 38px);
}

.about__facts > div + div {
  border-left: 1px solid rgba(255, 255, 255, .25);
}

.about__facts strong,
.about__facts span {
  display: block;
}

.about__facts strong {
  font-size: clamp(27px, 2.05vw, 39px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.about__facts span {
  max-width: 290px;
  margin-top: 18px;
  font-size: clamp(16px, 1.02vw, 19px);
  font-weight: 650;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .about__story {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about__photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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

  .about__facts > div:nth-child(3) {
    border-left: 0;
  }

  .about__facts > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .25);
  }
}

@media (max-width: 700px) {
  .about__heading {
    padding-bottom: 0;
  }

  .about__heading::after {
    content: none;
  }

  .about__story,
  .about__facts {
    border-radius: 14px;
  }

  .about__photo {
    aspect-ratio: 4 / 3;
  }

  .about__name {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .about__copy {
    padding: 30px 24px 34px;
  }

  .about__copy h3 {
    font-size: 33px;
  }

  .about__copy > p:not(.about__name) {
    font-size: 18px;
  }

  .about__cooperation {
    margin-top: 30px;
    padding-top: 26px;
  }

  .about__cooperation h4 {
    font-size: 22px;
  }

  .about__army-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
  }

  .about__army-badge {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .about__army-badge img {
    width: 58px;
    height: 74px;
  }

  .about__army-badge span {
    font-size: 14px;
  }

  .about__facts {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .about__facts > div {
    min-height: 0;
    padding: 24px;
  }

  .about__facts > div + div {
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-left: 0;
  }

  .about__facts strong {
    font-size: 31px;
  }

  .about__facts span {
    margin-top: 10px;
    font-size: 17px;
  }
}

@font-face {
  font-family: "Inter";
  src: url("Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Преимущества контрактной службы */
.contract-advantages__heading {
  position: relative;
  padding-bottom: 0;
}

.contract-advantages__heading::after {
  content: none;
}

.contract-advantages__panel {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
  min-height: 650px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contract-advantages__media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #dfe5f0;
}

.contract-advantages__soldier {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
}

.contract-advantages__content {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 2.8vw, 46px);
  padding-bottom: clamp(20px, 1.6vw, 28px);
  background: #fff;
  overflow: hidden;
}

.contract-advantages__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 55%;
  width: min(88%, 650px);
  aspect-ratio: 29 / 29.9;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    to bottom,
    #dce7f7 0 33.333%,
    #78a5e9 33.333% 66.666%,
    #ea8e89 66.666% 100%
  );
  -webkit-mask: url("gerb.svg") center / contain no-repeat;
  mask: url("gerb.svg") center / contain no-repeat;
  filter: saturate(.78) brightness(.98);
  opacity: .5;
  pointer-events: none;
}

.contract-advantages__content::after {
  content: none;
}

.contract-advantages__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-advantages__list li {
  padding: 0;
  margin-bottom: clamp(24px, 2.2vw, 34px);
}

.contract-advantages__list li:last-child {
  margin-bottom: 0;
}

.contract-advantages__list h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 1.72vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.contract-advantages__list p {
  max-width: none;
  margin: 10px 0 0;
  color: #111;
  font-size: clamp(18px, 1.12vw, 21px);
  font-weight: 650;
  line-height: 1.38;
}

.contract-advantages__action {
  display: block;
  margin-top: auto;
  padding-top: 12px;
}

.contract-advantages__action .button {
  min-height: 54px;
  color: #fff;
  background: #ef3340;
  border-color: #ef3340;
  font-size: 17px;
}

.contract-advantages__action .button:hover,
.contract-advantages__action .button:focus-visible {
  color: #fff;
  background: #cf2430;
  border-color: #cf2430;
}

@media (max-width: 980px) {
  .contract-advantages__panel {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  }

}

@media (max-width: 700px) {
  .contract-advantages__heading {
    padding-bottom: 0;
  }

  .contract-advantages__heading::after {
    content: none;
  }

  .contract-advantages__panel {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 14px;
  }

  .contract-advantages__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .contract-advantages__soldier {
    object-position: 52% 40%;
  }

  .contract-advantages__content {
    padding: 24px 20px 26px;
    background: #fff;
  }

  .contract-advantages__content::before {
    left: 50%;
    width: 108%;
  }

  .contract-advantages__content::after {
    left: 50%;
    width: calc(108% + 4px);
  }

  .contract-advantages__list li {
    margin-bottom: 26px;
  }

  .contract-advantages__list h3 {
    font-size: 25px;
  }

  .contract-advantages__list p {
    font-size: 18px;
  }

  .contract-advantages__action {
    padding-top: 4px;
  }

  .contract-advantages__action .button {
    width: 100%;
  }
}

@font-face {
  font-family: "Inter";
  src: url("Inter-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("Inter-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #ededf0;
  --surface: #ffffff;
  --surface-strong: #dbe1ef;
  --ink: #202020;
  --muted: #5b6170;
  --line: #d7dbe5;
  --line-strong: #a6bbdd;
  --olive: #0b57d0;
  --olive-dark: #0948ad;
  --olive-soft: #dbe1ef;
  --olive-pale: #e7ebf5;
  --danger: #e83131;
  --success: #0b57d0;
  --container: 1600px;
  --header-height: clamp(75px, 4.6875vw, 90px);
  --section-gutter: clamp(30px, 1.953125vw, 37.5px);
  --hero-bottom-space: clamp(45px, 2.9296875vw, 56.25px);
  --hero-height: clamp(636px, 40.625vw, 780px);
  --hero-card-height: clamp(180px, 10vw, 192px);
  --hero-card-padding: clamp(16px, 1.04167vw, 20px);
  --surface-radius: 18px;
  --control-radius: 8px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

html {
  scroll-padding-top: 90px;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

:focus-visible {
  outline-color: var(--olive);
}

::selection {
  color: #fff;
  background: var(--olive);
}

.container {
  width: 90%;
}

.site-header .container {
  width: 90%;
}

.site-header {
  min-height: var(--header-height);
  color: var(--ink);
  background: rgba(237, 237, 240, .96);
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(43, 51, 70, .04);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(237, 237, 240, .98);
  box-shadow: 0 8px 24px rgba(43, 51, 70, .08);
}

.header-inner {
  min-height: var(--header-height);
  gap: 26px;
}

.brand {
  min-width: 235px;
  gap: 12px;
  color: #0b57d0;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: clamp(135px, 11.71875vw, 225px);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: #fff;
  background: #e83131;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-name {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.03em;
}

.desktop-nav {
  gap: 26px;
  margin-left: auto;
}

.desktop-nav a,
.header-phone {
  color: #2b3346;
  font-size: clamp(14px, .911458vw, 17.5px);
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a:hover,
.header-phone:hover,
.text-link:hover {
  color: var(--olive);
}

.header-actions {
  gap: 20px;
}

.button {
  min-height: clamp(48px, 3.125vw, 60px);
  padding: 0 32px;
  color: #fff;
  background: var(--olive);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  font-size: clamp(14px, .911458vw, 17.5px);
  font-weight: 700;
  line-height: 1.1;
}

.button:hover {
  color: #fff;
  background: var(--olive-dark);
  box-shadow: none;
  transform: translateY(-1px);
}

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

.button-small {
  min-height: clamp(38px, 2.5vw, 48px);
  padding: 0 30px;
  font-size: clamp(14px, .911458vw, 17.5px);
}

.hero {
  min-height: 0;
  padding: var(--section-gutter) 0 var(--hero-bottom-space);
  background: transparent;
}

.hero-grid {
  position: relative;
  display: block;
  width: 90%;
  min-height: var(--hero-height);
  padding: var(--section-gutter);
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: calc(var(--hero-height) - var(--section-gutter) - var(--section-gutter));
  max-width: 60vw;
}

.hero-copy h1 {
  max-width: 60vw;
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 5.20833vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:first-child {
  white-space: nowrap;
}

.hero-copy h1 span:not(:first-child) {
  color: var(--olive);
}

.hero-lead {
  width: fit-content;
  max-width: none;
  margin: 22px 0 0;
  padding: clamp(15px, .9765625vw, 18.75px) clamp(38px, 2.473958vw, 47.5px);
  color: #101319;
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 100px;
  font-size: clamp(21px, 1.354167vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.hero-actions {
  position: absolute;
  bottom: calc(var(--hero-card-height) + 15px);
  left: 0;
  width: clamp(400px, 26vw, 500px);
  margin-top: 0;
  gap: 0;
}

.hero-actions .button {
  width: 100%;
  min-height: 68px;
  justify-content: center;
  border-radius: 10px;
  font-size: 21px;
  font-weight: 800;
}

.hero-actions .text-link,
.hero-metrics,
.hero-form {
  display: none;
}

.hero-visual,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.hero-photo {
  left: auto;
  width: 65%;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
  background: #fff;
}

.hero-photo::after {
  background: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(.94) contrast(1.02);
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: calc(0px - var(--section-gutter) - var(--hero-bottom-space) - var(--hero-card-height));
  padding: 0 0 75px;
  background: transparent;
  border: 0;
}

.trust-grid {
  width: calc(90% - var(--section-gutter) - var(--section-gutter));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.trust-grid > div,
.trust-grid > div:first-child {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: var(--hero-card-height);
  padding: var(--hero-card-padding);
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

@media (hover: hover) {
  .trust-grid > div:nth-child(odd):hover {
    background: var(--olive);
    box-shadow: 0 12px 28px rgba(11, 87, 208, .18);
    transform: translateY(-2px);
  }

  .trust-grid > div:nth-child(even):hover {
    background: #d52b2b;
    box-shadow: 0 12px 28px rgba(213, 43, 43, .2);
    transform: translateY(-2px);
  }

  .trust-grid > div:hover span,
  .trust-grid > div:hover strong,
  .trust-grid > div:hover p {
    color: #fff;
  }
}

.trust-grid span {
  position: absolute;
  top: var(--hero-card-padding);
  right: var(--hero-card-padding);
  color: var(--olive);
  font-size: clamp(15px, .83333vw, 16px);
  font-weight: 700;
  transition: color .2s var(--ease);
}

.trust-grid strong {
  display: block;
  max-width: 100%;
  color: var(--olive);
  font-size: clamp(22px, 1.5625vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  transition: color .2s var(--ease);
}

.trust-grid p {
  position: static;
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--ink);
  font-size: clamp(14px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  transition: color .2s var(--ease);
}

@media (min-width: 701px) and (max-width: 1380px) {
  :root {
    --hero-card-height: 190px;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    display: flex;
    min-height: var(--hero-card-height);
    flex-direction: column;
  }

  .trust-grid p {
    position: static;
    margin-top: auto;
    padding-top: 18px;
  }
}

.section {
  padding: 0 0 clamp(40px, 3.125vw, 60px);
  background: transparent;
}

.payments > .container,
.benefits > .container,
.vacancies > .container,
.process > .container,
.social > .container,
.faq > .container {
  padding-inline: 0;
}

.payments > .container {
  padding-top: 30px;
}

.section-heading,
.section-heading.narrow-heading {
  max-width: none;
  margin: 0 0 30px;
}

.section-heading h2,
.eligibility-statement h2,
.support-copy h2,
.action-copy h2,
.faq-heading h2,
.article-body h2,
.final-grid h2 {
  max-width: none;
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 2.91667vw, 56px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.02em;
}

.section-heading p,
.eligibility-statement > p,
.support-copy > p,
.action-copy > p,
.faq-heading > p,
.final-grid > div > p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(14px, 1.11111vw, 21px);
  line-height: 1.35;
}

.payments {
  padding-bottom: clamp(40px, 3.125vw, 60px);
  background: transparent;
}

.payment-tabs {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tab-list {
  display: flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 0;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.tab-list button {
  min-height: 42px;
  padding: 0 20px;
  color: #2b3346;
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.tab-list button[aria-selected="true"] {
  color: #fff;
  background: var(--olive);
}

.payment-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  background: transparent;
}

.payment-main,
.payment-side {
  min-height: 352px;
  padding: 18px;
  border: 0;
  border-radius: 18px;
}

.payment-main {
  color: #fff;
  background: var(--olive);
}

.payment-side {
  color: var(--ink);
  background: #fff;
}

.payment-main > span,
.payment-side > span {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

.payment-main strong {
  margin-top: 18px;
  color: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 2.91667vw, 56px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
}

.payment-side > strong {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(24px, 2.08333vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
}

.payment-main p,
.payment-side p {
  max-width: 520px;
  margin-top: auto;
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.payment-list {
  gap: 0;
}

.payment-list > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.payment-list > div:last-child {
  border-bottom: 0;
}

.payment-list span,
.payment-list strong {
  font-size: 14px;
}

.eligibility-grid {
  grid-template-columns: 360px 1fr;
  gap: 32px;
  padding: 30px;
  background: #fff;
  border-radius: 18px;
}

.eligibility-statement {
  padding: 0;
}

.eligibility-statement h2 {
  font-size: clamp(24px, 2.91667vw, 56px);
}

.eligibility-statement .text-link {
  color: var(--olive);
}

.eligibility-list article,
.eligibility-list article:first-child {
  display: grid;
  grid-template-columns: 130px minmax(190px, .8fr) 1.2fr;
  gap: 16px;
  align-items: start;
  min-height: 38px;
  padding: 10px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.eligibility-list article:last-child {
  border-bottom: 0;
}

.eligibility-list article > span,
.eligibility-list h3,
.eligibility-list p {
  font-size: 14px;
  line-height: 1.2;
}

.eligibility-list article > span {
  color: var(--olive);
  font-weight: 700;
}

.eligibility-list h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.eligibility-list p {
  margin: 0;
  color: var(--muted);
}

.benefits .section-heading {
  margin-bottom: 30px;
}

.benefits {
  padding-top: 0;
  background: transparent;
}

.benefit-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 32px 104px 32px 32px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd4e2;
  border-radius: 18px;
  box-shadow: none;
}

.benefit-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  background: linear-gradient(145deg, #1c6ee8 0%, #0b55cc 58%, #073f9e 100%);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px rgba(11, 85, 204, .18);
}

.benefit-icon svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card:hover {
  transform: none;
  border-color: #cbd4e2;
  box-shadow: none;
}

.benefit-card h3 {
  max-width: 340px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(25px, 1.55vw, 30px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1vw, 19px);
  font-weight: 600;
  line-height: 1.45;
}

.vacancies .section-heading {
  margin-bottom: 30px;
}

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

.vacancy-item {
  min-height: 175px;
  padding: 18px;
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.vacancy-item:hover,
.vacancy-item[open] {
  background: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(43, 51, 70, .08);
}

.vacancy-item summary {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: 130px;
  padding: 0;
}

.vacancy-item summary span {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.vacancy-item summary b {
  margin-top: auto;
  color: var(--olive);
  font-size: 15px;
  font-weight: 600;
}

.vacancy-item > p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.vacancy-item > a {
  color: var(--olive);
  font-size: 14px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 18px;
}

.process-line::before {
  display: none;
}

.process-line > li {
  position: relative;
  min-height: 237px;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
}

.process-line > li > span {
  position: absolute;
  top: 10px;
  right: 16px;
  width: auto;
  height: auto;
  color: #c7cddb;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}

.process-line h3 {
  position: relative;
  z-index: 1;
  max-width: 180px;
  margin: 0 0 14px;
  color: var(--olive);
  font-size: clamp(16px, 2.08333vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.process-line p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.inline-form {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  min-height: 0;
  padding: 18px;
  color: #fff;
  background: var(--olive);
  border: 0;
  border-radius: 12px;
}

.inline-form-copy strong {
  color: #fff;
  font-size: 21px;
  line-height: 1.1;
}

.inline-form-copy span {
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
}

.lead-form .field label {
  margin-bottom: 6px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

.field input {
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c7cddb;
  border-radius: 8px;
  font-size: 14px;
}

.field input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(11, 87, 208, .14);
}

.inline-form .button {
  min-height: 44px;
  color: #fff;
  background: var(--danger);
}

.inline-consent {
  grid-column: 2 / -1;
  color: rgba(255, 255, 255, .9);
}

.inline-consent a {
  color: #fff;
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 30px;
  min-height: 420px;
  padding: 30px;
  background: #fff;
  border-radius: 18px;
}

.support-photo {
  min-height: 360px;
  border-radius: 12px;
}

.support-copy {
  padding: 0;
}

.support-groups {
  margin-top: 24px;
}

.support-groups > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.support-groups > div:last-child {
  border-bottom: 0;
}

.support-groups strong,
.support-groups span {
  font-size: 14px;
  line-height: 1.2;
}

.support-groups strong {
  color: var(--olive);
}

.social-tabs {
  padding: 30px;
  background: #fff;
  border: 0;
  border-radius: 18px;
}

.social-tab-list {
  display: flex;
  margin: 0 0 20px;
}

.social-panel {
  min-height: 210px;
  padding: 24px;
  background: var(--olive-pale);
  border: 0;
  border-radius: 12px;
}

.social-panel h3 {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 21px;
  font-weight: 700;
}

.social-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
}

.social-panel li {
  padding: 0 0 0 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.social-panel li::before {
  color: var(--olive);
}

.action-section {
  padding-bottom: clamp(40px, 3.125vw, 60px);
}

.action-panel,
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  color: #fff;
  background: var(--olive);
  border-radius: 18px;
}

.action-copy h2,
.final-grid h2 {
  color: #fff;
}

.action-copy > p,
.final-grid > div > p {
  color: rgba(255, 255, 255, .86);
}

.contact-row {
  margin-top: 26px;
  gap: 8px;
}

.contact-row a {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.action-form,
.final-form {
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.action-form .field + .field {
  margin-top: 10px;
}

.action-form .button,
.final-form .button {
  width: 100%;
  background: var(--danger);
}

.consent-check {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.consent-check input {
  accent-color: var(--olive);
}

.faq-grid {
  display: block;
}

.faq-heading {
  position: static;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 24px;
}

.faq-heading h2 {
  grid-column: 1;
}

.faq-heading > p {
  grid-column: 1;
}

.faq-heading .text-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--olive);
}

.faq-list {
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line-strong);
  border-radius: 12px;
}

.faq-list details {
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list details[open] {
  background: #f7f9fd;
}

.faq-list summary {
  min-height: clamp(72px, 4.6875vw, 90px);
  padding: clamp(20px, 1.25vw, 24px);
  color: var(--ink);
  font-size: clamp(17px, 1.145833vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--olive);
}

.faq-list summary::after {
  display: none;
  content: none;
}

.faq-list details > p {
  max-width: 1120px;
  padding: 0 clamp(20px, 1.25vw, 24px) clamp(22px, 1.458333vw, 28px);
  color: var(--muted);
  font-size: clamp(16px, 1.041667vw, 20px);
  line-height: 1.45;
}

.seo-content {
  padding-bottom: clamp(40px, 3.125vw, 60px);
}

.article-body {
  max-width: none;
  padding: var(--section-gutter);
  background: #fff;
  border-radius: 18px;
}

.article-body h2 {
  max-width: 800px;
}

.article-body h3 {
  max-width: 820px;
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
}

.article-body p,
.article-body li {
  max-width: 820px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.article-body p {
  margin: 8px 0 0;
}

.article-body ol {
  max-width: 820px;
  margin-top: 12px;
}

.final-cta {
  padding-bottom: clamp(40px, 3.125vw, 60px);
  background: transparent;
}

.final-phone {
  margin-top: 24px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}

.compact-fields {
  gap: 10px;
}

.site-footer {
  padding: 45px 0 28px;
  color: #fff;
  background: #2b3346;
  border-radius: 18px 18px 0 0;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-logo {
  width: 260px;
}

.footer-main {
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  padding-bottom: 32px;
}

.footer-contact span,
.footer-contact a {
  color: #fff;
  font-size: 14px;
}

.footer-messengers a {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  border-radius: 8px;
}

.footer-legal {
  color: rgba(255, 255, 255, .7);
  border-top-color: rgba(255, 255, 255, .18);
  font-size: 13px;
}

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

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(26, 32, 46, .72);
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(7px);
  animation: lead-modal-backdrop-in .2s ease both;
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 880px);
  max-height: calc(100dvh - 40px);
  padding: 40px;
  overflow-y: auto;
  color: var(--ink);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(26, 32, 46, .28);
  animation: lead-modal-dialog-in .24s var(--ease) both;
}

.lead-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  color: #7894c2;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal__close:hover {
  color: var(--olive);
  background: transparent;
}

.lead-modal__heading {
  padding: 0 20px;
  text-align: center;
}

.lead-modal__heading h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(40px, 4.027778vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.lead-modal__payout {
  width: fit-content;
  max-width: 100%;
  margin: 40px auto 0;
  padding: 14px 40px;
  color: var(--ink);
  background: var(--olive-soft);
  border-radius: 100px;
  font-size: clamp(22px, 2.083333vw, 30px);
  font-weight: 700;
  line-height: 1.15;
}

.lead-modal__form {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.lead-modal__phone-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lead-modal__phone-control {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 70px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.lead-modal__phone-control:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(11, 87, 208, .14);
}

.lead-modal__country {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #eef0f4;
  border-right: 1px solid var(--line);
}

.lead-modal__flag {
  width: 21px;
  height: 14px;
  background: linear-gradient(to bottom, #fff 0 33.333%, #1553a3 33.333% 66.666%, #d52b2b 66.666% 100%);
  border: 1px solid rgba(43, 51, 70, .12);
}

.lead-modal__country-arrow {
  color: #2b3346;
  font-size: 13px;
  line-height: 1;
}

.lead-modal__phone-control input {
  min-height: 68px;
  padding: 0 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
}

.lead-modal__phone-control input:hover,
.lead-modal__phone-control input:focus,
.lead-modal__phone-control input[aria-invalid="true"] {
  border: 0;
  box-shadow: none;
}

.lead-modal__form .button {
  width: 100%;
  min-height: 62px;
  font-size: 20px;
}

.lead-modal__form .consent-check {
  margin: 0;
  font-size: 13px;
}

.lead-modal__form .form-status {
  margin: 0;
}

@keyframes lead-modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lead-modal-dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.floating-cta {
  display: none;
}

@media (max-width: 1180px) {
  .container {
    width: 90%;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: clamp(135px, 11.71875vw, 225px);
  }

  .desktop-nav {
    gap: 16px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-phone {
    display: none;
  }

  .trust-grid {
    width: calc(90% - var(--section-gutter) - var(--section-gutter));
  }

  .hero-grid {
    width: 90%;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 14px;
  }

  .container {
    width: 90%;
  }

  .desktop-nav,
  .header-actions .button-small {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: grid;
  }

  .hero-grid {
    width: 90%;
    min-height: 560px;
  }

  .hero-copy {
    min-height: 500px;
    max-width: 580px;
  }

  .hero-copy h1 {
    max-width: 580px;
    font-size: 56px;
  }

  .hero-copy h1 span:first-child {
    white-space: normal;
  }

  .hero-photo {
    width: 72%;
  }

  .trust-grid {
    width: calc(90% - var(--section-gutter) - var(--section-gutter));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    margin-top: -335px;
    padding-bottom: 75px;
  }

  .eligibility-grid,
  .support-panel,
  .action-panel,
  .final-grid {
    grid-template-columns: 1fr;
  }

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

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

  .inline-form {
    grid-template-columns: 1fr 1fr;
  }

  .inline-form-copy {
    grid-column: 1 / -1;
  }

  .inline-consent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 14px;
    padding-bottom: 60px;
  }

  .container {
    width: calc(100% - 6px);
  }

  .site-header {
    min-height: 60px;
  }

  .header-inner {
    min-height: 60px;
    width: calc(100% - 6px);
  }

  .brand {
    position: absolute;
    left: 50%;
    min-width: 0;
    transform: translateX(-50%);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
  }

  .brand-name {
    width: 100px;
    font-size: 17px;
  }

  .brand-logo {
    width: 135px;
  }

  .header-actions {
    width: 100%;
    margin: 0;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    margin-left: 0;
    border: 0;
  }

  .menu-button span {
    width: 30px;
    background: #2b3346;
  }

  .mobile-menu {
    top: 60px;
    padding: 18px 19px 24px;
    background: #ededf0;
  }

  .mobile-menu a {
    min-height: 48px;
    color: var(--ink);
    border-bottom-color: var(--line);
    font-size: 16px;
    font-weight: 600;
  }

  .hero {
    padding: 24px 0 8px;
  }

  .hero-grid {
    width: calc(100% - 6px);
    min-height: 430px;
    padding: 16px;
    border-radius: 12px;
  }

  .hero-copy {
    min-height: 398px;
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 320px;
    font-size: 30px;
    line-height: .92;
    letter-spacing: -.03em;
  }

  .hero-copy h1 span:first-child {
    white-space: nowrap;
  }

  .hero-lead {
    max-width: calc(100vw - 38px);
    margin-top: 20px;
    padding: 8px 24px;
    font-size: 16px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero-photo {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 235px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
  }

  .hero-photo::after {
    background: linear-gradient(180deg, #fff, transparent 40%);
  }

  .hero-photo img {
    object-position: 70% center;
  }

  .hero-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    padding: 0;
  }

  .hero-actions .button {
    min-height: 58px;
    border-radius: 8px;
    font-size: 17px;
  }

  .trust-strip {
    margin: 0;
    padding: 0 0 30px;
  }

  .trust-grid {
    width: 100%;
    display: flex;
    gap: 8px;
    padding: 0 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .trust-grid::-webkit-scrollbar {
    display: none;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    flex: 0 0 192px;
    min-height: 150px;
    padding: 14px;
    scroll-snap-align: start;
    border-radius: 12px;
  }

  .trust-grid strong {
    font-size: 16px;
  }

  .trust-grid p {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 14px;
  }

  .section,
  .payments,
  .action-section,
  .seo-content,
  .final-cta {
    padding: 0 0 40px;
  }

  .payments > .container,
  .benefits > .container,
  .vacancies > .container,
  .process > .container,
  .social > .container,
  .faq > .container {
    width: calc(100% - 6px);
    padding-inline: 0;
  }

  .payments > .container {
    padding-top: 0;
  }

  .section-heading,
  .section-heading.narrow-heading {
    margin: 0 0 20px;
  }

  .section-heading h2,
  .eligibility-statement h2,
  .support-copy h2,
  .action-copy h2,
  .faq-heading h2,
  .article-body h2,
  .final-grid h2 {
    font-size: 24px;
    line-height: 1.17;
  }

  .section-heading p,
  .eligibility-statement > p,
  .support-copy > p,
  .action-copy > p,
  .faq-heading > p,
  .final-grid > div > p {
    font-size: 14px;
  }

  .tab-list {
    width: 100%;
    margin: 0 0 12px;
    overflow-x: auto;
  }

  .tab-list button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .payment-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
  }

  .payment-main,
  .payment-side {
    min-height: 164px;
    padding: 20px;
    border-radius: 12px;
  }

  .payment-main strong {
    font-size: clamp(36px, 11vw, 48px);
  }

  .payment-side > strong {
    font-size: 28px;
  }

  .eligibility-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100% - 6px);
    padding: 16px;
    border-radius: 12px;
  }

  .eligibility-statement h2 {
    font-size: 24px;
  }

  .eligibility-list article,
  .eligibility-list article:first-child {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 12px 0;
  }

  .benefits .container,
  .vacancies .container,
  .process .container,
  .social .container,
  .faq .container {
    width: calc(100% - 6px);
  }

  .benefit-layout,
  .vacancy-grid,
  .process-line {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 3px;
  }

  .benefit-featured,
  .benefit-stack article,
  .benefit-stack article:first-child {
    min-height: 110px;
    padding: 16px;
  }

  .benefit-card {
    min-height: 0;
    padding: 24px 82px 26px 24px;
  }

  .benefit-icon {
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .benefit-icon svg {
    width: 31px;
    height: 31px;
  }

  .benefit-card h3 {
    margin-bottom: 14px;
    font-size: 24px;
  }

  .benefit-card p {
    font-size: 17px;
    line-height: 1.42;
  }

  .benefit-number,
  .benefit-stack article > span {
    margin-bottom: 12px;
  }

  .benefit-featured h3,
  .benefit-stack h3 {
    font-size: 16px;
  }

  .vacancy-item {
    min-height: 0;
    padding: 16px;
  }

  .vacancy-item summary {
    min-height: 100px;
  }

  .process-line > li {
    min-height: 98px;
    padding: 16px;
  }

  .process-line > li > span {
    top: 16px;
    right: 16px;
    font-size: 14px;
  }

  .process-line h3 {
    margin: 0 32px 8px 0;
    font-size: 16px;
  }

  .inline-form {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 8px 3px 0;
    padding: 16px;
  }

  .inline-form-copy,
  .inline-consent {
    grid-column: 1;
  }

  .support-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100% - 6px);
    min-height: 0;
    padding: 16px;
    border-radius: 12px;
  }

  .support-photo {
    min-height: 230px;
  }

  .support-groups > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0;
  }

  .social-tabs {
    margin: 0 3px;
    padding: 16px;
    border-radius: 12px;
  }

  .social-tab-list {
    width: 100%;
    margin: 0 0 12px;
  }

  .social-panel {
    min-height: 0;
    padding: 16px;
  }

  .social-panel ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .action-panel,
  .final-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 6px);
    padding: 16px;
    border-radius: 12px;
  }

  .action-form,
  .final-form {
    padding: 14px;
  }

  .contact-row {
    flex-wrap: wrap;
    margin-top: 18px;
  }

  .faq-heading {
    display: block;
    margin: 0 3px 20px;
  }

  .faq-heading .text-link {
    display: inline-flex;
    margin-top: 12px;
  }

  .faq-list {
    padding: 0 3px;
  }

  .faq-list summary {
    min-height: 58px;
    padding: 16px 14px;
    font-size: 16px;
  }

  .faq-list details > p {
    padding: 0 14px 18px;
    font-size: 15px;
  }

  .article-body {
    width: calc(100% - 6px);
    padding: 16px;
    border-radius: 12px;
  }

  .article-body h3 {
    margin-top: 22px;
    font-size: 16px;
  }

  .article-body p,
  .article-body li {
    font-size: 14px;
  }

  .compact-fields {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 30px 16px 84px;
    border-radius: 12px 12px 0 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
  }

  .site-footer .brand {
    position: static;
    transform: none;
  }

  .site-footer .brand-logo {
    width: 230px;
  }

  .footer-legal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    font-size: 13px;
  }

  .footer-legal > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lead-modal {
    padding: 8px;
  }

  .lead-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 28px 16px 20px;
    border-radius: 12px;
  }

  .lead-modal__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 27px;
  }

  .lead-modal__heading {
    padding: 18px 22px 0;
  }

  .lead-modal__heading h2 {
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.04;
  }

  .lead-modal__payout {
    margin-top: 24px;
    padding: 11px 18px;
    font-size: 18px;
    line-height: 1.2;
  }

  .lead-modal__form {
    gap: 10px;
    margin-top: 26px;
  }

  .lead-modal__phone-control {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 60px;
  }

  .lead-modal__phone-control input {
    min-height: 58px;
    padding-inline: 14px;
    font-size: 16px;
  }

  .lead-modal__form .button {
    min-height: 56px;
    font-size: 17px;
  }

  .lead-modal__form .consent-check {
    font-size: 12px;
  }

  .floating-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 60px;
    padding: 0;
    overflow: hidden;
    background: #2b3346;
    border-radius: 0;
    box-shadow: 0 -6px 22px rgba(43, 51, 70, .18);
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .floating-cta a,
  .floating-cta button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 10px;
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
  }

  .floating-cta > :first-child {
    background: var(--danger);
  }

  .floating-cta > :last-child {
    background: #2b3346;
  }
}

/* Тонкий скролл и плавающее меню связи */
html {
  scrollbar-width: thin;
  scrollbar-color: #0b57d0 transparent;
}

html::-webkit-scrollbar {
  width: 9px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  min-height: 52px;
  background: #0b57d0;
  background-clip: content-box;
  border: 2px solid transparent;
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #0847ad;
}

.quick-contact {
  position: fixed;
  right: clamp(18px, 2.1vw, 34px);
  bottom: clamp(18px, 2.1vw, 34px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.quick-contact__actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 14px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.quick-contact.is-open .quick-contact__actions {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.quick-contact__action {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 66px;
  min-width: 66px;
  margin: 0;
  padding: 0;
  color: #202737;
  background: transparent;
  border: 0;
  appearance: none;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.quick-contact__action > span:last-child {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: max-content;
  padding: 8px 11px;
  color: #fff;
  background: #202737;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 31, 50, .16);
  opacity: 0;
  transform: translate(5px, -50%);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.quick-contact__action:hover > span:last-child,
.quick-contact__action:focus-visible > span:last-child {
  opacity: 1;
  transform: translate(0, -50%);
}

.quick-contact__circle,
.quick-contact__toggle {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: #fff;
  background: #0b57d0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(11, 87, 208, .27);
}

.quick-contact__circle {
  margin-inline: auto;
}

.quick-contact__circle {
  transition: transform .18s ease, box-shadow .18s ease;
}

.quick-contact__action:hover .quick-contact__circle,
.quick-contact__action:focus-visible .quick-contact__circle {
  transform: scale(1.06);
  box-shadow: 0 13px 32px rgba(11, 87, 208, .36);
}

.quick-contact__circle--max {
  background: linear-gradient(145deg, #6c36f1, #1887f2);
}

.quick-contact__circle--telegram {
  background: #2aabee;
}

.quick-contact__circle img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.quick-contact__phone-icon {
  display: block;
  color: #fff;
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-15deg);
}

.quick-contact__circle svg,
.quick-contact__toggle svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-contact__toggle {
  position: relative;
  flex: 0 0 66px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.quick-contact__toggle:hover,
.quick-contact__toggle:focus-visible {
  background: #0847ad;
  transform: scale(1.05);
  outline: 3px solid rgba(11, 87, 208, .2);
  outline-offset: 3px;
}

.quick-contact__toggle-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-35deg) scale(.8);
  transition: opacity .18s ease, transform .18s ease;
}

.quick-contact__toggle-chat {
  transition: opacity .18s ease, transform .18s ease;
}

.quick-contact.is-open .quick-contact__toggle-chat {
  opacity: 0;
  transform: rotate(35deg) scale(.8);
}

.quick-contact.is-open .quick-contact__toggle-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (max-width: 700px) {
  .quick-contact {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .quick-contact__actions {
    gap: 8px;
  }

  .quick-contact__action {
    width: 56px;
    min-width: 56px;
    gap: 5px;
    font-size: 11px;
  }

  .quick-contact__action > span:last-child {
    display: none;
  }

  .quick-contact__circle,
  .quick-contact__toggle {
    width: 56px;
    height: 56px;
  }

  .quick-contact__toggle {
    flex-basis: 56px;
  }

  .quick-contact__circle svg,
  .quick-contact__toggle svg {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 390px) {
  .quick-contact__action {
    width: 51px;
    min-width: 51px;
  }

  .quick-contact__circle,
  .quick-contact__toggle {
    width: 51px;
    height: 51px;
  }

  .quick-contact__toggle {
    flex-basis: 51px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-contact__actions,
  .quick-contact__circle,
  .quick-contact__toggle,
  .quick-contact__toggle svg {
    transition: none;
  }
}

/* Photo-led service direction cards */
.vacancy-grid {
  align-items: start;
}

.vacancy-item {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(19, 28, 47, .04);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.vacancy-item:hover,
.vacancy-item[open] {
  background: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(28, 39, 63, .11);
  transform: translateY(-3px);
}

.vacancy-item summary {
  display: block;
  min-height: 0;
  padding: 0;
}

.vacancy-item summary .vacancy-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe4ec;
  border-radius: 0;
  font-size: 0;
  line-height: 0;
}

.vacancy-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.vacancy-item:hover .vacancy-photo img,
.vacancy-item[open] .vacancy-photo img {
  transform: scale(1.035);
}

.vacancy-item summary .vacancy-summary {
  display: flex;
  flex-direction: column;
  min-height: 128px;
  padding: 20px;
  color: var(--ink);
}

.vacancy-item summary .vacancy-summary > span {
  color: var(--ink);
  font-size: clamp(22px, 1.25vw, 25px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.vacancy-item summary .vacancy-summary > b {
  margin-top: auto;
  color: var(--olive);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
}

.vacancy-item[open] summary .vacancy-summary > b::after {
  font-size: 17px;
}

.vacancy-item > p {
  max-width: none;
  margin: 0 20px 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
}

.vacancy-item > a {
  margin: 0 20px 22px;
  color: var(--olive);
  font-size: 16px;
  font-weight: 750;
}

.photo-credits {
  margin-top: 14px;
  color: #6a7180;
  font-size: 12px;
}

.photo-credits summary {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(106, 113, 128, .35);
  text-underline-offset: 3px;
}

.photo-credits summary::-webkit-details-marker {
  display: none;
}

.photo-credits p {
  max-width: 1200px;
  margin: 4px 0 0;
  line-height: 1.55;
}

.photo-credits a {
  color: inherit;
}

@media (max-width: 1100px) {
  .vacancy-item summary .vacancy-photo {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .vacancy-grid {
    gap: 12px;
  }

  .vacancy-item {
    border-radius: 12px;
  }

  .vacancy-item summary .vacancy-photo {
    aspect-ratio: 16 / 9;
  }

  .vacancy-item summary .vacancy-summary {
    min-height: 104px;
    padding: 17px 18px;
  }

  .vacancy-item summary .vacancy-summary > span {
    font-size: 22px;
  }

  .vacancy-item > p {
    margin-inline: 18px;
    font-size: 16px;
  }

  .vacancy-item > a {
    margin-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vacancy-item,
  .vacancy-photo img {
    transition: none;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 135px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-lead {
    padding-inline: 18px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta,
  .lead-modal__backdrop,
  .lead-modal__dialog {
    transition: none;
    animation: none;
  }
}

/* Усиленная типографика контентных секций */
.section-heading h2,
.eligibility-statement h2,
.support-copy h2,
.action-copy h2,
.faq-heading h2,
.article-body h2,
.final-grid h2 {
  font-size: clamp(38px, 3.645833vw, 70px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.03em;
}

.section-heading p,
.eligibility-statement > p,
.support-copy > p,
.action-copy > p,
.faq-heading > p,
.final-grid > div > p {
  font-size: clamp(17px, 1.145833vw, 22px);
  font-weight: 600;
  line-height: 1.4;
}

.trust-grid strong {
  font-size: clamp(24px, 1.666667vw, 32px);
  font-weight: 700;
}

.trust-grid p {
  font-size: clamp(16px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.25;
}

.tab-list button,
.payment-main > span,
.payment-side > span,
.payment-list span,
.payment-list strong {
  font-size: clamp(16px, .9375vw, 18px);
  font-weight: 700;
}

.payment-main strong {
  font-size: clamp(38px, 3.333333vw, 64px);
  font-weight: 700;
}

.payment-side > strong {
  font-size: clamp(30px, 2.395833vw, 46px);
  font-weight: 700;
}

.payment-main p,
.payment-side p {
  font-size: clamp(17px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.eligibility-list article > span,
.eligibility-list h3 {
  font-size: clamp(17px, .989583vw, 19px);
  font-weight: 700;
  line-height: 1.3;
}

.eligibility-list p {
  font-size: clamp(16px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.benefit-featured h3,
.benefit-stack h3,
.vacancy-item summary span,
.social-panel h3,
.article-body h3 {
  font-size: clamp(23px, 1.354167vw, 26px);
  font-weight: 700;
  line-height: 1.15;
}

.benefit-featured p,
.benefit-stack p,
.vacancy-item > p,
.social-panel li,
.article-body p,
.article-body li {
  font-size: clamp(17px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.4;
}

.vacancy-item summary b,
.vacancy-item > a,
.faq-heading .text-link {
  font-size: clamp(16px, .885417vw, 17px);
  font-weight: 700;
}

.section .button,
.section .text-link {
  font-size: clamp(16px, .9375vw, 18px);
  font-weight: 700;
}

.benefit-number,
.benefit-stack article > span {
  font-size: clamp(16px, .9375vw, 18px);
  font-weight: 700;
}

.process-line h3 {
  font-size: clamp(24px, 1.875vw, 36px);
  font-weight: 700;
}

.process-line p {
  font-size: clamp(17px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.inline-form-copy strong {
  font-size: clamp(23px, 1.354167vw, 26px);
  font-weight: 700;
}

.inline-form-copy span,
.support-groups strong,
.support-groups span {
  font-size: clamp(16px, .9375vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.support-groups strong {
  font-weight: 700;
}

.lead-form .field label,
.field input {
  font-size: 16px;
  font-weight: 600;
}

.consent-check {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.contact-row a {
  font-size: 16px;
  font-weight: 700;
}

.faq-list summary {
  font-size: clamp(22px, 1.40625vw, 27px);
  font-weight: 700;
}

.faq-list details > p {
  font-size: clamp(18px, 1.145833vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}

.final-phone {
  font-size: clamp(24px, 1.458333vw, 28px);
  font-weight: 700;
}

@media (max-width: 640px) {
  .section-heading h2,
  .eligibility-statement h2,
  .support-copy h2,
  .action-copy h2,
  .faq-heading h2,
  .article-body h2,
  .final-grid h2 {
    font-size: 32px;
    line-height: 1.06;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    min-height: 190px;
  }

  .trust-grid strong {
    font-size: 19px;
  }

  .trust-grid p,
  .payment-main p,
  .payment-side p,
  .eligibility-list p,
  .benefit-featured p,
  .benefit-stack p,
  .vacancy-item > p,
  .process-line p,
  .social-panel li,
  .article-body p,
  .article-body li,
  .support-groups span {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
  }

  .benefit-featured h3,
  .benefit-stack h3,
  .vacancy-item summary span,
  .social-panel h3,
  .article-body h3 {
    font-size: 22px;
  }

  .process-line h3 {
    font-size: 26px;
  }

  .faq-list summary {
    font-size: 20px;
    line-height: 1.3;
  }

  .faq-list details > p {
    font-size: 17px;
    line-height: 1.5;
  }

  .tab-list button {
    font-size: 15px;
  }

  .consent-check {
    font-size: 13px;
  }
}

/* Payment bento: composition matched to the supplied reference. */
.payment-showcase {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 24px;
}

.payment-showcase__featured {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 348px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background: var(--olive);
  border-radius: 12px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  background: var(--danger);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.payment-showcase__featured > .payment-badge {
  position: absolute;
  top: 24px;
  right: 24px;
}

.payment-showcase__featured > strong {
  display: block;
  max-width: 100%;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(48px, 3.645833vw, 70px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.payment-showcase__featured > strong small {
  display: block;
  font: inherit;
}

.payment-showcase__featured > p {
  max-width: 500px;
  margin: auto 0 26px;
  color: #fff;
  font-size: clamp(20px, 1.354167vw, 26px);
  font-weight: 600;
  line-height: 1.25;
}

.payment-showcase__button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 8px;
  color: var(--olive);
  background: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.payment-showcase__button:hover {
  background: #f4f7fd;
}

.payment-showcase__button:active {
  transform: translateY(1px);
}

.payment-showcase__secondary {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

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

.payment-showcase__card {
  display: flex;
  flex-direction: column;
  min-height: 162px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
}

.payment-showcase__card > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.payment-showcase__card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 1.5625vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.payment-showcase__card .payment-badge {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 14px;
}

.payment-showcase__card > p {
  max-width: none;
  margin: auto 0 0;
  color: var(--ink);
  font-size: clamp(17px, 1.041667vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .payment-showcase {
    grid-template-columns: 1fr;
  }

  .payment-showcase__featured {
    min-height: 330px;
  }

  .payment-showcase__secondary {
    grid-template-rows: auto;
  }
}

@media (max-width: 640px) {
  .payment-showcase,
  .payment-showcase__secondary,
  .payment-showcase__top,
  .payment-showcase__bottom {
    gap: 12px;
  }

  .payment-showcase__top,
  .payment-showcase__bottom {
    grid-template-columns: 1fr;
  }

  .payment-showcase__featured {
    min-height: 310px;
    padding: 20px;
  }

  .payment-showcase__featured > .payment-badge {
    top: 20px;
    right: 20px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .payment-showcase__featured > strong {
    font-size: 46px;
  }

  .payment-showcase__featured > p {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .payment-showcase__button {
    min-height: 54px;
    font-size: 18px;
  }

  .payment-showcase__card,
  .payment-showcase__card--wide {
    min-height: 160px;
    padding: 20px;
  }

  .payment-showcase__card h3 {
    font-size: 24px;
  }

  .payment-showcase__card > p {
    font-size: 17px;
  }
}

/* Candidate requirements: reference-aligned checklist card. */
.eligibility-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 72px;
  min-height: 360px;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
}

.eligibility-statement {
  padding: 0;
}

.eligibility-statement h2 {
  max-width: 480px;
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(46px, 3.125vw, 60px);
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.eligibility-list {
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eligibility-list li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 50px;
}

.eligibility-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #dce4f4;
  border-radius: 50%;
}

.eligibility-check img {
  display: block;
  width: 28px;
  height: 28px;
}

.eligibility-list p {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 1.354167vw, 26px);
  font-weight: 600;
  line-height: 1.28;
}

@media (max-width: 1100px) {
  .eligibility-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  .eligibility-statement h2 {
    max-width: 760px;
  }

  .eligibility-list {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .eligibility-grid {
    gap: 30px;
    padding: 24px 20px;
    border-radius: 12px;
  }

  .eligibility-statement h2 {
    font-size: 32px;
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .eligibility-list {
    gap: 22px;
  }

  .eligibility-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 44px;
  }

  .eligibility-check {
    width: 44px;
    height: 44px;
  }

  .eligibility-check img {
    width: 24px;
    height: 24px;
  }

  .eligibility-list p {
    padding-top: 3px;
    font-size: 18px;
    line-height: 1.32;
  }
}

/* Final interaction polish for expandable direction cards */
.vacancy-item {
  interpolate-size: allow-keywords;
}

.vacancy-item::details-content {
  overflow: hidden;
  block-size: 0;
  opacity: 0;
  transition:
    block-size .38s var(--ease),
    opacity .24s ease,
    content-visibility .38s allow-discrete;
}

.vacancy-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.vacancy-item[open] summary .vacancy-summary > b {
  font-size: 0;
}

.vacancy-item[open] summary .vacancy-summary > b::after {
  content: "Закрыть";
  font-size: 17px;
}

.vacancy-item[open] > p {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid #e2e6ee;
  animation: vacancy-content-in .34s var(--ease) both;
}

.vacancy-item[open] > a {
  animation: vacancy-content-in .4s .04s var(--ease) both;
}

@keyframes vacancy-content-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vacancy-item::details-content {
    transition: none;
  }

  .vacancy-item[open] > p,
  .vacancy-item[open] > a,
  .vacancy-item[open] > .vacancy-action {
    animation: none;
  }
}

.vacancy-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin: 0 20px 22px;
  padding: 0;
  color: var(--olive);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
  font-size: clamp(16px, .885417vw, 17px);
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.vacancy-action:hover,
.vacancy-action:focus-visible {
  color: #e52f35;
  background: transparent;
}

.vacancy-item[open] > .vacancy-action {
  animation: vacancy-content-in .4s .04s var(--ease) both;
}

@media (max-width: 640px) {
  .vacancy-action {
    margin-inline: 18px;
  }
}

/* Fixed-height 3D flip cards for service directions */
.vacancy-item,
.vacancy-item:hover,
.vacancy-item[open] {
  position: relative;
  height: 360px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform: none;
  perspective: 1200px;
}

.vacancy-item::details-content,
.vacancy-item[open]::details-content {
  overflow: visible;
  block-size: auto;
  opacity: 1;
  transition: none;
}

.vacancy-item > summary,
.vacancy-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(19, 28, 47, .05);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform .56s cubic-bezier(.2, .72, .2, 1), box-shadow .22s ease;
}

.vacancy-item > summary {
  z-index: 2;
  height: 100%;
  transform: rotateY(0deg);
}

.vacancy-item > summary .vacancy-photo {
  height: calc(100% - 128px);
  aspect-ratio: auto;
}

.vacancy-item:hover > summary,
.vacancy-item:focus-within > summary {
  box-shadow: 0 14px 30px rgba(28, 39, 63, .11);
}

.vacancy-back {
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #0b57d0;
  transform: rotateY(180deg);
  cursor: pointer;
}

.vacancy-item[open] > summary {
  pointer-events: none;
  transform: rotateY(-180deg);
}

.vacancy-item[open] .vacancy-back {
  z-index: 3;
  transform: rotateY(0deg);
  box-shadow: 0 18px 38px rgba(28, 39, 63, .14);
}

.vacancy-back h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 1.55vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.vacancy-back p {
  max-width: 34ch;
  margin: 22px 0 0;
  color: #525b6d;
  font-size: clamp(17px, .9375vw, 18px);
  font-weight: 650;
  line-height: 1.42;
}

.vacancy-back .vacancy-action {
  display: flex;
  width: 100%;
  min-height: 52px;
  justify-content: center;
  margin: auto 0 0;
  padding: 0 18px;
  color: #fff;
  background: #0b57d0;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
}

.vacancy-back .vacancy-action:hover,
.vacancy-back .vacancy-action:focus-visible {
  color: #fff;
  background: #0947aa;
  transform: translateY(-1px);
}

.vacancy-back .vacancy-action:active {
  transform: translateY(1px);
}

@media (max-width: 1100px) {
  .vacancy-item,
  .vacancy-item:hover,
  .vacancy-item[open] {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .vacancy-item,
  .vacancy-item:hover,
  .vacancy-item[open] {
    height: 360px;
  }

  .vacancy-item > summary,
  .vacancy-back {
    border-radius: 12px;
  }

  .vacancy-item > summary .vacancy-photo {
    height: calc(100% - 104px);
  }

  .vacancy-back {
    padding: 24px 20px 20px;
  }

  .vacancy-back h3 {
    font-size: 27px;
  }

  .vacancy-back p {
    margin-top: 18px;
    font-size: 17px;
  }

  .vacancy-back .vacancy-action {
    min-height: 50px;
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vacancy-item > summary,
  .vacancy-back {
    transition: none;
  }
}

/* Stable flip state: both faces stay mounted for the whole transition */
.vacancy-item,
.vacancy-item:hover,
.vacancy-item[open] {
  position: relative;
  height: 360px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform: none;
  perspective: 1800px;
}

.vacancy-front,
.vacancy-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(19, 28, 47, .05);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  transition:
    transform .58s cubic-bezier(.22, 1, .36, 1),
    opacity .22s ease,
    box-shadow .22s ease;
}

.vacancy-front {
  z-index: 2;
  display: block;
  padding: 0;
  color: var(--ink);
  border: 0;
  text-align: left;
  cursor: pointer;
  opacity: 1;
  clip-path: inset(0 round 14px);
  transform: rotateY(0deg) translateZ(1px);
}

.vacancy-front .vacancy-photo {
  display: block;
  width: 100%;
  height: calc(100% - 128px);
  overflow: hidden;
  background: #dfe4ec;
  border-radius: 14px 14px 0 0;
  clip-path: inset(0 round 14px 14px 0 0);
  transform: translateZ(0);
}

.vacancy-front .vacancy-photo img {
  border-radius: 14px 14px 0 0;
}

.vacancy-front .vacancy-summary {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  padding: 20px;
}

.vacancy-front .vacancy-summary > span {
  color: var(--ink);
  font-size: clamp(22px, 1.25vw, 25px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.vacancy-front .vacancy-summary > b {
  margin-top: auto;
  color: var(--olive);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
}

.vacancy-front:hover,
.vacancy-front:focus-visible {
  background: #fff;
  box-shadow: 0 14px 30px rgba(28, 39, 63, .11);
}

.vacancy-front:focus-visible {
  outline: 3px solid rgba(11, 87, 208, .34);
  outline-offset: 3px;
}

.vacancy-front:hover .vacancy-photo img {
  transform: scale(1.025);
}

.vacancy-back {
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: rotateY(180deg) translateZ(1px);
}

.vacancy-item.is-flipped .vacancy-front {
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: rotateY(-180deg) translateZ(1px);
}

.vacancy-item.is-flipped .vacancy-back {
  z-index: 3;
  pointer-events: auto;
  opacity: 1;
  transform: rotateY(0deg) translateZ(1px);
  box-shadow: 0 16px 34px rgba(28, 39, 63, .13);
}

@media (max-width: 1100px) {
  .vacancy-item,
  .vacancy-item:hover,
  .vacancy-item[open] {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .vacancy-item,
  .vacancy-item:hover,
  .vacancy-item[open] {
    height: 360px;
  }

  .vacancy-front,
  .vacancy-back {
    border-radius: 12px;
  }

  .vacancy-front {
    clip-path: inset(0 round 12px);
  }

  .vacancy-front .vacancy-photo {
    height: calc(100% - 104px);
    border-radius: 12px 12px 0 0;
    clip-path: inset(0 round 12px 12px 0 0);
  }

  .vacancy-front .vacancy-photo img {
    border-radius: 12px 12px 0 0;
  }

  .vacancy-front .vacancy-summary {
    min-height: 104px;
    padding: 17px 18px;
  }

  .vacancy-front .vacancy-summary > span {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vacancy-front,
  .vacancy-back {
    transition: none;
  }
}

/* Крупный CTA по референсу */
.action-section {
  background: var(--bg);
}

.action-panel {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: clamp(44px, 5vw, 92px);
  min-height: 288px;
  overflow: hidden;
  padding: clamp(34px, 3.2vw, 58px) clamp(32px, 3.4vw, 62px);
  background: #073c96 url("cta-tricolor-background.webp") center / cover no-repeat;
  border-radius: 24px;
}

.action-panel::before {
  content: none;
}

.action-copy {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.action-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: clamp(-58px, -3vw, -28px);
  width: clamp(270px, 23vw, 420px);
  aspect-ratio: 29 / 29.9;
  background: url("gerb.svg") center / contain no-repeat;
  opacity: .16;
  pointer-events: none;
  transform: translateY(-50%);
}

.action-copy h2,
.action-panel .action-copy h2 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(42px, 3.35vw, 64px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.action-payout {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: #fff;
  background: #1f2022;
  border-radius: 999px;
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 800;
  line-height: 1.15;
}

.action-payout__badge {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #0b57d0;
  background: #dce8fb;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

.action-form,
.action-panel .action-form {
  display: grid;
  gap: 14px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.action-form .action-phone-field {
  margin: 0;
}

.action-form .lead-modal__phone-control {
  min-height: 70px;
  background: rgba(0, 55, 145, .28);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 9px;
}

.action-form .lead-modal__phone-control:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

.action-form .lead-modal__country {
  background: rgba(0, 43, 113, .28);
  border-right-color: rgba(255, 255, 255, .18);
}

.action-form .lead-modal__country-arrow {
  color: rgba(255, 255, 255, .8);
}

.action-form .lead-modal__phone-control input {
  color: #fff;
  caret-color: #fff;
}

.action-form .lead-modal__phone-control input::placeholder {
  color: rgba(255, 255, 255, .74);
}

.action-form .form-submit,
.action-panel .action-form .form-submit {
  min-height: 62px;
  margin: 0;
  color: #084db8;
  background: #8ab0e8;
  border: 0;
  border-radius: 8px;
  font-size: 21px;
  font-weight: 800;
  box-shadow: none;
}

.action-form .form-submit:hover,
.action-form .form-submit:focus-visible {
  color: #084db8;
  background: #fff;
  transform: translateY(-1px);
}

.action-form .consent-check {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 500;
}

.action-form .consent-check input {
  accent-color: #0b2f68;
}

.action-form .consent-check a {
  color: #fff;
}

.action-form .field-error,
.action-form .form-status {
  color: #fff;
}

.inline-form .form-submit,
.final-form .form-submit {
  color: #084db8;
  background: #8ab0e8;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: none;
}

.inline-form .form-submit:hover,
.inline-form .form-submit:focus-visible,
.final-form .form-submit:hover,
.final-form .form-submit:focus-visible {
  color: #084db8;
  background: #fff;
  transform: translateY(-1px);
}

.inline-form .form-submit:active,
.final-form .form-submit:active {
  transform: translateY(1px);
}

/* Единый CTA-компонент для форм в процессе и внизу страницы */
.cta-replica,
.final-grid.cta-replica {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: clamp(44px, 5vw, 92px);
  align-items: center;
  min-height: 288px;
  overflow: hidden;
  padding: clamp(34px, 3.2vw, 58px) clamp(32px, 3.4vw, 62px);
  color: #fff;
  background: #073c96 url("cta-tricolor-background.webp") center / cover no-repeat;
  border-radius: 24px;
}

.process-cta {
  margin-top: clamp(34px, 3.125vw, 60px);
}

.cta-replica__copy {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.cta-replica__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: clamp(-58px, -3vw, -28px);
  width: clamp(270px, 23vw, 420px);
  aspect-ratio: 29 / 29.9;
  background: url("gerb.svg") center / contain no-repeat;
  opacity: .16;
  pointer-events: none;
  transform: translateY(-50%);
}

.cta-replica__copy strong,
.cta-replica__copy h2,
.final-grid.cta-replica .cta-replica__copy h2 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 3.35vw, 64px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.cta-replica__copy > span,
.cta-replica__copy .final-phone {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(18px, 1.2vw, 23px);
  font-weight: 700;
  line-height: 1.25;
}

.cta-replica__form,
.final-grid.cta-replica .cta-replica__form {
  display: grid;
  gap: 14px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cta-replica__form .cta-replica__phone-field {
  margin: 0;
}

.cta-replica__form .lead-modal__phone-control {
  min-height: 70px;
  background: rgba(0, 55, 145, .28);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 9px;
}

.cta-replica__form .lead-modal__phone-control:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

.cta-replica__form .lead-modal__country {
  background: rgba(0, 43, 113, .28);
  border-right-color: rgba(255, 255, 255, .18);
}

.cta-replica__form .lead-modal__country-arrow {
  color: rgba(255, 255, 255, .8);
}

.cta-replica__form .lead-modal__phone-control input {
  color: #fff;
  caret-color: #fff;
}

.cta-replica__form .lead-modal__phone-control input::placeholder {
  color: rgba(255, 255, 255, .74);
}

.cta-replica__form .form-submit,
.final-grid.cta-replica .cta-replica__form .form-submit {
  width: 100%;
  min-height: 62px;
  margin: 0;
  color: #084db8;
  background: #8ab0e8;
  border: 0;
  border-radius: 8px;
  font-size: 21px;
  font-weight: 800;
  box-shadow: none;
}

.cta-replica__form .form-submit:hover,
.cta-replica__form .form-submit:focus-visible {
  color: #084db8;
  background: #fff;
  transform: translateY(-1px);
}

.cta-replica__form .form-submit:active {
  transform: translateY(1px);
}

.cta-replica__form .consent-check {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 500;
}

.cta-replica__form .consent-check input {
  accent-color: #0b2f68;
}

.cta-replica__form .consent-check a,
.cta-replica__form .field-error,
.cta-replica__form .form-status {
  color: #fff;
}

@media (max-width: 980px) {
  .action-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cta-replica,
  .final-grid.cta-replica {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .action-copy h2,
  .action-panel .action-copy h2 {
    max-width: 760px;
  }

  .cta-replica__copy strong,
  .cta-replica__copy h2,
  .final-grid.cta-replica .cta-replica__copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .action-panel {
    width: calc(100% - 6px);
    min-height: 0;
    gap: 28px;
    padding: 28px 18px 22px;
    border-radius: 16px;
  }

  .action-copy {
    gap: 22px;
  }

  .action-copy h2,
  .action-panel .action-copy h2 {
    font-size: 36px;
    line-height: 1;
  }

  .action-payout {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 18px;
  }

  .action-form,
  .action-panel .action-form {
    padding: 0;
  }

  .action-form .lead-modal__phone-control {
    min-height: 60px;
  }

  .action-form .form-submit,
  .action-panel .action-form .form-submit {
    min-height: 58px;
    font-size: 18px;
  }

  .action-form .consent-check {
    font-size: 13px;
  }

  .cta-replica,
  .final-grid.cta-replica {
    width: calc(100% - 6px);
    min-height: 0;
    gap: 28px;
    margin-inline: auto;
    padding: 28px 18px 22px;
    border-radius: 16px;
  }

  .process-cta {
    margin-top: 28px;
  }

  .cta-replica__copy {
    gap: 14px;
  }

  .cta-replica__copy strong,
  .cta-replica__copy h2,
  .final-grid.cta-replica .cta-replica__copy h2 {
    font-size: 36px;
    line-height: 1;
  }

  .cta-replica__copy > span,
  .cta-replica__copy .final-phone {
    font-size: 17px;
  }

  .cta-replica__form,
  .final-grid.cta-replica .cta-replica__form {
    padding: 0;
  }

  .cta-replica__form .lead-modal__phone-control {
    min-height: 60px;
  }

  .cta-replica__form .form-submit,
  .final-grid.cta-replica .cta-replica__form .form-submit {
    min-height: 58px;
    font-size: 18px;
  }

  .cta-replica__form .consent-check {
    font-size: 13px;
  }
}

/* Льготы и социальные гарантии по структуре референса */
.social-benefit-title {
  position: relative;
  padding-bottom: 0;
}

.social-benefit-title::after {
  content: none;
}

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

.social-benefit-card {
  position: relative;
  grid-column: span 6;
  min-width: 0;
  overflow: hidden;
  padding: 30px 32px 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.social-benefit-card:nth-child(1) {
  grid-column: span 7;
  background: linear-gradient(135deg, #f5f8ff 0%, #fff 72%);
}

.social-benefit-card:nth-child(2) {
  grid-column: span 5;
}

.social-benefit-card:nth-child(3) {
  grid-column: span 5;
}

.social-benefit-card:nth-child(4) {
  grid-column: span 7;
  background: linear-gradient(135deg, #fff 20%, #f5f8ff 100%);
}

.social-benefit-card__heading {
  position: relative;
  z-index: 1;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 0 18px;
  border-bottom: 2px solid var(--olive);
}

.social-benefit-card h3 {
  margin: 0;
  font-size: clamp(25px, 1.65vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.social-benefit-card ul {
  display: grid;
  gap: 17px;
  margin: 26px 0 0;
  padding-left: 24px;
  list-style: disc outside;
}

.social-benefit-card li {
  margin: 0;
  padding-left: 3px;
  color: #424a5a;
  font-size: clamp(17px, 1.04vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

.social-benefit-card li::before {
  content: none;
}

.social-benefit-card li::marker {
  color: var(--olive);
  font-size: .85em;
}

@media (max-width: 980px) {
  .social-benefit-card:nth-child(n) {
    grid-column: span 6;
    min-height: 0;
  }

}

@media (max-width: 700px) {
  .social-benefit-title {
    padding-bottom: 17px;
  }

  .social-benefit-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .social-benefit-card:nth-child(n) {
    grid-column: 1;
    padding: 18px 18px 22px;
    border-radius: 12px;
  }

  .social-benefit-card__heading {
    min-height: 46px;
    padding: 0 0 13px;
  }

  .social-benefit-card h3 {
    font-size: 23px;
  }

  .social-benefit-card ul {
    gap: 12px;
    margin-top: 18px;
  }

  .social-benefit-card li {
    font-size: 16.5px;
  }
}

/* Военная служба по контракту: текст слева, интерактивные условия справа */
.service-conditions {
  padding-bottom: clamp(40px, 3.125vw, 60px);
}

.service-conditions__panel {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  padding: clamp(34px, 4vw, 68px);
  background: var(--olive-soft);
  border: 1px solid #ced7e8;
  border-top: 0;
  border-radius: 18px;
}

.service-conditions__copy {
  position: static;
}

.service-conditions__copy h2 {
  max-width: 590px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 3.1vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.service-conditions__copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #454e60;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 650;
  line-height: 1.48;
}

.service-conditions__copy p + p {
  margin-top: 14px;
}

.service-conditions__copy h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: clamp(23px, 1.45vw, 28px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.service-conditions__copy ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 24px;
}

.service-conditions__copy li {
  color: #454e60;
  font-size: clamp(17px, 1vw, 19px);
  font-weight: 650;
  line-height: 1.4;
}

.service-conditions__copy .button {
  width: auto;
  min-width: 270px;
  min-height: 58px;
  margin-top: 38px;
  padding-inline: 28px;
  white-space: nowrap;
}

.service-conditions__list {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
}

.service-condition-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  min-height: 76px;
  align-items: center;
  padding: 12px 24px 12px 18px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #afc2e4;
  border-radius: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.service-condition-item:first-child {
  border-radius: 14px 14px 0 0;
}

.service-condition-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 14px 14px;
}

.service-condition-item img {
  display: block;
  width: 38px;
  height: 38px;
  padding: 0;
  object-fit: contain;
  justify-self: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.service-condition-item span {
  font-size: clamp(19px, 1.2vw, 23px);
  font-weight: 650;
  line-height: 1.25;
}

.service-condition-item:hover,
.service-condition-item:focus-visible {
  color: var(--olive);
  background: #f7f9fd;
}

.service-condition-item:active {
  background: #eef3fb;
}

@media (max-width: 1050px) {
  .service-conditions__panel {
    grid-template-columns: 1fr;
  }

  .service-conditions__copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .service-conditions__panel {
    width: calc(100% - 6px);
    gap: 28px;
    padding: 24px 18px 20px;
    border-radius: 14px;
  }

  .service-conditions__copy h2 {
    font-size: 36px;
    line-height: 1.05;
  }

  .service-conditions__copy p {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.45;
  }

  .service-conditions__copy h3 {
    margin-top: 24px;
    font-size: 22px;
  }

  .service-conditions__copy li {
    font-size: 16px;
  }

  .service-conditions__copy .button {
    width: 100%;
    min-width: 0;
    margin-top: 26px;
  }

  .service-conditions__list {
    gap: 0;
  }

  .service-condition-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    min-height: 68px;
    padding: 12px 14px 12px 10px;
  }

  .service-condition-item img {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 0;
  }

  .service-condition-item span {
    font-size: 17px;
    line-height: 1.25;
  }
}

/* FAQ с отдельными карточками и категориями */
.faq-tabs {
  width: 100%;
}

.faq .faq-heading {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
}

.faq-heading__actions {
  display: flex;
  flex: 1 1 auto;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}

.faq .faq-heading .text-link {
  flex: 0 0 auto;
  grid-column: auto;
  grid-row: auto;
  margin-left: auto;
}

.faq-tab-list {
  display: flex;
  gap: 12px;
  margin: 0;
}

.faq-tab-list button {
  min-width: 260px;
  min-height: 54px;
  padding: 0 24px;
  color: var(--olive);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.faq-tab-list button[aria-selected="true"] {
  color: #fff;
  background: var(--olive);
}

.faq-panel[hidden],
.faq-extra[hidden] {
  display: none !important;
}

.faq .faq-list {
  display: grid;
  gap: 12px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.faq .faq-list details,
.faq .faq-list details:last-child {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6dde9;
  border-radius: 14px;
}

.faq .faq-list details[open] {
  background: #fff;
  border-color: #a9bee2;
}

.faq .faq-list summary {
  position: relative;
  min-height: 88px;
  padding: 24px 72px 24px 26px;
  color: var(--ink);
  font-size: clamp(23px, 1.45vw, 28px);
  font-weight: 800;
  line-height: 1.22;
}

.faq .faq-list summary:hover,
.faq .faq-list details[open] summary {
  color: var(--ink);
}

.faq .faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 28px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--olive);
  border: 1px solid #b9cbed;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.faq .faq-list details[open] summary::after {
  content: "−";
  transform: translateY(-50%);
}

.faq .faq-list details > p {
  width: 100%;
  max-width: none;
  padding: 0 72px 32px 26px;
  color: #4d5668;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 600;
  line-height: 1.48;
}

.faq-more {
  display: flex;
  min-width: 270px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  padding: 0 28px;
  color: #fff;
  background: var(--olive);
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.faq-more:hover,
.faq-more:focus-visible {
  background: var(--olive-dark);
}

@media (max-width: 700px) {
  .faq .faq-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
  }

  .faq-heading__actions {
    display: grid;
    gap: 12px;
    justify-content: stretch;
  }

  .faq .faq-heading .text-link {
    margin-left: 0;
    justify-self: start;
  }

  .faq-tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .faq-tab-list button {
    min-width: 0;
    min-height: 50px;
    padding: 0 10px;
    font-size: 15px;
  }

  .faq .faq-list {
    gap: 8px;
  }

  .faq .faq-list summary {
    min-height: 74px;
    padding: 18px 50px 18px 18px;
    font-size: 20px;
    line-height: 1.28;
  }

  .faq .faq-list summary::after {
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  .faq .faq-list details > p {
    padding: 0 18px 22px;
    font-size: 18px;
    line-height: 1.48;
  }

  .faq-more {
    width: 100%;
    min-width: 0;
    margin-top: 16px;
  }
}

/* Крупная нумерация и однострочные пояснения этапов */
.process-line > li > span {
  top: 14px;
  right: 18px;
  font-size: clamp(64px, 4.3vw, 82px);
  font-weight: 800;
  line-height: .9;
}

.process-line p {
  max-width: none;
  color: #4d5668;
  font-size: clamp(18px, 1.05vw, 20px);
  font-weight: 650;
  line-height: 1.42;
}

@media (max-width: 900px) {
  .process-line > li > span {
    top: 14px;
    right: 16px;
    font-size: 48px;
  }

  .process-line h3 {
    margin-right: 58px;
  }

  .process-line p {
    font-size: 18px;
  }
}

/* Отзывы после FAQ */
.reviews__heading {
  margin-bottom: clamp(24px, 2.2vw, 38px);
}

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

.review-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  overflow: hidden;
  padding: clamp(28px, 2.2vw, 38px);
  background: #fff;
  border: 0;
  border-radius: 16px;
}

.service-conditions,
.seo-content.service-conditions {
  border-top: 0;
}

/* Финальный блок после отзывов */
.reviews {
  padding-bottom: clamp(36px, 4vw, 72px);
}

.closing-invite {
  padding: 0;
}

.closing-invite__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 560px) minmax(530px, 1.08fr);
  align-items: center;
  min-height: clamp(600px, 45vw, 720px);
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 42px) 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.closing-invite__start,
.closing-invite__next {
  position: relative;
  z-index: 2;
}

.closing-invite__start {
  align-self: center;
}

.closing-invite__start h2 {
  max-width: 7ch;
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(68px, 5.7vw, 110px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.055em;
}

.closing-invite__start h2 span {
  display: block;
  margin-top: .08em;
  color: var(--ink);
}

.closing-invite__button {
  width: auto;
  min-width: 300px;
  min-height: 64px;
  margin-top: clamp(34px, 4vw, 62px);
  padding-inline: 34px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.closing-invite__visual {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 48%;
  display: flex;
  width: clamp(520px, 42vw, 700px);
  height: 100%;
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.closing-invite__visual::after {
  content: none;
}

.closing-invite__visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.closing-invite__next {
  grid-column: 3;
  width: 100%;
  max-width: 590px;
  justify-self: end;
  text-align: right;
}

.closing-invite__lead {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 3.4vw, 66px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}

.closing-invite__next h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  width: 100%;
  font-size: clamp(54px, 4.15vw, 82px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
}

.closing-invite__next h3 span {
  display: block;
  color: var(--ink);
}

.closing-invite__next > p:last-child {
  max-width: 440px;
  margin: clamp(30px, 3.5vw, 54px) 0 0 auto;
  color: #333740;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 1.3vw, 24px);
  font-weight: 700;
  line-height: 1.42;
}

@media (max-width: 1180px) {
  .closing-invite__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 900px;
    align-items: start;
    gap: 24px;
    padding: 48px 44px 0;
  }

  .closing-invite__start h2 {
    font-size: 66px;
  }

  .closing-invite__next {
    grid-column: 2;
    max-width: none;
  }

  .closing-invite__lead {
    font-size: 42px;
  }

  .closing-invite__next h3 {
    font-size: 54px;
  }

  .closing-invite__button {
    min-width: 0;
    margin-top: 30px;
  }

  .closing-invite__next > p:last-child {
    margin-top: 24px;
    font-size: 18px;
  }

  .closing-invite__visual {
    left: 50%;
    width: min(68vw, 620px);
    height: 66%;
  }
}

@media (max-width: 760px) {
  .closing-invite__panel {
    display: block;
    min-height: 900px;
    padding: 18px 20px 0;
    border-radius: 0;
  }

  .closing-invite__start h2 {
    max-width: none;
    font-size: clamp(52px, 14vw, 64px);
    line-height: .86;
  }

  .closing-invite__start h2 span {
    display: block;
    margin-top: .08em;
  }

  .closing-invite__button {
    width: 100%;
    min-height: 58px;
    margin-top: 26px;
    font-size: 18px;
  }

  .closing-invite__next {
    max-width: none;
    margin-top: 42px;
    text-align: left;
  }

  .closing-invite__lead {
    font-size: 38px;
  }

  .closing-invite__next h3 {
    max-width: none;
    font-size: clamp(38px, 10.8vw, 50px);
    line-height: .86;
  }

  .closing-invite__next > p:last-child {
    max-width: 34ch;
    margin: 22px 0 0;
    font-size: 18px;
  }

  .closing-invite__visual {
    left: 50%;
    width: min(102vw, 470px);
    height: 46%;
  }
}

.review-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 1.4vw, 27px);
  font-weight: 800;
  line-height: 1.15;
}

.review-card > p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.18vw, 22px);
  font-weight: 500;
  line-height: 1.45;
}

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

  .review-card {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .reviews .container {
    width: calc(100% - 6px);
  }

  .reviews__grid {
    gap: 10px;
  }

  .review-card {
    min-height: 0;
    gap: 48px;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .review-card > p {
    font-size: 19px;
    line-height: 1.45;
  }
}

/* Структурный футер */
.site-footer {
  position: relative;
  padding: clamp(52px, 4.5vw, 78px) 0 26px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(22, 40, 72, .88), rgba(22, 40, 72, .92)),
    url("footer-camouflage.webp") center / cover no-repeat;
  border: 0;
  border-radius: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(to bottom, #0b57d0 0 2px, #ef3340 2px 5px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(150px, .72fr) minmax(210px, .9fr) minmax(230px, 1fr);
  align-items: start;
  gap: clamp(38px, 4vw, 76px);
}

.footer-intro {
  max-width: 390px;
}

.site-footer .footer-brand {
  position: static;
  display: inline-flex;
  width: auto;
  transform: none;
}

.site-footer .footer-brand .brand-logo {
  display: block;
  width: min(100%, 255px);
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-intro > p {
  max-width: 33ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer-primary,
.footer-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  border-radius: 9px;
  font: 700 15px/1 "Inter", Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.footer-primary {
  background: #0b57d0;
  border: 1px solid #0b57d0;
}

.footer-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .58);
}

.footer-primary:hover,
.footer-primary:focus-visible {
  background: #0847ad;
  border-color: #0847ad;
}

.footer-secondary:hover,
.footer-secondary:focus-visible {
  color: #24334f;
  background: #fff;
  border-color: #fff;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-column h2 {
  margin: 0 0 10px;
  color: #8fbdff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.footer-column > a,
.footer-contact > span {
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact .footer-phone {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 750;
}

.footer-contact > span {
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  font-weight: 600;
}

.footer-messengers {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.site-footer .footer-messengers a {
  min-height: 42px;
  padding: 0 15px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.site-footer .footer-messengers a:hover,
.site-footer .footer-messengers a:focus-visible {
  color: #24334f;
  background: #fff;
  border-color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(42px, 4vw, 68px);
  padding-top: 22px;
  color: rgba(255, 255, 255, .66);
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-bottom span:last-child {
  max-width: 630px;
  text-align: right;
}

@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1.35fr .8fr 1fr;
  }

  .footer-info {
    grid-column: 2 / -1;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding: 42px 0 92px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-intro {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-info {
    grid-column: 1 / -1;
  }

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

  .footer-primary,
  .footer-secondary {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
    margin-top: 42px;
  }

  .footer-bottom span:last-child {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-intro,
  .footer-info {
    grid-column: auto;
  }

  .footer-column {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
}

/* Единое телефонное поле с кодом России */
.lead-modal__phone-control {
  display: grid;
  grid-template-columns: 68px 58px minmax(0, 1fr);
  min-height: 70px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #9db7df;
  border-radius: 9px;
}

.lead-modal__country {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f5fa;
  border-right: 0;
}

.lead-modal__flag {
  display: block;
  width: 32px;
  height: 21px;
  flex: 0 0 32px;
  overflow: hidden;
  background: linear-gradient(to bottom, #fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666% 100%);
  border: 1px solid rgba(28, 39, 60, .2);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(28, 39, 60, .12);
}

.lead-modal__phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #202737;
  background: #f2f5fa;
  border-right: 1px solid #d5deeb;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.lead-modal__phone-control input,
.hero-form .lead-modal__phone-control input {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 0 18px;
  color: #161b27;
  -webkit-text-fill-color: #161b27;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  caret-color: #0b57d0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 1;
}

.lead-modal__phone-control input::placeholder,
.hero-form .lead-modal__phone-control input::placeholder {
  color: #667085;
  -webkit-text-fill-color: #667085;
  font-weight: 600;
  opacity: 1;
}

.lead-modal__phone-control input:hover,
.lead-modal__phone-control input:focus,
.lead-modal__phone-control input[aria-invalid="true"],
.hero-form .lead-modal__phone-control input:hover,
.hero-form .lead-modal__phone-control input:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.lead-modal__phone-control:focus-within {
  border-color: #0b57d0;
  box-shadow: 0 0 0 4px rgba(11, 87, 208, .16);
}

.action-form .lead-modal__phone-control,
.cta-replica__form .lead-modal__phone-control {
  background: #fff;
  border-color: rgba(255, 255, 255, .86);
}

.action-form .lead-modal__country,
.cta-replica__form .lead-modal__country {
  background: #f2f5fa;
  border-right: 0;
}

.action-form .lead-modal__phone-prefix,
.cta-replica__form .lead-modal__phone-prefix {
  color: #202737;
  background: #f2f5fa;
  border-right-color: #d5deeb;
}

.action-form .lead-modal__phone-control input,
.action-form .lead-modal__phone-control input:hover,
.action-form .lead-modal__phone-control input:focus,
.cta-replica__form .lead-modal__phone-control input,
.cta-replica__form .lead-modal__phone-control input:hover,
.cta-replica__form .lead-modal__phone-control input:focus {
  color: #161b27;
  -webkit-text-fill-color: #161b27;
  background: transparent;
  caret-color: #0b57d0;
}

.action-form .lead-modal__phone-control input::placeholder,
.cta-replica__form .lead-modal__phone-control input::placeholder {
  color: #667085;
  -webkit-text-fill-color: #667085;
}

/* Камуфляжный фон и триколор модального окна */
.lead-modal__backdrop {
  background: rgba(14, 22, 38, .78);
  backdrop-filter: blur(7px);
}

.lead-modal__dialog {
  isolation: isolate;
  overflow-x: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(22, 40, 72, .86), rgba(22, 40, 72, .92)),
    url("footer-camouflage.webp") center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(8, 15, 28, .38);
}

.lead-modal__dialog::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(to bottom, #fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666% 100%);
  pointer-events: none;
}

.lead-modal__heading h2 {
  color: #fff;
}

.lead-modal__payout {
  color: #202737;
  background: rgba(255, 255, 255, .92);
}

.lead-modal__close {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.lead-modal__close:hover,
.lead-modal__close:focus-visible {
  color: #202737;
  background: #fff;
}

.lead-modal__form .consent-check,
.lead-modal__form .consent-check a,
.lead-modal__form .field-error,
.lead-modal__form .form-status {
  color: #fff;
}

@media (max-width: 640px) {
  .lead-modal__phone-control {
    grid-template-columns: 58px 50px minmax(0, 1fr);
    min-height: 60px;
  }

  .lead-modal__flag {
    width: 29px;
    height: 19px;
    flex-basis: 29px;
  }

  .lead-modal__phone-prefix {
    font-size: 18px;
  }

  .lead-modal__phone-control input,
  .hero-form .lead-modal__phone-control input {
    min-height: 58px;
    padding-inline: 12px;
    font-size: 17px;
  }
}

/* Consolidated mobile layout */
@media (max-width: 700px) {
  :root {
    --mobile-gutter: 12px;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    min-width: 320px;
    font-size: 16px;
  }

  .container,
  .site-header .container,
  .header-inner,
  .hero-grid,
  .eligibility-grid,
  .service-conditions__panel,
  .payments > .container,
  .benefits > .container,
  .vacancies > .container,
  .process > .container,
  .social > .container,
  .faq > .container,
  .reviews > .container {
    width: calc(100% - (var(--mobile-gutter) * 2));
    max-width: none;
  }

  .section,
  .payments,
  .action-section,
  .seo-content,
  .final-cta {
    padding-bottom: 48px;
  }

  .section-heading,
  .section-heading.narrow-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .faq-heading h2,
  .reviews__heading h2 {
    max-width: 100%;
    font-size: clamp(31px, 8.8vw, 38px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
  }

  .section-heading p {
    font-size: 17px;
    line-height: 1.4;
  }

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

  .mobile-menu {
    position: fixed;
    z-index: 90;
    inset: var(--header-height) 0 0;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    padding: 18px 20px max(92px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ededf0;
    box-shadow: inset 0 1px 0 rgba(24, 34, 54, .06);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    min-height: 54px;
    padding: 14px 0;
    font-size: 19px;
    line-height: 1.2;
  }

  .mobile-menu .mobile-phone {
    margin-top: 24px;
    padding-bottom: 20px;
    font-size: 22px;
  }

  body.menu-open .quick-contact,
  body.menu-open .floating-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-grid {
    min-height: 438px;
    padding: 18px;
  }

  .hero-copy {
    min-height: 402px;
  }

  .hero-copy h1 {
    max-width: 330px;
    font-size: clamp(30px, 8.4vw, 34px);
    line-height: .94;
  }

  .hero-lead {
    width: max-content;
    max-width: 100%;
    padding: 9px 18px;
    font-size: clamp(15px, 4.2vw, 17px);
    text-align: center;
    white-space: normal;
  }

  .hero-actions .button {
    min-height: 60px;
    font-size: 18px;
  }

  .trust-grid {
    gap: 10px;
    padding: 0;
    scroll-padding-inline: var(--mobile-gutter);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    flex-basis: min(76vw, 244px);
    min-height: 152px;
    padding: 16px;
  }

  .trust-grid strong {
    font-size: 17px;
  }

  .trust-grid p {
    font-size: 15px;
    line-height: 1.3;
  }

  .eligibility-grid {
    gap: 28px;
    padding: 26px 20px;
    border-radius: 14px;
  }

  .eligibility-statement h2 {
    font-size: clamp(31px, 8.8vw, 36px);
    line-height: 1.03;
  }

  .eligibility-list {
    gap: 20px;
  }

  .eligibility-list p {
    font-size: 18px;
    line-height: 1.3;
  }

  .payment-showcase {
    gap: 12px;
  }

  .payment-showcase__featured,
  .payment-showcase__card,
  .payment-showcase__card--wide {
    border-radius: 14px;
  }

  .payment-showcase__featured {
    min-height: 320px;
    padding: 24px 20px;
  }

  .payment-showcase__card,
  .payment-showcase__card--wide {
    min-height: 146px;
    padding: 20px;
  }

  .contract-advantages__panel,
  .about__story {
    border-radius: 14px;
  }

  .contract-advantages__media {
    aspect-ratio: 16 / 11;
  }

  .contract-advantages__content {
    padding: 26px 20px 28px;
  }

  .contract-advantages__content::before {
    width: 104%;
  }

  .contract-advantages__content::after {
    width: calc(104% + 4px);
  }

  .contract-advantages__list li {
    margin-bottom: 24px;
  }

  .contract-advantages__list h3 {
    font-size: 24px;
  }

  .contract-advantages__list p {
    margin-top: 8px;
    font-size: 17px;
    line-height: 1.38;
  }

  .vacancy-grid {
    gap: 12px;
    padding-inline: 0;
  }

  .vacancy-item {
    border-radius: 14px;
  }

  .vacancy-item summary .vacancy-summary {
    min-height: 96px;
    padding: 16px 18px;
  }

  .vacancy-item summary .vacancy-summary > span {
    font-size: 22px;
  }

  .vacancy-item summary .vacancy-summary > b {
    font-size: 16px;
  }

  .vacancy-item > p {
    margin: 0 18px 14px;
    font-size: 16px;
  }

  .vacancy-item > a {
    margin: 0 18px 20px;
  }

  .process-line {
    gap: 10px;
    padding-inline: 0;
  }

  .process-line > li {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 14px;
  }

  .process-line > li > span {
    top: 16px;
    right: 16px;
    font-size: 52px;
  }

  .process-line h3 {
    margin-right: 62px;
    font-size: 24px;
    line-height: 1.08;
  }

  .process-line p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.42;
  }

  .process-cta {
    margin-top: 16px;
  }

  .service-conditions__panel {
    gap: 26px;
    padding: 26px 18px 20px;
  }

  .service-conditions__copy h2 {
    font-size: clamp(32px, 9vw, 38px);
  }

  .service-conditions__copy p {
    font-size: 17px;
  }

  .service-condition-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    min-height: 64px;
    padding: 11px 14px;
  }

  .service-condition-item img {
    width: 31px;
    height: 31px;
  }

  .service-condition-item span {
    font-size: 17px;
    line-height: 1.24;
  }

  .benefit-layout {
    gap: 10px;
    padding-inline: 0;
  }

  .benefit-card {
    min-height: 0;
    padding: 24px 78px 24px 20px;
    border-radius: 14px;
  }

  .benefit-icon {
    top: 20px;
    right: 18px;
    width: 50px;
    height: 50px;
  }

  .benefit-card h3 {
    font-size: 23px;
  }

  .benefit-card p {
    font-size: 17px;
  }

  .about__copy {
    padding: 28px 20px 30px;
  }

  .about__copy h3 {
    font-size: clamp(29px, 8vw, 33px);
    line-height: 1.04;
  }

  .about__copy > p:not(.about__name) {
    font-size: 17px;
    line-height: 1.43;
  }

  .about__army-badges {
    gap: 16px;
  }

  .about__army-badge {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .about__army-badge img {
    width: 52px;
    height: 68px;
  }

  .about__photo {
    aspect-ratio: 16 / 11;
  }

  .social-benefit-grid {
    gap: 12px;
  }

  .social-benefit-card:nth-child(n) {
    min-height: 0;
    padding: 24px 20px 26px;
    border-radius: 14px;
  }

  .social-benefit-card h3 {
    font-size: 24px;
  }

  .social-benefit-card li {
    font-size: 17px;
    line-height: 1.38;
  }

  .faq .faq-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
  }

  .faq-heading__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .faq-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
  }

  .faq-tab-list button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding-inline: 8px;
    font-size: 15px;
  }

  .faq .faq-heading .text-link {
    justify-self: start;
    margin: 0;
    font-size: 16px;
  }

  .faq .faq-list {
    gap: 10px;
  }

  .faq .faq-list details,
  .faq .faq-list details:last-child {
    border-radius: 12px;
  }

  .faq .faq-list summary {
    min-height: 76px;
    padding: 18px 54px 18px 18px;
    font-size: 20px;
    line-height: 1.25;
  }

  .faq .faq-list summary::after {
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .faq .faq-list details > p {
    padding: 0 18px 22px;
    font-size: 18px;
    line-height: 1.48;
  }

  .faq-more {
    min-height: 58px;
    font-size: 17px;
  }

  .action-panel,
  .cta-replica {
    border-radius: 14px;
  }

  .reviews__grid {
    gap: 12px;
  }

  .review-card {
    min-height: 0;
    justify-content: flex-start;
    gap: 22px;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .review-card h3 {
    font-size: 24px;
  }

  .review-card > p {
    font-size: 18px;
    line-height: 1.48;
  }

  .closing-invite__panel {
    width: calc(100% - (var(--mobile-gutter) * 2));
    min-height: 860px;
    padding: 22px 18px 0;
    border-radius: 14px 14px 0 0;
  }

  .closing-invite__start h2 {
    font-size: clamp(48px, 13.5vw, 58px);
  }

  .closing-invite__next {
    margin-top: 40px;
  }

  .closing-invite__lead {
    font-size: 36px;
  }

  .closing-invite__next h3 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: .9;
  }

  .closing-invite__visual {
    width: min(108vw, 455px);
    height: 45%;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-column {
    padding-top: 22px;
  }

  .lead-modal__dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    border-radius: 16px;
  }
}

@media (max-width: 370px) {
  :root {
    --mobile-gutter: 10px;
  }

  .hero-grid {
    padding-inline: 15px;
  }

  .hero-copy h1 {
    font-size: 29px;
  }

  .faq-tab-list button {
    font-size: 14px;
  }

  .benefit-card {
    padding-right: 70px;
  }

  .closing-invite__panel {
    min-height: 840px;
    padding-inline: 16px;
  }

  .lead-modal__phone-control {
    grid-template-columns: 50px 44px minmax(0, 1fr);
  }

  .lead-modal__phone-control input,
  .hero-form .lead-modal__phone-control input {
    padding-inline: 9px;
    font-size: 16px;
  }
}

/* Unified red treatment for every consultation CTA. */
.consultation-button,
.button.consultation-button,
.section .consultation-button,
.contract-advantages__action .consultation-button,
.service-conditions__copy .consultation-button,
.closing-invite .consultation-button {
  color: #fff;
  background: #f12f36;
  border-color: #f12f36;
}

.consultation-button:hover,
.consultation-button:focus-visible,
.button.consultation-button:hover,
.button.consultation-button:focus-visible,
.section .consultation-button:hover,
.section .consultation-button:focus-visible,
.contract-advantages__action .consultation-button:hover,
.contract-advantages__action .consultation-button:focus-visible,
.service-conditions__copy .consultation-button:hover,
.service-conditions__copy .consultation-button:focus-visible,
.closing-invite .consultation-button:hover,
.closing-invite .consultation-button:focus-visible {
  color: #fff;
  background: #d91f2a;
  border-color: #d91f2a;
}

/* Three-button mobile contact dock */
@media (max-width: 700px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .quick-contact {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    background: #162238;
    box-shadow: 0 -8px 28px rgba(18, 34, 61, .18);
  }

  .quick-contact__actions,
  .quick-contact.is-open .quick-contact__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .quick-contact__toggle {
    display: none;
  }

  .quick-contact__action,
  .quick-contact__action:hover,
  .quick-contact__action:focus-visible {
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 8px;
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: clamp(13px, 3.8vw, 16px);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transform: none;
  }

  .quick-contact__action:active {
    filter: brightness(.92);
    transform: translateY(1px);
  }

  .quick-contact__action--phone {
    order: 1;
    background: #ef3038;
  }

  .quick-contact__action.track-telegram {
    order: 2;
    background: #229ed9;
  }

  .quick-contact__action.track-max {
    order: 3;
    background: linear-gradient(135deg, #246af2 0%, #7341ed 100%);
  }

  .quick-contact__circle,
  .quick-contact__action:hover .quick-contact__circle,
  .quick-contact__action:focus-visible .quick-contact__circle {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    transform: none;
  }

  .quick-contact__circle img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    object-fit: cover;
  }

  .quick-contact__action.track-telegram .quick-contact__circle img {
    border-radius: 50%;
  }

  .quick-contact__phone-icon {
    display: block;
    color: #fff;
    font-family: "Segoe UI Symbol", Arial, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    transform: rotate(-15deg);
  }

  .quick-contact__action > span:last-child,
  .quick-contact__action:hover > span:last-child,
  .quick-contact__action:focus-visible > span:last-child {
    position: static;
    display: block;
    width: auto;
    padding: 0;
    color: #fff;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: none;
  }
}

@media (max-width: 350px) {
  .quick-contact__action,
  .quick-contact__action:hover,
  .quick-contact__action:focus-visible {
    gap: 5px;
    padding-inline: 5px;
    font-size: 12px;
  }

  .quick-contact__circle,
  .quick-contact__circle img {
    width: 24px;
    height: 24px;
  }
}

/* Swipeable mobile payout cards */
@media (max-width: 700px) {
  .trust-grid {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 0 var(--mobile-gutter) 4px;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    scroll-padding-inline: var(--mobile-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid::-webkit-scrollbar {
    display: none;
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(odd),
  .trust-grid > div:nth-child(even) {
    display: flex;
    flex: 0 0 min(80vw, 310px);
    flex-direction: column;
    min-width: 0;
    min-height: 190px;
    padding: 22px 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cbd8eb;
    border-radius: 26px;
    box-shadow: none;
    scroll-snap-align: start;
  }

  .trust-grid strong {
    min-height: 0;
    font-size: clamp(22px, 6.4vw, 27px);
    line-height: 1.05;
  }

  .trust-grid p {
    margin: auto 0 0;
    padding-top: 24px;
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.3;
  }

  .trust-grid > div:nth-child(2) {
    flex-basis: min(88vw, 340px);
  }

  .trust-grid > div:nth-child(2) p {
    font-size: clamp(14px, 3.8vw, 15px);
    white-space: nowrap;
  }
}

@media (max-width: 370px) {
  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(odd),
  .trust-grid > div:nth-child(even) {
    flex-basis: 82vw;
    min-height: 184px;
    padding: 20px 18px;
  }
}

/* Юридические документы в прокручиваемом окне */
html.legal-modal-open,
body.legal-modal-open {
  overflow: hidden;
}

.footer-info > button {
  display: inline;
  width: auto;
  min-height: 0;
  padding: 0;
  color: rgba(255, 255, 255, .9);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.footer-info > button:hover,
.footer-info > button:focus-visible {
  color: #fff;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-inline-link {
  display: inline;
  width: auto;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.legal-inline-link:hover,
.legal-inline-link:focus-visible {
  color: inherit;
  background: transparent;
  text-decoration-thickness: 2px;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(8, 15, 28, .82);
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(7px);
  animation: lead-modal-backdrop-in .2s ease both;
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  width: min(calc(100% - 28px), 1040px);
  max-height: min(calc(100dvh - 40px), 900px);
  overflow: hidden;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(rgba(22, 40, 72, .88), rgba(22, 40, 72, .92)),
    url("footer-camouflage.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(8, 15, 28, .48);
  animation: lead-modal-dialog-in .24s var(--ease) both;
}

.legal-modal__dialog::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(to bottom, #fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666% 100%);
  pointer-events: none;
}

.legal-modal__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 38px 26px;
  background: rgba(11, 28, 55, .42);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.legal-modal__heading {
  min-width: 0;
}

.legal-modal__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #8fbdff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-modal__heading h2 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.legal-modal__heading p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.legal-modal__close {
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0 0 2px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  font: inherit;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal__close:hover,
.legal-modal__close:focus-visible {
  color: #202737;
  background: #fff;
  border-color: #fff;
}

.legal-modal__body {
  position: relative;
  z-index: 1;
  padding: 30px 38px 38px;
  overflow-x: hidden;
  overflow-y: auto;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  font-weight: 520;
  line-height: 1.62;
  scrollbar-color: #2f82ff rgba(255, 255, 255, .08);
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.legal-modal__body::-webkit-scrollbar {
  width: 9px;
}

.legal-modal__body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
}

.legal-modal__body::-webkit-scrollbar-thumb {
  background: #2f82ff;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.legal-modal__body h3 {
  margin: 34px 0 14px;
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.018em;
}

.legal-modal__body h3:first-child {
  margin-top: 0;
}

.legal-modal__body p {
  margin: 0 0 16px;
}

.legal-modal__body ul {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding-left: 24px;
}

.legal-modal__body li::marker {
  color: #6aa6ff;
}

.legal-modal__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 18px 38px;
  color: rgba(255, 255, 255, .72);
  background: rgba(11, 28, 55, .56);
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 14px;
  font-weight: 700;
}

.legal-modal__footer button {
  min-height: 44px;
  padding: 0 24px;
  color: #0b57d0;
  background: #fff;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.legal-modal__footer button:hover,
.legal-modal__footer button:focus-visible {
  color: #fff;
  background: #0b57d0;
}

@media (max-width: 700px) {
  .legal-modal {
    padding: 10px;
  }

  .legal-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .legal-modal__header {
    gap: 15px;
    padding: 28px 20px 20px;
  }

  .legal-modal__eyebrow {
    font-size: 11px;
  }

  .legal-modal__heading h2 {
    font-size: clamp(25px, 7.4vw, 34px);
  }

  .legal-modal__heading p {
    margin-top: 9px;
    font-size: 14px;
  }

  .legal-modal__close {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .legal-modal__body {
    padding: 22px 20px 28px;
    font-size: 15px;
    line-height: 1.58;
  }

  .legal-modal__body h3 {
    margin-top: 28px;
    font-size: 21px;
  }

  .legal-modal__footer {
    padding: 13px 20px;
  }

  .legal-modal__footer span {
    display: none;
  }

  .legal-modal__footer button {
    width: 100%;
  }

  .footer-info > button {
    font-size: 16px;
  }
}

/* Rounded shell for the three-button mobile contact dock */
@media (max-width: 700px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .quick-contact {
    right: 8px;
    bottom: max(6px, env(safe-area-inset-bottom));
    left: 8px;
    width: auto;
    padding: 7px;
    background: #fff;
    border: 1px solid rgba(22, 34, 56, .1);
    border-radius: 17px;
    box-shadow: 0 10px 32px rgba(18, 34, 61, .24);
  }

  .quick-contact__actions,
  .quick-contact.is-open .quick-contact__actions {
    gap: 7px;
  }

  .quick-contact__action,
  .quick-contact__action:hover,
  .quick-contact__action:focus-visible {
    min-height: 58px;
    border-radius: 11px;
  }
}

@media (max-width: 350px) {
  .quick-contact {
    right: 5px;
    left: 5px;
    padding: 5px;
    border-radius: 14px;
  }

  .quick-contact__actions,
  .quick-contact.is-open .quick-contact__actions {
    gap: 5px;
  }

  .quick-contact__action,
  .quick-contact__action:hover,
  .quick-contact__action:focus-visible {
    min-height: 56px;
    border-radius: 10px;
  }
}

/* Mobile hero: full-bleed photograph with foreground copy */
@media (max-width: 700px) {
  .hero {
    padding: 14px 0 12px;
  }

  .hero-grid {
    isolation: isolate;
    min-height: 620px;
    padding: 20px;
    color: #fff;
    background: #111827;
    border-radius: 16px;
  }

  .hero-visual,
  .hero-photo {
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: inherit;
  }

  .hero-photo {
    overflow: hidden;
    background: #111827;
  }

  .hero-photo::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 15, 27, .04) 0%, rgba(9, 15, 27, .08) 38%, rgba(9, 15, 27, .56) 68%, rgba(9, 15, 27, .94) 100%);
    pointer-events: none;
  }

  .hero-photo img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    filter: saturate(1.02) contrast(1.04) brightness(.9);
    transform: scale(1.1);
    transform-origin: 70% center;
  }

  .hero-copy {
    z-index: 3;
    width: 100%;
    min-height: 580px;
    max-width: none;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 82px;
    text-align: center;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 340px;
    color: #fff;
    font-size: clamp(30px, 8vw, 32px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
  }

  .hero-copy h1 span:first-child {
    white-space: normal;
  }

  .hero-copy h1 span:nth-child(2) {
    color: #7db4ff;
  }

  .hero-copy h1 span:nth-child(3) {
    color: #7db4ff;
  }

  .hero-lead {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    max-width: 340px;
    margin-top: 16px;
    padding: 11px 14px;
    color: #fff;
    background: rgba(14, 21, 34, .78);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(5, 10, 19, .2);
    font-size: clamp(15px, 4.2vw, 17px);
    font-weight: 750;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
  }

  .hero-lead span,
  .hero-lead strong {
    display: block;
  }

  .hero-lead strong {
    font-size: clamp(19px, 5.5vw, 22px);
    font-weight: 800;
    line-height: 1.05;
  }

  .hero-actions {
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: auto;
  }

  .hero-actions .button {
    min-height: 58px;
    background: #0b57d0;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 12px 28px rgba(4, 22, 53, .28);
    font-size: 18px;
  }
}

@media (max-width: 370px) {
  .hero-grid {
    min-height: 600px;
    padding: 16px;
  }

  .hero-copy {
    min-height: 568px;
    padding-bottom: 78px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-actions {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
}

/* Mobile header, hero framing and compact 2x2 key figures */
@media (max-width: 700px) {
  :root {
    --header-height: 66px;
  }

  .site-header,
  .header-inner {
    min-height: var(--header-height);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    position: static;
    left: auto;
    flex: 0 1 auto;
    min-width: 0;
    transform: none;
  }

  .brand-logo {
    width: clamp(128px, 37vw, 150px);
  }

  .desktop-nav,
  .header-phone,
  .menu-button,
  .mobile-menu {
    display: none !important;
  }

  .header-actions {
    width: auto;
    margin: 0 0 0 auto;
    gap: 0;
  }

  .header-actions .button-small {
    display: inline-flex;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: clamp(12px, 3.55vw, 14px);
    white-space: nowrap;
  }

  .hero-photo img {
    object-position: 77% center;
    transform: scale(1.03);
    transform-origin: 77% center;
  }

  .trust-strip {
    margin: 0;
    padding: 0 0 42px;
  }

  .trust-grid {
    width: calc(100% - (var(--mobile-gutter) * 2));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cbd8eb;
    border-radius: 14px;
    scroll-snap-type: none;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    display: flex;
    flex: none;
    flex-direction: column;
    min-width: 0;
    min-height: 178px;
    padding: 20px 16px 18px;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-align: none;
  }

  .trust-grid > div:nth-child(odd) {
    border-right: 1px solid #cbd8eb;
  }

  .trust-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid #cbd8eb;
  }

  .trust-grid strong {
    min-height: 48px;
    font-size: clamp(19px, 5.5vw, 23px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.035em;
  }

  .trust-grid p {
    position: static;
    margin: 14px 0 0;
    color: #31394a;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 650;
    line-height: 1.28;
  }
}

@media (max-width: 370px) {
  .header-actions .button-small {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .brand-logo {
    width: 124px;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    min-height: 170px;
    padding: 18px 13px 16px;
  }

  .trust-grid strong {
    font-size: 18px;
  }
}

/* Final mobile alignment pass */
.action-payout__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.action-payout__copy > span,
.action-payout__copy > strong {
  display: block;
}

.action-payout__copy > strong {
  font-size: 1.12em;
  font-weight: 800;
  line-height: 1.05;
}

@media (max-width: 700px) {
  body {
    padding-bottom: 0;
  }

  .trust-grid {
    align-items: stretch;
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(odd),
  .trust-grid > div:nth-child(even) {
    display: grid;
    grid-template-rows: 52px auto;
    align-content: start;
    padding: 20px 16px 18px;
    overflow: visible;
  }

  .trust-grid strong {
    display: block;
    min-height: 0;
    align-self: start;
  }

  .trust-grid p {
    align-self: start;
    margin-top: 12px;
  }

  .process-line > li {
    isolation: isolate;
    min-height: 190px;
    overflow: hidden;
    padding: 22px 18px;
  }

  .process-line > li > span {
    z-index: 0;
    top: 12px;
    right: 4px;
    left: auto;
    display: block;
    width: auto;
    height: auto;
    color: rgba(11, 87, 208, .14);
    font-size: clamp(96px, 29vw, 118px);
    font-weight: 850;
    line-height: .76;
    text-align: right;
    pointer-events: none;
  }

  .process-line h3,
  .process-line p {
    position: relative;
    z-index: 1;
  }

  .process-line h3 {
    max-width: 78%;
    margin-right: 0;
  }

  .action-payout {
    align-items: center;
  }

  .action-payout__copy {
    gap: 2px;
    min-width: 0;
  }

  .action-payout__copy > span {
    font-size: 16px;
  }

  .action-payout__copy > strong {
    font-size: 21px;
  }

  .closing-invite,
  .closing-invite.section {
    margin: 0;
    padding: 0;
  }

  .closing-invite__panel {
    margin-bottom: 0;
  }

  .site-footer {
    margin-top: 0;
    padding-bottom: 28px;
  }

  .footer-bottom {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 370px) {
  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(odd),
  .trust-grid > div:nth-child(even) {
    grid-template-rows: 48px auto;
    padding: 18px 13px 16px;
  }

  .process-line > li > span {
    right: 2px;
    font-size: 100px;
  }
}

/* Keep payouts as a swipe carousel after the mobile alignment rules */
@media (max-width: 700px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .trust-grid {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 0 var(--mobile-gutter) 4px;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    scroll-padding-inline: var(--mobile-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid::-webkit-scrollbar {
    display: none;
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(odd),
  .trust-grid > div:nth-child(even) {
    display: flex;
    flex: 0 0 min(80vw, 310px);
    flex-direction: column;
    min-width: 0;
    min-height: 190px;
    padding: 22px 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cbd8eb;
    border-radius: 26px;
    box-shadow: none;
    scroll-snap-align: start;
  }

  .trust-grid strong {
    min-height: 0;
    font-size: clamp(22px, 6.4vw, 27px);
    line-height: 1.05;
  }

  .trust-grid p {
    margin: auto 0 0;
    padding-top: 24px;
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.3;
  }
}

@media (max-width: 370px) {
  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(odd),
  .trust-grid > div:nth-child(even) {
    flex-basis: 82vw;
    min-height: 184px;
    padding: 20px 18px;
  }
}

/* ==== Ребрендинг: эмблема + текстовый вордмарк «центр-участия.рф» ==== */
.brand {
  align-items: center;
}

.brand .brand-emblem {
  display: block;
  height: clamp(34px, 3vw, 46px);
  width: auto;
  object-fit: contain;
}

.brand .brand-name {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #10233f;
  white-space: nowrap;
}

.brand .brand-name .tld-flag {
  background: linear-gradient(180deg, #ffffff 0 34%, #0039a6 34% 67%, #d52b1e 67% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: .55px rgba(11, 27, 58, .5);
}

/* Футер (тёмный фон): эмблема белым силуэтом, текст белый */
.site-footer .footer-brand .brand-emblem {
  filter: brightness(0) invert(1);
  height: clamp(34px, 3vw, 44px);
}

.site-footer .footer-brand .brand-name {
  color: #fff;
}

.site-footer .footer-brand .brand-name .tld-flag {
  -webkit-text-stroke: 0;
}

@media (max-width: 640px) {
  .brand .brand-name {
    font-size: 17px;
  }
}
