/* AA Stetica Regular */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* AA Stetica Medium */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* AA Stetica Medium Italic */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Medium Italic.otf")
    format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* AA Stetica Light */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Light.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* AA Stetica Light Italic */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Light Italic.otf")
    format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* AA Stetica Italic */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Italic.otf")
    format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* AA Stetica Bold */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* AA Stetica Bold Italic */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Bold Italic.otf")
    format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* AA Stetica Black */
@font-face {
  font-family: "AA Stetica";
  src: url("/wp-content/themes/basic/fonts/AA-Stetica/AA Stetica Black_0.otf")
    format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


.pc__inner h2,
.pc__inner p {
  font-family: "AA Stetica", sans-serif;

}


html.is-menu-open, html.is-menu-open body { overflow: hidden; }

/* ===== Панель ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  visibility: hidden; opacity: 0;
  transform: translateX(100%);
  transition: transform .3s ease, opacity .3s ease, visibility .3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }

.mobile-menu__inner {
  display: flex; flex-direction: column;
  height: 100%;
  padding: 10px 10px 10px;
}

.mobile-menu__head { display: flex; align-items: center; gap: 6px; padding: 0 0 10px 0; }
.mobile-menu__logo { margin-right: auto; display: flex; }

.mobile-menu__search-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #1d1d1f; cursor: pointer;
}

.button_search-js {
  background: none;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__close { 
  padding: 0;
  border-radius: 16px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f3f3f5;
  border: none;
}

.mobile-menu__search { display: none; padding-bottom: 10px; }
.mobile-menu__search.is-open { display: block; }

.mobile-menu__body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  padding: 10px;
  background: #f2f2f4;
  border-radius: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Общие сбросы ===== */
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { text-decoration: none; }

.mobile-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.mm-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; cursor: pointer;
  color: #1d1d1f; background: transparent;
}
.mm-toggle svg { transition: transform .25s ease; }
.is-open > .mm-toggle svg { transform: rotate(180deg); }



