/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #ff5722;
  --orange-dark: #e64a19;
  --orange-light: #ff8a65;
  --blue: #2962ff;
  --blue-dark: #1e53e5;
  --bg: #ececec;
  --bg-steps: #e0e0e0;
  --white: #ffffff;
  --dark: #111111;
  --text: #1a1a1a;
  --muted: #666;
  --border: rgba(0,0,0,.08);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --serif: 'PT Serif', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --header-h: 80px;
  --bonus-w: 110px;
  --transition: .25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.page {
  width: 100%;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

.container--narrow { max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform .15s, box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(.98); }
.btn--lg { padding: 17px 36px; font-size: 16px; width: 100%; max-width: 360px; }
.btn--orange { background: var(--orange); color: var(--white); box-shadow: 0 4px 16px rgba(255,87,34,.35); }
.btn--orange:hover { background: var(--orange-dark); box-shadow: 0 6px 20px rgba(255,87,34,.45); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }

/* ===== Badge ===== */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.badge--orange { background: var(--orange); color: var(--white); }
.badge--outline { background: transparent; border: 2px solid var(--text); color: var(--text); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  background: #fff;
  padding: 10px 18px;
  margin-left: -24px;
  border-right: 1px solid var(--border);
  text-decoration: none;
}

.logo:hover { text-decoration: none; opacity: .85; }

.logo img {
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
  /* logo-full.png тёмный на чёрном — как на проектплюсмонтаж.рф */
  filter: invert(1);
}

.header__phone {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.header__phone:hover { color: var(--blue); text-decoration: none; }
.header__phone svg { flex-shrink: 0; color: var(--orange); }

/* ===== Bonus panel (ConvertMe) ===== */
.bonus-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  background: var(--white);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: var(--bonus-w);
}

.bonus-panel__item { text-align: center; }
.bonus-panel__label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bonus-panel__value { display: block; font-size: 14px; font-weight: 800; color: var(--orange); line-height: 1.2; }
.bonus-panel__divider { width: 60%; height: 1px; background: var(--border); }

/* ===== Hero ===== */
.hero {
  padding: 28px 0 56px;
}

.hero__wrap { padding-right: calc(var(--bonus-w) + 8px); }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: 36px;
  align-items: start;
  min-width: 0;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.hero__bullet {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 8px;
}

.hero__subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 480px;
}

.hero__cta { margin-bottom: 28px; }

/* Benefits */
.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.benefits li {
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  padding-left: 22px;
  position: relative;
}

.benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

/* Steps */
.steps-block {
  background: var(--bg-steps);
  border-radius: var(--radius);
  padding: 24px 16px;
  margin-bottom: 28px;
}

.steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,.18);
  z-index: 0;
}

.steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: center;
}

.steps__item--bottom { flex-direction: column-reverse; }

.steps__num {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-steps);
}

.steps__label {
  font-size: 10.5px;
  line-height: 1.25;
  max-width: 88px;
}

.hero__visual {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  min-width: 0;
}

.hero__visual-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
}

.hero__visual-frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.hero__visual-trigger:hover .hero__visual-frame,
.hero__visual-trigger:focus-visible .hero__visual-frame {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hero__visual-trigger:focus-visible .hero__visual-frame {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  pointer-events: none;
}

.hero__visual-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
}

.hero__visual-hint svg { flex-shrink: 0; color: var(--orange); }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section--dark { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: var(--white); }

.section__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__subtitle { color: rgba(255,255,255,.65); }

/* ===== Stats ===== */
.stats { padding: 56px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,87,34,.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-card__title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.stat-card__text { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--orange-light);
  box-shadow: var(--shadow);
}

.service-card__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: block;
}

.service-card__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ===== Manager ===== */
.manager { padding: 56px 0; }

.manager__card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}

.manager__avatar {
  grid-row: 1 / 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.manager__role { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.manager__name { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 16px; }

.manager__bubble {
  grid-column: 1 / -1;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  position: relative;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.55;
}

.manager__bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 32px;
  width: 16px;
  height: 16px;
  background: var(--bg);
  transform: rotate(45deg);
}

.manager__cta { grid-column: 1 / -1; max-width: 320px; }

/* ===== Lead / Form section ===== */
.lead__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lead__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  margin: 16px 0 24px;
}

.lead__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead__perks li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,.85);
}

.lead__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange-light);
  font-weight: 700;
}

.lead__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

/* ===== Form ===== */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__heading { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--text); }
.form__desc { font-size: 14px; color: var(--muted); margin-top: -8px; margin-bottom: 4px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 13px; font-weight: 500; color: var(--muted); }

.form__input {
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41,98,255,.12);
}

.form__input.is-error { border-color: #e53935; }

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}

.form__checkbox input { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }

