:root {
  --blue: #0e63b6;
  --blue-dark: #1e3a5f;
  --green: #2caf38;
  --bg: #f4f7fb;
  --text: #27384a;
  --white: #ffffff;
  --line: #dbe4ee;
  --blue-soft: #e7f1fb;
  --green-soft: #e7f6ea;
  --navy-soft: #e8eef5;
  --shadow: 0 12px 32px rgba(30, 58, 95, 0.07);
  --radius: 16px;
  --font: Inter, Manrope, "Segoe UI", "Noto Sans", "Liberation Sans", "DejaVu Sans", sans-serif;
  --content: 1120px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img,
svg {
  max-width: 100%;
}

img {
  border: 0;
}

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

h1,
h2,
h3 {
  color: var(--blue-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 1.15rem + 2.4vw, 3.15rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.125rem;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

p {
  text-wrap: pretty;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 80;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--blue-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: none;
}

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

:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: var(--white);
  background: var(--blue);
}

.btn:hover {
  background: #0b549c;
}

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-soft);
}

.btn[aria-disabled="true"] {
  cursor: default;
}

.link-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.link-btn[aria-disabled="true"] {
  cursor: default;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand toggle"
    "actions actions"
    "nav nav";
  align-items: center;
  gap: 12px 16px;
  padding-block: 12px;
}

.brand {
  grid-area: brand;
  display: block;
  min-width: 0;
  line-height: 0;
}

.brand img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}

.nav-toggle {
  grid-area: toggle;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--blue-dark);
  cursor: pointer;
}

html.js .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle-box {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  grid-area: nav;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  width: 100%;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

html.js .site-nav {
  display: none;
}

html.js .site-nav.is-open {
  display: block;
}

.hero {
  background:
    radial-gradient(680px 320px at 100% 0%, rgba(14, 99, 182, 0.14), transparent 70%),
    radial-gradient(520px 280px at 0% 100%, rgba(44, 175, 56, 0.1), transparent 68%),
    linear-gradient(180deg, #e7f2fb 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 40px 48px;
}

.hero-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hero-copy p {
  max-width: 40rem;
  font-size: 1.0625rem;
}

.kicker {
  color: var(--blue);
  font-weight: 700;
}

.hero-note {
  color: var(--text);
  font-size: 0.975rem;
}

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

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin-inline: auto;
}

.section {
  padding-block: 48px;
}

.section-head {
  margin-bottom: 24px;
  max-width: 44rem;
}

.section-white {
  background: var(--white);
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-white .card {
  background: var(--bg);
  box-shadow: none;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.icon svg {
  display: block;
}

.icon-green {
  background: var(--green-soft);
  color: var(--green);
}

.icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-navy {
  background: var(--navy-soft);
  color: var(--blue-dark);
}

.card p {
  font-size: 0.975rem;
}

.services-login {
  margin-top: 20px;
}

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

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.step-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.about-panel {
  display: grid;
  gap: 20px;
  max-width: 46rem;
}

.about-panel p {
  font-size: 1.0625rem;
}

.notice {
  padding-block: 8px 28px;
}

.notice-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  background: var(--white);
  border: 1px solid #cfe0f3;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
}

.notice-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

.contacts address {
  font-style: normal;
}

.org-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.contact-role {
  margin-top: 4px;
}

.contact-fields {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.contact-fields a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-dark);
  font-weight: 700;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: 32px 28px;
}

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

.footer-brand {
  display: block;
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.footer-nav .link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav .link-btn:hover {
  color: var(--blue);
  text-decoration: underline;
}

.requisites {
  max-width: 40rem;
  white-space: pre-line;
}

.copyright {
  color: var(--text);
  font-size: 0.9375rem;
}

.policy {
  max-width: 46rem;
  padding-bottom: 24px;
}

.policy h1 {
  margin-bottom: 8px;
}

.policy h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.policy p {
  margin-top: 0.8rem;
}

.policy .doc-meta,
.policy .approval {
  margin-top: 1rem;
}

.policy .approval img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-top: 12px;
  background: var(--white);
}

@media (min-width: 390px) {
  .container {
    width: min(var(--content), calc(100% - 40px));
  }
}

@media (min-width: 768px) {
  .container {
    width: min(var(--content), calc(100% - 48px));
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand actions toggle"
      "nav nav nav";
    padding-block: 14px;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-actions .btn {
    width: auto;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding-top: 0;
  }

  .hero-grid {
    padding-block: 64px 72px;
  }

  .section {
    padding-block: 72px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .steps li {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }

  .footer-nav {
    justify-self: end;
  }

  .copyright,
  .requisites {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .header-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav actions";
    gap: 28px;
  }

  .nav-toggle,
  html.js .nav-toggle {
    display: none;
  }

  .site-nav,
  html.js .site-nav {
    display: block;
  }

  .site-nav ul {
    justify-content: center;
    gap: 8px 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 40px;
    padding-block: 72px 80px;
  }

  .hero-visual img {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

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

@media (min-width: 1440px) {
  :root {
    --content: 1180px;
  }

  .hero-grid {
    padding-block: 88px 96px;
  }

  .section {
    padding-block: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-toggle-box span {
    transition: none;
  }
}
