/* Главная: светлое оформление, сначала мобильные устройства. */
html { scroll-padding-top: 84px; }
body { background: #fff; -webkit-text-size-adjust: 100%; }
.hero-outer { background: linear-gradient(180deg, #f1f6fc 0, #fff 46%); isolation: isolate; }
.hero-outer::before { display: none; }
.hero-outer .header { background: rgba(255,255,255,.96); border-bottom: 1px solid #e4ebf3; }
.hero-outer .logo-text { color: #10213b; }
.hero-outer .logo-sub, .hero-outer .header-work { color: #66758a; }
.hero-outer .logo-icon { border-color: #d5e1ef; border-radius: 10px; }
.hero-outer .logo-icon svg { stroke: #183859; }
.hero-outer .header-nav a, .hero-outer .header-nav a.nav-tab { color: #33465f; }
.hero-outer .header-nav a:hover, .hero-outer .header-nav a.nav-tab:hover,
.hero-outer .header-nav a.nav-tab.nav-active { color: #155db5; background: #eaf2ff; }
.hero-outer .header-nav .nav-sep { background: #d9e3ef; }
.hero-outer .header-phone { color: #10213b; }
.header-call-mobile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; color: #155db5; border: 1px solid #d5e1ef; border-radius: 10px; flex-shrink: 0; }
.header-call-mobile svg { width: 21px; height: 21px; }
.burger-btn { width: 44px; height: 44px; align-items: center; justify-content: center; padding: 10px; border-color: #d5e1ef; border-radius: 10px; }
.burger-btn span { background: #183859; }
.hero { padding: 26px 0 22px; }
.hero .col-lg-6 { display: flex; flex-direction: column; position: static; padding-bottom: 0 !important; }
.home-eyebrow { order: 0; align-self: flex-start; margin-bottom: 14px; padding: 7px 12px; border: 1px solid #dbe7fa; border-radius: 100px; background: #fff; color: #155db5; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.hero h1 { order: 1; max-width: 100%; margin: 0 0 12px; color: #10213b; font-size: clamp(28px, 7.4vw, 36px); line-height: 1.13; letter-spacing: -.035em; }
.hero h1 .accent { color: #1a6fdc; }
.hero-sub { order: 2; max-width: 100%; margin: 0 0 18px; color: #536277; font-size: 15px; line-height: 1.55; }
.hero-visual { order: 3; width: 100%; aspect-ratio: 1.22; margin-bottom: 22px; overflow: hidden; border-radius: 20px; background: #04111e; box-shadow: 0 12px 28px rgba(16,33,59,.12); }
.hero-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: right center; }
.hero-btns { order: 4; width: 100%; align-self: stretch; display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.hero-btns button { width: 100%; min-height: 50px; justify-content: center; padding: 14px 12px; font-size: 14px; line-height: 1.3; border-radius: 12px; }
.btn-hero-video { color: #183859; border: 1px solid #cfddec; background: #fff; backdrop-filter: none; }
.btn-hero-video:hover { color: #155db5; background: #f1f6ff; border-color: #a6c3ea; }
.hero-feats { order: 5; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-bottom: 18px; border: 1px solid #e4ebf3; border-radius: 18px; overflow: hidden; background: #fff; }
.hero-feat { min-width: 0; min-height: 92px; flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 14px 8px; color: #20344d; background: #fff; font-size: 13px; border: 0; border-radius: 0; backdrop-filter: none; }
.hero-feat:nth-child(odd) { border-right: 1px solid #e4ebf3; }
.hero-feat:nth-child(-n+2) { border-bottom: 1px solid #e4ebf3; }
.hero-stats { order: 6; width: 100%; align-self: stretch; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid #e4ebf3; border-radius: 18px; overflow: hidden; background: #f8fafd; }
.hero-stat { min-width: 0; padding: 18px 8px; border-color: #e4ebf3; }
.hero-stat:nth-child(2n) { border-right: 0; }
.hero-stat:nth-child(n+3) { border-top: 1px solid #e4ebf3; }
.hero-stat-num { color: #10213b; font-size: 24px; }
.hero-stat-label { color: #66758a; font-size: 12px; }
.stat-icon { display: none; }
.hero-phone-mobile { order: 7; border: 0; margin-top: 14px; padding: 12px 0; }
.hero-phone-mobile a { color: #10213b; font-size: 18px; }
.hero-phone-mobile p { color: #66758a; font-size: 12px; }
.mobile-menu { color: #10213b; background: #fff; padding-top: max(76px, env(safe-area-inset-top)); max-height: 100dvh; overflow-y: auto; box-shadow: 0 8px 32px rgba(16,33,59,.16); }
.mobile-menu a { min-height: 48px; color: #20344d; }
.mobile-menu a:hover, .mobile-menu a.nav-active { color: #155db5; background: #eef5ff; }
.mobile-menu-sep { background: #e4ebf3; }
.mobile-menu-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 1px solid #d5e1ef; border-radius: 10px; color: #183859; background: #fff; font-size: 28px; line-height: 1; }
:where(button,a,input,[tabindex]):focus-visible { outline: 3px solid #1a6fdc; outline-offset: 3px; }
@media (max-width: 991px) {
  .hero-outer .header-nav, .hero-outer .header-contacts, .hero-outer .header-cta { display: none; }
  .burger-btn { display: flex; }
  .hero > .container { max-width: 600px; }
  .hero-outer .header { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .hero-outer .logo-text { font-size: 13px; letter-spacing: .02em; }
  .logo-icon { width: 36px; height: 36px; }
  .header-inner { gap: 8px; }
  .hero-phone-mobile { display: flex; }
  .quiz-options, #step2-options { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .quiz-option { min-width: 0; min-height: 90px; padding: 12px 8px; }
  .quiz-option span { font-size: 13px; overflow-wrap: anywhere; }
  .quiz-wrap { padding: 22px 14px; }
  .contact-form { flex-direction: column; }
  .contact-form input { width: 100%; min-width: 0; }
  input, textarea, select { font-size: 16px !important; }
  input, select, .btn-submit, .btn-pkg, .btn-quiz, .btn-quiz-back { min-height: 48px; }
  .video-grid { grid-template-columns: minmax(0,1fr); }
  .srv-grid { grid-template-columns: minmax(0,1fr); }
  .obj-grid, .quiz-options, .feat-grid, .pkg-grid, .port-grid { min-width: 0; }
  .srv-card p, .obj-card-desc, .feat-card-body p, .offer-card p, .video-info p, .pkg-list li, .faq-a { font-size: 14px; line-height: 1.6; }
  .proof-section { padding: 18px 0; }
  .proof-stat { font-size: 13px; text-align: center; }
  .proof-inner { gap: 10px; }
  .proof-sep { display: none; }
  .float-btns { right: max(12px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 26px; }
  .hero-btns button { font-size: 13px; }
  .hero-outer .logo-text { font-size: 11px; }
  .header-inner { gap: 6px; }
}
@media (min-width: 992px) {
  .header-call-mobile { display: none; }
  .hero { padding: 50px 0 44px; }
  .hero > .container { position: relative; }
  .hero h1 { font-size: clamp(36px,3.3vw,48px); }
  .hero-sub { font-size: 16px; }
  .hero-visual { position: absolute; top: 5px; right: 12px; width: 52%; height: 520px; aspect-ratio: auto; border-radius: 28px; }
  .hero-btns { margin-top: 6px; }
  .hero-feats { margin-top: 0; }
  .hero-feat { min-height: 75px; flex-direction: row; text-align: left; padding: 10px; font-size: 12px; }
  .hero-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hero-stat { padding: 20px 5px; }
  .hero-stat:nth-child(n) { border-top: 0; border-right: 1px solid #e4ebf3; }
  .hero-stat:last-child { border-right: 0; }
  .hero-stat-num { font-size: 23px; }
  .hero-stat-label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* На коротких экранах действие доступно до большой иллюстрации. */
@media (max-width: 991px) and (max-height: 740px) {
  .hero-btns { order: 3; }
  .hero-visual { order: 4; aspect-ratio: 1.45; }
}
@media (hover: none) {
  .obj-card:hover, .feat-card:hover, .port-card:hover, .offer-card:hover,
  .video-card:hover, .pkg-card:hover, .srv-card:hover { transform: none; }
}
