/* МЭГ site-specific styles (extends components.css) */
@import url('./components.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: var(--fg-1); font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); }
a { color: var(--fg-1); }

.container { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

/* ========== HEADER ======================================================== */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border-1); box-shadow: var(--shadow-sticky); }
.topstrip { background: var(--c-graphite); color: var(--c-steel-300); font-size: 13px; }
.topstrip__row { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topstrip a { color: var(--c-steel-300); text-decoration: none; }
.topstrip a:hover { color: #fff; }
.topstrip__left, .topstrip__right { display: flex; align-items: center; gap: 14px; }
.topstrip__dot { color: var(--c-steel-700); }

.city { position: relative; }
.city__btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; color: #fff; font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; padding: 0; }
.city__pop { position: absolute; top: 100%; left: -10px; margin-top: 6px; background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-2); box-shadow: var(--shadow-2); min-width: 200px; padding: 6px 0; z-index: 60; }
.city__pop a { display: block; padding: 8px 14px; font-size: 14px; color: var(--fg-1); text-decoration: none; }
.city__pop a:hover { background: var(--c-steel-100); color: var(--fg-1); }
.city__pop a.is-active { color: var(--c-accent); font-weight: 600; }

.hdr__main { background: #fff; }
.hdr__row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; height: 72px; min-width: 0; }
.hdr__logo img { height: 44px; display: block; }
.hdr__nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow: hidden; min-width: 0; }
.hdr__nav-item { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--fg-1); background: transparent; border: 0; border-radius: var(--r-2); cursor: pointer; text-decoration: none; font-family: inherit; white-space: nowrap; }
.hdr__nav-item:hover { background: var(--c-steel-100); }
.hdr__catalog { background: var(--c-steel-100); }
.hdr__catalog.is-open { background: var(--c-accent-soft); color: var(--c-accent); }
.hdr__contacts { display: flex; align-items: center; gap: 14px; }
.hdr__phone { text-decoration: none; text-align: right; white-space: nowrap; }
.hdr__phone-num { font-size: 18px; font-weight: 600; color: var(--fg-1); white-space: nowrap; }
.hdr__phone-sub { font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.04em; }

/* ─── Бургер + мобильное меню (drawer); показывается на узких экранах ─── */
.hdr__burger { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #d7dde6; border-radius: 8px; color: #46546a; background: transparent; cursor: pointer; }
.hdr__burger:hover { background: var(--c-steel-100); }
.hdr__mobile-overlay { position: fixed; inset: 0; background: rgba(15,25,40,.5); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 1000; }
.hdr__mobile-overlay.is-open { opacity: 1; visibility: visible; }
.hdr__mobile { position: fixed; top: 0; right: 0; width: 320px; max-width: 86vw; height: 100%; background: #fff; transform: translateX(100%); transition: transform .25s ease; z-index: 1001; display: flex; flex-direction: column; overflow-y: auto; box-shadow: -8px 0 30px rgba(15,25,40,.18); }
.hdr__mobile.is-open { transform: translateX(0); }
.hdr__mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-1); font-weight: 600; font-size: 15px; }
.hdr__mobile-close { width: 36px; height: 36px; border: 0; background: transparent; color: #46546a; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hdr__mobile-nav { display: flex; flex-direction: column; padding: 8px 0; }
.hdr__mobile-nav a { padding: 13px 20px; font-size: 16px; font-weight: 500; color: var(--fg-1); text-decoration: none; }
.hdr__mobile-nav a:hover { background: var(--c-steel-100); }
.hdr__mobile-sec { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--border-1); }
.hdr__mobile-sec a { padding: 10px 20px; font-size: 14px; color: var(--fg-2); text-decoration: none; }
.hdr__mobile-sec a:hover { background: var(--c-steel-100); }
.hdr__mobile-foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--border-1); display: flex; flex-direction: column; gap: 12px; }
.hdr__mobile-phone { font-size: 18px; font-weight: 600; color: var(--fg-1); text-decoration: none; }
.btn--block { display: flex; width: 100%; text-align: center; }

