/* ==========================================================================
   Компоненты темы «Лига Права». Порядок блоков повторяет порядок секций
   на главной, чтобы файл читался как макет.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Раскладка
   -------------------------------------------------------------------------- */

.lp-container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.lp-section {
  background: var(--white);
  padding: var(--space-12) 0;
}

.lp-section--muted {
  background: var(--surface-page);
}

.lp-section__title {
  margin: 0 0 var(--space-7);
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: var(--weight-regular);
  line-height: 1.3;
  color: var(--text-strong);
  text-align: center;
}

.lp-section__title--start {
  text-align: left;
  line-height: 1.45;
  max-width: 940px;
}

/* Подчёркнутый акцент внутри заголовков и абзацев. */
.lp-accent {
  color: var(--green-600);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Сетка карточек. Колонки подстраиваются сами — отдельных брейкпоинтов
   для неё не нужно. */
.lp-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(var(--lp-col, 260px), 100%), 1fr));
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--control-h-md);
  padding: 0 var(--space-6);
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-control);
  font: var(--type-button);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-control);
}

.lp-btn:hover {
  text-decoration: none;
}

.lp-btn--primary {
  background: var(--action-primary-bg);
  color: var(--action-primary-fg);
}

.lp-btn--primary:hover {
  background: var(--action-primary-bg-hover);
  color: var(--action-primary-fg);
}

.lp-btn--primary:active {
  background: var(--action-primary-bg-active);
}

.lp-btn--secondary {
  background: var(--action-secondary-bg);
  border-color: var(--border-brand);
  color: var(--action-secondary-fg);
}

.lp-btn--secondary:hover {
  background: var(--action-secondary-bg-hover);
  color: var(--action-secondary-fg);
}

.lp-btn--ghost {
  background: transparent;
  color: var(--action-secondary-fg);
}

.lp-btn--ghost:hover {
  background: var(--action-ghost-bg-hover);
  color: var(--action-secondary-fg);
}

.lp-btn--lg {
  height: var(--control-h-lg);
  min-width: 290px;
  padding: 0 var(--space-8);
}

.lp-btn--sm {
  height: var(--control-h-sm);
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Шапка — десктоп
   -------------------------------------------------------------------------- */

.lp-header-wrap {
  background: var(--white);
  padding: var(--space-6) 0 0;
}

.lp-header {
  max-width: var(--content-max);
  margin: 0 auto;
  height: var(--header-h);
  border-radius: var(--radius-lg);
  background: var(--green-600);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: 0 var(--space-6);
}

.lp-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

.lp-header__brand:hover {
  text-decoration: none;
}

.lp-header__logo {
  height: 50px;
  width: auto;
}

.lp-header__tagline {
  font: var(--type-body);
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
}

.lp-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.lp-header__menu {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
}

.lp-header__menu a {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.lp-header__menu a:hover {
  color: var(--white);
  text-decoration: underline;
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.lp-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-control);
}

.lp-social:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.lp-header__callback {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-control);
  border: var(--border-width) solid var(--white);
  color: var(--white);
  font: var(--type-button);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: var(--transition-control);
}

.lp-header__callback:hover {
  background: var(--white);
  color: var(--green-700);
  text-decoration: none;
}

.lp-header__phone {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--white);
  white-space: nowrap;
}

.lp-header__phone:hover {
  color: var(--white);
}

/* Светлый вариант шапки: белая плашка на сером фоне страницы. */
.lp-header-wrap--light {
  background: var(--surface-page);
  padding: var(--space-6) 0;
}

.lp-header-wrap--light .lp-header {
  background: var(--white);
}

.lp-header-wrap--light .lp-header__logo-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-header-wrap--light .lp-header__logo {
  height: 44px;
}

.lp-header-wrap--light .lp-header__tagline,
.lp-header-wrap--light .lp-header__menu a,
.lp-header-wrap--light .lp-header__phone {
  color: var(--text-strong);
}