/* ---------- Модальный поиск ---------- */
.ss {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.ss.is-open {
  display: flex;
  animation: ss-in 0.25s var(--ease);
  align-items: center;
  justify-content: center;
}

@keyframes ss-in {
  from {
    opacity: 0;
  }
}

/* .ss__backdrop {
  position: absolute;
  inset: 0;
  background: #fff;
}
.ss__panel {
  border-radius: 48px;
  position: absolute;
  max-width: 1440px;
  max-height: 885px;
  width: 100%;
  height: calc(100vh - 80px);
  overscroll-behavior: contain;
  background-color: #f3f3f5;
  overflow: hidden;
}

.ss__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  transition: background-color 0.2s, color 0.2s;
  background-color: transparent;
}

.ss__close:hover {
  color: var(--red);
}

.ss__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 0 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ss__title {
  font-weight: 500;
  font-size: 48px;
  line-height: 113%;
  text-align: center;
  font-family: "AA Stetica", sans-serif;
  color: #191c24;
  margin-bottom: 24px;
}

.ss__form {
  position: relative;
  width: 100%;
}

.ss__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #686d7f;
  pointer-events: none;
}
.ss__input {
  background-color: #fff;
  border: 1px solid #e9e9eb;
  border-radius: 20px;
  padding: 16px 16px 16px 56px !important;
  width: 100%;
  height: 58px;
  -webkit-appearance: none;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #686d7f;
  outline: none;
  font-family: "AA Stetica", sans-serif;
}
.ss__input:focus {
  border-color: #191c24;
  outline: none;
}
.ss__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #686d7f;
  cursor: pointer;
}
.ss__clear:hover {
  color: var(--red);
}

.ss__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 12px;
}
.ss__head-title {
  font-weight: 500;
  color: var(--black);
}
.ss__count {
  font-size: 14px;
  color: var(--text-2);
}

.ss__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.2s;
}
.ss.is-loading .ss__list {
  opacity: 0.5;
}
.ss__item a {
  position: relative;
  display: block;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.ss__item a:hover,
.ss__item a:focus-visible {
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.1);
}
.ss__item-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #191c24;
  max-width: 90%;
}

.ss__results .btn {
  display: block;
  margin: 15px auto 0;
}
.ss__item-text {
  margin-top: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #191c24;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ss__item a:hover .ss__item-ico path {
  stroke: #191C24;
}

.ss__item-ico {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
} */
/* .ss mark {
  padding: 0 2px;
  border-radius: 3px;
  background: var(--pink);
  color: var(--red);
} */

/* .ss__state {
  margin-top: 24px;
  text-align: center;
  color: var(--text-2);
}
.ss__state:empty {
  display: none;
}
.ss__more {
  display: flex;
  margin: 24px auto 0;
} */

.ss__results {
  flex: 1 1 auto;
  min-height: 0;              /* без этого flex-элемент не начнёт скроллиться */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;
  padding-bottom: 10px;
}
.ss__results::-webkit-scrollbar {
  display: none; 
}

@media (max-width: 1024px) {
  .ss__inner {
    padding: 40px 20px;
  }
  .ss__title {
    font-size: 40px;
  }
}

@media (max-width: 600px) {
  .ss__panel {
    max-height: unset;
    height: 100%;
    border-radius: 30px;
  }
  .ss__inner {
    padding: 80px 12px 10px;
  }
  .ss__title {
    font-size: 32px;
  }
  .ss__head {
    margin-top: 24px;
  }
}

:root {
  --red: #bc003b;
  --red-hover: #a30034;
  --black: #242a3d;
  --text: #242a3d;
  --text-2: #5c6172;
  --gray: #f3f3f5;
  --gray-2: #f9f9f9;
  --gray-3: #b8b8b9;
  --white: #fff;
  --pink: #fde6ed;
  --gradient: linear-gradient(171deg, #d51b56 7%, #a30638 92%);

  --font: "AA Stetica", "Manrope", "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1440px;
  --gutter: 40px;
  --section-gap: 140px;
  --radius-xl: 40px;
  --radius-l: 32px;
  --radius-m: 24px;
  --radius-s: 16px;
  --radius-xs: 12px;

  --h1: 64px;
  --h1-lh: 70px;
  --h2: 48px;
  --h2-lh: 54px;
  --h3: 32px;
  --h3-lh: 36px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* высота фиксированного верхнего меню сайта (если меню не фиксированное — 0px) */
  --flow-top: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  background: var(--white);
  transition: background-color 0.6s ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  padding: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ico {
  width: 24px;
  height: 24px;
  flex: none;
}
.ico--16 {
  width: 16px;
  height: 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Типографика ---------- */
.h2 {
  font-family: "AA Stetica", sans-serif;
  font-size: var(--h2);
  line-height: var(--h2-lh);
  font-weight: 500;
  color: var(--black);
  margin: 0 !important;
}
.h3 {
  font-family: "AA Stetica", sans-serif;
  font-size: var(--h3);
  line-height: var(--h3-lh);
  font-weight: 500;
  color: var(--black);
  padding: 0;
}

/* ---------- Кнопки ---------- */
.btn {
  font-family: "AA Stetica", sans-serif;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--radius-s);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.btn--sm {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 16px;
  line-height: 24px;
  border-radius: var(--radius-xs);
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: #bc003b;
  color: var(--white);
}
.btn--primary:hover {
  background: #e50049;
  color: #fff;
}
.btn--white {
  background: var(--white);
  color: var(--red);
}
.btn--white:hover {
  color: #e50049;
}
.btn--gray {
  background: var(--gray);
  color: var(--red);
}
.btn--gray:hover {
  background: #e9e9ec;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray);
  color: #4b5163;
  border: 0;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.icon-btn .ico {
  width: 20px;
  height: 20px;
}
.icon-btn:hover {
  color: var(--red);
}
.icon-btn--plain {
  background: transparent;
}
.icon-btn--white {
  background: var(--white);
  width: 48px;
  height: 48px;
}
.icon-btn--light {
  background: var(--white);
  color: var(--red);
}

/* ---------- Теги, бейджи ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 167%;
  background: var(--gray);
  color: var(--text-2);
  white-space: nowrap;
  font-weight: 500;
}
.tag--accent {
  background: var(--pink);
  color: var(--red);
}
.tag--white {
  background: var(--white);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--pink);
  color: var(--red);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 500;
  background: rgba(45, 52, 76, 0.2);
}

/* ---------- Карточки ---------- */
.card {
  border-radius: var(--radius-xl);
  padding: 40px 30px;
}
.card--gray {
  background: var(--gray);
}
.calc__summary.card--red {
  background:
    url("/wp-content/themes/basic/img/calc-bg.png"),
    linear-gradient(135deg, #D51B56 0%, #A30638 100%);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
}
#contact .contact {
    background:
    url("/wp-content/themes/basic/img/form-bg_red.png"),
    linear-gradient(135deg, #D51B56 0%, #A30638 100%);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
}

.result__price.card--red {
  background:
    url("/wp-content/themes/basic/img/result-price-bg_red.png"),
    linear-gradient(135deg, #D51B56 0%, #A30638 100%);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
}

.result__params .h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 133%;
  color: #191c24;
}

.result__hint {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
}

/* ---------- Поля ---------- */
.input {
  width: 100%;
  height: 58px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  background: var(--gray);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -moz-appearance: textfield;
}
.input::-webkit-outer-spin-button,
.input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input::placeholder {
  color: #8d91a0;
}
.input:focus {
  outline: none;
  border-color: #686d7f;
}
.input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(188, 0, 59, 0.12);
}
.input--white {
  background: var(--white);
}
.input--area {
  height: 100px;
  resize: vertical;
}

.form-note {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}
.form-note a {
  text-decoration: underline;
}
.form-success {
  font-weight: 500;
  color: var(--red);
}

/* =========================================================
   ШАПКА
   ========================================================= */
.header {
  position: relative;
  z-index: 50;
  background: transparent;
}
.header__top {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 84px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: calc(var(--gutter) + 20px);
  padding-right: calc(var(--gutter) + 20px);
}
.header__logo img {
  width: 180px;
  height: auto;
}
.header__nav {
  flex: 1;
}
.header__nav-list {
  display: flex;
  gap: 32px;
}
.header__nav-item {
  position: relative;
}
.header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--black);
  transition: color 0.2s;
}
.header__nav-link:hover,
.header__nav-link.is-current {
  color: var(--red);
}

.header__contacts {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
  line-height: 20px;
}
.header__phone {
  font-weight: 500;
  white-space: nowrap;
}
.header__messengers {
  order: 4;
  display: flex;
  gap: 8px;
  margin-left: -16px;
}
.header__actions {
  order: 5;
  display: none;
  align-items: center;
  gap: 12px;
}
.header__burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-m);
  background: var(--gray);
}
.header__cats {
  display: flex;
  gap: 12px;
}
.header__cat {
  position: relative;
}
.header__cat-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 12px 0 16px;
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.header__cat-link:hover {
  color: var(--red);
}
.caret-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray);
}
.header__bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 748px) minmax(0, 1fr);
  gap: 0 40px;
  align-items: center;
  min-height: 744px;
  padding: 78px 80px;
  border-radius: var(--radius-xl);
  background: var(--gray);
}
.hero__title {
  font-size: var(--h1);
  line-height: var(--h1-lh);
  font-weight: 500;
  color: var(--black);
}
.hero__lead {
  margin-top: 24px;
}
.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 64px;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  padding: 16px;
  border-radius: var(--radius-m);
  background: var(--white);
}
.price-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 52px;
  align-content: flex-start;
}
.price-card__price {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}
.price-card__price small,
.tariff__price small,
.case__price small,
.service__price small,
.calc__summary-price small {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  margin-left: -5px;
}
.service__price small {
  margin-left: -7px;
}
.price-card__note {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}
.hero__buttons {
  display: flex;
  gap: 20px;
  margin-top: 64px;
}
.hero__visual {
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: 100%;
  max-width: 526px;
}

