
:root {
  --bg: #0d1012;
  --bg-card: #181d20;
  --text: #e3e6e8;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #e3639b;
  --accent-rgb: 227,99,155;
  --accent2: #e3d663;
  --accent2-rgb: 227,214,99;
  --accent3: #c979e7;
  --accent3-rgb: 201,121,231;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Bricolage Grotesque', sans-serif;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --bodyBG: #0d1012;
  --textColor1: #e3e6e8;
  --textColor2: #111111;
  --textSecondary: #aeb1b3;
  --textMuted: #787b7d;
  --secondStyleColor: #e3639b;
  --bgCard: #181d20;
  --bgAlt: #1e2123;
  --borderSubtle: rgba(255,255,255,0.08);
  --borderRadius: 12px;
  --maxWidthContainer: 1200px;
  --scrollbarBg: rgba(255,255,255,0.1);
  --itemBgColor: transparent;
}

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

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

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

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

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

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

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

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

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

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


  /* ===== HEADER v6 — Glass floating bar + glow line ===== */

  .hd6 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 16px 0;
    transition: padding 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .hd6.scrolled {
    padding: 0;
  }

  .hd6__bar {
    position: relative;
    background: color-mix(in srgb, var(--bodyBG) 75%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-radius: var(--borderRadius);
    overflow: hidden;
    transition: border-radius 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .hd6.scrolled .hd6__bar {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  /* Scanline overlay */
  .hd6__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      color-mix(in srgb, var(--textColor1) 2%, transparent) 2px,
      color-mix(in srgb, var(--textColor1) 2%, transparent) 4px
    );
    pointer-events: none;
    z-index: 1;
  }

  .hd6__wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 20px;
    z-index: 2;
  }

  /* Glow line */
  .hd6__glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--secondStyleColor),
      var(--accent2),
      var(--secondStyleColor),
      transparent
    );
    background-size: 200% 100%;
    animation: hd6-glow-slide 3s linear infinite;
  }

  @keyframes hd6-glow-slide {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* Logo */
  .hd6__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 */
  .hd6__nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .hd6__nav .hd6__link {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
    text-decoration: none;
    border-radius: var(--borderRadius);
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
  }

  .hd6__nav .hd6__link:hover {
    color: var(--textColor1);
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
  }

  .hd6__nav .hd6__link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondStyleColor);
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
  }

  .hd6__nav .hd6__link:hover::after {
    width: 60%;
    left: 20%;
  }

  /* CTA button — gradient */
  .hd6__cta {
    padding: 10px 24px;
    border-radius: var(--borderRadius);
    background: linear-gradient(135deg, var(--secondStyleColor), var(--accent2));
    color: var(--bodyBG);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

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

  /* Burger — hidden on desktop */
  .hd6__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 9px;
    background: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    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, background 0.25s ease;
  }

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

  .hd6__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 — X shape */
  .hd6__burger.active .hd6__burger-line:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .hd6__burger.active .hd6__burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

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

  /* Mobile overlay — glass */
  .hd6__mobile {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: color-mix(in srgb, var(--bodyBG) 92%, transparent);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
  }

  .hd6__mobile.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hd6__mobile-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

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

  .hd6__mobile li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .hd6__mobile.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .hd6__mobile.active li:nth-child(1) { transition-delay: 0.08s; }
  .hd6__mobile.active li:nth-child(2) { transition-delay: 0.14s; }
  .hd6__mobile.active li:nth-child(3) { transition-delay: 0.20s; }
  .hd6__mobile.active li:nth-child(4) { transition-delay: 0.26s; }

  .hd6__mobile .hd6__link {
    font-size: 24px;
    font-weight: 600;
    color: var(--textColor1);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--borderRadius);
    transition: color 0.2s ease, background 0.2s ease;
  }

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

  .hd6__mobile-cta {
    padding: 16px 36px;
    border-radius: var(--borderRadius);
    background: linear-gradient(135deg, var(--secondStyleColor), var(--accent2));
    color: var(--bodyBG);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .hd6__mobile.active .hd6__mobile-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
  }

  .stopScroll {
    overflow: hidden;
  }

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

    .hd6__cta {
      display: none;
    }

    .hd6__burger {
      display: flex;
    }

    .hd6 {
      padding: 8px 10px 0;
    }

    .hd6.scrolled {
      padding: 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hd6,
    .hd6__bar,
    .hd6__mobile,
    .hd6__mobile li,
    .hd6__mobile-cta,
    .hd6__burger-line,
    .hd6__burger,
    .hd6__cta,
    .hd6__nav .hd6__link,
    .hd6__nav .hd6__link::after {
      transition: none;
    }

    .hd6__glow {
      animation: 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;
    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: color-mix(in srgb, var(--textColor1) 65%, transparent);
    padding: 10px 24px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    background-color: var(--itemBgColor);
    border: none;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
  }

  .toc a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--secondStyleColor);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .toc a:hover::after,
  .toc a:focus::after {
    transform: scaleX(1);
  }

  .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::after {
      transition: none;
      -webkit-transition: none;
      -moz-transition: none;
      -ms-transition: none;
      -o-transition: none;
    }
  }



  /* ===========================
     Reviews 17 — Constellation Network
     Animated SVG mesh background + rotating gradient card borders
     =========================== */

  @property --rv17-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }

  .rv17 {
    position: relative;
    padding: clamp(56px, 6vw, 100px) 0;
    overflow: hidden;
    color: var(--textColor1);
    background:
      radial-gradient(
        1200px 700px at 20% 20%,
        color-mix(in srgb, var(--secondStyleColor) 6%, transparent) 0%,
        transparent 60%
      ),
      radial-gradient(
        1000px 600px at 80% 80%,
        color-mix(in srgb, var(--secondStyleColor) 5%, transparent) 0%,
        transparent 65%
      ),
      var(--bodyBG);
  }

  /* SVG constellation background */
  .rv17__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  /* Header */
  .rv17__head {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-bottom: 48px;
    text-align: center;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  .rv17__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
  }

  .rv17__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
  }

  .rv17__sub {
    margin: 0;
    color: var(--textColor1);
    line-height: 1.55;
  }

  /* Grid */
  .rv17__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Card — wrapper for rotating border */
  .rv17__card {
    position: relative;
    border-radius: var(--borderRadius);
  }

  /* Rotating conic-gradient border */
  .rv17__border {
    position: absolute;
    inset: 0;
    border-radius: var(--borderRadius);
    padding: 1.5px;
    background: conic-gradient(
      from var(--rv17-angle),
      transparent 0%,
      var(--secondStyleColor) 6%,
      color-mix(in srgb, var(--secondStyleColor) 55%, transparent) 14%,
      transparent 26%
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  .rv17__card:hover .rv17__border {
    opacity: 1;
    animation: rv17-rotate 4s linear infinite;
  }

  @keyframes rv17-rotate {
    to {
      --rv17-angle: 360deg;
    }
  }

  /* Card inner content */
  .rv17__inner {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: var(--borderRadius);
    background: color-mix(in srgb, var(--bodyBG) 78%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition:
      border-color 0.4s ease,
      box-shadow 0.4s ease,
      transform 0.4s cubic-bezier(0.33, 1, 0.53, 1);
  }

  .rv17__card:hover .rv17__inner {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow:
      0 10px 36px color-mix(in srgb, var(--secondStyleColor) 12%, transparent),
      0 0 0 1px color-mix(in srgb, var(--secondStyleColor) 6%, transparent);
  }

  /* Stars */
  .rv17__stars {
    display: flex;
    gap: 3px;
    font-size: 14px;
    color: var(--secondStyleColor);
  }

  /* Text */
  .rv17__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--textColor1);
    opacity: 0.85;
    flex: 1;
  }

  /* Author */
  .rv17__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
  }

  .rv17__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--secondStyleColor);
  }

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

  .rv17__role {
    margin: 0;
    font-size: 12px;
    color: var(--textColor1);
    opacity: 0.6;
    line-height: 1.4;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rv17__bg * {
      animation: none !important;
    }
    .rv17__border {
      animation: none !important;
    }
    .rv17__inner {
      transition: none !important;
    }
  }

  /* Responsive — tablets */
  @media (max-width: 950px) {
    .rv17__grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
    }
    .rv17__inner {
      padding: 24px 20px 20px;
    }
  }

  /* Responsive — small tablets */
  @media (max-width: 800px) {
    .rv17__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Responsive — mobile */
  @media (max-width: 600px) {
    .rv17__grid {
      grid-template-columns: 1fr;
      max-width: 460px;
      margin-left: auto;
      margin-right: auto;
    }
    .rv17__inner {
      padding: 22px 18px 20px;
    }
  }



  /* ===== HOW IT WORKS SECTION ===== */

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

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

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

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

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

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

  /* Steps */
  .howSteps {
    list-style: none;
    padding: 0;
    margin: 35px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .howStepItem {
    position: relative;
    border-radius: var(--borderRadius);
    padding: 24px 20px 22px 20px;
    border: 1px solid var(--secondStyleColor);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    transition: 0.2s ease;
  }

  .howStepItem::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at top center,
      color-mix(in srgb, var(--secondStyleColor) 18%, transparent),
      transparent 55%
    );
    opacity: 0;
    transition: 0.25s ease;
    pointer-events: none;
  }

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

  .howStepItem:hover::before {
    opacity: 1;
  }

  /* Badge + text */
  .howStepBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--secondStyleColor);
    font-size: 14px;
    font-weight: 700;
    color: var(--secondStyleColor);
    margin-bottom: 14px;
  }

  .howStepTitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
  }

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

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

    .howStepItem {
      padding: 22px 18px;
    }
  }



  /*  */
  .qx-plans {
    color: var(--textColor1);
  }

  .qx-shell {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .qx-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }

  .qx-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--secondStyleColor);
    margin-bottom: 8px;
  }

  .qx-sub {
    max-width: 420px;
    text-wrap: balance;
    opacity: 0.8;
  }

  .qx-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    position: relative;
  }

  .qx-card {
    position: relative;
    z-index: 1;
    border-radius: var(--borderRadius);
    padding: 26px 26px 28px;
    border: 1px solid var(--secondStyleColor);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(0, 0, 0, 0.12);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .qx-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }

  .qx-card--core {
    background: var(--secondStyleColor);
    color: var(--textColor2);
    border-color: transparent;
    transform: translateY(-10px);
  }

  .qx-card--core .qx-btn {
    border-color: var(--textColor2);
    color: var(--textColor2);
  }

  .qx-flag {
    position: absolute;
    top: 14px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--textColor2);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .qx-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }

  .qx-price {
    font-size: 30px;
    font-weight: 700;
  }

  .qx-note {
    font-size: 13px;
    opacity: 0.85;
  }

  .qx-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
  }

  .qx-list li {
    padding-left: 18px;
    position: relative;
  }

  .qx-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 2px;
    background: currentColor;
    opacity: 0.7;
  }

  .qx-btn {
    align-self: flex-start;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--secondStyleColor);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: inherit;
    transition: transform 0.2s ease;
  }

  .qx-btn--dark {
    background: rgba(0, 0, 0, 0.25);
  }

  .qx-btn:hover {
    transform: translateY(-2px);
  }

  .qx-foot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .qx-link {
    padding: 8px 18px;
    border-radius: var(--borderRadius);
    border: 1px solid var(--secondStyleColor);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--textColor1);
    transition: transform 0.2s ease;
  }

  .qx-link:hover {
    transform: translateY(-2px);
  }

  @media (max-width: 900px) {
    .qx-head {
      flex-direction: column;
      align-items: flex-start;
    }
  }

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

    .qx-card--core {
      transform: none;
    }
  }



  /* ===== ABOUT v18 — Bento grid with mixed content cells ===== */

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

  .ab18__bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
  }

  /* Cell base */
  .ab18__cell {
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
    transition: border-color 0.3s ease;
  }

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

  /* Hero image — spans 2 cols, 2 rows */
  .ab18__cell--hero {
    grid-column: span 2;
    grid-row: span 2;
    padding: 0;
    aspect-ratio: auto;
  }

  .ab18__cell--hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
  }

  .ab18__cell--hero:hover img {
    transform: scale(1.04);
  }

  /* Intro text — spans 2 cols */
  .ab18__cell--intro {
    grid-column: span 2;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .ab18__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
  }

  .ab18__cell--intro h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

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

  /* Stat cells */
  .ab18__cell--stat {
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .ab18__cell--stat strong {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--secondStyleColor);
    line-height: 1;
  }

  .ab18__cell--stat span {
    font-size: 12px;
    color: color-mix(in srgb, var(--textColor1) 55%, transparent);
    font-weight: 500;
  }

  /* Feature cells */
  .ab18__cell--feat {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ab18__feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .ab18__cell--feat:hover .ab18__feat-icon {
    transform: scale(1.12) rotate(-5deg);
  }

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

  .ab18__cell--feat h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }

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

  /* Image cell 2 */
  .ab18__cell--img2 {
    padding: 0;
    grid-column: span 2;
    aspect-ratio: 16 / 7;
  }

  .ab18__cell--img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .ab18__cell--img2:hover img {
    transform: scale(1.04);
  }

  /* Quote cell */
  .ab18__cell--quote {
    grid-column: span 2;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  .ab18__quote-svg {
    width: 36px;
    height: auto;
    color: color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
  }

  .ab18__cell--quote p {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    color: color-mix(in srgb, var(--textColor1) 80%, transparent);
  }

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

    .ab18__cell--hero {
      grid-column: span 2;
      grid-row: span 1;
      aspect-ratio: 16 / 9;
    }

    .ab18__cell--img2 {
      grid-column: span 2;
    }

    .ab18__cell--quote {
      grid-column: span 2;
    }
  }

  @media (max-width: 800px) {
    .ab18__cell--intro h2 {
      font-size: 22px;
    }

    .ab18__cell--intro p {
      font-size: 13px;
    }

    .ab18__cell--quote p {
      font-size: 15px;
    }

    .ab18__cell--feat h3 {
      font-size: 15px;
    }
  }

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

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

    .ab18__cell--hero,
    .ab18__cell--intro,
    .ab18__cell--img2,
    .ab18__cell--quote {
      grid-column: span 1;
    }

    .ab18__cell--hero {
      aspect-ratio: 16 / 10;
    }

    .ab18__cell--img2 {
      aspect-ratio: 16 / 9;
    }

    .ab18__cell--stat {
      padding: 22px 18px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ab18__cell,
    .ab18__feat-icon,
    .ab18__cell--hero img,
    .ab18__cell--img2 img {
      transition: none;
    }
  }



  /* ===== PARTNERS v9 — Minimal full-width strip ===== */

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

  .pt9__strip {
    border-top: 1px solid color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    padding: clamp(40px, 5vw, 70px) 0;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    );
  }

  .pt9__inner {
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
  }

  .pt9__text {
    flex: 1;
  }

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

  .pt9__text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: color-mix(in srgb, var(--textColor1) 68%, transparent);
    max-width: 480px;
  }

  /* Vertical divider */
  .pt9__divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(
      180deg,
      transparent,
      var(--secondStyleColor),
      transparent
    );
    opacity: 0.4;
    flex-shrink: 0;
  }

  /* Logo */
  .pt9__logo-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 36px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 18%, transparent);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s ease, transform 0.3s ease;
  }

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

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

  /* Responsive */
  @media (max-width: 800px) {
    .pt9__inner {
      flex-direction: column;
      text-align: center;
    }

    .pt9__divider {
      width: 60px;
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent,
        var(--secondStyleColor),
        transparent
      );
    }

    .pt9__text p {
      max-width: 100%;
    }

    .pt9__logo-box {
      padding: 20px 30px;
    }

    .pt9__logo-box img {
      max-width: 170px;
    }
  }

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

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

    .pt9__text p {
      font-size: 14px;
    }

    .pt9__logo-box {
      padding: 18px 24px;
    }

    .pt9__logo-box img {
      max-width: 140px;
      max-height: 50px;
    }
  }

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



  /* ===== FEATURES v12 — Mixed grid: image cards + icon cards ===== */

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

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

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

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

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

  /* Card base */
  .ft12__card {
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    background: rgba(255, 255, 255, 0.03);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

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

  /* Image card */
  .ft12__card--img {
    padding: 0;
    overflow: hidden;
  }

  .ft12__thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .ft12__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
  }

  .ft12__card--img:hover .ft12__thumb img {
    transform: scale(1.05);
  }

  .ft12__body {
    padding: 22px 22px 24px;
  }

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

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

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

  .ft12__card:hover .ft12__ico {
    transform: rotate(-6deg) scale(1.1);
  }

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

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

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

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

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

    .ft12__card h3,
    .ft12__body h3 {
      font-size: 16px;
    }

    .ft12__card p,
    .ft12__body p {
      font-size: 13px;
    }
  }

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

    .ft12__head {
      margin-bottom: 36px;
    }

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

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

    .ft12__body {
      padding: 18px 18px 20px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ft12__card,
    .ft12__ico,
    .ft12__thumb img {
      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; /* чтобы не занимала слишком много */
    }
  }



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

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

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

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

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

  /* Timeline */
  .rm13__timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
  }

  /* Central vertical line */
  .rm13__rail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: color-mix(in srgb, var(--secondStyleColor) 18%, transparent);
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .rm13__rail-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(
      to bottom,
      var(--secondStyleColor),
      var(--accent2)
    );
    border-radius: 2px;
    transition: height 0.1s linear;
    z-index: 1;
    box-shadow: 0 0 14px color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  /* Milestone row */
  .rm13__milestone {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
  }

  .rm13__milestone:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .rm13__milestone:last-child {
    margin-bottom: 0;
  }

  /* Dot on rail */
  .rm13__dot {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bodyBG);
    border: 3px solid var(--secondStyleColor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--secondStyleColor);
    z-index: 3;
    transition: all 0.5s ease;
  }

  .rm13__dot--done {
    border-color: var(--secondStyleColor);
    color: var(--secondStyleColor);
    background: var(--bodyBG);
  }

  .rm13__dot--active {
    border-color: var(--accent2);
    color: var(--accent2);
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent2) 30%, transparent);
    animation: rm13DotPulse 2s ease-in-out infinite;
  }

  .rm13__dot--empty {
    border-color: color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
    color: color-mix(in srgb, var(--textColor1) 35%, transparent);
  }

  @keyframes rm13DotPulse {
    0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--accent2) 30%, transparent); }
    50% { box-shadow: 0 0 30px color-mix(in srgb, var(--accent2) 50%, transparent); }
  }

  /* Branch line from dot to card */
  .rm13__branch {
    position: absolute;
    top: 30px;
    width: 40px;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--secondStyleColor),
      var(--accent2)
    );
    z-index: 2;
  }

  .rm13__milestone:nth-child(odd) .rm13__branch {
    right: calc(50% + 22px);
  }

  .rm13__milestone:nth-child(even) .rm13__branch {
    left: calc(50% + 22px);
  }

  /* Card */
  .rm13__card {
    width: calc(50% - 60px);
    background: var(--bgCard);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-radius: var(--borderRadius);
    padding: 26px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .rm13__milestone:nth-child(odd) .rm13__card {
    margin-right: auto;
    transform: translateX(-30px);
  }

  .rm13__milestone:nth-child(even) .rm13__card {
    margin-left: auto;
    transform: translateX(30px);
  }

  .rm13__card.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .rm13__card:hover {
    border-color: color-mix(in srgb, var(--accent2) 30%, transparent);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--secondStyleColor) 6%, transparent);
  }

  .rm13__card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  .rm13__date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 12px;
  }

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

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

  .rm13__list li {
    font-size: 13px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--textColor1) 70%, transparent);
    padding-left: 20px;
    position: relative;
  }

  .rm13__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(
      135deg,
      var(--secondStyleColor),
      var(--accent2)
    );
  }

  /* Responsive */
  @media (max-width: 950px) {
    .rm13__card {
      width: calc(50% - 50px);
      padding: 22px;
    }
  }

  @media (max-width: 768px) {
    .rm13__rail,
    .rm13__rail-fill {
      left: 24px;
      transform: none;
    }

    .rm13__milestone,
    .rm13__milestone:nth-child(odd) {
      flex-direction: column;
      padding-left: 60px;
    }

    .rm13__dot {
      left: 24px;
      top: 0;
    }

    .rm13__branch {
      display: none;
    }

    .rm13__card,
    .rm13__milestone:nth-child(odd) .rm13__card,
    .rm13__milestone:nth-child(even) .rm13__card {
      width: 100%;
      margin: 20px 0 0;
      transform: translateY(20px);
    }

    .rm13__card.visible {
      transform: translateY(0);
    }
  }

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

    .rm13__head {
      margin-bottom: 40px;
    }

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

    .rm13__milestone {
      margin-bottom: 40px;
    }

    .rm13__card {
      padding: 18px;
    }

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

  @media (prefers-reduced-motion: reduce) {
    .rm13__card {
      transition: none;
      opacity: 1;
      transform: none;
    }

    .rm13__dot--active {
      animation: none;
    }

    .rm13__rail-fill {
      transition: none;
    }

    .rm13__dot {
      transition: none;
    }
  }



