/* ==========================================================
   МТК — стили страниц
   ========================================================== */

/* ---------- 01 Главная: первый экран ---------- */

.home-hero {
  position: relative;
  max-width: var(--wrap);
  min-height: 760px;
  margin: 0 auto;
  overflow: hidden;
}
.home-hero__media { position: absolute; inset: 0; pointer-events: none; }
.home-hero__photo {
  position: absolute;
  top: 0;
  left: 22.857%;          /* 336 / 1470 */
  width: 91.973%;         /* 1352 / 1470 */
  max-width: none;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.home-hero__fade {
  position: absolute;
  left: 6.871%;           /* 101 / 1470 */
  top: -94px;
  width: 61.366%;         /* 902 / 1470 */
  height: 1115px;
}
.home-hero__fade img {
  position: absolute;
  left: -17.74%;
  top: -14.35%;
  width: 135.48%;
  height: 128.7%;
  max-width: none;
}
.home-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 60px 40px 60px;
}
.home-hero__title span { display: block; }
.home-hero__offer { display: flex; flex-direction: column; gap: 12px; margin-top: 42px; max-width: 688px; }
.home-hero__lead { font-weight: 500; font-size: 18px; line-height: 24px; color: var(--c-text); }
.home-hero__formats {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.03em;
  color: var(--c-black);
}
.home-hero__formats span { white-space: nowrap; }
.home-hero__formats b { color: var(--c-accent); }
.home-hero__proofs { max-width: 800px; margin-top: 46px; }
.home-hero__actions { max-width: 800px; margin-top: 16px; }

@media (max-width: 1023px) {
  .home-hero { min-height: 0; }
  .home-hero__media { position: relative; height: 380px; margin: 0 var(--gutter); }
  .home-hero__photo { left: 0; width: 100%; border-radius: var(--r-lg); }
  .home-hero__fade { display: none; }
  .home-hero { display: flex; flex-direction: column-reverse; }
  .home-hero__content { padding: 40px var(--gutter) 32px; }
}
@media (max-width: 767px) {
  .home-hero { display: flex; flex-direction: column; gap: 20px; padding: 28px 16px 0; }
  .home-hero__content { display: contents; }
  .home-hero__title { order: 1; font-size: 36px; }
  .home-hero__offer { order: 2; margin-top: -4px; gap: 16px; }
  .home-hero__lead { font-size: 16px; line-height: 23px; }
  .home-hero__formats { column-gap: 16px; font-size: 19px; line-height: 28px; }
  .home-hero__actions { order: 3; margin-top: 0; }
  .home-hero__media { order: 4; height: 216px; margin: 0; }
  .home-hero__proofs { order: 5; margin-top: 0; }
}

/* ---------- 02 Каталог ---------- */

.split-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 613px 707px;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 40px 40px;
  min-height: 656px;
}
.split-hero__copy { justify-content: flex-start; }
.split-hero__actions { margin-top: auto; gap: 12px; }
.split-hero__photo {
  align-self: end;
  width: 100%;
  height: 516px;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.split-hero .page-sub { opacity: .8; }

.cat-groups { gap: 12px; }
.cat-group { display: flex; flex-direction: column; gap: 12px; }
.cat-group__title { font-weight: 500; font-size: 16px; line-height: 24px; }

.fuel-card__barrel--full img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

.fuel-card--wide { isolation: isolate; }
.fuel-card--wide .fuel-card__barrel { left: 228px; }
.fuel-card__plane {
  position: absolute;
  left: 39.7%;
  top: -16px;
  width: 80.8%;
  height: 632px;
  max-width: none;
  object-fit: cover;
  border-radius: var(--r-xl);
  pointer-events: none;
  z-index: 0;
}
.fuel-card--wide .btn { align-self: flex-start; width: 455px; max-width: 100%; }

.doc-banner {
  display: flex;
  gap: 50px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--c-accent);
}
.doc-banner__head { flex: 0 0 680px; }
.chip--white { background: var(--c-white); color: var(--c-ink); }
.doc-banner__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.doc-banner__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.doc-banner__text { color: var(--c-ink); }

@media (max-width: 1280px) {
  .split-hero { grid-template-columns: 1fr 1fr; }
  .doc-banner__head { flex-basis: 50%; }
}
@media (max-width: 1023px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; padding: 32px var(--gutter); }
  .split-hero__actions { margin-top: 0; }
  .split-hero__photo { height: 400px; }
  .fuel-card__plane { display: none; }
  .fuel-card--wide .fuel-card__barrel { left: 50%; }
  .doc-banner { flex-direction: column; gap: 20px; }
  .doc-banner__head { flex-basis: auto; }
}
@media (max-width: 767px) {
  .split-hero { gap: 24px; padding: 24px 16px 0; }
  .split-hero .page-head { display: contents; }
  .split-hero__actions { order: 3; }
  .split-hero .actions .btn--dark { order: 2; background: var(--c-white); border-color: var(--c-surface); color: var(--c-ink); }
  .split-hero__photo { order: 4; height: 240px; border-radius: var(--r-lg); }
  .cat-groups { gap: 24px; }
  .fuel-card--wide .fuel-card__barrel { left: auto; }
  .fuel-card--wide .btn { width: 100%; }
  .doc-banner { padding: 20px; border-radius: var(--r); }
  .doc-banner__head .chip { display: none; }
  .doc-banner__title { font-size: 30px; line-height: 34px; }
}

/* ---------- Отрасли (общий блок) ---------- */

.industries-sec { display: flex; flex-direction: column; gap: 60px; }
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.industry {
  position: relative;
  min-height: 560px;
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  overflow: hidden;
  color: var(--c-white);
}
.industry__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 340px;
  background: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0));
  opacity: .9;
  z-index: 1;
}
.industry__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; }
.industry__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.industry__text { font-weight: 500; font-size: 18px; line-height: 24px; }
.industry__note { font-size: 18px; line-height: 24px; }

@media (max-width: 1023px) {
  .industry { min-height: 440px; }
}
@media (max-width: 767px) {
  .industries-sec { gap: 16px; padding-top: 64px; padding-bottom: 64px; }
  .industries { grid-template-columns: 1fr; }
  .industry { min-height: 330px; padding: 20px; border-radius: var(--r-lg); }
  .industry__title { font-size: 28px; line-height: 34px; }
  .industry__text, .industry__note { font-size: 16px; line-height: 22px; }
  .industry__text br { display: none; }
}

/* ---------- 04 Как мы работаем ---------- */

.hww { display: flex; flex-direction: column; gap: 56px; }
.hww .page-head { gap: 32px; }
.hww__delivery { display: flex; flex-direction: column; gap: 32px; }
.hww__photo { width: 100%; height: 400px; object-fit: cover; border-radius: var(--r-xl); }
.hww__photo.only-desktop { margin-bottom: -8px; }
.hww__note { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); }
@media (max-width: 767px) {
  .hww { gap: 24px; }
  .hww .page-head { gap: 24px; }
  .hww .h1 { margin-bottom: 0; }
  .hww__delivery { gap: 24px; padding-top: 32px; }
  .hww__photo { height: 220px; border-radius: var(--r-lg); }
}

/* ---------- Hero с фото на всю ширину ---------- */

.photo-hero { position: relative; max-width: var(--wrap); margin: 0 auto; min-height: 645px; display: flex; align-items: flex-end; color: var(--c-white); overflow: hidden; }
.photo-hero__bg { position: absolute; inset: 0; }
.photo-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.8)); }
.photo-hero__content { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 64px 40px; max-width: 700px; }
.photo-hero__title, .photo-hero__lead { color: var(--c-white); }
.photo-hero__actions { display: grid; grid-template-columns: 288px 288px; gap: 16px; }

