
:root {
  --bg: #1a0805;
  --bg-card: #260f0a;
  --text: #fecaca;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #f97316;
  --accent-rgb: 249,115,22;
  --accent2: #50f916;
  --accent2-rgb: 80,249,22;
  --accent3: #fa2f85;
  --accent3-rgb: 250,47,133;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --bodyBG: #1a0805;
  --textColor1: #fecaca;
  --textColor2: #111111;
  --textSecondary: #c59a99;
  --textMuted: #8c6968;
  --secondStyleColor: #f97316;
  --bgCard: #260f0a;
  --bgAlt: #2c1815;
  --borderSubtle: rgba(255,255,255,0.08);
  --borderRadius: 12px;
  --maxWidthContainer: 1200px;
  --scrollbarBg: rgba(255,255,255,0.1);
  --itemBgColor: transparent;
}

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

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 100vw; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 100vw; }
::-webkit-scrollbar-thumb:hover { background: var(--secondStyleColor); filter: brightness(1.2); }
::-webkit-scrollbar-thumb:active { background: #fff; }
* { scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255,255,255,0.05); }

body {
  font-family: var(--font);
  background: var(--bodyBG);
  color: var(--textColor1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxWidthContainer);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; object-position: 50% 20%; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

/* Standardized typography */
section h1 {
  font-size: 48px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
section h2 {
  font-size: 36px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
section h3 {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
section h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
section p,
section li {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
footer p,
footer li,
footer a {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
footer h3 {
  font-size: 16px !important;
}
/* Auto-wrap markers from scripts/wrap-orphan-text.js — these <p> tags
   were inserted to make orphan text AI-editable. They live inside
   badge/tag/card-stat divs that previously held bare text, so the default
   browser <p> margin (1em) would inflate their height. Zero it. */
p.ai-wrap {
  margin: 0 !important;
}
@media (max-width: 900px) {
  section h1 {
    font-size: 36px !important;
  }
  section h2 {
    font-size: 28px !important;
  }
}
@media (max-width: 600px) {
  section h1 {
    font-size: 30px !important;
  }
  section h2 {
    font-size: 24px !important;
  }
  section h3 {
    font-size: 18px !important;
  }
  section p,
  section li {
    font-size: 15px !important;
  }
}

/* Heading font */
section h1, section h2, section h3, section h4,
header h1, header h2, header h3, header h4,
footer h3 {
  font-family: var(--font-heading) !important;
}

/* Standardized section spacing */
section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
header, nav { padding-top: 0 !important; padding-bottom: 0 !important; }
footer {
  padding-top: 40px !important;
  padding-bottom: 24px !important;
}
section.toc {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.site-disclaimer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  text-align: center;
}
.site-disclaimer p {
  font-size: 14px !important;
  font-style: italic;
  line-height: 1.5 !important;
  color: var(--textMuted);
  max-width: 800px;
  margin: 0 auto;
}
.toc .swiper-wrapper {
}
@media (max-width: 768px) {
  body > section,
  body > div > section,
  body > section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* Secondary pages */
.sec-page { padding: 80px 0; min-height: 60vh; }
.page-content { max-width: var(--maxWidthContainer); }
.page-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 24px; }
.page-content h2 { font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; color: var(--textColor1); }
.page-content p { margin-bottom: 16px; color: var(--textSecondary); line-height: 1.8; font-size: 0.95rem; }
.page-content a { color: var(--secondStyleColor); text-decoration: underline; }
.page-content a:hover { opacity: 0.8; }

/* Overflow protection — word wrap only, no clipping */
section p,
section li,
section summary {
  overflow-wrap: break-word;
}


  /* ===== HEADER v5 — Glass floating bar + centered nav pill ===== */

  .hd5 {
    position: relative;
    z-index: 100;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bodyBG) 85%, transparent),
      color-mix(in srgb, var(--bodyBG) 70%, transparent)
    );

    border-bottom: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

  .hd5__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
  }

  /* Logo */
  .hd5__logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--textColor1);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    z-index: 110;
  }

  /* Desktop nav — centered pill */
  .hd5__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hd5__nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 5px 6px;
    border-radius: 100px;
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    background: color-mix(in srgb, var(--secondStyleColor) 5%, transparent);
  }

  .hd5__nav .hd5__link {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--textColor1) 70%, transparent);
    text-decoration: none;
    border-radius: 100px;
    transition:
      color 0.2s ease,
      background 0.2s ease;
  }

  .hd5__nav .hd5__link:hover {
    color: var(--textColor1);
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

  /* CTA button */
  .hd5__cta {
    padding: 10px 22px;
    border-radius: var(--borderRadius);
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .hd5__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  /* Burger — hidden on desktop */
  .hd5__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: none;
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    border-radius: 10px;
    cursor: pointer;
    z-index: 110;
    transition: border-color 0.25s ease;
  }

  .hd5__burger:hover {
    border-color: color-mix(in srgb, var(--secondStyleColor) 50%, transparent);
  }

  .hd5__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--textColor1);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    transform-origin: center;
  }

  /* Burger active state */
  .hd5__burger.active .hd5__burger-line:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .hd5__burger.active .hd5__burger-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* Mobile overlay — hidden by default */
  .hd5__mobile {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--bodyBG);
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    transform: translateY(-100%);
    opacity: 0;
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      opacity 0.3s ease;
    pointer-events: none;
  }

  .hd5__mobile.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hd5__mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hd5__mobile .hd5__link {
    font-size: 22px;
    font-weight: 600;
    color: var(--textColor1);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .hd5__mobile .hd5__link:hover {
    color: var(--secondStyleColor);
  }

  .hd5__mobile-cta {
    padding: 14px 32px;
    border-radius: var(--borderRadius);
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .stopScroll {
    overflow: hidden;
  }

  /* Responsive */
  @media (max-width: 800px) {
    .hd5__nav {
      display: none;
    }

    .hd5__cta {
      display: none;
    }

    .hd5__burger {
      display: flex;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hd5__mobile,
    .hd5__burger-line,
    .hd5__burger,
    .hd5__cta,
    .hd5__nav .hd5__link {
      transition: none;
    }
  }



  .hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 130px 0;
    text-align: center;
    background: var(--bodyBG);
    overflow: hidden;
    color: var(--textColor1);
  }
  h1 {
    text-transform: uppercase;
    font-weight: 900;
  }

  /* Фоновая картинка */
  .heroBG {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) brightness(0.5);
    z-index: 1;
  }

  /* Контейнер поверх */
  .hero .container {
    position: relative;
    z-index: 2;
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Заголовок */
  .hero h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 18px;
    text-wrap: balance;
  }

  /* Подзаголовок */
  .hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
    color: var(--textColor1);
  }

  /* Кнопка */
  .hero a {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondStyleColor);
    color: var(--textColor2);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: var(--borderRadius);
    transition: 0.2s ease;
  }

  .hero a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
  }

  /* Адаптив */
  @media (max-width: 700px) {
    .hero {
      padding: 100px 0;
    }

    .hero h1 {
      font-size: 34px;
    }

    .hero p {
      font-size: 16px;
    }
  }



  :root {
    --scrollbarBg: rgba(255, 255, 255, 0.1);
    --itemBgColor: transparent;
  }

  .swiper {
    padding-bottom: 10px !important;
  }

  .toc .swiper-slide {
    width: fit-content;
  }

  .toc h2 {
    margin: 0 !important;
    text-align: center;
    color: var(--textColor1);
  }

  .toc {
    background-color: transparent;
  }

  .toc .swiper-wrapper {
    padding-top: 36px;
    padding-bottom: 24px;
    position: relative;
  }

  .toc .swiper-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
      transparent,
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent) 10%,
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent) 90%,
      transparent
    );
    transform: translateY(-50%);
    pointer-events: none;
  }

  .toc a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
    padding: 28px 24px 10px;
    border-radius: 0;
    background-color: var(--itemBgColor);
    border: none;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
  }

  .toc a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 60%, transparent);
    border: 2px solid var(--secondStyleColor);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .toc a::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
  }

  .toc a:hover,
  .toc a:focus {
    color: var(--textColor1);
  }

  .toc a:hover::before,
  .toc a:focus::before {
    transform: translateX(-50%) scale(1.35);
    background: var(--secondStyleColor);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--secondStyleColor) 20%, transparent),
                0 0 16px color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  .toc a:hover::after,
  .toc a:focus::after {
    background: var(--secondStyleColor);
  }

  .toc-swiper .swiper-scrollbar {
    background: var(--scrollbarBg);
    height: 4px;
    border-radius: 2px;
  }

  .toc-swiper .swiper-scrollbar-drag {
    background: var(--secondStyleColor);
    border-radius: 2px;
    width: 20%;
  }

  .toc.wrapper {
    margin: 0 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .toc-swiper {
    max-width: calc(var(--maxWidthContainer) - 40px);
    margin: 0 auto;
  }

  .swiper-horizontal > .swiper-scrollbar,
  .swiper-scrollbar.swiper-scrollbar-horizontal {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  @media screen and (max-width: 750px) {
    .toc.wrapper {
      margin-left: auto;
    }
    .swiper-horizontal > .swiper-scrollbar,
    .swiper-scrollbar.swiper-scrollbar-horizontal {
      width: 90% !important;
      margin: 0 auto;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .toc a,
    .toc a::before,
    .toc a::after {
      transition: none;
      -webkit-transition: none;
      -moz-transition: none;
      -ms-transition: none;
      -o-transition: none;
    }

    .toc a:hover::before {
      transform: translateX(-50%) scale(1);
    }
  }



  /* ===== HOW IT WORKS SECTION ALT (VARIANT 2) ===== */

  .howSection-alt {
    padding: 80px 0;
    background: var(--bodyBG);
    color: var(--textColor1);
  }

  .howAltWrapper {
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
  }

  /* Header */
  .howAltHeader {
    max-width: 700px;
    margin: 0 auto 45px auto;
    text-align: center;
  }

  .howEyebrow {
    font-size: 13px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    font-weight: 600;
    margin-bottom: 10px;
  }

  .howTitle {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--textColor1);
  }

  .howSubtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--textSecondary);
  }

  /* Timeline */
  .howAltTimeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 28px;
  }

  .howAltLine {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
      to bottom,
      var(--secondStyleColor),
      rgba(2, 255, 57, 0.05)
    );
  }

  /* Step */
  .howAltStep {
    position: relative;
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
  }

  .howAltDot {
    position: relative;
    flex: 0 0 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--secondStyleColor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondStyleColor);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    z-index: 1;
    margin-left: -2px;
  }

  .howAltStepBody {
    border-radius: var(--borderRadius);
    padding: 18px 20px 18px 20px;
    border: 4px dotted var(--secondStyleColor);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
    transition: 0.18s ease;
  }

  .howAltStepTitle {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  .howAltStepText {
    font-size: 14px;
    line-height: 1.6;
    color: var(--textSecondary);
  }

  .howAltStepBody:hover {
    border-color: var(--secondStyleColor);
    transform: translateY(-2px);
  }

  /* Responsive */
  @media (max-width: 700px) {
    .howAltTimeline {
      padding-left: 18px;
    }

    .howAltLine {
      left: 10px;
    }

    .howAltStep {
      gap: 12px;
    }

    .howAltStepBody {
      padding: 16px 16px;
    }
  }



  .gl4 {
    padding: clamp(60px, 8vw, 100px) 0;
    color: var(--textColor1);
  }

  .gl4__head {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 44px;
  }

  .gl4__head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
  }

  .gl4__head p {
    margin: 0;
    font-size: 15px;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
  }

  .gl4__panels {
    display: flex;
    gap: 8px;
    height: clamp(340px, 45vw, 520px);
    border-radius: var(--borderRadius);
    overflow: hidden;
  }

  .gl4__panel {
    position: relative;
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--borderRadius);
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .gl4__panel--active { flex: 5; }

  .gl4__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .gl4__panel--active img { transform: scale(1.03); }

  .gl4__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top,
      color-mix(in srgb, var(--bodyBG) 80%, transparent),
      transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .gl4__panel--active .gl4__label { opacity: 1; }

  .gl4__label h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }

  @media (max-width: 800px) {
    .gl4__panels { flex-direction: column; height: auto; }
    .gl4__panel { height: 80px; flex: none; }
    .gl4__panel--active { height: 280px; }
    .gl4__label { opacity: 1; }
  }

  @media (max-width: 600px) {
    .gl4 { padding: 48px 0; }
    .gl4__head { margin-bottom: 32px; }
    .gl4__panel--active { height: 220px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .gl4__panel, .gl4__panel img, .gl4__label { transition: none; }
  }



  .hiwWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .him-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    h2,
    p {
      color: var(--textColor1);
    }
  }
  .hiw_image {
    border-radius: var(--borderRadius);
    width: 400px;
    height: 500px;
    img {
      border-radius: inherit;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  @media (max-width: 800px) {
    .hiwWrapper {
      flex-direction: column;
    }
    .him-left {
      width: 100%;
    }
    .hiw_image {
      margin-top: 20px;
      width: 100%;
      height: auto;
    }
  }



  #top { padding: 80px 0; }
  .tp2-head { text-align: center; margin-bottom: 50px; }
  .tp2-head__tag {
    display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
    background: rgba(var(--accent-rgb), 0.12); color: var(--accentColor); text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 16px;
  }
  .tp2-head h2 { margin-bottom: 12px; }
  .tp2-head p { color: var(--textSecondary); max-width: 600px; margin: 0 auto; }
  .tp2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tp2-grid .top-card {
    background: var(--cardBG); border-radius: var(--borderRadius); padding: 24px;
    border: 1px solid var(--borderSubtle); position: relative; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .tp2-grid .top-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
  .tp2-grid .top-card__rank {
    position: absolute; top: -6px; left: -6px; width: 52px; height: 52px;
    background: var(--accentColor); color: var(--textColor2);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; border-radius: 0 0 16px 0;
  }
  .tp2-grid .top-card__top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-left: 48px; }
  .tp2-grid .top-card__logo {
    width: 100px; height: 48px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
  }
  .tp2-grid .top-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .tp2-grid .top-card__logo svg { max-width: 100%; max-height: 100%; }
  .tp2-grid .top-card__top h3 { flex: 1; }
  .tp2-grid .top-card__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .tp2-grid .top-card__rating {
    padding: 4px 12px; border-radius: 6px;
    background: rgba(var(--accent-rgb), 0.12); color: var(--accentColor);
    font-weight: 700; font-size: 14px;
  }
  .tp2-grid .top-card__bonus { color: var(--textSecondary); font-size: 14px; }
  .tp2-grid .top-card__badge {
    position: absolute; top: 12px; right: 12px;
    padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700;
    background: var(--accentColor); color: var(--textColor2); text-transform: uppercase; letter-spacing: 0.5px;
  }
  .tp2-grid .top-card__badge:empty { display: none; }
  .tp2-grid .top-card__features { margin-top: 12px; color: var(--textMuted); font-size: 13px; }
  @media (max-width: 768px) { .tp2-grid { grid-template-columns: 1fr; } }



  /* ===== TESTIMONIALS SECTION ALT (VARIANT 2) ===== */

  .testimonialsSection-alt {
    padding: 80px 0;
    background: var(--bodyBG);
    color: var(--textColor1);
  }

  .testimonialsAltWrapper {
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
  }

  /* Header */
  .testimonialsAltHeader {
    max-width: 760px;
    margin: 0 auto 40px auto;
    text-align: center;
  }

  .testimonialsEyebrow {
    font-size: 13px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    font-weight: 600;
    margin-bottom: 10px;
  }

  .testimonialsTitle {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .testimonialsSubtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--textSecondary);
  }

  /* List */
  .testimonialsAltList {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* Row card */
  .testimonialRow {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;

    border-radius: var(--borderRadius);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
    transition: 0.18s ease;
  }

  .testimonialRow:hover {
    border-color: var(--secondStyleColor);
    transform: translateY(-2px);
  }

  /* Avatar */
  .testimonialAvatar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .testimonialAvatarCircle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid var(--secondStyleColor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--secondStyleColor);
  }

  /* Body */
  .testimonialRowBody {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .testimonialRowHead {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
  }

  .testimonialName {
    font-size: 16px;
    font-weight: 600;
  }

  .testimonialRole {
    font-size: 13px;
    color: var(--textMuted);
  }

  .testimonialTag {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--secondStyleColor);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    white-space: nowrap;
  }

  .testimonialRowText {
    font-size: 14px;
    line-height: 1.7;
    color: #dfdfdf;
  }

  /* Responsive */
  @media (max-width: 800px) {
    .testimonialRow {
      grid-template-columns: 1fr;
    }

    .testimonialAvatar {
      justify-content: flex-start;
    }
  }



  /* ===== FEATURES v9 — Bento grid with hero card ===== */

  .ft9 {
    padding: clamp(60px, 7vw, 100px) 0;
    color: var(--textColor1);
  }

  .ft9__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .ft9__kicker {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    background: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
  }

  .ft9__head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .ft9__head p {
    margin: 0;
    line-height: 1.65;
    color: color-mix(in srgb, var(--textColor1) 68%, transparent);
  }

  /* Bento grid */
  .ft9__bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Hero card spans 1 col, 2 rows */
  .ft9__card--hero {
    grid-row: 1 / 3;
  }

  /* Wide card spans full width */
  .ft9__card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .ft9__wide-body {
    flex: 1;
  }

  .ft9__wide-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
  }

  .ft9__wide-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 68%, transparent);
  }

  /* Card base */
  .ft9__card {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    );
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .ft9__card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
  }

  /* Hero card BG — orbiting circles */
  .ft9__card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .ft9__orbit {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 220px;
    height: 220px;
  }

  .ft9__orbit span {
    position: absolute;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

  .ft9__orbit span:nth-child(1) {
    inset: 0;
    animation: ft9Spin 14s linear infinite;
  }

  .ft9__orbit span:nth-child(2) {
    inset: 20%;
    animation: ft9Spin 20s linear infinite reverse;
  }

  .ft9__orbit span:nth-child(3) {
    inset: 40%;
    animation: ft9Spin 28s linear infinite;
  }

  @keyframes ft9Spin {
    to { transform: rotate(360deg); }
  }

  /* Icon */
  .ft9__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .ft9__card:hover .ft9__icon {
    transform: rotate(-6deg) scale(1.08);
  }

  .ft9__icon i {
    font-size: 20px;
    color: var(--secondStyleColor);
    filter: drop-shadow(0 3px 8px color-mix(in srgb, var(--secondStyleColor) 35%, transparent));
  }

  .ft9__icon--lg {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin-bottom: 22px;
  }

  .ft9__icon--lg i {
    font-size: 26px;
  }

  .ft9__card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
  }

  .ft9__card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 68%, transparent);
  }

  /* Chips inside hero card */
  .ft9__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 18px;
  }

  .ft9__chips span {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    font-size: 12px;
    font-weight: 500;
    color: color-mix(in srgb, var(--textColor1) 70%, transparent);
    transition: border-color 0.3s ease, color 0.3s ease;
  }

  .ft9__card--hero:hover .ft9__chips span {
    border-color: color-mix(in srgb, var(--secondStyleColor) 50%, transparent);
    color: var(--secondStyleColor);
  }

  /* ---- Responsive ---- */
  @media (max-width: 950px) {
    .ft9__bento {
      grid-template-columns: 1fr 1fr;
    }

    .ft9__card--hero {
      grid-row: auto;
      grid-column: 1 / -1;
    }

    .ft9__card--wide {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 800px) {
    .ft9__card {
      padding: 24px 20px;
    }

    .ft9__card h3 {
      font-size: 16px;
    }

    .ft9__card p {
      font-size: 13px;
    }

    .ft9__card--wide {
      flex-direction: column;
    }

    .ft9__icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
    }

    .ft9__icon i {
      font-size: 18px;
    }

    .ft9__icon--lg {
      width: 52px;
      height: 52px;
    }

    .ft9__icon--lg i {
      font-size: 22px;
    }
  }

  @media (max-width: 600px) {
    .ft9 {
      padding: 50px 0;
    }

    .ft9__head {
      margin-bottom: 36px;
    }

    .ft9__head h2 {
      font-size: 24px;
    }

    .ft9__bento {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .ft9__card--hero {
      grid-column: auto;
    }

    .ft9__card--wide {
      grid-column: auto;
    }

    .ft9__card {
      padding: 22px 18px;
    }

    .ft9__chips span {
      font-size: 11px;
      padding: 4px 10px;
    }

    .ft9__orbit {
      width: 160px;
      height: 160px;
      right: -20px;
      bottom: -20px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ft9__orbit span {
      animation: none;
    }
    .ft9__card,
    .ft9__icon,
    .ft9__chips span {
      transition: none;
    }
  }



  .hkuawrfbhkskawdvchk {
    width: 90%;
  }

  #faq .container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    & h2 {
      width: 100%;
      text-align: flex-start;
      margin-bottom: 40px;
    }
  }
  .faqImageWrap {
    width: 1000px;
    height: 700px;
    & img {
      width: 100%;
      border-radius: var(--borderRadius);
      height: 100%;
      object-fit: cover;
    }
  }
  /*  */
  .containerFAQ {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faq > div {
    border-radius: var(--borderRadius);
  }

  #faq {
    border-radius: var(--borderRadius);
    padding: var(--sectionPadding);
  }

  .accord__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid var(--secondStyleColor);
  }

  .accord__item h3,
  .accord__item p {
    margin-bottom: 0;
    margin: 0;
    color: var(--textColor1);
  }

  .accord__item > div:first-child > p {
    font-weight: 900;
    color: var(--secondStyleColor) !important;
    font-size: 24px !important;
    margin-bottom: 0;
  }

  .accord__item > div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .accord__item > div:last-child {
    max-height: 0;
    visibility: hidden;
    transition: 0.3s all linear;
  }

  .accord__item > div:last-child p {
    color: var(--textColor1) !important;
    text-align: left;
  }

  .show {
    visibility: visible !important;
  }

  .accord__item div + div {
    transition: max-height 0.3s ease;
    overflow: hidden;
    /* padding: 20px; padding будет учтен в scrollHeight */
    box-sizing: border-box; /* важно! */
  }

  .accord__item div + div p {
    transition: margin-top 0.3s ease;
    visibility: hidden;
    margin: 0;
  }

  .accord__item div + div.show p {
    visibility: visible;
    opacity: 1;
  }

  div.show {
    margin-top: 28px;
  }

  @media (max-width: 768px) {
    .accord__item {
      padding: 32px 16px;
    }
    .faqImageWrap {
      display: none;
    }
    .hkuawrfbhkskawdvchk {
      width: 100%;
    }
    #faq .container h2 {
      text-align: center;
    }
  }



  /* ===== FOOTER ===== */

  .footer {
    background: var(--bgAlt);
    color: var(--textColor1);
    padding: 40px 0 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footerWrapper {
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
  }

  /* Верхняя часть */
  .footerTop {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 24px;
  }

  /* Бренд */
  .footerBrand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .footerLogo {
    color: var(--secondStyleColor);
  }

  .footerLogo i {
    color: var(--secondStyleColor);
    font-size: 18px;
  }

  .footerBrandName {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .footerBrandTagline {
    font-size: 14px;
    color: var(--textMuted);
    padding-top: 10px;
  }

  /* Навигация и контакты */
  .footerNavLabel {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 10px;
    font-weight: 600;
  }

  .footerNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2 140px;
    column-gap: 24px;
  }

  .footerNav li {
    break-inside: avoid;
  }

  .footerNav li + li {
    margin-top: 6px;
  }

  .footerNav a {
    font-size: 14px;
    color: var(--textSecondary);
    text-decoration: none;
    transition: 0.15s ease;
  }

  .footerNav a:hover {
    color: var(--secondStyleColor);
  }

  /* Контакты */
  .footerContactLine {
    font-size: 14px;
    color: var(--textSecondary);
    margin-bottom: 4px;
  }

  .footerSocial {
    margin-top: 10px;
    display: flex;
    gap: 10px;
  }

  .footerSocial a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textSecondary);
    font-size: 14px;
    transition: 0.15s ease;
  }

  .footerSocial a:hover {
    border-color: var(--secondStyleColor);
    color: var(--secondStyleColor);
  }

  /* Нижняя полоска */
  .footerBottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--textMuted);
  }

  .footerMeta {
    text-align: right;
  }

  /* Адаптив */
  @media (max-width: 900px) {
    .footerTop {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 650px) {
    .footerTop {
      grid-template-columns: 1fr;
    }

    .footerBottom {
      flex-direction: column;
      align-items: flex-start;
    }

    .footerMeta {
      text-align: left;
    }
  }



[data-aos]{opacity:0;transition:opacity 0.6s ease,transform 0.6s ease}
[data-aos="fade-up"]{transform:translateY(30px)}
[data-aos="fade-in"]{transform:none}
[data-aos="slide-left"]{transform:translateX(-30px)}
[data-aos="slide-right"]{transform:translateX(30px)}
[data-aos].aos-visible{opacity:1;transform:none}