/*
  scenmeds.ru — стили на основе шаблона Bigspring Light (Themefisher, MIT).
  Палитра взята из исторического знака партнёрства: синий, красный, зелёный и оранжевый лепестки.
*/

/* ---------- Шрифты (локальные файлы, OFL) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold.woff") format("woff");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Токены ---------- */
:root {
  --primary: #1c6dc0;
  --primary-dark: #175da6;
  --primary-soft: #cfe1f5;
  --light: #edf4fb;
  --body: #ffffff;
  --border: #dce6f1;
  --text: #4a5a6e;
  --text-dark: #15283f;
  --red: #e3262b;
  --red-text: #c41f24;
  --green: #2fb344;
  --orange: #f08a24;
  --shadow: 0 12px 24px -6px rgba(45, 67, 121, 0.12);
  --shadow-lg: 0 1rem 3rem rgba(21, 40, 63, 0.14);
  --radius: 12px;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --h1: 2.986rem;
  --h2: 2.488rem;
  --h3: 2.074rem;
  --h4: 1.728rem;
  --h5: 1.44rem;
  --h6: 1.2rem;
}

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--body);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-feature-settings: "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--primary-dark);
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
h1,
.h1 {
  font-size: calc(var(--h1) * 0.8);
}
h2,
.h2 {
  font-size: calc(var(--h2) * 0.8);
}
h3,
.h3 {
  font-size: calc(var(--h3) * 0.8);
}
h4,
.h4 {
  font-size: var(--h6);
}
h5,
.h5 {
  font-size: 1.125rem;
}
h6,
.h6 {
  font-size: 1rem;
}
@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: var(--h1);
  }
  h2,
  .h2 {
    font-size: var(--h2);
  }
  h3,
  .h3 {
    font-size: var(--h3);
  }
  h4,
  .h4 {
    font-size: var(--h5);
  }
}
p {
  margin: 0;
}
b,
strong {
  font-weight: 600;
  color: var(--text-dark);
}
ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text-dark);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Сетка ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 70px 0;
}
.section-sm {
  padding: 48px 0;
}
.pb-0 {
  padding-bottom: 0;
}
.pt-0 {
  padding-top: 0;
}
.bg-light {
  background: var(--light);
}
.text-center {
  text-align: center;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p {
  margin-top: 14px;
}
.grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.layout-aside {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .layout-aside {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 56px;
    align-items: start;
  }
}

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
  transition: color 0.2s ease, box-shadow 0.3s ease;
}
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}
.btn:hover::after {
  width: 106%;
  height: 112%;
}
.btn-primary {
  color: #fff;
}
.btn-primary::after {
  background: var(--primary);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 24px -6px rgba(28, 109, 192, 0.35);
}
.btn-outline {
  color: var(--text-dark);
}
.btn-outline::after {
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  color: var(--primary);
}
.btn-sm {
  padding: 12px 22px;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
}
.cta-link img {
  width: 18px;
  height: 14px;
  transition: transform 0.3s ease;
}
.cta-link:hover img {
  transform: translateX(5px);
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.4) blur(6px);
}
.header.is-page {
  border-bottom-color: var(--border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  flex-shrink: 0;
}
.brand:hover {
  color: var(--text-dark);
}
.brand-mark {
  width: 46px;
  height: 40px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-text small {
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-text .b1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--primary);
}
.brand-text .b2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--red-text);
}

.nav-desktop {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 16px 11px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-dark);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--primary);
}
.nav-link[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--primary);
}

.nav-mobile {
  position: relative;
}
.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
}
.nav-mobile summary::-webkit-details-marker {
  display: none;
}
.nav-mobile summary svg {
  width: 20px;
  height: 20px;
}
.nav-mobile .icon-close {
  display: none;
}
.nav-mobile[open] .icon-close {
  display: block;
}
.nav-mobile[open] .icon-open {
  display: none;
}
.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(320px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.nav-mobile-panel ul {
  list-style: none;
}
.nav-mobile-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-dark);
}
.nav-mobile-panel a:hover,
.nav-mobile-panel a[aria-current="page"] {
  background: var(--light);
  color: var(--primary);
}
.nav-mobile-panel .btn {
  margin-top: 8px;
  width: 100%;
}
.nav-mobile-panel .btn:hover {
  background: transparent;
}
@media (min-width: 1140px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .nav-mobile {
    display: none;
  }
}
@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }
  .brand-text .b1,
  .brand-text .b2 {
    font-size: 0.9375rem;
  }
  .brand-mark {
    width: 38px;
    height: 33px;
  }
  .nav-mobile summary .label {
    display: none;
  }
}

