/* Тема лендинга — общий ключ lk-theme с ЛК */

html.lk-theme-light body.landing-site {
  --bg: #f2f6fc;
  --surface: #ffffff;
  --surface-muted: #edf3fb;
  --text: #151515;
  --text-muted: #4f5a6c;
  --line: rgba(21, 21, 21, 0.08);
  --dark: #151515;
  --accent-strong: #2d6ef3;
  --btn-primary-bg: #2d6ef3;
  --btn-primary-hover: #4d8dff;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-border: rgba(21, 21, 21, 0.08);
}

html.lk-theme-light body.landing-site .site-header {
  background: color-mix(in srgb, var(--bg) 88%, #ffffff);
  border-bottom-color: var(--line);
}

html.lk-theme-dark body.landing-site {
  --bg: #070708;
  --surface: #111112;
  --surface-muted: #151517;
  --text: #f4f4f5;
  --text-muted: #9a9aa1;
  --line: rgba(255, 255, 255, 0.08);
  --dark: #f4f4f5;
  --accent-strong: #8bbcff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.28);
  --btn-primary-bg: #5d9cff;
  --btn-primary-hover: #7eb3ff;
  --btn-primary-text: #070708;
  --btn-secondary-bg: #101012;
  --btn-secondary-border: rgba(255, 255, 255, 0.08);
  --icon-ui: #f4f4f5;
  color: var(--text);
  background: var(--bg);
}

html.lk-theme-dark body.landing-site .site-header {
  background: #050506;
  border-bottom-color: var(--line);
}

html.lk-theme-dark body.landing-site .nav,
html.lk-theme-dark body.landing-site .header-phone {
  color: var(--text-muted);
}

html.lk-theme-dark body.landing-site .nav a:hover,
html.lk-theme-dark body.landing-site .header-phone:hover {
  color: var(--text);
}

html.lk-theme-dark body.landing-site .header-phone {
  background: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
  color: var(--text);
}

html.lk-theme-dark body.landing-site .hero-copy,
html.lk-theme-dark body.landing-site .hero-card,
html.lk-theme-dark body.landing-site .steps-card,
html.lk-theme-dark body.landing-site .lead-form,
html.lk-theme-dark body.landing-site .stats-panel,
html.lk-theme-dark body.landing-site .service-card,
html.lk-theme-dark body.landing-site .info-card,
html.lk-theme-dark body.landing-site .benefit-card,
html.lk-theme-dark body.landing-site .benefit-card-featured,
html.lk-theme-dark body.landing-site .price-card,
html.lk-theme-dark body.landing-site .faq-item,
html.lk-theme-dark body.landing-site .timeline-item,
html.lk-theme-dark body.landing-site .trust-item,
html.lk-theme-dark body.landing-site .system-item,
html.lk-theme-dark body.landing-site .stat-card,
html.lk-theme-dark body.landing-site .contractor-card,
html.lk-theme-dark body.landing-site .contractor-banner,
html.lk-theme-dark body.landing-site .review-card,
html.lk-theme-dark body.landing-site .extra-card,
html.lk-theme-dark body.landing-site .cta-contact-card,
html.lk-theme-dark body.landing-site .nav-drawer-panel {
  background: var(--surface);
  border-color: var(--line);
}

html.lk-theme-dark body.landing-site .button-light {
  background: var(--btn-secondary-bg);
  color: var(--text);
  border-color: var(--btn-secondary-border);
}

html.lk-theme-dark body.landing-site .lead-form input,
html.lk-theme-dark body.landing-site .lead-form select {
  background: var(--surface-muted);
  border-color: var(--line);
  color: var(--text);
}

html.lk-theme-dark body.landing-site .nav-drawer-backdrop {
  background: rgba(0, 0, 0, 0.55);
}

html.lk-theme-dark body.landing-site .footer-inner {
  border-top-color: var(--line);
}

html.lk-theme-dark body.landing-site .footer-tagline {
  color: var(--text-muted);
}

html.lk-theme-dark body.landing-site .eyebrow {
  background: rgba(93, 156, 255, 0.14);
  border-color: rgba(93, 156, 255, 0.24);
  color: var(--text);
}

html.lk-theme-dark body.landing-site .billing-toggle {
  background: rgba(93, 156, 255, 0.1);
  border-color: rgba(93, 156, 255, 0.18);
}

html.lk-theme-dark body.landing-site .billing-button.is-active {
  background: var(--surface-muted);
  color: var(--text);
}

/* Кнопки и контролы без светлых подложек */
html.lk-theme-dark body.landing-site .reviews-button,
html.lk-theme-dark body.landing-site .nav-burger,
html.lk-theme-dark body.landing-site .dialog-close-btn {
  background: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
  color: var(--text);
  box-shadow: var(--shadow);
}

html.lk-theme-dark body.landing-site .reviews-button:hover,
html.lk-theme-dark body.landing-site .nav-burger:hover,
html.lk-theme-dark body.landing-site .nav-burger:focus-visible,
html.lk-theme-dark body.landing-site .dialog-close-btn:hover,
html.lk-theme-dark body.landing-site .dialog-close-btn:focus-visible {
  background: var(--surface-muted);
  border-color: var(--line);
}

html.lk-theme-dark body.landing-site .nav-drawer-links a {
  color: var(--text);
}

html.lk-theme-dark body.landing-site .nav-drawer-links a:hover,
html.lk-theme-dark body.landing-site .nav-drawer-links a:focus-visible {
  background: var(--surface-muted);
}

html.lk-theme-dark body.landing-site .hero-availability-tag {
  background: var(--surface-muted);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

html.lk-theme-dark body.landing-site .price-system-tag,
html.lk-theme-dark body.landing-site .price-card-featured .price-system-tag {
  background: var(--surface-muted);
  border-color: var(--line);
}

html.lk-theme-dark body.landing-site .price-discount {
  background: rgba(30, 183, 95, 0.18);
  color: #5fd88a;
}

html.lk-theme-dark body.landing-site .contractor-meta span,
html.lk-theme-dark body.landing-site .contractor-banner-badge,
html.lk-theme-dark body.landing-site .review-card-top span {
  background: rgba(93, 156, 255, 0.12);
  color: var(--text);
}

html.lk-theme-dark body.landing-site .modal-window {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-hover);
}

html.lk-theme-dark body.landing-site .modal-scroll {
  scrollbar-color: rgba(93, 156, 255, 0.55) rgba(255, 255, 255, 0.06);
}

html.lk-theme-dark body.landing-site .modal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

html.lk-theme-dark body.landing-site .modal-scroll::-webkit-scrollbar-thumb {
  border-color: rgba(255, 255, 255, 0.12);
}

html.lk-theme-dark body.landing-site .modal-section {
  background: rgba(93, 156, 255, 0.08);
  border-color: rgba(93, 156, 255, 0.16);
}

html.lk-theme-dark body.landing-site .lead-success-icon {
  background: linear-gradient(180deg, rgba(95, 216, 138, 0.2), rgba(95, 216, 138, 0.08));
  color: #5fd88a;
  box-shadow: 0 12px 28px rgba(24, 169, 87, 0.22);
}

html.lk-theme-dark body.landing-site .lead-success-list li::before {
  background-color: rgba(95, 216, 138, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4.2L3.6 6.8L9 1.4' stroke='%235fd88a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