@media (max-width: 767px) {
  .photo-hero { flex-direction: column; align-items: stretch; min-height: 0; color: var(--c-ink); }
  .photo-hero__bg { position: relative; order: 2; height: 208px; margin: 0 16px 40px; border-radius: var(--r-lg); overflow: hidden; }
  .photo-hero__bg::after { display: none; }
  .photo-hero__content { gap: 28px; padding: 28px 16px 28px; }
  .photo-hero__title, .photo-hero__lead { color: var(--c-ink); }
  .photo-hero__actions { grid-template-columns: 1fr; }
}

/* ---------- 05 Гарантия качества ---------- */

.page-quality main { background: var(--c-white); }
.guarantees { display: flex; flex-direction: column; gap: 32px; }
.guarantees__intro { display: flex; align-items: center; gap: 48px; }
.guarantees__intro .heading { flex: 0 0 420px; }
.guarantees__intro .text { font-size: 18px; line-height: 27px; }
.steps--guarantee .step { min-height: 278px; }

.docs-sec, .control-sec, .partners-sec { display: flex; flex-direction: column; gap: 32px; }
.docs-sec__text { max-width: 800px; font-size: 18px; line-height: 27px; }

.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 420px;
  padding: 12px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--c-white);
}
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.stage__num { position: absolute; top: 12px; left: 12px; font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: 70px; }
.stage__title {
  position: relative;
  min-height: 100px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--c-page);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--c-accent);
}

@media (max-width: 1200px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .guarantees__intro { flex-direction: column; align-items: flex-start; gap: 20px; }
  .guarantees__intro .heading { flex: none; }
  .stages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .guarantees, .docs-sec, .control-sec, .partners-sec { gap: 28px; padding-bottom: 40px; }
  .guarantees__intro .text, .docs-sec__text { font-size: 16px; line-height: 24px; }
  .steps--guarantee .step { min-height: 224px; }
  .stages { grid-template-columns: 1fr; }
  .stage { height: 374px; }
  .stage__title { min-height: 0; }
}

/* ---------- 06 География ---------- */

.geo-intro { display: flex; align-items: flex-start; gap: 100px; padding-top: 80px; padding-bottom: 0; }
.geo-intro__head { flex: 0 0 770px; display: flex; flex-direction: column; gap: 20px; }
.geo-intro__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 536px; }
.geo-intro__text { font-size: 23px; line-height: 33px; }
.geo-intro__btn { width: 340px; }
.map-credit { padding-top: 0; padding-bottom: 32px; font-size: 11px; line-height: 16px; color: var(--c-text-2); }
.geo--page { padding-bottom: 32px; }

.route { display: flex; align-items: flex-start; gap: 60px; }
.route__copy { flex: 0 0 587px; display: flex; flex-direction: column; gap: 32px; }
.route__text { max-width: 540px; font-size: 21px; line-height: 30px; color: #b2b2ad; }
.route__call { display: flex; flex-direction: column; gap: 8px; }
.route__phone { font-weight: 600; font-size: 32px; line-height: 46px; }
.route__phone:hover { color: var(--c-accent); }
.route__hint { font-weight: 500; font-size: 14px; line-height: 20px; color: #b2b2ad; }
.route .form--card { flex: 1 1 auto; }

@media (max-width: 1280px) {
  .geo-intro { gap: 48px; }
  .geo-intro__head { flex: 1 1 50%; }
  .route__copy { flex: 1 1 40%; }
}
@media (max-width: 1023px) {
  .geo-intro { flex-direction: column; gap: 32px; }
  .route { flex-direction: column; gap: 32px; }
  .route__copy { flex: none; }
  .route .form--card { width: 100%; }
}
@media (max-width: 767px) {
  .geo-intro { padding-top: 48px; }
  .geo-intro__head { flex: none; }
  .geo-intro__aside { gap: 20px; }
  .geo-intro__text { font-size: 17px; line-height: 26px; }
  .geo-intro__btn { width: 100%; }
  .geo--page { padding-top: 64px; padding-bottom: 64px; }
  .map-credit { font-size: 12px; line-height: 18px; }
  .route__copy { gap: 20px; }
  .route__text { font-size: 16px; line-height: 24px; }
  .route__phone { font-size: 26px; line-height: 36px; }
}

/* ---------- 07 Мобильные АЗС ---------- */

.mazs-hero { position: relative; max-width: var(--wrap); margin: 0 auto; height: 800px; overflow: hidden; color: var(--c-white); }
.mazs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mazs-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .7); z-index: 1; }
.mazs-hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 32px; }
.mazs-hero__title { color: var(--c-white); }
.mazs-hero__actions { width: 693px; max-width: 100%; gap: 16px; }
.mazs-hero__actions .btn--white { border-color: transparent; }

.mazs-about { display: flex; align-items: flex-end; gap: 56px; }
.mazs-about__head { flex: 0 0 420px; }
.mazs-about__text { display: flex; flex-direction: column; gap: 24px; max-width: 930px; }
.mazs-about__text .text { max-width: 800px; font-size: 18px; line-height: 27px; }

.mazs-use, .mazs-dark, .mazs-gallery { display: flex; flex-direction: column; gap: 32px; }
.mazs-use__body { display: flex; align-items: flex-start; gap: 60px; }
.mazs-use__photo { flex: 0 0 683px; height: 535px; object-fit: cover; border-radius: var(--r-xl); }
.mazs-use .feature-list { flex: 1; }
.mazs-dark--steps { padding-top: 0; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gallery__item { display: flex; flex-direction: column; gap: 16px; }
.gallery__item img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-xl); }
.gallery__item figcaption { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); }

.mazs-order { display: flex; align-items: flex-start; gap: 56px; }
.mazs-order__copy { flex: 0 0 581px; display: flex; flex-direction: column; gap: 32px; }
.mazs-order__copy .lead { max-width: 500px; }
.mazs-order .form { flex: 1 1 auto; gap: 24px; }

@media (max-width: 1280px) {
  .mazs-use__photo { flex-basis: 50%; }
  .mazs-order__copy { flex-basis: 40%; }
}
@media (max-width: 1023px) {
  .mazs-hero { height: 640px; }
  .mazs-about { flex-direction: column; align-items: flex-start; gap: 32px; }
  .mazs-about__head { flex: none; }
  .mazs-use__body { flex-direction: column; gap: 32px; }
  .mazs-use__photo { flex: none; width: 100%; height: 420px; }
  .mazs-order { flex-direction: column; gap: 32px; }
  .mazs-order__copy { flex: none; }
  .mazs-order .form { width: 100%; }
}
@media (max-width: 767px) {
  .mazs-hero { height: auto; display: flex; flex-direction: column; gap: 28px; padding: 28px 16px 40px; color: var(--c-white); }
  .mazs-hero::before { display: none; }
  .mazs-hero__bg { position: relative; order: 2; height: 240px; border-radius: var(--r-lg); }
  .mazs-hero__content { order: 1; height: auto; gap: 32px; padding: 20px; border-radius: var(--r-lg); background: var(--c-ink); }
  .mazs-hero__actions { width: 100%; }
  .mazs-about { gap: 20px; padding-bottom: 40px; }
  .mazs-about__text { gap: 20px; }
  .mazs-about__text .text { font-size: 16px; line-height: 24px; }
  .mazs-use, .mazs-dark, .mazs-gallery { gap: 28px; padding-bottom: 40px; }
  .mazs-use__body { gap: 32px; }
  .mazs-use__photo { height: 269px; border-radius: var(--r-lg); }
  .mazs-use .feature-list { gap: 20px; }
  .mazs-dark--steps { padding-top: 16px; }
  .gallery { grid-template-columns: 1fr; gap: 20px; }
  .gallery__item img { height: 211px; border-radius: var(--r-lg); }
  .mazs-order { gap: 32px; padding-bottom: 40px; }
  .mazs-order__copy { gap: 20px; }
  .mazs-order .form { gap: 12px; }
}


