/* ============================================================
   ИИ Право — design system v2
   Dark Navy × Gold × Hairlines
   ============================================================ */

:root {
  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* radius — почти отсутствует, нужны прямые формы */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 6px;

  /* shadow — минимальные, мягкие */
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-gold: 0 0 0 1px rgba(201, 169, 97, .35);

  /* motion */
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 320ms;
  --ease-standard: cubic-bezier(.2, .8, .2, 1);

  /* control sizes */
  --control-sm: 36px;
  --control-md: 46px;
  --control-lg: 56px;
  /* typography */
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Outfit", sans-serif;
  --font-display: "Outfit", sans-serif;

  /* color: Dark Navy + Gold */
  --color-bg: #0A1628;            /* main dark navy */
  --color-bg-deep: #060F1E;       /* deepest, near black */
  --color-surface: #0F1F38;       /* cards / panels */
  --color-surface-soft: #142844;  /* elevated */
  --color-surface-alt: #0C1A30;   /* alt sections */

  --color-text-primary: #F2EBD8;     /* warm ivory */
  --color-text-secondary: #BDB59E;   /* warm muted */
  --color-text-muted: #8A8472;       /* deep muted */
  --color-text-quiet: #5A5644;       /* very quiet */

  --color-line: rgba(201, 169, 97, 0.18);   /* hairline gold */
  --color-line-strong: rgba(201, 169, 97, 0.42);
  --color-line-bright: #C9A961;
  --color-line-dim: rgba(242, 235, 216, 0.08);

  /* gold scale */
  --gold-50: #F5EBC9;
  --gold-100: #E5CD8B;
  --gold-300: #D4B872;
  --gold-500: #C9A961;            /* primary gold */
  --gold-600: #B8924A;
  --gold-700: #9F8141;
  --gold-900: #6B561E;

  /* brand mapping */
  --color-brand: var(--gold-500);
  --color-brand-hover: var(--gold-100);
  --color-brand-contrast: #0A1628;
  --color-accent: var(--gold-300);
  --color-accent-soft: rgba(201, 169, 97, 0.10);

  --color-success: #8DBF8E;
  --color-warning: #D4B872;
  --color-danger: #D08A7A;
  --color-focus-ring: rgba(201, 169, 97, .35);

  --state-hover-brand: rgba(201, 169, 97, .10);
  --state-active-brand: rgba(201, 169, 97, .18);

  /* legacy aliases */
  --color-border: var(--color-line-strong);
  --color-border-soft: var(--color-line);

  /* z-index */
  --z-header: 100;
  --z-dropdown: 200;
  --z-modal: 1000;
}

/* ============================================================
   Reset
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--color-bg);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-primary);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(201, 169, 97, .065), transparent 70%),
    radial-gradient(1000px 600px at -10% 105%, rgba(201, 169, 97, .045), transparent 70%),
    var(--color-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Premium фоновая сетка (Hairline Grid Overlay) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(201, 169, 97, 0.02) 1px, transparent 1px);
  background-size: calc(100% / 5) 100%;
  pointer-events: none;
  z-index: -2;
}

/* Эмбиент-сфера золотого сияния (Ambient Pulse Sphere) */
body::after {
  content: "";
  position: fixed;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.038) 0%, rgba(10, 22, 40, 0) 70%);
  top: -300px;
  right: -200px;
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
  animation: pulseGlow 22s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, 80px) scale(1.15); }
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-100);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}

a:hover {
  color: var(--gold-50);
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-focus-ring);
  border-radius: 2px;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(201, 169, 97, .35);
  color: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(22px, 2.1vw, 26px);
  line-height: 1.3;
  font-weight: 500;
}

h4 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text-secondary);
}

ul, ol {
  margin: 0 0 var(--space-4) 0;
  padding-left: var(--space-5);
}

li {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

em {
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--gold-100);
  font-weight: 500;
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  min-width: 0;
}

@media (max-width: 599px) {
  .container {
    padding-inline: var(--space-4);
  }
}

.section {
  padding-block: var(--space-20);
  position: relative;
}

.section_tight { padding-block: var(--space-12); }

.section_dark {
  background: var(--color-bg-deep);
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section_dark h1, .section_dark h2, .section_dark h3 { color: var(--color-text-primary); }
.section_dark p, .section_dark li { color: var(--color-text-secondary); }

.section_alt {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section__head {
  max-width: 760px;
  margin-bottom: var(--space-12);
  position: relative;
  padding-top: var(--space-6);
}

.section__head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--gold-500);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-4);
}

.section_dark .section__eyebrow {
  color: var(--gold-100);
}

.section__title {
  margin-bottom: var(--space-5);
  color: var(--color-text-primary);
}

.section__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.section_dark .section__lead { color: var(--color-text-secondary); }

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid > * {
  min-width: 0;
}

.grid_cols-2 { grid-template-columns: 1fr; }
.grid_cols-3 { grid-template-columns: 1fr; }
.grid_cols-4 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .grid_cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid_cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid_cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid_cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 30px rgba(0, 0, 0, 0.25);
}

