/* ============================================================
   LIDRU MOBILE APP — стиль как edasamara.ru, цвета lidru.ru
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Mobile shell hidden on desktop by default */
.mobile-app-header,
.mobile-app-menu,
.bottom-dock {
  display: none;
}

.desktop-site-chrome {
  display: block;
}

@media (max-width: 767px) {
  body.mobile-shell .mobile-app-header,
  body.mobile-shell .mobile-app-menu,
  body.mobile-shell .bottom-dock {
    display: block;
  }

  body.mobile-shell .desktop-site-chrome {
    display: none !important;
  }

  body.mobile-shell .preloader,
  body.mobile-shell .scroll-top,
  body.mobile-shell .cookies-card {
    display: none !important;
  }
}

/* Native iOS/Android shell (incl. iPad): always use app chrome, not crowded desktop layout */
body.is-mobile-app .mobile-app-header,
body.is-mobile-app .mobile-app-menu,
body.is-mobile-app .bottom-dock {
  display: block;
}

body.is-mobile-app .desktop-site-chrome {
  display: none !important;
}

body.is-mobile-app .preloader,
body.is-mobile-app .scroll-top,
body.is-mobile-app .cookies-card {
  display: none !important;
}

/* iPad / tablet breathing room (Guideline 4) */
@media (min-width: 768px) {
  body.is-mobile-app .container,
  body.is-mobile-app .container-fluid {
    max-width: 720px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  body.is-mobile-app .pricing-section .row {
    row-gap: 1.25rem;
  }

  body.is-mobile-app .pricing-card {
    margin-bottom: 0.5rem;
  }

  body.is-mobile-app .section-heading__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.25;
  }

  body.is-mobile-app .banner-section,
  body.is-mobile-app .py-120 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  body.is-mobile-app .form--control,
  body.is-mobile-app .btn {
    min-height: 48px;
  }

  body.is-mobile-app .bottom-dock__link span {
    font-size: 0.75rem;
  }
}

