:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #5b677a;
  /* Акцент под ваш логотип (зелёный) */
  --primary: #16a34a;
  --primary-strong: #12853d;
  --border: #e6eaf0;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 10px 24px rgba(16, 24, 40, 0.06);
  --ticker-h: 36px;
  --header-h: 92px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc, var(--bg));
  padding-top: var(--header-h);
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.ticker {
  position: fixed;
  top: 0;
  z-index: 40;
  width: 100%;
  height: var(--ticker-h);
  background: #7b818b;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex; width: fit-content; min-width: 200%;
  animation: tickerMove 38s linear infinite; white-space: nowrap;
  font-size: 14px; font-weight: 600; padding: 0;
}
.ticker__track span { width: 50%; padding-left: 24px; }
@keyframes tickerMove { from { transform: translateX(0);} to { transform: translateX(-50%);} }

.header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 25;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: transform .35s ease, box-shadow .3s ease, background .25s ease;
}
.header.is-hidden {
  transform: translateY(calc(-1 * var(--header-h)));
  opacity: 0;
  pointer-events: none;
}
.header.is-compact { background: rgba(255,255,255,.98); box-shadow: 0 10px 22px rgba(16,24,40,.08); }
.header__row {
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.header.is-compact .header__row { min-height: 0; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: 0 0 auto; }
.header__logo { justify-content: flex-start; margin-right: auto; }
.logo__img { width: auto; height: 52px; max-width: min(280px, 46vw); object-fit: contain; }
.logo__img { height: 48px; }
.logo__text { display: flex; flex-direction: column; }
.logo__text small { color: var(--muted); font-size: 12px; }
.header-search { width: 520px; position: relative; flex: 0 0 auto; }

.header__right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__right {
  padding-right: 14px;
}

.call-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.10);
  color: var(--primary-strong);
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.call-btn:hover { transform: translateY(-1px); background: rgba(22, 163, 74, 0.14); }
button.call-btn {
  font: inherit;
  cursor: pointer;
}
.call-btn__ic { font-size: 16px; line-height: 1; margin-right: 6px; }

.call-btn--icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  flex-shrink: 0;
}
.call-btn--icon .call-btn__svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 900px) {
  .call-btn span:last-child { display: none; }
  .call-btn:not(.call-btn--icon) { width: 42px; padding: 0; }
  .call-btn__ic { margin-right: 0; }
}

/* Модальное окно выбора номера */
.phone-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 16px) 16px 24px;
  box-sizing: border-box;
}
.phone-picker-overlay[hidden] {
  display: none !important;
}
.phone-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.phone-picker-modal {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
}
.phone-picker-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}
.phone-picker-sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.phone-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-picker-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.phone-picker-link:hover {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.35);
}
.phone-picker-close {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.phone-picker-close:hover {
  color: var(--text);
}

.footer-phone-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-phone-trigger:hover {
  color: var(--primary-strong);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.icon-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.search-inline {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
  overflow: hidden;
  transition: width 0.28s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search-inline.is-open {
  width: 420px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.12);
  overflow: visible;
}

.search-icon-btn {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease;
  color: var(--text);
  font-size: 18px;
}

.search-inline.is-open .search-icon-btn {
  transform: translateX(-6px);
}

.search-inline__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--text);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.28s ease;
}

.search-inline.is-open .search-inline__input {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.header-search input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #cbdac0;
  background: rgba(255,255,255,.9);
  outline: none;
  font: inherit;
}
.header-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
.search-results {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 10px);
  background: #fff;
  border: 1px solid #cbdac0;
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(20,40,12,.12);
  padding: 8px;
  z-index: 60;
  max-height: 340px;
  overflow: auto;
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
}
.search-result:hover { background: #f3f6fb; }
.search-result__type {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 12px;
}
.search-result__title { font-weight: 700; }
.search-empty { padding: 12px 10px; color: var(--muted); font-weight: 700; }
.search-more-wrap { padding: 8px 4px 4px; }
.search-more-btn {
  width: 100%;
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.10);
  color: var(--primary-strong);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}
.search-more-btn:hover { filter: brightness(0.98); }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.menu-toggle { display: none; border: none; background: transparent; font-size: 30px; color: var(--primary); }

.nav--drawer {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: 330px;
  height: calc(100vh - var(--header-h));
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.12);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 55;
  padding: 14px 0 18px;
}

.nav--drawer.is-open {
  transform: translateX(0);
}