.faq18{
  padding:clamp(64px,7vw,110px) 20px;
  background:var(--bodyBG);
  color:var(--textColor1);
}
.faq18 .container{max-width:var(--maxWidthContainer);margin:0 auto}

.faq18__head{text-align:center;margin-bottom:48px}
.faq18__kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 16px;font-size:13px;font-weight:600;letter-spacing:.04em;
  color:var(--secondStyleColor);
  background:color-mix(in srgb,var(--secondStyleColor) 10%,transparent);
  border:1px solid color-mix(in srgb,var(--secondStyleColor) 20%,transparent);
  border-radius:100px;margin-bottom:20px;
}
.faq18__kicker i{font-size:12px}
.faq18__head h2{font-size:clamp(28px,4vw,44px);font-weight:800;margin:0 0 14px;letter-spacing:-.02em;line-height:1.15}
.faq18__head p{font-size:clamp(14px,1.4vw,16px);color:color-mix(in srgb,var(--textColor1) 55%,transparent);line-height:1.7;margin:0 auto;max-width:460px}

.faq18__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:1000px;
  margin:0 auto;
  perspective:1200px;
}

.faq18__card{
  height:300px;
  cursor:pointer;
  outline:none;
}

.faq18__card-inner{
  position:relative;
  width:100%;height:100%;
  transition:transform .7s cubic-bezier(.4,.2,.2,1);
  transform-style:preserve-3d;
}