:root {
  --app-accent: hsl(var(--base));
  --app-accent-soft: hsl(var(--base) / 0.18);
  --app-accent-ink: #0a0f0a;
  --app-dock-icon-light: #6a6a6a;
  --app-dock-icon-active-light: #141414;
  --app-dock-icon-dark: #94a3b8;
  --app-dock-icon-active-dark: hsl(var(--base));
  --app-nav-light: rgba(255, 255, 255, 0.94);
  --app-nav-dark: rgba(18, 18, 18, 0.92);
  --app-line-light: #e8e8e8;
  --app-line-dark: rgba(255, 255, 255, 0.08);
  --app-ink-light: #141414;
  --app-ink-dark: #f5f5f5;
  --app-muted-light: #6a6a6a;
  --app-muted-dark: #94a3b8;
  --app-nav: var(--app-nav-dark);
  --app-ink: var(--app-ink-dark);
  --app-muted: var(--app-muted-dark);
  --app-line: var(--app-line-dark);
  --app-dock-icon: var(--app-dock-icon-dark);
  --app-dock-icon-active: var(--app-dock-icon-active-dark);
  --app-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --app-header-h: 58px;
  --app-dock-h: 76px;
  --app-safe-top: env(safe-area-inset-top, 0px);
  --app-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.is-mobile-app[data-app-theme="light"],
body.mobile-shell[data-app-theme="light"] {
  --app-nav: var(--app-nav-light);
  --app-ink: var(--app-ink-light);
  --app-muted: var(--app-muted-light);
  --app-line: var(--app-line-light);
  --app-dock-icon: var(--app-dock-icon-light);
  --app-dock-icon-active: hsl(var(--base));
  --app-shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
  --heading-color: 220 15% 12%;
  --body-color: 220 10% 28%;
  --text-color: 220 8% 38%;
  --border-color: 220 10% 88%;
  --section-bg: 0 0% 100%;
}

body.is-mobile-app[data-app-theme="dark"],
body.mobile-shell[data-app-theme="dark"] {
  --app-nav: var(--app-nav-dark);
  --app-ink: var(--app-ink-dark);
  --app-muted: var(--app-muted-dark);
  --app-line: var(--app-line-dark);
  --app-dock-icon: var(--app-dock-icon-dark);
  --app-dock-icon-active: var(--app-dock-icon-active-dark);
  --app-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ── App shell ── */
body.mobile-shell {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif !important;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 100dvh;
  padding-top: calc(var(--app-header-h) + var(--app-safe-top));
  padding-bottom: calc(6.75rem + var(--app-safe-bottom));
  transition: background 0.25s ease, color 0.25s ease;
  /* Critical: do NOT create a body scrollport — breaks touch scroll on phones */
  overflow: visible !important;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  position: static !important;
  touch-action: manipulation;
}

html:has(body.mobile-shell),
html:has(body.is-mobile-app) {
  overflow-x: clip;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  height: auto;
}

body.mobile-shell main,
body.is-mobile-app main {
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  height: auto;
}

body.mobile-shell .banner-section .container,
body.is-mobile-app .banner-section .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

body.mobile-shell .banner-section .row,
body.is-mobile-app .banner-section .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.mobile-shell .banner-section [class*="col-"],
body.is-mobile-app .banner-section [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100%;
}

/* Wide desktop widgets must not blow out the phone layout */
body.mobile-shell .statistics-section,
body.mobile-shell .statistics-map,
body.mobile-shell .slick-list,
body.is-mobile-app .statistics-section,
body.is-mobile-app .statistics-map,
body.is-mobile-app .slick-list {
  overflow: hidden !important;
  max-width: 100%;
}

body.mobile-shell.is-mobile-app,
body.mobile-shell {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif !important;
}

body.mobile-shell[data-app-theme="light"] {
  background: #f6f6f8 !important;
  color: #1f2937 !important;
}

/* Светлая тема — читаемость всего контента */
body.mobile-shell[data-app-theme="light"] main,
body.mobile-shell[data-app-theme="light"] .container {
  color: #1f2937;
}

body.mobile-shell[data-app-theme="light"] h1,
body.mobile-shell[data-app-theme="light"] h2,
body.mobile-shell[data-app-theme="light"] h3,
body.mobile-shell[data-app-theme="light"] h4,
body.mobile-shell[data-app-theme="light"] h5,
body.mobile-shell[data-app-theme="light"] h6,
body.mobile-shell[data-app-theme="light"] .banner-content__title,
body.mobile-shell[data-app-theme="light"] .account-heading__title,
body.mobile-shell[data-app-theme="light"] .section-heading__title,
body.mobile-shell[data-app-theme="light"] .gradient-text {
  color: #111827 !important;
  background: none !important;
  -webkit-text-fill-color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] p,
body.mobile-shell[data-app-theme="light"] li,
body.mobile-shell[data-app-theme="light"] label,
body.mobile-shell[data-app-theme="light"] .form--label,
body.mobile-shell[data-app-theme="light"] .banner-content__desc,
body.mobile-shell[data-app-theme="light"] .banner-content__subtitle,
body.mobile-shell[data-app-theme="light"] .account-heading__text,
body.mobile-shell[data-app-theme="light"] .section-heading__desc,
body.mobile-shell[data-app-theme="light"] .text-muted,
body.mobile-shell[data-app-theme="light"] .form-check-label {
  color: #4b5563 !important;
}

body.mobile-shell[data-app-theme="light"] a:not(.btn):not(.mobile-app-header__pill):not(.bottom-dock__link):not(.mobile-hero__link) {
  color: #166534 !important;
}

body.mobile-shell[data-app-theme="light"] .form--control,
body.mobile-shell[data-app-theme="light"] .form-control,
body.mobile-shell[data-app-theme="light"] select.form--control {
  background: #ffffff !important;
  border-color: #d1d5db !important;
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .card,
body.mobile-shell[data-app-theme="light"] .custom--card,
body.mobile-shell[data-app-theme="light"] .pricing-card,
body.mobile-shell[data-app-theme="light"] .feature-item,
body.mobile-shell[data-app-theme="light"] .blog-item,
body.mobile-shell[data-app-theme="light"] .banner-form {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #1f2937 !important;
}

body.mobile-shell[data-app-theme="light"] .mobile-app-menu__link.is-active {
  background: hsl(var(--base) / 0.14) !important;
  color: #14532d !important;
}

body.mobile-shell[data-app-theme="light"] .mobile-app-header__name {
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .mobile-app-header__tagline {
  color: #6b7280 !important;
}

body.mobile-shell[data-app-theme="light"] .mobile-app-header__pill:not(.mobile-app-header__pill--accent) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}

body.mobile-shell[data-app-theme="light"] .mobile-app-header__btn {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}

body.mobile-shell[data-app-theme="light"] .banner-section {
  background-color: #eef0f3 !important;
}

body.mobile-shell *:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.la):not(.las):not(.lar):not(.lab):not([class^="fa-"]):not([class*=" fa-"]):not([class^="la-"]):not([class*=" la-"]) {
  font-family: inherit;
}

body.is-mobile-app {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif !important;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
  min-height: 100dvh;
  padding-top: calc(var(--app-header-h) + var(--app-safe-top));
  padding-bottom: calc(6.75rem + var(--app-safe-bottom));
}

body.is-mobile-app *:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.la):not(.las):not(.lar):not(.lab):not([class^="fa-"]):not([class*=" fa-"]):not([class^="la-"]):not([class*=" la-"]) {
  font-family: inherit;
}

/* Иконки Font Awesome / Line Awesome — свой шрифт, иначе стрелки/звёзды превращаются в мусор */
body.mobile-shell i.fa,
body.mobile-shell i.fas,
body.mobile-shell i.far,
body.mobile-shell i.fal,
body.mobile-shell i.fab,
body.mobile-shell i.fa-solid,
body.mobile-shell i.fa-regular,
body.mobile-shell i.fa-brands,
body.mobile-shell i.la,
body.mobile-shell i.las,
body.mobile-shell i.lar,
body.mobile-shell i.lab,
body.mobile-shell [class^="fa-"],
body.mobile-shell [class*=" fa-"],
body.mobile-shell [class^="la-"],
body.mobile-shell [class*=" la-"],
body.is-mobile-app i.fa,
body.is-mobile-app i.fas,
body.is-mobile-app i.far,
body.is-mobile-app i.fal,
body.is-mobile-app i.fab,
body.is-mobile-app i.fa-solid,
body.is-mobile-app i.fa-regular,
body.is-mobile-app i.fa-brands,
body.is-mobile-app i.la,
body.is-mobile-app i.las,
body.is-mobile-app i.lar,
body.is-mobile-app i.lab,
body.is-mobile-app [class^="fa-"],
body.is-mobile-app [class*=" fa-"],
body.is-mobile-app [class^="la-"],
body.is-mobile-app [class*=" la-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", "Line Awesome Free", "LineAwesome", sans-serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased;
}

body.mobile-shell i.fas,
body.mobile-shell i.fa-solid,
body.mobile-shell .fas,
body.mobile-shell .fa-solid,
body.is-mobile-app i.fas,
body.is-mobile-app i.fa-solid,
body.is-mobile-app .fas,
body.is-mobile-app .fa-solid {
  font-weight: 900 !important;
}

body.mobile-shell i.far,
body.mobile-shell i.fa-regular,
body.mobile-shell .far,
body.mobile-shell .fa-regular,
body.is-mobile-app i.far,
body.is-mobile-app i.fa-regular,
body.is-mobile-app .far,
body.is-mobile-app .fa-regular {
  font-weight: 400 !important;
}

body.mobile-shell i.fab,
body.mobile-shell i.fa-brands,
body.mobile-shell .fab,
body.mobile-shell .fa-brands,
body.is-mobile-app i.fab,
body.is-mobile-app i.fa-brands,
body.is-mobile-app .fab,
body.is-mobile-app .fa-brands {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
  font-weight: 400 !important;
}

/* Legacy selectors kept for compatibility */
body.is-mobile-app .preloader,
body.is-mobile-app .scroll-top,
body.is-mobile-app .header,
body.is-mobile-app footer,
body.is-mobile-app .footer,
body.is-mobile-app .cookies-card,
body.is-mobile-app .body-overlay,
body.is-mobile-app .sidebar-overlay {
  display: none !important;
}

body.mobile-shell .preloader,
body.mobile-shell .scroll-top,
body.mobile-shell .header,
body.mobile-shell footer,
body.mobile-shell .footer,
body.mobile-shell .cookies-card,
body.mobile-shell .body-overlay,
body.mobile-shell .sidebar-overlay {
  display: none !important;
}

body.mobile-shell .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

body.mobile-shell .my-120 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

body.mobile-shell main {
  min-height: auto;
}

body.is-mobile-app .my-120 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

body.is-mobile-app .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Карточки — как edasamara surface-card */
body.is-mobile-app .card,
body.is-mobile-app .custom--card {
  border-radius: 18px;
  border: 1px solid var(--app-line);
  box-shadow: var(--app-shadow);
}

body.is-mobile-app .btn--base {
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 28px var(--app-accent-soft);
}

body.is-mobile-app .banner-section {
  padding-top: 1rem !important;
  padding-bottom: 1.25rem !important;
}

/* ── Header — edasamara style ── */
.mobile-app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  padding-top: var(--app-safe-top);
  background: var(--app-nav);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--app-line);
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04);
}