@supports (animation-timeline: scroll()) {
  .site-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-900), var(--gold-500), var(--gold-100));
    box-shadow: 0 0 6px var(--gold-500);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    animation: scrollProgress linear;
    animation-timeline: scroll();
  }
}

@keyframes scrollProgress {
  to { transform: scaleX(1); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 80px;
  min-width: 0;
}

@media (max-width: 599px) {
  .site-header__inner {
    gap: var(--space-3);
    height: 64px;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-text-primary);
  letter-spacing: 0;
  min-width: 0;
  flex-shrink: 1;
}

.site-logo:hover {
  color: var(--gold-100);
}

.site-logo__mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-500);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  position: relative;
  flex: 0 0 auto;
}

@media (max-width: 599px) {
  .site-logo {
    gap: var(--space-2);
    font-size: 18px;
  }

  .site-logo__mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

.site-logo__mark::before,
.site-logo__mark::after {
  content: "";
  position: absolute;
  background: var(--gold-500);
}

.site-logo__mark::before {
  top: -3px;
  left: -3px;
  width: 7px;
  height: 1px;
}

.site-logo__mark::after {
  top: -3px;
  left: -3px;
  width: 1px;
  height: 7px;
}

.site-nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding-inline: var(--space-4);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  position: relative;
  transition: color var(--dur-fast) var(--ease-standard);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width var(--dur-base) var(--ease-standard), left var(--dur-base) var(--ease-standard);
}

.site-nav__link:hover {
  color: var(--gold-100);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  width: 18px;
  left: calc(50% - 9px);
}

.site-nav__link[aria-current="page"] {
  color: var(--gold-100);
}

.site-header__cta {
  display: none;
}

@media (max-width: 1139px) {
  .site-header__cta {
    display: none !important;
  }
}

@media (min-width: 1140px) {
  .site-nav { display: inline-flex; }
  .site-header__cta { display: inline-flex; }
}

/* mobile drawer toggle */
.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

@media (max-width: 599px) {
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold-500);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg-deep);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__link {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav__link[aria-current="page"] {
  color: var(--gold-100);
}

.mobile-nav .button {
  margin-top: var(--space-5);
}

/* ============================================================
   Buttons
   ============================================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: var(--control-md);
  padding-inline: var(--space-6);
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  transition:
    background-color var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

@media (max-width: 599px) {
  .button {
    min-width: 0;
    padding-inline: var(--space-4);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .button_size_lg {
    padding-inline: var(--space-5);
  }
}

.button_size_lg {
  min-height: var(--control-lg);
  padding-inline: var(--space-8);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.button_theme_primary {
  background: var(--gold-500);
  color: var(--color-brand-contrast);
  border-color: var(--gold-500);
}
.button_theme_primary:hover {
  background: var(--gold-100);
  color: var(--color-brand-contrast);
  border-color: var(--gold-100);
}
.button_theme_primary:active { transform: translateY(1px); }

.button_theme_secondary {
  background: transparent;
  color: var(--gold-100);
  border-color: var(--color-line-strong);
}
.button_theme_secondary:hover {
  background: rgba(201, 169, 97, .08);
  border-color: var(--gold-500);
  color: var(--gold-50);
}

.button_theme_ghost {
  background: transparent;
  color: var(--gold-100);
  border-color: transparent;
}
.button_theme_ghost:hover {
  color: var(--gold-50);
  border-color: var(--gold-500);
}

.button_theme_dark {
  background: var(--gold-500);
  color: var(--color-brand-contrast);
  border-color: var(--gold-500);
}
.button_theme_dark:hover {
  background: var(--gold-50);
  color: var(--color-brand-contrast);
  border-color: var(--gold-50);
}

.button_theme_primary::before,
.button_theme_dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

@media (hover: hover) {
  .button_theme_primary:hover::before,
  .button_theme_dark:hover::before {
    animation: buttonShimmer 0.8s ease-out;
  }
}

@keyframes buttonShimmer {
  0% { left: -100%; }
  100% { left: 150%; }
}

.button_block { width: 100%; }

.button .arrow {
  font-family: var(--font-ui);
  font-weight: 400;
  transition: transform var(--dur-base) var(--ease-standard);
}
.button:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding-block: var(--space-20) var(--space-16);
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--gold-500), transparent);
  opacity: .35;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-line), transparent);
  opacity: .6;
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero { padding-block: var(--space-24) var(--space-20); }
}

.hero__layout {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  position: relative;
}

@media (min-width: 1000px) {
  .hero__layout {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  background: transparent;
  color: var(--gold-300);
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}

.hero__title em {
  font-style: italic;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--gold-100);
  font-weight: 500;
  font-family: var(--font-heading);
}

.hero__lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 58ch;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-line);
}

.hero__meta-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-100);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hero__meta-item span {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* hero illustration — minimal panel */
.hero__visual {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(201, 169, 97, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, 0.012) 1px, transparent 1px),
    radial-gradient(360px 200px at 100% 0%, rgba(201, 169, 97, .08), transparent 65%),
    radial-gradient(280px 200px at 0% 100%, rgba(201, 169, 97, .05), transparent 65%);
  background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
  pointer-events: none;
}