.mega { position: absolute; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); box-shadow: var(--shadow-2); z-index: 40; }
.mega__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; padding: 28px 0 32px; }
.mega__col { display: flex; flex-direction: column; gap: 6px; }
.mega__head { font-weight: 600; font-size: 14px; color: var(--fg-1); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border-1); text-decoration: none; }
.mega__head:hover { color: var(--c-accent); }
.mega__link { font-size: 13px; color: var(--fg-2); text-decoration: none; padding: 2px 0; }
.mega__link:hover { color: var(--c-accent); }
.mega__foot { margin-top: -8px; padding: 16px 0 26px; border-top: 1px solid var(--border-1); text-align: right; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--c-accent); text-decoration: none; }
.mega__all svg { transition: transform .16s ease; }
.mega__all:hover svg { transform: translateX(4px); }

/* ========== SECTION HEAD ================================================== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.section-head__title { font-size: 32px; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
.section-head__sub { font-size: 15px; color: var(--fg-3); margin: 8px 0 0; max-width: 56ch; }

/* ========== BREADCRUMBS (shared across pages) ============================= */
.cat-head__crumbs { font-size: 13px; color: var(--fg-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.cat-head__crumbs a { color: var(--fg-3); text-decoration: none; }
.cat-head__crumbs a:hover { color: var(--fg-1); }
.cat-head__crumbs .sep { color: var(--c-steel-300); }
.cat-head__crumbs .cur { color: var(--fg-1); }

/* ========== HERO ========================================================= */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--c-steel-50) 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 16px; }
.hero__title { font-size: 56px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 20px; color: var(--fg-1); }
.hero__city { color: var(--c-accent); }
.hero__lede { font-size: 18px; line-height: 1.55; color: var(--fg-2); margin: 0 0 28px; max-width: 56ch; }
.hero__cta { display: flex; gap: 12px; margin-bottom: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--border-1); }
.hero__fact-num { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-1); }
.hero__fact-lbl { font-size: 13px; color: var(--fg-3); margin-top: 2px; }

.hero__visual { position: relative; min-height: 380px; }
.hero__illustration {
  position: relative;
  border-radius: var(--r-4);
  overflow: hidden;
  border: 1px solid var(--border-1);
  background: var(--bg-soft);
}
.hero__illustration img { display: block; width: 100%; height: auto; }
.hero__doc {
  position: absolute; right: -16px; top: 32px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-3);
  padding: 14px 16px;
  width: 240px;
  box-shadow: var(--shadow-2);
}
.hero__doc-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--c-success); margin-bottom: 4px; }
.hero__doc-body { font-size: 12px; color: var(--fg-3); line-height: 1.4; }

