/* ---------- Шрифты ---------- */
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanovat-thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Токены ---------- */
:root {
  --red: #ed1c24;
  --red-dark: #c1272d;
  --brown: #8c6239;
  --yellow: #ffc127;
  --text: #000000;
  --text-muted: #666666;
  --bg: #ffffff;
  --bg-soft: #f8f5ec;
  --container: 960px;
  --gap: 20px;
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Proxima Nova', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Шапка ---------- */
.header {
  background: var(--bg);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: 90px;
  flex-wrap: wrap;
}

.header__logo img {
  width: 96px;
  height: auto;
}

.header__addr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-muted);
  max-width: 230px;
}

.header__addr-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.header__addr a {
  color: var(--red);
  text-decoration: underline;
  display: block;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header__phone {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.header__messengers {
  display: flex;
  gap: 8px;
}

.header__messengers img {
  width: 32px;
  height: 32px;
}

.header__eval {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  border: 0;
  white-space: nowrap;
  transition: background .2s;
}

.header__eval:hover {
  background: var(--red-dark);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-top: 1px solid #eee;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
}

.header__nav {
  display: flex;
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 15px;
  text-transform: uppercase;
}

.header__nav a {
  transition: color .2s;
}

.header__nav a:hover {
  color: var(--red);
}

.header__burger {
  display: none;
}

@media (max-width: 999px) {
  .header__addr {
    display: none;
  }
  .header__nav {
    gap: 18px;
    font-size: 13px;
  }
}

@media (max-width: 599px) {
  /* На телефоне прилипает сама шапка — в ней кнопка меню */
  .header {
    position: sticky;
    top: 0;
    z-index: 51;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
  }
  .navbar {
    position: static;
    box-shadow: none;
    border-top: 0;
  }
  .header__inner {
    min-height: 64px;
    gap: 12px;
  }
  .header__logo img {
    width: 64px;
  }
  .header__contacts {
    gap: 10px;
  }
  .header__phone {
    font-size: 16px;
  }
  .header__messengers {
    display: none;
  }
  .header__eval {
    padding: 9px 12px;
    font-size: 14px;
  }
  .header__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: 0;
    padding: 0;
    flex: 0 0 30px;
  }
  .header__burger span {
    display: block;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
  }
  .header__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .header__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .header__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .header__nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    padding-bottom: 12px;
  }
  .header__nav.is-open {
    display: flex;
  }
  .header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 18px;
  border: 0;
  text-align: center;
  transition: background .2s, transform .1s;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--primary:active {
  transform: translateY(1px);
}

/* Пролетающий блик. В оригинале это скрипт ShineButton со значениями:
   блик 40px под углом 45°, пролёт за 1 с, пауза 1,5 с. Здесь то же
   самое чистым CSS — без скрипта и без нагрузки на страницу. */
.btn--primary,
.header__eval {
  position: relative;
  overflow: hidden;
}

.btn--primary::after,
.header__eval::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 40px;
  height: 220%;
  transform: rotate(45deg);
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, .5),
    rgba(255, 255, 255, 0)
  );
  animation: shine 2.5s ease infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -30%; }
  40% { left: 120%; }
  100% { left: 120%; }
}

/* Уважаем настройку системы «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  .btn--primary::after,
  .header__eval::after {
    animation: none;
    opacity: 0;
  }
}

/* ---------- Первый экран ---------- */
/* Фон светлый, композиция в правой части, левая пустая — туда ложится текст */
.hero {
  background: #f6f2e9 url('../img/hero.jpg') center right / cover no-repeat;
  display: flex;
  align-items: center;
  min-height: 660px;
}

/* image-set даёт браузеру выбрать формат самому: грузится только один файл.
   Без него старые браузеры возьмут JPEG из правила выше. */
@supports (background-image: image-set(url('../img/hero.webp') type('image/webp'))) {
  .hero {
    background-image: image-set(
      url('../img/hero.webp') type('image/webp'),
      url('../img/hero.jpg') type('image/jpeg')
    );
  }
}

.hero__inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__box {
  max-width: 540px;
}

.hero__title {
  font-size: 43px;
  line-height: 52px;
  font-weight: 700;
  margin: 0 0 16px;
}

.hero__sub {
  font-size: 20px;
  line-height: 24px;
  margin: 0 0 32px;
}

/* Логотипы партнёров лежат на том же фоне, что и первый экран */
.hero__badges {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 90px;
}