.nav__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav__drawer-inner {
  height: calc(100% - 0px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 0;
}

.nav__drawer-top {
  padding: 0 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nav__drawer-logo-img {
  width: auto;
  height: 44px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav__drawer-phone {
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 0;
}

.nav__drawer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav__link {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  border-radius: 14px;
}

.nav__link:hover {
  background: rgba(22, 163, 74, 0.08);
}

.nav__link--tel {
  color: var(--primary-strong);
}

button.nav__link {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.search-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height 0.32s ease, opacity 0.25s ease, transform 0.32s ease;
}

.search-drawer.is-open {
  max-height: 320px;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search-drawer__row {
  padding: 14px 0;
  display: flex;
  justify-content: flex-end;
}

.page-content {
  transition: filter 0.25s ease;
}

.page-content.is-blurred {
  filter: blur(3px);
}

.faq-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.faq-open {
  width: 100%;
  border: 0;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
  font-size: 16px;
}

.faq-plus {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-strong);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq-open.is-expanded .faq-plus {
  transform: rotate(45deg);
}

.faq-list {
  padding: 8px 6px 2px;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 800;
  color: var(--text);
  font-size: 16px;
}

.faq-plus-inner {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-strong);
  font-size: 16px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 6px 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
  font-size: 13.5px;
}

.faq-section {
  padding-top: 22px;
  padding-bottom: 36px;
}

.header-search--drawer {
  width: min(560px, 100%);
}

.header-search--drawer input {
  width: 100%;
}

.hero { padding: 16px 0 48px; }
.sticky-panel {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin-top: -12px;
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.sticky-panel__row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
}

.sticky-panel__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sticky-panel__link:hover {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.2);
}
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.tag { background: transparent; color: var(--primary-strong); padding: 0; border: 0; box-shadow: none; }
h1 { margin: 14px 0; line-height: 1.15; font-size: clamp(32px,5vw,52px); }
.hero__text { color: var(--muted); font-size: 18px; max-width: 720px; }
.hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { border: none; border-radius: 12px; padding: 12px 20px; font-weight: 600; cursor: pointer; background: var(--primary); color: #fff; transition: transform .18s ease, background .2s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.2; font-family: inherit; }
.btn { border-radius: 14px; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.18); }
.btn:hover { transform: translateY(-2px); background: var(--primary-strong); }
.btn--ghost { background: #fff; color: var(--primary-strong); border: 1px solid #cae0bc; }
.btn--ghost { border: 1px solid rgba(22, 163, 74, 0.22); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: rgba(22, 163, 74, 0.10); color: var(--primary-strong); }
.btn--light:hover { color: #ffffff !important; }

.btn--outline {
  background: #ffffff;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(148, 163, 184, 0.06);
  border-color: rgba(148, 163, 184, 0.9);
  transform: translateY(-1px);
}

.hero__card { background: transparent; border: 0; border-radius: 16px; padding: 6px; box-shadow: none; }
.quick-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.quick-grid article {
  background: rgba(255,255,255,.72);
  border: 1px solid #cbddb9;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hero-search {
  margin: 18px 0 0;
}

.hero-search .header-search {
  width: 100%;
  max-width: 620px;
}
.quick-step__num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-strong);
  font-weight: 900;
  flex: 0 0 auto;
}
.quick-step__text {
  margin: 0;
  color: #3e5040;
  font-size: 15px;
  line-height: 1.45;
}

.section { padding: 56px 0; }
.section--accent { background: #eef7e6; }
.section--accent { background: #f8fafc; }
.section--light { background: #ffffff; }
.section--news { background: linear-gradient(180deg,#f3f6ff,#f6fbf6); }
.section__title { margin: 0 0 26px; font-size: clamp(28px,4vw,38px); }
.section__title { margin-bottom: 14px; }

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 18px;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  background: #eef3ee;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: none;
  min-height: 78px;
}

.trust-ic {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-strong);
  flex: 0 0 auto;
}

.trust-ic svg {
  width: 20px;
  height: 20px;
}

.trust-title {
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  font-size: 14px;
}

.trust-sub {
  color: var(--muted);
  font-weight: 400;
  font-size: 12.2px;
  line-height: 1.25;
  margin-top: 2px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f3f6fb;
  display: block;
}

.news-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card__body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__body p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}

/* Useful page list style (like news list items) */
.useful-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.useful-list__item { margin: 0; }

.useful-link {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 16px;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .18s ease;
  min-height: 170px;
  height: 170px;
}

.useful-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.10);
}

.useful-link__img {
  background: #f3f6fb;
  position: relative;
  min-height: 170px;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.useful-link__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* GLN: ширина колонки превью как у остальных (290px), высота по картинке — без обрезки по вертикали */
.useful-link--gln {
  height: auto;
  min-height: 170px;
}

.useful-link--gln .useful-link__img {
  height: auto;
  min-height: 0;
  align-self: start;
}

.useful-link--gln .useful-link__img img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.useful-link--acquiring {
  height: auto;
  min-height: 170px;
}

.useful-link--acquiring .useful-link__img {
  height: auto;
  min-height: 0;
  align-self: start;
}

.useful-link--acquiring .useful-link__img img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.useful-link__content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.useful-link__title h5 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.useful-link__desc {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.useful-link__meta {
  color: rgba(11, 18, 32, 0.64);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .useful-link { grid-template-columns: 1fr; height: auto; }
  .useful-link__img { min-height: 170px; }
}

@media (max-width: 980px) {
  .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { flex-wrap: wrap; }
  .trust-item { flex: 1 1 240px; min-width: 240px; }
}

#lead-final .trust-strip {
  margin-top: 6px;
}

#lead-final .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#lead-final .trust-strip {
  order: 2;
}

#lead-final .lead-final__inner {
  order: 1;
}

@media (max-width: 640px) {
  .news-list { grid-template-columns: 1fr; }
}

.news-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  aspect-ratio: 1200 / 630;
  min-height: 0;
}
.news-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.1s ease; pointer-events: none; }
.news-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.news-slide img { width: 100%; height: 100%; object-fit: cover; background: #fff; display: block; }
.news-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(15,31,12,.1),rgba(18,34,12,.68)); }
.news-slide__content { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; color: #f6ffee; max-width: 680px; }
.news-slide__content h3 { margin: 0 0 10px; font-size: clamp(24px,3.2vw,34px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-slide__content p { margin: 0; color: #e7f8d6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 30; border: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(245,253,236,.86); color: #244818; font-size: 30px; line-height: 1; cursor: pointer; transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease; }
.slider-btn--prev { left: 16px; }
.slider-btn--next { right: 16px; }
.slider-btn:hover { background: #fff; box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.14), 0 16px 40px rgba(16, 24, 40, 0.14); filter: saturate(1.05); transform: translateY(calc(-50% - 1px)); }
.slider-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; display: flex; gap: 8px; pointer-events: auto; }
.slider-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(244,254,236,.64); cursor: pointer; position: relative; overflow: hidden; }
.slider-dot { background: rgba(11, 18, 32, 0.22); }
.slider-dot.is-active { background: rgba(11, 18, 32, 0.92); }
.slider-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(22, 163, 74, 0.92);
  transform: scaleX(0);
  transform-origin: left center;
}
.slider-dot.is-progress::after {
  animation: dot-progress var(--dot-progress-duration, 4800ms) linear forwards;
}

/* When progress is running, don't show the dark base under fill */
.slider-dot.is-progress { background: transparent; }
@keyframes dot-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Home page: reduce spacing between main blocks */
#news.section,
#home-products.section,
#home-partners.section,
#about.section,
#home-services.section,
#useful.section,
#faq.section,
#lead-final.section {
  padding: 26px 0;
}

.product-slider { overflow: hidden; border-radius: 14px; position: relative; }
#home-products .product-slider {
  overflow: hidden;
  padding-bottom: 14px;
}
#home-services .services-slider,
#home-partners .partners-slider {
  overflow: hidden;
  padding-bottom: 14px;
}
/* extra room so dots don't touch cards */
#home-products .product-slider { padding-bottom: 22px; }
#home-services .services-slider { padding-bottom: 22px; }
#home-products .slider-dots--catalog {
  bottom: 0px;
}
#home-services .slider-dots--services {
  bottom: 0px;
}
#home-partners .slider-dots--partners {
  bottom: 4px;
}