/* corner ornaments */
.hero__visual::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--gold-500);
  border-right: 1px solid var(--gold-500);
  transition: transform var(--dur-base) var(--ease-standard);
}

.hero__visual:hover::after {
  transform: translate(2px, -2px);
}

.hero__visual-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--space-6);
  position: relative;
}

.hero__visual-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-line-strong);
  transition: transform var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}
.hero__visual-dot:nth-child(1) { background: var(--gold-700); }
.hero__visual-dot:nth-child(2) {
  background: var(--gold-500);
  box-shadow: 0 0 6px var(--gold-500);
  animation: activeDot 2s infinite ease-in-out;
}
.hero__visual-dot:nth-child(3) { background: var(--gold-100); }

@keyframes activeDot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 10px var(--gold-300); }
}

.hero__visual-title {
  margin-left: var(--space-2);
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lifecycle-mini {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.lifecycle-mini::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  box-shadow: 0 0 8px var(--gold-500);
  opacity: 0.35;
  pointer-events: none;
  animation: scanLine 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 10;
}

@keyframes scanLine {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

.lifecycle-mini__row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-3);
  margin-inline: calc(var(--space-3) * -1);
  border-bottom: 1px solid var(--color-line);
  transition:
    background var(--dur-base) var(--ease-standard),
    padding-left var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
  border-left: 2px solid transparent;
}
.lifecycle-mini__row:last-child { border-bottom: 0; }

@media (hover: hover) {
  .lifecycle-mini__row:hover {
    background: rgba(201, 169, 97, 0.03);
    padding-left: var(--space-5);
    border-left-color: var(--gold-500);
    border-bottom-color: rgba(201, 169, 97, 0.3);
  }
}

.lifecycle-mini__step {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 0;
  border: 1px solid var(--gold-500);
  background: transparent;
  color: var(--gold-100);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}

.lifecycle-mini__row:nth-child(odd) .lifecycle-mini__step {
  background: var(--gold-500);
  color: var(--color-brand-contrast);
}

@media (hover: hover) {
  .lifecycle-mini__row:hover .lifecycle-mini__step {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.4);
    border-color: var(--gold-300);
    background: var(--gold-500);
    color: var(--color-brand-contrast);
  }
  .lifecycle-mini__row:nth-child(odd):hover .lifecycle-mini__step {
    background: var(--gold-300);
  }
}

.lifecycle-mini__text {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-primary);
  transition: color var(--dur-base) var(--ease-standard);
}

@media (hover: hover) {
  .lifecycle-mini__row:hover .lifecycle-mini__text {
    color: var(--gold-50);
  }
}

.lifecycle-mini__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  transition: color var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}

@media (hover: hover) {
  .lifecycle-mini__row:hover .lifecycle-mini__badge {
    color: var(--gold-100);
    transform: translateX(-2px);
  }
}

/* ============================================================
   Cards / package-card / sector-card
   ============================================================ */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.72) 0%, rgba(10, 22, 40, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-900), var(--gold-500));
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.6);
  transition: width var(--dur-slow) var(--ease-standard);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 25px rgba(201, 169, 97, .08);
    border-color: var(--color-line-strong);
  }

  .card:hover::before {
    width: 100%;
  }
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card__icon svg { width: 22px; height: 22px; stroke-width: 1.4; }

.card__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.card__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.card__list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--gold-500);
}

.card__footer {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
}

.card__price {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  color: var(--gold-100);
  letter-spacing: -0.005em;
}

.card__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-100);
  position: relative;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold-500);
}
.card__cta:hover { color: var(--gold-50); border-color: var(--gold-50); }

/* package card variants */
.package-card_featured {
  background:
    linear-gradient(180deg, rgba(201, 169, 97, .06) 0%, transparent 70%),
    var(--color-surface-soft);
  border: 1px solid var(--gold-500);
  color: var(--color-text-primary);
  position: relative;
}

.package-card_featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-radius: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--gold-500), transparent 60%) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .5;
}

.package-card_featured .card__title { color: var(--color-text-primary); }
.package-card_featured .card__price { color: var(--gold-50); }
.package-card_featured .card__text,
.package-card_featured .card__list li { color: var(--color-text-secondary); }
.package-card_featured .card__list li::before { background: var(--gold-100); }
.package-card_featured .card__eyebrow { color: var(--gold-100); }
.package-card_featured .card__footer { border-top-color: var(--color-line-strong); }
.package-card_featured .card__cta { color: var(--gold-50); border-color: var(--gold-100); }
.package-card_featured .card__icon { background: var(--gold-500); color: var(--color-brand-contrast); border-color: var(--gold-500); }

/* ============================================================
   Three states
   ============================================================ */

.states {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .states { grid-template-columns: repeat(3, 1fr); }
}

.state-card {
  position: relative;
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.72) 0%, rgba(10, 22, 40, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-line);
  border-radius: 0;
  transition:
    transform var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}

.state-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--space-8);
  width: 32px;
  height: 1px;
  background: var(--gold-500);
  box-shadow: 0 0 8px var(--gold-500);
  transition: width var(--dur-base) var(--ease-standard);
}

