/* AMS Нейро — единые стили. Источник: index.php. */

/* === Базовые правила и компоненты === */
:root {
      --paper: #F4F7FB;
      --card: #FFFFFF;
      --ink: #17293D;
      --muted: #5B6B7C;
      --line: #DCE4EE;
      --brand: #1E5AA8;
      --brand-dark: #164581;
      --brand-soft: #E8F0FA;
      --cta: #E8590C;
      --cta-dark: #CF4D08;
      --ok: #1F8A4C;
      --display: 'Bitter', Georgia, serif;
      --body: 'Golos Text', -apple-system, 'Segoe UI', Arial, sans-serif;
      --radius: 14px;
      --shadow: 0 10px 30px rgba(23, 41, 61, .10);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth;
      scroll-padding: 40px
    }

    @media (prefers-reduced-motion:reduce) {
      html {
        scroll-behavior: auto
      }

      *,
      *::before,
      *::after {
        animation: none !important;
        transition: none !important
      }
    }

    body {
      font-family: var(--body);
      font-size: 18px;
      line-height: 1.6;
      color: var(--ink);
      background: var(--paper);
      -webkit-font-smoothing: antialiased;
    }

    .wrap {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 20px
    }

    h1,
    h2 {
      font-family: var(--display);
      line-height: 1.2;
      letter-spacing: -.01em
    }

    h1 {
      font-size: clamp(30px, 4.6vw, 48px);
      font-weight: 800
    }

    h2 {
      font-size: clamp(24px, 3.4vw, 34px);
      font-weight: 700;
      margin-bottom: 14px
    }

    .sub {
      color: var(--muted);
      font-size: clamp(17px, 2vw, 20px)
    }

    section {
      padding: 64px 0
    }

    a {
      color: var(--brand)
    }

    a:focus-visible,
    button:focus-visible,
    summary:focus-visible {
      outline: 3px solid var(--brand);
      outline-offset: 3px;
      border-radius: 6px
    }

    /* ---------- Кнопки ---------- */
    .btn {
      display: inline-block;
      border: 0;
      cursor: pointer;
      text-decoration: none;
      text-align: center;
      font-family: var(--body);
      font-weight: 700;
      font-size: 19px;
      padding: 18px 34px;
      border-radius: 12px;
      background: var(--cta);
      color: #fff;
      box-shadow: 0 6px 18px rgba(232, 89, 12, .35);
      transition: transform .15s, background .15s;
    }

    .btn:hover {
      background: var(--cta-dark);
      transform: translateY(-2px)
    }

    .btn-note {
      display: block;
      margin-top: 10px;
      font-size: 15px;
      color: var(--muted)
    }

    .btn-sm {
      font-size: 16px;
      padding: 12px 22px;
      box-shadow: none
    }

    /* ---------- Шапка ---------- */
    header {
      background: var(--card);
      border-bottom: 1px solid var(--line);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .head-in {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 15px
    }

    .logo {
      display: flex;
      flex-direction: column;
      line-height: 1.25
    }

    @media(max-width:560px) {
      .head-cta {
        display: none
      }
    }

    /* ---------- Hero ---------- */
    .hero {
      padding: 56px 0 64px
    }

    .hero-grid {
      display: flex;
      gap: 35px;
      align-items: center
    }

    @media(max-width:900px) {
      .hero-grid {
        flex-direction: column;
      }
    }

    .hero h1 em {
      font-style: normal;
      color: var(--brand)
    }

    .hero .sub {
      margin: 18px 0 26px
    }

    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 22px;
      margin-top: 26px;
      padding: 0;
      list-style: none
    }

    .hero-trust li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15.5px;
      color: var(--muted)
    }

    .hero-trust svg {
      flex: none
    }

    /* ---------- Окно-демо (подпись дизайна страницы) ---------- */
    .app {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .app-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(180deg, #F0F4FA, #E4EBF5);
      border-bottom: 1px solid var(--line);
      padding: 10px 14px;
      font-size: 14px;
      color: var(--muted);
    }

    .app-bar .dots {
      display: flex;
      gap: 6px;
      margin-left: auto
    }

    .app-bar .dots i {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #C4CFDD;
      display: block
    }

    .app-body {
      padding: 18px
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
    }

    .chip {
      font-family: var(--body);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      border: 1.5px solid var(--line);
      background: #fff;
      color: var(--ink);
      padding: 8px 14px;
      border-radius: 999px;
      transition: all .15s;
    }

    .chip[aria-pressed='true'] {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff
    }

    .app-note {
      font-size: 13px;
      color: var(--muted);
      text-align: center;
      padding: 10px;
      border-top: 1px solid var(--line)
    }

    /* ---------- Плитки задач ---------- */
    .tiles {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 34px
    }

    @media(max-width:900px) {
      .tiles {
        grid-template-columns: repeat(2, 1fr)
      }
    }

    @media(max-width:560px) {
      .tiles {
        grid-template-columns: 1fr
      }
    }

    .tile {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px 20px;
      text-align: left;
      /*      cursor: pointer;*/
      font-family: var(--body);
      transition: transform .15s, box-shadow .15s, border-color .15s;
    }

    /*    .tile:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: var(--brand)
    }*/

    .tile .ic {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      background: var(--brand-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
    }

    .tile h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 6px;
      line-height: 1.35
    }

    .tile p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.5
    }

    /* ---------- Шаги ---------- */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 34px
    }

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

    .step {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 26px 24px
    }

    .step .n {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--brand);
      color: #fff;
      font-weight: 700;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
    }

    .step h3 {
      font-size: 19px;
      margin-bottom: 8px
    }

    .step p {
      font-size: 16px;
      color: var(--muted)
    }

    .platforms {
      margin-top: 26px;
      background: var(--brand-soft);
      border-radius: var(--radius);
      padding: 18px 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 16.5px;
    }

    /* ---------- Что внутри ---------- */
    .inside {
      background: var(--card);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line)
    }

    .inside-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 36px;
      align-items: center
    }

    .models {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 22px 0
    }

    .model {
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 18px;
      font-weight: 600;
      font-size: 16px;
      background: var(--paper);
    }

    .inside .fine {
      font-size: 16px;
      color: var(--muted);
      max-width: 720px
    }

    .inside-visual {
      width: 100%;
      max-width: 300px;
      justify-self: end
    }

    .inside-visual img {
      display: block;
      width: 100%;
      height: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--paper)
    }

    @media(max-width:760px) {
      .inside-grid {
        grid-template-columns: 1fr
      }

      .inside-visual {
        max-width: 360px;
        justify-self: start
      }
    }

    /* ---------- Цена ---------- */
    .price-card {
      max-width: 520px;
      margin: 34px auto 0;
      background: var(--card);
      border: 2px solid var(--brand);
      border-radius: 18px;
      box-shadow: var(--shadow);
      overflow: hidden;
      text-align: center;
    }

    .price-head {
      background: var(--brand);
      color: #fff;
      padding: 12px;
      font-weight: 700;
      font-size: 17px;
      letter-spacing: .02em
    }

    .price-body {
      padding: 30px 28px 34px
    }

    .price-old {
      color: var(--muted);
      text-decoration: line-through;
      font-size: 20px
    }

    .price-now {
      font-family: var(--display);
      font-weight: 800;
      font-size: 56px;
      line-height: 1;
      margin: 6px 0 2px
    }

    .price-now small {
      font-size: 22px;
      font-weight: 700;
      color: var(--muted)
    }

    .price-lock {
      color: var(--ok);
      font-weight: 600;
      font-size: 16.5px;
      margin-bottom: 20px
    }

    .price-list {
      list-style: none;
      text-align: left;
      margin: 0 auto 26px;
      max-width: 400px
    }

    .price-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 16.5px;
      margin-bottom: 10px
    }

    .price-list svg {
      flex: none;
      margin-top: 4px
    }

    .price-start {
      font-size: 15px;
      color: var(--muted);
      margin-top: 14px
    }

    /* ---------- Пакеты ---------- */
    .packs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 40px
    }

    @media(max-width:900px) {
      .packs {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 40px auto 0
      }
    }

    .pack {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 30px 24px 26px;
      text-align: center;
      display: flex;
      flex-direction: column;
      position: relative
    }

    .pack.featured {
      border: 2px solid var(--brand);
      box-shadow: var(--shadow)
    }

    .pack .tag {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--brand);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      border-radius: 999px;
      padding: 4px 16px;
      white-space: nowrap
    }

    .pack h3 {
      font-family: var(--display);
      font-size: 21px;
      margin-bottom: 14px
    }

    .pack .old {
      color: var(--muted);
      text-decoration: line-through;
      font-size: 17px
    }

    .pack .now {
      font-family: var(--display);
      font-weight: 800;
      font-size: 42px;
      line-height: 1.1
    }

    .pack .once {
      font-size: 14.5px;
      color: var(--ok);
      font-weight: 600;
      margin: 4px 0 18px
    }

    .pack .comp {
      list-style: none;
      margin: 0 0 22px;
      padding: 14px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line)
    }

    .pack .comp li {
      font-size: 16.5px;
      padding: 3px 0
    }

    .pack .comp b {
      color: var(--brand)
    }

    .pack .btn {
      margin-top: auto;
      font-size: 17px;
      padding: 15px 20px
    }

    .pack-terms {
      text-align: center;
      font-size: 15px;
      color: var(--muted);
      margin-top: 22px
    }

    .nosub {
      max-width: 820px;
      margin: 44px auto 0;
      background: var(--brand-soft);
      border-radius: var(--radius);
      padding: 26px 30px;
      font-size: 17px
    }

    .nosub b {
      color: var(--brand)
    }

    /* ---------- Честно о запуске ---------- */
    .honest {
      background: var(--card);
      border: 1px solid var(--line);
      border-left: 6px solid var(--ok);
      border-radius: var(--radius);
      padding: 30px 32px;
      max-width: 820px;
      margin: 0 auto;
    }

    .honest h2 {
      margin-bottom: 12px
    }

    .honest p {
      margin-bottom: 12px
    }

    .honest .strong {
      font-weight: 700
    }

    .honest .fine {
      font-size: 15px;
      color: var(--muted);
      margin-bottom: 0
    }

    /* ---------- FAQ ---------- */
    .faq {
      max-width: 820px;
      margin: 30px auto 0
    }

    .faq details {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      margin-bottom: 12px;
      overflow: hidden;
    }

    .faq summary {
        transition:.3s;
      cursor: pointer;
      list-style: none;
      padding: 18px 22px;
      font-weight: 600;
      font-size: 17.5px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
    }

    .faq summary:hover{
        color:#1e5aa8
    }

    .faq summary::-webkit-details-marker {
      display: none
    }

    .faq summary::after {
      content:'+';
      font-size: 24px;
      color: var(--brand);
      font-weight: 400;
      flex: none
    }

    .faq details[open] summary::after {
      content:'−'
    }

    .faq .a {
      padding: 0 22px 20px;
      color: var(--muted);
      font-size: 16.5px
    }

    /* ---------- Основатель ---------- */
    .founder {
      background: var(--card);
      padding: 64px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line)
    }

    .founder-in {
      max-width: 760px;
      margin: 0 auto;
      text-align: center
    }

    .founder-in blockquote {
      font-size: clamp(18px, 2.4vw, 22px);
      line-height: 1.65;
      font-style: italic;
      margin-bottom: 22px
    }

    .founder-in .who {
      font-weight: 700
    }

    .founder-in .who small {
      display: block;
      font-weight: 400;
      color: var(--muted);
      font-size: 15px;
      margin-top: 2px
    }

    /* ---------- Финальный CTA ---------- */
    .final {
      text-align: center
    }

    .final .sub {
      max-width: 640px;
      margin: 0 auto 28px
    }

    /* ---------- Футер ---------- */
    footer {
      border-top: 1px solid var(--line);
      padding: 34px 0;
      font-size: 14.5px;
      color: var(--muted)
    }

    footer .cols {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 34px;
      justify-content: space-between
    }

    footer a {
        transition:.3s;
        color: var(--muted)
    }

    footer a:hover {
        color: #1e5aa8;
        text-decoration-color:transparent;
    }

    /* ---------- Exit-опрос ---------- */
    .exit-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(23, 41, 61, .5);
      z-index: 110;
      align-items: center;
      justify-content: center;
      padding: 20px
    }

    .exit-overlay.show {
      display: flex
    }

    .exit-box {
      background: var(--card);
      border-radius: 18px;
      max-width: 440px;
      width: 100%;
      padding: 30px 28px;
      text-align: center;
      box-shadow: var(--shadow)
    }

    .exit-box h3 {
      font-family: var(--display);
      font-size: 24px;
      margin-bottom: 10px
    }

    .exit-box p {
      color: var(--muted);
      font-size: 16.5px;
      margin-bottom: 22px
    }

    .exit-box .btn {
      width: 100%;
      font-size: 17px;
      padding: 15px
    }

    .exit-close {
      display: block;
      margin: 14px auto 0;
      border: 0;
      background: none;
      color: var(--muted);
      font-size: 15px;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px
    }

    .exit-close:hover {
      color: var(--ink)
    }