.mobile-app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--app-header-h);
  padding: 0 0.85rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-app-header__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  min-width: 0;
  flex: 1;
}

.mobile-app-header__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--app-accent-soft);
  border: 1px solid var(--app-line);
  flex-shrink: 0;
  overflow: hidden;
}

.mobile-app-header__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mobile-app-header__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.05rem;
}

.mobile-app-header__name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--app-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mobile-app-header__tagline {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--app-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.mobile-app-header__btn--menu {
  border-color: var(--app-accent);
  background: var(--app-accent-soft);
}

.mobile-app-header__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  max-width: 48%;
}

.mobile-app-header__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--app-line);
  background: transparent;
  color: var(--app-ink) !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  max-width: 100%;
}

.mobile-app-header__pill .mobile-app-header__icon {
  color: var(--app-accent);
}

.mobile-app-header__pill--accent {
  background: var(--app-accent);
  border-color: transparent;
  color: var(--app-accent-ink) !important;
  box-shadow: 0 8px 20px var(--app-accent-soft);
}

.mobile-app-header__pill--accent .mobile-app-header__icon {
  color: var(--app-accent-ink);
}

.mobile-app-header__pill:active {
  transform: scale(0.96);
}

.mobile-app-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex-shrink: 0;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: transparent;
  color: var(--app-ink);
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.mobile-app-header__btn:active {
  transform: scale(0.94);
}