@media (hover: hover) {
  .state-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-line-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 25px rgba(201, 169, 97, .08);
  }

  .state-card:hover::before {
    width: calc(100% - var(--space-16));
  }
}

.state-card__num {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 300;
  color: var(--gold-500);
  margin-bottom: var(--space-4);
  line-height: 1;
  letter-spacing: -0.03em;
  font-style: normal;
}

.state-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.state-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.state-card__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-100);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 3px;
}

/* ============================================================
   Lifecycle map
   ============================================================ */

.lifecycle-map {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

@media (min-width: 600px) {
  .lifecycle-map { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .lifecycle-map { grid-template-columns: repeat(5, 1fr); }
}

.lifecycle-step {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: transparent;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  transition: background var(--dur-base) var(--ease-standard);
}

.lifecycle-step:hover {
  background: rgba(201, 169, 97, 0.04);
}

.lifecycle-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-100);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: var(--space-4);
}

.lifecycle-step__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.lifecycle-step__text {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   Sectors
   ============================================================ */

.sector-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.72) 0%, rgba(10, 22, 40, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-line);
  border-radius: 0;
  transition:
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
  position: relative;
}

.sector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-900), var(--gold-500));
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.6);
  transition: width var(--dur-slow) var(--ease-standard);
}

.sector-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-bottom: 1px solid var(--gold-500);
  border-right: 1px solid var(--gold-500);
  opacity: 0;
  transform: scale(0.8) translate(3px, 3px);
  transition:
    opacity var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}

@media (hover: hover) {
  .sector-card:hover {
    border-color: var(--color-line-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 25px rgba(201, 169, 97, .08);
  }

  .sector-card:hover::before {
    width: 100%;
  }

  .sector-card:hover::after {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
}

.sector-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.sector-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sector-card__icon svg { width: 24px; height: 24px; stroke-width: 1.4; }

.sector-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.sector-card__sub {
  font-size: 10px;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.sector-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.sector-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-line);
}

.chip_brand { color: var(--gold-100); border-color: var(--color-line-strong); }
.chip_accent { color: var(--gold-300); border-color: var(--color-line-strong); }

/* ============================================================
   Proof / metrics strip
   ============================================================ */

.proof {
  display: grid;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.proof::before, .proof::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold-500);
}

.proof::before {
  top: -7px;
  left: -7px;
  border-right: 0;
  border-bottom: 0;
}
.proof::after {
  bottom: -7px;
  right: -7px;
  border-left: 0;
  border-top: 0;
}

@media (min-width: 700px) {
  .proof { grid-template-columns: repeat(4, 1fr); }
}

.proof__item {
  padding: var(--space-8);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.proof__item:last-child { border-right: 0; }

@media (min-width: 700px) {
  .proof__item { border-bottom: 0; }
  .proof__item:nth-child(4) { border-right: 0; }
}

.proof__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-100);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.proof__item span {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.faq__item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  overflow: hidden;
  transition: background var(--dur-base) var(--ease-standard);
}

.faq__item[open] { background: rgba(201, 169, 97, 0.03); }

.faq__summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  color: var(--color-text-primary);
  position: relative;
  transition: color var(--dur-fast) var(--ease-standard);
}

.faq__summary:hover { color: var(--gold-100); }

.faq__summary::-webkit-details-marker { display: none; }

.faq__summary::after {
  content: "";
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  background-image:
    linear-gradient(var(--gold-500), var(--gold-500)),
    linear-gradient(var(--gold-500), var(--gold-500));
  background-size: 12px 1px, 1px 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}

.faq__item[open] .faq__summary::after {
  background-size: 12px 1px, 0 0;
  border-color: var(--gold-500);
  transform: rotate(180deg);
}

.faq__body {
  padding: 0 0 var(--space-6) 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.75;
  max-width: 78ch;
}

.faq__body p:last-child { margin-bottom: 0; }

/* ============================================================
   Forms
   ============================================================ */

.form {
  display: grid;
  gap: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 0;
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
  position: relative;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 599px) {
  .form {
    padding: var(--space-6) var(--space-4);
  }
}

.form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--gold-500);
}

.form__row {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 700px) {
  .form__row_2 { grid-template-columns: 1fr 1fr; }
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.field__label .req { color: var(--color-danger); }

.field__hint {
  font-size: 12px;
  color: var(--color-text-muted);
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  background: var(--color-bg-deep);
  color: var(--color-text-primary);
  font-family: var(--font-ui);
  font-size: 15px;
  transition:
    border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
  min-width: 0;
}

.textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.input::placeholder,
.textarea::placeholder { color: var(--color-text-quiet); }

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 1px var(--gold-500);
}

/* radio/checkbox grid */
.choice-grid {
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 600px) {
  .choice-grid_2 { grid-template-columns: 1fr 1fr; }
  .choice-grid_3 { grid-template-columns: repeat(3, 1fr); }
}

.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: 0;
  cursor: pointer;
  background: var(--color-bg-deep);
  transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
  min-width: 0;
}

.choice:hover { border-color: var(--gold-500); background: rgba(201, 169, 97, 0.04); }