/* Partners: hide dots completely */
#home-partners .slider-dots--partners { display: none !important; }
#home-partners .partners-slider { padding-bottom: 0 !important; }
.product-track { display: flex; gap: 10px; align-items: stretch; }
.services-track { display: flex; gap: 16px; align-items: stretch; }
#home-services .services-track { gap: 10px; }
.partners-slider { position: relative; }
.partners-frame { overflow: hidden; border-radius: 14px; position: relative; border: 0; background: rgba(255,255,255,.72); }
.partners-track { display: flex; gap: 20px; align-items: stretch; }
.partner-card {
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 125px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.partner-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16,24,40,.12); }
.partner-card img {
  width: 78%;
  max-height: 60px;
  object-fit: contain;
  display: block;
}
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: none; overflow: hidden; text-decoration: none; color: inherit; }
.product-card { display: flex; flex-direction: column; }
.product-card img { width: 100%; height: 190px; object-fit: contain; background: #fff; display: block; }
.product-card__body { padding: 14px; }
.product-card h3 { margin: 0 0 8px; font-size: 18px; }
.product-card p { margin: 0; color: var(--muted); }
.product-card .price { display: block; margin-top: 10px; color: var(--primary-strong); font-weight: 800; }

.product-card__footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__action {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  background: #ffffff;
  white-space: nowrap;
}

.product-slider .product-card {
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
}

#home-products .product-slider .product-card {
  flex: 0 0 calc((100% - 40px) / 5);
  max-width: calc((100% - 40px) / 5);
  height: 300px;
  min-height: 300px;
}