/* ---------- 09 Отзывы ---------- */

.reviews-intro { display: flex; flex-direction: column; gap: 32px; }
.intro-row--reviews { grid-template-columns: 769px 1fr; align-items: start; gap: 56px; }

.filter { display: flex; flex-wrap: wrap; gap: 12px; }
.filter__chip {
  padding: 12px 16px;
  border: 0;
  border-radius: var(--r);
  background: var(--c-page);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--c-ink);
  transition: background-color .2s, color .2s;
}
.filter__chip:hover { background: var(--c-surface); }
.filter__chip.is-active { background: var(--c-ink); color: var(--c-white); }

.reviews-sec__text { max-width: 800px; font-size: 18px; line-height: 27px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { min-height: 184px; }
.quote .feature__title { text-transform: none; }
[data-tags][hidden] { display: none !important; }

.chats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.chat { display: flex; flex-direction: column; gap: 24px; min-height: 665px; padding: 32px; border-radius: var(--r-xl); background: var(--c-white); }
.chat__head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.chat__avatar { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; height: 48px; border-radius: var(--r-lg); background: var(--c-page); font-weight: 600; font-size: 20px; }
.chat__name { font-weight: 600; font-size: 20px; line-height: 28px; }
.chat__topic { font-size: 14px; line-height: 20px; color: var(--c-text); }
.chat__messages { display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; flex-direction: column; gap: 8px; width: min(488px, 85%); padding: 16px 20px; border-radius: var(--r); background: var(--c-page); }
.msg p { font-size: 18px; line-height: 27px; }
.msg time { font-size: 14px; line-height: 20px; text-align: right; color: var(--c-text); }
.msg--mtk { align-self: flex-end; background: var(--c-accent); }
.msg--mtk time { color: var(--c-ink); }

.letter-card { display: flex; flex-direction: column; gap: 20px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.letter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 618px;
  padding: 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-white);
  color: var(--c-ink);
  transition: box-shadow .2s, transform .2s;
}
.letter-card:hover .letter { box-shadow: 0 12px 32px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.letter-card:hover .doc__name { color: var(--c-accent); }
.letter__org { padding-bottom: 20px; border-bottom: 1px solid var(--c-line); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-text); }
.letter__title { font-weight: 700; font-size: 28px; line-height: 34px; text-transform: uppercase; }
.letter__to { font-weight: 500; font-size: 16px; line-height: 24px; }
.letter__body { display: flex; flex-direction: column; gap: 20px; font-size: 14px; line-height: 20px; }
.letter__sign { font-weight: 600; font-size: 16px; line-height: 20px; }
.modal .letter.is-full { min-height: 0; max-width: 640px; border: 0; padding: 8px; }

@media (max-width: 1280px) {
  .intro-row--reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .intro-row--reviews { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .quotes { grid-template-columns: 1fr; }
  .chats { grid-template-columns: 1fr; gap: 20px; }
  .chat { min-height: 0; }
}
@media (max-width: 767px) {
  .reviews-intro { gap: 24px; padding-top: 32px; }
  .filter { gap: 8px; }
  .filter__chip { padding: 10px 14px; font-size: 14px; }
  .reviews-sec__text { font-size: 16px; line-height: 24px; }
  .quote { min-height: 0; }
  .chat { gap: 16px; padding: 20px; border-radius: var(--r-lg); }
  .chat__head { padding-bottom: 16px; }
  .msg { width: 90%; padding: 12px 16px; }
  .msg p { font-size: 16px; line-height: 24px; }
  .letter { min-height: 0; padding: 24px; border-radius: var(--r-lg); }
  .letter__title { font-size: 24px; line-height: 30px; }
}

/* ---------- 10 О компании ---------- */

.about-hero { max-width: var(--wrap); margin: 0 auto; }
.about-hero__top { display: flex; align-items: flex-start; gap: 60px; padding-bottom: 40px; }
.about-hero__head { flex: 0 0 890px; display: flex; flex-direction: column; gap: 20px; }
.about-hero__head .eyebrow { font-weight: 400; font-size: 16px; color: var(--c-text); }
.about-hero__aside { display: flex; flex-direction: column; gap: 24px; max-width: 455px; }
.about-hero__text { font-size: 20px; line-height: 28px; }
.about-hero__photo { width: 100%; height: 480px; object-fit: cover; }
.about-hero__facts { padding-top: 40px; padding-bottom: 72px; }
.about-hero__facts .fact { min-height: 162px; }

.team-sec { display: flex; flex-direction: column; gap: 32px; }
.team-sec__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.team-sec__title .h2 { flex: 0 0 874px; }
.team-sec__lead { max-width: 472px; font-size: 20px; line-height: 28px; }
.team-scene { display: flex; flex-direction: column; gap: 16px; }
.team-scene img { width: 100%; height: 576px; object-fit: cover; border-radius: var(--r-xl); }
.team-scene figcaption { font-size: 14px; line-height: 20px; color: var(--c-text); }
.support { gap: 12px; }
.support__title { font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 38px; text-transform: uppercase; }

.about-formats { display: flex; flex-direction: column; gap: 48px; }
.about-formats__head { display: flex; align-items: flex-start; gap: 74px; }
.about-formats__head .heading { flex: 0 0 668px; }
.about-formats__lead { padding-top: 22px; font-size: 24px; line-height: 34px; }

.about-note { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; padding-bottom: 0; }
.about-note__title { font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 40px; text-transform: uppercase; }
.about-note__list { font-size: 24px; line-height: 34px; }
.about-note__eyebrow { font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-text); text-transform: uppercase; }
.about-note__link { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-accent); }
.about-note__link:hover { color: var(--c-accent-hover); }

@media (max-width: 1280px) {
  .about-hero__head { flex: 1 1 60%; }
  .team-sec__title .h2 { flex: 1 1 60%; }
  .about-formats__head .heading { flex: 1 1 50%; }
}
@media (max-width: 1023px) {
  .about-hero__top { flex-direction: column; gap: 24px; }
  .about-hero__head { flex: none; }
  .about-hero__photo { height: 360px; }
  .team-sec__title { flex-direction: column; align-items: flex-start; gap: 16px; }
  .team-sec__title .h2 { flex: none; }
  .about-formats__head { flex-direction: column; gap: 16px; }
  .about-formats__head .heading { flex: none; }
  .about-formats__lead { padding-top: 0; }
}
@media (max-width: 767px) {
  .about-hero__top { padding-top: 32px; padding-bottom: 24px; }
  .about-hero__aside { gap: 20px; }
  .about-hero__text { font-size: 16px; line-height: 24px; }
  .about-hero__photo { height: 240px; }
  .about-hero__facts { padding-top: 24px; padding-bottom: 56px; }
  .about-hero__facts .fact { min-height: 0; }
  .team-sec { gap: 24px; }
  .team-sec__lead { font-size: 16px; line-height: 24px; }
  .team-scene img { height: 260px; border-radius: var(--r-lg); }
  .support__title { font-size: 24px; line-height: 30px; }
  .about-formats { gap: 24px; }
  .about-formats__lead { font-size: 17px; line-height: 26px; }
  .about-note { padding-top: 32px; }
  .about-note__title { font-size: 26px; line-height: 32px; }
  .about-note__list { font-size: 18px; line-height: 27px; }
}