/* Выпадающие меню (появляются, только если внутри есть пункты) */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: var(--radius-s);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(36, 42, 61, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s;
}
.dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
}
.dropdown a:hover {
  background: var(--gray);
  color: var(--red);
}
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(36, 42, 61, 0.4);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 24px 32px;
  background: var(--white);
  overflow-y: auto;
  animation: menu-in 0.3s var(--ease);
}
@keyframes menu-in {
  from {
    transform: translateX(100%);
  }
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__nav a {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 500;
}
.mobile-menu__nav a[aria-current] {
  color: var(--red);
}
.mobile-menu__nav hr {
  width: 100%;
  margin: 8px 0;
  border: 0;
  border-top: 1px solid var(--gray);
}
.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}
.mobile-menu__messengers {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* =========================================================
   СЕКЦИИ
   ========================================================= */
.section {
  padding-top: 0;
  margin-bottom: 0;
  margin-top: var(--section-gap);
}
.section--first {
  padding-top: 40px;
}
.section--band {
  margin-top: var(--section-gap);
  padding: 0;
}
/* Плавная смена фона страницы: класс .is-bg-gray ставит JS, когда серая секция в центре экрана */
body.is-bg-gray {
  background-color: var(--gray);
}
.no-js .section--band {
  background: var(--gray);
}
.section--band, .section-faq {
  margin-top: var(--section-gap);
}
footer {
  margin-top: var(--section-gap);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.section-head__text {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-head__lead {
  font-size: 16px;
  line-height: 24px;
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.section-head--center .section-head__lead {
  max-width: 800px;
}

/* Переключатель шагов */
.steps {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-s);
  background: var(--gray);
  flex: none;
  transition: background-color 0.6s ease;
}
.is-bg-gray .steps {
  background: var(--white);
}
.steps__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 89px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-xs);
  font-size: 18px;
  font-weight: 500;
  color: #5c6172;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.steps__item:hover {
  color: var(--red);
}
.steps__item.is-active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 5px 14px rgba(188, 0, 59, 0.15);
}

/* ---------- КАЛЬКУЛЯТОР: общая sticky-шапка шагов ---------- */
.calc-flow {
  position: relative;
  margin-top: var(--section-gap);
}

.calc-flow__head {
  position: sticky;
  top: var(--flow-top);
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color 0.6s ease;
}
.is-bg-gray .calc-flow__head {
  background: rgba(243, 243, 245, 0.92);
}

.calc-flow__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  /* min-height: 120px; */
  padding-top: 8px;
  padding-bottom: 8px;
}
.calc-flow__text {
  max-width: 880px;
}
.calc-flow__title {
  font-family: "AA Stetica", sans-serif;
  font-size: 48px;
  line-height: 113%;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: opacity 0.13s;
}
.calc-flow__title.is-swap {
  animation: flow-title-in 0.48s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.calc-flow__lead {
  font-size: 16px;
  line-height: 150%;
  color: var(--text-2);
  transition: opacity 0.13s;
}

.calc-flow__progress {
  height: 2px;
  background: rgba(36, 42, 61, 0.08);
}
.calc-flow__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 0.15s linear;
}

@keyframes flow-title-in {
  from {
    opacity: 0;
    transform: translateY(9px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.calc-flow .calc-step {
  padding-top: 0;
  scroll-margin-top: calc(var(--flow-top) + var(--flow-head-h, 120px));
  margin-top: 22px;
}
.calc-flow .section--band {
  /* margin-top: 80px; */
  /* padding: 80px 0; */
  margin-top: var(--section-gap);
  padding: 0;
}
.calc-flow .section--band + .calc-step {
  /* padding-top: 80px; */
  margin-top: var(--section-gap);
}
#result-form {
  scroll-margin-top: calc(var(--flow-top) + var(--flow-head-h, 120px) + 24px);
}

/* ---------- КАЛЬКУЛЯТОР (шаг 1) ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 953fr) minmax(0, 467fr);
  gap: 20px;
  align-items: start;
}
.calc__form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.calc__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc__label {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--black);
}
legend.calc__label {
  margin-bottom: 16px;
}
.calc__docs {
  max-width: 400px;
  background: var(--white);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-xs);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
  color: #4b5163;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.chip:hover span {
  color: var(--red);
}
.chip input:checked + span {
  background: var(--red);
  color: var(--white);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.check {
  position: relative;
  display: flex;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
}
.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check span::before {
  content: "";
  flex: none;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 2px 12px 0 0;
  vertical-align: top;
  border: 1.5px solid #8d91a0;
  border-radius: 5px;
  background: var(--white) center / 14px no-repeat;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.check span {
  display: flex;
}
.check input:checked + span::before {
  border-color: var(--red);
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:focus-visible + span::before {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.calc__summary {
  position: sticky;
  top: calc(var(--flow-top) + var(--flow-head-h, 120px) + 24px);
  display: flex;
  flex-direction: column;
}
.calc__summary-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}
.calc__summary-price {
  margin-top: 8px;
  font-size: 48px;
  line-height: 48px;
  font-weight: 700;
}
.calc__summary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0 48px;
}
.calc__summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
}
.calc__summary-note {
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.9;
}

/* ---------- ТАРИФЫ (шаг 2) ---------- */
.tariffs {
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding-top: 36px;
}
.tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-l);
  background: var(--white);
  transition: box-shadow 0.25s;
}
.tariff--popular {
  box-shadow: 0 10px 30px rgba(36, 42, 61, 0.08);
}
.tariff__badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  z-index: -1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  height: 64px;
  margin-bottom: -28px;
  padding-top: 8px;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  background: linear-gradient(180deg, #fbd9e3, #fdeef2);
  color: var(--red);
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
}
.tariff__title {
  font-size: var(--h3);
  line-height: var(--h3-lh);
  font-weight: 500;
  color: #191c24;
  font-family: "AA Stetica", sans-serif;
}
.tariff__desc {
  margin-top: 12px;
  min-height: 48px;
  color: #191c24;
}
.tariff__price {
  margin-top: 32px;
  font-size: 48px;
  line-height: 54px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}
.tariff__coef {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}
.tariff .btn {
  margin-top: 24px;
}
.tariff__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  font-size: 14px;
  line-height: 20px;
}
.tariff__list li {
  position: relative;
  padding-left: 26px;
}
.tariff__list li::before {
  border-radius: 50%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--gray)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23242a3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.tariff__list b {
  font-weight: 700;
}