.hero__badges img {
  height: auto;
}

@media (max-width: 999px) {
  .hero {
    min-height: 520px;
    background-position: 78% center;
  }
  .hero__badges {
    margin-top: 50px;
    gap: 26px;
  }
  .hero__badges img {
    max-width: 130px;
  }
  .hero__title {
    font-size: 34px;
    line-height: 42px;
  }
  .hero__box {
    max-width: 60%;
  }
}

@media (max-width: 599px) {
  .hero {
    min-height: 420px;
    background-position: 72% center;
  }
  /* На узком экране текст попадает на картинку — даём светлую подложку */
  .hero__box {
    max-width: 100%;
    background: rgba(250, 247, 240, .88);
    border-radius: 10px;
    padding: 18px;
  }
  .hero__title {
    font-size: 24px;
    line-height: 30px;
  }
  .hero__sub {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .btn {
    padding: 14px 24px;
    font-size: 16px;
  }
  .hero__cta {
    display: block;
  }
  .hero__badges {
    margin-top: 26px;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero__badges img {
    max-width: 38%;
  }
}

/* ---------- Секции ---------- */
.section {
  padding: 64px 0;
}

.section--soft {
  background: var(--bg-soft);
}

@media (max-width: 599px) {
  .section {
    padding: 40px 0;
  }
}

/* ---------- Мы принимаем ---------- */
/* Карточка оригинала: фото, поверх чёрный слой с прозрачностью 0.7,
   поверх — белая подпись по центру. Размер карточки 206x317. */
.accept {
  display: grid;
  grid-template-columns: repeat(3, 206px);
  justify-content: space-between;
}

.accept__card {
  position: relative;
  height: 317px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.accept__card--jewelry {
  background-image: url('../img/accept-jewelry.jpg');
}
.accept__card--appliances {
  background-image: url('../img/accept-appliances.jpg');
}
.accept__card--tools {
  background-image: url('../img/accept-tools.jpg');
}

@supports (background-image: image-set(url('../img/hero.webp') type('image/webp'))) {
  .accept__card--jewelry {
    background-image: image-set(
      url('../img/accept-jewelry.webp') type('image/webp'),
      url('../img/accept-jewelry.jpg') type('image/jpeg')
    );
  }
  .accept__card--appliances {
    background-image: image-set(
      url('../img/accept-appliances.webp') type('image/webp'),
      url('../img/accept-appliances.jpg') type('image/jpeg')
    );
  }
  .accept__card--tools {
    background-image: image-set(
      url('../img/accept-tools.webp') type('image/webp'),
      url('../img/accept-tools.jpg') type('image/jpeg')
    );
  }
}

.accept__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .7;
  transition: opacity .25s;
}

.accept__card:hover::before {
  opacity: .55;
}

.accept__title {
  position: relative;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
  padding: 0 12px;
}

@media (max-width: 999px) {
  .accept {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: stretch;
  }
}

@media (max-width: 599px) {
  .accept {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .accept__card {
    height: 200px;
  }
}

/* ---------- О нас ---------- */
.about__text {
  font-size: 20px;
  line-height: 24px;
  margin: 0 0 56px;
}

/* Оригинал: пять колонок в один ряд, иконка сверху, подпись под ней */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Ряд иконок фиксированной высоты: иконки разного размера (замок 32x42,
   остальные 68x68), но подписи под ними должны начинаться на одной линии */
.features__item {
  display: grid;
  grid-template-rows: 68px auto;
  justify-items: center;
  align-items: center;
  text-align: center;
  gap: 18px;
  font-size: 20px;
  line-height: 24px;
}

.features__item img {
  max-height: 68px;
  width: auto;
}

/* Подписи разной длины должны начинаться с одной линии */
.features__item span {
  align-self: start;
}

@media (max-width: 999px) {
  .about__text {
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 40px;
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
  }
  .features__item {
    font-size: 17px;
    line-height: 22px;
  }
}

@media (max-width: 599px) {
  .about__text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .features__item {
    font-size: 15px;
    line-height: 20px;
    gap: 12px;
    grid-template-rows: 52px auto;
  }
  .features__item img {
    max-height: 52px;
  }
}

/* ---------- Как мы работаем ---------- */
.steps__lead {
  font-size: 16px;
  line-height: 25px;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.steps {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.steps__item p {
  font-size: 18px;
  line-height: 24px;
  margin: 20px 0 0;
}

.steps__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.steps__num {
  font-size: 90px;
  line-height: 90px;
  font-weight: 700;
  color: var(--text);
}

.steps__head img {
  width: 90px;
  height: 90px;
}

.steps__cta {
  text-align: center;
}

@media (max-width: 999px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
  .steps__num {
    font-size: 64px;
    line-height: 64px;
  }
  .steps__head img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 599px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .steps__lead {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 32px;
    text-align: left;
  }
  .steps__num {
    font-size: 48px;
    line-height: 48px;
  }
  .steps__head img {
    width: 56px;
    height: 56px;
  }
  .steps__item p {
    font-size: 16px;
    margin-top: 12px;
  }
  .steps__cta .btn {
    width: 100%;
  }
}

/* ---------- Модальные окна ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.modal__window {
  position: relative;
  background: var(--bg);
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.modal__title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  margin: 0 0 24px;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 34px;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: 0;
  padding: 4px 8px;
}

.modal__close:hover {
  color: var(--red);
}

/* ---------- Поля форм ---------- */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field__label {
  font-size: 14px;
  color: var(--text-muted);
}

.field input {
  padding: 12px 14px;
  font-size: 17px;
  font-family: inherit;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  width: 100%;
}

.field input:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
  border-color: var(--red);
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
  background: #fff5f5;
}

.eval-form__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.eval-form__previews img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.eval-form .btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 599px) {
  .modal__window {
    padding: 22px 18px;
  }
  .modal__title {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 18px;
    padding-right: 30px;
  }
}

/* ---------- Калькулятор ---------- */
.calc {
  display: grid;
  gap: 22px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.calc__field {
  display: grid;
  gap: 8px;
}

.calc__label {
  font-size: 15px;
  color: var(--text-muted);
}

.calc__grade,
.calc__weight,
.calc__phone {
  width: 100%;
  padding: 12px 14px;
  font-size: 17px;
  font-family: inherit;
  color: var(--text);
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #fff;
}

.calc__grade:focus,
.calc__weight:focus,
.calc__phone:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
  border-color: var(--red);
}

.calc__weight-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc__range {
  flex: 1;
  accent-color: var(--red);
  height: 28px;
}

.calc__weight {
  max-width: 120px;
  text-align: center;
}

.calc__result {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.calc__result-title {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text-muted);
}

.calc__result-sum {
  margin: 0;
  font-size: 38px;
  line-height: 44px;
  font-weight: 700;
  color: var(--red);
}

/* Ловушка для спам-ботов: человек поля не видит, бот его заполняет */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted);
}

.consent input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--red);
}