.choice input {
  margin-top: 3px;
  accent-color: var(--gold-500);
}

.choice__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  overflow-wrap: anywhere;
}

.choice__sub {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ============================================================
   CTA banner
   ============================================================ */

.cta-banner {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-12) var(--space-10);
  background:
    linear-gradient(135deg, var(--color-bg-deep) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  color: var(--color-text-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 100% 0%, rgba(201, 169, 97, .14), transparent 60%),
    radial-gradient(closest-side at 0% 100%, rgba(201, 169, 97, .08), transparent 60%);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--gold-500);
  border-left: 1px solid var(--gold-500);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-primary);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  position: relative;
}

.cta-banner__text {
  color: var(--color-text-secondary);
  margin: var(--space-4) 0 0;
  font-size: 17px;
  line-height: 1.7;
  position: relative;
  max-width: 60ch;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  position: relative;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-banner {
    grid-template-columns: 1.6fr auto;
    align-items: center;
    padding: var(--space-16);
  }
  .cta-banner__actions { justify-content: flex-end; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-bg-deep);
  color: var(--color-text-secondary);
  padding-block: var(--space-16) var(--space-8);
  margin-top: var(--space-20);
  border-top: 1px solid var(--color-line-strong);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--gold-500);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-line);
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.site-footer h4 {
  color: var(--gold-100);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: var(--space-5);
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li {
  margin-bottom: var(--space-3);
  color: var(--color-text-secondary);
}
.site-footer a { color: var(--color-text-secondary); font-size: 14px; }
.site-footer a:hover { color: var(--gold-100); }

.site-footer__about p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: var(--space-4);
  max-width: 42ch;
}

.site-footer__legal {
  padding-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.site-footer .site-logo {
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
}

.site-footer .site-logo__mark { border-color: var(--gold-500); color: var(--gold-100); }

/* ============================================================
   Misc utilities
   ============================================================ */

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-300);
}

.text-muted { color: var(--color-text-muted); }

.divider {
  height: 1px;
  background: var(--color-line);
  border: 0;
  margin-block: var(--space-10);
  position: relative;
}

.divider::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: var(--color-bg);
  border: 1px solid var(--gold-500);
  border-radius: 50%;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.notice {
  padding: var(--space-5) var(--space-6);
  border-radius: 0;
  background: rgba(201, 169, 97, 0.05);
  border-left: 2px solid var(--gold-500);
  border-top: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}

.notice strong { color: var(--gold-100); }

@media (max-width: 599px) {
  .notice {
    display: grid;
    padding: var(--space-4);
  }
}

.form-status {
  margin: 0;
  color: var(--gold-100);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 599px) {
  h1, h2, h3,
  .hero__title,
  .page-hero__title,
  .cta-banner__title {
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: 0;
  }

  .page-hero__title {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero__title {
    font-size: 40px;
    line-height: 1.08;
  }
}

/* services table block */
.services-list {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .services-list { grid-template-columns: 1fr 1fr; }
}

.service-row {
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.72) 0%, rgba(10, 22, 40, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-line);
  border-radius: 0;
  transition:
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  min-width: 0;
}

@media (max-width: 599px) {
  .service-row {
    padding: var(--space-5);
  }
}

.service-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-900), var(--gold-500));
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.6);
  transition: width var(--dur-slow) var(--ease-standard);
}

@media (hover: hover) {
  .service-row:hover {
    border-color: var(--color-line-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 25px rgba(201, 169, 97, .08);
  }

  .service-row:hover::before { width: 100%; }
}

.service-row__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0;
}

@media (max-width: 599px) {
  .service-row__head {
    display: grid;
  }
}

.service-row__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.service-row__price {
  background: transparent;
  color: var(--gold-100);
  padding: 6px 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.service-row__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin: 0;
}

.service-row__deliverables {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}

.service-row__deliverables dt {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.service-row__deliverables dd {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.6;
}

/* contact strip */
.contact-strip {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 0;
}

@media (min-width: 800px) {
  .contact-strip { grid-template-columns: repeat(3, 1fr); }
}

.contact-strip__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-strip__icon {
  flex: 0 0 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-100);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-strip__icon svg { width: 20px; height: 20px; stroke-width: 1.4; }

.contact-strip__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.contact-strip__value {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
}

.contact-strip__value:hover { color: var(--gold-100); }

/* deliverables block on services page */
.deliverables-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

@media (min-width: 600px) {
  .deliverables-grid { grid-template-columns: 1fr 1fr; }
}

.deliverable {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  font-size: 14px;
  color: var(--color-text-primary);
  font-weight: 400;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .deliverable:nth-child(odd) { border-right: 1px solid var(--color-line); }
}

.deliverable::before {
  content: "";
  flex: 0 0 14px;
  height: 1px;
  background: var(--gold-500);
  margin-top: 11px;
}

/* page hero */
.page-hero {
  padding-block: var(--space-16) var(--space-12);
  border-bottom: 1px solid var(--color-line);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-line), transparent);
  pointer-events: none;
}

.page-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.page-hero__breadcrumbs a { color: var(--gold-300); }
.page-hero__breadcrumbs a:hover { color: var(--gold-100); }