.mobile-app-header__btn:hover {
  border-color: var(--app-accent);
}

.mobile-app-header__icon {
  display: block;
  flex-shrink: 0;
}

body.is-mobile-app[data-app-theme="dark"] .mobile-app-header__icon--sun,
body.mobile-shell[data-app-theme="dark"] .mobile-app-header__icon--sun {
  display: block;
}

body.is-mobile-app[data-app-theme="dark"] .mobile-app-header__icon--moon,
body.mobile-shell[data-app-theme="dark"] .mobile-app-header__icon--moon {
  display: none;
}

body.is-mobile-app[data-app-theme="light"] .mobile-app-header__icon--sun,
body.mobile-shell[data-app-theme="light"] .mobile-app-header__icon--sun {
  display: none;
}

body.is-mobile-app[data-app-theme="light"] .mobile-app-header__icon--moon,
body.mobile-shell[data-app-theme="light"] .mobile-app-header__icon--moon {
  display: block;
}

/* ── Slide-out menu ── */
.mobile-app-menu {
  position: fixed;
  inset: 0;
  z-index: 10002;
  pointer-events: none;
}

.mobile-app-menu.is-open {
  pointer-events: auto;
}

.mobile-app-menu__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.mobile-app-menu.is-open .mobile-app-menu__overlay {
  opacity: 1;
}

.mobile-app-menu__panel {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: min(86vw, 340px);
  display: flex;
  flex-direction: column;
  background: var(--app-nav);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-app-menu.is-open .mobile-app-menu__panel {
  transform: translateX(0);
}

.mobile-app-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.85rem + var(--app-safe-top)) 1rem 0.85rem;
  border-bottom: 1px solid var(--app-line);
}

.mobile-app-menu__brand {
  min-width: 0;
}

.mobile-app-menu__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-app-menu__section {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-muted);
}

.mobile-app-menu__divider {
  height: 1px;
  margin: 1rem 0;
  background: var(--app-line);
}

.mobile-app-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-app-menu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--app-ink) !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.mobile-app-menu__link:active {
  transform: scale(0.98);
}

.mobile-app-menu__link.is-active {
  background: var(--app-accent-soft);
  color: var(--app-accent) !important;
}

.mobile-app-menu__link.is-active .mobile-menu-icon {
  color: var(--app-accent);
}

.mobile-app-menu__link--danger {
  color: #ef4444 !important;
}

.mobile-app-menu__link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(128, 128, 128, 0.08);
  flex-shrink: 0;
}

.mobile-app-menu__link.is-active .mobile-app-menu__link-icon {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-icon {
  display: block;
  color: var(--app-muted);
}

.mobile-app-menu__link-label {
  flex: 1;
  min-width: 0;
}

.mobile-app-menu__chevron {
  flex-shrink: 0;
  opacity: 0.45;
  color: var(--app-muted);
}

.mobile-app-menu__foot {
  padding: 1rem;
  border-top: 1px solid var(--app-line);
  padding-bottom: calc(1rem + var(--app-safe-bottom));
}

.mobile-app-menu__cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: var(--app-accent);
  color: var(--app-accent-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px var(--app-accent-soft);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.mobile-app-menu__cta:active {
  transform: scale(0.98);
  opacity: 0.95;
}

.mobile-app-menu__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.mobile-app-menu__cta-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.75;
}

.mobile-app-menu__cta-main {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mobile-app-menu__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0.5rem 0.75rem;
}

.mobile-app-menu__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  background: transparent;
  color: var(--app-ink) !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-app-menu__lang.is-active {
  border-color: hsl(var(--base));
  background: hsl(var(--base) / 0.14);
  color: hsl(var(--base)) !important;
}

.mobile-app-menu__lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
}

