
:root {
  --bg: #1a1308;
  --bg-card: #271d10;
  --text: #fde68a;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #d97706;
  --accent-rgb: 217,119,6;
  --accent2: #22d906;
  --accent2-rgb: 34,217,6;
  --accent3: #f2074d;
  --accent3-rgb: 242,7,77;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --bodyBG: #1a1308;
  --textColor1: #fde68a;
  --textColor2: #111111;
  --textSecondary: #c4b16a;
  --textMuted: #8c7d49;
  --secondStyleColor: #d97706;
  --bgCard: #271d10;
  --bgAlt: #2c2412;
  --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;
    }
  }



  .hero-11 {
    min-height: 80vh;
    display: flex;
    align-items: center;
  }
  .hero-11 .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  .hero-lerft {
    display: flex;
    flex-direction: column;
    gap: 20px;
    img {
      height: 500px;
      width: 100%;
      object-fit: cover;
      border-radius: var(--borderRadius);
      object-position: 50% 20%;
    }
  }

  .hero-gight {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: auto;
    gap: 20px;
    img {
      height: 500px;
      width: 500px;
      object-position: 50% 20%;
      border-radius: var(--borderRadius);
      object-fit: cover;
    }
    a {
      padding: 12px 20px;
      background-color: var(--secondStyleColor);
      width: fit-content;
      border-radius: var(--borderRadius);
      color: var(--bodyBG);
      font-weight: 900;
      font-size: 24px;
      transition: 0.2s all linear;
    }
    a:hover {
      transform: translateY(-5px);
    }
  }

  @media (max-width: 800px) {
    .hero-lerft img {
      display: none;
    }
    .hero-lerft {
      justify-content: center;
      h1,
      p {
        text-align: center;
      }
    }
    .hero-11 .container {
      flex-direction: column;
      justify-content: center;
      gap: 10px;
    }
    .hero-gight img {
      width: 100%;
    }
    .hero-gight a {
      margin: 0 auto;
    }
  }



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

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

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

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

  .toc {
    background-color: transparent;
    counter-reset: toc-counter;
  }

  .toc a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
    color: color-mix(in srgb, var(--textColor1) 70%, transparent);
    padding: 10px 22px 10px 18px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    background-color: var(--itemBgColor);
    border-left: 3px solid var(--secondStyleColor);
    border-top: 1px solid color-mix(in srgb, var(--textColor1) 8%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--textColor1) 8%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--textColor1) 8%, transparent);
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -o-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .toc .swiper-slide:nth-child(3n+2) a {
    border-left-color: color-mix(in srgb, var(--secondStyleColor) 70%, var(--textColor1));
  }

  .toc .swiper-slide:nth-child(3n+3) a {
    border-left-color: color-mix(in srgb, var(--secondStyleColor) 50%, var(--textColor1));
  }

  .toc a::before {
    content: counter(toc-counter, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: var(--secondStyleColor);
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    -moz-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    -ms-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    -o-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  .toc .swiper-slide:nth-child(3n+2) a::before {
    color: color-mix(in srgb, var(--secondStyleColor) 70%, var(--textColor1));
    background: color-mix(in srgb, var(--secondStyleColor) 8%, color-mix(in srgb, var(--textColor1) 4%, transparent));
    border-color: color-mix(in srgb, var(--secondStyleColor) 25%, color-mix(in srgb, var(--textColor1) 10%, transparent));
  }

  .toc .swiper-slide:nth-child(3n+3) a::before {
    color: color-mix(in srgb, var(--secondStyleColor) 50%, var(--textColor1));
    background: color-mix(in srgb, var(--secondStyleColor) 6%, color-mix(in srgb, var(--textColor1) 6%, transparent));
    border-color: color-mix(in srgb, var(--secondStyleColor) 20%, color-mix(in srgb, var(--textColor1) 12%, transparent));
  }

  .toc a:hover,
  .toc a:focus {
    color: var(--textColor1);
    border-left-width: 4px;
    background-color: color-mix(in srgb, var(--secondStyleColor) 6%, transparent);
    box-shadow: 0 0 16px color-mix(in srgb, var(--secondStyleColor) 15%, transparent),
                inset 0 0 12px color-mix(in srgb, var(--secondStyleColor) 5%, transparent);
  }

  .toc a:hover::before,
  .toc a:focus::before {
    background-color: var(--secondStyleColor);
    color: var(--textColor2);
    border-color: var(--secondStyleColor);
  }

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

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

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

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

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

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

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

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



  /* центрирование блока по высоте */
  #features {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
  }
  #features .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .hufla {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }
  .hufla h2,
  .hufla p {
    text-align: center;
  }
  .hufla > span {
    display: flex;
    width: 30%;
    margin: 0 auto;
    border-radius: var(--borderRadius);
    height: 2px;
    background-color: var(--secondStyleColor);
  }

  .trunox {
    width: 100%;
    height: 50vh;
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .mivra {
    position: relative;
    --x-px: calc(var(--x) * 1px);
    --y-px: calc(var(--y) * 1px);
    --border: 2px;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-radius: var(--borderRadius);
    overflow: hidden;
  }

  .mivra::before,
  .mivra::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      800px circle at var(--x-px) var(--y-px),
      var(--secondStyleColor),
      transparent 40%
    );
    pointer-events: none;
  }

  .mivra::before {
    z-index: 1;
  }

  .mivra::after {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
  }

  .mivra:hover::after {
    opacity: 1;
  }

  .praxu {
    background: var(--bgCard);
    border-radius: inherit;
    color: var(--textColor1);
    text-decoration: none;
    position: absolute;
    inset: var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 3;
    & p {
      text-align: center;
      text-wrap: balance;
    }
    & h3 {
      text-align: center;
      margin-bottom: 10px;
    }
  }

  .praxu > p {
    opacity: 0.7;
  }
  @media (max-width: 800px) {
    .trunox {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: auto;
      gap: 12px;
    }

    .mivra {
      min-height: 240px;
    }
    .hufla {
      margin-bottom: 20px;
    }
  }



  /* ===== HOW v17 — Vertical rail with pulse + icon dots ===== */

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

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

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

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

  .hw17__rail {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 56px;
  }

  /* Vertical line */
  .hw17__line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: color-mix(in srgb, var(--secondStyleColor) 18%, transparent);
    overflow: hidden;
  }

  /* Travelling pulse on the line */
  .hw17__pulse {
    position: absolute;
    left: 0;
    top: -30px;
    width: 2px;
    height: 30px;
    background: linear-gradient(
      180deg,
      transparent,
      var(--secondStyleColor)
    );
    animation: hw17Travel 3.5s ease-in-out infinite;
  }

  @keyframes hw17Travel {
    0% {
      top: -30px;
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      top: 100%;
      opacity: 0;
    }
  }

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

  .hw17__step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  /* Dot with icon */
  .hw17__dot {
    position: absolute;
    left: -56px;
    top: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--bodyBG);
    border: 2px solid color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .hw17__step:hover .hw17__dot {
    border-color: var(--secondStyleColor);
    box-shadow: 0 0 20px color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

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

  .hw17__step:hover .hw17__dot i {
    transform: scale(1.2);
  }

  /* Card */
  .hw17__card {
    flex: 1;
    padding: 24px 22px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    background: linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    );
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .hw17__card:hover {
    transform: translateX(6px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
  }

  .hw17__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    color: var(--secondStyleColor);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

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

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

  /* Responsive */
  @media (max-width: 950px) {
    .hw17__rail {
      max-width: 100%;
    }
  }

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

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

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

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

    .hw17__head {
      margin-bottom: 36px;
    }

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

    .hw17__rail {
      padding-left: 46px;
    }

    .hw17__line {
      left: 18px;
    }

    .hw17__dot {
      left: -46px;
      width: 38px;
      height: 38px;
      top: 14px;
    }

    .hw17__dot i {
      font-size: 13px;
    }

    .hw17__card {
      padding: 18px 16px;
    }

    .hw17__card h3 {
      font-size: 15px;
    }

    .hw17__items {
      gap: 22px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hw17__pulse {
      animation: none;
    }
    .hw17__dot,
    .hw17__dot i,
    .hw17__card {
      transition: none;
    }
  }



  /* ===========================
     Gallery 15 — Hover Reveal with Abstract Gradient Overlays
     CSS grid + clip-path reveal + morphing shapes
     =========================== */

  .gal15 {
    position: relative;
    overflow: hidden;
    background: var(--bodyBG);
    padding: 100px 20px;
  }

  /* Background glows */
  .gal15__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.1;
    will-change: transform;
  }

  .gal15__glow--1 {
    width: 500px;
    height: 500px;
    background: var(--secondStyleColor);
    top: -100px;
    right: -80px;
    animation: gal15-float1 18s ease-in-out infinite;
  }

  .gal15__glow--2 {
    width: 400px;
    height: 400px;
    background: var(--accent2);
    bottom: -80px;
    left: -60px;
    animation: gal15-float2 22s ease-in-out infinite;
  }

  @keyframes gal15-float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 40px); }
  }

  @keyframes gal15-float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
  }

  /* Container */
  .gal15 .container {
    position: relative;
    z-index: 1;
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
  }

  /* Header */
  .gal15__head {
    text-align: center;
    margin-bottom: 56px;
  }

  .gal15__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.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;
  }

  .gal15__kicker i {
    font-size: 11px;
  }

  .gal15__head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--textColor1);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .gal15__head p {
    font-size: clamp(14px, 1.4vw, 17px);
    color: color-mix(in srgb, var(--textColor1) 55%, transparent);
    line-height: 1.7;
    margin: 0 auto;
  }

  /* Grid */
  .gal15__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
  }

  .gal15__item--tall {
    grid-row: span 2;
  }

  .gal15__item--wide {
    grid-column: span 2;
  }

  /* Item */
  .gal15__item {
    position: relative;
    border-radius: var(--borderRadius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .gal15__item.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Static border */
  .gal15__item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--textColor1) 10%, transparent);
    z-index: 5;
    pointer-events: none;
    transition: border-color 0.3s ease;
  }

  .gal15__item:hover::after {
    border-color: color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  /* Image */
  .gal15__img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .gal15__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .gal15__item:hover .gal15__img-wrap img {
    transform: scale(1.06);
  }

  /* Abstract gradient overlay */
  .gal15__abstract {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.6;
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--secondStyleColor) 45%, transparent) 0%,
      color-mix(in srgb, var(--accent2) 30%, transparent) 50%,
      color-mix(in srgb, var(--secondStyleColor) 25%, transparent) 100%
    );
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
  }

  .gal15__item:hover .gal15__abstract {
    clip-path: inset(0 100% 0 0);
  }

  /* Morphing shapes inside abstract overlay */
  .gal15__morph {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    filter: blur(30px);
    animation: gal15-morph 8s ease-in-out infinite;
  }

  .gal15__morph--a {
    width: 60%;
    height: 60%;
    top: -10%;
    left: -10%;
    background: var(--secondStyleColor);
  }

  .gal15__morph--b {
    width: 50%;
    height: 50%;
    bottom: -10%;
    right: -10%;
    background: var(--accent2);
    animation-delay: -4s;
    animation-direction: reverse;
  }

  @keyframes gal15-morph {
    0%, 100% {
      border-radius: 50% 30% 60% 40%;
      transform: translate(0, 0) scale(1);
    }
    25% {
      border-radius: 40% 60% 30% 50%;
      transform: translate(10px, -15px) scale(1.1);
    }
    50% {
      border-radius: 60% 40% 50% 30%;
      transform: translate(-5px, 10px) scale(0.95);
    }
    75% {
      border-radius: 30% 50% 40% 60%;
      transform: translate(8px, 5px) scale(1.05);
    }
  }

  /* Overlay content (title + tag) */
  .gal15__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(
      to top,
      color-mix(in srgb, var(--bodyBG) 80%, transparent) 0%,
      color-mix(in srgb, var(--bodyBG) 30%, transparent) 40%,
      transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .gal15__item:hover .gal15__overlay {
    opacity: 1;
  }

  .gal15__tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--textColor2);
    background: var(--secondStyleColor);
    border-radius: 100px;
    margin-bottom: 10px;
    transform: translateY(-12px);
    transition: transform 0.4s 0.08s ease;
  }

  .gal15__item:hover .gal15__tag {
    transform: translateY(0);
  }

  .gal15__overlay h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--textColor1);
    margin: 0;
    transform: translateY(12px);
    transition: transform 0.4s 0.12s ease;
  }

  .gal15__item:hover .gal15__overlay h3 {
    transform: translateY(0);
  }

  /* Corner decorations */
  .gal15__corner {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s 0.1s ease;
  }

  .gal15__item:hover .gal15__corner {
    opacity: 1;
  }

  .gal15__corner--tl {
    top: 12px;
    left: 12px;
    border-top: 2px solid var(--secondStyleColor);
    border-left: 2px solid var(--secondStyleColor);
  }

  .gal15__corner--br {
    bottom: 12px;
    right: 12px;
    border-bottom: 2px solid var(--secondStyleColor);
    border-right: 2px solid var(--secondStyleColor);
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .gal15__glow {
      animation: none;
    }
    .gal15__morph {
      animation: none;
    }
    .gal15__abstract {
      transition: none;
    }
    .gal15__img-wrap img {
      transition: none;
    }
    .gal15__overlay,
    .gal15__tag,
    .gal15__overlay h3,
    .gal15__corner {
      transition: none;
    }
    .gal15__item {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* Responsive -- tablet */
  @media (max-width: 950px) {
    .gal15 {
      padding: 80px 20px;
    }
    .gal15__grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 220px;
    }
    .gal15__item--wide {
      grid-column: span 2;
    }
    .gal15__item--tall {
      grid-row: span 2;
    }
  }

  /* Responsive -- mobile */
  @media (max-width: 600px) {
    .gal15 {
      padding: 64px 16px;
    }
    .gal15__grid {
      grid-template-columns: 1fr;
      grid-auto-rows: 240px;
    }
    .gal15__item--tall,
    .gal15__item--wide {
      grid-row: span 1;
      grid-column: span 1;
    }
    /* Show content by default on mobile (no hover) */
    .gal15__abstract {
      clip-path: inset(0 50% 0 0);
    }
    .gal15__overlay {
      opacity: 1;
    }
    .gal15__tag,
    .gal15__overlay h3 {
      transform: translateY(0);
    }
    .gal15__corner {
      opacity: 0.6;
    }
    .gal15__head {
      margin-bottom: 40px;
    }
    .gal15__glow {
      display: none;
    }
  }



  /* ===========================
     Reviews 19 — Infinite Carousel
     CSS-animated scrolling track + orb bg + 3D hover tilt
     =========================== */

  .rv19 {
    position: relative;
    padding: clamp(56px, 6vw, 100px) 0;
    overflow: hidden;
    color: var(--textColor1);
    background: var(--bodyBG);
  }

  /* Floating orbs */
  .rv19__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    will-change: transform;
  }

  .rv19__orb--1 {
    width: 320px;
    height: 320px;
    background: var(--secondStyleColor);
    opacity: 0.06;
    top: 10%;
    left: -5%;
    animation: rv19-orbFloat 12s ease-in-out infinite;
  }

  .rv19__orb--2 {
    width: 250px;
    height: 250px;
    background: var(--accent2);
    opacity: 0.04;
    bottom: 5%;
    right: -3%;
    animation: rv19-orbFloat 12s ease-in-out infinite -4s;
  }

  .rv19__orb--3 {
    width: 200px;
    height: 200px;
    background: var(--secondStyleColor);
    opacity: 0.04;
    top: 50%;
    left: 60%;
    animation: rv19-orbFloat 12s ease-in-out infinite -8s;
  }

  @keyframes rv19-orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.08); }
  }

  /* Grain overlay */
  .rv19__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  }

  /* Decorative giant quote */
  .rv19__big-quote {
    position: absolute;
    font-size: 18rem;
    color: var(--secondStyleColor);
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
  }

  /* Header */
  .rv19__head {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
    display: grid;
    gap: 10px;
  }

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

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

  /* Carousel wrapper */
  .rv19__carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }

  .rv19__track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: rv19-scroll 30s linear infinite;
  }

  .rv19__carousel:hover .rv19__track {
    animation-play-state: paused;
  }

  @keyframes rv19-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Card */
  .rv19__card {
    width: 340px;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--secondStyleColor) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    border-radius: var(--borderRadius);
    padding: 32px 28px 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition:
      transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 0.4s ease;
  }

  .rv19__card:hover {
    transform: rotateY(-3deg) rotateX(2deg) translateY(-6px);
    box-shadow: 0 20px 50px color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

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

  /* Text */
  .rv19__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--textColor1);
    opacity: 0.85;
    flex: 1;
    position: relative;
    padding-left: 16px;
  }

  .rv19__text::before {
    content: '\201C';
    position: absolute;
    left: -2px;
    top: -6px;
    font-size: 2rem;
    color: var(--secondStyleColor);
    opacity: 0.4;
  }

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

  .rv19__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--secondStyleColor) 25%, transparent),
      color-mix(in srgb, var(--accent2) 25%, 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);
  }

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

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

  /* Dots */
  .rv19__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 36px;
    position: relative;
    z-index: 2;
  }

  .rv19__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    transition: all 0.3s ease;
  }

  .rv19__dot--active {
    background: var(--secondStyleColor);
    width: 24px;
    border-radius: 4px;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rv19__orb {
      animation: none !important;
    }
    .rv19__track {
      animation: none !important;
    }
    .rv19__card {
      transition: none !important;
    }
  }

  /* Responsive -- tablet */
  @media (max-width: 900px) {
    .rv19__card {
      width: 300px;
      padding: 26px 22px 24px;
    }
    .rv19__big-quote {
      font-size: 12rem;
    }
  }

  /* Responsive -- mobile */
  @media (max-width: 600px) {
    .rv19__card {
      width: 280px;
      padding: 24px 20px 22px;
    }
    .rv19__big-quote {
      font-size: 8rem;
    }
  }



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



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

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

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

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

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

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

  .rm4__row--alt {
    direction: rtl;
  }

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

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

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

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

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

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

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

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

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

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

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

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



  /* ===== SOMETHING v9 — Stats with SVG ring progress + dot grid bg ===== */

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

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

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

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

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

  .sm9__head h2 {
    margin: 0;
    font-size: clamp(26px, 3.8vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  /* Grid */
  .sm9__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .sm9__item {
    text-align: center;
    padding: 28px 16px;
    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;
  }

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

  /* SVG ring */
  .sm9__ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 18px;
  }

  .sm9__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }

  .sm9__ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 6;
  }

  .sm9__ring-fill {
    fill: none;
    stroke: var(--secondStyleColor);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: calc(2 * 3.14159 * 52);
    stroke-dashoffset: calc(2 * 3.14159 * 52 * (1 - var(--p, 0) / 100));
    transition: stroke-dashoffset 0.8s ease;
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--secondStyleColor) 30%, transparent));
  }

  .sm9__value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--secondStyleColor);
  }

  .sm9__item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
  }

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

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

  @media (max-width: 800px) {
    .sm9__ring {
      width: 90px;
      height: 90px;
    }

    .sm9__value {
      font-size: 20px;
    }

    .sm9__item h3 {
      font-size: 15px;
    }
  }

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

    .sm9__head {
      margin-bottom: 36px;
    }

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

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

    .sm9__item {
      padding: 22px 12px;
    }

    .sm9__ring {
      width: 80px;
      height: 80px;
      margin-bottom: 14px;
    }

    .sm9__value {
      font-size: 18px;
    }
  }

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

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



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



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

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

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

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

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

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

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

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

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

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

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

  .footerNav li {
    break-inside: avoid;
  }

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

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

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

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

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

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

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

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

  .footerMeta {
    text-align: right;
  }

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

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

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

    .footerMeta {
      text-align: left;
    }
  }