/* ---------- 11 Вопросы и ответы ---------- */

.faq-sec { display: flex; flex-direction: column; gap: 32px; }
.faq { display: flex; align-items: flex-start; gap: 48px; }
.faq__intro { flex: 0 0 420px; display: flex; flex-direction: column; gap: 48px; }
.faq__contact { display: flex; flex-direction: column; gap: 16px; }
.faq__link { font-size: 16px; line-height: 20px; }
.faq__list { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-lg); background: var(--c-page); }

.ask { display: flex; align-items: flex-start; gap: 56px; }
.ask__intro { flex: 0 0 420px; display: flex; flex-direction: column; gap: 32px; }
.ask__intro .text { max-width: 350px; font-size: 18px; line-height: 27px; }
.form--ask { flex: 1; gap: 24px; }
.form--ask .field__control { border-color: var(--c-line); }
.form--ask textarea::placeholder { color: var(--c-text); }
.form--ask__row { display: grid; grid-template-columns: 1fr 324px; align-items: end; gap: 24px; }
.form--ask .check { font-size: 14px; line-height: 20px; }
.form--ask .check input { width: 24px; height: 24px; border-radius: 4px; border-color: var(--c-text); }

@media (max-width: 1023px) {
  .faq, .ask { flex-direction: column; gap: 32px; }
  .faq__intro, .ask__intro { flex: none; }
  .faq__list, .form--ask { width: 100%; }
}
@media (max-width: 767px) {
  .faq-sec { gap: 24px; padding-top: 24px; }
  .faq { gap: 24px; }
  .faq__intro { gap: 20px; }
  .faq__list { padding: 8px; border-radius: var(--r); }
  .ask { gap: 24px; }
  .ask__intro { gap: 20px; }
  .ask__intro .text { font-size: 16px; line-height: 24px; }
  .form--ask { gap: 16px; }
  .form--ask__row { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 12 Блог ---------- */

.blog { display: flex; flex-direction: column; gap: 56px; }
.blog__head { display: flex; flex-direction: column; gap: 32px; }
.blog__title-row { display: flex; align-items: center; gap: 40px; }
.blog__title-row .h1 { flex: 0 0 900px; }
.blog__contact { margin-top: -8px; font-weight: 500; font-size: 16px; }
.filter__chip--white { height: 48px; padding: 0 24px; background: var(--c-white); color: var(--c-text); }
.filter__chip--white.is-active { background: var(--c-ink); color: var(--c-white); }

.post-main { display: grid; grid-template-columns: 745px 1fr; align-items: center; gap: 48px; }
.post-main__img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--r-xl); }
.post-main__body { display: flex; flex-direction: column; gap: 24px; }
.post-main__meta { font-size: 14px; line-height: 20px; color: var(--c-accent); text-transform: uppercase; }
.post-main__title { font-family: var(--f-display); font-weight: 700; font-size: 56px; line-height: 64px; letter-spacing: -0.03em; text-transform: uppercase; }
.post-main:hover .post-main__title { color: var(--c-accent); }

.blog__h2 { font-weight: 700; font-size: 40px; line-height: 46px; }
.posts { display: flex; flex-direction: column; gap: 16px; }
.post { display: flex; align-items: center; gap: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--c-surface); transition: background-color .2s; }
.post:hover { background: #dcdcdc; }
.post__cover { position: relative; flex: 0 0 223px; height: 154px; border-radius: var(--r-xl); overflow: hidden; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__cover--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.8)); }
.post__body { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.post__meta { font-size: 14px; line-height: 20px; color: var(--c-text); text-transform: uppercase; }
.post__title { font-weight: 700; font-size: 28px; line-height: 34px; }
.post:hover .post__title { color: var(--c-accent); }
.post__arrow { flex: 0 0 24px; height: 24px; margin-left: 24px; }

.popular { border-top: 1px solid var(--c-line); }
.popular li { border-bottom: 1px solid var(--c-line); }
.popular a { display: flex; gap: 32px; padding: 24px 0; font-weight: 500; font-size: 22px; line-height: 30px; }
.popular a:hover { color: var(--c-accent); }
.popular span { flex: 0 0 64px; padding-top: 4px; font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-accent); }

.no-answer { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.no-answer__title { font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 46px; letter-spacing: -0.03em; text-transform: uppercase; }
.no-answer__link { margin-top: 16px; font-size: 16px; line-height: 20px; }
.no-answer__btn { flex: 0 0 324px; }

@media (max-width: 1280px) {
  .blog__title-row .h1 { flex: 1 1 60%; }
  .post-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .blog__title-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .post-main { grid-template-columns: 1fr; gap: 24px; }
  .post-main__img { height: 320px; }
  .post-main__title { font-size: 44px; line-height: 50px; }
  .no-answer { flex-direction: column; align-items: stretch; }
  .no-answer__btn { flex: none; }
}
@media (max-width: 767px) {
  .blog { gap: 40px; padding-top: 24px; }
  .blog__head { gap: 20px; }
  .blog__contact { margin-top: 0; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter__chip { flex-shrink: 0; }
  .filter__chip--white { height: 44px; padding: 0 16px; }
  .post-main__img { height: 220px; border-radius: var(--r-lg); }
  .post-main__body { gap: 16px; }
  .post-main__title { font-size: 32px; line-height: 38px; }
  .blog__h2 { font-size: 30px; line-height: 36px; }
  .post { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; }
  .post__cover { flex: none; height: 180px; border-radius: var(--r); }
  .post__body { gap: 8px; }
  .post__meta { font-size: 12px; line-height: 18px; }
  .post__title { font-size: 20px; line-height: 26px; }
  .post__arrow { display: none; }
  .popular a { gap: 16px; padding: 18px 0; font-size: 17px; line-height: 24px; }
  .popular span { flex-basis: 28px; padding-top: 2px; font-size: 14px; }
  .no-answer__title { font-size: 30px; line-height: 36px; }
}

/* ---------- 13 Статья ---------- */

.article { display: flex; flex-direction: column; gap: 64px; }
.article__head { display: flex; flex-direction: column; gap: 32px; }
.article__title-block { display: flex; flex-direction: column; gap: 24px; }
.article__rubric { font-size: 14px; line-height: 20px; color: var(--c-accent); text-transform: uppercase; }
.article__lead { max-width: 1100px; }
.article__contact { font-weight: 500; font-size: 16px; }
.article__cover { width: 100%; height: 360px; object-fit: cover; border-radius: var(--r-xl); }

.article__layout { display: flex; align-items: flex-start; gap: 56px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); flex: 0 0 240px; display: flex; flex-direction: column; gap: 16px; }
.toc__label { font-size: 14px; line-height: 20px; color: var(--c-text); text-transform: uppercase; }
.toc a { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); transition: color .2s; }
.toc a:hover, .toc a.is-active { color: var(--c-accent); }
.toc .toc__cta { padding-top: 16px; border-top: 1px solid var(--c-line); font-weight: 600; line-height: 20px; color: var(--c-accent); }

