
:root {
  --bg: #0f1117;
  --bg-card: #1a1d27;
  --text: #e4e6ef;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #6c5ce7;
  --accent-rgb: 108,92,231;
  --accent2: #e75ca9;
  --accent2-rgb: 231,92,169;
  --accent3: #72c8ea;
  --accent3-rgb: 114,200,234;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --bodyBG: #0f1117;
  --textColor1: #e4e6ef;
  --textColor2: #ffffff;
  --textSecondary: #afb1b9;
  --textMuted: #7a7c83;
  --secondStyleColor: #6c5ce7;
  --bgCard: #1a1d27;
  --bgAlt: #202228;
  --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
        =========================== */

  .site-header {
    position: relative;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: var(--bodyBG);
    border-bottom: 1px solid var(--secondStyleColor);
  }
  .site-headerA {
    font-size: 24px;
    font-weight: 900;
    color: var(--textColor1);
  }

  .header-cta {
    padding: 12px 20px;
    color: var(--textColor2);
    font-weight: 500;
    border-radius: var(--borderRadius);
    background-color: var(--secondStyleColor);
  }

  /* layout */

  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 18px;
  }

  /* ===========================
   LOGO
=========================== */

  .logo {
    font-family:
      system-ui,
      -apple-system,
      "SF Pro Text",
      "Segoe UI",
      sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    color: var(--text-main);
  }

  .logo span:first-child {
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .logo span:last-child {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  /* ===========================
   NAV DESKTOP
=========================== */

  .nav {
    display: flex;
    gap: 22px;
    align-items: center;
  }

  .header__nav > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* ссылки */

  .nav a,
  .header__nav > ul a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    padding: 6px 4px;
    text-transform: uppercase;
    transition:
      color 0.2s ease,
      transform 0.15s ease,
      opacity 0.2s ease;
  }

  /* подчёркивание — неоновая линия */

  .nav a::before,
  .header__nav > ul a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 0.22s ease;
  }

  .nav a:hover,
  .header__nav > ul a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
  }

  .nav a:hover::before,
  .header__nav > ul a:hover::before {
    transform: scaleX(1);
  }

  /* ===========================
   BURGER BUTTON
=========================== */

  .burger {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid var(--secondStyleColor);
    background: radial-gradient(
      circle at 0 0,
      rgba(77, 243, 255, 0.22),
      transparent 65%
    );
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
  }

  /* три полоски */

  .burger::before,
  .burger::after,
  .burger .icon-left {
    content: "";
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--textColor1);
    transition: all 0.25s ease;
  }

  .burger::before {
    top: 13px;
    transform: translateX(-50%);
  }

  .burger::after {
    bottom: 13px;
    transform: translateX(-50%);
  }

  .burger .icon-left {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .burger.open::before {
    top: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .burger.open::after {
    top: 50%;
    bottom: auto;
    transform: translateX(-50%) rotate(-45deg);
  }

  .burger.open .icon-left {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  /* icon-right не используется, оставляем выключенным */
  .burger .icon-right {
    display: none;
  }

  /* ===========================
   MOBILE MENU
=========================== */

  .mobile__menu {
    display: none;
  }

  /* off-canvas навигация */

  @media (max-width: 1024px) {
    .header-cta {
      display: none;
    }
    .nav {
      display: none;
    }

    .burger {
      display: flex;
      align-items: center;
      justify-content: center;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }

    .mobile__menu {
      display: block;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }

    .header__nav {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100dvh;
      background: var(--bodyBG);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      z-index: 50;
      transform: translateX(-120%);
      transition: transform 0.35s ease;
      display: flex;
      flex-direction: column;
    }

    .header__nav > ul {
      margin-top: 90px;
      margin-left: 24px;
      flex-direction: column;
      align-items: flex-start;
      gap: 26px;
      height: 80vh;
      overflow-y: auto;
      overflow-x: hidden;
    }

    .header__nav > ul a {
      font-size: 18px;
      color: var(--text-main);
    }

    /* CTA-кнопка в моб.меню */
    .header__nav > a {
      display: inline-block !important;
      margin: auto 24px 36px;
      max-width: 90%;
      text-align: center;
      color: var(--textColor2) !important;
      background: var(--secondStyleColor);
      border-radius: 999px;
      padding: 12px 18px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.18em;
    }

    .navOpen {
      transform: translateX(0%);
    }

    header .btn {
      display: none;
    }
  }

  /* ===========================
   ACCESSIBILITY & MOTION
=========================== */

  .header__nav > ul a:focus-visible,
  .burger:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    .burger,
    .burger * {
      transition: none !important;
    }
    .header__nav {
      transition: none !important;
    }
  }



  /* ===== HERO v1 ===== */
  .hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bodyBG);
  }

  /* Фоновое изображение */
  .heroBG {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) brightness(0.55);
    transform: scale(1.1);
    z-index: 1;
  }

  /* Контент */
  .hero > .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
  }

  /* Левая колонка */
  .hero h1 {
    font-size: 46px;
    font-weight: 800;
    color: var(--textColor1);
    margin: 0 0 15px 0;
    line-height: 1.15;
  }

  .hero p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--textSecondary);
    margin-bottom: 28px;
    max-width: 520px;
  }

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

  .hero a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
  }

  /* Справа — второе изображение */
  .hero > .container > img {
    width: 380px;
    height: auto;
    max-height: 70%;
    border-radius: var(--borderRadius);
    object-fit: contain;
  }

  /* ===== Адаптив ===== */
  @media (max-width: 950px) {
    .hero > .container {
      flex-direction: column;
      text-align: center;
    }

    .hero p {
      margin-left: auto;
      margin-right: auto;
    }

    .hero > .container > img {
      width: 300px;
      margin-top: 25px;
    }
  }

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

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

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

    .hero > .container > img {
      display: none;
    }
  }



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



  /*  */
  .cefjhead {
    margin-bottom: 40px;
  }

  .kdm42 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
  }

  /* base */
  .p1a7e {
    padding: 28px;
    color: #222;
    border: 1px solid var(--secondStyleColor);
  }

  .p1a7e h3 {
    margin: 0 0 10px;
    font-size: 18px;
  }

  .p1a7e p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  /* row 1 */
  .g3 {
    grid-column: span 4;
    color: var(--textColor1);
    /* background: #e6e6e6;s */
  }
  .g4 {
    grid-column: span 4;
    /* background: #bdbdbd; */
    color: var(--textColor1);
  }
  .g5 {
    grid-column: span 4;
    /* background: #6d6d6d; */
    color: var(--textColor1);
  }

  /* row 2 */
  .g6 {
    grid-column: span 6;
    color: var(--textColor1);
  }
  .g7 {
    grid-column: span 6;
    color: var(--textColor1);
  }

  /* row 3 */
  .g8 {
    grid-column: span 3;
    /* background: #b5651d; */
    color: var(--textColor1);
  }
  .g9 {
    grid-column: span 3;
    /* background: #1f87b4; */
    color: var(--textColor1);
  }
  .g10 {
    grid-column: span 3;
    color: var(--textColor1);
  }
  .g11 {
    grid-column: span 3;
    /* background: #9aa22f; */
    color: var(--textColor1);
  }

  /* buttons */
  .g6 a,
  .g7 a {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: var(--borderRadius);
  }

  .g6 a {
    background: var(--secondStyleColor);
    color: var(--textColor1);
  }
  .g7 a {
    background: var(--secondStyleColor);
    color: var(--textColor1);
  }

  /* mobile */
  @media (max-width: 900px) {
    .cefjhead {
      margin-bottom: 20px;
    }
    .kdm42 {
      grid-template-columns: 1fr;
    }
    .g3,
    .g4,
    .g5,
    .g6,
    .g7,
    .g8,
    .g9,
    .g10,
    .g11 {
      grid-column: span 1;
    }
  }



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

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

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

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

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

  /* Timeline wrapper */
  .rm12__wrapper {
    position: relative;
    overflow: hidden;
  }

  /* Connecting line */
  .rm12__line {
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(
      90deg,
      var(--secondStyleColor),
      var(--accent2),
      var(--secondStyleColor)
    );
    border-radius: 2px;
    z-index: 0;
  }

  .rm12__line-glow {
    position: absolute;
    inset: -3px 0;
    background: linear-gradient(
      90deg,
      transparent,
      var(--secondStyleColor),
      var(--accent2),
      transparent
    );
    filter: blur(8px);
    opacity: 0.4;
    animation: rm12LineGlow 3s ease-in-out infinite alternate;
  }

  @keyframes rm12LineGlow {
    0% { opacity: 0.25; }
    100% { opacity: 0.55; }
  }

  /* Scrollable track */
  .rm12__track {
    display: flex;
    gap: 40px;
    padding: 40px 60px 60px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    align-items: flex-start;
  }

  .rm12__track::-webkit-scrollbar {
    display: none;
  }

  /* Phase card */
  .rm12__card {
    position: relative;
    z-index: 1;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    background: var(--bgCard);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    border-radius: var(--borderRadius);
    padding: 28px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease, opacity 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

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

  .rm12__card:hover {
    border-color: color-mix(in srgb, var(--accent2) 40%, transparent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--accent2) 10%, transparent);
  }

  /* Connector dot */
  .rm12__dot {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondStyleColor);
    border: 3px solid var(--bodyBG);
    box-shadow: 0 0 12px color-mix(in srgb, var(--secondStyleColor) 50%, transparent);
  }

  .rm12__dot--pulse {
    background: var(--accent2);
    border-color: var(--bodyBG);
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent2) 50%, transparent);
    animation: rm12DotPulse 2s ease-in-out infinite;
  }

  .rm12__dot--empty {
    background: transparent;
    border: 3px solid color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
    box-shadow: none;
  }

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

  .rm12__stem {
    position: absolute;
    top: -12px;
    left: 50%;
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, var(--secondStyleColor), transparent);
    transform: translateX(-50%);
  }

  /* Status badge */
  .rm12__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 16%, transparent);
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
    white-space: nowrap;
  }

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

  .rm12__status--active {
    background: color-mix(in srgb, var(--accent2) 15%, transparent);
    color: var(--accent2);
    border-color: color-mix(in srgb, var(--accent2) 28%, transparent);
    animation: rm12PulseStatus 2s ease-in-out infinite;
  }

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

  .rm12__status i {
    font-size: 9px;
  }

  .rm12__card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
  }

  .rm12__date {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondStyleColor);
    margin-bottom: 12px;
  }

  .rm12__date i {
    margin-right: 4px;
  }

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

  /* Nav arrows */
  .rm12__nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .rm12__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    background: var(--bgCard);
    color: var(--secondStyleColor);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
  }

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

  /* Scroll indicator */
  .rm12__dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 6px;
  }

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

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

  /* Responsive */
  @media (max-width: 950px) {
    .rm12__track {
      padding: 40px 32px 50px;
      gap: 28px;
    }
  }

  @media (max-width: 768px) {
    .rm12__track {
      padding: 40px 24px 50px;
      gap: 24px;
    }

    .rm12__card {
      min-width: 250px;
      max-width: 250px;
    }

    .rm12__line {
      left: 24px;
      right: 24px;
    }
  }

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

    .rm12__head {
      margin-bottom: 36px;
    }

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

    .rm12__card {
      min-width: 230px;
      max-width: 230px;
      padding: 24px 18px;
    }

    .rm12__arrow {
      width: 40px;
      height: 40px;
    }
  }

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

    .rm12__dot--pulse {
      animation: none;
    }

    .rm12__status--active {
      animation: none;
    }

    .rm12__line-glow {
      animation: none;
    }

    .rm12__arrow {
      transition: none;
    }

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



  /* ===== FEATURES v18 — Isometric cards with SVG diamond-grid bg ===== */

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

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

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

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

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

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

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

  /* Card with isometric tilt */
  .ft18__card {
    perspective: 800px;
  }

  .ft18__card-inner {
    position: relative;
    padding: 30px 24px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: rotateX(4deg) rotateY(-3deg);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
  }

  .ft18__card:hover .ft18__card-inner {
    transform: rotateX(0deg) rotateY(0deg) translateY(-6px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }

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

  .ft18__card:hover .ft18__icon {
    transform: scale(1.1) rotate(-4deg);
  }

  .ft18__icon i {
    font-size: 20px;
    color: var(--secondStyleColor);
  }

  .ft18__card-inner h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
  }

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

  .ft18__num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    font-weight: 800;
    color: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s ease;
  }

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

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

    .ft18__card-inner {
      transform: rotateX(3deg) rotateY(-2deg);
    }
  }

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

    .ft18__card-inner h3 {
      font-size: 16px;
    }

    .ft18__card-inner p {
      font-size: 13px;
    }

    .ft18__icon {
      width: 42px;
      height: 42px;
    }

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

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

    .ft18__head {
      margin-bottom: 36px;
    }

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

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

    .ft18__card-inner {
      transform: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ft18__card-inner,
    .ft18__icon,
    .ft18__num {
      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;
    }
  }



  .steps-dheader {
    margin-bottom: 40px;
  }
  .steps--diagonal {
    position: relative;
    overflow: hidden;
    h2,
    h2 + p {
      text-align: center;
    }
  }

  .steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
  }

  .step--outline {
    background: transparent;
    border: 2px solid var(--secondStyleColor);
    border-radius: var(--borderRadius);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
  }

  .step--outline:hover {
    transform: translateY(-5px);
  }

  .step__number {
    font-size: 4rem;
    color: var(--secondStyleColor);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
  }

  .step__content {
    position: relative;
    z-index: 2;
  }

  .step__content h3 {
    margin-bottom: 1rem;
    color: var(--textColor1);
  }

  .step__content p {
    color: var(--textColor1);
    line-height: 1.6;
  }

  .step-arc {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--secondStyleColor);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    bottom: -10px;
    left: -10px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
  }

  .step--outline:hover .step-arc {
    opacity: 1;
  }

  .steps-visual {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 400px;
    height: 200px;
    opacity: 0.5;
  }

  .plane-trajectory {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .plane-trajectory svg {
    width: 100%;
    height: 100%;
  }

  @media (max-width: 1024px) {
    .steps-visual {
      display: none;
    }
    .steps-dheader {
      margin-bottom: 20px;
    }
  }



  /* ===== PARTNERS v5 — Cinematic split with spotlight card ===== */

  .pt5 {
    position: relative;
    padding: clamp(60px, 8vw, 110px) 0;
    color: var(--textColor1);
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
  }

  /* Background image */
  .pt5__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    z-index: 0;
    opacity: 0.15;
    filter: blur(4px);
  }

  /* Dark gradient overlay */
  .pt5__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
  }

  /* Dot pattern */
  .pt5__dots {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: radial-gradient(
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    );
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(
      ellipse 70% 60% at 50% 50%,
      #000 20%,
      transparent 70%
    );
  }

  /* Layout */
  .pt5__shell {
    position: relative;
    width: 100%;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
  }

  /* Left — text */
  .pt5__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .pt5__kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  .pt5__left h2 {
    margin: 0;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .pt5__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 75%, transparent);
    max-width: 440px;
  }

  /* Stats */
  .pt5__stats {
    display: flex;
    gap: 24px;
    margin-top: 10px;
  }

  .pt5__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
  }

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

  .pt5__stat-val {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  .pt5__stat-lbl {
    font-size: 12px;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
    letter-spacing: 0.04em;
  }

  /* Right — logo card */
  .pt5__right {
    display: flex;
    justify-content: center;
  }

  .pt5__card {
    position: relative;
    width: min(360px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: calc(var(--borderRadius) * 1.2);
    padding: 3px;
    overflow: hidden;
  }

  /* Animated conic border */
  .pt5__border-anim {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(
      from 0deg,
      transparent 0%,
      var(--secondStyleColor) 10%,
      transparent 20%,
      transparent 50%,
      var(--secondStyleColor) 60%,
      transparent 70%,
      transparent 100%
    );
    animation: pt5Rotate 6s linear infinite;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }

  .pt5__card:hover .pt5__border-anim {
    opacity: 1;
  }

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

  .pt5__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--borderRadius) * 1.2 - 3px);
    background: var(--bodyBG);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Spotlight effect */
  .pt5__spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(
      ellipse 40% 50% at 50% 0%,
      color-mix(in srgb, var(--secondStyleColor) 14%, transparent),
      transparent 70%
    );
    pointer-events: none;
    animation: pt5Breathe 4s ease-in-out infinite alternate;
  }

  @keyframes pt5Breathe {
    0% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }

  .pt5__logo-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .pt5__logo-link:hover {
    transform: scale(1.06);
  }

  .pt5__logo-link img {
    max-width: min(220px, 65%);
    height: auto;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
  }

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

    .pt5__card {
      width: min(300px, 100%);
    }

    .pt5__desc {
      font-size: 14px;
    }
  }

  @media (max-width: 800px) {
    .pt5__shell {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .pt5__left {
      align-items: center;
    }

    .pt5__desc {
      max-width: 100%;
    }

    .pt5__stats {
      justify-content: center;
    }

    .pt5__card {
      width: min(320px, 85vw);
    }
  }

  @media (max-width: 600px) {
    .pt5 {
      padding: 50px 0;
      min-height: auto;
    }

    .pt5__left h2 {
      font-size: 26px;
    }

    .pt5__stats {
      gap: 12px;
      flex-wrap: wrap;
    }

    .pt5__stat {
      padding: 10px 14px;
    }

    .pt5__stat-val {
      font-size: 18px;
    }

    .pt5__card {
      width: min(280px, 80vw);
    }

    .pt5__logo-link img {
      max-width: min(180px, 60%);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pt5__border-anim {
      animation: none;
      opacity: 0.3;
    }
    .pt5__spotlight {
      animation: none;
    }
    .pt5__stat,
    .pt5__logo-link {
      transition: none;
    }
  }



  .faq {
    margin-bottom: 100px;
    color: var(--textColor1);
  }

  /* Внутренняя секция */
  .faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--bgAlt);
    border-radius: var(--borderRadius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
  }

  .faq-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--textColor1);
  }

  /* Элементы FAQ */
  .faq-item {
    border-bottom: 2px solid var(--secondStyleColor);
    padding: 12px 0;
  }

  .faq h3 {
    margin: 10px 0;
  }

  /* Кнопка-вопрос */
  .faq-question {
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    background: none;
    border: none;
    color: var(--textColor1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
  }

  .faq-question::after {
    content: "+";
    font-size: 32px;
    transition: transform 0.2s ease;
    color: var(--secondStyleColor);
  }

  .faq-question.active::after {
    content: "-";
    transform: rotate(180deg);
  }

  /* Ответ */
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 15px;
    color: var(--textColor1);
    padding-top: 0;
  }

  .faq-answer p {
    margin-top: 0;
  }

  /* Открытый ответ (по классу из твоего JS) */
  .faq-answer.open {
    max-height: 200px; /* можно увеличить, если текст длиннее */
    /* padding-top: 10px; */
  }

  /* Если используешь .reviewsWrapper рядом — оставил хук */
  .reviewsWrapper h2 {
    margin-bottom: 20px;
  }

  /* Мобилка */
  @media screen and (max-width: 750px) {
    .faq {
      margin-bottom: 60px;
    }

    .faq-section {
      padding: 30px 16px;
    }
  }



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

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

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

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

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

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

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

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

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

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

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

  .footerNav li {
    break-inside: avoid;
  }

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

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

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

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

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

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

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

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

  .footerMeta {
    text-align: right;
  }

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

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

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

    .footerMeta {
      text-align: left;
    }
  }



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