.product-card { transition: transform 0.18s ease, box-shadow 0.18s ease; position: relative; }
.product-card:hover { transform: scale(1.03); box-shadow: none; z-index: 5; }

/* Ensure equal card height in home sliders */
.product-slider .product-card,
.services-slider .service-card {
  height: auto;
}

.product-card--active { z-index: 6; }

/* Home slider: avoid over-stretched product images (e.g. PAX). */
#home-products .product-card img {
  width: 100%;
  margin: 0;
  height: 200px;
  object-fit: contain;
}

#home-products .product-card__body {
  padding: 8px 9px 2px;
  gap: 2px;
  flex: 0 0 auto;
}

#home-products .product-card p { margin-bottom: 0; }

#home-products .product-card h3 {
  font-size: 13px;
  margin-bottom: 1px;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: none;
}

#home-products .product-card p {
  font-size: 11px;
  line-height: 1.25;
  max-height: calc(1.25em * 2);
  margin-bottom: 0;
}

#home-products .product-card .price {
  margin-top: 2px;
  padding-top: 0;
  font-size: 13px;
}

/* Unified card sizing + ellipsis */
.product-card,
.service-card,
.features .feature {
  height: auto;
}

.product-card__body,
.service-card__body,
.feature__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.product-card h3,
.service-card__body h3,
.feature .feature__body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  max-height: calc(1.35em * 2);
}

.product-card p,
.service-card__body p,
.feature .feature__body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  max-height: calc(1.5em * 2);
}

.product-card .price { margin-top: auto; }

.catalog-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}

.catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.catalog-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.catalog-sort select {
  width: auto;
  min-width: 220px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbdac0;
}

.catalog-count {
  font-weight: 800;
  font-size: 14px;
}

.catalog-aside {
  position: static;
  display: grid;
  gap: 16px;
}

.catalog-filters-open {
  display: none;
}

.catalog-filters-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.55);
  display: none;
  padding: calc(var(--header-h) + 10px) 16px 16px;
}

.catalog-filters-overlay.is-open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.catalog-filters-drawer {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  overflow: auto;
  max-height: calc(100vh - var(--header-h) - 26px);
  padding: 14px;
}

.catalog-filters-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.catalog-filters-drawer__title {
  font-weight: 800;
  font-size: 16px;
}

.catalog-filters-close {
  border: 0;
  background: rgba(148, 163, 184, 0.18);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.catalog-filters-drawer__body .catalog-aside {
  display: grid !important;
}

.catalog-panel {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  padding: 14px 14px 12px;
}

.catalog-categories-bar {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-categories-bar__title {
  font-weight: 1000;
  white-space: nowrap;
  margin-right: 6px;
}

.catalog-categories-bar .catalog-pills {
  margin: 0;
}

.catalog-panel__title {
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 14px;
}
#catalog .catalog-panel__title { font-size: 15px; }

.catalog-aside select,
.catalog-aside input {
  width: 100%;
  padding: 13px 13px;
  border-radius: 14px;
  border: 1px solid #cbdac0;
  background: #ffffff;
  font: inherit;
  outline: none;
}

.catalog-aside select:focus,
.catalog-aside input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 163, 74, 0.35);
}
.pill.is-active {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.25);
}

.price-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.price-sliders {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.price-sliders input[type="range"] { width: 100%; }
.catalog-bank-filters { display: grid; gap: 8px; margin-top: 2px; }
.catalog-bank-filters label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  column-gap: 10px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}
.catalog-bank-filters input[type="checkbox"] { margin: 0; transform: translateY(2px); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-grid .product-card {
  background: #ffffff;
}

.catalog-grid .product-card__body h3 {
  font-size: 18px;
}

.catalog-grid .product-card__body p {
  color: var(--muted);
  font-weight: 400;
}

#newsDetailRoot .tx4-landing {
  max-width: 100%;
}

.news-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-detail-card img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.news-detail-card__body {
  padding: 18px;
}
.news-detail-card__body h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
}
.news-detail-card__body p {
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  white-space: pre-wrap;
}

.catalog-grid .product-card .price {
  font-size: 17px;
  color: var(--primary-strong);
}

@media (max-width: 980px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filters-open { display: inline-flex; }
  .catalog-aside { display: none; }
}