.prose { flex: 0 1 800px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.prose section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose p { font-size: 18px; line-height: 27px; }
.prose__h2 { font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -0.03em; text-transform: uppercase; }
.prose__h3 { font-weight: 700; font-size: 28px; line-height: 34px; }
.prose section > .prose__h3 { margin-bottom: 8px; }
.prose__link { font-size: 16px; line-height: 20px; }
.prose__figure { display: flex; flex-direction: column; gap: 16px; }
.prose__figure img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--r-xl); }
.prose__figure figcaption { font-size: 14px; line-height: 20px; color: var(--c-text); }

/* Текст статьи из визуального редактора панели: обычные теги без классов */
.rich { display: flex; flex-direction: column; gap: 16px; }
.rich > * { margin: 0; }
.rich h2 { margin-top: 32px; font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -0.03em; text-transform: uppercase; scroll-margin-top: calc(var(--header-h) + 24px); }
.rich h3 { margin-top: 16px; font-weight: 700; font-size: 28px; line-height: 34px; }
.rich > :first-child { margin-top: 0; }
.rich p, .rich li { font-size: 18px; line-height: 27px; }
.rich a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: var(--c-accent-hover); }
.rich ul, .rich ol { display: flex; flex-direction: column; gap: 8px; padding-left: 24px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li::marker { color: var(--c-accent); }
.rich li p { margin: 0; }
.rich blockquote { margin: 8px 0; padding: 24px; border-radius: var(--r-lg); background: var(--c-white); font-weight: 500; }
.rich blockquote p { font-size: 22px; line-height: 30px; }
.rich img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--r-xl); }
.rich table { width: 100%; border-collapse: collapse; }
.rich th, .rich td { padding: 16px 32px 16px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; font-size: 18px; line-height: 27px; }
.rich th { font-weight: 500; color: var(--c-text); }
.rich th p, .rich td p { margin: 0; font-size: inherit; line-height: inherit; }
.rich hr { width: 100%; border: 0; border-top: 1px solid var(--c-line); }

.summary { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--c-white); }
.summary__label { font-weight: 600; font-size: 16px; line-height: 20px; color: var(--c-accent); text-transform: uppercase; }
.prose .summary__text { font-weight: 500; font-size: 22px; line-height: 30px; }

.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 32px 16px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.compare th[scope="row"], .compare thead th:first-child { width: 160px; font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); }
.compare thead th:not(:first-child) { font-weight: 500; font-size: 22px; line-height: 30px; }
.compare td { width: 288px; font-size: 18px; line-height: 27px; }

.data-list { margin: 0; border-top: 1px solid var(--c-line); }
.data-list div { display: flex; gap: 32px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.data-list dt { flex: 0 0 160px; font-weight: 600; font-size: 16px; line-height: 20px; }
.data-list dd { margin: 0; font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); }

.related__list { border-top: 1px solid var(--c-line); }
.related__list li { border-bottom: 1px solid var(--c-line); }
.related__list a { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 32px 0; }
.related__list span { display: flex; flex-direction: column; gap: 12px; }
.related__list b { font-weight: 500; font-size: 22px; line-height: 30px; }
.related__list small { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); }
.related__list em { flex: 0 0 324px; font-style: normal; font-weight: 500; font-size: 16px; color: var(--c-accent); }
.related__list a:hover b { color: var(--c-accent); }