.lp-header-wrap--light .lp-social {
  background: var(--green-600);
  color: var(--white);
}

.lp-header-wrap--light .lp-social:hover {
  background: var(--green-700);
}

.lp-header-wrap--light .lp-header__callback {
  border-color: var(--green-800);
  color: var(--green-800);
}

.lp-header-wrap--light .lp-header__callback:hover {
  background: var(--green-800);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Шапка — мобильная
   -------------------------------------------------------------------------- */

.lp-mobile-header {
  display: none;
  border-radius: 0 0 18px 18px;
  background: var(--green-600);
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 22px;
}

.lp-mobile-header__logo {
  height: 88px;
  width: auto;
}

.lp-mobile-header__phone {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--white);
  white-space: nowrap;
}

.lp-mobile-header__phone:hover {
  color: var(--white);
}

.lp-burger {
  background: none;
  border: 0;
  padding: 0;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-burger span {
  display: block;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* Выезжающее меню */
.lp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--green-600);
  display: flex;
  flex-direction: column;
  padding: var(--space-6) 28px var(--space-8);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-standard), visibility var(--duration-base);
}

.lp-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.lp-mobile-menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.lp-mobile-menu__logo {
  height: 132px;
  width: auto;
}

.lp-mobile-menu__close {
  background: none;
  border: 0;
  padding: 0;
  width: 34px;
  height: 34px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-mobile-menu__close span {
  position: absolute;
  top: 16px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--white);
  display: block;
}

.lp-mobile-menu__close span:first-child {
  transform: rotate(45deg);
}

.lp-mobile-menu__close span:last-child {
  transform: rotate(-45deg);
}

.lp-mobile-menu__nav {
  margin-top: 36px;
}

.lp-mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  list-style: none;
}

.lp-mobile-menu__list a {
  font-size: 26px;
  font-weight: var(--weight-regular);
  color: var(--white);
  text-decoration: none;
}

.lp-mobile-menu__foot {
  margin-top: auto;
  padding-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lp-mobile-menu__schedule {
  font: var(--type-body);
  font-size: 15px;
  color: var(--text-on-dark-muted);
}

.lp-mobile-menu__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-mobile-menu__socials .lp-social {
  width: 46px;
  height: 46px;
}

.lp-mobile-menu__address {
  font: var(--type-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
  max-width: 300px;
}

body.lp-menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.lp-hero {
  background: var(--white);
  padding: var(--space-6) 0 var(--space-10);
}

.lp-hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--surface-page);
  border-radius: var(--radius-surface);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  min-height: 560px;
}

.lp-hero__content {
  padding: var(--space-12) 0 var(--space-10) var(--space-16);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.lp-hero__title {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: var(--tracking-tight);
  color: var(--green-600);
  max-width: 600px;
}

.lp-hero__lead {
  margin-top: var(--space-5);
  font: var(--type-lead);
  line-height: 1.7;
  color: var(--text-strong);
  max-width: 420px;
}

.lp-hero__note {
  margin-top: var(--space-4);
  font: var(--type-body-sm);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 400px;
}

.lp-hero__cta {
  margin-top: var(--space-7);
}

.lp-hero__facts {
  margin-top: auto;
  padding-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: var(--space-4) var(--space-6);
  max-width: 600px;
  list-style: none;
}

.lp-hero__facts li {
  font: var(--type-body);
  line-height: 1.6;
  color: var(--text-strong);
}

.lp-hero__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.lp-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: -24px;
  top: 0;
  bottom: -48px;
  background-image: var(--lp-hero-image);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}

/* --------------------------------------------------------------------------
   Рейтинги площадок
   -------------------------------------------------------------------------- */

.lp-ratings {
  background: var(--surface-page);
  padding: var(--space-14, 56px) 0;
  text-align: center;
}

.lp-ratings__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-8);
}

.lp-ratings__score {
  display: inline-flex;
  align-items: center;
  height: var(--space-10);
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--green-600);
  color: var(--white);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
}