@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: 1fr; }
}
.product-track.is-moving { transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1); transform: translateX(calc(-1 * var(--slide-step, 0px))); }

.product-track.is-moving--prev {
  transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: translateX(var(--slide-step, 0px));
}

.partners-track.is-moving { transition: transform .75s ease; transform: translateX(calc(-1 * var(--slide-step, 0px))); }

.partners-track.is-moving--prev {
  transition: transform .75s ease;
  transform: translateX(var(--slide-step, 0px));
}

.services-slider { position: relative; }
.services-frame {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  border: 0;
  background: transparent;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

#home-products .product-card {
  border-radius: 18px;
}

#home-services .service-card {
  border-radius: 18px;
}

.services-slider .service-card {
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
}

#home-services .services-slider .service-card {
  flex: 0 0 calc((100% - 40px) / 5);
  max-width: calc((100% - 40px) / 5);
  height: 184px;
  min-height: 184px;
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fff;
  display: block;
}

#home-services .service-card img {
  width: 100%;
  margin: 0;
  height: 104px;
  object-fit: contain;
}

.service-card__body {
  padding: 14px 16px 16px;
}

#home-services .service-card__body {
  padding: 8px 9px 1px;
  gap: 2px;
  flex: 0 0 auto;
}

#home-services .service-card__body p { margin-bottom: 0; }

.service-card__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

#home-services .service-card__body h3 {
  font-size: 13px;
  margin-bottom: 1px;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: none;
}

.service-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
}

#home-services .service-card__body p {
  font-size: 11px;
  line-height: 1.25;
  max-height: calc(1.25em * 2);
  margin-bottom: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.detail-media {
  background: #f3f6fb;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  width: min(100%, 800px);
  height: 640px;
  aspect-ratio: auto;
}

.detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.58);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.detail-gallery__prev { left: 10px; }
.detail-gallery__next { right: 10px; }

.detail-gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.58);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.detail-side .detail-title {
  margin: 0 0 14px;
}

.detail-price {
  font-weight: 1000;
  color: var(--primary-strong);
  font-size: 22px;
  letter-spacing: 0.2px;
}

.detail-buybar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
}

.detail-price-wrap {
  flex: 0 0 auto;
}

.btn--buy {
  white-space: nowrap;
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.detail-breadcrumbs .crumb {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.detail-breadcrumbs .crumb:hover {
  color: var(--primary-strong);
  border-bottom-color: rgba(22, 163, 74, 0.35);
}

.detail-breadcrumbs .crumb--current {
  color: var(--text);
  border-bottom: 0;
  font-weight: 400;
}

.detail-category {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.detail-category__title {
  font-weight: 1000;
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--text);
}

.detail-category__desc {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-cta-wrap {
  margin-left: auto;
}

.detail-side {
  min-width: 0;
}

.detail-chars-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.char-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.char-key {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  flex: 0 0 48%;
}

.char-value {
  color: var(--text);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
  flex: 0 0 52%;
}

.detail-desc {
  margin-top: 16px;
}

.detail-desc h3 {
  margin: 0 0 8px;
}

.detail-desc p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}

.detail-desc p:last-child {
  margin-bottom: 0;
}

.detail-banks {
  margin-top: 20px;
}

.detail-banks__title {
  margin: 0 0 12px;
  font-size: 18px;
}

.detail-banks-slider {
  padding-bottom: 0;
}

.detail-banks-slider .partners-frame {
  background: rgba(255, 255, 255, 0.72);
}

.detail-chars h3 {
  margin: 22px 0 8px;
}

.detail-chars ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-media { width: 100%; height: 360px; }
  .detail-buybar { flex-direction: column; align-items: flex-start; }
  .detail-cta-wrap { margin-left: 0; width: 100%; }
  .btn--buy { width: 100%; justify-content: center; }
  .char-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .char-key, .char-value { flex: 0 0 auto; text-align: left; }
}

.services-track.is-moving {
  transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: translateX(calc(-1 * var(--slide-step, 0px)));
}

.services-track.is-moving--prev {
  transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: translateX(var(--slide-step, 0px));
}

.services-table {
  display: grid;
  gap: 10px;
}

.services-table__row {
  display: grid;
  grid-template-columns: 48px 148px minmax(220px, 1.6fr) auto;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.services-table__idx {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.services-table__title {
  font-weight: 400;
  color: var(--text);
}
.services-table__media {
  width: 148px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f6fb;
}
.services-table__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-table__desc {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.services-table__action .btn {
  min-width: 108px;
}

.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.features--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.features .feature {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.features .feature__img--useful {
  height: 190px;
}

.feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16, 24, 40, 0.10); }
.feature p, .about p { color: var(--muted); line-height: 1.7; }
.about__actions { margin-top: 14px; display: flex; justify-content: flex-end; }

.feature--service {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature__img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f3f6fb;
  display: block;
}

/* Баннер статьи GLN: на всю ширину карточки, высота по пропорциям картинки (весь инфографик виден) */
.feature__img--gln-banner {
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.feature__body {
  padding: 18px;
}

.feature__body h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature__body p {
  margin: 0;
}

/* Home "Полезная информация": big left + 4 mini right (2x2) */
.useful-home-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: start;
}

.useful-home-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.useful-home-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .18s ease;
}

.useful-home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.10);
}