/* ========== TRUST ========================================================= */
.trust { padding: 64px 0; background: var(--c-graphite); color: #fff; }
.trust__head { max-width: 720px; margin-bottom: 36px; }
.trust__title { font-size: 32px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.18; margin: 0 0 12px; color: #fff; }
.trust__lede { font-size: 16px; color: var(--c-steel-300); margin: 0; line-height: 1.55; }
.trust__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.trust__plate { background: #2A343D; border: 1px solid #374551; border-radius: var(--r-3); padding: 20px 18px; }
.trust__ic { width: 28px; height: 28px; color: var(--c-accent); margin-bottom: 12px; }
.trust__ic svg { width: 100%; height: 100%; }
.trust__ttl { font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; margin-bottom: 6px; }
.trust__sub { font-size: 13px; color: var(--c-steel-300); line-height: 1.45; }

/* ========== CATALOG GRID ================================================== */
.cats { padding: 80px 0; }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
/* Премиум фото-плитка: тёмная база, фото раздела на фоне, графитовый scrim, текст поверх. */
.cats__plate {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-3); min-height: 232px;
  display: flex; text-decoration: none; color: #fff;
  background: #0F1418; border: 1px solid rgba(15,20,24,0.10);
  transition: transform var(--t-fast) var(--ease-std), box-shadow var(--t-fast) var(--ease-std);
}
.cats__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.55s var(--ease-std); }
.cats__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,20,24,0.32) 0%, rgba(15,20,24,0.48) 42%, rgba(15,20,24,0.90) 100%); }
.cats__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 20px; width: 100%; }
.cats__plate:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,20,24,0.26); }
.cats__plate:hover .cats__bg { transform: scale(1.06); }
.cats__ic { display: none; }
.cats__ic svg { width: 22px; height: 22px; }
.cats__ttl { font-size: 16px; font-weight: 600; line-height: 1.3; color: #fff; }
.cats__sub { font-size: 13px; color: rgba(255,255,255,0.84); line-height: 1.45; }
.cats__more { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: 12px; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.cats__more svg { color: var(--c-accent-2, #6CA8DE); }
.cats__plate--dark { background: var(--c-graphite); border-color: var(--c-graphite); }
.cats__plate--dark .cats__ic { background: rgba(255,255,255,0.10); }

/* ========== SORTAMENT ===================================================== */
.sortament { padding: 80px 0; background: var(--bg-soft); }
.sortament__filters {
  display: grid; grid-template-columns: 1fr 220px auto auto; gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px; background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-3);
}
.sortament__search { position: relative; }
.sortament__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); }
.sortament__search .input { padding-left: 42px; }
.sortament__count { font-size: 13px; color: var(--fg-3); margin-left: auto; }
.sortament__table { max-height: 520px; overflow: auto; }
.add { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: var(--r-2); background: var(--c-accent); color: #fff; border: 0; font-family: inherit; font-weight: 500; font-size: 13px; cursor: pointer; white-space: nowrap; }
.add svg { width: 14px; height: 14px; }
.add:hover { background: var(--c-accent-hover); }
.sortament__bar {
  margin-top: 16px;
  background: var(--c-graphite); color: #fff; padding: 16px 24px;
  border-radius: var(--r-3);
  display: flex; align-items: center; justify-content: space-between;
}
.sortament__bar-ttl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-steel-300); }
.sortament__bar-sub { font-size: 16px; font-weight: 500; margin-top: 2px; }

/* ========== HOW WE WORK =================================================== */
.hww { padding: 80px 0; }
.hww__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.hww__step {
  background: #fff;
  padding: 28px 24px;
  border: 1px solid var(--border-1);
  border-right: 0;
  position: relative;
}
.hww__step:first-child { border-radius: var(--r-3) 0 0 var(--r-3); }
.hww__step:last-child { border-right: 1px solid var(--border-1); border-radius: 0 var(--r-3) var(--r-3) 0; }
.hww__step:not(:last-child)::after {
  content: "";
  position: absolute; right: -9px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 16px; height: 16px;
  background: #fff;
  border-top: 1px solid var(--border-1);
  border-right: 1px solid var(--border-1);
  z-index: 1;
}
.hww__num { font-family: var(--font-mono); font-size: 14px; color: var(--c-accent); font-weight: 500; margin-bottom: 16px; }
.hww__ttl { font-size: 17px; font-weight: 600; color: var(--fg-1); margin-bottom: 8px; line-height: 1.3; }
.hww__sub { font-size: 14px; color: var(--fg-3); line-height: 1.5; }

