
:root {
  --bg: #1b2d1b;
  --bg-card: #243524;
  --text: #d4e7d4;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #4caf50;
  --accent-rgb: 76,175,80;
  --accent2: #4c8aaf;
  --accent2-rgb: 76,138,175;
  --accent3: #a5b85c;
  --accent3-rgb: 165,184,92;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Space Grotesk', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --bodyBG: #1b2d1b;
  --textColor1: #d4e7d4;
  --textColor2: #111111;
  --textSecondary: #a6b9a6;
  --textMuted: #788a78;
  --secondStyleColor: #4caf50;
  --bgCard: #243524;
  --bgAlt: #2a3c2a;
  --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;
}


.hd9 {
  background: var(--bodyBG);
  border-bottom: 1px solid rgba(128,128,128,.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.hd9__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.hd9__logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--textColor1);
  text-decoration: none;
}

/* Nav anchors */
.hd9__nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd9__link {
  color: var(--textColor1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color .2s ease;
}
.hd9__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--secondStyleColor);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.hd9__link:hover {
  color: var(--secondStyleColor);
}
.hd9__link:hover::after {
  transform: scaleX(1);
}

/* CTA button */
.hd9__cta {
  display: inline-block;
  padding: 8px 22px;
  background: var(--secondStyleColor);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
  transition: filter .2s ease;
  white-space: nowrap;
}
.hd9__cta:hover {
  filter: brightness(1.15);
}

/* Toggle */
.hd9__toggle {
  display: flex;
  background: none;
  border: 1px solid rgba(128,128,128,.25);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  color: var(--textColor1);
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease;
}
.hd9__toggle:hover {
  border-color: var(--secondStyleColor);
}