.form__link {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.form__submit { max-width: 100%; margin-top: 4px; }
.form__note { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.45; }

/* ===== FAQ ===== */
.faq__list { display: flex; flex-direction: column; gap: 12px; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq__item[open] { box-shadow: var(--shadow); }

.faq__question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 20px;
  color: var(--orange);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item[open] .faq__question::after { content: '−'; }

.faq__answer {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__logo { height: 40px; width: auto; margin-bottom: 16px; opacity: .85; }
.footer__legal, .footer__hours { font-size: 13px; line-height: 1.65; color: var(--muted); }
.footer__legal a { color: var(--blue); }
.footer__heading { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.footer__phone { display: block; font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 20px; text-decoration: none; }
.footer__phone:hover { text-decoration: underline; }

.footer__link {
  display: block;
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
  text-align: left;
  margin-bottom: 10px;
  font-family: inherit;
}

.footer__link:hover { text-decoration: underline; }
.footer__disclaimer { font-size: 12px; line-height: 1.55; color: var(--muted); max-width: 720px; }

/* ===== Mobile bar ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}

.mobile-bar__phone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.mobile-bar__cta { flex: 1.4; padding: 14px 12px; font-size: 14px; max-width: none; width: auto; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(.97);
  transition: transform var(--transition);
}

.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__dialog--wide { max-width: 680px; }

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  z-index: 1;
  padding: 4px;
}

.modal__close:hover { color: var(--text); }
.modal__body { padding: 40px 36px 36px; }
.modal__title { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.modal__subtitle { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }

.modal__success { text-align: center; padding: 48px 36px; }

.modal__success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal__text-content h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }
.modal__text-content h3 { font-size: 16px; margin: 20px 0 8px; }
.modal__text-content p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.1);
  padding: 16px 24px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.cookie-banner__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text { font-size: 14px; color: var(--muted); line-height: 1.45; flex: 1; }

.cookie-banner__link {
  background: none;
  border: none;
  color: var(--blue);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.cookie-banner__btn { flex-shrink: 0; padding: 10px 28px; }

body.has-cookie-bar .mobile-bar { bottom: 72px; }
body.has-cookie-bar .footer { padding-bottom: 88px; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Image viewer ===== */
.image-viewer {
  flex-direction: column;
  padding: 0;
  background: rgba(0, 0, 0, .92);
}

.image-viewer .modal__overlay { background: transparent; }

.image-viewer__ui {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top));
  flex-shrink: 0;
}

.image-viewer__btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.image-viewer__btn:hover { background: rgba(255, 255, 255, .28); }

.image-viewer__btn--label {
  font-size: 14px;
  min-width: 64px;
}

.image-viewer__close {
  position: absolute;
  right: 16px;
  top: calc(12px + env(safe-area-inset-top));
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.image-viewer__close:hover { background: rgba(255, 255, 255, .28); }

.image-viewer__stage {
  flex: 1;
  width: 100%;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.image-viewer__stage.is-dragging { cursor: grabbing; }

.image-viewer__stage img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  max-width: min(96vw, 900px);
  max-height: 72vh;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.image-viewer__hint {
  flex-shrink: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  padding: 8px 16px 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.image-viewer.is-open .modal__dialog { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .bonus-panel { display: none; }
  .hero__wrap { padding-right: 0; }
}

@media (min-width: 1100px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 44px;
  }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { min-width: 0; }
  .hero__visual { order: -1; position: static; max-width: 100%; margin: 0 auto 12px; width: 100%; }
  .hero__visual-frame { padding: 12px 14px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .lead__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--links { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .header { height: auto; min-height: var(--header-h); }
  .header__inner {
    flex-wrap: nowrap;
    gap: 8px;
    height: auto;
    min-height: var(--header-h);
    padding: 8px 0;
  }
  .logo {
    margin-left: -16px;
    padding: 8px 12px;
  }
  .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; }
  .header__phone { margin-left: auto; flex-shrink: 0; padding: 8px; }
  .header__phone-text { display: none; }
  .header .btn--blue { padding: 10px 12px; font-size: 12px; flex-shrink: 0; }
  .hero { padding-top: 16px; }
  .hero__title {
    font-size: clamp(20px, 5.5vw, 26px);
    gap: 8px;
    word-break: break-word;
  }
  .hero__bullet { width: 12px; height: 12px; margin-top: 6px; }
  .hero__subtitle { font-size: 14px; max-width: 100%; }
  .hero__badges { gap: 8px; margin-bottom: 16px; }
  .badge { font-size: 10px; padding: 5px 10px; }
  .benefits li { font-size: 15px; padding-left: 18px; }
  .benefits li::before { width: 8px; height: 8px; top: 7px; }
  .btn--lg { max-width: 100%; padding: 15px 20px; }
  .steps-block { padding: 14px 8px; overflow: hidden; }
  .steps { flex-wrap: wrap; gap: 10px 6px; justify-content: center; }
  .steps::before { display: none; }
  .steps__item { flex: 0 0 calc(33.333% - 8px); min-width: 0; }
  .steps__item--bottom { flex-direction: column; }
  .steps__label { font-size: 9px; max-width: 72px; }
  .steps__num { width: 28px; height: 28px; font-size: 11px; }
  .stats__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .manager__card { padding: 24px; grid-template-columns: 1fr; }
  .manager__avatar { grid-row: auto; width: 64px; height: 64px; font-size: 26px; margin-bottom: 8px; }
  .manager__bubble::before { left: 24px; }
  .lead__form-wrap { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: flex;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .footer, body { padding-bottom: 72px; }
  .cookie-banner {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .hero__visual-hint { font-size: 11px; }
  .image-viewer__stage img { max-height: 65vh; }
}

@media (max-width: 400px) {
  .steps__item { flex: 0 0 45%; }
}