/* ---------- Баннер главной ---------- */
.banner {
  padding: 56px 0 40px;
  text-align: center;
}
.banner-inner {
  max-width: 880px;
  margin: 0 auto;
}
.banner h1 {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.banner .lead {
  max-width: 660px;
  margin: 18px auto 0;
  font-size: 1.125rem;
}
.banner .btn-row {
  margin-top: 30px;
}
.banner-art {
  width: 100%;
  max-width: 980px;
  margin: 44px auto 0;
}
.banner-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 26px;
  font-size: 0.9375rem;
  list-style: none;
}
.banner-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.banner-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.banner-facts li:nth-child(2)::before {
  background: var(--orange);
}
.banner-facts li:nth-child(3)::before {
  background: var(--red);
}

/* ---------- Карточки возможностей ---------- */
.feature-card {
  padding: 28px 24px 32px;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: box-shadow 0.25s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}
.feature-card h3 {
  margin-top: 16px;
  font-size: var(--h6);
}
.feature-card p {
  margin-top: 10px;
}

/* ---------- Услуги (чередующиеся блоки) ---------- */
.service {
  display: grid;
  gap: 28px;
  align-items: center;
}
.service-art img {
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
}
.service h2 {
  font-size: calc(var(--h3) * 0.8);
  line-height: 1.25;
}
@media (min-width: 768px) {
  .service h2 {
    font-size: var(--h3);
  }
}
.service p {
  margin-top: 16px;
}
.service .cta-link {
  margin-top: 18px;
}
@media (min-width: 768px) {
  .service {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .service-reverse .service-art {
    order: 2;
  }
}
.tick-list {
  margin-top: 18px;
  list-style: none;
}
.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-top: 8px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--light) url("../img/check.svg") center / 12px no-repeat;
}

/* ---------- Документы ---------- */
.doc-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.doc-item:hover {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow);
  color: var(--text-dark);
}
.doc-type {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 52px;
  border-radius: 6px 14px 6px 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--red);
}
.doc-type.is-scan {
  background: var(--primary);
}
.doc-title {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}
.doc-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--text);
}
.doc-group + .doc-group {
  margin-top: 48px;
}
.doc-group-head {
  margin-bottom: 18px;
}
.doc-group-head h2 {
  font-size: var(--h5);
}
.doc-group-head p {
  margin-top: 6px;
}

.more-link {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Партнёры ---------- */
.partner-strip {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 190px;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  color: var(--text-dark);
  transition: box-shadow 0.25s ease;
}
.partner-tile.is-tinted {
  background: var(--light);
}
.partner-tile:hover {
  box-shadow: var(--shadow);
  color: var(--text-dark);
}
.partner-tile .logo-box {
  flex: 1;
  display: flex;
  align-items: center;
}
.partner-tile img {
  max-height: 72px;
  width: auto;
}
.partner-tile strong {
  display: block;
  font-size: 1rem;
}
.partner-tile span {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
}

.partner-block {
  display: grid;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.partner-block:first-child {
  border-top: 0;
  padding-top: 0;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--light);
}
.partner-logo img {
  max-height: 110px;
  width: auto;
}
.partner-body h2 {
  font-size: var(--h4);
}
.partner-body .role {
  margin-top: 6px;
  font-weight: 500;
  color: var(--primary);
}
.partner-body p + p {
  margin-top: 14px;
}
.partner-body .role + p {
  margin-top: 16px;
}
@media (min-width: 768px) {
  .partner-block {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

/* ---------- Призыв к действию ---------- */
.cta-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 48px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-card img {
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
}
.cta-card p {
  margin-top: 14px;
}
.cta-card .btn-row {
  margin-top: 24px;
}
@media (min-width: 768px) {
  .cta-card {
    grid-template-columns: 5fr 6fr;
    gap: 40px;
    padding: 56px 64px;
    text-align: left;
  }
  .cta-card .btn-row {
    justify-content: flex-start;
  }
}

/* ---------- Заголовок внутренних страниц ---------- */
.page-header {
  padding: 48px 0 52px;
  background: var(--light);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.625rem, 6.2vw, var(--h1));
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.page-header .lead {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 1.0625rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #9aa9bb;
}
.breadcrumbs a {
  color: var(--text);
}
.breadcrumbs a:hover {
  color: var(--primary);
}

/* ---------- Текстовые страницы ---------- */
.content {
  max-width: 72ch;
}
.content > * + * {
  margin-top: 18px;
}
.content h2 {
  margin-top: 40px;
  font-size: var(--h5);
}
.content h3 {
  margin-top: 28px;
  font-size: var(--h6);
}
.content ul {
  list-style: none;
  padding-left: 4px;
}
.content ul li {
  position: relative;
  padding-left: 22px;
}
.content ul li + li {
  margin-top: 8px;
}
.content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.content a {
  text-decoration: underline;
  text-decoration-color: var(--primary-soft);
  text-underline-offset: 3px;
}
.content a:hover {
  text-decoration-color: currentColor;
}
.content .lead-p {
  font-size: 1.125rem;
  color: var(--text-dark);
}

.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff6ec;
  color: #5b4630;
  font-size: 0.9375rem;
}
.notice strong {
  color: #3f2f1d;
}

.aside-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--light);
}
.aside-card + .aside-card {
  margin-top: 20px;
}
.aside-card h2 {
  font-size: var(--h6);
}
.aside-card p {
  margin-top: 10px;
  font-size: 0.9375rem;
}
.aside-card .btn {
  margin-top: 18px;
}
.aside-links {
  margin-top: 14px;
  list-style: none;
}
.aside-links li + li {
  margin-top: 4px;
}
.aside-links a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-weight: 500;
}
.aside-links a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-2px);
}
.phone-big {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}
@media (min-width: 1024px) {
  .aside-sticky {
    position: sticky;
    top: 100px;
  }
}