.consent a {
  color: var(--red);
  text-decoration: underline;
}

.form__msg {
  margin: 0;
  font-size: 15px;
  min-height: 22px;
}

.form__msg--err {
  color: var(--red);
}

.form__msg--ok {
  color: #22803f;
}

@media (max-width: 599px) {
  .calc {
    padding: 20px;
    gap: 18px;
  }
  .calc__result-sum {
    font-size: 30px;
    line-height: 36px;
  }
  .calc__range {
    height: 36px;
  }
  .calc__weight {
    max-width: 96px;
  }
}

/* ---------- Галерея сертификатов ---------- */
.gallery {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery__item {
  border: 0;
  padding: 0;
  background: none;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: transform .15s, box-shadow .15s;
}

.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.gallery__item img {
  width: 153px;
  height: 213px;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 44px;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
}

/* ---------- Контакты ---------- */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}

.contacts__info {
  font-style: normal;
  font-size: 18px;
  line-height: 26px;
}

.contacts__info p {
  margin: 0 0 12px;
}

.contacts__org {
  font-weight: 700;
  font-size: 21px;
}

.contacts__phone {
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
}

.contacts__hours {
  color: var(--text-muted);
}

.contacts__messengers {
  display: flex;
  gap: 10px;
}

.map {
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8ebed;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.map__stub {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #e8ebed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  color: var(--red);
  text-decoration: underline;
}

/* ---------- Подвал ---------- */
.footer {
  background: #1c1c1c;
  color: #fff;
  padding: 32px 0;
  font-size: 14px;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 22px;
  border-bottom: 1px solid #333;
  font-size: 18px;
}

.footer__nav a {
  color: var(--brown);
  transition: color .2s;
}

.footer__nav a:hover {
  color: var(--red);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.footer__bottom p {
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  text-decoration: underline;
}

.footer__links a:hover {
  color: var(--red);
}

/* ---------- Cookie ---------- */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 20px;
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0;
}

.cookie a {
  color: var(--red);
  text-decoration: underline;
}

.cookie .btn {
  padding: 10px 30px;
  flex: 0 0 auto;
}

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

@media (max-width: 599px) {
  .gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    gap: 14px;
  }
  .gallery__item {
    flex: 0 0 auto;
  }
  .gallery__item img {
    width: 130px;
    height: 182px;
  }
  .contacts__info {
    font-size: 16px;
  }
  .contacts__phone {
    font-size: 22px;
  }
  .footer__nav {
    gap: 14px;
    font-size: 15px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
  }
}