.faq18__card.is-flipped .faq18__card-inner{
  transform:rotateY(180deg);
}

.faq18__front,.faq18__back{
  position:absolute;inset:0;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  border-radius:var(--borderRadius);
  padding:28px 24px;
  display:flex;flex-direction:column;
  border:1px solid color-mix(in srgb,var(--textColor1) 8%,transparent);
  overflow:hidden;
}

.faq18__front{
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--secondStyleColor) 6%,transparent),transparent 50%),
    color-mix(in srgb,var(--bodyBG) 90%,transparent);
  justify-content:space-between;
}

.faq18__back{
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--accent2) 6%,transparent),transparent 50%),
    color-mix(in srgb,var(--bodyBG) 90%,transparent);
  transform:rotateY(180deg);
  justify-content:center;
  border-color:color-mix(in srgb,var(--secondStyleColor) 20%,transparent);
}

.faq18__front-icon{
  width:44px;height:44px;
  border-radius:12px;
  background:color-mix(in srgb,var(--secondStyleColor) 12%,transparent);
  display:flex;align-items:center;justify-content:center;
  color:var(--secondStyleColor);
  font-size:1rem;
  margin-bottom:auto;
}

.faq18__front-num{
  position:absolute;top:24px;right:24px;
  font-size:2.5rem;font-weight:900;
  color:var(--textColor1);opacity:.06;
  line-height:1;
}