.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
}

.page-hero__lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 70ch;
  margin: 0;
}

/* table-like rows */
.kv-row {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-line);
}

@media (min-width: 700px) {
  .kv-row { grid-template-columns: 220px 1fr; gap: var(--space-8); }
}

.kv-row__key {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  padding-top: 4px;
}

.kv-row__value {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   3D Book Component
   ============================================================ */
.book-promo-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 900px) {
  .book-promo-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-12);
  }
}

.book-container {
  position: relative;
  width: 280px;
  height: 380px;
  margin: 20px auto;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book {
  position: relative;
  width: 250px;
  height: 350px;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(10deg);
  transition: transform var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard);
  box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.5);
}

.book-front, .book-back, .book-spine, .book-pages {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.book-front {
  width: 100%;
  z-index: 5;
  transform: translateZ(12px);
  transform-origin: left center;
  background: var(--color-bg-deep);
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  box-shadow: inset -4px 0 10px rgba(0,0,0,0.2);
}

.book-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-spine {
  width: 24px;
  left: -12px;
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: right center;
  background: linear-gradient(90deg, #030810 0%, #0A1628 50%, #030810 100%);
  border-left: 1px solid rgba(201, 169, 97, 0.3);
  border-right: 1px solid rgba(201, 169, 97, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.spine-title {
  color: var(--gold-300);
  font-size: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.book-pages {
  width: 236px;
  left: 6px;
  background: #fbfaf6;
  transform: translateZ(11px);
  border-radius: 0 3px 3px 0;
  box-shadow: 
    inset 0 0 5px rgba(0,0,0,0.15),
    0 1px 1px rgba(0,0,0,0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: none;
  z-index: 3;
}

.book-pages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0,0,0,0.02) 10%, 
    transparent 20%, 
    rgba(0,0,0,0.02) 30%, 
    transparent 40%, 
    rgba(0,0,0,0.02) 50%, 
    transparent 60%, 
    rgba(0,0,0,0.02) 70%, 
    transparent 80%, 
    rgba(0,0,0,0.02) 90%, 
    transparent 100%
  );
  background-size: 4px 100%;
}

.book-back {
  width: 100%;
  transform: translateZ(-12px) rotateY(180deg);
  background: #030810;
  border-radius: 4px 0 0 4px;
  z-index: 2;
  box-shadow: -5px 5px 15px rgba(0,0,0,0.4);
}

.book-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (hover: hover) {
  .book-container:hover .book {
    transform: rotateY(-6deg) rotateX(4deg) scale(1.04);
    box-shadow: 18px 18px 45px rgba(0, 0, 0, 0.6);
  }
}

/* Glassmorphism lead capture form inside book section */
.form_glass {
  background: rgba(10, 22, 40, 0.55) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 97, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(255, 255, 255, 0.01) !important;
}

.form_glass::before {
  background: linear-gradient(90deg, var(--gold-900), var(--gold-500)) !important;
  width: 100% !important;
}

.form_glass .input {
  background: rgba(3, 8, 16, 0.65) !important;
  border-color: rgba(201, 169, 97, 0.18) !important;
}

.form_glass .input:focus-visible {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 1px var(--gold-500), 0 0 10px rgba(201, 169, 97, 0.15) !important;
}

/* Shimmer Button Effect */
.button_shimmer {
  position: relative;
  overflow: hidden;
}

.button_shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: button-shimmer 4.5s infinite linear;
}

@keyframes button-shimmer {
  0% { left: -60%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

/* Brand badge chip style */
.chip_brand {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.4);
  color: var(--gold-100);
  border-radius: 4px;
  margin-top: 6px;
}

/* Responsive styles for 3D book on small viewports */
@media (max-width: 767px) {
  .book-container {
    width: 200px;
    height: 280px;
    margin: 15px auto;
  }
  .book {
    width: 180px;
    height: 250px;
    transform: rotateY(-10deg) rotateX(5deg);
  }
  .book-spine {
    width: 18px;
    left: -9px;
  }
  .spine-title {
    font-size: 7px;
  }
  .book-pages {
    width: 172px;
    left: 4px;
    transform: translateZ(8px);
  }
  .book-front {
    transform: translateZ(9px);
  }
  .book-back {
    transform: translateZ(-9px) rotateY(180deg);
  }
  .book-glow {
    width: 240px;
    height: 240px;
  }
}

/* ============================================================
   Compliance Simulator Widget Styles
   ============================================================ */

.simulator-section {
  position: relative;
  overflow: hidden;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
  align-items: start;
}

.simulator-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.simulator-card {
  position: relative;
  background: rgba(15, 31, 56, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 97, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
  transition: all var(--dur-base) var(--ease-standard);
}

.simulator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(201, 169, 97, 0.04), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base) ease;
}

.simulator-card:hover::before {
  opacity: 1;
}

.simulator-card:hover {
  background: rgba(15, 31, 56, 0.6);
  border-color: rgba(201, 169, 97, 0.35);
  transform: translateY(-2px);
}

.simulator-card.is-active {
  background: rgba(20, 40, 72, 0.45);
  border-color: var(--gold-500);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(201, 169, 97, 0.15);
}

.simulator-checkbox-wrapper {
  position: relative;
  margin-top: 3px;
  flex-shrink: 0;
}

.simulator-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(3, 8, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--dur-fast) var(--ease-standard);
}

.simulator-card:hover .custom-checkbox {
  border-color: var(--gold-300);
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.15);
}