/* ========== CALCULATOR ==================================================== */
.calc-block { padding: 80px 0; background: var(--bg-soft); }
.calc { display: grid; grid-template-columns: 1fr 320px; border: 1px solid var(--border-1); border-radius: var(--r-3); overflow: hidden; background: #fff; }
.calc-form { padding: 28px; }
.calc-out { padding: 28px; background: var(--c-graphite); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.tabs { display: inline-flex; padding: 3px; background: var(--c-steel-100); border-radius: var(--r-2); margin-bottom: 20px; }
.tabs button { padding: 8px 14px; border: 0; background: transparent; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--fg-2); border-radius: 4px; cursor: pointer; }
.tabs button.on { background: #fff; color: var(--fg-1); box-shadow: var(--shadow-1); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.calc-out .t { font-size: 12px; color: var(--c-steel-300); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-out .v { font-family: var(--font-mono); font-size: 30px; font-weight: 500; letter-spacing: -0.01em; margin-top: 4px; }
.calc-out .sub { font-size: 12px; color: var(--c-steel-400); margin-top: 4px; }
.calc-out .divider { border-top: 1px solid #2A343D; }

/* ========== MANAGER BLOCK ================================================= */
.mgr-block { padding: 80px 0; }
.mgr-block__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.mgr-card { display: grid; grid-template-columns: 144px 1fr; gap: 28px; padding: 32px; border: 1px solid var(--border-1); border-radius: var(--r-3); background: #fff; }
.mgr-card__avatar { width: 144px; height: 144px; border-radius: 50%; background: var(--c-steel-100); border: 1px solid var(--border-1); display: flex; align-items: center; justify-content: center; color: var(--c-steel-500); font-family: var(--font-mono); font-size: 12px; position: relative; }
.mgr-card__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.mgr-card__dot { position: absolute; bottom: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-success); border: 3px solid #fff; }
.mgr-card__name { font-size: 22px; font-weight: 600; }
.mgr-card__role { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
.mgr-card__promise { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--c-success); font-weight: 500; }
.mgr-card__promise::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); }
.mgr-card__bullets { margin: 16px 0 20px; padding: 0; list-style: none; }
.mgr-card__bullets div { padding: 4px 0 4px 18px; position: relative; font-size: 14px; color: var(--fg-2); }
.mgr-card__bullets div::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--c-accent); }
.mgr-card__btns { display: flex; gap: 8px; flex-wrap: wrap; }

