
:root {
  --bg: #130f1d;
  --bg-card: #1e1730;
  --text: #e0d4f5;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #9b59b6;
  --accent-rgb: 155,89,182;
  --accent2: #b65d59;
  --accent2-rgb: 182,93,89;
  --accent3: #6b75be;
  --accent3-rgb: 107,117,190;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Space Grotesk', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --bodyBG: #130f1d;
  --textColor1: #e0d4f5;
  --textColor2: #ffffff;
  --textSecondary: #ada3bf;
  --textMuted: #7a7289;
  --secondStyleColor: #9b59b6;
  --bgCard: #1e1730;
  --bgAlt: #231f2e;
  --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;
}
@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;
}
.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; }


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



  .xR9cF_sec {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 56px 18px 46px;
    color: var(--textColor1);
    background: radial-gradient(
        1200px 420px at 50% -30%,
        color-mix(in srgb, var(--secondStyleColor) 14%, transparent),
        transparent 60%
      ),
      radial-gradient(
        900px 520px at 50% 30%,
        color-mix(in srgb, var(--secondStyleColor) 14%, transparent),
        transparent 55%
      ),
      linear-gradient(180deg, #0b0b12 0%, #07070c 60%, #050508 100%);
    overflow: hidden;
  }
  .xR9cF_sec .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    a {
      margin-top: 40px;
      padding: 15px 60px;
      color: var(--textColor1);
      text-transform: uppercase;
      border-radius: var(--borderRadius);
      border: 1px solid var(--secondStyleColor);
      font-weight: 500;
      transition: 0.2s all linear;
    }
    a:hover {
      padding: 15px 80px;
    }
  }
  .xR9cF_head {
    text-align: center;
    user-select: none;
  }
  .xR9cF_title {
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.3px;
  }
  .xR9cF_sub {
    margin: 8px 0 0;
    opacity: 0.8;
  }

  .xR9cF_stage {
    position: relative;
    width: min(1240px, 100%);
    margin: 0 auto;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    outline: none;
    touch-action: pan-y;
  }

  .xR9cF_flow {
    position: relative;
    width: 100%;
    height: 420px;
    transform-style: preserve-3d;
  }

  /* FIXED geometry -> perfect symmetry */
  .xR9cF_item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 340px;
    height: 450px;
    transform-style: preserve-3d;
    transform-origin: center center;
    margin-left: -170px;
    margin-top: -195px;
    will-change: transform, opacity;
    transition: transform 560ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 560ms,
      filter 560ms;
    cursor: pointer;
    user-select: none;
  }

  .xR9cF_card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
    transform: translateZ(0);
  }

  .xR9cF_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
    border-radius: var(--borderRadius);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: auto;
  }

  .xR9cF_ref {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 16px);
    height: 170px;
    overflow: hidden;
    border-radius: 16px;
    opacity: 0.1;
    pointer-events: none;

    /* фон = картинка, ставится из JS */
    background-image: var(--xR9cF_refimg);
    background-size: cover;
    background-position: center;

    /* переворачиваем как отражение */
    transform: scaleY(-1) translateZ(0);
    /* filter: blur(2px); */
  }

  .xR9cF_ref::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 8, 0) 0%,
      rgba(5, 5, 8, 0.35) 40%,
      rgba(5, 5, 8, 0.85) 75%,
      rgba(5, 5, 8, 1) 100%
    );
  }
  .xR9cF_imgRef {
    transform: scaleY(-1);
    filter: blur(0.2px);
  }
  .xR9cF_ref::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 8, 0) 0%,
      rgba(5, 5, 8, 0.35) 40%,
      rgba(5, 5, 8, 0.85) 75%,
      rgba(5, 5, 8, 1) 100%
    );
  }

  /* dots */
  .xR9cF_dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 60;
  }
  .xR9cF_dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: transform 220ms, background 220ms, opacity 220ms;
    opacity: 0.9;
  }
  .xR9cF_dot.isOn {
    background: rgba(255, 255, 255, 0.92);
    transform: scale(1.15);
  }

  @media (max-width: 920px) {
    .xR9cF_item {
      width: 280px;
      height: 330px;
      margin-left: -140px;
      margin-top: -165px;
    }
    .xR9cF_stage {
      height: 320px;
    }
    .xR9cF_flow {
      height: 380px;
    }
  }
  @media (max-width: 520px) {
    .xR9cF_item {
      width: 250px;
      height: 320px;
      margin-left: -115px;
      margin-top: -135px;
    }

    .xR9cF_ref {
      height: 140px;
    }
  }



  :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;
  }

  .toc {
    background-color: transparent;
  }

  .toc a {
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
    color: var(--textColor1);
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    border: 2px dotted var(--secondStyleColor);
    padding: 10px 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    background-color: var(--itemBgColor);
  }

  .toc a:active,
  .toc a:hover,
  .toc a:focus {
    color: var(--textColor1);
    background-color: rgba(17, 17, 17, 0.2);
  }

  .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;
    }
  }



  /* ===== ROADMAP v8 — Metro-style horizontal line with nodes + cards ===== */

  .rm8 {
    padding: clamp(70px, 8vw, 110px) 0;
    color: var(--textColor1);
    overflow: hidden;
  }

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

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

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

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

  /* Metro container */
  .rm8__metro {
    max-width: 960px;
    margin: 0 auto;
  }

  /* SVG line */
  .rm8__line {
    width: 100%;
    height: 80px;
    display: block;
    margin-bottom: 24px;
  }

  .rm8__rail {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 3;
    stroke-linecap: round;
  }

  .rm8__rail--active {
    stroke: var(--secondStyleColor);
    stroke-dasharray: 580;
    stroke-dashoffset: 0;
    opacity: 0.3;
  }

  .rm8__node {
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
  }

  .rm8__node--done {
    fill: color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    stroke: var(--secondStyleColor);
  }

  .rm8__node--current {
    fill: transparent;
    stroke: var(--secondStyleColor);
    stroke-width: 2.5;
  }

  .rm8__inner {
    fill: var(--secondStyleColor);
  }

  .rm8__inner--pulse {
    fill: var(--secondStyleColor);
    animation: rm8Pulse 2s ease-in-out infinite;
  }

  @keyframes rm8Pulse {
    0%, 100% { r: 4; opacity: 1; }
    50% { r: 7; opacity: 0.5; }
  }

  /* Cards grid */
  .rm8__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .rm8__card {
    position: relative;
    padding: 22px 20px;
    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;
    overflow: hidden;
  }

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

  .rm8__card--active {
    border-color: color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--secondStyleColor) 6%, transparent),
      transparent
    );
  }

  .rm8__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 16%, transparent);
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
    margin-bottom: 14px;
  }

  .rm8__tag--done {
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    color: var(--secondStyleColor);
    border-color: color-mix(in srgb, var(--secondStyleColor) 28%, transparent);
  }

  .rm8__tag--active {
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    border-color: var(--secondStyleColor);
  }

  .rm8__card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
  }

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

  .rm8__card-ico {
    position: absolute;
    bottom: 14px;
    right: 16px;
    font-size: 28px;
    color: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    transition: color 0.3s ease;
    pointer-events: none;
  }

  .rm8__card:hover .rm8__card-ico {
    color: color-mix(in srgb, var(--secondStyleColor) 18%, transparent);
  }

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

    .rm8__line {
      display: none;
    }
  }

  @media (max-width: 800px) {
    .rm8__card h3 {
      font-size: 15px;
    }

    .rm8__card p {
      font-size: 12px;
    }
  }

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

    .rm8__head {
      margin-bottom: 36px;
    }

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

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

    .rm8__card {
      padding: 18px 16px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .rm8__inner--pulse {
      animation: none;
    }

    .rm8__card,
    .rm8__card-ico {
      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;
    }
  }



  .jaifsdlliweif .container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
    align-items: stretch;
  }
  .jaifsdlliweifContainer {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }
  .about-left {
    flex: 0 0 60%;
    height: 600px;
    img {
      height: 100%;
      width: 100%;
      border-radius: var(--borderRadius);
      object-fit: cover;
      object-position: 50% 20%;
    }
  }

  .about-right {
    display: flex;
    flex-direction: column;
    flex: 0 0 40%;
  }
  .about-righr-img {
    height: 300px;
    img {
      height: 100%;
      width: 100%;
      border-radius: var(--borderRadius);
      object-fit: cover;
      object-position: 50% 20%;
    }
  }
  .iiyyru {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    justify-content: center;
    && a {
      padding: 12px 20px;
      background-color: var(--secondStyleColor);
      width: fit-content;
      border-radius: var(--borderRadius);
      color: var(--bodyBG);
      font-weight: 800;
      cursor: pointer;
      border: 1px solid transparent;
      transition: 0.2s all linear;
      &&:hover {
        color: var(--textColor1);
        background-color: transparent;
        border: 1px solid var(--secondStyleColor);
      }
    }
  }

  @media (max-width: 800px) {
    .jaifsdlliweif .container {
      flex-direction: column;
    }
    .about-right {
      flex-direction: column-reverse;
    }
  }