.lp-ratings__caption {
  font: var(--type-lead);
  color: var(--text-body);
}

.lp-ratings__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
  list-style: none;
}

.lp-rating-card {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  flex: 1 1 130px;
  max-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.lp-rating-card__logo {
  height: 24px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 6px;
}

.lp-rating-card__stars {
  color: var(--warning-600);
  font-size: var(--text-md);
  letter-spacing: 0.05em;
}

.lp-rating-card__value {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
}

.lp-rating-card__count {
  font: var(--type-body-sm);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Условия банкротства
   -------------------------------------------------------------------------- */

.lp-condition {
  background: var(--surface-page);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 220px;
}

.lp-condition--dark {
  background: var(--green-800);
}

.lp-condition__badge {
  flex: 1;
  border: var(--border-width) solid var(--green-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  text-align: center;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1.6;
  color: var(--text-strong);
}

.lp-condition--dark .lp-condition__badge {
  border-color: var(--green-300);
  color: var(--white);
}

.lp-condition__text {
  font: var(--type-body-sm);
  color: var(--text-body);
  text-align: center;
}

.lp-condition--dark .lp-condition__text {
  color: var(--text-on-dark-muted);
}

/* --------------------------------------------------------------------------
   Преимущества и алгоритм — карточки на подложке
   -------------------------------------------------------------------------- */

.lp-panel {
  background: var(--neutral-50);
  border-radius: var(--radius-surface);
  padding: var(--space-6);
}

.lp-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.lp-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
  color: var(--text-strong);
}

.lp-card__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-body);
}

/* Цветовые варианты карточки. */
.lp-card--green {
  background: var(--green-800);
}

.lp-card--green .lp-card__title {
  color: var(--white);
}

.lp-card--green .lp-card__text {
  color: var(--text-on-dark-muted);
}

.lp-card--green-mid {
  background: var(--green-700);
}

.lp-card--green-mid .lp-card__title {
  color: var(--white);
}

.lp-card--green-mid .lp-card__text {
  color: var(--text-on-dark-muted);
}

.lp-card--ink {
  background: var(--neutral-800);
}

.lp-card--ink .lp-card__title {
  color: var(--white);
}

.lp-card--ink .lp-card__text {
  color: var(--neutral-300);
}

.lp-card--grey {
  background: var(--neutral-200);
}

/* В алгоритме заголовки крупнее и легче, чем в преимуществах. */
.lp-step .lp-card__title {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Что будет через 6 месяцев
   -------------------------------------------------------------------------- */

.lp-outcome {
  border: var(--border-width) solid var(--green-500);
  border-radius: var(--radius-surface);
  padding: var(--space-10) var(--space-12);
}

.lp-outcome__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-10);
}

.lp-outcome__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.lp-outcome__col + .lp-outcome__col {
  border-left: var(--border-width) solid var(--border-subtle);
  padding-left: var(--space-10);
}

.lp-outcome__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
}

.lp-outcome__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-outcome__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--text-sm);
  color: var(--text-body);
}

.lp-outcome__list svg {
  flex-shrink: 0;
}

.lp-outcome__list--bad svg {
  color: var(--danger-600);
}

.lp-outcome__list--good svg {
  color: var(--success-600);
}