.mgr-side { background: var(--c-graphite); color: #fff; padding: 28px; border-radius: var(--r-3); }
.mgr-side__head { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-steel-300); margin-bottom: 16px; }
.mgr-side__list { list-style: none; padding: 0; margin: 0; }
.mgr-side__list li { padding: 12px 0; border-bottom: 1px solid #2A343D; font-size: 15px; display: flex; align-items: baseline; gap: 14px; }
.mgr-side__list li:last-child { border-bottom: 0; }
.mgr-side__list .t-num { color: var(--c-accent); width: 28px; flex: 0 0 28px; font-weight: 500; }
.mgr-side__link { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: 14px; margin-top: 16px; padding: 8px 0; border-bottom: 1px solid var(--c-accent); }
.mgr-side__link:hover { color: var(--c-accent); }

/* ========== FOOTER ======================================================== */
.ftr { background: var(--c-graphite); color: var(--c-steel-300); padding: 64px 0 24px; }
.ftr__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #2A343D; }
.ftr__brand img { height: 48px; margin-bottom: 18px; display: block; }
.ftr__about { font-size: 13px; color: var(--c-steel-400); line-height: 1.55; margin: 0 0 18px; max-width: 38ch; }
.ftr__phone { display: block; color: #fff; font-size: 22px; font-weight: 600; text-decoration: none; }
.ftr__hours { font-size: 12px; color: var(--c-steel-400); margin-top: 4px; }
.ftr__channels { display: flex; gap: 8px; margin-top: 14px; }
.ftr__chan { padding: 8px 14px; border-radius: var(--r-2); font-size: 13px; font-weight: 500; text-decoration: none; }
.ftr__chan--max { background: #4B5BD7; color: #fff; }
.ftr__chan--tg { background: #229ED9; color: #fff; }
.ftr__col { display: flex; flex-direction: column; gap: 8px; }
.ftr__col--cities { gap: 0; }
.ftr__cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.ftr__cities a { color: var(--c-steel-300); text-decoration: none; font-size: 13px; line-height: 1.4; }
.ftr__cities a:hover { color: #fff; }
.ftr__head { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.ftr__col a { color: var(--c-steel-300); text-decoration: none; font-size: 13px; line-height: 1.4; }
.ftr__col a:hover { color: #fff; }
.ftr__legal { padding-top: 20px; }
.ftr__legal-row { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: var(--c-steel-400); margin-bottom: 10px; }
.ftr__legal-marks { display: flex; gap: 16px; margin-left: auto; }

/* ========== MODAL ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 20, 24, 0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 180ms var(--ease-out);
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal__panel {
  background: #fff;
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3);
  max-width: 640px; width: 100%;
  max-height: 92vh;
  overflow: auto;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-1); }
.modal__title { font-size: 20px; font-weight: 600; }
.modal__close { background: transparent; border: 0; width: 36px; height: 36px; border-radius: var(--r-2); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fg-2); }
.modal__close:hover { background: var(--c-steel-100); }
.modal__body { padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.form-note { font-size: 12px; color: var(--fg-3); }
.drop.drop--compact { padding: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--bg-soft); border: 1.5px dashed var(--c-steel-300); border-radius: var(--r-3); font-size: 13px; color: var(--fg-3); cursor: pointer; }
.drop.drop--compact:hover { border-color: var(--c-accent); background: var(--c-accent-soft); color: var(--c-accent); }

/* ========== STICKY MOBILE CTA ============================================= */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    display: grid; grid-template-columns: 1fr auto auto;
    gap: 8px;
    position: fixed; bottom: 0; left: 0; right: 0;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid var(--border-1);
    box-shadow: 0 -2px 12px rgba(15,20,24,0.06);
    z-index: 80;
  }
  .sticky-cta__ic { width: 48px; height: 48px; border-radius: var(--r-2); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
  .sticky-cta__ic--max { background: #4B5BD7; }
  .sticky-cta__ic--tg { background: #229ED9; }
  body { padding-bottom: 80px; }
}

/* ========== RESPONSIVE ==================================================== */
@media (max-width: 1280px) {
  /* Топ-бар держим видимым до 1100px (там включается бургер с «О компании»
     в drawer), иначе «О компании» выпадала бы из навигации на 1101-1280px. */
  .topstrip { display: block; }
  .hdr__phone-sub { display: none; }
  .hero__title { font-size: 48px; }
}
@media (max-width: 1100px) {
  .topstrip { display: none; }
  .hdr__phone-sub { display: none; }
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-flex; }
  .hero { padding: 36px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 40px; }
  .hero__visual { min-height: 280px; max-width: 540px; }
  .hero__doc { right: 16px; bottom: 16px; position: absolute; }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
  .mega__grid { grid-template-columns: repeat(4, 1fr); }
  .mgr-block__grid { grid-template-columns: 1fr; }
  .mgr-card { grid-template-columns: 1fr; text-align: left; }
  .mgr-card__avatar { width: 96px; height: 96px; }
  .hww__grid { grid-template-columns: repeat(2, 1fr); }
  .hww__step { border-right: 1px solid var(--border-1) !important; }
  .hww__step:first-child { border-radius: var(--r-3) 0 0 0; }
  .hww__step:nth-child(2) { border-radius: 0 var(--r-3) 0 0; }
  .hww__step:nth-child(3) { border-radius: 0 0 0 var(--r-3); border-top: 0; }
  .hww__step:last-child { border-radius: 0 0 var(--r-3) 0; border-top: 0; }
  .hww__step::after { display: none !important; }
  .sortament__filters { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .hdr__row { gap: 12px; }
  .hdr__logo img { height: 36px; }
}
@media (max-width: 768px) {
  .topstrip__left, .topstrip__right { display: none; }
  .hdr__row { grid-template-columns: auto 1fr auto; gap: 12px; height: 60px; }
  .hdr__logo img { height: 36px; }
  .hdr__phone-num { font-size: 15px; }
  .hdr__contacts .btn { display: none; }
  .hero__title { font-size: 32px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .trust__grid, .cats__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head__title { font-size: 26px; }
  /* Footer на планшете/широком мобиле: бренд на всю ширину, списки в 2 колонки
     (одна колонка оставляла половину ширины пустой). */
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__legal-row { gap: 12px; }
  .ftr__legal-marks { margin-left: 0; }
}
@media (max-width: 600px) {
  /* Телефон в шапке выталкивал бы бургер за край — на узких он доступен в
     drawer-меню и в нижней sticky-кнопке. */
  .hdr__phone { display: none; }
  .hdr__contacts { gap: 8px; }
  .hdr__row { gap: 8px; }
  /* Hero-факты: на узких 3 тесные колонки (двухсловные числа переносятся) —
     ставим в одну колонку, число над подписью. */
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
  .hero__fact { display: block; }
  .hero__fact-num { font-size: 24px; }
}
@media (max-width: 480px) {
  /* На узком телефоне списки footer — в одну колонку. */
  .ftr__top { grid-template-columns: 1fr; }
}