.feat22{
  position:relative;
  padding:8rem 2rem;
  overflow:hidden;
  background:var(--bodyBG);
}

.feat22__circle{
  position:absolute;
  border-radius:50%;
  border:1px solid var(--borderSubtle);
  pointer-events:none;
  opacity:.4;
}
.feat22__circle--1{
  width:600px;height:600px;
  top:-15%;right:-10%;
  animation:feat22rotate 60s linear infinite;
}
.feat22__circle--2{
  width:400px;height:400px;
  bottom:-10%;left:-5%;
  animation:feat22rotate 45s linear infinite reverse;
}
@keyframes feat22rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}

.feat22__container{position:relative;z-index:1;max-width:1100px}

.feat22__header{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:2rem;
  margin-bottom:4rem;
  flex-wrap:wrap;
}
.feat22__header-left{max-width:550px}
.feat22__label{
  font-size:.65rem;font-weight:800;
  letter-spacing:.25em;text-transform:uppercase;
  color:var(--secondStyleColor);
  margin-bottom:1rem;
}
.feat22 h2{color:var(--textColor1)}
.feat22__header-right{max-width:350px}
.feat22__header-right p{
  color:var(--textSecondary);
  font-style:italic;
}

.feat22__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  perspective:1200px;
}

.feat22__card{
  position:relative;
  background:var(--bgCard);
  border:1px solid var(--borderSubtle);
  border-radius:var(--borderRadius);
  padding:2.5rem 2rem;
  transform-style:preserve-3d;
  transition:transform .4s cubic-bezier(.4,0,.2,1),box-shadow .4s ease;
  cursor:default;
  opacity:0;transform:translateY(30px) rotateX(5deg);
}
.feat22__card.visible{opacity:1;transform:translateY(0) rotateX(0)}
.feat22__card:hover{
  transform:translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow:0 20px 50px rgba(0,0,0,.1);
}