.useful-home-card__img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f3f6fb;
  display: block;
}

.useful-home-card__body {
  padding: 12px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.useful-home-card__body h3,
.useful-home-card__body h4 {
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.useful-home-card__body h3 { font-size: 20px; }
.useful-home-card__body h4 { font-size: 16px; }

.useful-home-card__body p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.useful-home-card--big .useful-home-card__body p { font-weight: 400; }

.useful-home-card--big .useful-home-card__img {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.useful-home-card--big .useful-home-card__body {
  min-height: 96px;
  justify-content: flex-start;
}

.useful-home-card--mini .useful-home-card__img { height: 102px; }
.useful-home-card--mini .useful-home-card__body { min-height: 70px; justify-content: center; }
.useful-home-card--mini .useful-home-card__body h4 {
  -webkit-line-clamp: 3;
  font-size: 15px;
}

/* Make the big card height equal to 2 mini cards (2 rows + gap) */
:root {
  --useful-mini-card-height: 172px;
}
.useful-home-card--mini { height: var(--useful-mini-card-height); }
.useful-home-card--big { height: calc(var(--useful-mini-card-height) * 2 + 18px); display: flex; flex-direction: column; }

/* Ensure content doesn't create extra empty space */
.useful-home-card__body { min-height: 0; }

@media (max-width: 980px) {
  .useful-home-grid { grid-template-columns: 1fr; }
  .useful-home-card--big .useful-home-card__img { min-height: 220px; height: 220px; }
  .useful-home-card--mini,
  .useful-home-card--big { height: auto; }
}

@media (max-width: 640px) {
  .useful-home-mini-grid { grid-template-columns: 1fr; }
  .useful-home-card--mini .useful-home-card__img { height: 160px; }
}

.docs-toggle__btn {
  margin-top: 12px;
}

.docs-toggle__content {
  margin-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
  padding-top: 12px;
}

.docs-toggle__content h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.docs-toggle__content p {
  margin: 0 0 10px;
}

.about__more {
  margin-top: 8px;
  max-width: 860px;
}

.useful-text-block {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.useful-text-block h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.useful-text-block h4 {
  margin: 14px 0 6px;
  font-size: 17px;
}

.useful-text-block p,
.useful-text-block li {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.useful-text-block ul {
  margin: 0 0 8px;
  padding-left: 20px;
}

.useful-text-block ol {
  margin: 0 0 8px;
  padding-left: 22px;
}

.useful-text-block ol li {
  margin-bottom: 8px;
}

.useful-text-block a {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.useful-text-block a:hover {
  text-decoration-thickness: 2px;
}

.footer { padding: 42px 0 34px; background: #f8fafc; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.05fr; gap: 22px; }

.footer-logo-img { width: auto; height: 56px; max-width: 220px; object-fit: contain; }
.footer-left-text { color: var(--muted); line-height: 1.7; font-weight: 600; margin-top: 12px; }

.footer-address-item,
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 0;
}

.footer-address-item { margin: 12px 0; }

.footer-ic svg { width: 18px; height: 18px; color: var(--muted); margin-top: 2px; }

.footer-contacts-list { margin-top: 10px; }

.footer-contact-item a {
  color: var(--muted);
  text-decoration: none;
}
.footer-contact-item a:hover { color: var(--primary-strong); }

.footer-address-item a {
  color: inherit;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.footer-address-item a:hover { color: var(--primary-strong); }

.footer-links a {
  display: block;
  margin: 0 0 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.footer-links a:hover { color: var(--primary-strong); }

.footer-callout {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}
.footer-callout-title {
  font-weight: 1000;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
}
button.social-btn {
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.social-btn svg { width: 22px; height: 22px; fill: currentColor; }
.social-btn__img { width: 22px; height: 22px; object-fit: contain; display: block; }
.social-btn--instagram .social-btn__img { width: 32px; height: 32px; }
.social-btn:hover { background: #fff; }

.footer-link--btn {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.social-btn--telegram {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}
.social-btn--instagram {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
}
.social-btn--instagram:hover {
  background: #fff;
}
.social-btn--call {
  color: var(--primary-strong);
  border-color: rgba(16, 133, 61, 0.25);
}

.wd-location-dark {
  color: var(--muted);
}
.wd-phone-dark {
  color: var(--primary-strong);
}
.wd-envelope-dark {
  color: var(--primary-strong);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Footer (Alfa-like layout) */
.footer--alfa {
  padding: 46px 0 36px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.footer-grid--alfa {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.7fr 0.95fr 0.75fr;
  gap: 22px;
  align-items: start;
}

.footer-logo-img,
.footer-left .footer-logo-img {
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}

.footer-left-text {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
  margin-top: 12px;
  font-size: 13px;
}

.footer-hours {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.footer-hours-title {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}
.footer-hours-text {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
  font-size: 13px;
}

.footer-contact-col {
  font-size: 13px;
}

.footer-address-item,
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
  margin: 10px 0;
}

.footer-contact-item a {
  color: var(--muted);
  text-decoration: none;
  font: inherit;
}
.footer-contact-item a:hover {
  color: var(--primary-strong);
}

.footer-address-item a {
  color: inherit;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.footer-address-item a:hover {
  color: var(--primary-strong);
}

.footer-ic svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-menu-col {
  padding-top: 4px;
}
.footer-menu-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.footer-menu-title--mt {
  margin-top: 18px;
}
.footer-link {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 10px;
  font-size: 13px;
}
.footer-link:hover {
  color: var(--primary-strong);
}

.footer-connect-col .footer-social {
  display: flex;
  gap: 12px;
}

.connect__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.connect__text {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.connect__form {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connect__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 400;
  color: var(--text);
}

.connect__field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  font: inherit;
  background: #fff;
}

.connect__field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.form__message {
  min-height: 22px;
  margin: 2px 0 0;
  font-weight: 800;
}

.lead-final__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.lead-final__text {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.lead-final__form {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#lead-final .lead-final__inner {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

#lead-final .section__title {
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}

#lead-final .section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 4px;
  background: rgba(22, 163, 74, 0.25);
  border-radius: 999px;
}

#lead-final .lead-final__text {
  max-width: 440px;
  font-weight: 400;
  line-height: 1.7;
}

#lead-final .lead-left {
  padding-top: 6px;
}

#lead-final .lead-benefits {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

#lead-final .lead-quick-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#lead-final .lead-quick-actions .btn {
  padding: 11px 18px;
}

#lead-final .lead-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--text);
}

#lead-final .lead-benefits li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(22, 163, 74, 0.24);
  margin-top: 6px;
  flex: 0 0 auto;
}

#lead-final .lead-final__form {
  padding: 26px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  border-color: rgba(22, 163, 74, 0.22);
}

#lead-final .lead-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#lead-final .connect__field--float {
  position: relative;
  margin: 0;
}

#lead-final .connect__field--float input,
#lead-final .connect__field--float textarea {
  width: 100%;
  padding: 18px 16px 14px 46px;
  border-radius: 16px;
  border: 1px solid var(--border);
  outline: none;
  font: inherit;
  background: #fff;
  min-height: 52px;
}

#lead-final .connect__field--float textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

#lead-final .connect__field--textarea textarea {
  min-height: 124px;
  resize: vertical;
}

#lead-final .lead-remaining {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 10px;
  line-height: 1;
  color: var(--muted);
  font-weight: 400;
  pointer-events: none;
}

#lead-final .connect__field--float textarea {
  padding-top: 18px;
}

#lead-final .field-ic {
  position: absolute;
  left: 16px;
  top: 18px;
  transform: none;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

#lead-final .field-label {
  position: absolute;
  left: 46px;
  top: 18px;
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  pointer-events: none;
  background: transparent;
}

#lead-final .connect__field--float:focus-within .field-ic {
  color: var(--primary-strong);
}

#lead-final .connect__field--float input:focus ~ .field-label,
#lead-final .connect__field--float textarea:focus ~ .field-label,
#lead-final .connect__field--float input:not(:placeholder-shown) ~ .field-label,
#lead-final .connect__field--float textarea:not(:placeholder-shown) ~ .field-label {
  top: 8px;
  font-size: 12px;
  color: var(--primary-strong);
}