/* === Визуализация в первом экране === */
.app-container {
      flex-shrink: 0;
      width: 100%;
      max-width: 600px;
      margin: 0 -20px 0 -40px;
    }

    .app-images {
      position: relative;
      width: 100%;
      padding-bottom: calc(56.25%)
    }

    .app-image {
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
      transition: .3s ease-in-out;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 16px
    }

    .app-image.active {
      opacity: 1;
      pointer-events: all
    }

    .app-image img {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center
    }

    .chip.active {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff
    }

    @media screen and (max-width:960px) {
      .app-container {
        margin: 0 auto
      }
    }

/* === Логотип и подпись === */
.brand {
      letter-spacing: -.01em;
      align-items: center;
      color:#1f2430;
      gap: 9px;
      font-size: 1.05rem;
      font-weight: 500;
      text-decoration: none;
      display: flex
    }

    .brand b {
      font-size:17px;
      font-weight: 700
    }

    .brand span {
      font-size:17px;
    }

    .brand__mark {
      flex: none;
      width: 26px;
      height: 26px;
      display: block
    }

    .brand-slogan {
      margin-top: 5px;
      font-size: 12px;
    }

    @media screen and (max-width: 575px) {
      .brand-slogan{font-size:10px}
    }

/* === Видео === */
/* video */
    .video-block {
      position: relative;
      width: 100%;
    }
    .video {
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      max-width: 856px;
      position: relative;
      border-radius: 36px;
      margin-left: auto;
      margin-right: auto;
      padding-bottom: 71.077%;
      margin-top:30px
    }
    .video-block .video {
      padding-bottom: 42.2%;
    }
    .video-poster {
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      object-fit: cover;
    }
    .video-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height:  100%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
      background: rgba(42, 44, 47, 0.35);
      transition: background-color 0.2s;
    }
    .video-play .svg {
      width: 96px;
      height: 96px;
      transform: translate(-50%, -50%);
      position: absolute;
      left: 50%;
      top: 50%;
      animation: pulsePlay 2s infinite linear;
    }
    .video-play .svg.svg-static {
      animation: none;
    }
    .video-play .svg path {
      transition: ease .3s;
    }
    .video-play:hover {
      background: rgba(0, 0, 0, 0);
    }
    .video-play:hover .svg {
      animation-play-state: paused;
    }
    .video-play:hover .svg path {
      fill: #1f93ff;
      opacity: 1;
    }
    @media (max-width: 1199px) {
      .video {
        max-width: 700px;
      }
    }
    @media (max-width: 991px) {
      .video {
        width: 100%;
        padding-bottom: 70.8%;
      }
    }
    @media (max-width: 575px) {
      .video-play .svg {
        width: 65px;
        height: 65px;
        margin-left: 10px;
      }
    }