.simulator-card.is-active .custom-checkbox {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--color-bg);
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.35);
}

.custom-checkbox svg {
  width: 14px;
  height: 14px;
  stroke-width: 3.5px;
  stroke: currentColor;
  fill: none;
}

.simulator-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.simulator-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0;
  transition: color var(--dur-base) ease;
}

.simulator-card.is-active .simulator-card__title {
  color: var(--gold-100);
}

.simulator-card__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Right Panel Styles */
.simulator-right {
  position: sticky;
  top: 100px;
}

.simulator-result-panel {
  background: rgba(15, 31, 56, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg), inset 0 0 20px rgba(255, 255, 255, 0.01);
  transition: all var(--dur-slow) var(--ease-standard);
}

.simulator-result-panel.risk_critical {
  border-color: rgba(208, 138, 122, 0.45);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(208, 138, 122, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.risk-circle-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: var(--space-4);
}

.risk-indicator-svg {
  width: 100%;
  height: 100%;
}

.risk-circle-bg {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 8;
  fill: none;
}

.risk-circle-fg {
  stroke: var(--gold-500);
  stroke-width: 8;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 439.8;
  stroke-dashoffset: 439.8;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.6s cubic-bezier(.4, 0, .2, 1), stroke 0.6s ease;
}

.risk-percentage-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.risk-percent-num {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 300;
  color: var(--color-text-primary);
  transition: color 0.4s ease;
}

.risk-percent-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.risk-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.4s ease;
  margin-bottom: var(--space-6);
}

.risk-badge.low {
  background: rgba(141, 191, 142, 0.12);
  border: 1px solid rgba(141, 191, 142, 0.35);
  color: var(--color-success);
}

.risk-badge.medium {
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--gold-300);
}

.risk-badge.high {
  background: rgba(212, 184, 114, 0.15);
  border: 1px solid rgba(212, 184, 114, 0.4);
  color: #E5CD8B;
}

.risk-badge.critical {
  background: rgba(208, 138, 122, 0.15);
  border: 1px solid rgba(208, 138, 122, 0.4);
  color: var(--color-danger);
}

.risk-advice-box {
  width: 100%;
  text-align: left;
  background: rgba(3, 8, 16, 0.35);
  border-left: 2px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.4s ease;
}

.risk-advice-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  transition: color 0.4s ease;
}

.risk-advice-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
  transition: color 0.4s ease;
}

.risk-advice-laws {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  border-top: 1px dashed rgba(201, 169, 97, 0.1);
  padding-top: 10px;
}

.risk-law-badge {
  background: rgba(201, 169, 97, 0.06);
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid rgba(201, 169, 97, 0.12);
  font-weight: 500;
}

@media (max-width: 991px) {
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .simulator-right {
    position: static;
  }
  .simulator-result-panel {
    padding: var(--space-6);
  }
}

/* ============================================================
   Экспертная База Знаний / Compliance Hub & Article Styles
   ============================================================ */

/* Фильтры по тегам */
.compliance-hub-intro {
  margin-bottom: var(--space-10);
}

.tag-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  background: rgba(15, 31, 56, 0.4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tag-filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-line);
  color: var(--color-text-secondary);
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--dur-base) var(--ease-standard);
}

@media (hover: hover) {
  .tag-filter-btn:hover {
    border-color: var(--gold-500);
    color: var(--color-text-primary);
    background: rgba(201, 169, 97, 0.05);
  }
}

.tag-filter-btn.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--color-bg-deep);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

/* Сетка карточек статей */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-16);
  transition: all 0.4s ease;
}

.article-teaser-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.6) 0%, rgba(6, 15, 30, 0.8) 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
  transition: all var(--dur-slow) var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.article-teaser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300), var(--gold-700));
  opacity: 0;
  transition: opacity var(--dur-base) ease;
}

@media (hover: hover) {
  .article-teaser-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.35);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(201, 169, 97, 0.05);
  }
  .article-teaser-card:hover::before {
    opacity: 1;
  }
}

.article-teaser-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.article-teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.article-tag {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-300);
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.article-teaser-title {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-3) 0;
  font-weight: 300;
  transition: color var(--dur-base) ease;
}

@media (hover: hover) {
  .article-teaser-card:hover .article-teaser-title {
    color: var(--gold-300);
  }
}

.article-teaser-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-5) 0;
  flex-grow: 1;
}

.article-teaser-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201, 169, 97, 0.1);
  padding-top: var(--space-4);
  font-size: 12px;
  color: var(--color-text-muted);
}

.article-read-more {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gold-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  transition: color var(--dur-base) ease;
}

.article-read-more svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--dur-base) ease;
}

@media (hover: hover) {
  .article-teaser-card:hover .article-read-more svg {
    transform: translateX(4px);
  }
}