/* ---------- Учредители ---------- */
.person-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.person-initials {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
}
.person-card:nth-child(2) .person-initials {
  background: var(--red);
}
.person-card:nth-child(3) .person-initials {
  background: var(--green);
}
.person-card h3 {
  margin-top: 18px;
  font-size: var(--h6);
}
.person-card .role {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}
.person-card p {
  margin-top: 12px;
  font-size: 0.9375rem;
}

/* ---------- Шаги вступления ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
  list-style: none;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--light);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
}
.step h3 {
  margin-top: 16px;
  font-size: var(--h6);
}
.step p {
  margin-top: 8px;
  font-size: 0.9375rem;
}
.step .cta-link {
  margin-top: 14px;
}

.guarantees {
  display: grid;
  gap: 16px;
  list-style: none;
}
@media (min-width: 640px) {
  .guarantees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.guarantees li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.guarantees img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.guarantees strong {
  display: block;
}
.guarantees span {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
}

/* ---------- Контакты и форма ---------- */
.contact-layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
  }
}
.contact-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.contact-card + .contact-card {
  margin-top: 16px;
}
.contact-card h3 {
  font-size: var(--h6);
}
.contact-card .role {
  font-size: 0.875rem;
  color: var(--text);
}
.contact-lines {
  margin-top: 14px;
  list-style: none;
}
.contact-lines li + li {
  margin-top: 6px;
}
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-lines a:hover {
  color: var(--primary);
}
.contact-lines img {
  width: 20px;
  height: 20px;
}

.form-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .form-card {
    padding: 40px;
  }
}
.form-card h2 {
  font-size: var(--h4);
}
.form-card > p {
  margin-top: 8px;
}
.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field-full {
    grid-column: 1 / -1;
  }
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
}
.field label span {
  font-weight: 400;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(28, 109, 192, 0.14);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--light);
  font-size: 0.875rem;
  line-height: 1.6;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 0.9375rem;
  cursor: pointer;
}
.consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--primary);
}
.form-card .btn {
  margin-top: 24px;
}

/* ---------- Сканы документов ---------- */
.scan-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.scan-figure {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.scan-figure + .scan-figure {
  margin-top: 28px;
}
.scan-figure img {
  margin: 0 auto;
  border-radius: 4px;
}
.scan-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.875rem;
}
.scan-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* ---------- Пустые состояния / 404 / спасибо ---------- */
.state {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.state img {
  margin: 0 auto 28px;
  max-width: 300px;
}
.state p {
  margin-top: 14px;
}
.state .btn-row {
  margin-top: 28px;
}

/* ---------- Подвал ---------- */
.footer {
  padding-top: 64px;
  background: var(--light);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}
.footer h2 {
  font-size: 1.125rem;
}
.footer ul {
  margin-top: 16px;
  list-style: none;
}
.footer li + li {
  margin-top: 6px;
}
.footer a {
  color: var(--text);
}
.footer a:hover {
  color: var(--primary);
}
.footer-about p {
  margin-top: 14px;
  max-width: 34ch;
}
.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  text-align: center;
}

/* ---------- Мелкие отступы ---------- */
.more-gap {
  margin: 12px 0 18px;
}
.block-gap {
  margin: 56px 0 20px;
}
.feature-card.is-bordered {
  border: 1px solid var(--border);
}
.feature-card .cta-link {
  margin-top: 16px;
}
@media (max-width: 640px) {
  .breadcrumbs li[aria-current] {
    display: none;
  }
}