/* === Способы оплаты === */
@media screen and (max-width: 575px) {
      .payment-item__text{width:180px;font-size:12px}
    }

    .a-payment-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:15px 30px}
    .a-payment-item{position:relative;display:flex;justify-content:center;align-items:center;width:50px;height:50px}
    .a-payment-item.is-tooltip{z-index:5}
    .a-payment-item:hover .a-payment-item__text{opacity:1}
    .a-payment-item__icon{display:flex;justify-content:center;align-items:center}
    .a-payment-item__icon-visa{width:35px;height:43px}
    .a-payment-item__icon-mir{width:50px;height:14px}
    .a-payment-item__icon-sber{width:39px;height:39px}
    .a-payment-item__icon-sbp{width:32px;height:39px}
    .a-payment-item__icon-t-bank{width:39px;height:39px}
    .a-payment-item__icon-cashless{width:39px;height:39px}
    .a-payment-item__icon-foreign{width:32px;height:32px}
    .a-payment-item__icon__img{width:100%;height:100%;object-fit:contain;object-position:center}
    .a-payment-item__text{opacity:0;transition:.3s;position:absolute;bottom:calc(100% + 10px);left:-5px;z-index:5;white-space:nowrap;display:flex;justify-content:center;align-items:center;background:#fff;color:#414651;height:30px;padding:0 10px;text-align:center;font-size:12px;font-weight:500;border-radius:7px;filter:drop-shadow(0px 2px 6px rgba(0, 0, 0, .15));pointer-events:none}
    .a-payment-item__text::before{position:absolute;bottom:-4px;left:15px;z-index:-1;content:'';background:#fff;width:12px;height:12px;transform:rotate(45deg)}

    @media screen and (max-width: 1199px) {
      .a-payment-item__text{left:auto;right:-5px}
      .a-payment-item__text::before{right:15px;left:auto}
    }
    @media screen and (max-width: 991px) {
      .a-payment-grid{margin:0 auto}
    }

    @media screen and (max-width: 767px) {
      .a-payment-item__text{right:auto;left:50%;transform:translateX(-50%)}
      .a-payment-item__text::before{left:calc(50% - 6px);right:auto}
    }

    @media screen and (max-width: 575px) {
      .a-payment-grid{max-width:240px;gap:15px;margin:0 auto}
      .a-payment-item__text{font-size:12px}
    }

/* === Мобильная навигация === */
.overflow{overflow:hidden}
    .overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:98;width:100%;height:100%;background-color:rgba(0, 0, 0, .5);opacity:0;pointer-events:none;visibility:hidden;transition:.3s ease-in-out}
    .overlay.is-active{opacity:1;pointer-events:all;visibility:visible}

    .header-menu{display:flex;justify-content:space-between;align-items:center;gap:40px}
    .header-menu .button{gap:10px;height:39px;padding:0 15px;font-size:15px;font-weight:400}
    .header-nav{display:flex;gap:32px}
    .header-nav__link{transition:.3s;position:relative;z-index:1;color:#17293d;font-size:15px;text-decoration:none}
    .header-nav__link:hover{color:#1e5aa8}
    .header-action{display:flex;gap:40px}
    .header-hamburger{position:relative;z-index:100;display:flex;justify-content:center;align-items:center;width:30px;height:30px}
    .header-hamburger__line{transition:margin .3s .3s, opacity .3s 0s, transform .3s;position:absolute;background:#2c3333;width:100%;height:3px;border-radius:3px}
    .header-hamburger__line:nth-child(1){margin-top:-21px}
    .header-hamburger__line:nth-child(3){margin-top:21px}
    .header-hamburger.is-active .header-hamburger__line{transition:margin .3s, opacity .3s 0s, transform .3s .3s}
    .header-hamburger.is-active .header-hamburger__line:nth-child(1){margin:0;transform:rotate(-45deg)}
    .header-hamburger.is-active .header-hamburger__line:nth-child(2){opacity:0}
    .header-hamburger.is-active .header-hamburger__line:nth-child(3){margin:0;transform:rotate(45deg)}

    @media screen and (min-width: 992px) {
      .mobile{display:none}
    }

    @media screen and (max-width: 1199px) {
      .header-menu{gap:30px}
    }

    @media screen and (max-width: 991px) {
      .header-menu{transform:translateX(100%);overflow-y:auto;position:fixed;top:0;right:0;bottom:0;z-index:99;display:flex;flex-direction:column;justify-content:start;align-items:center;gap:30px;background:#fff;width:240px;height:100%;padding-top:100px;transition:.3s ease-in-out;pointer-events:none}
      .header-menu.is-open{transform:translateX(0);pointer-events:all}
      .header-nav{flex-direction:column;align-items:center;justify-content:center;margin:0}
      .header-wrap{height:70px}
    }

    @media screen and (max-width: 575px) {
      .header{z-index:100}
      .header-menu{width:100%}
      .header-logo{width:230px;height:34px}
    }

/* === Общая типографика и элементы внутренних страниц === */
.u-text-center { text-align: center; }
.payment--compact { padding-top: 0; }
.tile .ic > svg { flex: none; }

.page-offer .offer { max-width: 900px; margin: 40px auto; padding: 0 24px; }
.page-offer .offer h1 { font-size: 32px; line-height: 1.3; }
.page-offer .offer h2 { font-size: 22px; margin-top: 35px; }
.page-offer .offer h3 { font-size: 18px; margin-top: 25px; }
.page-offer .offer p, .page-offer .offer li { font-size: 16px; }
.page-offer .offer .requisites { border-top: 1px solid #ddd; margin-top: 40px; padding-top: 20px; }
.page-offer .offer table { border-collapse: collapse; border: 2px solid rgb(140 140 140); }
.page-offer .offer thead { background-color: rgb(228 240 245); }
.page-offer .offer th, .page-offer .offer td { border: 1px solid rgb(160 160 160); padding: 8px 10px; text-align: center; }
.page-offer .offer table { max-width: 100%; }
.page-offer .offer { overflow-wrap: break-word; }
@media (max-width: 640px) { .page-offer .offer { overflow-x: auto; } }


/* Доступное воспроизведение локального MP4 без отсутствующих в архиве библиотек. */
.video-dialog { border: 0; padding: 0; background: #000; color: #fff; margin: auto; width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 12px; overflow: visible; }
.video-dialog::backdrop { background: rgba(12, 22, 36, .85); }
.video-dialog video { display: block; width: 100%; max-height: calc(100dvh - 64px); border-radius: 12px; }
.video-dialog__close { position: absolute; right: -12px; top: -16px; z-index: 1; background: #fff; color: #17293d; border: 0; border-radius: 50%; width: 36px; height: 36px; font-size: 25px; cursor: pointer; }
.header-hamburger { background: transparent; border: 0; padding: 0; cursor: pointer; }