/* ---------- Текстовые страницы ---------- */
.article {
  max-width: 820px;
}

.article h2 {
  font-size: 22px;
  line-height: 28px;
  margin: 32px 0 12px;
}

.article p {
  font-size: 16px;
  line-height: 25px;
  margin: 0 0 12px;
}

.article__dash {
  padding-left: 18px;
}

/* ---------- Спасибо ---------- */
.thanks {
  text-align: center;
}

.thanks__text {
  font-size: 20px;
  margin: 0 0 32px;
}

.thanks__actions {
  margin: 0 0 20px;
}

.thanks__phone {
  color: var(--text-muted);
}

.thanks__phone a {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Продление договора ---------- */
.pay {
  max-width: 560px;
  margin: 0 auto;
}

.pay__lead {
  font-size: 18px;
  line-height: 27px;
  text-align: center;
  margin: 0 0 32px;
}

.pay__phone {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

.pay__form {
  background: var(--bg-soft);
  padding: 28px;
  border-radius: 12px;
}

.pay__form .btn {
  width: 100%;
  margin-top: 8px;
}

.pay__note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 14px 0 0;
}

@media (max-width: 599px) {
  .pay__lead {
    font-size: 16px;
    line-height: 24px;
  }
  .pay__form {
    padding: 18px;
  }
  .article h2 {
    font-size: 19px;
    line-height: 25px;
  }
}

/* ---------- Прайс-лист ---------- */
/* Оригинал: две равные колонки, всё по центру, красные разделители строк */
.price {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.price th {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 0 8px 14px;
  border-bottom: 2px solid var(--red);
}

.price td {
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--red);
}

.price tbody tr:last-child td {
  border-bottom: 0;
}

.price__note {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-muted);
  text-align: center;
  margin: 28px 0 0;
}

.price__note a {
  color: var(--red);
  white-space: nowrap;
}

@media (max-width: 599px) {
  .price th {
    font-size: 15px;
    line-height: 20px;
    padding-bottom: 10px;
  }
  .price td {
    font-size: 14px;
    padding: 12px 4px;
  }
  .price__note {
    font-size: 13px;
  }
}

/* ---------- Заголовки секций ---------- */
.section-title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  margin: 0 0 32px;
}

.section-title--lg {
  font-size: 50px;
  line-height: 60px;
}

.section-title--center {
  text-align: center;
}

/* Красная полоса над заголовком — 87x20 по центру, как в оригинале */
.section-title--bar::before {
  content: '';
  display: block;
  width: 87px;
  height: 20px;
  background: var(--red);
  margin: 0 auto 17px;
}

/* В секции «О нас» полоса вертикальная и стоит слева от заголовка */
.section-title--bar-left {
  position: relative;
  padding-left: 44px;
}

.section-title--bar-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 84px;
  background: var(--red);
}

@media (max-width: 599px) {
  .section-title--bar::before {
    width: 60px;
    height: 12px;
    margin-bottom: 12px;
  }
  .section-title--bar-left {
    padding-left: 24px;
  }
  .section-title--bar-left::before {
    width: 10px;
    height: 52px;
  }
}

@media (max-width: 999px) {
  .section-title {
    font-size: 32px;
    line-height: 40px;
  }
  .section-title--lg {
    font-size: 38px;
    line-height: 46px;
  }
}

@media (max-width: 599px) {
  .section-title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  .section-title--lg {
    font-size: 28px;
    line-height: 34px;
  }
}

/* ---------- Хлебные крошки ---------- */
.crumbs {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid #eee;
}

.crumbs .container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.crumbs a {
  color: var(--red);
}

.crumbs a:hover {
  text-decoration: underline;
}
