/* ============================================================
   Русский Двор — pes.rudvor.ru
   Самописные стили. Палитра: #052555 (navy), #e67e22 (orange)
   Шрифт: Montserrat (self-hosted, assets/css/fonts.css)
   ============================================================ */

:root {
  --navy: #052555;
  --navy-soft: #0a3170;
  --orange: #e67e22;
  --orange-dark: #cf6d15;
  --light: #f7f7f7;
  --ink: #052555;
  --grey: #5a6478;
  --line: #d9dee8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: #222;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Заголовки секций ---------- */
.sec { padding: 75px 0; }
.sec-navy { background: var(--navy); }
.sec-light { background: var(--light); }

.sec-title {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
}
.sec-title--white { color: #fff; }
.sec-title--center { text-align: center; }
.sec-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 40px;
}
.sec-sub--white { color: rgba(255,255,255,.92); }
.sec-sub--center { text-align: center; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 0;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #eef1f7; }
.btn--white-orange { background: #fff; color: var(--orange); }
.btn--white-orange:hover { background: #f5e6d8; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #041d42; }
.btn--ghost { background: transparent; color: var(--orange); border: 1px solid var(--orange); padding: 12px 28px; }
.btn--ghost:hover { background: var(--orange); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 12px; }

/* ---------- Шапка ---------- */
.hdr { background: #fff; position: relative; z-index: 40; }
.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.hdr__logo img { height: 48px; width: auto; }
.hdr__nav { display: flex; gap: 26px; margin-left: 18px; }
.hdr__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}
.hdr__nav a:hover, .hdr__nav a.is-active { color: var(--orange); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.hdr__phones { display: flex; flex-direction: column; align-items: flex-end; }
.hdr__phones a { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; white-space: nowrap; }
.hdr__phones a:hover { color: var(--orange); }

.hdr__burger {
  display: none;
  width: 44px; height: 40px;
  background: var(--orange);
  border: 0; border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.hdr__burger span, .hdr__burger span::before, .hdr__burger span::after {
  content: ''; position: absolute; left: 11px; right: 11px; height: 2px;
  background: #fff; transition: transform .2s, opacity .2s;
}
.hdr__burger span { top: 19px; }
.hdr__burger span::before { left: 0; right: 0; top: -7px; }
.hdr__burger span::after { left: 0; right: 0; top: 7px; }
body.menu-open .hdr__burger span { transform: rotate(45deg); }
body.menu-open .hdr__burger span::before { opacity: 0; }
body.menu-open .hdr__burger span::after { transform: rotate(-90deg) translateX(7px); }

.mmenu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(5, 37, 85, .82);
}
.hero__in { position: relative; padding: 90px 0 100px; max-width: 760px; }
.hero__title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 19px;
  font-weight: 300;
  color: rgba(255,255,255,.95);
  margin-bottom: 26px;
}
.hero__list { margin-bottom: 34px; }
.hero__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: rgba(255,255,255,.95);
  margin-bottom: 10px;
}
.hero__list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- О компании ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; }
.about__text p { margin-bottom: 16px; color: #333; }
.about__text ul { margin: 6px 0 18px; }
.about__text ul li {
  position: relative; padding-left: 24px; margin-bottom: 10px; color: #333;
}
.about__text ul li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
}
.about__sro { font-weight: 500; color: var(--navy); margin: 10px 0 26px; }
.about__collage {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
}
.about__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.about__collage img:first-child { grid-row: 1 / 3; height: 100%; }

/* ---------- Услуги (строки текст+фото, navy) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 26px 0;
}
.svc-row__title { font-size: 26px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 16px; }
.svc-row__text { color: rgba(255,255,255,.9); font-size: 16px; margin-bottom: 22px; }
.svc-row img { width: 100%; height: 360px; object-fit: cover; border-radius: 3px; }

/* ---------- Карточки-консультации (navy на белом) ---------- */
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ccard {
  background: var(--navy);
  border-radius: 4px;
  padding: 30px 30px 26px;
  color: #fff;
}
.ccard__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ccard__icon img { width: 26px; height: 26px; }
.ccard__title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.ccard__text { font-size: 14px; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.ccard ul li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}
.ccard ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}

/* ---------- Прайс-карточки 786 (фото+цена) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  background: #fff; border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
}
.pcard img { width: 100%; height: 150px; object-fit: cover; }
.pcard__body { padding: 20px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard__title { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.pcard ul { margin-bottom: 14px; }
.pcard ul li {
  position: relative; padding-left: 15px;
  font-size: 12.5px; color: #45506b; margin-bottom: 6px;
}
.pcard ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.pcard__price { font-size: 13px; color: var(--grey); margin-top: auto; margin-bottom: 12px; }
.pcard .btn { width: 100%; }

/* ---------- Мини-карточки 858/859 (иконка+список, белые на navy) ---------- */
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wgrid--2 { grid-template-columns: repeat(2, 1fr); }
.wcard { background: #fff; border-radius: 4px; padding: 28px 26px; }
.wcard__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.wcard__icon img { width: 28px; height: 28px; }
.wcard__title { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 12px; }
.wcard ul li, .wcard p {
  position: relative; padding-left: 16px;
  font-size: 13.5px; color: #45506b; margin-bottom: 7px;
}
.wcard p { padding-left: 0; }
.wcard ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* ---------- Тёмные карточки услуг демонтажа (navy на белом) ---------- */
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dcard {
  background: var(--navy); color: #fff; border-radius: 4px; padding: 28px 26px;
  display: flex; flex-direction: column;
}
.dcard__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange);
  color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dcard__title { font-size: 17px; font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.dcard ul { margin-bottom: 18px; }
.dcard ul li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; color: rgba(255,255,255,.9); margin-bottom: 7px;
}
.dcard ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.dcard .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Этапы работ (номера, navy-секция) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 26px; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step__title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step ul li {
  position: relative; padding-left: 16px;
  font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 6px;
}
.step ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* ---------- Тёмные карточки объектов обслуживания (694) ---------- */
.ogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ocard { background: var(--navy-soft); border-radius: 4px; padding: 24px 20px; }
.ocard__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ocard__icon img { width: 24px; height: 24px; }
.ocard__title { font-size: 15.5px; font-weight: 600; color: #fff; margin-bottom: 10px; line-height: 1.35; }
.ocard ul li {
  position: relative; padding-left: 15px;
  font-size: 12.5px; color: rgba(255,255,255,.88); margin-bottom: 6px;
}
.ocard ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* ---------- Оранжевая форма-полоса ---------- */
.band { background: var(--orange); color: #fff; }
.band__in {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.band__title { font-size: 34px; font-weight: 600; line-height: 1.25; margin-bottom: 20px; }
.band__list li {
  position: relative; padding-left: 22px;
  font-size: 15.5px; color: rgba(255,255,255,.96);
  margin-bottom: 10px;
}
.band__list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.band--photo {
  background: var(--orange) url('../img/38313137_shutterstock_2198905.jpg') left center/cover no-repeat;
  position: relative;
}
.band--photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(230,126,34,.25) 0%, rgba(230,126,34,.96) 46%, var(--orange) 60%); }
.band--photo .band__in { position: relative; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: flex; flex-direction: column; }
.form .inp,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #e3e6ee;
  border-radius: 3px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23052555' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: #333;
}
.form select:invalid { color: #8a93a8; }
.form .inp:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5,37,85,.08); }
.form textarea { min-height: 120px; resize: vertical; }
.form__full { grid-column: 1 / -1; }
.form__actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 6px; }
.form__agree {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.95);
  text-align: left;
}
.form__agree input { margin-top: 3px; }
.form__agree a { color: #fff; text-decoration: underline; }
.form__note { font-size: 12px; color: rgba(255,255,255,.95); text-align: center; }
.form__note a { color: #fff; text-decoration: underline; }
.form--onwhite .form__agree, .form--onwhite .form__note { color: #5a6478; }
.form--onwhite .form__note a { color: var(--navy); }
.form-status { font-size: 14px; font-weight: 500; text-align: center; min-height: 20px; }

/* ---------- Портфолио ---------- */
.pf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.pf-nav { display: flex; gap: 10px; }
.pf-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--navy); background: #fff; color: var(--navy);
  font-size: 18px; cursor: pointer; line-height: 1;
  transition: all .15s;
}
.pf-nav button:hover { background: var(--navy); color: #fff; }
.pf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 12px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.pf-card__img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; cursor: pointer; }
.pf-card__title { font-size: 20px; font-weight: 600; color: var(--navy); margin: 18px 0 8px; }
.pf-card__desc { font-size: 14px; color: #45506b; margin-bottom: 6px; }
.pf-card__desc sup { font-size: 10px; }
.pf-card__btns { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- CTA-полоса оранжевая ---------- */
.cta { background: var(--orange); color: #fff; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title { font-size: 30px; font-weight: 600; line-height: 1.3; margin-bottom: 14px; max-width: 720px; }
.cta__text { font-size: 16px; color: rgba(255,255,255,.96); }
.cta__text a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ---------- Статистика ---------- */
.stats {
  position: relative;
  color: #fff;
  background: url('../img/65613831_Arch2O-hangzhou-new-.jpg') center/cover no-repeat;
}
.stats::before { content: ''; position: absolute; inset: 0; background: rgba(2, 14, 34, .72); }
.stats__in { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 90px 0; text-align: center; }
.stats__num { font-size: 44px; font-weight: 600; margin-bottom: 10px; }
.stats__label { font-size: 14px; color: rgba(255,255,255,.9); max-width: 260px; margin: 0 auto; }

/* ---------- Заказчики ---------- */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: center; }
.clients__cell {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  height: 96px; display: flex; align-items: center; justify-content: center; padding: 14px;
}
.clients__cell img { max-height: 64px; max-width: 100%; object-fit: contain; }

/* ---------- Контакты: карта + панель ---------- */
.contacts-band { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; }
.contacts-band__map { background: #e5e3df; }
.contacts-band__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contacts-panel { background: var(--navy); color: #fff; padding: 60px 56px; }
.contacts-panel__title { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.contacts-panel a { color: #fff; font-size: 18px; line-height: 1.7; }
.contacts-panel a:hover { color: var(--orange); }
.contacts-panel .btn { margin: 22px 0 28px; }
.contacts-panel__req { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.8; }

/* ---------- Страница контактов ---------- */
.cpage-map { height: 420px; background: #e5e3df; }
.cpage-map iframe { width: 100%; height: 100%; border: 0; }
.cpage h1 { font-size: 30px; font-weight: 500; color: var(--navy); margin: 40px 0 26px; }
.cpage h2 { font-size: 22px; font-weight: 600; color: var(--navy); margin: 30px 0 12px; }
.cpage p, .cpage li { color: #333; font-size: 16px; margin-bottom: 8px; }

/* ---------- Текстовые страницы (policy/consent) ---------- */
.doc { max-width: 900px; }
.doc h1 { font-size: 30px; font-weight: 500; color: var(--navy); margin: 50px 0 26px; }
.doc h2 { font-size: 20px; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.doc p, .doc li { font-size: 15px; color: #333; margin-bottom: 10px; }
.doc ul { padding-left: 20px; list-style: disc; }

/* ---------- Футер ---------- */
.footer { background: #000; color: #bbb; padding: 60px 0 40px; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer__copy { font-size: 13px; margin-top: 18px; }
.footer__title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { color: #b9bec7; font-size: 13px; }
.footer__links a:hover { color: var(--orange); }
.footer__links a[href^="tel"], .footer__links a[href^="mailto"] { font-size: 14px; }
.footer__social { display: flex; gap: 10px; margin-bottom: 8px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #1c1c1c; display: flex; align-items: center; justify-content: center;
}
.footer__social a:hover { background: var(--orange); }
.footer__social img, .footer__social svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Попап ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(2, 12, 30, .66);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.overlay.is-open { display: flex; }
.popup {
  background: #fff; border-radius: 6px;
  width: 100%; max-width: 500px;
  padding: 38px 36px 30px;
  position: relative;
  max-height: 94vh; overflow-y: auto;
}
.popup__close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px; border: 0; background: none;
  font-size: 26px; line-height: 1; color: #98a1b3; cursor: pointer;
}
.popup__close:hover { color: var(--navy); }
.popup__title { font-size: 23px; font-weight: 600; color: var(--navy); text-align: center; margin-bottom: 10px; }
.popup__sub { font-size: 14px; color: #45506b; text-align: center; margin-bottom: 18px; }
.popup ul { margin-bottom: 16px; }
.popup ul li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: #333; margin-bottom: 7px;
}
.popup ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.popup .form { grid-template-columns: 1fr; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.radio-row__label { width: 100%; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-block; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 20px;
  font-size: 13.5px; color: var(--navy); cursor: pointer;
  transition: all .15s;
}
.radio-pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Лайтбокс галереи ---------- */
.lb {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(3, 14, 33, .94);
  display: none;
  overflow-y: auto;
  padding: 0;
}
.lb.is-open { display: block; }
.lb__bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 28px;
  background: rgba(3, 14, 33, .85);
  backdrop-filter: blur(4px);
}
.lb__title { color: #fff; font-size: 20px; font-weight: 600; }
.lb__close { background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.lb__body { max-width: 1280px; margin: 0 auto; padding: 26px 28px 60px; display: grid; grid-template-columns: 300px 1fr; gap: 34px; }
.lb__info { color: #fff; }
.lb__info-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.lb__table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.lb__table td { padding: 9px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.92); }
.lb__table td:last-child { text-align: right; font-weight: 600; }
.lb__desc { font-size: 14px; color: rgba(255,255,255,.88); margin-bottom: 22px; }
.lb__btns { display: flex; flex-direction: column; gap: 12px; }
.lb__grid { columns: 3; column-gap: 14px; }
.lb__grid img { width: 100%; margin-bottom: 14px; border-radius: 3px; break-inside: avoid; }

/* ---------- Плавающая кнопка MAX (мобайл) ---------- */
.float-max {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: #fff; color: var(--navy);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 14px; font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .wgrid { grid-template-columns: repeat(2, 1fr); }
  .ogrid { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .hdr__nav { gap: 18px; }
}

@media (max-width: 980px) {
  body { font-size: 16px; }
  .sec { padding: 55px 0; }
  .sec-title { font-size: 30px; }
  .band__title { font-size: 26px; }
  .cta__title { font-size: 24px; }
  .hero__title { font-size: 30px; }

  .hdr__in { min-height: 66px; }
  .hdr__logo img { height: 38px; }
  .hdr__nav, .hdr__phones, .hdr__right .btn { display: none; }
  .hdr__burger { display: block; margin-left: auto; }

  .mmenu {
    display: block;
    position: fixed; inset: 0; z-index: 80;
    background: var(--navy);
    padding: 90px 26px 40px;
    transform: translateX(100%);
    transition: transform .25s;
    overflow-y: auto;
  }
  body.menu-open .mmenu { transform: translateX(0); }
  .mmenu__links a {
    display: block; color: #fff; font-size: 20px; font-weight: 500;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .mmenu__phones { margin-top: 26px; }
  .mmenu__phones a { display: block; color: #fff; font-size: 18px; font-weight: 600; padding: 6px 0; }
  .mmenu .btn { margin-top: 22px; width: 100%; }

  .about { grid-template-columns: 1fr; gap: 30px; }
  .svc-row { grid-template-columns: 1fr; gap: 20px; padding: 18px 0; }
  .svc-row img { height: 240px; }
  .cgrid { grid-template-columns: 1fr; }
  .band__in { grid-template-columns: 1fr; gap: 28px; }
  .band--photo::before { background: rgba(230,126,34,.94); }
  .contacts-band { grid-template-columns: 1fr; }
  .contacts-band__map { height: 320px; min-height: 0; }
  .contacts-panel { padding: 40px 26px; }
  .stats__in { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .pf-track { grid-auto-columns: 84%; }
  .pf-card__img { height: 220px; }
  .footer__in { grid-template-columns: 1fr 1fr; gap: 30px; }
  .lb__body { grid-template-columns: 1fr; }
  .lb__grid { columns: 2; }
}

@media (max-width: 640px) {
  .hero__in { padding: 60px 0 70px; }
  .hero__btns .btn { width: 100%; }
  .pgrid, .wgrid, .dgrid, .steps, .ogrid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
  .pf-track { grid-auto-columns: 92%; }
  .footer__in { grid-template-columns: 1fr; }
  .lb__grid { columns: 1; }
  .float-max { display: block; }
  .doc h1, .cpage h1 { font-size: 24px; }
}