.feat22__card::before{
  content:'';position:absolute;
  top:0;left:1.5rem;right:1.5rem;
  height:3px;border-radius:0 0 3px 3px;
  transform:scaleX(0);
  transition:transform .3s ease;
  transform-origin:left;
}
.feat22__card:hover::before{transform:scaleX(1)}
.feat22__card:nth-child(1)::before,.feat22__card:nth-child(5)::before{background:var(--secondStyleColor)}
.feat22__card:nth-child(2)::before,.feat22__card:nth-child(4)::before{background:var(--accent2)}
.feat22__card:nth-child(3)::before,.feat22__card:nth-child(6)::before{background:var(--accent3)}

.feat22__card-number{
  font-size:4rem;font-weight:800;
  line-height:1;
  color:var(--bgAlt);
  margin-bottom:1.5rem;
  transition:color .3s;
}
.feat22__card:nth-child(1):hover .feat22__card-number,
.feat22__card:nth-child(5):hover .feat22__card-number{color:var(--secondStyleColor);opacity:.15}
.feat22__card:nth-child(2):hover .feat22__card-number,
.feat22__card:nth-child(4):hover .feat22__card-number{color:var(--accent2);opacity:.15}
.feat22__card:nth-child(3):hover .feat22__card-number,
.feat22__card:nth-child(6):hover .feat22__card-number{color:var(--accent3);opacity:.15}