/* Сравнение */
.compare {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--gray-2);
}
.compare__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.compare__title {
  font-family: "AA Stetica", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--black);
}
.compare__toggle {
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  flex: none;
}
.compare__toggle-plus {
  position: absolute;
  width: 10px;
  height: 1.8px;
  background: currentColor;
  transform: rotate(90deg);
  border-radius: 2px;
  transition: transform 0.25s;
}
.compare.is-open .compare__toggle-plus {
  transform: rotate(0deg);
  opacity: 0;
}
.compare__lead {
  max-width: 800px;
  margin-top: 12px;
}
.compare__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.compare:not(.is-open) .compare__body {
  grid-template-rows: 0fr;
}
.compare__scroll {
  overflow: hidden;
}
.compare__table {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-l);
  background: var(--white);
}
.compare__row {
  display: grid;
  grid-template-columns: minmax(0, 412fr) repeat(3, minmax(0, 275fr));
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  margin-top: 4px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  line-height: 20px;
}
.compare__row:nth-child(even) {
  background: var(--gray);
}
.compare__row--head {
  margin: 0 0 16px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 28px;
  font-size: 14px;
  color: var(--text-2);
}
.compare__row--head b {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  color: var(--black);
  margin-right: 6px;
}
.compare__row--head > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
}
.compare__price {
  font-style: normal;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--pink);
  color: var(--red);
  font-size: 10px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.compare__param {
  color: #4b5163;
  font-weight: 500;
}
.compare__row b {
  font-weight: 700;
}
.compare__foot {
  display: grid;
  grid-template-columns: minmax(0, 412fr) repeat(3, minmax(0, 275fr));
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  padding: 0 16px;
}
.compare__note {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-2);
  padding-right: 24px;
}

/* ---------- РЕЗУЛЬТАТ (шаг 3) ---------- */
.result {
  display: grid;
  grid-template-columns: minmax(0, 953fr) minmax(0, 467fr);
  gap: 20px;
  align-items: start;
}
.result__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.result__price-title {
  font-size: 32px;
  line-height: 36px;
  font-weight: 500;
}
.result__price-value {
  margin-top: 32px;
  font-size: 80px;
  line-height: 80px;
  font-weight: 700;
  white-space: nowrap;
}
.result__price-value small {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  margin-left: -5px;
}
.result__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.result__chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}
.result__chips .ico {
  width: 20px;
  height: 20px;
}
.result__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-weight: 500;
}
.result__note .ico {
  color: var(--white);
  --glyph: var(--red);
}
.result__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.result__grid div {
  padding: 16px 20px;
  border-radius: var(--radius-s);
  background: var(--white);
}
.result__grid dt {
  color: var(--text-2);
}
.result__grid dd {
  margin-top: 4px;
  font-weight: 500;
  color: var(--black);
}

.result__lead {
  padding: 32px;
  height: 100%;
}
.result__photo {
  width: 245px;
  height: 242px;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.result__lead-body {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  padding: 0 8px;
}

.result__photo-wrap {
  position: relative;
  width: 245px;
  max-width: 100%;
  flex-shrink: 0;
}

.result__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.result__photo-icons {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result__photo-icons li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
}
.result__lead-body .h3 {
font-weight: 500;
    font-size: 32px;
    line-height: 113%;
    font-family: "AA Stetica", sans-serif;
}
.result__lead-text {
  font-weight: 500;
  margin-top: 16px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 16px;
}

.lead-form .btn--primary {
  margin-top: 16px;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ---------- ПОХОЖИЕ КОМПАНИИ ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.case {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  padding: 24px 32px;
  border-radius: var(--radius-l);
  background: var(--gray);
}
.case__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--red);
  font-family: "AA Stetica", sans-serif;
  padding: 0;
}
.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.case__price {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}
.case small {
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
}
/* ---------- КАК ФОРМИРУЕТСЯ ЦЕНА ---------- */
.story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.story__title {
  max-width: 710px;
}
.story__media {
  display: flex;
  margin-top: 40px;
}
.story__media img {
  width: 100%;
  max-width: 519px;
}
.story__steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-top: 148px;
}
.story__num {
  display: block;
  font-size: 72px;
  line-height: 72px;
  font-weight: 500;
  color: var(--gray-3);
}
.story__step-title {
  margin-top: 24px;
  padding: 0;
  font-size: 32px;
  line-height: 36px;
  font-weight: 500;
  color: var(--black);
  font-family: "AA Stetica", sans-serif;
}
.story__step-text {
  max-width: 588px;
  margin-top: 20px;
  color: var(--text-2);
}

.section.section-includes {
  margin-top: 0;
}

/* Sticky-режим (только ≥1280, включается JS) */
@media (min-width: 1280px) {
  .story.is-sticky {
    --story-steps: 3;
    --story-step-scroll: 60vh;
    height: calc(100vh + var(--story-steps) * var(--story-step-scroll));
    padding-top: 0;
    margin-top: 0;
  }
  .story.is-sticky .story__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
  }
  .story.is-sticky .story__steps {
    display: grid;
    padding-top: 0;
    align-items: center;
  }
  .story.is-sticky .story__step {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
    transition:
      opacity 0.55s ease,
      transform 0.55s var(--ease);
  }
  .story.is-sticky .story__step.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition-delay: 0.15s;
  }
  .story.is-sticky .story__step.is-past {
    opacity: 0;
    transform: translateY(-40px);
  }
  .story.is-sticky .story__media img {
    max-height: 55vh;
    width: auto;
  }
}

/* ---------- ЧТО ВХОДИТ В СТОИМОСТЬ ---------- */
.includes {
  --inc-text: var(--white);
  --inc-tab: var(--white);
  --inc-tab-r: 16px;
  --inc-chip-r: 20px;
  --inc-tick: var(--red);
  --inc-info: var(--white);
  --inc-info-glyph: var(--red);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px;
  border-radius: var(--radius-xl);
  background: var(--gray);
  color: var(--inc-text);
  transition: color 0.4s ease;
}
.includes::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient);
  transition: opacity 0.4s ease;
}
.includes[data-state="extra"] {
  --inc-text: var(--black);
  --inc-tab: var(--gray-3);
  --inc-tab-r: 12px;
  --inc-chip-r: 16px;
  --inc-tick: var(--gray-3);
  --inc-info: var(--red);
  --inc-info-glyph: var(--white);
}
.includes[data-state="extra"]::before {
  opacity: 0;
}
.includes__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  text-align: center;
}
.includes__head .h2 {
  color: inherit;
}
.includes__tabs {
  display: flex;
  gap: 8px;
  margin-top: -8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}
.includes__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 256px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--inc-tab-r);
  background: transparent;
  color: var(--inc-tab);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.4s,
    color 0.4s,
    border-radius 0.4s;
}
.includes__tab.is-active {
  background: var(--white);
  color: var(--red);
  cursor: default;
}
.includes__tab.is-active > svg path {
  fill: var(--red);
}
.includes__info {
  color: var(--inc-info);
  --glyph: var(--inc-info-glyph);
  transition: color 0.4s;
}
.includes__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: -8px;
}
.includes__list.is-entering {
  animation: fade-up 0.4s var(--ease) both;
}
.includes__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 16px 20px;
  border-radius: var(--inc-chip-r);
  background: var(--white);
  color: var(--black);
  font-weight: 500;
  transition: border-radius 0.4s;
}
.includes__list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 20px no-repeat,
    var(--inc-tick);
  transition: background-color 0.4s;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- ОТДЕЛЬНЫЕ УСЛУГИ ---------- */