.faq18__front h3{
  font-size:clamp(15px,1.4vw,17px);font-weight:700;
  margin:0 0 8px;line-height:1.4;
}

.faq18__flip-hint{
  font-size:.7rem;letter-spacing:.06em;
  color:var(--textMuted);
  display:flex;align-items:center;gap:6px;
  margin-top:auto;
}
.faq18__flip-hint i{font-size:.65rem}

.faq18__back-label{
  font-size:.65rem;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;
  color:var(--secondStyleColor);
  margin-bottom:12px;
}
.faq18__back p{
  margin:0;font-size:14px;line-height:1.75;
  color:color-mix(in srgb,var(--textColor1) 70%,transparent);
}

@media(max-width:900px){
  .faq18__grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:550px){
  .faq18__grid{grid-template-columns:1fr;max-width:400px}
  .faq18__card{height:260px}
}

@media(prefers-reduced-motion:reduce){
  .faq18__card-inner{transition:none}
}



  .site-footer {
    color: var(--textColor1);
    margin-top: 60px;
    padding: 28px 0 22px;
    background-color: var(--bodyBG);
    border-top: 0.3px solid var(--secondStyleColor);
    color: var(--footer-muted);
    position: relative;
    backdrop-filter: blur(18px);
  }

  /* Layout */

  .footer-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 22px;
  }

  /* Brand */

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

  .footer-main .logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--textColor1);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
  }

  /* Links & Address */

  .site-footer a,
  .site-footer address {
    position: relative;
    color: var(--textColor1);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    padding: 2px 0;
    text-transform: uppercase;
    transition:
      color 0.22s ease,
      transform 0.22s ease,
      text-shadow 0.22s ease,
      opacity 0.22s ease;
  }

  .site-footer address {
    font-style: normal;
    color: rgba(209, 213, 219, 0.8);
  }

  /* ≡ ХОВЕР БЕЗ ЛИНИИ — МЯГКОЕ НЕОНОВОЕ СВЕЧЕНИЕ */

  .site-footer a:hover {
    transform: translateY(-2px);
  }

  /* Social */

  .footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    i {
      color: var(--secondStyleColor);
      font-size: 24px;
    }
  }

  .footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--textSecondary);
    transition:
      background 0.18s ease,
      color 0.18s ease,
      border-color 0.18s ease,
      transform 0.12s ease,
      box-shadow 0.18s ease;
  }

  .footer-social a:hover {
    transform: translateY(-1px);
  }

  /* Contacts */

  .footer-contacts address {
    font-style: normal;
  }

  /* Links */

  .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2 120px;
    column-gap: 24px;
    font-size: 13px;
  }

  .footer-links li {
    break-inside: avoid;
    margin-bottom: 8px;
  }

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

  /* Bottom */

  .footer-bottom {
    padding-top: 14px;
    color: var(--textColor1);
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-bottom p span {
    color: var(--footer-accent);
    font-weight: 700;
  }

  @media (max-width: 900px) {
    .footer-row {
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
  }

  @media (max-width: 640px) {
    .footer-row {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 18px;
    }

    .footer-main {
      align-items: center;
    }

    .footer-social {
      justify-content: center;
    }

    .footer-contacts,
    .footer-links {
      columns: 1;
      text-align: center;
    }

    .site-footer {
      margin-top: 40px;
      padding: 22px 0 18px;
    }
  }



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