/* =====================================================================
   theme.css — визуальная полировка поверх Webflow-стилей (style.min.css)
   Подключается последним. Структура и разметка сайта не меняются.
   ===================================================================== */

:root {
  --primary-font: "Inter", "Nunito Sans", Arial, sans-serif;
  --heading-font: "Manrope", "Inter", Arial, sans-serif;

  --dark-gray-800: #1c2430;
  --text-muted: #5b6573;
  --white-200: #f6f8fa;
  --white-300: #e6eaf0;

  /* акцент: глубокий синий (имена переменных оставлены для совместимости с Webflow-стилями) */
  --primary-cyan: #2457c5;
  --primary-cyan-hover: #1b449c;
  --cyan-soft: #e9effb;
  --primary-purple: #2457c5;
  --accent-rgb: 36, 87, 197;

  --body-font: 1rem;
  --body-font-xs: .95rem;
  --body-line-height: 1.6em;
  --body-weight: 400;
  --body-letter-spacing: 0;

  --h6-rem: .95rem;
  --h6-weight: 600;
  --h6-letter-spacing: 0;

  --h1-rem: 3.25rem;
  --h1-line-height: 1.12em;
  --h1-weight: 800;
  --h1-letter-spacing: -.02em;
  --h1-rem-mobile: 2rem;

  --h2-rem: 2.25rem;
  --h2-weight: 700;
  --h2-letter-spacing: -.02em;
  --h2-rem-mobile: 1.6rem;

  --h3-rem: 1.6rem;
  --h3-weight: 700;
  --h4-rem: 1.3rem;
  --h4-weight: 700;
  --h5-rem: 1.15rem;
  --h5-weight: 700;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px rgba(28, 36, 48, .06), 0 1px 2px rgba(28, 36, 48, .04);
  --shadow-hover: 0 18px 40px rgba(28, 36, 48, .10);
  --section-x: 72px;
  --section-y: 104px;
}