.lp-outcome__cta {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.lp-outcome__cta p {
  font-size: 22px;
  font-weight: var(--weight-regular);
  color: var(--text-strong);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Услуги
   -------------------------------------------------------------------------- */

.lp-service {
  background: var(--surface-page);
  border-radius: var(--radius-card);
  padding: var(--space-3) var(--space-3) var(--space-5);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-control), box-shadow var(--duration-base) var(--ease-standard);
}

.lp-service:hover {
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.lp-service--featured {
  background: var(--green-800);
}

.lp-service__media {
  width: 100%;
  height: 130px;
  border-radius: var(--radius-control);
  overflow: hidden;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
}

.lp-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-service--featured .lp-service__media {
  background: var(--green-700);
  color: var(--green-200);
}

.lp-service__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0 6px;
}

.lp-service__title {
  font-size: 15px;
  font-weight: var(--weight-medium);
  line-height: 1.35;
  color: var(--text-strong);
}

.lp-service__excerpt {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
}

.lp-service--featured .lp-service__title {
  color: var(--white);
}

.lp-service--featured .lp-service__excerpt {
  color: var(--text-on-dark-muted);
}

.lp-services__more {
  margin-top: var(--space-5);
}

.lp-services__more[hidden] {
  display: none;
}

.lp-services__toggle {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Статистика
   -------------------------------------------------------------------------- */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-10);
  align-items: center;
}

.lp-stats__chart {
  background: var(--surface-page);
  border-radius: var(--radius-card);
  padding: var(--space-6);
}

.lp-stats__chart-title {
  font-size: 15px;
  color: var(--text-strong);
  text-align: center;
  margin-bottom: var(--space-3);
}

.lp-stats__chart svg {
  width: 100%;
  height: auto;
}

.lp-stats__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.lp-stats__text p {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--text-strong);
}

/* --------------------------------------------------------------------------
   О компании — цифры
   -------------------------------------------------------------------------- */

.lp-fact {
  background: var(--white);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
}

.lp-fact--brand {
  border-color: var(--green-600);
}

.lp-fact--ink {
  border-color: var(--neutral-800);
}

.lp-fact__value {
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
}

.lp-fact__label {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Судебная практика — горизонтальная карусель
   -------------------------------------------------------------------------- */

.lp-practice__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.lp-practice__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border-width) solid var(--border-brand);
  background: var(--white);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-control);
}

.lp-practice__arrow:hover {
  background: var(--green-50);
}

.lp-practice__track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: var(--space-1);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  list-style: none;
}

.lp-practice__track::-webkit-scrollbar {
  display: none;
}

.lp-practice__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.lp-case {
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-page);
}

.lp-case__top {
  background: var(--green-700);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--space-5);
  color: var(--white);
}

.lp-case__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-case__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
}

.lp-case__label + .lp-case__label {
  margin-top: 10px;
}

.lp-case__value {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Аккордеон «Чем пугают коллекторы»
   -------------------------------------------------------------------------- */

.lp-faq {
  display: flex;
  flex-direction: column;
  border-bottom: var(--border-width) solid var(--border-subtle);
}

.lp-faq__item {
  border-top: var(--border-width) solid var(--border-subtle);
}

.lp-faq__button {
  width: 100%;
  background: none;
  border: 0;
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
}

.lp-faq__sign {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-strong);
}

.lp-faq__sign::before,
.lp-faq__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--duration-base) var(--ease-standard);
}

.lp-faq__sign::before {
  left: 0;
  top: 9px;
  width: 20px;
  height: 1.5px;
}

.lp-faq__sign::after {
  left: 9px;
  top: 0;
  width: 1.5px;
  height: 20px;
}

/* Открытый пункт: плюс поворачивается в крестик. */
.lp-faq__button[aria-expanded="true"] .lp-faq__sign {
  color: var(--text-muted);
  transform: rotate(45deg);
}

.lp-faq__panel {
  display: none;
}

.lp-faq__panel.is-open {
  display: block;
}

.lp-faq__panel p {
  padding: 0 60px var(--space-7) 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 900px;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.lp-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.lp-contacts__map {
  position: relative;
  min-height: 420px;
  background: var(--neutral-200);
}

.lp-contacts__map iframe,
.lp-contacts__map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.lp-contacts__info {
  background: var(--surface-dark);
  padding: var(--space-16) var(--space-14, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.lp-contacts__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--white);
}

.lp-contacts__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.lp-contacts__links a,
.lp-contacts__address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.lp-contacts__links a:hover {
  color: var(--white);
}

.lp-contacts__address {
  max-width: 560px;
}

.lp-disclaimer {
  background: var(--neutral-800);
  padding: var(--space-6);
}

.lp-disclaimer p {
  margin: 0 auto;
  max-width: 900px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--neutral-300);
  text-align: center;
}