body.mobile-menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ── Bottom dock — точная копия edasamara bottom-dock ── */
.bottom-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10000;
  padding: 0.5rem 0.75rem;
  padding-bottom: max(0.65rem, var(--app-safe-bottom));
  pointer-events: none;
}

.bottom-dock__inner {
  pointer-events: auto;
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.35rem 0.4rem;
  border-radius: 26px;
  border: 1px solid var(--app-line);
  background: var(--app-nav);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--app-shadow);
}

.bottom-dock__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem 0.35rem;
  border-radius: 18px;
  text-decoration: none !important;
  color: var(--app-dock-icon) !important;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  background: transparent !important;
  transition: color 0.2s ease, transform 0.15s ease;
  -webkit-user-select: none;
  user-select: none;
}

.bottom-dock__icon-wrap {
  display: none;
  line-height: 0;
}

body.is-mobile-app[data-app-theme="light"] .bottom-dock__icon-wrap--light,
body.is-mobile-app[data-app-theme="dark"] .bottom-dock__icon-wrap--dark {
  display: block;
}

.bottom-dock__icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  color: inherit;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bottom-dock__link:active {
  transform: scale(0.96);
  background: transparent !important;
}

.bottom-dock__link.is-active {
  background: transparent !important;
  color: var(--app-dock-icon-active) !important;
  box-shadow: none !important;
  font-weight: 700;
}

.bottom-dock__link.is-active .bottom-dock__icon {
  transform: scale(1.08);
  color: var(--app-dock-icon-active);
}

/* ── Swipe rows ── */
.mobile-swipe-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0 0.75rem;
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mobile-swipe-row::-webkit-scrollbar {
  display: none;
}

.mobile-swipe-card {
  flex: 0 0 82%;
  scroll-snap-align: center;
  border-radius: 18px;
  border: 1px solid var(--app-line);
  box-shadow: var(--app-shadow);
}

.mobile-swipe-card:active {
  transform: scale(0.98);
}

/* ── Page transition ── */
.mobile-page-transition {
  position: fixed;
  inset: 0;
  z-index: 20000;
  pointer-events: none;
  opacity: 0;
  background: var(--app-accent-soft);
}

.mobile-page-transition.is-active {
  opacity: 1;
  animation: appFadeSlide 0.22s ease;
}

@keyframes appFadeSlide {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Announcement sheet ── */
.mobile-app-modal {
  position: fixed;
  inset: 0;
  z-index: 15000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  padding-bottom: calc(6.75rem + var(--app-safe-bottom));
  background: rgba(20, 20, 20, 0.45);
}

.mobile-app-modal__sheet {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 24px;
  padding: 1.25rem;
  animation: appSheetUp 0.28s ease;
  box-shadow: var(--app-shadow);
}

@keyframes appSheetUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.mobile-app-modal__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

body.mobile-shell[data-app-theme="dark"] .mobile-app-modal__sheet {
  background: #1a1a1a;
  color: #f5f5f5;
}

/* ── Mobile hero slider (shashlichka style) ── */
.mobile-hero {
  display: none;
  margin: 0 0 1rem;
  padding: 0 0.25rem;
}

@media (max-width: 767px) {
  body.mobile-shell .mobile-hero {
    display: block;
  }

  body.mobile-shell.page-home .banner-section {
    display: block !important;
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
    background-image: none !important;
    background-color: transparent !important;
  }

  body.mobile-shell.page-home .banner-section > .container > .row > .col-lg-6:first-child {
    display: none !important;
  }

  body.mobile-shell.page-home .banner-section .col-lg-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  body.mobile-shell.page-home .banner-form {
    margin-top: 0;
  }
}

.mobile-hero__frame {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
}

.mobile-hero__stage {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--app-line);
  box-shadow: var(--app-shadow);
  background: #111;
}

.mobile-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  text-decoration: none !important;
  color: inherit;
  z-index: 0;
}

.mobile-hero__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.mobile-hero__slide.is-leaving {
  transform: translateX(-24px);
}

.mobile-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.28) 45%, transparent 100%);
}