.feat22__card-icon{
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;
  border-radius:10px;
  font-size:1rem;
  margin-bottom:1.2rem;
  transition:transform .3s;
}
.feat22__card:hover .feat22__card-icon{transform:scale(1.1) rotate(-5deg)}
.feat22__card-icon--1{background:rgba(var(--accent-rgb),.08);color:var(--secondStyleColor)}
.feat22__card-icon--2{background:rgba(var(--accent2-rgb),.08);color:var(--accent2)}
.feat22__card-icon--3{background:rgba(var(--accent3-rgb),.08);color:var(--accent3)}

.feat22__card h3{color:var(--textColor1);margin-bottom:.6rem}
.feat22__card > p{color:var(--textSecondary);font-size:.88rem;line-height:1.75}

@media(max-width:900px){.feat22__grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.feat22__grid{grid-template-columns:1fr}.feat22__header{flex-direction:column}}

@media(prefers-reduced-motion:reduce){
  .feat22__circle,
  .feat22__card{animation:none!important;opacity:1;transform:none;transition:none}
}



  /*  */
  .plx-tableSection {
    color: var(--textColor1);
  }

  .plx-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .plx-head p {
    opacity: 0.8;
    text-wrap: balance;
  }

  .plx-table {
    display: grid;
    gap: 12px;
  }

  .plx-row {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--borderRadius);
    border: 1px solid var(--secondStyleColor);
    background: rgba(0, 0, 0, 0.12);
  }

  .plx-row--head {
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
  }

  .plx-row--spot {
    border-width: 2px;
    background: rgba(0, 0, 0, 0.22);
  }

  .plx-row div:last-child {
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  @media (max-width: 800px) {
    .plx-row {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .plx-row--head {
      display: none;
    }

    .plx-row div {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 6px;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    }

    .plx-row div:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .plx-row div::before {
      content: attr(data-label);
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 11px;
      opacity: 0.7;
    }
  }



  /* ===== REVIEWS v15 — Featured spotlight + stacked side cards ===== */

  .rv15 {
    position: relative;
    padding: clamp(70px, 8vw, 110px) 0;
    color: var(--textColor1);
    overflow: hidden;
  }

  .rv15__dots {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--secondStyleColor) 6%, transparent);
    pointer-events: none;
    z-index: 0;
  }

  .rv15 .container {
    position: relative;
    z-index: 1;
  }

  /* Head */
  .rv15__head {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 50px;
  }

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

  .rv15__head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

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

  /* Layout */
  .rv15__layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
  }

  /* Featured */
  .rv15__featured {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--borderRadius);
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease;
  }

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

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

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

  .rv15__quote {
    margin: 0;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.65;
    color: color-mix(in srgb, var(--textColor1) 88%, transparent);
  }

  .rv15__stars {
    display: flex;
    gap: 3px;
  }

  .rv15__stars i {
    font-size: 15px;
    color: var(--secondStyleColor);
  }

  .rv15__stars--sm i {
    font-size: 12px;
  }

  .rv15__author {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .rv15__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid
      color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    flex-shrink: 0;
  }

  .rv15__avatar--lg {
    width: 54px;
    height: 54px;
  }

  .rv15__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rv15__author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
  }

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

  /* Side cards */
  .rv15__stack {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
  }

  .rv15__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(18px, 2.5vw, 24px);
    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;
  }

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

  .rv15__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

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

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

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

    .rv15__head {
      margin-bottom: 36px;
    }

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

    .rv15__featured {
      padding: 24px;
    }

    .rv15__quote {
      font-size: 16px;
    }

    .rv15__card-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
  }

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



  .pt4 {
    color: var(--textColor1);
  }

  .pt4__strip {
    border-top: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    padding: clamp(36px, 5vw, 60px) 0;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.01),
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.01));
  }

  .pt4__inner {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
  }

  .pt4__logo-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 16%, transparent);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.3s ease, transform 0.3s ease;
  }

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

  .pt4__logo-box img {
    max-width: 180px;
    max-height: 60px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  }

  .pt4__divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--secondStyleColor), transparent);
    opacity: 0.3;
    flex-shrink: 0;
  }

  .pt4__body {
    flex: 1;
    min-width: 0;
  }

  .pt4__body h2 {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
  }

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

  .pt4__trust {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pt4__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
  }

  .pt4__trust-item i {
    font-size: 14px;
    color: var(--secondStyleColor);
    width: 18px;
    text-align: center;
  }

  @media (max-width: 900px) {
    .pt4__inner { flex-wrap: wrap; justify-content: center; text-align: center; }
    .pt4__divider { display: none; }
    .pt4__body { flex-basis: 100%; order: -1; }
    .pt4__trust { flex-direction: row; gap: 16px; }
  }

  @media (max-width: 600px) {
    .pt4__strip { padding: 32px 0; }
    .pt4__logo-box { padding: 16px 24px; }
    .pt4__logo-box img { max-width: 140px; }
    .pt4__trust { flex-wrap: wrap; justify-content: center; }
  }

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



  :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; /* чтобы не занимала слишком много */
    }
  }



  .containerFAQ {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faq h2 {
    text-align: center;
  }

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

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

  .accord__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 32px;
    border: 4px solid var(--secondStyleColor);
    border-radius: var(--borderRadius);
  }

  .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(--textColor1) !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;
    }
  }



  .ft8 {
    position: relative;
    padding: 0 20px 28px;
    color: var(--textColor1);
    overflow: hidden;
  }

  /* ── Animated Top Border ── */
  .ft8__border {
    height: 3px;
    background: linear-gradient(
      90deg,
      var(--secondStyleColor),
      var(--accent2),
      var(--secondStyleColor),
      var(--accent2),
      var(--secondStyleColor)
    );
    background-size: 300% 100%;
    animation: ft8BorderFlow 6s linear infinite;
    margin-bottom: 48px;
  }

  @keyframes ft8BorderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
  }

  /* ── Container ── */
  .ft8 .container {
    position: relative;
    z-index: 1;
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* ── Logo ── */
  .ft8__logo {
    text-decoration: none;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--secondStyleColor), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.25s ease;
  }

  .ft8__logo:hover {
    opacity: 0.8;
  }

  /* ── Description ── */
  .ft8__desc {
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
    max-width: 380px;
    margin: 0 0 28px;
  }

  /* ── Divider ── */
  .ft8__divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondStyleColor), var(--accent2));
    border-radius: 2px;
    margin-bottom: 28px;
    animation: ft8DividerPulse 3s ease-in-out infinite;
  }

  @keyframes ft8DividerPulse {
    0%, 100% { width: 60px; opacity: 0.6; }
    50% { width: 100px; opacity: 1; }
  }

  /* ── Navigation ── */
  .ft8__nav {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
  }

  .ft8__nav a {
    position: relative;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }

  .ft8__nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--secondStyleColor), var(--accent2));
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }

  .ft8__nav a:hover {
    color: var(--textColor1);
  }

  .ft8__nav a:hover::after {
    transform: scaleX(1);
  }

  /* ── Social ── */
  .ft8__social {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
  }

  .ft8__social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--textColor1) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--textColor1) 10%, transparent);
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .ft8__social a:hover {
    color: var(--secondStyleColor);
    border-color: var(--secondStyleColor);
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
  }

  /* ── Bottom ── */
  .ft8__bottom {
    display: flex;
    align-items: center;
  }

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

  /* ── Responsive ── */
  @media (max-width: 800px) {
    .ft8__border {
      margin-bottom: 36px;
    }

    .ft8__nav {
      gap: 20px;
    }
  }

  @media (max-width: 600px) {
    .ft8 {
      padding: 0 16px 20px;
    }

    .ft8__border {
      margin-bottom: 32px;
    }

    .ft8__logo {
      font-size: 22px;
    }

    .ft8__desc {
      font-size: 13px;
    }

    .ft8__nav {
      gap: 16px;
    }

    .ft8__nav a {
      font-size: 12px;
    }

    .ft8__social a {
      width: 38px;
      height: 38px;
      font-size: 14px;
    }

    .ft8__social {
      gap: 10px;
    }
  }

  /* ── Reduced Motion ── */
  @media (prefers-reduced-motion: reduce) {
    .ft8__border {
      animation: none;
    }

    .ft8__divider {
      animation: none;
    }

    .ft8__social a,
    .ft8__nav a,
    .ft8__nav a::after,
    .ft8__logo {
      transition: none;
    }
  }



[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}