.services {
  display: grid;
  grid-template-columns: minmax(0, 832fr) minmax(0, 588fr);
  gap: 20px;
  align-items: start;
}
.services__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-l);
  background: var(--white);
}
.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.service__title {
  font-size: var(--h3);
  line-height: var(--h3-lh);
  font-weight: 500;
  color: var(--black);
}
.service__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.service__info {
  margin-left: auto;
  position: relative;
  display: inline-flex;
  color: var(--red);
  cursor: help;
}
.service__info--gray {
  color: var(--gray-3);
}
.tooltip {
  position: absolute;
  right: -12px;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: 328px;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  background: var(--pink);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(36, 42, 61, 0.08);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: 0.2s;
}
.service__info:hover .tooltip,
.service__info:focus .tooltip {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.service__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
}
.service__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.service__price {
  font-size: 48px;
  line-height: 54px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}

.services__acc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc {
  border-radius: var(--radius-l);
  background: var(--gray-2);
}
.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding: 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  list-style: none;
}
.acc__head::-webkit-details-marker {
  display: none;
}
.chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  flex: none;
  transition: transform 0.25s;
}
details[open] > summary .chev {
  transform: rotate(180deg);
}
.acc__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px 24px;
}
.acc__list:empty {
  display: none;
}
.acc__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  background: var(--white);
  font-size: 16px;
  line-height: 20px;
}
.acc__list b {
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq__title {
  text-align: center;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.faq__item {
  border-radius: var(--radius-m);
  background: var(--gray);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__a {
  padding: 0 24px 24px;
  margin-top: -8px;
  color: var(--text-2);
}
.faq__item[open] .faq__a {
  animation: fade-up 0.3s var(--ease);
}

/* ---------- КОНТАКТЫ ---------- */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 708fr) minmax(0, 732fr);
  border-radius: var(--radius-xl);
  background: var(--gradient);
  color: var(--white);
  overflow: hidden;
}
.contact__info {
  padding: 48px 0 48px 64px;
}
.contact__title {
  max-width: 644px;
  color: var(--white);
}
.contact__lead {
  max-width: 644px;
  margin-top: 24px;
  font-weight: 500;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
}
.contact__list dt {
  font-weight: 500;
  opacity: 0.9;
}
.contact__list dd {
  margin-top: 12px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
}
.contact__messengers {
  display: flex;
  gap: 12px;
}
.contact__form-card {
  margin: 20px 20px 20px 80px;
  padding: 40px;
  border-radius: var(--radius-l);
  background: var(--white);
  color: var(--text);
}
.contact__form-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.contact__form-lead {
  max-width: 391px;
  margin-top: 20px;
  font-weight: 500;
}
.contact__form {
  gap: 24px;
  margin-top: 48px;
}
.contact__pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.contact__submit {
  margin-top: 16px;
}
.contact__form .form-note {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  font-weight: 400;
}

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer {
  padding: 0 40px 40px;
  background-color: transparent;
}
.footer__wrap {
  padding: 60px 0 40px;
  border-radius: var(--radius-xl);
  background: var(--gray);
}
.footer__card {
  padding: 40px;
  border-radius: var(--radius-l);
  background: var(--white);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__top img {
  width: 213px;
}
.footer__cols,
.footer__offices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.footer__cols {
  margin-top: 48px;
}
.footer__label {
  margin-bottom: 12px;
  font-weight: 500;
}
.footer__hours {
  color: var(--text-2);
}
.footer__hours span {
  margin-right: 6px;
}
.footer__strong {
  font-weight: 500;
}
.footer__icons {
  display: flex;
  gap: 8px;
}
.footer__offices {
  row-gap: 20px;
  margin-top: 40px;
  padding: 0 40px;
  font-size: 14px;
  line-height: 22px;
}
.footer__offices li {
  display: flex;
  flex-direction: column;
}
.footer__offices b {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a:hover {
  color: var(--red);
}

/* ---------- Иконка «входящий звонок» в форме ---------- */
.contact__avatar {
  position: relative;
  width: 100px;
  height: 86px;
  flex: none;
  margin: -8px -8px 0 0;
}
.contact__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contact__call {
  position: absolute;
  left: 1%;
  top: 51%;
  width: 38%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  box-shadow: 0 4px 12px rgba(36, 42, 61, 0.12);
}
.contact__call .ico {
  width: 55%;
  height: 55%;
  transform-origin: 50% 50%;
  animation: ring 3s ease-in-out infinite;
}
/* 1,1 с покачивания (≈37% от 3 с) + 1,9 с паузы */
@keyframes ring {
  0% {
    transform: rotate(0);
  }
  6% {
    transform: rotate(-14deg);
  }
  12% {
    transform: rotate(12deg);
  }
  18% {
    transform: rotate(-10deg);
  }
  24% {
    transform: rotate(7deg);
  }
  30% {
    transform: rotate(-3deg);
  }
  36.7% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}

/* =========================================================
   ≤1279 — макет 1024
   ========================================================= */

@media (max-width: 1500px) {
  .services {
    grid-template-columns: minmax(0, 588fr) minmax(0, 588fr);
  }
  .story__inner {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  }
  .story.is-sticky .story__steps {
    align-items: start;
    margin-top: 160px;
  }
}
@media (max-width: 1279px) {
  :root {
    --h1: 48px;
    --h1-lh: 56px;
    --h2: 36px;
    --h2-lh: 44px;
    --h3: 28px;
    --h3-lh: 34px;
    --section-gap: 100px;
  }

  .header__top {
    gap: 16px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .header__nav,
  .header__bottom {
    display: none;
  }
  .header__messengers {
    order: 2;
    margin-left: 0;
  }
  .header__contacts {
    order: 3;
    align-items: flex-start;
    margin-right: auto;
  }
  .header__actions,
  .header__burger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 48px 48px 40px;
  }
  .hero__buttons .btn {
    flex: 1;
  }
  .hero__visual {
    margin-top: 40px;
  }
  .hero__visual img {
    max-width: 420px;
  }

  .calc,
  .result {
    grid-template-columns: 1fr;
  }
  .calc__summary {
    position: static;
  }
  .result__lead {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 32px;
    align-items: start;
  }
  .result__lead-body {
    margin-top: 0;
    padding: 0;
  }

  .tariff__price,
  .service__price {
    font-size: 40px;
    line-height: 48px;
  }
  .compare__row,
  .compare__foot {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  }
  .result__price-value {
    font-size: 64px;
    line-height: 64px;
  }
  .case__price {
    font-size: 28px;
  }

  .story__steps {
    padding-top: 40px;
    gap: 48px;
  }
  .story__step-title {
    font-size: 26px;
    line-height: 32px;
  }

  .compare__row--head > span {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .case {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 24px;
  }
  .case__price {
    font-size: 24px;
    line-height: 32px;
  }

  .story__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    column-gap: 24px;
  }
  .story__left {
    display: contents;
  }
  .story__title {
    grid-column: 1;
    grid-row: 1;
  }
  .story__media {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 32px;
  }
  .story__steps {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-top: 60px;
    gap: 40px;
  }

  .includes__list li {
    max-width: 300px;
    min-height: 56px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }

  .services {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
  .service__top {
    flex-direction: column-reverse;
    gap: 12px;
  }
  .service__meta {
    width: 100%;
  }
  .service__top:not(:has(.badge)) {
    flex-direction: row;
  }
  .service__top:not(:has(.badge)) .service__meta {
    width: auto;
  }
  .service__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .acc__head {
    min-height: 64px;
    padding: 20px;
    font-size: 18px;
    line-height: 26px;
  }
  .acc__list {
    padding: 0 20px 20px;
  }

  .faq__q {
    padding: 20px;
    font-size: 18px;
    line-height: 26px;
  }
  .faq__a {
    padding: 0 20px 20px;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .contact__info {
    padding: 40px 0 40px 40px;
  }
  .contact__list {
    margin-top: 40px;
  }
  .contact__list dd {
    font-size: 22px;
    line-height: 30px;
  }
  .contact__form-card {
    margin: 20px 20px 20px 24px;
    padding: 24px;
  }
  .contact__form {
    margin-top: 32px;
    gap: 16px;
  }
  .contact__pair {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer {
    padding: 0 20px 20px;
  }
  .footer__card {
    padding: 32px;
  }
  .footer__cols {
    margin-top: 32px;
  }
  .footer__offices {
    padding: 0 32px;
  }
  .calc-flow__title {
    font-size: 36px;
  }
  .calc-flow__head {
    top: 0;
  }
  .section.section-includes {
    margin-top: var(--gutter);
  }
  .tariff__desc {
    max-width: 245px;
  }
  .result__photo-wrap {
    height: 100%;
  }
  .result__photo {
    height: 100%;
  }
}

/* =========================================================
   ≤1023 — макет 768
   ========================================================= */
@media (max-width: 1023px) {
  .compare__param {
    font-size: 16px;
  }
  .compare__row--head b {
    font-size: 20px;
  }
  .tariff__price {
    margin-top: 24px;
  }
  .calc__summary.card--red {
    padding: 32px;
    background: url("/wp-content/themes/basic/img/calc-bg_800.png"), linear-gradient(135deg, #D51B56 0%, #A30638 100%);
    background-repeat: no-repeat;
    background-size: cover;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .result__photo-wrap {
    height: unset;
  }
  .header__messengers {
    display: none;
  }
  .hero {
    padding: 40px 32px 32px;
  }
  .hero__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }
  .price-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "price tags" "note note";
    align-items: center;
    min-height: 0;
    gap: 8px 16px;
    padding: 20px 24px;
  }
  .price-card__price {
    grid-area: price;
  }
  .price-card__tags {
    grid-area: tags;
    justify-content: flex-end;
    min-height: 0;
  }
  .price-card__note {
    grid-area: note;
  }
  .hero__buttons {
    margin-top: 32px;
  }

  .calc-flow__inner {
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .story__inner {
            grid-template-columns: minmax(0, 0.9fr) minmax(0, .9fr);
  }
  .calc-flow .steps {
    width: 100%;
    max-width: 300px;
  }
  .calc-flow .steps__item {
    flex: 1;
  }

  .tariffs {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tariffs {
    padding-top: 0;
  }
  .tariff--popular {
    margin-top: 36px;
  }
  .tariff__desc {
    min-height: 0;
  }

  .compare {
    padding: 24px;
  }
  .compare__table {
    padding: 20px;
  }
  .compare__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 6px;
  }
  .compare__row .compare__param {
    grid-column: 1 / -1;
  }
  .compare__row--head .compare__param {
    display: none;
  }
  .compare__row--head > span {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .compare__foot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    row-gap: 20px;
  }
  .compare__note {
    grid-column: 1 / -1;
    padding: 0 16px;
  }
  .compare__foot .btn {
    min-height: 48px;
    font-size: 16px;
    padding: 12px;
  }
  /* .result__photo {
    height: 100%;
    width: 100%;
  } */
  .result__grid {
    gap: 12px;
  }
  .result__price-chips {
    flex-wrap: wrap;
  }

  .calc__docs {
    max-width: none;
  }
  .cases {
    gap: 16px;
  }
  .case {
    padding: 20px;
  }
  .case__title {
    font-size: 20px;
    line-height: 28px;
  }
  /* .story__steps {
    padding-top: 100px;
  }
  .story__media {
    grid-row: 1;
    margin-top: 165px;
  }
  .story__media img {
    max-width: 250px;
  }
  .story__num {
    font-size: 48px;
    line-height: 48px;
  }
  .story__step-title {
    margin-top: 16px;
    font-size: 22px;
    line-height: 28px;
  }
  .story__step-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
  } */

  .includes {
    padding: 40px 32px;
    gap: 32px;
  }
  .includes__tab {
    min-width: 0;
    flex: 1;
  }
  .includes__tabs {
    width: 100%;
    max-width: 536px;
  }
  .service__bottom {
    flex-direction: row;
    align-items: center;
  }
  .service__title {
    font-size: 24px;
    line-height: 32px;
  }
  .br-desk {
    display: none;
  }
  .service__bottom .btn {
    flex: 1;
    max-width: 400px;
  }
  .service__price {
    font-size: 36px;
    line-height: 44px;
  }
  .acc__head {
    font-size: 16px;
    line-height: 24px;
  }
  .faq__q {
    font-size: 16px;
    line-height: 24px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
  .contact__info {
    padding: 40px 40px 0;
  }
  .contact__form-card {
    margin: 32px 20px 20px;
  }
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .footer__top .btn {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 16px;
  }
  .footer__offices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0 24px;
    font-size: 12px;
    line-height: 18px;
  }
  .footer__offices b {
    font-size: 14px;
    line-height: 20px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .section.section-includes {
    margin-top: var(--section-gap);
  }
  .calc-flow__head {
    top: 0;
  }
  .calc-flow__title {
    font-size: 36px;
  }
  .calc-flow__inner {
    align-items: flex-start;
    gap: 24px;
    flex-direction: column-reverse;
  }
  .tariff__desc {
    max-width: unset;
  }
  .calc-flow .calc-step {
    margin-top: 18px;
  }
  .calc__form.card--gray {
    padding: 32px;
  }
    .story__inner {
    display: flex;
    flex-direction: column;
  }
  .story__left {
    display: contents;
  }
  .story__title {
    order: 1;
  }
  .story__steps {
    order: 2;
    padding-top: 24px;
    gap: 32px;
  }
  .story__media {
    order: 3;
    margin-top: 32px;
    width: 100%;
    justify-content: center;
  }
  .story__media img {
    max-width: 290px;
  }
  .story__num {
    font-size: 40px;
    line-height: 40px;
  }

}

/* =========================================================
   ≤767 — макет 375
   ========================================================= */

  
@media (max-width: 700px) {

  :root {
    --gutter: 16px;
    --h1: 36px;
    --h1-lh: 42px;
    --h2: 28px;
    --h2-lh: 34px;
    --h3: 24px;
    --h3-lh: 30px;
    --section-gap: 64px;
    --radius-xl: 28px;
  }
  

  .header__top {
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header__logo img {
    width: 140px;
  }
  .header__contacts,
  .header__search-btn,
  .header__cta {
    display: none;
  }
  .header__actions {
    margin-left: auto;
  }
  .header__burger {
    width: 40px;
    height: 40px;
  }

  .section--first {
    padding-top: 8px;
  }
  .hero {
    padding: 28px 16px 20px;
  }
  .hero__lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
  }
  .hero__cards {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .price-card__price {
    font-size: 26px;
    line-height: 32px;
    margin: 0;
  }
  .hero__buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .hero__visual {
    margin-top: 24px;
  }
  .hero__visual img {
    max-width: 300px;
  }

  .btn {
    min-height: 52px;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 24px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head__text {
    gap: 16px;
  }
  .section-head__lead {
    font-size: 14px;
    line-height: 20px;
  }
  .steps__item {
    min-width: 0;
    height: 40px;
    font-size: 16px;
  }

  .calc-flow__title {
    font-size: 32px;
    line-height: 125%;
  }
  .calc-flow__head {
    top: 0;
  }
  
  .calc-flow__lead {
    /* display: none; */
    margin-top: 0;
  }
  .calc-flow__inner {
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .calc-flow .steps {
    padding: 4px;
    gap: 4px;
  }
  .calc-flow .steps__item {
    height: 36px;
    font-size: 16px;
  }
  .calc__form.card--gray, .calc__summary.card--red {
    padding: 24px 20px;
  }
  .calc__group {
    gap: 0;
  }
  .calc-flow .calc-step {
    padding-top: 0px;
    margin-top: 24px;
  }
  .calc-flow .section--band {
    margin-top: 0px;
    padding: 40px 0 56px;
  }
  .calc-flow .section--band + .calc-step {
    padding-top: 0px;
    margin-top: 0;
  }

  .card {
    padding: 24px 16px;
  }
  .calc__form {
    gap: 24px;
  }
  .calc__label {
    font-size: 16px;
    margin-bottom: 12px !important;
  }
  .check {
    font-size: 14px;
    line-height: 20px;
  }
  .check span::before {
    margin-top: 0;
  }
  .chip span {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
  .calc__summary-price {
    font-size: 48px;
    line-height: 44px;
  }
  .compare__head {
    align-items: flex-start;
  }
  .calc__summary-list {
    margin: 28px 0 32px;
    font-size: 14px;
    gap: 8px;
  }

  .tariff {
    padding: 24px 20px;
  }
  .tariff__price {
    font-size: 36px;
    line-height: 44px;
    margin-top: 24px;
  }
  .compare {
    padding: 20px 16px;
  }
  .compare__title {
    font-size: 20px;
    line-height: 28px;
  }
  .compare__lead {
    font-size: 14px;
    line-height: 20px;
  }
  .compare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compare__table {
    min-width: 520px;
    margin-top: 24px;
    padding: 16px;
  }
  .compare:not(.is-open) .compare__scroll {
    overflow: hidden;
  }

  .result__price-title {
    font-size: 22px;
    line-height: 28px;
  }
  .result__price-value {
    margin-top: 20px;
    font-size: 48px;
    line-height: 52px;
  }
  .result__price-value small {
    font-size: 18px;
    margin-left: 8px;
  }
  .result__note {
    align-items: flex-start;
    font-size: 14px;
    line-height: 20px;
  }
  .result__grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .result__grid div {
    min-height: 0;
  }
  .result__lead {
    display: block;
    padding: 20px 16px;
  }
  .result__photo {
    width: 176px;
    height: 186px;
  }
  .result__lead-body {
    margin-top: 20px;
  }
  .lead-form__row {
    grid-template-columns: 1fr;
  }
  .lead-form {
    gap: 24px;
    margin-top: 24px;
  }
  .result__lead .form-note {
    margin-top: -12px;
  }

  .cases {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-head--center {
    align-items: flex-start;
    text-align: left;
  }
  .includes__head {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .includes__list li {
    max-width: none;
  }

  .includes {
    padding: 28px 16px;
    gap: 24px;
  }
  .includes__tabs {
    flex-direction: row;
    padding: 6px;
  }
  .includes__tab {
    padding: 8px;
    font-size: 13px;
    line-height: 18px;
    white-space: normal;
  }
  .includes__tab .ico {
    width: 18px;
    height: 18px;
  }
  .includes__list li {
    /* width: 100%; */
    min-height: 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .service {
    padding: 20px 16px;
  }
  .service__title {
    font-size: 20px;
    line-height: 28px;
  }
  .service__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 20px;
  }
  .service__bottom .btn {
    max-width: none;
  }
  .service__price {
    font-size: 32px;
    line-height: 40px;
  }
  .tooltip {
    width: 260px;
  }
  .acc__head {
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
  }
  .acc__list {
    padding: 0 12px 12px;
  }
  .acc__list li {
    font-size: 16px;
    line-height: 18px;
    padding: 10px 12px;
  }
  .acc__list li span:first-child {
    max-width: 150px;
  }

  .faq {
    gap: 12px;
    margin-top: 24px;
  }
  .faq__q {
    padding: 16px;
    font-size: 16px;
    line-height: 22px;
  }
  .faq__a {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .contact__info {
    padding: 28px 16px 0;
  }
  .contact__lead {
    font-size: 14px;
    line-height: 20px;
  }
  .contact__list {
    gap: 16px;
    margin-top: 28px;
  }
  .contact__list dt {
    font-size: 14px;
  }
  .contact__list dd {
    margin-top: 6px;
    font-size: 18px;
    line-height: 26px;
  }
  .contact__form-card {
    border-radius: 20px;
    margin: 28px 8px 8px;
    padding: 24px 20px;
  }
  .contact__form-lead {
    font-size: 14px;
    line-height: 20px;
    margin-top: 12px;
  }
  .contact__avatar {
    width: 64px;
    height: 55px;
  }
  .contact__pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact__form .form-note {
    font-size: 13px;
    line-height: 20px;
  }
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer__cols {
    grid-template-columns: 1fr;
    row-gap: 20px;
    margin-top: 24px;
  }
  .footer__offices {
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin-top: 24px;
    gap: 16px;
  }
  .footer__bottom {
    padding: 0 16px;
    margin-top: 24px;
  }
  .footer__links {
    flex-direction: column;
    gap: 4px;
  }
  .lead-form .btn--primary {
    margin: 0 !important;
  }

}

@media (max-width: 500px) {
  .checks {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .price-card__tags {
    justify-content: flex-start;
    margin-top: 8px;
  }
  .price-card {
    grid-template-columns: 1fr;
    grid-template-areas: "price" "note" "tags";
    gap: 8px;
    padding: 16px;
  }
  .story__media img {
    max-width: 287px;
  }
  .calc-flow .steps {
    max-width: unset;
  }
  .includes__list li {
    width: 100%;
  }
  .result__chips {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
  }
  .result__hint {
    align-items: flex-start;
  }
  .result__hint svg {
    flex-shrink: 0;
    margin-top: 4px;
  }

}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.contact__call svg {
  display: block;
  transform-origin: 50% 50%;
  animation: phone-ring 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes phone-ring {
  0%   { transform: rotate(0); }
  5%   { transform: rotate(-12deg); }
  10%  { transform: rotate(12deg); }
  15%  { transform: rotate(-10deg); }
  20%  { transform: rotate(10deg); }
  25%  { transform: rotate(-6deg); }
  30%  { transform: rotate(6deg); }
  35%  { transform: rotate(-2deg); }
  40%  { transform: rotate(0); }   /* конец покачивания ≈1,2 с */
  100% { transform: rotate(0); }   /* пауза ≈1,8 с */
}

/* Отключаем анимацию для пользователей, которые просили уменьшить движение */
@media (prefers-reduced-motion: reduce) {
  .contact__call svg {
    animation: none;
  }
}

.calc__summary [data-out="price"] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Курсор во время набора */
.calc__summary [data-out="price"].is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  vertical-align: -0.05em;
  background: currentColor;
  animation: caret-blink 0.5s steps(1) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.lead-form__row .wpcf7-form-control-wrap {
  display: block;
  flex: 1 1 0;
  min-width: 0;
}

#result-form .wpcf7-response-output, #result-form .wpcf7-spinner {
  display: none;
}

.lead-form__row .input {
  width: 100%;
}

/* Хлебные крошки */
.breadcrumbs-redesign {
  margin-bottom: 31px;
}

.breadcrumbs-redesign__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.4;
}

.breadcrumbs-redesign__item {
  font-family: "AA Stetica", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  display: flex;
  align-items: center;
  color: #686d7f;
}

.breadcrumbs-redesign__item + .breadcrumbs-redesign__item::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 16px;
  border-radius: 50%;
  background: #191c24;
}

.breadcrumbs-redesign__link {
  color: #191c24;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs-redesign__link:hover {
  color: #bc003b;
}

@media (max-width: 1500px) {
  .breadcrumbs {
    margin-bottom: 28px;
  }
}

@media (max-width: 1200px) {
  .breadcrumbs {
    margin-bottom: 24px;
  }
}

@media (max-width: 500px) {
  .breadcrumbs {
    margin-bottom: 20px;
  }
}

.result__lead-body span.wpcf7-not-valid-tip {
  bottom: -18px;
}

.result__grid dd {
  margin: 0;
  /* white-space: nowrap; */
  overflow: hidden;
  /* text-overflow: ellipsis; */
}

.result__grid > div.is-truncated {
  cursor: pointer;
  position: relative;
}

.result__grid > div.is-truncated::after {
  content: attr(data-full);
  position: absolute;
  left: 70%;
  bottom: 42px;
  z-index: 20;
  width: 100%;
  max-width: 330px;
  padding: 16px 20px;
  border-radius: 24px;
  background: #F8E5EB;
  color: #363F5B;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, visibility .2s;
}
.result__grid > div {
  min-width: 0;
}

/* .result__grid dd {
  display: block;
  min-width: 0;
  max-width: 100%;
} */

.result__grid > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.result__grid dd {
  margin: 4px 0 0;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;   /* сколько строк показывать до многоточия */
  line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* @media (max-width: 1500px) {
  .result__grid > div {
    height: 115px;
  }
} */

/* 1280–1500: две строки, высота 115px */
@media (min-width: 1280px) and (max-width: 1500px) {
  .result__grid > div {
    height: 115px;
  }
}

/* от 1501: одна строка, высота до 92px */
@media (min-width: 1501px) {
  .result__grid > div {
    max-height: 92px;
  }

  .result__grid dd {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

@media (hover: hover) {
  .result__grid > div.is-truncated:hover::after {
    opacity: 1;
    visibility: visible;
  }
}

.result__grid > div.is-truncated.is-open::after {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .result__grid > div.is-truncated::after {
    max-width: calc(100vw - 40px);
    left: 50%;
  }
}

.inc-br {
  display: none;
}

@media (min-width: 500px) and (max-width: 800px) {
  .inc-br {
    display: inline;
  }
  .includes__list li {
    max-width: none;
  }
}