.lp-footer {
  background: var(--green-700);
  padding: var(--space-14, 56px) 0 var(--space-8);
}

.lp-footer__grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-10);
  align-items: start;
}

.lp-footer__logo {
  height: 120px;
  width: auto;
}

.lp-footer__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--white);
}

.lp-footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.lp-footer__links a {
  font-size: var(--text-sm);
  color: var(--white);
}

.lp-footer__links a:hover {
  color: var(--green-100);
}

/* Вторая колонка услуг выравнивается по первой, без своего заголовка. */
.lp-footer__col--continued {
  padding-top: var(--space-10);
  gap: 14px;
}

.lp-footer__phone {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--white);
}

.lp-footer__phone:hover {
  color: var(--white);
}

.lp-footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.lp-footer__socials {
  display: flex;
  gap: var(--space-3);
}

.lp-footer__socials .lp-social {
  color: var(--green-800);
}

.lp-footer__legal {
  margin: var(--space-12) auto 0;
  max-width: var(--content-max);
  padding: 0 var(--space-6);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Типовые страницы (не главная)
   -------------------------------------------------------------------------- */

.lp-page {
  padding: var(--space-12) 0 var(--space-16);
}

.lp-page__title {
  font-family: var(--font-body);
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  color: var(--green-600);
  margin-bottom: var(--space-6);
}

.lp-prose {
  max-width: 820px;
  font: var(--type-body);
  color: var(--text-body);
}

.lp-prose > * + * {
  margin-top: var(--space-5);
}

.lp-prose h2 {
  font: var(--type-h1);
  color: var(--text-strong);
  margin-top: var(--space-10);
}

.lp-prose h3 {
  font: var(--type-h2);
  color: var(--text-strong);
  margin-top: var(--space-8);
}

.lp-prose ul,
.lp-prose ol {
  padding-left: var(--space-6);
}

.lp-prose li + li {
  margin-top: var(--space-2);
}

.lp-prose img {
  border-radius: var(--radius-card);
}

.lp-breadcrumbs {
  font: var(--type-body-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.lp-breadcrumbs a {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .lp-header-wrap {
    display: none;
  }

  .lp-mobile-header {
    display: flex;
  }

  .lp-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lp-hero__content {
    padding: var(--space-8) var(--space-6) var(--space-6);
  }

  .lp-hero__media {
    min-height: 380px;
  }

  .lp-hero__media::after {
    right: 0;
    bottom: 0;
    background-position: center bottom;
  }

  .lp-contacts__info {
    padding: var(--space-10) var(--space-6);
  }
}

@media (max-width: 720px) {
  :root {
    --section-y: var(--section-y-sm);
  }

  .lp-section {
    padding: var(--space-8) 0;
  }

  .lp-hero__title {
    font-size: 30px;
  }

  .lp-section__title {
    font-size: 22px;
  }

  .lp-outcome {
    padding: var(--space-6);
  }

  .lp-outcome__col + .lp-outcome__col {
    border-left: 0;
    padding-left: 0;
    padding-top: var(--space-6);
    border-top: var(--border-width) solid var(--border-subtle);
  }

  .lp-faq__panel p {
    padding-right: 0;
  }

  .lp-btn--lg {
    min-width: 0;
    width: 100%;
  }

  .lp-footer__col--continued {
    padding-top: 0;
  }
}

/* Совсем узкие экраны: логотип и телефон ужимаются, но остаются в шапке. */
@media (max-width: 400px) {
  .lp-mobile-header {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-2);
  }

  .lp-mobile-header__logo {
    height: 64px;
  }

  .lp-mobile-header__phone {
    font-size: var(--text-sm);
  }
}