.mobile-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.25rem 2rem;
  color: #fff;
  z-index: 2;
}

.mobile-hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.mobile-hero__title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.mobile-hero__meta {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
}

.mobile-hero__nav {
  display: none !important;
}

.mobile-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.mobile-hero__dot {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.mobile-hero__dot.is-active {
  width: 22px;
  background: #fff;
}

body.mobile-shell .bottom-dock__icon-wrap--light,
body.mobile-shell[data-app-theme="light"] .bottom-dock__icon-wrap--light,
body.mobile-shell[data-app-theme="dark"] .bottom-dock__icon-wrap--dark {
  display: block;
}

body.mobile-shell[data-app-theme="light"] .bottom-dock__icon-wrap--dark {
  display: none;
}

body.mobile-shell[data-app-theme="dark"] .bottom-dock__icon-wrap--light {
  display: none;
}

/* App max width like edasamara */
body.mobile-shell .container {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

body.is-mobile-app .container {
  max-width: 480px;
}

/* ── Светлая тема: полная читаемость контента ── */
body.mobile-shell[data-app-theme="light"] {
  --white: 0 0% 100%;
  --body-color: 220 10% 28%;
  --text-color: 220 8% 38%;
  --heading-color: 220 15% 12%;
  --dark: 220 15% 12%;
  --border-color: 220 10% 88%;
  --section-bg: 0 0% 100%;
  --background-color: 246 246 248;
}

body.mobile-shell[data-app-theme="light"] .feature-section,
body.mobile-shell[data-app-theme="light"] .pricing-section,
body.mobile-shell[data-app-theme="light"] .faq-section,
body.mobile-shell[data-app-theme="light"] .blog-section,
body.mobile-shell[data-app-theme="light"] .testimonial-section,
body.mobile-shell[data-app-theme="light"] .counter-section,
body.mobile-shell[data-app-theme="light"] .how-it-works-section,
body.mobile-shell[data-app-theme="light"] .cta-section,
body.mobile-shell[data-app-theme="light"] section {
  background-color: transparent !important;
}

body.mobile-shell[data-app-theme="light"] .feature-item {
  background-color: #ffffff !important;
  border-color: #e5e7eb !important;
}

body.mobile-shell[data-app-theme="light"] .feature-item-title {
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .feature-item-desc {
  color: #4b5563 !important;
}

body.mobile-shell[data-app-theme="light"] .feature-item-thumb {
  background-color: #f3f4f6 !important;
}

body.mobile-shell[data-app-theme="light"] .section-heading__desc {
  color: #4b5563 !important;
}

body.mobile-shell[data-app-theme="light"] .section-heading__subtitle {
  background: hsl(var(--base) / 0.12) !important;
  color: #166534 !important;
}

body.mobile-shell[data-app-theme="light"] .pricing-card {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06) !important;
}

body.mobile-shell[data-app-theme="light"] .pricing-card__for,
body.mobile-shell[data-app-theme="light"] .pricing-list__item,
body.mobile-shell[data-app-theme="light"] .pricing-billing-priod__label {
  color: #374151 !important;
}

body.mobile-shell[data-app-theme="light"] .pricing-card-pricing__amount span {
  color: #6b7280 !important;
}

body.mobile-shell[data-app-theme="light"] .faq-item,
body.mobile-shell[data-app-theme="light"] .accordion-item {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #1f2937 !important;
}

body.mobile-shell[data-app-theme="light"] .faq-item__title,
body.mobile-shell[data-app-theme="light"] .accordion-button {
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .faq-item__desc,
body.mobile-shell[data-app-theme="light"] .accordion-body {
  color: #4b5563 !important;
}

body.mobile-shell[data-app-theme="light"] .testimonial-item,
body.mobile-shell[data-app-theme="light"] .blog-item {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
}

body.mobile-shell[data-app-theme="light"] .testimonial-item__review,
body.mobile-shell[data-app-theme="light"] .blog-item__title a,
body.mobile-shell[data-app-theme="light"] .blog-item__desc {
  color: #374151 !important;
}

body.mobile-shell[data-app-theme="light"] .testimonial-item__auth-name {
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .counter-item__number,
body.mobile-shell[data-app-theme="light"] .counter-item__caption {
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .account-heading__title,
body.mobile-shell[data-app-theme="light"] .breadcrumb-item,
body.mobile-shell[data-app-theme="light"] .breadcrumb-item a {
  color: #111827 !important;
}

body.mobile-shell[data-app-theme="light"] .table,
body.mobile-shell[data-app-theme="light"] .table td,
body.mobile-shell[data-app-theme="light"] .table th {
  color: #1f2937 !important;
  border-color: #e5e7eb !important;
}

body.mobile-shell[data-app-theme="light"] .dropdown-menu {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
}

body.mobile-shell[data-app-theme="light"] .dropdown-link {
  color: #374151 !important;
}

body.mobile-shell[data-app-theme="light"] .bottom-dock__link.is-active {
  color: hsl(var(--base)) !important;
}

body.mobile-shell[data-app-theme="light"] .bottom-dock__link.is-active span:last-child {
  color: #14532d !important;
}

/* Только тёмная тема — иконки дока всегда dark-вариант */
body.mobile-shell .bottom-dock__icon-wrap--light {
  display: none !important;
}

body.mobile-shell .bottom-dock__icon-wrap--dark {
  display: block !important;
}

/* ── Bottom dock: 5 items symmetric ── */
.bottom-dock__inner {
  max-width: 32rem;
  gap: 0.15rem;
  padding: 0.4rem 0.35rem;
}

.bottom-dock__link {
  min-width: 0;
  padding: 0.5rem 0.2rem;
  font-size: 0.58rem;
}

.bottom-dock__link span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Lead form modern (symmetric fields) ── */
.lead-form-modern {
  display: grid;
  gap: 0.55rem;
  width: 100%;
}

body.mobile-shell .banner-form,
body.is-mobile-app .banner-form {
  border-radius: 24px;
  padding: 1.1rem;
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid var(--app-line);
  box-shadow: var(--app-shadow);
  overflow: visible;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Kill desktop decorative L-borders — they break mobile layout */
body.mobile-shell .banner-form::before,
body.mobile-shell .banner-form::after,
body.is-mobile-app .banner-form::before,
body.is-mobile-app .banner-form::after {
  display: none !important;
  content: none !important;
}

body.mobile-shell .banner-form-shape,
body.is-mobile-app .banner-form-shape {
  display: none !important;
}

body.mobile-shell .banner-form-title,
body.is-mobile-app .banner-form-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.lead-form-modern .form-selector-dropdown,
.lead-form-modern .lead-field {
  width: 100%;
  margin: 0;
  display: block;
  border-bottom: 0 !important;
}

.lead-form-modern .form-selector-dropdown:has(.select2-wrapper),
.lead-form-modern .form-selector-dropdown.location-suggest-wrap {
  display: block !important;
  align-items: stretch;
  border-bottom: 0 !important;
}

.lead-form-modern .form-selector-btn,
.lead-form-modern .form-selector-btn.is-static {
  width: 100% !important;
  min-height: 52px;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 0.75rem 0.9rem !important;
  gap: 0.75rem !important;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.lead-form-modern .form-selector-btn.is-static {
  cursor: text;
  pointer-events: auto;
}

.lead-form-modern .form-selector-btn:hover,
.lead-form-modern .form-selector-btn:focus-visible,
.lead-form-modern .form-selector-btn.is-static:focus-within {
  border-color: hsl(var(--base) / 0.55) !important;
  background: hsl(var(--base) / 0.08) !important;
}

.lead-form-modern .form-selector-btn .icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lead-form-modern .form-selector-btn .content {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.lead-form-modern .form-selector-btn .title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
}

.lead-form-modern .form-selector-btn .arrow-icon {
  flex-shrink: 0;
  margin-left: auto;
}

/* Only flatten controls inside the main field rows — NOT dropdown search */
.lead-form-modern .form-selector-btn .lead-field__input,
.lead-form-modern .form-selector-btn .form--control,
.lead-form-modern .form-selector-btn .select2-wrapper .form--control {
  width: 100% !important;
  min-height: 24px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
}

.lead-form-modern .form-selector-btn .lead-field__input::placeholder,
.lead-form-modern .form-selector-btn .form--control::placeholder {
  color: hsl(var(--white) / 0.92) !important;
  font-weight: 700 !important;
  opacity: 1;
}

/* Dropdown search: full-width hit area */
.lead-form-modern .dropdown-search {
  width: 100%;
  position: relative;
  z-index: 5;
}

.lead-form-modern .dropdown-search .input-group,
.lead-form-modern .dropdown-search .input--group {
  width: 100%;
  display: flex;
  align-items: stretch;
  position: relative;
  min-height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.lead-form-modern .dropdown-search .form--control,
.lead-form-modern .dropdown-search .form-control {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0.75rem 2.75rem 0.75rem 0.9rem !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
  pointer-events: auto !important;
  cursor: text;
  position: relative;
  z-index: 2;
}

.lead-form-modern .dropdown-search .form--control::placeholder,
.lead-form-modern .dropdown-search .form-control::placeholder {
  color: hsl(var(--white) / 0.65) !important;
  font-weight: 600 !important;
  opacity: 1;
}

.lead-form-modern .dropdown-search .input-group-text {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: transparent !important;
  color: hsl(var(--white) / 0.55);
  pointer-events: none;
  z-index: 1;
}

.lead-form-modern .select2-wrapper {
  width: 100%;
  min-width: 0;
  --s-height: 24px;
  --select-border: transparent;
}

.lead-form-modern .select2-container {
  width: 100% !important;
}

.lead-form-modern .select2-container--default .select2-selection--multiple,
.lead-form-modern .select2-container--default .select2-selection--single {
  border: 0 !important;
  background: transparent !important;
  min-height: 24px !important;
}

.lead-form-modern .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.lead-form-modern .select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin: 0 !important;
  border-radius: 8px;
  background: hsl(var(--base) / 0.18);
  border: 1px solid hsl(var(--base) / 0.35);
  color: #fff;
}

.lead-form-modern .select2-container--default .select2-search--inline .select2-search__field {
  margin: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
}

.lead-form-modern .dropdown-menu {
  width: 100%;
  border-radius: 18px !important;
  border: 1px solid var(--app-line) !important;
  box-shadow: var(--app-shadow) !important;
  overflow: hidden;
}

/* Keep dropdowns inside the phone screen */
body.mobile-shell .lead-form-modern .form-selector-dropdown,
body.is-mobile-app .lead-form-modern .form-selector-dropdown {
  position: relative;
}

body.mobile-shell .lead-form-modern .dropdown-menu,
body.is-mobile-app .lead-form-modern .dropdown-menu {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  inset: auto 0 auto 0 !important;
  margin-top: 0.35rem !important;
  z-index: 1080 !important;
}

.lead-form-modern .prompt-list-item {
  border-radius: 10px;
  transition: background 0.15s ease;
}

.lead-form-modern .prompt-list-item:hover {
  background: hsl(var(--base) / 0.1);
}

/* Lead data fields picker */
.lead-form-modern .form-selector-btn.dropdown-toggle::after {
  display: none !important;
}

.lead-form-modern .lead-data-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
}

.lead-form-modern .lead-data-menu {
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  z-index: 1080 !important;
}

.lead-form-modern .lead-data-menu.show {
  display: block !important;
}

.lead-form-modern .lead-data-menu__desc {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}

.lead-form-modern .lead-data-list {
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem;
}

.lead-form-modern .lead-data-item {
  padding: 0 !important;
  list-style: none;
}

.lead-form-modern .lead-data-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.8rem;
  margin: 0;
  cursor: pointer;
  border-radius: 10px;
  color: #f5f5f5;
  font-size: 0.9rem;
  font-weight: 600;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lead-form-modern .lead-data-check:hover,
.lead-form-modern .lead-data-check:active {
  background: hsl(var(--base) / 0.12);
}

.lead-form-modern .lead-data-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.lead-form-modern .lead-data-check__box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  pointer-events: none;
}

.lead-form-modern .lead-data-checkbox:checked + .lead-data-check__box {
  border-color: hsl(var(--base));
  background: hsl(var(--base));
}

.lead-form-modern .lead-data-checkbox:checked + .lead-data-check__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #0a0f0a;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

.lead-form-modern .lead-data-check__text {
  flex: 1;
  text-align: left;
}

.lead-form-modern .lead-data-menu__footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-form-modern .lead-data-quick {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 999px;
  min-height: 38px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.lead-form-modern .lead-data-quick:hover {
  border-color: hsl(var(--base) / 0.55);
  background: hsl(var(--base) / 0.12);
}

body.mobile-shell .banner-form .generateBtn,
body.is-mobile-app .banner-form .generateBtn {
  margin-top: 0.35rem;
  border-radius: 999px !important;
  min-height: 50px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ── Address autocomplete (DaData / Nominatim) ── */
.location-suggest {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.location-suggest__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #15171c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.location-suggest__item {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  color: #f5f5f5;
  font-size: 0.875rem;
  line-height: 1.35;
  cursor: pointer;
}

.location-suggest__item:hover,
.location-suggest__item:focus {
  background: hsl(var(--base) / 0.16);
  color: #fff;
}

.location-suggest__hint {
  margin: 0.35rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.72rem;
  color: #94a3b8;
}