/* Panel */
.hd9__panel {
  position: absolute;
  top: 100%;
  right: 20px;
  background: var(--bodyBG);
  border: 1px solid rgba(128,128,128,.12);
  border-top: 2px solid var(--secondStyleColor);
  border-radius: 0 0 var(--borderRadius) var(--borderRadius);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease;
  opacity: 0;
  z-index: 99;
  min-width: 220px;
}
.hd9__panel.active {
  max-height: 500px;
  opacity: 1;
}
.hd9__panel ul {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}
.hd9__panel li + li {
  border-top: 1px solid rgba(128,128,128,.06);
}
.hd9__panel a {
  display: block;
  padding: 11px 22px;
  color: var(--textColor1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
  white-space: nowrap;
}
.hd9__panel a:hover {
  background: rgba(128,128,128,.07);
  color: var(--secondStyleColor);
  padding-left: 26px;
}

@media (max-width: 600px) {
  .hd9__nav { display: none; }
  .hd9__cta { display: none; }
}



  .grid-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    & h1 {
      text-transform: uppercase;
      font-weight: 900;
      color: var(--secondStyleColor);
    }
  }
  .fonImgGrid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, 1fr);
    gap: 0;
    z-index: 0;
    filter: grayscale(1) blur(5px);
    opacity: 0.3;

    /* ДВИЖЕНИЕ ФОНА */
    transform: scale(
      1.1
    ); /* чуть увеличим, чтобы при движении не было чёрных краёв */
    animation: grid-drift 30s linear infinite alternate;
  }

  @keyframes grid-drift {
    0% {
      transform: translate3d(-3%, -3%, 0) scale(1.1);
    }
    50% {
      transform: translate3d(3%, -1%, 0) scale(1.1);
    }
    100% {
      transform: translate3d(3%, 3%, 0) scale(1.1);
    }
  }

  /* каждая ячейка */
  .hero-image {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* сами картинки растягиваем под ячейку */
  .hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
  }

  /* контент поверх фона */
  .grid-hero > .container {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }

  .grid-hero a {
    width: fit-content;
  }

  .grid-hero p {
    max-width: 600px;
  }

  .grid-hero a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: var(--secondStyleColor);
    color: var(--textColor2);
    font-weight: 600;
  }

  /* маленькие телефоны */
  @media (max-width: 800px) {
    .fonImgGrid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: minmax(100px, 1fr);
      animation-duration: 65s;
    }

    .grid-hero h1 {
      font-size: 1.6rem;
    }

    .grid-hero p {
      font-size: 0.85rem;
    }

    .grid-hero a {
      text-align: center;
    }
  }



  :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 a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
    color: var(--textColor1);
    padding: 10px 24px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    background: color-mix(in srgb, var(--textColor1) 6%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--textColor1) 10%, transparent);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    overflow: hidden;
  }

  .toc a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--secondStyleColor);
    border-radius: 2px;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
  }

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

  .toc a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(
      circle at var(--x, 50%) var(--y, 50%),
      color-mix(in srgb, var(--secondStyleColor) 25%, transparent),
      transparent 70%
    );
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .toc a:hover::after,
  .toc a:focus::after {
    opacity: 1;
  }

  .toc a:hover,
  .toc a:focus {
    color: var(--textColor1);
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-color: color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    transform: translateY(-2px);
  }

  .toc .swiper-wrapper {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .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 {
      transform: none;
    }
  }



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

  .rv8__head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
  }

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

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

  /* Stats bar */
  .rv8__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 48px);
    padding: 24px 0;
    margin-bottom: 40px;
    border-top: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
  }

  .rv8__stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .rv8__stat-num {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--secondStyleColor);
    letter-spacing: -0.02em;
    line-height: 1;
  }

  .rv8__stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
  }

  .rv8__stat-divider {
    width: 1px;
    height: 40px;
    background: color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
  }

  /* Cards grid */
  .rv8__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .rv8__card {
    padding: 28px 24px 24px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .rv8__card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    box-shadow: 0 14px 40px color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
  }

  .rv8__quote-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rv8__quote-icon i {
    font-size: 14px;
    color: var(--secondStyleColor);
  }

  .rv8__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 80%, transparent);
    flex: 1;
  }

  .rv8__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
  }

  .rv8__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--secondStyleColor) 18%, transparent),
      color-mix(in srgb, var(--secondStyleColor) 8%, transparent));
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  .rv8__name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }

  .rv8__role {
    margin: 0;
    font-size: 12px;
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
  }

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

  @media (max-width: 600px) {
    .rv8 { padding: 48px 0; }
    .rv8__stats { gap: 20px; padding: 18px 0; margin-bottom: 28px; }
    .rv8__stat-num { font-size: 28px; }
    .rv8__card { padding: 22px 18px 20px; }
  }



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

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

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

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

  .rm4__zigzag {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
  }

  .rm4__row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
  }

  .rm4__row--alt {
    direction: rtl;
  }

  .rm4__row--alt .rm4__card {
    direction: ltr;
  }

  .rm4__row--alt .rm4__num {
    direction: ltr;
  }

  .rm4__num {
    width: 56px;
    height: 56px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    background: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .rm4__num span {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondStyleColor);
  }

  .rm4__card {
    padding: 18px 22px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255,255,255,0.02);
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

  .rm4__card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
  }

  .rm4__phase {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 6px;
  }

  .rm4__card h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
  }

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

  @media (max-width: 700px) {
    .rm4__row,
    .rm4__row--alt {
      direction: ltr;
      grid-template-columns: 48px 1fr;
    }
    .rm4__num { width: 48px; height: 48px; }
    .rm4__num span { font-size: 18px; }
  }

  @media (max-width: 600px) {
    .rm4 { padding: 48px 0; }
    .rm4__head { margin-bottom: 36px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .rm4__card { transition: none; }
  }



  /*  */
  #about {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--secondStyleColor) 10%, transparent) 80%,
      var(--bodyBG) 100%
    );
  }

  #about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    & h2 {
      text-align: center;
    }

    & p {
      text-align: center;
      text-wrap: balance;
    }
    & a {
      padding: 15px 40px;
      background-color: var(--secondStyleColor);
      border-radius: var(--borderRadius);
      color: var(--textColor2);
      font-size: 20px;
      font-weight: 700;
      transition: 0.2s all linear;
      &:hover {
        transform: translateY(-4px);
      }
    }
  }
  .ab-i-wr {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
    position: relative;
  }
  .ab-i-wr div:nth-of-type(1) {
    height: 400px;
    width: 300px;
    overflow: hidden;
    border-radius: 999px;
    & img {
      border-radius: inherit;
      object-fit: cover;
      width: 100%;
      height: 100%;
      object-position: 50% 20%;
      transition: 0.2s all linear;
      &:hover {
        transform: scale(1.1);
      }
    }
  }

  .ab-i-wr div:nth-of-type(2) {
    position: absolute;
    height: 300px;
    left: 10%;
    top: 10%;
    overflow: hidden;
    width: 300px;
    border-radius: 50%;
    & img {
      border-radius: inherit;
      object-fit: cover;
      width: 100%;
      height: 100%;
      object-position: 50% 20%;
      transition: 0.2s all linear;
      &:hover {
        transform: scale(1.1);
      }
    }
  }

  .ab-i-wr div:nth-of-type(3) {
    position: absolute;
    height: 300px;
    right: 10%;
    top: 10%;
    width: 300px;
    border-radius: 50%;
    overflow: hidden;

    & img {
      border-radius: inherit;
      object-fit: cover;
      width: 100%;
      height: 100%;
      object-position: 50% 20%;
      transition: 0.2s all linear;
      &:hover {
        transform: scale(1.1);
      }
    }
  }

  @media (max-width: 800px) {
    #about .container {
      flex-direction: column;
    }
    .ab-i-wr div:nth-of-type(2),
    .ab-i-wr div:nth-of-type(3) {
      display: none;
    }
  }



  /* ===== FEATURES v11 — Central image with floating pills ===== */

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

  .ft11__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
  }

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

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

  .ft11__showcase {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Central image */
  .ft11__center {
    position: relative;
    z-index: 1;
    width: min(380px, 50%);
  }

  .ft11__frame {
    border-radius: calc(var(--borderRadius) * 1.2);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    aspect-ratio: 3 / 4;
  }

  .ft11__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
  }

  .ft11__glow {
    position: absolute;
    inset: -30px;
    border-radius: 999px;
    background: var(--secondStyleColor);
    opacity: 0.06;
    filter: blur(60px);
    z-index: -1;
    animation: ft11Breathe 4s ease-in-out infinite alternate;
  }

  @keyframes ft11Breathe {
    0% { opacity: 0.04; transform: scale(0.95); }
    100% { opacity: 0.1; transform: scale(1.05); }
  }

  /* Floating pills */
  .ft11__pills {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  .ft11__pill {
    position: absolute;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 16%, transparent);
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
    max-width: 260px;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .ft11__pill:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 45%, transparent);
  }

  .ft11__pill--tl { top: 5%; left: 0; }
  .ft11__pill--tr { top: 10%; right: 0; }
  .ft11__pill--bl { bottom: 10%; left: 0; }
  .ft11__pill--br { bottom: 5%; right: 0; }

  .ft11__pill-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ft11__pill-icon i {
    font-size: 16px;
    color: var(--secondStyleColor);
  }

  .ft11__pill h3 {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 600;
  }

  .ft11__pill p {
    margin: 0;
    font-size: 12px;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
    line-height: 1.4;
  }

  /* Responsive */
  @media (max-width: 950px) {
    .ft11__pill {
      max-width: 220px;
      padding: 14px 16px;
    }

    .ft11__center {
      width: min(320px, 45%);
    }
  }

  @media (max-width: 800px) {
    .ft11__showcase {
      flex-direction: column;
      min-height: auto;
      gap: 24px;
    }

    .ft11__pills {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .ft11__pill {
      position: relative;
      top: auto;
      left: auto;
      right: auto;
      bottom: auto;
      max-width: 100%;
    }

    .ft11__center {
      width: min(340px, 80%);
    }
  }

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

    .ft11__head {
      margin-bottom: 36px;
    }

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

    .ft11__pills {
      grid-template-columns: 1fr;
    }

    .ft11__pill {
      padding: 14px 16px;
      gap: 12px;
    }

    .ft11__pill h3 {
      font-size: 14px;
    }

    .ft11__pill-icon {
      width: 36px;
      height: 36px;
    }

    .ft11__pill-icon i {
      font-size: 14px;
    }

    .ft11__center {
      width: min(280px, 85%);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ft11__glow {
      animation: none;
    }
    .ft11__pill {
      transition: none;
    }
  }



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

  .pl1__head {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 48px;
  }

  .pl1__kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 12px;
  }

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

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

  .pl1__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    align-items: start;
  }

  .pl1__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255,255,255,0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

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

  .pl1__card--featured {
    border-color: color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    box-shadow: 0 0 50px color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
  }

  .pl1__badge {
    position: absolute;
    top: 16px;
    right: -1px;
    padding: 5px 14px 5px 18px;
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--borderRadius) 0 0 var(--borderRadius);
  }

  .pl1__card-top i {
    font-size: 24px;
    color: var(--secondStyleColor);
    margin-bottom: 4px;
  }

  .pl1__card-top h3 {
    margin: 8px 0 4px;
    font-size: 20px;
    font-weight: 700;
  }

  .pl1__card-top p {
    margin: 0;
    font-size: 13px;
    color: color-mix(in srgb, var(--textColor1) 55%, transparent);
  }

  .pl1__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .pl1__amount {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    color: var(--secondStyleColor);
    line-height: 1;
  }

  .pl1__period {
    font-size: 14px;
    color: color-mix(in srgb, var(--textColor1) 45%, transparent);
  }

  .pl1__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pl1__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: color-mix(in srgb, var(--textColor1) 78%, transparent);
  }

  .pl1__list li i {
    font-size: 12px;
    color: var(--secondStyleColor);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
  }

  .pl1__list--off { opacity: 0.4; }
  .pl1__list--off i { color: color-mix(in srgb, var(--textColor1) 35%, transparent) !important; }

  .pl1__btn {
    display: block;
    text-align: center;
    padding: 12px 24px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    background: transparent;
    color: var(--textColor1);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
    margin-top: auto;
  }

  .pl1__btn:hover {
    background: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    border-color: color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
  }

  .pl1__btn--primary {
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    border-color: var(--secondStyleColor);
  }

  .pl1__btn--primary:hover {
    box-shadow: 0 8px 24px color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  @media (max-width: 900px) {
    .pl1__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pl1__card--featured { order: -1; }
  }

  @media (max-width: 600px) {
    .pl1 { padding: 48px 0; }
    .pl1__head { margin-bottom: 36px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .pl1__card, .pl1__btn { transition: none; }
  }



  /* ===== HOW v18 — Rotating border + spark icons ===== */

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

  .hw18__head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 55px;
  }

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

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

  .hw18__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  /* Card wrapper with animated border */
  .hw18__card {
    position: relative;
    border-radius: var(--borderRadius);
    padding: 2px;
    overflow: hidden;
  }

  .hw18__border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(
      from 0deg,
      transparent 0%,
      var(--secondStyleColor) 12%,
      transparent 24%,
      transparent 100%
    );
    animation: hw18Rotate 5s linear infinite;
    opacity: 0.3;
    transition: opacity 0.3s ease;
  }

  .hw18__card:hover .hw18__border {
    opacity: 0.8;
  }

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

  .hw18__inner {
    position: relative;
    background: var(--bodyBG);
    border-radius: calc(var(--borderRadius) - 2px);
    padding: 32px 24px 28px;
    text-align: center;
    height: 100%;
  }

  /* Icon box with sparks */
  .hw18__icon-box {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hw18__icon-box i {
    font-size: 24px;
    color: var(--secondStyleColor);
    transition: transform 0.3s ease;
  }

  .hw18__card:hover .hw18__icon-box i {
    transform: rotate(-10deg) scale(1.15);
  }

  /* Sparks */
  .hw18__spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--secondStyleColor);
    opacity: 0;
  }

  .hw18__card:hover .hw18__spark {
    animation: hw18Spark 0.8s ease forwards;
  }

  .hw18__spark--1 {
    top: 4px;
    right: 8px;
    animation-delay: 0s;
  }

  .hw18__spark--2 {
    top: -2px;
    left: 14px;
    animation-delay: 0.15s;
  }

  .hw18__spark--3 {
    bottom: 2px;
    right: 2px;
    animation-delay: 0.3s;
  }

  .hw18__card:hover .hw18__spark--2 {
    animation-delay: 0.15s;
  }

  .hw18__card:hover .hw18__spark--3 {
    animation-delay: 0.3s;
  }

  @keyframes hw18Spark {
    0% {
      opacity: 0;
      transform: scale(0) translate(0, 0);
    }
    50% {
      opacity: 1;
      transform: scale(1.2) translate(-4px, -8px);
    }
    100% {
      opacity: 0;
      transform: scale(0.6) translate(-8px, -16px);
    }
  }

  .hw18__num {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondStyleColor);
    opacity: 0.5;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }

  .hw18__inner h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
  }

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

  /* Responsive */
  @media (max-width: 950px) {
    .hw18__grid {
      gap: 18px;
    }

    .hw18__inner {
      padding: 26px 20px 24px;
    }

    .hw18__inner h3 {
      font-size: 17px;
    }
  }

  @media (max-width: 800px) {
    .hw18__grid {
      grid-template-columns: 1fr;
      max-width: 520px;
      margin: 0 auto;
    }
  }

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

    .hw18__head {
      margin-bottom: 36px;
    }

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

    .hw18__inner {
      padding: 24px 18px 20px;
    }

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

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

    .hw18__icon-box {
      width: 56px;
      height: 56px;
      margin-bottom: 16px;
    }

    .hw18__icon-box i {
      font-size: 20px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hw18__border {
      animation: none;
      opacity: 0.2;
      background: var(--secondStyleColor);
    }
    .hw18__card:hover .hw18__spark {
      animation: none;
    }
    .hw18__icon-box i {
      transition: none;
    }
  }



  .stats--dynamic-head {
    margin: 0 auto 45px auto;
  }
  .stats--dynamic {
    background: var(--bodyBG);
    h2,
    h2 + p {
      text-align: center;
    }
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }

  .stat-card--glow {
    backdrop-filter: blur(20px);
    border: 1px solid var(--secondStyleColor);

    border-radius: var(--borderRadius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }

  .stat-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }

  .stat-card__header h3 {
    color: var(--textColor1);
    margin: 0;
  }

  .live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondStyleColor);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--secondStyleColor);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  .stat-period {
    color: var(--secondStyleColor);
    font-size: 0.9rem;
  }

  .stat-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--secondStyleColor);
  }

  .stat-label {
    color: var(--textColor1);
    font-size: 0.9rem;
  }

  .stat-value {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--secondStyleColor);
  }

  .stat-suffix {
    color: var(--secondStyleColor);
    font-size: 0.9rem;
  }

  .players-list,
  .wins-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .player-item,
  .win-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: background 0.3s ease;
  }

  .player-item:hover,
  .win-item:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .player-rank {
    width: 24px;
    height: 24px;
    background: var(--secondStyleColor);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .player-name {
    flex: 1;
    color: var(--text-primary);
  }

  .player-win {
    color: var(--secondStyleColor);
    font-weight: 700;
  }

  .win-multiplier {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--secondStyleColor);
  }

  .win-details {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .win-amount {
    color: var(--text-primary);
    font-weight: 700;
  }

  .win-time {
    color: var(--secondStyleColor);
    font-size: 0.8rem;
  }

  @media (max-width: 800px) {
    .stats-grid {
      display: flex;
      flex-direction: column;
      width: inherit;
    }
  }



  :root {
    --images-amount: 6;
    --highlight: var(--secondStyleColor);
    --border-a: rgba(247, 176, 91, 0.16);
    --border-b: rgba(247, 147, 76, 0.16);
    --transition-duration: 620ms;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
  }

  .gallery {
    position: relative;
    width: 80%;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5em;
    padding: 10px;
    overflow: hidden;
    user-select: none;
  }

  #gallery .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .gallery-header {
    text-align: center;
    margin-bottom: 40px;
    & p {
      text-align: center;
      margin: 0 auto;
      text-wrap: balance;
    }
  }

  .gallery__image-wrapper {
    position: relative;
    cursor: pointer;
    padding-top: 75%;
    width: 100%;
    height: 0;
    transform-origin: 0 0;
    overflow: hidden;
    grid-row: span 2;
    grid-column: span 2;
    box-sizing: content-box;
    backface-visibility: hidden;
    perspective: 1px;
    transform: translate3d(0, 0, 1px);
    border-radius: var(--borderRadius);

    & img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      object-position: 50% 20%;
    }
  }

  .gallery__image-wrapper::before,
  .gallery__image-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .gallery__image-wrapper::after {
    background: #000;
    opacity: 0.33;
    z-index: 1;
    transform: translate(0, 0);
    transition: all 500ms ease-out;
  }

  .gallery__image-wrapper::before {
    opacity: 0;
    z-index: 2;
    background: var(--secondStyleColor);
    transition: all 160ms ease-in;
    mix-blend-mode: hard-light;
  }

  .gallery__image-wrapper:hover:not(.gallery__image-wrapper--selected)::before {
    opacity: 0.32;
  }

  .gallery__image-wrapper:nth-child(1) {
    order: 2;
  }
  .gallery__image-wrapper:nth-child(2) {
    order: 4;
  }
  .gallery__image-wrapper:nth-child(3) {
    order: 6;
  }
  .gallery__image-wrapper:nth-child(4) {
    order: 8;
  }
  .gallery__image-wrapper:nth-child(5) {
    order: 10;
  }
  .gallery__image-wrapper:nth-child(6) {
    order: 12;
  }

  .gallery__image {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    border-radius: var(--borderRadius);
    width: auto;
    transform: translate(-50%, -50%);
    transition: all 320ms ease;
  }

  .gallery__image-wrapper.gallery__image-wrapper--selected {
    grid-row: span 4;
    grid-column: span 4;
    z-index: 1;
  }

  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(
      odd
    )::after {
    transform: translate(0, 100%);
  }

  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(
      even
    )::after {
    transform: translate(100%, 0);
  }

  /* SCSS: &:nth-child(images-amount / 2) => 3 */
  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(3) {
    order: 3;
  }

  /* SCSS: &:nth-child(images-amount) => 6 */
  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(6) {
    order: 9;
  }

  /* ===== Mobile adaptive (paste at the end of your CSS) ===== */
  @media (max-width: 640px) {
    .gallery {
      width: 100%;
      max-width: 560px;
      gap: 0.35em;
      padding: 0.35em;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: none;
      grid-auto-rows: 1fr;
    }
    .gallery-header {
      margin-bottom: 20px;
    }

    .gallery__image-wrapper {
      grid-column: span 1;
      pointer-events: none;
      grid-row: span 1;
      padding-top: 78%;
    }

    /* выбранный элемент — на всю ширину */
    .gallery__image-wrapper.gallery__image-wrapper--selected {
      grid-column: 1 / -1;
      grid-row: span 2;
    }

    /* На мобиле лучше не мудрить с order — стабильно и предсказуемо */
    .gallery__image-wrapper {
      order: initial !important;
    }
    .gallery__image-wrapper.gallery__image-wrapper--selected {
      order: -1 !important; /* выбранная уедет вверх */
    }
  }

  /* Extra-small phones: 1 колонка */
  @media (max-width: 420px) {
    .gallery {
      grid-template-columns: 1fr;
    }

    .gallery__image-wrapper {
      grid-column: span 1;
      grid-row: span 1;
      padding-top: 75%;
    }

    .gallery__image-wrapper.gallery__image-wrapper--selected {
      grid-column: span 1;
      grid-row: span 1; /* чтобы не занимала слишком много */
    }
  }



  [data-accordion-element-content] {
    overflow: hidden;
    transition: height 0.5s;
  }

  :root {
    --bgHead: var(--bodyBG);
    --bgHeadHover_active: var(--secondStyleColor);
    --bgText: rgba(255, 255, 255, 0.1);
  }

  .faq h2 {
    text-align: center;
  }
  .card-faq {
    width: 90%;
    margin: 50px auto;
    border-radius: 2px;
    background: transparent;
    margin-top: 40px;
  }

  .faq-article {
    position: relative;
    transition: all 0.3s;
    background-color: transparent;
    border-radius: 0 0 12px 12px;
    -webkit-border-radius: 0 0 12px 12px;
    -moz-border-radius: 0 0 12px 12px;
    -ms-border-radius: 0 0 12px 12px;
    -o-border-radius: 0 0 12px 12px;
    p {
      padding: 10px 20px;
    }
  }

  .faq-article.selected {
    transform: scale(1.1);
    z-index: 2;
    background: var(--bgText);
  }

  .faq-h3 {
    position: relative;
    background: var(--bgHead);
    padding: 20px 75px 20px 20px;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    overflow: hidden;
    transition: background 0.3s;
    margin: 10px 0;
    cursor: pointer;
  }

  .faq-h3:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .selected .faq-h3 {
    cursor: pointer;
    background: var(--bgHeadHover_active);
    color: var(--bgHead);
    border: none;
  }

  .faq-h3:before,
  .faq-h3:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -1px;
    margin-right: 30px;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s;
  }

  .faq-h3:before {
    transform: rotate(0deg);
    animation: close-line-one-in 0.8s forwards;
  }

  .selected .faq-h3:before {
    animation: close-line-one-out 0.8s forwards;
    background: #000;
  }

  .faq-h3:after {
    transform: rotate(90deg);
    animation: close-line-two-in 0.8s forwards;
  }

  .selected .faq-h3:after {
    background: #000;
    animation: close-line-two-out 0.8s forwards;
  }

  .content {
    opacity: 0;
    transform: translateY(20px);
    transition: all ease-out 0.4s 0.1s;
  }

  .selected .content {
    transform: translateY(0);
    opacity: 1;
  }

  .faq-p {
    padding: 25px 30px 40px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
  }

  @keyframes close-line-one-out {
    0%,
    50% {
      transform: translateX(0);
    }
    75% {
      transform: translateX(50px);
    }
    76% {
      transform: translateX(50px) translateY(50px);
    }
    100% {
      transform: rotate(45deg);
    }
  }

  @keyframes close-line-one-in {
    0%,
    20% {
      transform: rotate(45deg);
    }
    60% {
      transform: translateX(50px) translateY(50px) rotate(45deg);
    }
    61% {
      transform: translateX(50px);
    }
    100% {
      transform: rotate(0deg);
    }
  }

  @keyframes close-line-two-out {
    0%,
    50% {
      transform: rotate(90deg);
    }
    75% {
      transform: translateY(-50px) rotate(90deg);
    }
    76% {
      transform: translateY(-50px) translateX(50px) rotate(90deg);
    }
    100% {
      transform: rotate(135deg);
    }
  }

  @keyframes close-line-two-in {
    0% {
      transform: rotate(135deg);
    }
    50% {
      transform: translateY(-50px) translateX(50px) rotate(135deg);
    }
    51% {
      transform: translateY(-50px) rotate(90deg);
    }
    100% {
      transform: rotate(90deg);
    }
  }

  @media screen and (max-width: 750px) {
    .card-faq {
      width: 90%;
    }
  }



  /* ===== 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}