/* Двухколоночный макет статьи */
.article-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-20);
}

.article-body {
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.35) 0%, rgba(6, 15, 30, 0.55) 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* Премиальная журнальная типографика */
.article-meta-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-8);
}

.article-meta-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-content {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.article-content p {
  margin-top: 0;
  margin-bottom: var(--space-6);
}

.article-content p strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-5);
  font-weight: 300;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: var(--space-2);
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--space-8);
  height: 1px;
  background: var(--gold-500);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--color-text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.article-content h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-text-primary);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Цитаты с золотой каймой */
.article-quote {
  background: rgba(201, 169, 97, 0.03);
  border-left: 2px solid var(--gold-500);
  padding: var(--space-6) var(--space-6);
  margin: var(--space-8) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-quote p {
  font-style: italic;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.article-quote-author {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  font-weight: 600;
  display: block;
}

/* Таблицы требований */
.article-table-wrapper {
  overflow-x: auto;
  margin: var(--space-8) 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(3, 8, 16, 0.2);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.article-table th {
  background: rgba(15, 31, 56, 0.7);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-line);
}

.article-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-line-dim);
  color: var(--color-text-secondary);
  line-height: 1.6;
  vertical-align: top;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover td {
  background: rgba(201, 169, 97, 0.015);
  color: var(--color-text-primary);
}

/* Списки */
.article-list {
  padding-left: 0;
  margin-bottom: var(--space-6);
}

.article-list li {
  margin-bottom: var(--space-3);
  position: relative;
  list-style: none;
  padding-left: var(--space-5);
}

.article-list.unordered li::before {
  content: '■';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-500);
  font-size: 7px;
  line-height: 2.5;
}

.article-list.ordered {
  counter-reset: article-counter;
}

.article-list.ordered li {
  counter-increment: article-counter;
}

.article-list.ordered li::before {
  content: counter(article-counter) ".";
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 600;
  font-family: var(--font-heading);
}

/* Сайдбар элементы */
.sidebar-widget {
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.6) 0%, rgba(6, 15, 30, 0.8) 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin: 0 0 var(--space-4) 0;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: var(--space-3);
}

/* Виджет: Содержание (TOC) */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toc-link {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--dur-fast) ease;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.toc-link::before {
  content: '→';
  color: var(--color-text-muted);
  font-size: 10px;
  transition: transform var(--dur-fast) ease;
}

@media (hover: hover) {
  .toc-link:hover {
    color: var(--gold-300);
  }
  .toc-link:hover::before {
    transform: translateX(3px);
    color: var(--gold-500);
  }
}

.toc-link.active {
  color: var(--gold-300);
  font-weight: 600;
}

/* Виджет: Эксперт */
.expert-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.expert-avatar-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  padding: 3px;
  background: var(--color-bg-deep);
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.1);
}

.expert-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.expert-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
}

.expert-role {
  font-size: 11px;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.expert-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-4) 0;
}

/* Виджет: 3D Книга */
.sidebar-book-card {
  text-align: center;
  background: radial-gradient(circle at top, rgba(201, 169, 97, 0.08), transparent 70%),
              linear-gradient(135deg, rgba(15, 31, 56, 0.6) 0%, rgba(6, 15, 30, 0.8) 100%);
  border: 1px solid rgba(201, 169, 97, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.book-promo-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-300);
  margin-bottom: var(--space-4);
  font-weight: 600;
  display: block;
}

.book-cover-wrap {
  perspective: 1000px;
  margin: var(--space-5) auto var(--space-6);
  width: 130px;
  height: 180px;
}

.book-cover-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(10deg);
  transition: transform 0.6s var(--ease-standard);
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.6);
}

@media (hover: hover) {
  .sidebar-book-card:hover .book-cover-3d {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.03);
  }
}

.book-cover-front {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-size: cover;
  background-position: center;
  border-radius: 2px 4px 4px 2px;
  backface-visibility: hidden;
}

.book-cover-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 12px;
  background: linear-gradient(to right, #44371a 0%, #1e180b 100%);
  transform: rotateY(-90deg);
  transform-origin: right center;
  border-radius: 4px 2px 2px 4px;
}

.book-cover-3d::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 3;
}

.book-download-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  text-align: left;
}

.book-form-input {
  background: rgba(3, 8, 16, 0.4);
  border: 1px solid var(--color-line);
  color: var(--color-text-primary);
  padding: 10px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: all var(--dur-base) ease;
  width: 100%;
}

.book-form-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.15);
}

.book-form-btn {
  width: 100%;
  background: var(--gold-500);
  color: var(--color-bg-deep);
  border: none;
  padding: 11px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-base) ease;
  text-align: center;
}

@media (hover: hover) {
  .book-form-btn:hover {
    background: var(--gold-100);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
  }
}

.book-privacy-note {
  font-size: 10px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Медиа-запросы для статьи */
@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .article-body {
    padding: var(--space-6) var(--space-5);
  }

  .article-sidebar {
    position: static;
    gap: var(--space-6);
  }
  
  .article-content {
    font-size: 15.5px;
  }
}