.article-cta { display: flex; flex-direction: column; gap: 32px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.article-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.article-cta .cta-box__title { color: var(--c-ink); }
.article-cta__btn { flex: 0 0 288px; }
.article-cta .text { font-size: 18px; line-height: 27px; }

@media (max-width: 1023px) {
  .article__layout { flex-direction: column; gap: 32px; }
  .toc { position: static; flex: none; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .toc__label { width: 100%; }
  .toc .toc__cta { padding-top: 0; border-top: 0; }
  .prose { flex: none; width: 100%; }
  .related__list em { flex: none; }
  .article-cta__row { flex-direction: column; align-items: stretch; }
  .article-cta__btn { flex: none; }
}
@media (max-width: 767px) {
  .article { gap: 40px; padding-top: 24px; }
  .article__head { gap: 20px; }
  .article__title-block { gap: 16px; }
  .article .h1 { font-size: 34px; line-height: 40px; }
  .article__cover { height: 220px; border-radius: var(--r-lg); }
  .prose { gap: 36px; }
  .prose p { font-size: 16px; line-height: 25px; }
  .prose__h2 { font-size: 28px; line-height: 32px; }
  .prose__h3 { font-size: 22px; line-height: 28px; }
  .prose .summary__text { font-size: 18px; line-height: 26px; }
  .summary { padding: 20px; }
  .prose__figure img { height: 240px; border-radius: var(--r-lg); }
  .rich h2 { margin-top: 20px; font-size: 28px; line-height: 32px; }
  .rich h3 { margin-top: 8px; font-size: 22px; line-height: 28px; }
  .rich p, .rich li { font-size: 16px; line-height: 25px; }
  .rich blockquote { padding: 20px; }
  .rich blockquote p { font-size: 18px; line-height: 26px; }
  .rich img { max-height: 240px; border-radius: var(--r-lg); }
  .rich th, .rich td { padding-right: 16px; font-size: 15px; line-height: 22px; }
  .compare th, .compare td { padding-right: 16px; }
  .compare th[scope="row"], .compare thead th:first-child { width: 90px; font-size: 14px; }
  .compare thead th:not(:first-child) { font-size: 17px; line-height: 24px; }
  .compare td { width: auto; font-size: 15px; line-height: 22px; }
  .data-list div { gap: 16px; }
  .data-list dt { flex-basis: 90px; font-size: 15px; }
  .data-list dd { font-size: 15px; line-height: 22px; }
  .related__list a { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
  .related__list b { font-size: 18px; line-height: 26px; }
  .related__list small { font-size: 14px; line-height: 20px; }
  .article-cta { gap: 20px; }
  .article-cta .text { font-size: 16px; line-height: 24px; }
}

/* ---------- 14 Коммерческое предложение ---------- */

.kp { display: flex; align-items: flex-start; gap: 56px; padding: 42px 40px; }
.kp__intro { flex: 0 0 574px; min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.kp__offer { display: flex; flex-direction: column; gap: 24px; }
.kp__lead { font-size: 20px; line-height: 28px; color: var(--c-text); }
.kp__note { font-size: 16px; line-height: 24px; color: var(--c-text); }
.kp__call { display: flex; flex-direction: column; gap: 8px; }
.kp__call p { font-size: 14px; line-height: 20px; color: var(--c-text); }
.kp__call a { font-weight: 600; font-size: 24px; line-height: 32px; }
.kp__call a:hover { color: var(--c-accent); }

.form--kp { flex: 0 1 760px; gap: 16px; padding: 32px; border-radius: var(--r-xl); background: var(--c-white); }
.form--kp .form__row { gap: 16px; }
.form--kp .field__control { min-height: 58px; border-color: var(--c-line); }
.form--kp .field__control::placeholder { color: var(--c-text); opacity: 1; }
.options--sm { gap: 8px; }
.options--sm .option span { height: 48px; font-size: 16px; line-height: 24px; }

.field--unit { display: flex; }
.field--unit .field__control { padding-right: 84px; }
.unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 32px;
  padding: 0 22px 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent url("../assets/img/icons/chevron-down.svg") right 4px center / 16px no-repeat;
  font-weight: 500;
  font-size: 16px;
  appearance: none;
  cursor: pointer;
}
.unit:focus-visible { outline: 2px solid var(--c-accent); }

.disclosure { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; height: 36px; padding: 0; border: 0; background: none; font-weight: 500; font-size: 16px; line-height: 24px; }
.disclosure img { width: 16px; height: 16px; transition: transform .2s; }
.disclosure[aria-expanded="true"] img { transform: rotate(180deg); }
.form__extra { display: flex; flex-direction: column; gap: 16px; }
.form__extra[hidden] { display: none; }
.check--kp { font-size: 14px; line-height: 20px; color: var(--c-ink); }
.check--kp input { width: 24px; height: 24px; border-radius: 4px; border-color: var(--c-ink); }
.check--kp a { color: var(--c-text); text-decoration: none; }
.check--kp a:hover { color: var(--c-accent); }

.kp-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kp-format { display: flex; flex-direction: column; gap: 12px; min-height: 264px; padding: 24px; border-radius: var(--r-lg); background: var(--c-surface); }
.kp-format__title { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 34px; }
.kp-format__value { font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 48px; letter-spacing: -0.03em; color: var(--c-accent); }
.kp-format__text { font-size: 18px; line-height: 26px; }

.return-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.return-cta__copy { display: flex; flex-direction: column; gap: 32px; max-width: 1042px; }
.return-cta .cta-box__title { color: var(--c-ink); }
.return-cta .text { font-size: 18px; line-height: 27px; }
.return-cta__btn { flex: 0 0 324px; }

@media (max-width: 1280px) {
  .kp__intro { flex: 1 1 40%; }
  .kp-formats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .kp { flex-direction: column; gap: 32px; padding: 40px var(--gutter); }
  .kp__intro { flex: none; min-height: 0; }
  .form--kp { flex: none; width: 100%; }
  .return-cta { flex-direction: column; align-items: stretch; }
  .return-cta__btn { flex: none; }
}
@media (max-width: 767px) {
  .kp { gap: 24px; padding: 28px 16px 56px; }
  .kp__offer { gap: 16px; }
  .kp__lead { font-size: 17px; line-height: 25px; }
  .kp__note { font-size: 15px; line-height: 22px; }
  .kp__call a { font-size: 22px; }
  .form--kp { padding: 20px; border-radius: var(--r-lg); }
  .options--sm .option span { height: 44px; font-size: 14px; }
  .kp-formats { grid-template-columns: 1fr; gap: 12px; }
  .kp-format { min-height: 0; padding: 20px; gap: 8px; }
  .kp-format__title { font-size: 24px; line-height: 30px; }
  .kp-format__value { font-size: 32px; line-height: 40px; }
  .kp-format__text { font-size: 16px; line-height: 24px; }
  .return-cta__copy { gap: 20px; }
  .return-cta .text { font-size: 16px; line-height: 24px; }
}

/* ---------- 15 Контакты ---------- */

.contacts { display: flex; flex-direction: column; gap: 48px; }
.contacts__main { display: flex; align-items: flex-start; gap: 56px; }
.contacts__info { flex: 0 0 581px; display: flex; flex-direction: column; gap: 24px; }
.contacts__list { display: flex; flex-direction: column; gap: 24px; }
.contacts__item { display: flex; flex-direction: column; gap: 8px; }
.contacts__phone { font-weight: 700; font-size: 28px; line-height: 34px; }
.contacts__email { font-weight: 500; font-size: 22px; line-height: 30px; }
.contacts__phone:hover, .contacts__email:hover { color: var(--c-accent); }
.contacts__hint { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--c-text); }
.contacts__hint--sm { font-weight: 400; font-size: 14px; line-height: 20px; }
.contacts__messengers { display: flex; gap: 32px; font-weight: 600; font-size: 16px; line-height: 20px; }
.contacts__messengers a { min-width: 180px; }
.contacts__messengers a:hover { color: var(--c-accent); }
.contacts__info .text { font-size: 18px; line-height: 27px; }
.contacts__calc { font-size: 16px; line-height: 20px; }

.form--message { flex: 1 1 auto; gap: 24px; }
.form--message__title { font-weight: 700; font-size: 28px; line-height: 34px; }
.form--message .form__row { gap: 16px; }
.form--message .field__control { border-color: var(--c-line); }
.form--message .check--kp { color: var(--c-text); }
.form--message .check--kp input { border-color: var(--c-text); }
.form--message .check a { text-decoration: underline; }

.office { display: flex; align-items: flex-start; gap: 56px; }
.office__photo { flex: 0 0 769px; height: 428px; object-fit: cover; border-radius: var(--r-xl); }
.office__info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.office__address { font-style: normal; font-weight: 500; font-size: 22px; line-height: 30px; }
.office__btn { width: 320px; }
.office__info .text { font-size: 18px; line-height: 27px; }

@media (max-width: 1280px) {
  .contacts__info { flex: 1 1 40%; }
  .office__photo { flex: 1 1 55%; min-width: 0; }
}
@media (max-width: 1023px) {
  .contacts__main, .office { flex-direction: column; gap: 32px; }
  .contacts__info { flex: none; }
  .form--message { width: 100%; }
  .office__photo { flex: none; width: 100%; height: 360px; }
}
@media (max-width: 767px) {
  .contacts { gap: 40px; padding-top: 24px; }
  .contacts__info { gap: 20px; }
  .contacts__list { gap: 20px; }
  .contacts__phone { font-size: 26px; }
  .contacts__email { font-size: 19px; }
  .contacts__messengers { gap: 12px; }
  .contacts__messengers a {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid var(--c-surface);
    border-radius: var(--r-sm);
    background: var(--c-white);
  }
  .contacts__info .text, .office__info .text { font-size: 16px; line-height: 24px; }
  .form--message { gap: 16px; }
  .form--message__title { font-size: 24px; line-height: 30px; }
  .office__photo { height: 240px; border-radius: var(--r-lg); }
  .office__address { font-size: 18px; line-height: 26px; }
  .office__btn { width: 100%; }
}

/* ---------- Правки для промежуточных ширин ---------- */
.letter__title { overflow-wrap: anywhere; }
.mazs-use .feature-list { min-width: 0; }
.feature__title { overflow-wrap: anywhere; }
@media (max-width: 1280px) {
  .letter__title { font-size: 22px; line-height: 28px; }
  .letter { padding: 24px; }
}
@media (max-width: 1100px) {
  .mazs-use__body { flex-direction: column; gap: 32px; }
  .mazs-use__photo { flex: none; width: 100%; height: 420px; }
}

/* ==========================================================
   Правки 30.10 — единая система отступов
   Секции: 80px (десктоп) / 40px (мобильная); заголовок → контент: 32px;
   первый блок внутренних страниц: 32px от шапки (24px на мобильной);
   вводные блоки — в одну колонку: заголовок, ниже текст (до 800px) и кнопка, отступ 16px.
   ========================================================== */

.fuels, .formats-sec, .geo, .industries-sec, .block--60, .about-formats, .hww { gap: 32px; }
.cta-box__copy, .dark-cta__copy, .return-cta__copy { gap: 16px; }
.step { gap: 24px; }

/* Первый блок внутренних страниц */
main > .section:first-child,
main > .page-white-band:first-child > .section:first-child,
.split-hero { padding-top: 32px; }
.kp { padding-top: 40px; padding-bottom: 40px; }
.hww .page-head { gap: 24px; }

/* Вводные блоки в одну колонку */
.intro-row,
.intro-row--reviews { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
.intro-row .h1 { max-width: 900px; }
.intro-row__aside { max-width: 700px; gap: 16px; }
.intro-row--reviews .intro-row__aside { max-width: 800px; }

.geo-intro { flex-direction: column; gap: 16px; padding-top: 32px; }
.geo-intro__head { flex: none; max-width: 770px; }
.geo-intro__aside { max-width: 700px; gap: 24px; }
.map-credit { padding-top: 0; padding-bottom: 80px; }
.geo--page { padding-bottom: 32px; }

.mazs-about { flex-direction: column; align-items: flex-start; gap: 16px; }
.mazs-about__head { flex: none; }
.mazs-about__text { gap: 16px; max-width: 800px; }

.guarantees__intro { flex-direction: column; align-items: flex-start; gap: 16px; }
.guarantees__intro .heading { flex: none; }
.guarantees__intro .text { max-width: 620px; }

.faq__intro, .ask__intro { gap: 16px; }
.blog__title-row { flex-direction: column; align-items: flex-start; gap: 16px; }
.blog__title-row .h1 { flex: none; }
.blog__title-row .lead { max-width: 800px; }

.about-hero__top { flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.about-hero__head { flex: none; gap: 16px; }
.about-hero__aside { max-width: 800px; }
.about-hero__facts { padding-top: 32px; padding-bottom: 80px; }
.about-formats__head { flex-direction: column; gap: 16px; }
.about-formats__head .heading { flex: none; }
.about-formats__lead { max-width: 800px; padding-top: 0; }
.team-sec__title { flex-direction: column; align-items: flex-start; gap: 16px; }
.team-sec__title .h2 { flex: none; }

.contacts { gap: 32px; }
.article__title-block { gap: 16px; }

/* Округа: 5 карточек */
.district { flex: 0 0 auto; min-height: 108px; justify-content: flex-start; gap: 6px; padding: 12px; }
.district__code { font-size: 28px; line-height: 32px; }
.district__name { margin-top: 6px; }
.district__text { font-size: 14px; line-height: 20px; }
.districts { justify-content: space-between; }
.map-legend { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; line-height: 17px; color: var(--c-text); }
.map-legend span { width: 12px; height: 12px; border-radius: 3px; background: var(--c-accent); }

@media (max-width: 767px) {
  .heading { gap: 16px; }
  .fuels, .formats-sec, .geo, .industries-sec, .block, .block--60, .about-formats,
  .mazs-use, .mazs-dark, .mazs-gallery, .docs-sec, .control-sec, .partners-sec, .reviews-sec, .hww__delivery { gap: 32px; }
  .guarantees, .docs-sec, .control-sec, .partners-sec, .mazs-use, .mazs-dark, .mazs-gallery,
  .mazs-about, .mazs-order, .about-hero__facts { padding-bottom: 40px; }
  main > .section:first-child,
  main > .page-white-band:first-child > .section:first-child,
  .split-hero, .geo-intro, .reviews-intro, .faq-sec, .blog, .article, .contacts { padding-top: 24px; }
  .split-hero, .geo-intro { padding-bottom: 40px; }
  .about-hero__top { padding-top: 24px; }
  .kp { padding-top: 24px; padding-bottom: 40px; }
  .industries-sec { padding-top: 40px; padding-bottom: 40px; }
  .industries { gap: 16px; }
  .geo--page { padding-top: 40px; padding-bottom: 40px; }
  .map-credit { padding-bottom: 32px; }
  .step { gap: 16px; }
  .district { min-height: 0; padding: 16px; }
  .faq__list { padding: 0; background: none; }
  .route__copy { gap: 32px; }
  .cta-box { gap: 32px; }
}
@media (max-width: 767px) {
  .step, .steps--guarantee .step { min-height: 0; }
  .step__num { line-height: 48px; }
}

/* ==========================================================
   Сверка с макетом «Правки 30.10» — 31.10
   ========================================================== */

.no-caps { text-transform: none; }

/* Заголовок секции: пояснение под заголовком, а не справа */
.heading-row { flex-direction: column; align-items: flex-start; gap: 16px; }

/* Мобильные АЗС: фото не растягивается до собственной ширины */
.mazs-use__photo { min-width: 0; }
.page-mobilnye-azs .step__title { text-transform: uppercase; }

/* Гарантия качества */
.stage__title { color: var(--c-ink); }

/* Каталог: заявка с чёрным заголовком */
.page-catalog .request .h2.accent { color: var(--c-ink); }

/* Блог: рубрика капсом, время чтения — как есть */
.post__meta .post__time { text-transform: none; }

/* Статья */
.summary { background: none; }
.article-cta { padding-top: 0; border-top: 0; }
.disclosure { align-self: stretch; justify-content: space-between; }

@media (min-width: 1024px) {
  /* Hero каталога: кнопки сразу под текстом, фото — от уровня заголовка */
  .split-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-left: 32px; padding-right: 32px; }
  .split-hero .page-head { gap: 24px; }
  .split-hero__actions { max-width: 613px; margin-top: 0; }
  .split-hero__photo { align-self: start; margin-top: 44px; }
}

@media (min-width: 1281px) {
  .footer__groups { justify-content: space-between; gap: 32px; }
}

@media (min-width: 768px) {
  /* Подвал: 24px от колонок до линии, как в макете */
  .footer__groups { min-height: 218px; }
  /* География: подпись к карте — отдельным блоком под округами */
  .geo--page { padding-bottom: 80px; }
  .page-geography .map-credit { padding-top: 80px; }
  .steps--4 .step { min-height: 240px; }
  .steps--guarantee .step { justify-content: flex-start; gap: 16px; min-height: 294px; }
  .steps--guarantee .step__copy { min-height: 136px; justify-content: space-between; }
  .mazs-dark--steps { padding-top: 80px; }
  .page-about .industries-sec, .page-about .geo { gap: 60px; }
  .about-hero__aside .btn { align-self: flex-start; width: 320px; }
  .team-sec__lead { max-width: 740px; }
  .summary { padding: 0; }
}

@media (max-width: 767px) {
  /* Серый фон страницы вместо белых полос: белыми остаются только карточки */
  .page-quality main,
  .page-quality .page-white-band,
  .page-about .page-white-band,
  .page-faq .page-white-band,
  .page-reviews .page-white-band { background: var(--c-page); }

  /* Главная: преимущества — слева, маленькая иконка, заголовок в строку */
  .proof { align-items: flex-start; justify-content: flex-start; text-align: left; }
  .proof__icon { width: 28px; height: 28px; }
  .proof__copy { gap: 8px; }
  .proof__title br { display: none; }

  /* Округа */
  .districts { gap: 16px; }
  .district { min-height: 136px; }

  /* Факты (о компании, главная) */
  .facts { gap: 20px; }
  .fact { gap: 12px; }
  .fact__value { font-size: 32px; line-height: 32px; }
  .fact__value--sm { line-height: 32px; }

  /* Фильтры: сетка в две колонки вместо ленты */
  .filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; overflow: visible; }
  .filter__chip, .filter__chip--white { height: 48px; padding: 0 12px; border-radius: var(--r-lg); }

  /* Как мы работаем */
  .hww .lead--ink { color: var(--c-text); }

  /* Гарантия качества */
  .photo-hero__bg { height: 180px; }
  .stage { height: 360px; }
  .stage__title { min-height: 96px; }
  .steps--guarantee .step__title, .page-request .step__title { text-transform: none; }

  /* Мобильные АЗС: вводный блок без тёмной подложки */
  .mazs-hero { color: var(--c-ink); }
  .mazs-hero__content { background: none; }
  .mazs-hero__title { color: var(--c-ink); }
  .mazs-use__photo { height: 269px; }
  .mazs-hero__title { font-size: 42px; line-height: 42px; }
  /* Списки: линия сверху в карточке; последние пункты — без подложки, только линия */
  .page-mobilnye-azs .feature { gap: 12px; }
  .page-mobilnye-azs .feature::before { content: ""; height: 1px; background: var(--c-line); }
  .mazs-use .feature:last-child::before,
  .mazs-dark .feature--dark:not(:first-child)::before { margin-bottom: 4px; }
  .mazs-dark .feature-row { gap: 32px; }
  .mazs-dark--steps { padding-top: 40px; }
  .page-mobilnye-azs .step { min-height: 174px; }
  .page-mobilnye-azs .feature--dark::before { background: rgba(255, 255, 255, .12); }
  .mazs-use .feature:last-child,
  .mazs-dark .feature--dark:not(:first-child) { padding: 0; background: none; }
  .mazs-use .feature:last-child .feature__text,
  .mazs-dark .feature--dark:not(:first-child) .feature__text { color: var(--c-text); }
  .mazs-dark .feature--dark:not(:first-child) .feature__text { color: rgba(255, 255, 255, .6); }

  /* О компании */
  .about-hero__photo { width: calc(100% - 32px); height: 180px; margin: 0 16px; border-radius: var(--r-lg); }
  .about-hero__facts { padding-top: 32px; }

  /* Отзывы */
  .page-reviews .feature::before { content: ""; height: 1px; margin-bottom: 8px; background: var(--c-line); }
  .msg { width: 100%; padding: 20px; }
  .chat__head { align-items: center; }
  .chat__avatar { flex-basis: 48px; height: 24px; border-radius: 12px; font-size: 14px; }
  .chat__name { font-size: 16px; line-height: 22px; }
  .chat__topic { margin-top: 12px; }

  /* FAQ */
  .acc__q { padding: 20px; }
  .acc__a { padding: 0 20px 20px; font-size: 16px; line-height: 24px; }

  /* Блог */
  .post { padding: 20px; }
  .post__arrow { display: block; margin: 8px 0 4px; }

  /* Статья: оглавление столбиком, сравнение карточками, в CTA текст перед кнопкой */
  .toc { flex-direction: column; gap: 16px; width: 100%; }
  .prose p { line-height: 24px; }
  .prose .summary__text { font-size: 16px; line-height: 24px; }
  .prose__figure img { height: 196px; }
  .toc .toc__cta { padding-top: 16px; border-top: 1px solid var(--c-line); }
  .compare-cards { display: flex; flex-direction: column; gap: 12px; }
  .compare-cards__label { font-size: 16px; line-height: 24px; color: var(--c-text); }
  .compare-card { padding: 16px; border-radius: var(--r-lg); background: var(--c-white); }
  .compare-card__title { font-weight: 500; font-size: 17px; line-height: 24px; }
  .compare-card dl { display: flex; flex-direction: column; margin: 16px 0 0; }
  .compare-card dt { font-size: 12px; line-height: 18px; color: var(--c-text); }
  .compare-card dd { margin: 4px 0 12px; font-size: 16px; line-height: 24px; }
  .compare-card dd:last-child { margin-bottom: 0; }
  .data-list div { flex-direction: column; gap: 12px; }
  .article-cta__row { display: contents; }
  .article-cta .heading { order: 1; }
  .article-cta .text { order: 2; }
  .article-cta__btn { order: 3; }

  /* КП */
  .kp__call a { font-size: 16px; line-height: 24px; }
  .kp-formats { gap: 16px; }
  .kp-format { gap: 12px; }
  .kp-format__title { font-size: 28px; line-height: 32px; }
  .kp-format__value { font-size: 40px; line-height: 44px; }
  .page-request .step { min-height: 224px; }

  /* Контакты: мессенджеры — текстовые ссылки */
  .contacts__messengers { gap: 24px; }
  .contacts__messengers a { flex: none; display: inline; min-height: 0; border: 0; border-radius: 0; background: none; }
  .office__photo { height: 190px; }
}

/* Согласие на обработку данных: в макете — обычный текст (ссылка остаётся рабочей) */
.check a { color: inherit; text-decoration: none; }
.check a:hover { color: var(--c-accent); }

/* Поле «Объём» в КП: подпись + подсказка */
.field__hint { display: none; }

@media (max-width: 767px) {
  .field--unit .field__control { min-height: 78px; padding-top: 38px; padding-bottom: 14px; }
  .field--unit .field__control + .field__label { top: 14px; font-size: 13px; line-height: 17px; opacity: 1; }
  .field__hint { display: block; position: absolute; top: 38px; left: 21px; font-size: 16px; line-height: 24px; color: var(--c-text); pointer-events: none; }
  .field__control:not(:placeholder-shown) ~ .field__hint,
  .field__control:focus ~ .field__hint { opacity: 0; }
  .kp__intro { gap: 24px; }

  /* Формы: высота полей и ритм по макету страниц */
  .page-mobilnye-azs .form--supply, .page-mobilnye-azs .form--supply .form__row { gap: 20px; }
  .page-quality .form--supply, .page-quality .form--supply .form__row { gap: 16px; }
  .page-mobilnye-azs .form--supply .field__control,
  .page-quality .form--supply .field__control { min-height: 58px; }
  .page-about .form__label { display: none; }
  .page-catalog .request .form { gap: 20px; }
  .page-catalog .request .field__control { min-height: 58px; }
  .page-catalog .request input.field__control { padding-top: 16px; padding-bottom: 16px; }

  /* О компании: тёмный блок и «Работаем с бизнесом» */
  .page-about .feature--dark:nth-child(2) .feature__text { color: var(--c-accent); }
  .page-about .feature--dark:last-child { padding: 0; background: none; }
  .page-about .feature--dark:last-child .feature__text { color: rgba(255, 255, 255, .6); }
  .about-note { padding-top: 72px; padding-bottom: 16px; }
  .support__title { font-size: 28px; line-height: 32px; }
  .about-note__list { font-size: 16px; line-height: 24px; }

  /* Главная, «МТК в цифрах»: линия сверху в карточках */
  .facts-sec .fact::before { content: ""; height: 1px; margin-bottom: 8px; background: var(--c-line); }

  /* Блог: «Чаще читают» без разделителей */
  .popular, .popular li { border: 0; }
}

/* ---------- Страницы ошибок (404, 500 и др.) ---------- */
.error-page { display: flex; flex-direction: column; gap: 40px; }
.error-page__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 64px;
  border-radius: var(--r-xl);
  background: var(--c-white);
  overflow: hidden;
}
.error-page__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 780px; }
.error-page__copy .lead { max-width: 660px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.error-page__actions .btn { min-width: 240px; }
.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-self: stretch;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text);
}
.error-page__links a { transition: color .2s; }
.error-page__links a:hover { color: var(--c-accent); }
.error-page__code {
  padding-right: 8px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(140px, 17vw, 260px);
  line-height: .85;
  letter-spacing: -0.04em;
  color: var(--c-accent);
  user-select: none;
}
@media (max-width: 1023px) {
  .error-page__main { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .error-page__code { order: -1; }
}
@media (max-width: 767px) {
  .error-page { gap: 20px; }
  .error-page__main { gap: 16px; padding: 24px 20px; border-radius: var(--r-lg); }
  .error-page__copy { gap: 16px; }
  .error-page__code { font-size: 96px; }
  .error-page__actions { align-self: stretch; margin-top: 4px; }
  .error-page__actions .btn { flex: 1 1 100%; min-width: 0; }
}