#lead-final .field-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 12.5px;
}

#lead-final .lead-micro {
  margin: 2px 0 0;
  font-weight: 400;
  color: var(--muted);
}

.lead-final__form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.lead-final__form .connect__field input,
.lead-final__form .connect__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  font: inherit;
}

.lead-final__form .connect__field {
  margin: 0;
}

.contacts-page #lead-final {
  margin-top: 0;
  padding-top: 92px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.contacts-map-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.contacts-map-top {
  padding: 14px 16px 0;
}

.contacts-map-kicker {
  font-weight: 1000;
  color: var(--text);
  margin: 0;
}

.contacts-map {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  background: #f3f6fb;
}

.contacts-map-note {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.contacts-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.92);
  padding: 18px;
}

.office-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.office-tab {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.office-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 163, 74, 0.35);
}

.office-tab.is-active {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(22, 163, 74, 0.55);
  color: var(--primary-strong);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.10);
}

.office-panels {
  display: grid;
  gap: 14px;
}

.office-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.office-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.office-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-strong);
  flex: 0 0 auto;
}

.office-icon svg {
  width: 22px;
  height: 22px;
}

.office-city {
  font-weight: 1000;
  color: var(--text);
  font-size: 18px;
}

.office-subtitle {
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  font-size: 13px;
}

