
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/montserrat-lat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
  }
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/montserrat-cyr.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  :root {
    --bg: #f6f4fb;
    --surface: #ffffff;
    --surface-2: #faf8fd;
    --text: #1a1530;
    --text-muted: #667085;
    --border: #e8e5f0;
    --accent: #904df6;
    --accent-soft: #f0e6fe;
    --accent-2: #47b5f6;
    --ink: #000958;
    --danger: #f04438;
    --header-bg: #001536;
    --header-bg-2: #002a5c;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-card: 0 1px 2px rgba(26,21,48,.05), 0 10px 28px -12px rgba(26,21,48,.14);
    --shadow-hover: 0 16px 36px -12px rgba(144,77,246,.30);
    --font-body: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #15111f; --surface: #1e1830; --surface-2: #241d38;
      --text: #f3f0fb; --text-muted: #b6aed4; --border: #352a4d;
      --accent: #a875fb; --accent-soft: #2c2145; --accent-2: #6cc3fa;
      --shadow-card: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -12px rgba(0,0,0,.5);
      --shadow-hover: 0 16px 36px -12px rgba(168,117,251,.35);
    }
  }
  :root[data-theme="dark"] {
    --bg: #15111f; --surface: #1e1830; --surface-2: #241d38;
    --text: #f3f0fb; --text-muted: #b6aed4; --border: #352a4d;
    --accent: #a875fb; --accent-soft: #2c2145; --accent-2: #6cc3fa;
    --shadow-card: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -12px rgba(0,0,0,.5);
    --shadow-hover: 0 16px 36px -12px rgba(168,117,251,.35);
  }

  body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100vw; }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }
  h1, h2, h3, h4, p { overflow-wrap: break-word; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
  @media (max-width: 480px) { .wrap { padding: 0 18px; } }
  .eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
  .section-title { font-size: clamp(24px, 5.5vw, 32px); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 16px; text-wrap: balance; }
  .center { text-align: center; margin-left: auto; margin-right: auto; }

  .btn { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; border-radius: var(--radius-sm); padding: 14px 28px; border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .15s ease, box-shadow .15s ease, transform .1s ease, border-color .15s ease; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: #7b3ff0; box-shadow: var(--shadow-hover); }
  .btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
  .btn-outline:hover { background: var(--accent-soft); }
  .btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

  .note-banner { background: #fff9e6; border-bottom: 1px solid #f5d68a; color: #8a6d1c; font-size: 12.5px; padding: 10px 0; text-align: center; }

  /* ===== Header (variant A, approved) ===== */
  .site-header { position: sticky; top: 0; z-index: 40; background: linear-gradient(115deg, var(--header-bg) 0%, var(--header-bg-2) 100%); transition: box-shadow .2s ease; }
  .site-header.is-scrolled { box-shadow: 0 8px 24px -8px rgba(0,10,40,.4); }
  .site-header__bar { display: flex; align-items: center; gap: 36px; padding-top: 16px; padding-bottom: 16px; justify-content: space-between; }
  .site-logo { display: flex; flex-direction: column; line-height: 1.05; flex: 0 0 auto; }
  .site-logo .eyebrow-sm { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: #8f9fc9; text-transform: uppercase; margin: 0; }
  .site-logo .brand { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; background: linear-gradient(90deg,#c9a4ff,#7fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .site-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 28px; flex: 1; }
  .site-menu li { position: relative; }
  .site-menu a { color: #e7e4f7; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; }
  .site-menu a:hover, .site-menu > li.active > a { color: #fff; }
  .site-menu .caret { font-size: 9px; opacity: .7; }
  .site-menu li.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown { position: absolute; top: 100%; left: -14px; margin-top: 14px; width: 210px; background: var(--surface); border-radius: 10px; padding: 8px; box-shadow: 0 20px 40px -12px rgba(0,10,40,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 20; }
  .dropdown a { color: var(--text); font-size: 13.5px; padding: 9px 12px; border-radius: 6px; display: block; }
  .dropdown a:hover { background: var(--accent-soft); color: var(--accent); }
  .dropdown a.is-current { color: var(--accent); font-weight: 700; }
  .site-meta { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
  .site-meta a { color: #fff; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  .site-meta svg { width: 15px; height: 15px; stroke: #7fd3ff; fill: none; stroke-width: 2; }
  .site-meta__divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.14); }

  /* ===== Mobile menu ===== */
  .menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0; background: none; border: none; color: #fff; cursor: pointer; flex: 0 0 auto; }
  .menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-burger { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .mobile-nav { display: none; max-height: 0; overflow: hidden; background: var(--header-bg-2); transition: max-height .25s ease; }
  .mobile-nav.is-open { max-height: 720px; }
  .mobile-nav__list { list-style: none; margin: 0; padding: 6px 20px 4px; }
  .mobile-nav__list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-nav__list > li:last-child { border-bottom: none; }
  .mobile-nav__list > li > a, .mobile-nav__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: none; color: #fff; font-family: var(--font-body);
    font-size: 15px; font-weight: 500; padding: 15px 0; text-align: left; cursor: pointer;
  }
  .mobile-nav__toggle .caret { transition: transform .18s ease; font-size: 11px; opacity: .7; }
  .mobile-nav__group.is-open .mobile-nav__toggle .caret { transform: rotate(180deg); }
  .mobile-nav__sub { list-style: none; margin: 0; padding: 0 0 8px 6px; display: none; }
  .mobile-nav__group.is-open .mobile-nav__sub { display: block; }
  .mobile-nav__sub a { display: block; padding: 10px 0; color: #c7c2e6; font-size: 14px; }
  .mobile-nav__sub a:hover { color: #fff; }
  .mobile-nav__sub a.is-current { color: #fff; font-weight: 700; }
  .mobile-nav__contacts { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); }
  .mobile-nav__contacts a { color: #e7e4f7; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
  .mobile-nav__contacts svg { width: 16px; height: 16px; stroke: #7fd3ff; fill: none; stroke-width: 1.8; flex: 0 0 auto; }

  @media (max-width: 900px) {
    .site-menu, .site-meta { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: block; }
  }

  /* ===== Breadcrumb ===== */
  .breadcrumb { position: relative; padding: 58px 0; color: #fff; background: linear-gradient(180deg, var(--header-bg) 0%, rgba(0,21,54,.72) 60%, rgba(0,21,54,.6) 100%), url('../images/banner/breadcrumb-bg.jpg') center/cover no-repeat; }
  .breadcrumb h1 { font-size: clamp(26px, 4.5vw, 36px); font-weight: 800; margin: 0 0 10px; }
  .breadcrumb .crumbs { font-size: 13px; color: #b9c6ec; }
  .breadcrumb .crumbs a { color: #d7d3ee; }
  .breadcrumb .crumbs a:hover { color: #fff; }

  /* ===== Product page ===== */
  .product-page { padding: 56px 0 100px; }
  .product-page .layout { display: grid; grid-template-columns: 2.15fr 1fr; gap: 40px; align-items: start; }
  .product-page .layout > div { min-width: 0; }
  @media (max-width: 960px) { .product-page .layout { grid-template-columns: 1fr; } }

  .product-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; margin-bottom: 44px; }
  .product-top > div { min-width: 0; }
  @media (max-width: 780px) { .product-top { grid-template-columns: 1fr; gap: 24px; } }

  .gallery-main { aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: 12px; background: var(--surface-2); }
  .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
  .gallery-thumbs button.is-active { border-color: var(--accent); }
  .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .product-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 28px; height: 100%; }
  .product-info-card h1 { font-size: clamp(21px, 3vw, 24px); font-weight: 800; margin: 0 0 10px; color: var(--ink); }
  .product-info-card .price { color: var(--accent); font-size: 14.5px; font-weight: 700; margin-bottom: 16px; }
  .product-info-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin: 0 0 12px; }
  .product-info-card .lead-time { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--text); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
  .product-info-card .lead-time svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

  /* ===== Calculator ===== */
  .book-calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
  .book-calc__head { padding: 24px 28px; border-bottom: 1px solid var(--border); }
  .book-calc__head h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
  .book-calc__head p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
  .book-calc__body { padding: 28px; }
  .book-calc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
  @media (max-width: 760px) { .book-calc__grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .book-calc__grid { grid-template-columns: 1fr; } }
  .field { margin-bottom: 0; }
  .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
  .ctrl { width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--text); background: var(--surface-2); border: 1px solid transparent; border-radius: var(--radius-sm); padding: 13px 16px; }
  .ctrl:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
  .field .hint { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-muted); }
  .field .err { display: none; margin-top: 6px; font-size: 11.5px; color: var(--danger); }
  .field.has-error .ctrl { border-color: var(--danger); }
  .field.has-error .err { display: block; }

  .book-calc__result { margin-top: 26px; padding: 22px 26px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--accent) 0%, #7b3ff0 100%); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
  .book-calc__result-label { display: block; font-size: 12.5px; opacity: .85; margin-bottom: 4px; }
  .book-calc__result-value { font-size: 24px; font-weight: 800; line-height: 1.1; }
  .book-calc__result-value span { font-size: 14px; font-weight: 500; opacity: .85; }
  .book-calc__footer { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
  .book-calc__note { font-size: 12px; color: var(--text-muted); max-width: 420px; margin: 0; }

  /* ===== Sidebar ===== */
  .side-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin-bottom: 24px; overflow: hidden; }
  .side-widget__title { padding: 20px 24px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--border); margin: 0; }
  .side-widget__body { padding: 12px 24px 20px; }
  .field--hp { display: none; }
  .form-alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
  .form-alert[hidden] { display: none; }
  .form-alert--error { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); }
  .form-alert--success { background: color-mix(in srgb, #1a8f4a 16%, var(--surface)); color: #1a8f4a; border: 1px solid color-mix(in srgb, #1a8f4a 45%, transparent); }
  .ctrl:disabled { opacity: .6; }
  .btn:disabled { opacity: .65; cursor: default; }
  .cat-list { list-style: none; margin: 0; padding: 0; }
  .cat-list li { border-bottom: 1px solid var(--border); }
  .cat-list li:last-child { border-bottom: none; }
  .cat-list a { display: block; padding: 12px 0; font-size: 14px; color: var(--text-muted); }
  .cat-list a:hover { color: var(--accent); }
  .cat-list li.active a { color: var(--accent); font-weight: 700; }
  .side-widget__body .field { margin-bottom: 14px; }
  .side-widget__body .btn { width: 100%; justify-content: center; }

  /* ===== Distribution ===== */
  .distribution { padding: 0 0 90px; }
  .section-desc { color: var(--text-muted); font-size: 15px; max-width: 68ch; margin: 0 0 40px; }

  .dist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 780px) { .dist-grid { grid-template-columns: 1fr; } }

  .dist-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 28px; }
  .dist-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
  .dist-card__head .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .dist-card__head .ico svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
  .dist-card__head h3 { font-size: 18px; font-weight: 700; margin: 0; }

  .dist-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
  .dist-item:first-of-type { border-top: none; padding-top: 0; }
  .dist-item__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .dist-item__icon svg { width: 16px; height: 16px; stroke: var(--accent-2); fill: none; stroke-width: 1.9; }
  .dist-item h4 { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
  .dist-item p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

  .dist-card__foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); }
  .channel-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .pill { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: var(--radius-pill); padding: 6px 12px; }

  .royalty-note { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--accent) 0%, #7b3ff0 100%); color: #fff; }
  .royalty-note svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; flex: 0 0 auto; }
  .royalty-note b { font-size: 15px; }
  .royalty-note span { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }

  /* ===== Services (reused) ===== */
  .services { padding: 100px 0; background: var(--surface-2); }
  .services-head { max-width: 560px; margin: 0 auto 48px; text-align: center; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  @media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
  .svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; position: relative; }
  .svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
  .svc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .svc-card.is-current { outline: 2px solid var(--accent); outline-offset: -2px; }
  .svc-card__media { aspect-ratio: 4/3; overflow: hidden; }
  .svc-card__media img { width: 100%; height: 100%; object-fit: cover; }
  .svc-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
  .svc-card__title { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
  .svc-card__desc { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.55; flex: 1; }
  .svc-card__link { font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
  .svc-card__link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .15s ease; }
  .svc-card:hover .svc-card__link svg { transform: translateX(3px); }

  /* ===== Footer (reused) ===== */
  .site-footer { background: var(--header-bg); color: #cdd3ea; }
  .footer-cta { border-bottom: 1px solid rgba(255,255,255,.1); padding-top: 40px; padding-bottom: 40px; }
  .footer-cta h2 { color: #fff; font-size: 24px; font-weight: 700; margin: 0; text-wrap: balance; }
  .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
  .footer-grid h5 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 18px; letter-spacing: .02em; }
  .footer-brand .brand { font-size: 19px; font-weight: 800; background: linear-gradient(90deg,#c9a4ff,#7fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .footer-brand p { font-size: 13.5px; color: #a3aed1; margin: 14px 0 0; max-width: 30ch; line-height: 1.6; }
  .footer-links { display: flex; gap: 40px; }
  .footer-links ul { list-style: none; margin: 0; padding: 0; }
  .footer-links li { margin-bottom: 11px; font-size: 13.5px; }
  .footer-links a:hover { color: #fff; }
  .footer-links a.is-current { color: #fff; font-weight: 700; }
  @media (max-width: 420px) { .footer-links { flex-direction: column; gap: 4px; } }
  .footer-contacts { display: flex; flex-direction: column; gap: 14px; }
  .footer-contacts .row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
  .footer-contacts svg { width: 16px; height: 16px; stroke: #7fd3ff; fill: none; stroke-width: 1.8; flex: 0 0 auto; margin-top: 1px; }
  .footer-contacts a:hover { color: #fff; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 20px; font-size: 12.5px; color: #7c86ad; }

  @media (max-width: 640px) {
    .services { padding: 56px 0; }
    .services-head { margin-bottom: 32px; }
    .distribution { padding-bottom: 48px; }
    .dist-card { padding: 20px; }
    .product-page { padding: 40px 0 64px; }
    .book-calc__body { padding: 20px; }
    .book-calc__head { padding: 20px; }
    .product-info-card { padding: 20px; }
    .footer-cta { padding-top: 28px; padding-bottom: 28px; }
    .footer-grid { padding-top: 40px; padding-bottom: 40px; gap: 36px; }
  }

  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .svc-card, .btn { transition: none; } }