/* ---------- базовая типографика ---------- */
.body {
  font-family: var(--primary-font);
  color: var(--dark-gray-800);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.heading, .heading-3, .heading-4, .heading-5, .heading-7,
.centered-heading, .memo-title, .memo-subtitle, .cta-box h2 {
  font-family: var(--heading-font);
  color: var(--dark-gray-800);
}

.heading {
  text-transform: none;
  letter-spacing: -.02em;
  max-width: 20ch;
}

.heading-2 {
  font-size: 1rem;
  line-height: 1.5em;
  color: var(--text-muted);
  max-width: 62ch;
  margin-top: 4px;
}

.heading-3,
.centered-heading {
  font-size: var(--h2-rem);
  font-weight: var(--h2-weight);
  letter-spacing: var(--h2-letter-spacing);
  line-height: 1.2em;
}

.heading-4 {
  font-size: var(--h4-rem);
  font-weight: var(--h4-weight);
  line-height: 1.3em;
  height: auto;
}

.heading-5 {
  font-size: var(--h5-rem);
  font-weight: var(--h5-weight);
  line-height: 1.3em;
  letter-spacing: 0;
}

.heading-6 {
  color: var(--primary-cyan);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.heading-7 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3em;
  text-align: left;
  margin-top: 16px;
  margin-bottom: 8px;
}

.body-text, .why-we, .featurestext, .paragraph, .body-text-highlight {
  font-size: var(--body-font-xs);
  line-height: 1.6em;
  letter-spacing: 0;
}

.body-text-highlight {
  font-weight: 700;
  color: var(--primary-cyan-hover);
}

.featurestext { font-size: .9rem; margin-right: 0; }

.paragraph { color: #2d3642; }

/* ---------- кнопки ---------- */
.button-primary,
.button-primary-color,
.w-button {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0;
  height: 48px;
  padding: 10px 22px;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button-primary {
  background-color: rgba(255, 255, 255, .85);
  border: 1px solid var(--white-300);
  backdrop-filter: blur(6px);
}

.button-primary:hover {
  background-color: #fff;
  box-shadow: var(--shadow-card);
}

.button-primary-color {
  background-color: var(--primary-cyan);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), .28);
}

.button-primary-color:hover {
  background-color: var(--primary-cyan-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(var(--accent-rgb), .34);
}

.button-flat-icon { transition: opacity .2s; }
.button-flat-icon:hover { opacity: .7; }

/* ---------- шапка ---------- */
.navbar-brand {
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.nav-menu { grid-column-gap: 12px; }

/* ---------- hero ---------- */
.hero { height: auto; min-height: 100svh; padding-top: 10vh; }
.hero-content { padding: 24px var(--section-x); max-height: none; }
.hero-text-wrapper { grid-row-gap: 12px; }
.hero-content > .div-block-4 { grid-row-gap: 20px; }
.hero .heading { font-size: min(var(--h1-rem), 2.9rem); }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hero-facts li { display: flex; align-items: center; gap: 12px; }
.hero-fact-num { font-family: var(--heading-font); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--primary-cyan); min-width: 3.2ch; }
.hero-fact-text { font-size: .95rem; line-height: 1.4; color: var(--dark-gray-800); max-width: 44ch; }
.hero-guarantee { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 10px; background: #eef3fc; border: 1px solid #d8e2f7; font-size: .9rem; line-height: 1.45; color: var(--dark-gray-800); max-width: 56ch; }
.hero-guarantee .ico { flex: 0 0 18px; width: 18px; height: 18px; color: var(--primary-cyan); }

/* ---------- секции: единый вертикальный ритм ---------- */
.section2, .section3, .section4, .section6 {
  padding: var(--section-y) var(--section-x);
}
.section5 { padding: var(--section-y) 0; min-height: auto; }

.container-2, .container-3, .container-4, .container-6, .container-7, .memo-container {
  max-width: 1440px;
}

.container-3, .container-4, .container-5 { grid-row-gap: 48px; }

/* «Как это работает» */
.container-2 {
  background-color: var(--white-200);
  border: 1px solid var(--white-300);
  border-radius: 24px;
  overflow: hidden;
  max-height: none;
  padding-left: 0;
  padding-right: 0;
  box-shadow: var(--shadow-card);
}
.container-2.container-shadow { max-height: none; }
.section2content { align-items: stretch; }
.description-image { border-radius: 0; }
.hero-split {
  max-width: 50%;
  padding: 56px 56px 56px 48px;
  grid-row-gap: 20px;
}
.body-text.fit { max-width: 60ch; }

/* «Почему именно мы» */
.why-us-cards-wrapper { grid-column-gap: 32px; align-items: stretch; }
.why-us-card {
  background-color: #fff;
  border: 1px solid var(--white-300);
  border-radius: var(--radius);
  max-width: 400px;
  padding: 16px 16px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.section3imagewrapper {
  background-image: none;
  background-color: var(--cyan-soft);
  border-radius: var(--radius-sm);
  height: 160px;
  padding: 16px;
  justify-content: center;
  align-items: center;
}
.team-block-info { padding: 8px 12px 0; grid-row-gap: 12px; }

/* «Этапы процедуры» */
.container-4 {
  background-image: none;
  background-color: #f6f8fa;
  border: 1px solid var(--white-300);
  border-radius: 24px;
  padding: 56px 48px 64px;
}
.section4.dark .centered-heading { color: var(--dark-gray-800); }
.step-cards-wrapper { grid-column-gap: 40px; grid-row-gap: 40px; grid-auto-flow: row; }
.step-card {
  background-color: #fff;
  border: 1px solid var(--white-300);
  border-radius: var(--radius);
  flex: 1;
  width: auto;
  padding: 20px 20px 20px 36px;
  box-shadow: var(--shadow-card);
}
.step-card .heading-5 { margin-top: 0; margin-bottom: 10px; }
.steps-icon-wrapper {
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid var(--primary-cyan);
  background-color: #fff;
  box-shadow: 0 6px 14px rgba(var(--accent-rgb), .18);
}

/* Форма */
.section6.dark.form { min-height: auto; }
.formwrapper {
  max-width: 460px;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--white-300);
  box-shadow: 0 24px 60px rgba(28, 36, 48, .10);
}
.body-form-text-wrapper { grid-row-gap: 8px; }
.form-2 { grid-row-gap: 18px; }
.field-label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.text-field {
  height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--white-300);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.text-field:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}
.form-2 p b { font-weight: 600; font-size: .85rem; color: var(--text-muted); }
.form-2 input[type="submit"] { width: 100%; }


/* Памятка */
.memo-title { font-size: 2.25rem; font-weight: 700; letter-spacing: -.02em; }
.memo-subtitle { font-size: 1.6rem; font-weight: 700; }
.memo-card h3 { font-family: var(--heading-font); font-weight: 700; font-size: 1.2rem; }
.memo-card p, .memo-card li { font-size: .95rem; }
.memo-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: none; }
.memo-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px; background: #fff;
  border: 1px solid var(--white-300); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.memo-item.is-alert { grid-column: 1 / -1; background: #fff5f5; border-color: #f5c6c6; }
.memo-mark {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); color: var(--primary-cyan);
  font-family: var(--heading-font); font-weight: 800; font-size: 1.05rem;
}
.memo-item.is-alert .memo-mark { background: #e53935; color: #fff; box-shadow: 0 8px 20px rgba(229, 57, 53, .28); }
.memo-mark .ico { width: 22px; height: 22px; }
.memo-body p { margin: 0; font-size: 1rem; line-height: 1.55; color: #2d3642; }
.memo-item.is-alert .memo-body p { font-family: var(--heading-font); font-weight: 700; font-size: 1.15rem; color: #b71c1c; }
.memo-body strong { text-transform: uppercase; letter-spacing: .04em; font-size: .92em; }
.cta-box { border-radius: 20px; border: 1px solid var(--white-300); box-shadow: var(--shadow-card); }
.cta-box h2 { font-size: 1.75rem; font-weight: 700; }

/* Логотипы партнёров */
.logos-marquee {
  padding: 32px 0;
  border-top: 1px solid var(--white-300);
  border-bottom: 1px solid var(--white-300);
}
.logo {
  height: 36px;
  margin-right: 72px;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s, opacity .25s;
}
.logo:hover { filter: none; opacity: 1; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }

/* Футер */
.footer {
  background-color: var(--white-200);
  border-top: 1px solid var(--white-300);
  border-bottom: 0;
  border-radius: 0;
  padding: 56px var(--section-x) 32px;
}
.footer-content-wrapper { max-width: 1440px; }
.title-small { font-family: var(--heading-font); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.footer-link, .footer-link-ob { font-size: .9rem; color: #2d3642; line-height: 1.4; }
.footer-link:hover { color: var(--primary-cyan-hover); }
.footer-copyright-center { color: var(--text-muted); font-size: .9rem; }

/* Юридические страницы и FAQ */
.legal-page-text-wrapper { max-width: 860px; margin-left: auto; margin-right: auto; }
.heading.legal { font-size: 2.25rem; max-width: none; margin-bottom: 24px; }
.heading-7.legal { text-align: left; font-size: 1.25rem; margin-top: 32px; }
.paragraph.legal { font-size: .95rem; line-height: 1.65em; }
.heading-7.legal.sub { font-size: 1.05rem; margin-top: 20px; margin-bottom: 6px; }
.legal-list { font-size: .95rem; line-height: 1.65em; margin: 0 0 12px; padding-left: 1.4em; }
.legal-list li { margin-bottom: 4px; }
.tab-button { font-family: var(--heading-font); font-weight: 600; border-radius: 10px 10px 0 0; }
.faq-item { border-radius: var(--radius); box-shadow: var(--shadow-card); border-color: var(--white-300); }
.faq-item h3 { font-family: var(--heading-font); }

/* Статус формы */
.form-status { font-weight: 500; }

/* ---------- адаптив ---------- */
@media (max-width: 991px) {
  :root { --section-x: 32px; --section-y: 72px; --h1-rem: 2.5rem; --h2-rem: 1.9rem; }
  .hero-split { max-width: 100%; padding: 32px; }
  .why-us-card { max-width: 100%; }
}

@media (max-width: 767px) {
  :root { --section-x: 20px; --section-y: 56px; --h1-rem: 2rem; --h2-rem: 1.6rem; }
  .memo-list { grid-template-columns: 1fr; }
  .heading { max-width: none; }
  .container-4 { padding: 32px 20px 40px; }
  .step-card { width: auto; }
  .formwrapper { padding: 24px; }
  .memo-title { font-size: 1.6rem; }
  .memo-subtitle { font-size: 1.3rem; }
}

/* =====================================================================
   Новые компоненты: иконки, схема, отзывы, блок заявки, статья
   ===================================================================== */

/* ---------- иконки ---------- */
.ico { width: 24px; height: 24px; flex-shrink: 0; }
.step-ico { width: 100%; height: 100%; color: var(--primary-cyan); }
.why-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), .12);
}
.why-icon .ico { width: 40px; height: 40px; }
.memo-card h3 { display: flex; align-items: center; gap: 10px; }
.memo-ico { width: 26px; height: 26px; }
.warning .memo-ico   { color: #ff9800; }
.danger .memo-ico    { color: #e53935; }
.success .memo-ico   { color: #4caf50; }
.important .memo-ico { color: #3f51b5; }

/* ---------- схема «Как проходит возврат» ---------- */
.description-image {
  background: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px;
  min-height: 100%;
  max-height: none;
  overflow: visible;
}
.flow { width: 100%; max-width: 360px; color: #fff; }
.flow-caption {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
.flow-steps { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: calc(50% + 28px);
  height: calc(100% - 56px);
  width: 1px;
  background: rgba(255, 255, 255, .35);
}
.flow-ico {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}
.flow-ico .ico { width: 22px; height: 22px; }
.flow-text { display: flex; flex-direction: column; gap: 2px; }
.flow-num { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.flow-label { font-family: var(--heading-font); font-weight: 600; font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
.flow-step:last-child .flow-ico { background: #fff; border-color: #fff; color: var(--primary-cyan); }
.flow-step:last-child .flow-num { color: rgba(255, 255, 255, .85); }

/* ---------- отзывы ---------- */
.customsliderwrapper { min-height: auto; }
.reviews { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--section-x); }
.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.review {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--white-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.review.is-active {
  display: flex;
  animation: reviewIn .6s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 130ms);
}
@keyframes reviewIn {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--cyan-soft); }
.review-avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-cyan); color: #fff; font-family: var(--heading-font); font-weight: 700; font-size: .95rem; letter-spacing: .02em; flex-shrink: 0; }
.review-name { margin: 0; font-weight: 700; font-size: 1rem; font-family: var(--heading-font); }
.review-meta { margin: 0; font-size: .85rem; color: var(--text-muted); }
.review-quote { margin-left: auto; width: 28px; height: 28px; color: var(--cyan-soft); }
.review-text { margin: 0; font-size: .95rem; line-height: 1.65em; color: #2d3642; }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.reviews-btn {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--white-300); background: #fff; color: var(--dark-gray-800);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.reviews-btn:hover { background: var(--primary-cyan); border-color: var(--primary-cyan); color: #fff; }
.reviews-btn .ico { width: 20px; height: 20px; }
.reviews-dots { display: flex; gap: 8px; }
.reviews-dot {
  width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: var(--white-300); transition: width .25s, background-color .25s;
}
.reviews-dot.is-current { width: 24px; background: var(--primary-cyan); }

/* ---------- блок заявки ---------- */
.section6.dark.form { background-image: none; background-color: #f6f8fa; }
.container-6 { width: 100%; max-width: 1200px; }
.section6content.lead {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.lead-info { display: flex; flex-direction: column; gap: 20px; }
.lead-kicker { text-align: left; margin: 0; }
.lead-title { text-align: left; font-size: 2rem; }
.lead-text { font-size: 1.05rem; color: var(--text-muted); max-width: 52ch; }
.lead-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.lead-list li { display: flex; gap: 14px; align-items: flex-start; }
.lead-list .ico {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: #fff; color: var(--primary-cyan); border: 1px solid var(--white-300);
}
.lead-list strong { display: block; font-weight: 700; margin-bottom: 2px; }
.lead-list span { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.lead-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.lead-stat {
  background: #fff; border: 1px solid var(--white-300); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.lead-stat-num { font-family: var(--heading-font); font-weight: 800; font-size: 1.6rem; color: var(--primary-cyan); line-height: 1; }
.lead-stat-label { font-size: .875rem; color: var(--text-muted); }
.lead-phone {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-family: var(--heading-font); font-weight: 700; font-size: 1.15rem; color: var(--dark-gray-800); text-decoration: none;
}
.lead-phone .ico { color: var(--primary-cyan); }
.lead-phone:hover { color: var(--primary-cyan); }
.lead .formwrapper { max-width: none; width: 100%; justify-self: stretch; }
.modal-form { width: 100%; max-width: 440px; }
/* Модалка: Webflow-анимация открытия уносит форму на -1000px и не всегда возвращает
   (после перезагрузки страницы форма оставалась за экраном). Транформ отключаем,
   появление делаем своей CSS-анимацией. Высота ограничена экраном, внутри скролл. */
.modal-wrapper { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 16px; }
.modal-wrapper .modal-form {
  transform: none !important;
  margin: auto 0;
  padding: 26px 28px 22px;
  /* Webflow центрирует содержимое по вертикали (justify-content:center): при нехватке
     высоты верх формы уезжал за край и был недоступен. Прижимаем к верху. */
  justify-content: flex-start;
  grid-row-gap: 14px; row-gap: 14px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto;
  animation: modal-in .28s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal-form .form-2 { grid-row-gap: 12px; }
.modal-form .form-modal-title-wrapper { margin-bottom: 8px; }
.modal-form .heading-5 { font-size: 1.15rem; line-height: 1.3; }
.modal-form .body-form-text { margin-bottom: 4px; font-size: .95rem; }
.modal-form .field-label { margin-bottom: 4px; }
.modal-form .text-field, .modal-form .w-select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.modal-form .form-note { margin-top: 8px; font-size: .78rem; line-height: 1.4; }
.form-note { font-size: .85rem; color: var(--text-muted); margin: 12px 0 0; line-height: 1.5; text-align: center; }

/* ---------- статья «О процедуре» (внутри «Как проходит возврат») ---------- */
.article-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-cyan); margin: 0 0 8px; }
.article-title { font-family: var(--heading-font); font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
.article-lead { font-size: 1.1rem; line-height: 1.6em; color: #2d3642; margin: 0 0 8px; }
.article-h { font-family: var(--heading-font); font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; }
.article p { font-size: 1rem; line-height: 1.7em; color: #2d3642; margin: 0 0 14px; }
.article-list { list-style: none; counter-reset: item; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.article-list li {
  counter-increment: item;
  position: relative;
  padding: 12px 16px 12px 56px;
  background: var(--white-200);
  border-radius: 12px;
  line-height: 1.6em;
  color: #2d3642;
}
.article-list li::before {
  content: counter(item);
  position: absolute; left: 14px; top: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-cyan); color: #fff;
  font-family: var(--heading-font); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.article-note {
  margin: 8px 0 40px;
  padding: 18px 22px;
  border-left: 4px solid var(--primary-cyan);
  background: var(--cyan-soft);
  border-radius: 0 12px 12px 0;
}
.article-note p { margin: 0; }

/* ---------- адаптив новых блоков ---------- */
@media (max-width: 991px) {
  .reviews-track { grid-template-columns: repeat(2, 1fr); }
  .section6content.lead { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .reviews-track { grid-template-columns: 1fr; }
  .lead-stats { grid-template-columns: 1fr 1fr; }
  .lead-title { font-size: 1.6rem; }
  .description-image { padding: 32px 20px; }
  .article-list li { padding-left: 50px; }
}

/* ---------- «Подробнее о процедуре» (раскрытие в секции «Как проходит возврат») ---------- */
.about { width: 100%; max-width: 1440px; margin: 28px auto 0; display: flex; flex-direction: column; align-items: center; }
.about-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid var(--white-300); background: #fff;
  color: var(--primary-cyan); font-family: var(--primary-font); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.about-toggle:hover { background: var(--primary-cyan); border-color: var(--primary-cyan); color: #fff; }
.about-toggle .ico { width: 18px; height: 18px; transition: transform .3s; }
.about-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.about-body {
  width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1);
}
.about.is-open .about-body { grid-template-rows: 1fr; }
.about-inner { overflow: hidden; }
.about .article {
  max-width: 860px;
  margin: 32px auto 0;
  padding: 40px 48px;
  border: 1px solid var(--white-300);
  border-radius: 24px;
  background: var(--white-200);
}
.about .article-title { margin-top: 0; }
.about .article-list li { background: #fff; }
@media (max-width: 767px) {
  .about .article { padding: 24px 18px; }
}

/* ---------- переключатель языков ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: #fff; border: 1px solid var(--white-300); border-radius: 999px; box-shadow: var(--shadow-card); }
.lang-link { font-family: var(--heading-font); font-size: .85rem; font-weight: 700; letter-spacing: .06em; line-height: 1; padding: 11px 12px; border-radius: 999px; color: var(--text-muted); text-decoration: none; transition: color .2s, background .2s; }
.lang-link:hover { color: var(--primary-cyan); }
.lang-link.is-current { background: var(--primary-cyan); color: #fff; }
.navbar-wrapper .navbar-brand { margin-right: auto; }

/* ---------- счётчик страниц отзывов (телефоны) ---------- */
.reviews-counter { display: none; min-width: 3.5em; text-align: center; font-size: .95rem; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* =====================================================================
   Мобильная шапка, модалка, схема — правки по аудиту 2026-09-11
   ===================================================================== */
@media (max-width: 991px) {
  .navbar-no-shadow {
    width: 100%; max-width: 100%; height: auto;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--white-300);
    padding-top: env(safe-area-inset-top);
  }
  .navbar-no-shadow-container { max-height: none; padding: 8px 16px; }
  .navbar-wrapper { justify-content: space-between; gap: 8px; }
  .navbar-wrapper .navbar-brand { flex: 0 0 auto; height: 40px; margin-right: auto; }
  .navbar-wrapper .navbar-brand .image-2 { display: block; height: 36px; width: auto; }
  .nav-menu-wrapper { flex: 0 0 auto; }
  .nav-menu { flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: center; grid-column-gap: 8px; grid-row-gap: 8px; }
  .header-menu-link-wrapper { display: none; }
  .nav-button-wrapper { width: auto; margin-left: 0; }
  .hero { padding-top: 72px; }
  .legal-page-wrapper { padding-top: 88px; }
  .description-image { min-height: 0; max-height: none; }
  .step-cards-wrapper { margin-left: 0; }
}

@media (max-width: 767px) {
  .modal-wrapper {
    align-items: flex-start; justify-content: center;
    height: 100vh; height: 100dvh; min-height: 0;
  }
  .modal-wrapper .modal-form { padding: 22px 18px 18px; }
  .text-field, .w-select { font-size: 16px; }
  .heading.legal { font-size: 1.6rem; line-height: 1.2; }
  .reviews-dots { display: none; }
  .reviews-counter { display: inline-block; }
  .div-block-2 { display: none; }
  .footer-link-ob { display: inline-block; padding: 6px 0; margin-top: 4px; margin-bottom: 0; }
  .footer-link { padding: 6px 0; }
}

@media (max-width: 479px) {
  .navbar-wrapper .navbar-brand .image-2 { height: 32px; }
  .lang-link { padding: 11px 9px; }
  /* Кнопка в шапке: только иконка (вариант mobile-minimized из Webflow), без наложения текста */
  .nav-button-wrapper .button-primary-color.w-variant-84208b92-ce90-97f8-2dee-5c4af8dd384b {
    width: 48px; padding: 0; font-size: 0; line-height: 0;
    background-image: url(../images/send-01.svg); background-size: 22px 22px; background-position: 50%; background-repeat: no-repeat;
  }
  /* Кнопка отправки в модалке остаётся с текстом */
  .modal-form .button-primary-color.w-variant-84208b92-ce90-97f8-2dee-5c4af8dd384b {
    width: 100%; background-image: none; font-size: .95rem; line-height: inherit; padding: 10px 22px;
  }
}

/* ---------- горизонтальный скролл ----------
   Webflow задаёт секциям и шапке width:100vw, а 100vw включает вертикальную полосу
   прокрутки (≈15px на десктопе). Отсюда лишние 15px и боковой скролл. */
.body { max-width: 100%; }
.navbar-no-shadow, .hero, .section, .section2, .section3, .section4, .section5, .section6, .section7,
.memo-section, .div-block-2, .testimonialstable { width: 100%; max-width: 100%; }
html, body { overflow-x: clip; }