.office-address {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}

.office-meta {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.office-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.office-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.10);
  color: var(--primary-strong);
  font-weight: 1000;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.office-call--primary {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(22, 163, 74, 0.55);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.10);
}

.office-call--primary .office-call__text {
  font-size: 15px;
}

.office-call__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 14px;
}

.office-call__label {
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  color: rgba(22, 163, 74, 0.95);
  margin-bottom: 2px;
}

.office-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.office-call svg {
  width: 18px;
  height: 18px;
  color: inherit;
}

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

  .contacts-map {
    height: 360px;
  }
}

@media (max-width: 900px) {
  .hero__grid, .features, .quick-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid--alfa { grid-template-columns: 1fr; gap: 18px; }
  .nav--drawer { width: calc(100% - 32px); margin-right: 16px; }
  .header__row { min-height: 0; }
  .logo__img { height: 44px; max-width: 200px; }
  .news-slider { min-height: 0; }
  .news-slide__content { left: 16px; right: 16px; bottom: 16px; }
  .product-slider .product-card { flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
  .partner-card { flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
  .product-slider .product-card,
  .partner-card,
  .services-slider .service-card { height: auto; }
  .services-slider .service-card { flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
  .services-table__row { grid-template-columns: 38px 96px 1fr; gap: 10px; }
  .services-table__media { width: 96px; height: 70px; }
  .services-table__desc,
  .services-table__action { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 38px 0; }
  .header { padding: 8px 0; }
  .header__row { gap: 8px; align-items: center; }
  .logo__img { height: 38px; max-width: 150px; }
  .header__right {
    gap: 6px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    min-width: 0;
    max-width: calc(100vw - 20px);
  }

  .search-inline { width: 42px; min-width: 42px; }
  .search-inline.is-open { width: min(72vw, 280px); max-width: calc(100vw - 24px); }
  .search-inline__input { font-size: 14px; min-width: 0; }
  .search-results { max-height: 52vh; }

  .sticky-panel { top: var(--header-h); }
  .sticky-panel__row {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .sticky-panel__link { white-space: nowrap; }

  .slider-btn { width: 36px; height: 36px; font-size: 26px; }
  .slider-btn--prev { left: 8px; }
  .slider-btn--next { right: 8px; }
  .slider-dots { bottom: 10px; }
  .slider-dot { width: 10px; height: 10px; }
  #home-products .slider-dots--catalog,
  #home-services .slider-dots--services,
  #home-partners .slider-dots--partners { bottom: 2px; }

  .product-card img,
  .service-card img { height: 165px; }
  .partners-track { gap: 8px !important; }
  .partner-card {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    min-height: 98px;
  }
  .partner-card img { width: 72%; max-height: 44px; height: auto; object-fit: contain; }

  #home-products .product-slider .product-card {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
  }
  #home-services .services-slider .service-card {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
  }

  .news-slide__content h3,
  .news-slide__content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-slide__content h3 { -webkit-line-clamp: 2; }
  .news-slide__content p { -webkit-line-clamp: 2; }

  .catalog-layout { gap: 12px; }
  .catalog-panel { padding: 12px; border-radius: 12px; }
  .catalog-grid { grid-template-columns: 1fr; }

  #lead-final .lead-final__inner {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  #lead-final .lead-left { order: 1; }
  #lead-final .lead-quick-actions { display: flex; flex-wrap: nowrap; gap: 10px; }
  #lead-final .lead-quick-actions .btn { flex: 1 1 0; min-width: 0; }
  #lead-final .lead-final__form {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 12px;
  }
  .trust-strip { grid-template-columns: 1fr; }
  .office-tabs { gap: 6px; }
  .office-tab { padding: 8px 10px; }
}
